From 7ba9db97ea47755e5c8527d8b5790185d87713cc Mon Sep 17 00:00:00 2001 From: Ethan Lee Date: Tue, 16 Apr 2013 18:11:29 -0400 Subject: [PATCH] OpenGL support via OpenTK. --- SDL2#.csproj | 35 + src/MiniTK/AutoGeneratedAttribute.cs | 61 + src/MiniTK/BindingsBase.cs | 230 + src/MiniTK/Graphics/Color4.cs | 935 + src/MiniTK/Graphics/ES10/Core.cs | 362 + src/MiniTK/Graphics/ES10/Delegates.cs | 361 + src/MiniTK/Graphics/ES10/ES.cs | 5983 + src/MiniTK/Graphics/ES10/Enums.cs | 667 + src/MiniTK/Graphics/ES10/ErrorHelper.cs | 136 + src/MiniTK/Graphics/ES10/Helper.cs | 28 + src/MiniTK/Graphics/ES11/Core.cs | 788 + src/MiniTK/Graphics/ES11/Delegates.cs | 787 + src/MiniTK/Graphics/ES11/ES.cs | 14496 ++ src/MiniTK/Graphics/ES11/Enums.cs | 1426 + src/MiniTK/Graphics/ES11/ErrorHelper.cs | 136 + src/MiniTK/Graphics/ES11/Helper.cs | 31 + src/MiniTK/Graphics/ES20/Core.cs | 662 + src/MiniTK/Graphics/ES20/Delegates.cs | 661 + src/MiniTK/Graphics/ES20/ES.cs | 24782 ++ src/MiniTK/Graphics/ES20/Enums.cs | 1760 + src/MiniTK/Graphics/ES20/ErrorHelper.cs | 136 + src/MiniTK/Graphics/ES20/Helper.cs | 445 + src/MiniTK/Graphics/GraphicsBindingsBase.cs | 59 + .../Graphics/GraphicsContextException.cs | 21 + .../GraphicsContextMissingException.cs | 22 + src/MiniTK/Graphics/GraphicsErrorException.cs | 21 + src/MiniTK/Graphics/GraphicsExceptions.cs | 24 + src/MiniTK/Graphics/OpenGL/ErrorHelper.cs | 136 + src/MiniTK/Graphics/OpenGL/GL.cs | 193995 +++++++++++++++ src/MiniTK/Graphics/OpenGL/GLCore.cs | 6881 + src/MiniTK/Graphics/OpenGL/GLDelegates.cs | 6880 + src/MiniTK/Graphics/OpenGL/GLEnums.cs | 52267 ++++ src/MiniTK/Graphics/OpenGL/GLHelper.cs | 1394 + src/MiniTK/Graphics/SDL2_GraphicsContext.cs | 23 + 34 files changed, 316631 insertions(+) create mode 100644 src/MiniTK/AutoGeneratedAttribute.cs create mode 100644 src/MiniTK/BindingsBase.cs create mode 100644 src/MiniTK/Graphics/Color4.cs create mode 100644 src/MiniTK/Graphics/ES10/Core.cs create mode 100644 src/MiniTK/Graphics/ES10/Delegates.cs create mode 100644 src/MiniTK/Graphics/ES10/ES.cs create mode 100644 src/MiniTK/Graphics/ES10/Enums.cs create mode 100644 src/MiniTK/Graphics/ES10/ErrorHelper.cs create mode 100644 src/MiniTK/Graphics/ES10/Helper.cs create mode 100644 src/MiniTK/Graphics/ES11/Core.cs create mode 100644 src/MiniTK/Graphics/ES11/Delegates.cs create mode 100644 src/MiniTK/Graphics/ES11/ES.cs create mode 100644 src/MiniTK/Graphics/ES11/Enums.cs create mode 100644 src/MiniTK/Graphics/ES11/ErrorHelper.cs create mode 100644 src/MiniTK/Graphics/ES11/Helper.cs create mode 100644 src/MiniTK/Graphics/ES20/Core.cs create mode 100644 src/MiniTK/Graphics/ES20/Delegates.cs create mode 100644 src/MiniTK/Graphics/ES20/ES.cs create mode 100644 src/MiniTK/Graphics/ES20/Enums.cs create mode 100644 src/MiniTK/Graphics/ES20/ErrorHelper.cs create mode 100644 src/MiniTK/Graphics/ES20/Helper.cs create mode 100644 src/MiniTK/Graphics/GraphicsBindingsBase.cs create mode 100644 src/MiniTK/Graphics/GraphicsContextException.cs create mode 100644 src/MiniTK/Graphics/GraphicsContextMissingException.cs create mode 100644 src/MiniTK/Graphics/GraphicsErrorException.cs create mode 100644 src/MiniTK/Graphics/GraphicsExceptions.cs create mode 100644 src/MiniTK/Graphics/OpenGL/ErrorHelper.cs create mode 100644 src/MiniTK/Graphics/OpenGL/GL.cs create mode 100644 src/MiniTK/Graphics/OpenGL/GLCore.cs create mode 100644 src/MiniTK/Graphics/OpenGL/GLDelegates.cs create mode 100644 src/MiniTK/Graphics/OpenGL/GLEnums.cs create mode 100644 src/MiniTK/Graphics/OpenGL/GLHelper.cs create mode 100644 src/MiniTK/Graphics/SDL2_GraphicsContext.cs diff --git a/SDL2#.csproj b/SDL2#.csproj index 665138c..d9f44cc 100644 --- a/SDL2#.csproj +++ b/SDL2#.csproj @@ -80,6 +80,39 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -89,6 +122,7 @@ + @@ -102,5 +136,6 @@ + diff --git a/src/MiniTK/AutoGeneratedAttribute.cs b/src/MiniTK/AutoGeneratedAttribute.cs new file mode 100644 index 0000000..cbd6b49 --- /dev/null +++ b/src/MiniTK/AutoGeneratedAttribute.cs @@ -0,0 +1,61 @@ +#region License +// +// The Open Toolkit Library License +// +// Copyright (c) 2006 - 2008 the Open Toolkit library, except where noted. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights to +// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +// the Software, and to permit persons to whom the Software is furnished to do +// so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +// OTHER DEALINGS IN THE SOFTWARE. +// +#endregion + +using System; +using System.Collections.Generic; +using System.Text; + +namespace OpenTK +{ + /// + /// Indicates that this function is generated automatically by a tool. + /// + public sealed class AutoGeneratedAttribute : Attribute + { + /// + /// Specifies the category of this OpenGL function. + /// + public string Category; + + /// + /// Specifies the version of this OpenGL function. + /// + public string Version; + + /// + /// Specifies the entry point of the OpenGL function. + /// + public string EntryPoint; + + /// + /// Constructs a new AutoGeneratedAttribute instance. + /// + public AutoGeneratedAttribute() + { + } + } +} diff --git a/src/MiniTK/BindingsBase.cs b/src/MiniTK/BindingsBase.cs new file mode 100644 index 0000000..60b0716 --- /dev/null +++ b/src/MiniTK/BindingsBase.cs @@ -0,0 +1,230 @@ +#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.Reflection; +using System.Runtime.InteropServices; +using System.Diagnostics; + +namespace OpenTK +{ + /// + /// Provides a common foundation for all flat API bindings and implements the extension loading interface. + /// + public abstract class BindingsBase + { + #region Fields + + /// + /// A reflection handle to the nested type that contains the function delegates. + /// + readonly protected Type DelegatesClass; + + /// + /// A refection handle to the nested type that contains core functions (i.e. not extensions). + /// + readonly protected Type CoreClass; + + /// + /// A mapping of core function names to MethodInfo handles. + /// + readonly protected SortedList CoreFunctionMap = new SortedList(); + + bool rebuildExtensionList = true; + + #endregion + + #region Constructors + + /// + /// Constructs a new BindingsBase instance. + /// + public BindingsBase() + { + DelegatesClass = this.GetType().GetNestedType("Delegates", BindingFlags.Static | BindingFlags.NonPublic); + CoreClass = this.GetType().GetNestedType("Core", BindingFlags.Static | BindingFlags.NonPublic); + + if (CoreClass != null) + { + MethodInfo[] methods = CoreClass.GetMethods(BindingFlags.Static | BindingFlags.NonPublic); + CoreFunctionMap = new SortedList(methods.Length); // Avoid resizing + foreach (MethodInfo m in methods) + { + CoreFunctionMap.Add(m.Name, m); + } + } + } + + #endregion + + #region Protected Members + + /// + /// Gets or sets a that indicates whether the list of supported extensions may have changed. + /// + protected bool RebuildExtensionList + { + get { return rebuildExtensionList; } + set { rebuildExtensionList = value; } + } + + /// + /// Retrieves an unmanaged function pointer to the specified function. + /// + /// + /// A that defines the name of the function. + /// + /// + /// A that contains the address of funcname or IntPtr.Zero, + /// if the function is not supported by the drivers. + /// + /// + /// Note: some drivers are known to return non-zero values for unsupported functions. + /// Typical values include 1 and 2 - inheritors are advised to check for and ignore these + /// values. + /// + protected abstract IntPtr GetAddress(string funcname); + + /// + /// Gets an object that can be used to synchronize access to the bindings implementation. + /// + /// This object should be unique across bindings but consistent between bindings + /// of the same type. For example, ES10.GL, OpenGL.GL and CL10.CL should all return + /// unique objects, but all instances of ES10.GL should return the same object. + protected abstract object SyncRoot { get; } + + #endregion + + #region Internal Members + + #region LoadEntryPoints + + internal void LoadEntryPoints() + { + // Using reflection is more than 3 times faster than directly loading delegates on the first + // run, probably due to code generation overhead. Subsequent runs are faster with direct loading + // than with reflection, but the first time is more significant. + + int supported = 0; + + FieldInfo[] delegates = DelegatesClass.GetFields(BindingFlags.Static | BindingFlags.NonPublic | BindingFlags.Public); + if (delegates == null) + throw new InvalidOperationException("The specified type does not have any loadable extensions."); + + Debug.Write("Loading extensions for " + this.GetType().FullName + "... "); + + Stopwatch time = new Stopwatch(); + time.Reset(); + time.Start(); + + foreach (FieldInfo f in delegates) + { + Delegate d = LoadDelegate(f.Name, f.FieldType); + if (d != null) + ++supported; + + lock (SyncRoot) + { + f.SetValue(null, d); + } + } + + rebuildExtensionList = true; + + time.Stop(); + Debug.Print("{0} extensions loaded in {1} ms.", supported, time.Elapsed.TotalMilliseconds); + time.Reset(); + } + + #endregion + + #region LoadEntryPoint + + internal bool LoadEntryPoint(string function) + { + FieldInfo f = DelegatesClass.GetField(function, BindingFlags.Static | BindingFlags.NonPublic); + if (f == null) + return false; + + Delegate old = f.GetValue(null) as Delegate; + Delegate @new = LoadDelegate(f.Name, f.FieldType); + lock (SyncRoot) + { + if (old.Target != @new.Target) + { + f.SetValue(null, @new); + } + } + return @new != null; + } + + #endregion + + #endregion + + #region Private Members + + #region LoadDelegate + + // Tries to load the specified core or extension function. + Delegate LoadDelegate(string name, Type signature) + { + MethodInfo m; + return + GetExtensionDelegate(name, signature) ?? + (CoreFunctionMap.TryGetValue((name.Substring(2)), out m) ? + Delegate.CreateDelegate(signature, m) : null); + } + + #endregion + + #region GetExtensionDelegate + + // Creates a System.Delegate that can be used to call a dynamically exported OpenGL function. + internal Delegate GetExtensionDelegate(string name, Type signature) + { + IntPtr address = GetAddress(name); + + if (address == IntPtr.Zero || + address == new IntPtr(1) || // Workaround for buggy nvidia drivers which return + address == new IntPtr(2)) // 1 or 2 instead of IntPtr.Zero for some extensions. + { + return null; + } + else + { + return Marshal.GetDelegateForFunctionPointer(address, signature); + } + } + + #endregion + + #endregion + } +} diff --git a/src/MiniTK/Graphics/Color4.cs b/src/MiniTK/Graphics/Color4.cs new file mode 100644 index 0000000..972747a --- /dev/null +++ b/src/MiniTK/Graphics/Color4.cs @@ -0,0 +1,935 @@ +#region License +// +// The Open Toolkit Library License +// +// Copyright (c) 2006 - 2008 the Open Toolkit library, except where noted. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights to +// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +// the Software, and to permit persons to whom the Software is furnished to do +// so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +// OTHER DEALINGS IN THE SOFTWARE. +// +#endregion + +using System; +using System.Collections.Generic; +#if !MINIMAL +using System.Drawing; +#endif +using System.Text; +using System.Xml.Serialization; + +namespace OpenTK.Graphics +{ + /// + /// Represents a color with 4 floating-point components (R, G, B, A). + /// + [Serializable] + public struct Color4 : IEquatable + { + #region Fields + + /// + /// The red component of this Color4 structure. + /// + public float R; + + /// + /// The green component of this Color4 structure. + /// + public float G; + + /// + /// The blue component of this Color4 structure. + /// + public float B; + + /// + /// The alpha component of this Color4 structure. + /// + public float A; + + #endregion + + #region Constructors + + /// + /// Constructs a new Color4 structure from the specified components. + /// + /// The red component of the new Color4 structure. + /// The green component of the new Color4 structure. + /// The blue component of the new Color4 structure. + /// The alpha component of the new Color4 structure. + public Color4(float r, float g, float b, float a) + { + R = r; + G = g; + B = b; + A = a; + } + + /// + /// Constructs a new Color4 structure from the specified components. + /// + /// The red component of the new Color4 structure. + /// The green component of the new Color4 structure. + /// The blue component of the new Color4 structure. + /// The alpha component of the new Color4 structure. + public Color4(byte r, byte g, byte b, byte a) + { + R = r / (float)Byte.MaxValue; + G = g / (float)Byte.MaxValue; + B = b / (float)Byte.MaxValue; + A = a / (float)Byte.MaxValue; + } + + /// + /// Constructs a new Color4 structure from the specified System.Drawing.Color. + /// + /// The System.Drawing.Color containing the component values. + [Obsolete("Use new Color4(r, g, b, a) instead.")] + public Color4(Color color) + : this(color.R, color.G, color.B, color.A) + { } + + #endregion + + #region Public Members + + /// + /// Converts this color to an integer representation with 8 bits per channel. + /// + /// A that represents this instance. + /// This method is intended only for compatibility with System.Drawing. It compresses the color into 8 bits per channel, which means color information is lost. + public int ToArgb() + { + uint value = + (uint)(A * Byte.MaxValue) << 24 | + (uint)(R * Byte.MaxValue) << 16 | + (uint)(G * Byte.MaxValue) << 8 | + (uint)(B * Byte.MaxValue); + + return unchecked((int)value); + } + + /// + /// Compares the specified Color4 structures for equality. + /// + /// The left-hand side of the comparison. + /// The right-hand side of the comparison. + /// True if left is equal to right; false otherwise. + public static bool operator ==(Color4 left, Color4 right) + { + return left.Equals(right); + } + + /// + /// Compares the specified Color4 structures for inequality. + /// + /// The left-hand side of the comparison. + /// The right-hand side of the comparison. + /// True if left is not equal to right; false otherwise. + public static bool operator !=(Color4 left, Color4 right) + { + return !left.Equals(right); + } + + /// + /// Converts the specified System.Drawing.Color to a Color4 structure. + /// + /// The System.Drawing.Color to convert. + /// A new Color4 structure containing the converted components. + public static implicit operator Color4(Color color) + { + return new Color4(color.R, color.G, color.B, color.A); + } + + /// + /// Converts the specified Color4 to a System.Drawing.Color structure. + /// + /// The Color4 to convert. + /// A new System.Drawing.Color structure containing the converted components. + public static explicit operator Color(Color4 color) + { + return Color.FromArgb( + (int)(color.A * Byte.MaxValue), + (int)(color.R * Byte.MaxValue), + (int)(color.G * Byte.MaxValue), + (int)(color.B * Byte.MaxValue)); + } + + /// + /// Compares whether this Color4 structure is equal to the specified object. + /// + /// An object to compare to. + /// True obj is a Color4 structure with the same components as this Color4; false otherwise. + public override bool Equals(object obj) + { + if (!(obj is Color4)) + return false; + + return Equals((Color4)obj); + } + + /// + /// Calculates the hash code for this Color4 structure. + /// + /// A System.Int32 containing the hashcode of this Color4 structure. + public override int GetHashCode() + { + return ToArgb(); + } + + /// + /// Creates a System.String that describes this Color4 structure. + /// + /// A System.String that describes this Color4 structure. + public override string ToString() + { + return String.Format("{{(R, G, B, A) = ({0}, {1}, {2}, {3})}}", R.ToString(), G.ToString(), B.ToString(), A.ToString()); + } + + #region System colors + + /// + /// Gets the system color with (R, G, B, A) = (255, 255, 255, 0). + /// + public static Color4 Transparent { get { return new Color4(255, 255, 255, 0); } } + + /// + /// Gets the system color with (R, G, B, A) = (240, 248, 255, 255). + /// + public static Color4 AliceBlue { get { return new Color4(240, 248, 255, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (250, 235, 215, 255). + /// + public static Color4 AntiqueWhite { get { return new Color4(250, 235, 215, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (0, 255, 255, 255). + /// + public static Color4 Aqua { get { return new Color4(0, 255, 255, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (127, 255, 212, 255). + /// + public static Color4 Aquamarine { get { return new Color4(127, 255, 212, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (240, 255, 255, 255). + /// + public static Color4 Azure { get { return new Color4(240, 255, 255, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (245, 245, 220, 255). + /// + public static Color4 Beige { get { return new Color4(245, 245, 220, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (255, 228, 196, 255). + /// + public static Color4 Bisque { get { return new Color4(255, 228, 196, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (0, 0, 0, 255). + /// + public static Color4 Black { get { return new Color4(0, 0, 0, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (255, 235, 205, 255). + /// + public static Color4 BlanchedAlmond { get { return new Color4(255, 235, 205, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (0, 0, 255, 255). + /// + public static Color4 Blue { get { return new Color4(0, 0, 255, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (138, 43, 226, 255). + /// + public static Color4 BlueViolet { get { return new Color4(138, 43, 226, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (165, 42, 42, 255). + /// + public static Color4 Brown { get { return new Color4(165, 42, 42, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (222, 184, 135, 255). + /// + public static Color4 BurlyWood { get { return new Color4(222, 184, 135, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (95, 158, 160, 255). + /// + public static Color4 CadetBlue { get { return new Color4(95, 158, 160, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (127, 255, 0, 255). + /// + public static Color4 Chartreuse { get { return new Color4(127, 255, 0, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (210, 105, 30, 255). + /// + public static Color4 Chocolate { get { return new Color4(210, 105, 30, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (255, 127, 80, 255). + /// + public static Color4 Coral { get { return new Color4(255, 127, 80, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (100, 149, 237, 255). + /// + public static Color4 CornflowerBlue { get { return new Color4(100, 149, 237, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (255, 248, 220, 255). + /// + public static Color4 Cornsilk { get { return new Color4(255, 248, 220, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (220, 20, 60, 255). + /// + public static Color4 Crimson { get { return new Color4(220, 20, 60, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (0, 255, 255, 255). + /// + public static Color4 Cyan { get { return new Color4(0, 255, 255, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (0, 0, 139, 255). + /// + public static Color4 DarkBlue { get { return new Color4(0, 0, 139, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (0, 139, 139, 255). + /// + public static Color4 DarkCyan { get { return new Color4(0, 139, 139, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (184, 134, 11, 255). + /// + public static Color4 DarkGoldenrod { get { return new Color4(184, 134, 11, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (169, 169, 169, 255). + /// + public static Color4 DarkGray { get { return new Color4(169, 169, 169, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (0, 100, 0, 255). + /// + public static Color4 DarkGreen { get { return new Color4(0, 100, 0, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (189, 183, 107, 255). + /// + public static Color4 DarkKhaki { get { return new Color4(189, 183, 107, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (139, 0, 139, 255). + /// + public static Color4 DarkMagenta { get { return new Color4(139, 0, 139, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (85, 107, 47, 255). + /// + public static Color4 DarkOliveGreen { get { return new Color4(85, 107, 47, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (255, 140, 0, 255). + /// + public static Color4 DarkOrange { get { return new Color4(255, 140, 0, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (153, 50, 204, 255). + /// + public static Color4 DarkOrchid { get { return new Color4(153, 50, 204, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (139, 0, 0, 255). + /// + public static Color4 DarkRed { get { return new Color4(139, 0, 0, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (233, 150, 122, 255). + /// + public static Color4 DarkSalmon { get { return new Color4(233, 150, 122, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (143, 188, 139, 255). + /// + public static Color4 DarkSeaGreen { get { return new Color4(143, 188, 139, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (72, 61, 139, 255). + /// + public static Color4 DarkSlateBlue { get { return new Color4(72, 61, 139, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (47, 79, 79, 255). + /// + public static Color4 DarkSlateGray { get { return new Color4(47, 79, 79, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (0, 206, 209, 255). + /// + public static Color4 DarkTurquoise { get { return new Color4(0, 206, 209, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (148, 0, 211, 255). + /// + public static Color4 DarkViolet { get { return new Color4(148, 0, 211, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (255, 20, 147, 255). + /// + public static Color4 DeepPink { get { return new Color4(255, 20, 147, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (0, 191, 255, 255). + /// + public static Color4 DeepSkyBlue { get { return new Color4(0, 191, 255, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (105, 105, 105, 255). + /// + public static Color4 DimGray { get { return new Color4(105, 105, 105, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (30, 144, 255, 255). + /// + public static Color4 DodgerBlue { get { return new Color4(30, 144, 255, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (178, 34, 34, 255). + /// + public static Color4 Firebrick { get { return new Color4(178, 34, 34, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (255, 250, 240, 255). + /// + public static Color4 FloralWhite { get { return new Color4(255, 250, 240, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (34, 139, 34, 255). + /// + public static Color4 ForestGreen { get { return new Color4(34, 139, 34, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (255, 0, 255, 255). + /// + public static Color4 Fuchsia { get { return new Color4(255, 0, 255, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (220, 220, 220, 255). + /// + public static Color4 Gainsboro { get { return new Color4(220, 220, 220, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (248, 248, 255, 255). + /// + public static Color4 GhostWhite { get { return new Color4(248, 248, 255, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (255, 215, 0, 255). + /// + public static Color4 Gold { get { return new Color4(255, 215, 0, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (218, 165, 32, 255). + /// + public static Color4 Goldenrod { get { return new Color4(218, 165, 32, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (128, 128, 128, 255). + /// + public static Color4 Gray { get { return new Color4(128, 128, 128, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (0, 128, 0, 255). + /// + public static Color4 Green { get { return new Color4(0, 128, 0, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (173, 255, 47, 255). + /// + public static Color4 GreenYellow { get { return new Color4(173, 255, 47, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (240, 255, 240, 255). + /// + public static Color4 Honeydew { get { return new Color4(240, 255, 240, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (255, 105, 180, 255). + /// + public static Color4 HotPink { get { return new Color4(255, 105, 180, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (205, 92, 92, 255). + /// + public static Color4 IndianRed { get { return new Color4(205, 92, 92, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (75, 0, 130, 255). + /// + public static Color4 Indigo { get { return new Color4(75, 0, 130, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (255, 255, 240, 255). + /// + public static Color4 Ivory { get { return new Color4(255, 255, 240, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (240, 230, 140, 255). + /// + public static Color4 Khaki { get { return new Color4(240, 230, 140, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (230, 230, 250, 255). + /// + public static Color4 Lavender { get { return new Color4(230, 230, 250, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (255, 240, 245, 255). + /// + public static Color4 LavenderBlush { get { return new Color4(255, 240, 245, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (124, 252, 0, 255). + /// + public static Color4 LawnGreen { get { return new Color4(124, 252, 0, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (255, 250, 205, 255). + /// + public static Color4 LemonChiffon { get { return new Color4(255, 250, 205, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (173, 216, 230, 255). + /// + public static Color4 LightBlue { get { return new Color4(173, 216, 230, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (240, 128, 128, 255). + /// + public static Color4 LightCoral { get { return new Color4(240, 128, 128, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (224, 255, 255, 255). + /// + public static Color4 LightCyan { get { return new Color4(224, 255, 255, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (250, 250, 210, 255). + /// + public static Color4 LightGoldenrodYellow { get { return new Color4(250, 250, 210, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (144, 238, 144, 255). + /// + public static Color4 LightGreen { get { return new Color4(144, 238, 144, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (211, 211, 211, 255). + /// + public static Color4 LightGray { get { return new Color4(211, 211, 211, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (255, 182, 193, 255). + /// + public static Color4 LightPink { get { return new Color4(255, 182, 193, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (255, 160, 122, 255). + /// + public static Color4 LightSalmon { get { return new Color4(255, 160, 122, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (32, 178, 170, 255). + /// + public static Color4 LightSeaGreen { get { return new Color4(32, 178, 170, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (135, 206, 250, 255). + /// + public static Color4 LightSkyBlue { get { return new Color4(135, 206, 250, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (119, 136, 153, 255). + /// + public static Color4 LightSlateGray { get { return new Color4(119, 136, 153, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (176, 196, 222, 255). + /// + public static Color4 LightSteelBlue { get { return new Color4(176, 196, 222, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (255, 255, 224, 255). + /// + public static Color4 LightYellow { get { return new Color4(255, 255, 224, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (0, 255, 0, 255). + /// + public static Color4 Lime { get { return new Color4(0, 255, 0, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (50, 205, 50, 255). + /// + public static Color4 LimeGreen { get { return new Color4(50, 205, 50, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (250, 240, 230, 255). + /// + public static Color4 Linen { get { return new Color4(250, 240, 230, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (255, 0, 255, 255). + /// + public static Color4 Magenta { get { return new Color4(255, 0, 255, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (128, 0, 0, 255). + /// + public static Color4 Maroon { get { return new Color4(128, 0, 0, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (102, 205, 170, 255). + /// + public static Color4 MediumAquamarine { get { return new Color4(102, 205, 170, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (0, 0, 205, 255). + /// + public static Color4 MediumBlue { get { return new Color4(0, 0, 205, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (186, 85, 211, 255). + /// + public static Color4 MediumOrchid { get { return new Color4(186, 85, 211, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (147, 112, 219, 255). + /// + public static Color4 MediumPurple { get { return new Color4(147, 112, 219, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (60, 179, 113, 255). + /// + public static Color4 MediumSeaGreen { get { return new Color4(60, 179, 113, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (123, 104, 238, 255). + /// + public static Color4 MediumSlateBlue { get { return new Color4(123, 104, 238, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (0, 250, 154, 255). + /// + public static Color4 MediumSpringGreen { get { return new Color4(0, 250, 154, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (72, 209, 204, 255). + /// + public static Color4 MediumTurquoise { get { return new Color4(72, 209, 204, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (199, 21, 133, 255). + /// + public static Color4 MediumVioletRed { get { return new Color4(199, 21, 133, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (25, 25, 112, 255). + /// + public static Color4 MidnightBlue { get { return new Color4(25, 25, 112, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (245, 255, 250, 255). + /// + public static Color4 MintCream { get { return new Color4(245, 255, 250, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (255, 228, 225, 255). + /// + public static Color4 MistyRose { get { return new Color4(255, 228, 225, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (255, 228, 181, 255). + /// + public static Color4 Moccasin { get { return new Color4(255, 228, 181, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (255, 222, 173, 255). + /// + public static Color4 NavajoWhite { get { return new Color4(255, 222, 173, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (0, 0, 128, 255). + /// + public static Color4 Navy { get { return new Color4(0, 0, 128, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (253, 245, 230, 255). + /// + public static Color4 OldLace { get { return new Color4(253, 245, 230, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (128, 128, 0, 255). + /// + public static Color4 Olive { get { return new Color4(128, 128, 0, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (107, 142, 35, 255). + /// + public static Color4 OliveDrab { get { return new Color4(107, 142, 35, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (255, 165, 0, 255). + /// + public static Color4 Orange { get { return new Color4(255, 165, 0, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (255, 69, 0, 255). + /// + public static Color4 OrangeRed { get { return new Color4(255, 69, 0, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (218, 112, 214, 255). + /// + public static Color4 Orchid { get { return new Color4(218, 112, 214, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (238, 232, 170, 255). + /// + public static Color4 PaleGoldenrod { get { return new Color4(238, 232, 170, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (152, 251, 152, 255). + /// + public static Color4 PaleGreen { get { return new Color4(152, 251, 152, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (175, 238, 238, 255). + /// + public static Color4 PaleTurquoise { get { return new Color4(175, 238, 238, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (219, 112, 147, 255). + /// + public static Color4 PaleVioletRed { get { return new Color4(219, 112, 147, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (255, 239, 213, 255). + /// + public static Color4 PapayaWhip { get { return new Color4(255, 239, 213, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (255, 218, 185, 255). + /// + public static Color4 PeachPuff { get { return new Color4(255, 218, 185, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (205, 133, 63, 255). + /// + public static Color4 Peru { get { return new Color4(205, 133, 63, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (255, 192, 203, 255). + /// + public static Color4 Pink { get { return new Color4(255, 192, 203, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (221, 160, 221, 255). + /// + public static Color4 Plum { get { return new Color4(221, 160, 221, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (176, 224, 230, 255). + /// + public static Color4 PowderBlue { get { return new Color4(176, 224, 230, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (128, 0, 128, 255). + /// + public static Color4 Purple { get { return new Color4(128, 0, 128, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (255, 0, 0, 255). + /// + public static Color4 Red { get { return new Color4(255, 0, 0, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (188, 143, 143, 255). + /// + public static Color4 RosyBrown { get { return new Color4(188, 143, 143, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (65, 105, 225, 255). + /// + public static Color4 RoyalBlue { get { return new Color4(65, 105, 225, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (139, 69, 19, 255). + /// + public static Color4 SaddleBrown { get { return new Color4(139, 69, 19, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (250, 128, 114, 255). + /// + public static Color4 Salmon { get { return new Color4(250, 128, 114, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (244, 164, 96, 255). + /// + public static Color4 SandyBrown { get { return new Color4(244, 164, 96, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (46, 139, 87, 255). + /// + public static Color4 SeaGreen { get { return new Color4(46, 139, 87, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (255, 245, 238, 255). + /// + public static Color4 SeaShell { get { return new Color4(255, 245, 238, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (160, 82, 45, 255). + /// + public static Color4 Sienna { get { return new Color4(160, 82, 45, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (192, 192, 192, 255). + /// + public static Color4 Silver { get { return new Color4(192, 192, 192, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (135, 206, 235, 255). + /// + public static Color4 SkyBlue { get { return new Color4(135, 206, 235, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (106, 90, 205, 255). + /// + public static Color4 SlateBlue { get { return new Color4(106, 90, 205, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (112, 128, 144, 255). + /// + public static Color4 SlateGray { get { return new Color4(112, 128, 144, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (255, 250, 250, 255). + /// + public static Color4 Snow { get { return new Color4(255, 250, 250, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (0, 255, 127, 255). + /// + public static Color4 SpringGreen { get { return new Color4(0, 255, 127, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (70, 130, 180, 255). + /// + public static Color4 SteelBlue { get { return new Color4(70, 130, 180, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (210, 180, 140, 255). + /// + public static Color4 Tan { get { return new Color4(210, 180, 140, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (0, 128, 128, 255). + /// + public static Color4 Teal { get { return new Color4(0, 128, 128, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (216, 191, 216, 255). + /// + public static Color4 Thistle { get { return new Color4(216, 191, 216, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (255, 99, 71, 255). + /// + public static Color4 Tomato { get { return new Color4(255, 99, 71, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (64, 224, 208, 255). + /// + public static Color4 Turquoise { get { return new Color4(64, 224, 208, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (238, 130, 238, 255). + /// + public static Color4 Violet { get { return new Color4(238, 130, 238, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (245, 222, 179, 255). + /// + public static Color4 Wheat { get { return new Color4(245, 222, 179, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (255, 255, 255, 255). + /// + public static Color4 White { get { return new Color4(255, 255, 255, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (245, 245, 245, 255). + /// + public static Color4 WhiteSmoke { get { return new Color4(245, 245, 245, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (255, 255, 0, 255). + /// + public static Color4 Yellow { get { return new Color4(255, 255, 0, 255); } } + + /// + /// Gets the system color with (R, G, B, A) = (154, 205, 50, 255). + /// + public static Color4 YellowGreen { get { return new Color4(154, 205, 50, 255); } } + + #endregion + + #endregion + + #region IEquatable Members + + /// + /// Compares whether this Color4 structure is equal to the specified Color4. + /// + /// The Color4 structure to compare to. + /// True if both Color4 structures contain the same components; false otherwise. + public bool Equals(Color4 other) + { + return + this.R == other.R && + this.G == other.G && + this.B == other.B && + this.A == other.A; + } + + #endregion + } +} diff --git a/src/MiniTK/Graphics/ES10/Core.cs b/src/MiniTK/Graphics/ES10/Core.cs new file mode 100644 index 0000000..a94cf0c --- /dev/null +++ b/src/MiniTK/Graphics/ES10/Core.cs @@ -0,0 +1,362 @@ +#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 + +namespace OpenTK.Graphics.ES10 +{ + using System; + using System.Text; + using System.Runtime.InteropServices; + #pragma warning disable 3019 + #pragma warning disable 1591 + + partial class GL + { + + internal static partial class Core + { + + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glActiveTexture", ExactSpelling = true)] + internal extern static void ActiveTexture(OpenTK.Graphics.ES10.All texture); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glAlphaFunc", ExactSpelling = true)] + internal extern static void AlphaFunc(OpenTK.Graphics.ES10.All func, Single @ref); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glAlphaFuncx", ExactSpelling = true)] + internal extern static void AlphaFuncx(OpenTK.Graphics.ES10.All func, int @ref); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindTexture", ExactSpelling = true)] + internal extern static void BindTexture(OpenTK.Graphics.ES10.All target, UInt32 texture); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendFunc", ExactSpelling = true)] + internal extern static void BlendFunc(OpenTK.Graphics.ES10.All sfactor, OpenTK.Graphics.ES10.All dfactor); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClear", ExactSpelling = true)] + internal extern static void Clear(UInt32 mask); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearColor", ExactSpelling = true)] + internal extern static void ClearColor(Single red, Single green, Single blue, Single alpha); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearColorx", ExactSpelling = true)] + internal extern static void ClearColorx(int red, int green, int blue, int alpha); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearDepthf", ExactSpelling = true)] + internal extern static void ClearDepthf(Single depth); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearDepthx", ExactSpelling = true)] + internal extern static void ClearDepthx(int depth); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearStencil", ExactSpelling = true)] + internal extern static void ClearStencil(Int32 s); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClientActiveTexture", ExactSpelling = true)] + internal extern static void ClientActiveTexture(OpenTK.Graphics.ES10.All texture); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor4f", ExactSpelling = true)] + internal extern static void Color4f(Single red, Single green, Single blue, Single alpha); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor4x", ExactSpelling = true)] + internal extern static void Color4x(int red, int green, int blue, int alpha); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorMask", ExactSpelling = true)] + internal extern static void ColorMask(bool red, bool green, bool blue, bool alpha); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorPointer", ExactSpelling = true)] + internal extern static void ColorPointer(Int32 size, OpenTK.Graphics.ES10.All type, Int32 stride, IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexImage2D", ExactSpelling = true)] + internal extern static void CompressedTexImage2D(OpenTK.Graphics.ES10.All target, Int32 level, OpenTK.Graphics.ES10.All internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexSubImage2D", ExactSpelling = true)] + internal extern static void CompressedTexSubImage2D(OpenTK.Graphics.ES10.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES10.All format, Int32 imageSize, IntPtr data); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTexImage2D", ExactSpelling = true)] + internal extern static void CopyTexImage2D(OpenTK.Graphics.ES10.All target, Int32 level, OpenTK.Graphics.ES10.All internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTexSubImage2D", ExactSpelling = true)] + internal extern static void CopyTexSubImage2D(OpenTK.Graphics.ES10.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCullFace", ExactSpelling = true)] + internal extern static void CullFace(OpenTK.Graphics.ES10.All mode); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteTextures", ExactSpelling = true)] + internal extern static unsafe void DeleteTextures(Int32 n, UInt32* textures); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDepthFunc", ExactSpelling = true)] + internal extern static void DepthFunc(OpenTK.Graphics.ES10.All func); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDepthMask", ExactSpelling = true)] + internal extern static void DepthMask(bool flag); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDepthRangef", ExactSpelling = true)] + internal extern static void DepthRangef(Single zNear, Single zFar); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDepthRangex", ExactSpelling = true)] + internal extern static void DepthRangex(int zNear, int zFar); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDisable", ExactSpelling = true)] + internal extern static void Disable(OpenTK.Graphics.ES10.All cap); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDisableClientState", ExactSpelling = true)] + internal extern static void DisableClientState(OpenTK.Graphics.ES10.All array); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawArrays", ExactSpelling = true)] + internal extern static void DrawArrays(OpenTK.Graphics.ES10.All mode, Int32 first, Int32 count); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElements", ExactSpelling = true)] + internal extern static void DrawElements(OpenTK.Graphics.ES10.All mode, Int32 count, OpenTK.Graphics.ES10.All type, IntPtr indices); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEnable", ExactSpelling = true)] + internal extern static void Enable(OpenTK.Graphics.ES10.All cap); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEnableClientState", ExactSpelling = true)] + internal extern static void EnableClientState(OpenTK.Graphics.ES10.All array); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFinish", ExactSpelling = true)] + internal extern static void Finish(); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFlush", ExactSpelling = true)] + internal extern static void Flush(); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogf", ExactSpelling = true)] + internal extern static void Fogf(OpenTK.Graphics.ES10.All pname, Single param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogfv", ExactSpelling = true)] + internal extern static unsafe void Fogfv(OpenTK.Graphics.ES10.All pname, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogx", ExactSpelling = true)] + internal extern static void Fogx(OpenTK.Graphics.ES10.All pname, int param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogxv", ExactSpelling = true)] + internal extern static unsafe void Fogxv(OpenTK.Graphics.ES10.All pname, int* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFrontFace", ExactSpelling = true)] + internal extern static void FrontFace(OpenTK.Graphics.ES10.All mode); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFrustumf", ExactSpelling = true)] + internal extern static void Frustumf(Single left, Single right, Single bottom, Single top, Single zNear, Single zFar); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFrustumx", ExactSpelling = true)] + internal extern static void Frustumx(int left, int right, int bottom, int top, int zNear, int zFar); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenTextures", ExactSpelling = true)] + internal extern static unsafe void GenTextures(Int32 n, UInt32* textures); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetError", ExactSpelling = true)] + internal extern static OpenTK.Graphics.ES10.All GetError(); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetIntegerv", ExactSpelling = true)] + internal extern static unsafe void GetIntegerv(OpenTK.Graphics.ES10.All pname, Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetString", ExactSpelling = true)] + internal extern static unsafe System.IntPtr GetString(OpenTK.Graphics.ES10.All name); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glHint", ExactSpelling = true)] + internal extern static void Hint(OpenTK.Graphics.ES10.All target, OpenTK.Graphics.ES10.All mode); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLightf", ExactSpelling = true)] + internal extern static void Lightf(OpenTK.Graphics.ES10.All light, OpenTK.Graphics.ES10.All pname, Single param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLightfv", ExactSpelling = true)] + internal extern static unsafe void Lightfv(OpenTK.Graphics.ES10.All light, OpenTK.Graphics.ES10.All pname, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLightModelf", ExactSpelling = true)] + internal extern static void LightModelf(OpenTK.Graphics.ES10.All pname, Single param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLightModelfv", ExactSpelling = true)] + internal extern static unsafe void LightModelfv(OpenTK.Graphics.ES10.All pname, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLightModelx", ExactSpelling = true)] + internal extern static void LightModelx(OpenTK.Graphics.ES10.All pname, int param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLightModelxv", ExactSpelling = true)] + internal extern static unsafe void LightModelxv(OpenTK.Graphics.ES10.All pname, int* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLightx", ExactSpelling = true)] + internal extern static void Lightx(OpenTK.Graphics.ES10.All light, OpenTK.Graphics.ES10.All pname, int param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLightxv", ExactSpelling = true)] + internal extern static unsafe void Lightxv(OpenTK.Graphics.ES10.All light, OpenTK.Graphics.ES10.All pname, int* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLineWidth", ExactSpelling = true)] + internal extern static void LineWidth(Single width); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLineWidthx", ExactSpelling = true)] + internal extern static void LineWidthx(int width); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLoadIdentity", ExactSpelling = true)] + internal extern static void LoadIdentity(); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLoadMatrixf", ExactSpelling = true)] + internal extern static unsafe void LoadMatrixf(Single* m); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLoadMatrixx", ExactSpelling = true)] + internal extern static unsafe void LoadMatrixx(int* m); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLogicOp", ExactSpelling = true)] + internal extern static void LogicOp(OpenTK.Graphics.ES10.All opcode); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMaterialf", ExactSpelling = true)] + internal extern static void Materialf(OpenTK.Graphics.ES10.All face, OpenTK.Graphics.ES10.All pname, Single param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMaterialfv", ExactSpelling = true)] + internal extern static unsafe void Materialfv(OpenTK.Graphics.ES10.All face, OpenTK.Graphics.ES10.All pname, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMaterialx", ExactSpelling = true)] + internal extern static void Materialx(OpenTK.Graphics.ES10.All face, OpenTK.Graphics.ES10.All pname, int param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMaterialxv", ExactSpelling = true)] + internal extern static unsafe void Materialxv(OpenTK.Graphics.ES10.All face, OpenTK.Graphics.ES10.All pname, int* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixMode", ExactSpelling = true)] + internal extern static void MatrixMode(OpenTK.Graphics.ES10.All mode); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4f", ExactSpelling = true)] + internal extern static void MultiTexCoord4f(OpenTK.Graphics.ES10.All target, Single s, Single t, Single r, Single q); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4x", ExactSpelling = true)] + internal extern static void MultiTexCoord4x(OpenTK.Graphics.ES10.All target, int s, int t, int r, int q); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultMatrixf", ExactSpelling = true)] + internal extern static unsafe void MultMatrixf(Single* m); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultMatrixx", ExactSpelling = true)] + internal extern static unsafe void MultMatrixx(int* m); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormal3f", ExactSpelling = true)] + internal extern static void Normal3f(Single nx, Single ny, Single nz); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormal3x", ExactSpelling = true)] + internal extern static void Normal3x(int nx, int ny, int nz); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormalPointer", ExactSpelling = true)] + internal extern static void NormalPointer(OpenTK.Graphics.ES10.All type, Int32 stride, IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glOrthof", ExactSpelling = true)] + internal extern static void Orthof(Single left, Single right, Single bottom, Single top, Single zNear, Single zFar); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glOrthox", ExactSpelling = true)] + internal extern static void Orthox(int left, int right, int bottom, int top, int zNear, int zFar); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelStorei", ExactSpelling = true)] + internal extern static void PixelStorei(OpenTK.Graphics.ES10.All pname, Int32 param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointSize", ExactSpelling = true)] + internal extern static void PointSize(Single size); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointSizex", ExactSpelling = true)] + internal extern static void PointSizex(int size); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPolygonOffset", ExactSpelling = true)] + internal extern static void PolygonOffset(Single factor, Single units); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPolygonOffsetx", ExactSpelling = true)] + internal extern static void PolygonOffsetx(int factor, int units); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPopMatrix", ExactSpelling = true)] + internal extern static void PopMatrix(); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPushMatrix", ExactSpelling = true)] + internal extern static void PushMatrix(); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReadPixels", ExactSpelling = true)] + internal extern static void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES10.All format, OpenTK.Graphics.ES10.All type, IntPtr pixels); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRotatef", ExactSpelling = true)] + internal extern static void Rotatef(Single angle, Single x, Single y, Single z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRotatex", ExactSpelling = true)] + internal extern static void Rotatex(int angle, int x, int y, int z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSampleCoverage", ExactSpelling = true)] + internal extern static void SampleCoverage(Single value, bool invert); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSampleCoveragex", ExactSpelling = true)] + internal extern static void SampleCoveragex(int value, bool invert); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glScalef", ExactSpelling = true)] + internal extern static void Scalef(Single x, Single y, Single z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glScalex", ExactSpelling = true)] + internal extern static void Scalex(int x, int y, int z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glScissor", ExactSpelling = true)] + internal extern static void Scissor(Int32 x, Int32 y, Int32 width, Int32 height); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glShadeModel", ExactSpelling = true)] + internal extern static void ShadeModel(OpenTK.Graphics.ES10.All mode); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilFunc", ExactSpelling = true)] + internal extern static void StencilFunc(OpenTK.Graphics.ES10.All func, Int32 @ref, UInt32 mask); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilMask", ExactSpelling = true)] + internal extern static void StencilMask(UInt32 mask); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilOp", ExactSpelling = true)] + internal extern static void StencilOp(OpenTK.Graphics.ES10.All fail, OpenTK.Graphics.ES10.All zfail, OpenTK.Graphics.ES10.All zpass); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoordPointer", ExactSpelling = true)] + internal extern static void TexCoordPointer(Int32 size, OpenTK.Graphics.ES10.All type, Int32 stride, IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexEnvf", ExactSpelling = true)] + internal extern static void TexEnvf(OpenTK.Graphics.ES10.All target, OpenTK.Graphics.ES10.All pname, Single param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexEnvfv", ExactSpelling = true)] + internal extern static unsafe void TexEnvfv(OpenTK.Graphics.ES10.All target, OpenTK.Graphics.ES10.All pname, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexEnvx", ExactSpelling = true)] + internal extern static void TexEnvx(OpenTK.Graphics.ES10.All target, OpenTK.Graphics.ES10.All pname, int param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexEnvxv", ExactSpelling = true)] + internal extern static unsafe void TexEnvxv(OpenTK.Graphics.ES10.All target, OpenTK.Graphics.ES10.All pname, int* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexImage2D", ExactSpelling = true)] + internal extern static void TexImage2D(OpenTK.Graphics.ES10.All target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES10.All format, OpenTK.Graphics.ES10.All type, IntPtr pixels); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameterf", ExactSpelling = true)] + internal extern static void TexParameterf(OpenTK.Graphics.ES10.All target, OpenTK.Graphics.ES10.All pname, Single param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameterx", ExactSpelling = true)] + internal extern static void TexParameterx(OpenTK.Graphics.ES10.All target, OpenTK.Graphics.ES10.All pname, int param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexSubImage2D", ExactSpelling = true)] + internal extern static void TexSubImage2D(OpenTK.Graphics.ES10.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES10.All format, OpenTK.Graphics.ES10.All type, IntPtr pixels); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTranslatef", ExactSpelling = true)] + internal extern static void Translatef(Single x, Single y, Single z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTranslatex", ExactSpelling = true)] + internal extern static void Translatex(int x, int y, int z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexPointer", ExactSpelling = true)] + internal extern static void VertexPointer(Int32 size, OpenTK.Graphics.ES10.All type, Int32 stride, IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glViewport", ExactSpelling = true)] + internal extern static void Viewport(Int32 x, Int32 y, Int32 width, Int32 height); + } + } +} diff --git a/src/MiniTK/Graphics/ES10/Delegates.cs b/src/MiniTK/Graphics/ES10/Delegates.cs new file mode 100644 index 0000000..8a6d11e --- /dev/null +++ b/src/MiniTK/Graphics/ES10/Delegates.cs @@ -0,0 +1,361 @@ +#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 + +namespace OpenTK.Graphics.ES10 +{ + using System; + using System.Text; + using System.Runtime.InteropServices; + #pragma warning disable 0649 + #pragma warning disable 3019 + #pragma warning disable 1591 + + partial class GL + { + internal static partial class Delegates + { + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ActiveTexture(OpenTK.Graphics.ES10.All texture); + internal static ActiveTexture glActiveTexture; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void AlphaFunc(OpenTK.Graphics.ES10.All func, Single @ref); + internal static AlphaFunc glAlphaFunc; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void AlphaFuncx(OpenTK.Graphics.ES10.All func, int @ref); + internal static AlphaFuncx glAlphaFuncx; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BindTexture(OpenTK.Graphics.ES10.All target, UInt32 texture); + internal static BindTexture glBindTexture; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BlendFunc(OpenTK.Graphics.ES10.All sfactor, OpenTK.Graphics.ES10.All dfactor); + internal static BlendFunc glBlendFunc; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Clear(UInt32 mask); + internal static Clear glClear; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ClearColor(Single red, Single green, Single blue, Single alpha); + internal static ClearColor glClearColor; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ClearColorx(int red, int green, int blue, int alpha); + internal static ClearColorx glClearColorx; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ClearDepthf(Single depth); + internal static ClearDepthf glClearDepthf; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ClearDepthx(int depth); + internal static ClearDepthx glClearDepthx; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ClearStencil(Int32 s); + internal static ClearStencil glClearStencil; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ClientActiveTexture(OpenTK.Graphics.ES10.All texture); + internal static ClientActiveTexture glClientActiveTexture; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Color4f(Single red, Single green, Single blue, Single alpha); + internal static Color4f glColor4f; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Color4x(int red, int green, int blue, int alpha); + internal static Color4x glColor4x; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ColorMask(bool red, bool green, bool blue, bool alpha); + internal static ColorMask glColorMask; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ColorPointer(Int32 size, OpenTK.Graphics.ES10.All type, Int32 stride, IntPtr pointer); + internal static ColorPointer glColorPointer; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CompressedTexImage2D(OpenTK.Graphics.ES10.All target, Int32 level, OpenTK.Graphics.ES10.All internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data); + internal static CompressedTexImage2D glCompressedTexImage2D; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CompressedTexSubImage2D(OpenTK.Graphics.ES10.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES10.All format, Int32 imageSize, IntPtr data); + internal static CompressedTexSubImage2D glCompressedTexSubImage2D; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CopyTexImage2D(OpenTK.Graphics.ES10.All target, Int32 level, OpenTK.Graphics.ES10.All internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border); + internal static CopyTexImage2D glCopyTexImage2D; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CopyTexSubImage2D(OpenTK.Graphics.ES10.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height); + internal static CopyTexSubImage2D glCopyTexSubImage2D; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CullFace(OpenTK.Graphics.ES10.All mode); + internal static CullFace glCullFace; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void DeleteTextures(Int32 n, UInt32* textures); + internal unsafe static DeleteTextures glDeleteTextures; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DepthFunc(OpenTK.Graphics.ES10.All func); + internal static DepthFunc glDepthFunc; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DepthMask(bool flag); + internal static DepthMask glDepthMask; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DepthRangef(Single zNear, Single zFar); + internal static DepthRangef glDepthRangef; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DepthRangex(int zNear, int zFar); + internal static DepthRangex glDepthRangex; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Disable(OpenTK.Graphics.ES10.All cap); + internal static Disable glDisable; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DisableClientState(OpenTK.Graphics.ES10.All array); + internal static DisableClientState glDisableClientState; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DrawArrays(OpenTK.Graphics.ES10.All mode, Int32 first, Int32 count); + internal static DrawArrays glDrawArrays; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DrawElements(OpenTK.Graphics.ES10.All mode, Int32 count, OpenTK.Graphics.ES10.All type, IntPtr indices); + internal static DrawElements glDrawElements; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Enable(OpenTK.Graphics.ES10.All cap); + internal static Enable glEnable; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void EnableClientState(OpenTK.Graphics.ES10.All array); + internal static EnableClientState glEnableClientState; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Finish(); + internal static Finish glFinish; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Flush(); + internal static Flush glFlush; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Fogf(OpenTK.Graphics.ES10.All pname, Single param); + internal static Fogf glFogf; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Fogfv(OpenTK.Graphics.ES10.All pname, Single* @params); + internal unsafe static Fogfv glFogfv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Fogx(OpenTK.Graphics.ES10.All pname, int param); + internal static Fogx glFogx; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Fogxv(OpenTK.Graphics.ES10.All pname, int* @params); + internal unsafe static Fogxv glFogxv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void FrontFace(OpenTK.Graphics.ES10.All mode); + internal static FrontFace glFrontFace; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Frustumf(Single left, Single right, Single bottom, Single top, Single zNear, Single zFar); + internal static Frustumf glFrustumf; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Frustumx(int left, int right, int bottom, int top, int zNear, int zFar); + internal static Frustumx glFrustumx; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GenTextures(Int32 n, UInt32* textures); + internal unsafe static GenTextures glGenTextures; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate OpenTK.Graphics.ES10.All GetError(); + internal static GetError glGetError; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetIntegerv(OpenTK.Graphics.ES10.All pname, Int32* @params); + internal unsafe static GetIntegerv glGetIntegerv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate System.IntPtr GetString(OpenTK.Graphics.ES10.All name); + internal unsafe static GetString glGetString; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Hint(OpenTK.Graphics.ES10.All target, OpenTK.Graphics.ES10.All mode); + internal static Hint glHint; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Lightf(OpenTK.Graphics.ES10.All light, OpenTK.Graphics.ES10.All pname, Single param); + internal static Lightf glLightf; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Lightfv(OpenTK.Graphics.ES10.All light, OpenTK.Graphics.ES10.All pname, Single* @params); + internal unsafe static Lightfv glLightfv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void LightModelf(OpenTK.Graphics.ES10.All pname, Single param); + internal static LightModelf glLightModelf; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void LightModelfv(OpenTK.Graphics.ES10.All pname, Single* @params); + internal unsafe static LightModelfv glLightModelfv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void LightModelx(OpenTK.Graphics.ES10.All pname, int param); + internal static LightModelx glLightModelx; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void LightModelxv(OpenTK.Graphics.ES10.All pname, int* @params); + internal unsafe static LightModelxv glLightModelxv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Lightx(OpenTK.Graphics.ES10.All light, OpenTK.Graphics.ES10.All pname, int param); + internal static Lightx glLightx; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Lightxv(OpenTK.Graphics.ES10.All light, OpenTK.Graphics.ES10.All pname, int* @params); + internal unsafe static Lightxv glLightxv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void LineWidth(Single width); + internal static LineWidth glLineWidth; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void LineWidthx(int width); + internal static LineWidthx glLineWidthx; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void LoadIdentity(); + internal static LoadIdentity glLoadIdentity; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void LoadMatrixf(Single* m); + internal unsafe static LoadMatrixf glLoadMatrixf; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void LoadMatrixx(int* m); + internal unsafe static LoadMatrixx glLoadMatrixx; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void LogicOp(OpenTK.Graphics.ES10.All opcode); + internal static LogicOp glLogicOp; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Materialf(OpenTK.Graphics.ES10.All face, OpenTK.Graphics.ES10.All pname, Single param); + internal static Materialf glMaterialf; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Materialfv(OpenTK.Graphics.ES10.All face, OpenTK.Graphics.ES10.All pname, Single* @params); + internal unsafe static Materialfv glMaterialfv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Materialx(OpenTK.Graphics.ES10.All face, OpenTK.Graphics.ES10.All pname, int param); + internal static Materialx glMaterialx; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Materialxv(OpenTK.Graphics.ES10.All face, OpenTK.Graphics.ES10.All pname, int* @params); + internal unsafe static Materialxv glMaterialxv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MatrixMode(OpenTK.Graphics.ES10.All mode); + internal static MatrixMode glMatrixMode; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MultiTexCoord4f(OpenTK.Graphics.ES10.All target, Single s, Single t, Single r, Single q); + internal static MultiTexCoord4f glMultiTexCoord4f; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MultiTexCoord4x(OpenTK.Graphics.ES10.All target, int s, int t, int r, int q); + internal static MultiTexCoord4x glMultiTexCoord4x; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MultMatrixf(Single* m); + internal unsafe static MultMatrixf glMultMatrixf; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MultMatrixx(int* m); + internal unsafe static MultMatrixx glMultMatrixx; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Normal3f(Single nx, Single ny, Single nz); + internal static Normal3f glNormal3f; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Normal3x(int nx, int ny, int nz); + internal static Normal3x glNormal3x; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void NormalPointer(OpenTK.Graphics.ES10.All type, Int32 stride, IntPtr pointer); + internal static NormalPointer glNormalPointer; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Orthof(Single left, Single right, Single bottom, Single top, Single zNear, Single zFar); + internal static Orthof glOrthof; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Orthox(int left, int right, int bottom, int top, int zNear, int zFar); + internal static Orthox glOrthox; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void PixelStorei(OpenTK.Graphics.ES10.All pname, Int32 param); + internal static PixelStorei glPixelStorei; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void PointSize(Single size); + internal static PointSize glPointSize; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void PointSizex(int size); + internal static PointSizex glPointSizex; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void PolygonOffset(Single factor, Single units); + internal static PolygonOffset glPolygonOffset; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void PolygonOffsetx(int factor, int units); + internal static PolygonOffsetx glPolygonOffsetx; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void PopMatrix(); + internal static PopMatrix glPopMatrix; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void PushMatrix(); + internal static PushMatrix glPushMatrix; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES10.All format, OpenTK.Graphics.ES10.All type, IntPtr pixels); + internal static ReadPixels glReadPixels; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Rotatef(Single angle, Single x, Single y, Single z); + internal static Rotatef glRotatef; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Rotatex(int angle, int x, int y, int z); + internal static Rotatex glRotatex; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void SampleCoverage(Single value, bool invert); + internal static SampleCoverage glSampleCoverage; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void SampleCoveragex(int value, bool invert); + internal static SampleCoveragex glSampleCoveragex; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Scalef(Single x, Single y, Single z); + internal static Scalef glScalef; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Scalex(int x, int y, int z); + internal static Scalex glScalex; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Scissor(Int32 x, Int32 y, Int32 width, Int32 height); + internal static Scissor glScissor; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ShadeModel(OpenTK.Graphics.ES10.All mode); + internal static ShadeModel glShadeModel; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void StencilFunc(OpenTK.Graphics.ES10.All func, Int32 @ref, UInt32 mask); + internal static StencilFunc glStencilFunc; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void StencilMask(UInt32 mask); + internal static StencilMask glStencilMask; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void StencilOp(OpenTK.Graphics.ES10.All fail, OpenTK.Graphics.ES10.All zfail, OpenTK.Graphics.ES10.All zpass); + internal static StencilOp glStencilOp; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexCoordPointer(Int32 size, OpenTK.Graphics.ES10.All type, Int32 stride, IntPtr pointer); + internal static TexCoordPointer glTexCoordPointer; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexEnvf(OpenTK.Graphics.ES10.All target, OpenTK.Graphics.ES10.All pname, Single param); + internal static TexEnvf glTexEnvf; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void TexEnvfv(OpenTK.Graphics.ES10.All target, OpenTK.Graphics.ES10.All pname, Single* @params); + internal unsafe static TexEnvfv glTexEnvfv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexEnvx(OpenTK.Graphics.ES10.All target, OpenTK.Graphics.ES10.All pname, int param); + internal static TexEnvx glTexEnvx; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void TexEnvxv(OpenTK.Graphics.ES10.All target, OpenTK.Graphics.ES10.All pname, int* @params); + internal unsafe static TexEnvxv glTexEnvxv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexImage2D(OpenTK.Graphics.ES10.All target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES10.All format, OpenTK.Graphics.ES10.All type, IntPtr pixels); + internal static TexImage2D glTexImage2D; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexParameterf(OpenTK.Graphics.ES10.All target, OpenTK.Graphics.ES10.All pname, Single param); + internal static TexParameterf glTexParameterf; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexParameterx(OpenTK.Graphics.ES10.All target, OpenTK.Graphics.ES10.All pname, int param); + internal static TexParameterx glTexParameterx; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexSubImage2D(OpenTK.Graphics.ES10.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES10.All format, OpenTK.Graphics.ES10.All type, IntPtr pixels); + internal static TexSubImage2D glTexSubImage2D; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Translatef(Single x, Single y, Single z); + internal static Translatef glTranslatef; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Translatex(int x, int y, int z); + internal static Translatex glTranslatex; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexPointer(Int32 size, OpenTK.Graphics.ES10.All type, Int32 stride, IntPtr pointer); + internal static VertexPointer glVertexPointer; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Viewport(Int32 x, Int32 y, Int32 width, Int32 height); + internal static Viewport glViewport; + } + } +} diff --git a/src/MiniTK/Graphics/ES10/ES.cs b/src/MiniTK/Graphics/ES10/ES.cs new file mode 100644 index 0000000..447b4d9 --- /dev/null +++ b/src/MiniTK/Graphics/ES10/ES.cs @@ -0,0 +1,5983 @@ +#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 + +// flibit added this! +#pragma warning disable 3021 + +namespace OpenTK.Graphics.ES10 +{ + using System; + using System.Text; + using System.Runtime.InteropServices; + #pragma warning disable 3019 + #pragma warning disable 1591 + #pragma warning disable 1572 + #pragma warning disable 1573 + + partial class GL + { + + + /// [requires: v1.0 and 1.0] + /// Select active texture unit + /// + /// + /// + /// 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_TEXTUREi, where i ranges from 0 (GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS - 1). The initial value is GL_TEXTURE0. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glActiveTexture")] + public static + void ActiveTexture(OpenTK.Graphics.ES10.All texture) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glActiveTexture((OpenTK.Graphics.ES10.All)texture); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Specify the alpha test function + /// + /// + /// + /// Specifies the alpha comparison function. Symbolic constants GL_NEVER, GL_LESS, GL_EQUAL, GL_LEQUAL, GL_GREATER, GL_NOTEQUAL, GL_GEQUAL, and GL_ALWAYS are accepted. The initial value is GL_ALWAYS. + /// + /// + /// + /// + /// Specifies the reference value that incoming alpha values are compared to. This value is clamped to the range [0,1], where 0 represents the lowest possible alpha value and 1 the highest possible value. The initial reference value is 0. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glAlphaFunc")] + public static + void AlphaFunc(OpenTK.Graphics.ES10.All func, Single @ref) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glAlphaFunc((OpenTK.Graphics.ES10.All)func, (Single)@ref); + #if DEBUG + } + #endif + } + + /// [requires: v1.0 and 1.0] + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glAlphaFuncx")] + public static + void AlphaFuncx(OpenTK.Graphics.ES10.All func, int @ref) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glAlphaFuncx((OpenTK.Graphics.ES10.All)func, (int)@ref); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Bind a named texture to a texturing target + /// + /// + /// + /// Specifies the target to which the texture is bound. Must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, or GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, GL_TEXTURE_CUBE_MAP, GL_TEXTURE_2D_MULTISAMPLE or GL_TEXTURE_2D_MULTISAMPLE_ARRAY. + /// + /// + /// + /// + /// Specifies the name of a texture. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glBindTexture")] + public static + void BindTexture(OpenTK.Graphics.ES10.All target, Int32 texture) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindTexture((OpenTK.Graphics.ES10.All)target, (UInt32)texture); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Bind a named texture to a texturing target + /// + /// + /// + /// Specifies the target to which the texture is bound. Must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, or GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, GL_TEXTURE_CUBE_MAP, GL_TEXTURE_2D_MULTISAMPLE or GL_TEXTURE_2D_MULTISAMPLE_ARRAY. + /// + /// + /// + /// + /// Specifies the name of a texture. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glBindTexture")] + public static + void BindTexture(OpenTK.Graphics.ES10.All target, UInt32 texture) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindTexture((OpenTK.Graphics.ES10.All)target, (UInt32)texture); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Specify pixel arithmetic + /// + /// + /// + /// Specifies how the red, green, blue, and alpha source blending factors are computed. The initial value is GL_ONE. + /// + /// + /// + /// + /// Specifies how the red, green, blue, and alpha destination blending factors are computed. The following symbolic constants are accepted: GL_ZERO, GL_ONE, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_DST_COLOR, GL_ONE_MINUS_DST_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_DST_ALPHA, GL_ONE_MINUS_DST_ALPHA. GL_CONSTANT_COLOR, GL_ONE_MINUS_CONSTANT_COLOR, GL_CONSTANT_ALPHA, and GL_ONE_MINUS_CONSTANT_ALPHA. The initial value is GL_ZERO. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glBlendFunc")] + public static + void BlendFunc(OpenTK.Graphics.ES10.All sfactor, OpenTK.Graphics.ES10.All dfactor) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBlendFunc((OpenTK.Graphics.ES10.All)sfactor, (OpenTK.Graphics.ES10.All)dfactor); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Clear buffers to preset values + /// + /// + /// + /// Bitwise OR of masks that indicate the buffers to be cleared. The three masks are GL_COLOR_BUFFER_BIT, GL_DEPTH_BUFFER_BIT, and GL_STENCIL_BUFFER_BIT. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glClear")] + public static + void Clear(Int32 mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glClear((UInt32)mask); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Clear buffers to preset values + /// + /// + /// + /// Bitwise OR of masks that indicate the buffers to be cleared. The three masks are GL_COLOR_BUFFER_BIT, GL_DEPTH_BUFFER_BIT, and GL_STENCIL_BUFFER_BIT. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glClear")] + public static + void Clear(UInt32 mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glClear((UInt32)mask); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Specify clear values for the color buffers + /// + /// + /// + /// Specify the red, green, blue, and alpha values used when the color buffers are cleared. The initial values are all 0. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glClearColor")] + public static + void ClearColor(Single red, Single green, Single blue, Single alpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glClearColor((Single)red, (Single)green, (Single)blue, (Single)alpha); + #if DEBUG + } + #endif + } + + /// [requires: v1.0 and 1.0] + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glClearColorx")] + public static + void ClearColorx(int red, int green, int blue, int alpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glClearColorx((int)red, (int)green, (int)blue, (int)alpha); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Specify the clear value for the depth buffer + /// + /// + /// + /// Specifies the depth value used when the depth buffer is cleared. The initial value is 1. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glClearDepthf")] + public static + void ClearDepth(Single depth) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glClearDepthf((Single)depth); + #if DEBUG + } + #endif + } + + /// [requires: v1.0 and 1.0] + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glClearDepthx")] + public static + void ClearDepthx(int depth) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glClearDepthx((int)depth); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Specify the clear value for the stencil buffer + /// + /// + /// + /// Specifies the index used when the stencil buffer is cleared. The initial value is 0. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glClearStencil")] + public static + void ClearStencil(Int32 s) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glClearStencil((Int32)s); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Select active texture unit + /// + /// + /// + /// 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 = "1.0", Version = "1.0", EntryPoint = "glClientActiveTexture")] + public static + void ClientActiveTexture(OpenTK.Graphics.ES10.All texture) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glClientActiveTexture((OpenTK.Graphics.ES10.All)texture); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glColor4f")] + public static + void Color4(Single red, Single green, Single blue, Single alpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor4f((Single)red, (Single)green, (Single)blue, (Single)alpha); + #if DEBUG + } + #endif + } + + /// [requires: v1.0 and 1.0] + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glColor4x")] + public static + void Color4x(int red, int green, int blue, int alpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor4x((int)red, (int)green, (int)blue, (int)alpha); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Enable and disable writing of frame buffer color components + /// + /// + /// + /// Specify whether red, green, blue, and alpha can or cannot be written into the frame buffer. The initial values are all GL_TRUE, indicating that the color components can be written. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glColorMask")] + public static + void ColorMask(bool red, bool green, bool blue, bool alpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColorMask((bool)red, (bool)green, (bool)blue, (bool)alpha); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Define an array of colors + /// + /// + /// + /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glColorPointer")] + public static + void ColorPointer(Int32 size, OpenTK.Graphics.ES10.All type, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColorPointer((Int32)size, (OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Define an array of colors + /// + /// + /// + /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glColorPointer")] + public static + void ColorPointer(Int32 size, OpenTK.Graphics.ES10.All type, Int32 stride, [InAttribute, OutAttribute] T3[] pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glColorPointer((Int32)size, (OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Define an array of colors + /// + /// + /// + /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glColorPointer")] + public static + void ColorPointer(Int32 size, OpenTK.Graphics.ES10.All type, Int32 stride, [InAttribute, OutAttribute] T3[,] pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glColorPointer((Int32)size, (OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Define an array of colors + /// + /// + /// + /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glColorPointer")] + public static + void ColorPointer(Int32 size, OpenTK.Graphics.ES10.All type, Int32 stride, [InAttribute, OutAttribute] T3[,,] pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glColorPointer((Int32)size, (OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Define an array of colors + /// + /// + /// + /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glColorPointer")] + public static + void ColorPointer(Int32 size, OpenTK.Graphics.ES10.All type, Int32 stride, [InAttribute, OutAttribute] ref T3 pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glColorPointer((Int32)size, (OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + pointer = (T3)pointer_ptr.Target; + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// 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_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, 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. 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. 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. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// 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 = "1.0", Version = "1.0", EntryPoint = "glCompressedTexImage2D")] + public static + void CompressedTexImage2D(OpenTK.Graphics.ES10.All target, Int32 level, OpenTK.Graphics.ES10.All internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (OpenTK.Graphics.ES10.All)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// 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_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, 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. 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. 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. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// 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 = "1.0", Version = "1.0", EntryPoint = "glCompressedTexImage2D")] + public static + void CompressedTexImage2D(OpenTK.Graphics.ES10.All target, Int32 level, OpenTK.Graphics.ES10.All internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[] data) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (OpenTK.Graphics.ES10.All)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// 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_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, 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. 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. 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. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// 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 = "1.0", Version = "1.0", EntryPoint = "glCompressedTexImage2D")] + public static + void CompressedTexImage2D(OpenTK.Graphics.ES10.All target, Int32 level, OpenTK.Graphics.ES10.All internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,] data) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (OpenTK.Graphics.ES10.All)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// 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_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, 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. 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. 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. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// 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 = "1.0", Version = "1.0", EntryPoint = "glCompressedTexImage2D")] + public static + void CompressedTexImage2D(OpenTK.Graphics.ES10.All target, Int32 level, OpenTK.Graphics.ES10.All internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,,] data) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (OpenTK.Graphics.ES10.All)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// 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_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, 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. 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. 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. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// 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 = "1.0", Version = "1.0", EntryPoint = "glCompressedTexImage2D")] + public static + void CompressedTexImage2D(OpenTK.Graphics.ES10.All target, Int32 level, OpenTK.Graphics.ES10.All internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T7 data) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (OpenTK.Graphics.ES10.All)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + data = (T7)data_ptr.Target; + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// 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 = "1.0", Version = "1.0", EntryPoint = "glCompressedTexSubImage2D")] + public static + void CompressedTexSubImage2D(OpenTK.Graphics.ES10.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES10.All format, Int32 imageSize, IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES10.All)format, (Int32)imageSize, (IntPtr)data); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// 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 = "1.0", Version = "1.0", EntryPoint = "glCompressedTexSubImage2D")] + public static + void CompressedTexSubImage2D(OpenTK.Graphics.ES10.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES10.All format, Int32 imageSize, [InAttribute, OutAttribute] T8[] data) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES10.All)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// 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 = "1.0", Version = "1.0", EntryPoint = "glCompressedTexSubImage2D")] + public static + void CompressedTexSubImage2D(OpenTK.Graphics.ES10.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES10.All format, Int32 imageSize, [InAttribute, OutAttribute] T8[,] data) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES10.All)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// 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 = "1.0", Version = "1.0", EntryPoint = "glCompressedTexSubImage2D")] + public static + void CompressedTexSubImage2D(OpenTK.Graphics.ES10.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES10.All format, Int32 imageSize, [InAttribute, OutAttribute] T8[,,] data) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES10.All)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// 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 = "1.0", Version = "1.0", EntryPoint = "glCompressedTexSubImage2D")] + public static + void CompressedTexSubImage2D(OpenTK.Graphics.ES10.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES10.All format, Int32 imageSize, [InAttribute, OutAttribute] ref T8 data) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES10.All)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + data = (T8)data_ptr.Target; + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Copy pixels into a 2D texture image + /// + /// + /// + /// 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 the internal format of the texture. Must be one of the following symbolic constants: GL_COMPRESSED_RED, GL_COMPRESSED_RG, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA. GL_COMPRESSED_SRGB, GL_COMPRESSED_SRGB_ALPHA. GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_RED, GL_RG, GL_RGB, GL_R3_G3_B2, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. + /// + /// + /// + /// + /// Specify the window coordinates of the lower left corner of the rectangular region of pixels to be copied. + /// + /// + /// + /// + /// Specifies the width of the texture image. Must be 0 or 2 sup n + 2 ( border ) for some integer . + /// + /// + /// + /// + /// Specifies the height of the texture image. Must be 0 or 2 sup m + 2 ( border ) for some integer . + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glCopyTexImage2D")] + public static + void CopyTexImage2D(OpenTK.Graphics.ES10.All target, Int32 level, OpenTK.Graphics.ES10.All internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCopyTexImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (OpenTK.Graphics.ES10.All)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Copy a two-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specify the window coordinates of the lower left corner of the rectangular region of pixels to be copied. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glCopyTexSubImage2D")] + public static + void CopyTexSubImage2D(OpenTK.Graphics.ES10.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCopyTexSubImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Specify whether front- or back-facing facets can be culled + /// + /// + /// + /// Specifies whether front- or back-facing facets are candidates for culling. Symbolic constants GL_FRONT, GL_BACK, and GL_FRONT_AND_BACK are accepted. The initial value is GL_BACK. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glCullFace")] + public static + void CullFace(OpenTK.Graphics.ES10.All mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCullFace((OpenTK.Graphics.ES10.All)mode); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Delete named textures + /// + /// + /// + /// Specifies the number of textures to be deleted. + /// + /// + /// + /// + /// Specifies an array of textures to be deleted. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glDeleteTextures")] + public static + void DeleteTextures(Int32 n, Int32[] textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* textures_ptr = textures) + { + Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Delete named textures + /// + /// + /// + /// Specifies the number of textures to be deleted. + /// + /// + /// + /// + /// Specifies an array of textures to be deleted. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glDeleteTextures")] + public static + void DeleteTextures(Int32 n, ref Int32 textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* textures_ptr = &textures) + { + Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Delete named textures + /// + /// + /// + /// Specifies the number of textures to be deleted. + /// + /// + /// + /// + /// Specifies an array of textures to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glDeleteTextures")] + public static + unsafe void DeleteTextures(Int32 n, Int32* textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteTextures((Int32)n, (UInt32*)textures); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Delete named textures + /// + /// + /// + /// Specifies the number of textures to be deleted. + /// + /// + /// + /// + /// Specifies an array of textures to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glDeleteTextures")] + public static + void DeleteTextures(Int32 n, UInt32[] textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* textures_ptr = textures) + { + Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Delete named textures + /// + /// + /// + /// Specifies the number of textures to be deleted. + /// + /// + /// + /// + /// Specifies an array of textures to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glDeleteTextures")] + public static + void DeleteTextures(Int32 n, ref UInt32 textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* textures_ptr = &textures) + { + Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Delete named textures + /// + /// + /// + /// Specifies the number of textures to be deleted. + /// + /// + /// + /// + /// Specifies an array of textures to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glDeleteTextures")] + public static + unsafe void DeleteTextures(Int32 n, UInt32* textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteTextures((Int32)n, (UInt32*)textures); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Specify the value used for depth buffer comparisons + /// + /// + /// + /// Specifies the depth comparison function. Symbolic constants GL_NEVER, GL_LESS, GL_EQUAL, GL_LEQUAL, GL_GREATER, GL_NOTEQUAL, GL_GEQUAL, and GL_ALWAYS are accepted. The initial value is GL_LESS. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glDepthFunc")] + public static + void DepthFunc(OpenTK.Graphics.ES10.All func) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDepthFunc((OpenTK.Graphics.ES10.All)func); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Enable or disable writing into the depth buffer + /// + /// + /// + /// Specifies whether the depth buffer is enabled for writing. If flag is GL_FALSE, depth buffer writing is disabled. Otherwise, it is enabled. Initially, depth buffer writing is enabled. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glDepthMask")] + public static + void DepthMask(bool flag) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDepthMask((bool)flag); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Specify mapping of depth values from normalized device coordinates to window coordinates + /// + /// + /// + /// Specifies the mapping of the near clipping plane to window coordinates. The initial value is 0. + /// + /// + /// + /// + /// Specifies the mapping of the far clipping plane to window coordinates. The initial value is 1. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glDepthRangef")] + public static + void DepthRange(Single zNear, Single zFar) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDepthRangef((Single)zNear, (Single)zFar); + #if DEBUG + } + #endif + } + + /// [requires: v1.0 and 1.0] + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glDepthRangex")] + public static + void DepthRangex(int zNear, int zFar) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDepthRangex((int)zNear, (int)zFar); + #if DEBUG + } + #endif + } + + /// [requires: v1.0 and 1.0] + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glDisable")] + public static + void Disable(OpenTK.Graphics.ES10.All cap) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDisable((OpenTK.Graphics.ES10.All)cap); + #if DEBUG + } + #endif + } + + /// [requires: v1.0 and 1.0] + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glDisableClientState")] + public static + void DisableClientState(OpenTK.Graphics.ES10.All array) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDisableClientState((OpenTK.Graphics.ES10.All)array); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the starting index in the enabled arrays. + /// + /// + /// + /// + /// Specifies the number of indices to be rendered. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glDrawArrays")] + public static + void DrawArrays(OpenTK.Graphics.ES10.All mode, Int32 first, Int32 count) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawArrays((OpenTK.Graphics.ES10.All)mode, (Int32)first, (Int32)count); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glDrawElements")] + public static + void DrawElements(OpenTK.Graphics.ES10.All mode, Int32 count, OpenTK.Graphics.ES10.All type, IntPtr indices) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawElements((OpenTK.Graphics.ES10.All)mode, (Int32)count, (OpenTK.Graphics.ES10.All)type, (IntPtr)indices); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glDrawElements")] + public static + void DrawElements(OpenTK.Graphics.ES10.All mode, Int32 count, OpenTK.Graphics.ES10.All type, [InAttribute, OutAttribute] T3[] indices) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawElements((OpenTK.Graphics.ES10.All)mode, (Int32)count, (OpenTK.Graphics.ES10.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glDrawElements")] + public static + void DrawElements(OpenTK.Graphics.ES10.All mode, Int32 count, OpenTK.Graphics.ES10.All type, [InAttribute, OutAttribute] T3[,] indices) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawElements((OpenTK.Graphics.ES10.All)mode, (Int32)count, (OpenTK.Graphics.ES10.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glDrawElements")] + public static + void DrawElements(OpenTK.Graphics.ES10.All mode, Int32 count, OpenTK.Graphics.ES10.All type, [InAttribute, OutAttribute] T3[,,] indices) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawElements((OpenTK.Graphics.ES10.All)mode, (Int32)count, (OpenTK.Graphics.ES10.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glDrawElements")] + public static + void DrawElements(OpenTK.Graphics.ES10.All mode, Int32 count, OpenTK.Graphics.ES10.All type, [InAttribute, OutAttribute] ref T3 indices) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawElements((OpenTK.Graphics.ES10.All)mode, (Int32)count, (OpenTK.Graphics.ES10.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + indices = (T3)indices_ptr.Target; + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Enable or disable server-side GL capabilities + /// + /// + /// + /// Specifies a symbolic constant indicating a GL capability. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glEnable")] + public static + void Enable(OpenTK.Graphics.ES10.All cap) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEnable((OpenTK.Graphics.ES10.All)cap); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Enable or disable client-side capability + /// + /// + /// + /// Specifies the capability to enable. Symbolic constants GL_COLOR_ARRAY, GL_EDGE_FLAG_ARRAY, GL_FOG_COORD_ARRAY, GL_INDEX_ARRAY, GL_NORMAL_ARRAY, GL_SECONDARY_COLOR_ARRAY, GL_TEXTURE_COORD_ARRAY, and GL_VERTEX_ARRAY are accepted. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glEnableClientState")] + public static + void EnableClientState(OpenTK.Graphics.ES10.All array) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEnableClientState((OpenTK.Graphics.ES10.All)array); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Block until all GL execution is complete + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glFinish")] + public static + void Finish() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFinish(); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Force execution of GL commands in finite time + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glFlush")] + public static + void Flush() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFlush(); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Specify fog parameters + /// + /// + /// + /// Specifies a single-valued fog parameter. GL_FOG_MODE, GL_FOG_DENSITY, GL_FOG_START, GL_FOG_END, GL_FOG_INDEX, and GL_FOG_COORD_SRC are accepted. + /// + /// + /// + /// + /// Specifies the value that pname will be set to. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glFogf")] + public static + void Fog(OpenTK.Graphics.ES10.All pname, Single param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFogf((OpenTK.Graphics.ES10.All)pname, (Single)param); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Specify fog parameters + /// + /// + /// + /// Specifies a single-valued fog parameter. GL_FOG_MODE, GL_FOG_DENSITY, GL_FOG_START, GL_FOG_END, GL_FOG_INDEX, and GL_FOG_COORD_SRC are accepted. + /// + /// + /// + /// + /// Specifies the value that pname will be set to. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glFogfv")] + public static + void Fog(OpenTK.Graphics.ES10.All pname, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glFogfv((OpenTK.Graphics.ES10.All)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Specify fog parameters + /// + /// + /// + /// Specifies a single-valued fog parameter. GL_FOG_MODE, GL_FOG_DENSITY, GL_FOG_START, GL_FOG_END, GL_FOG_INDEX, and GL_FOG_COORD_SRC are accepted. + /// + /// + /// + /// + /// Specifies the value that pname will be set to. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glFogfv")] + public static + unsafe void Fog(OpenTK.Graphics.ES10.All pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFogfv((OpenTK.Graphics.ES10.All)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: v1.0 and 1.0] + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glFogx")] + public static + void Fogx(OpenTK.Graphics.ES10.All pname, int param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFogx((OpenTK.Graphics.ES10.All)pname, (int)param); + #if DEBUG + } + #endif + } + + /// [requires: v1.0 and 1.0] + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glFogxv")] + public static + void Fogx(OpenTK.Graphics.ES10.All pname, int[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (int* @params_ptr = @params) + { + Delegates.glFogxv((OpenTK.Graphics.ES10.All)pname, (int*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v1.0 and 1.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glFogxv")] + public static + unsafe void Fogx(OpenTK.Graphics.ES10.All pname, int* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFogxv((OpenTK.Graphics.ES10.All)pname, (int*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Define front- and back-facing polygons + /// + /// + /// + /// Specifies the orientation of front-facing polygons. GL_CW and GL_CCW are accepted. The initial value is GL_CCW. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glFrontFace")] + public static + void FrontFace(OpenTK.Graphics.ES10.All mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFrontFace((OpenTK.Graphics.ES10.All)mode); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Multiply the current matrix by a perspective matrix + /// + /// + /// + /// Specify the coordinates for the left and right vertical clipping planes. + /// + /// + /// + /// + /// Specify the coordinates for the bottom and top horizontal clipping planes. + /// + /// + /// + /// + /// Specify the distances to the near and far depth clipping planes. Both distances must be positive. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glFrustumf")] + public static + void Frustum(Single left, Single right, Single bottom, Single top, Single zNear, Single zFar) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFrustumf((Single)left, (Single)right, (Single)bottom, (Single)top, (Single)zNear, (Single)zFar); + #if DEBUG + } + #endif + } + + /// [requires: v1.0 and 1.0] + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glFrustumx")] + public static + void Frustumx(int left, int right, int bottom, int top, int zNear, int zFar) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFrustumx((int)left, (int)right, (int)bottom, (int)top, (int)zNear, (int)zFar); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Generate texture names + /// + /// + /// + /// Specifies the number of texture names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated texture names are stored. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glGenTextures")] + public static + void GenTextures(Int32 n, Int32[] textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* textures_ptr = textures) + { + Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Generate texture names + /// + /// + /// + /// Specifies the number of texture names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated texture names are stored. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glGenTextures")] + public static + void GenTextures(Int32 n, ref Int32 textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* textures_ptr = &textures) + { + Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Generate texture names + /// + /// + /// + /// Specifies the number of texture names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated texture names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glGenTextures")] + public static + unsafe void GenTextures(Int32 n, Int32* textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenTextures((Int32)n, (UInt32*)textures); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Generate texture names + /// + /// + /// + /// Specifies the number of texture names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated texture names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glGenTextures")] + public static + void GenTextures(Int32 n, UInt32[] textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* textures_ptr = textures) + { + Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Generate texture names + /// + /// + /// + /// Specifies the number of texture names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated texture names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glGenTextures")] + public static + void GenTextures(Int32 n, ref UInt32 textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* textures_ptr = &textures) + { + Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Generate texture names + /// + /// + /// + /// Specifies the number of texture names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated texture names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glGenTextures")] + public static + unsafe void GenTextures(Int32 n, UInt32* textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenTextures((Int32)n, (UInt32*)textures); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Return error information + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glGetError")] + public static + OpenTK.Graphics.ES10.All GetError() + { + return Delegates.glGetError(); + } + + /// [requires: v1.0 and 1.0] + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glGetIntegerv")] + public static + void GetInteger(OpenTK.Graphics.ES10.All pname, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetIntegerv((OpenTK.Graphics.ES10.All)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v1.0 and 1.0] + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glGetIntegerv")] + public static + void GetInteger(OpenTK.Graphics.ES10.All pname, ref Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetIntegerv((OpenTK.Graphics.ES10.All)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v1.0 and 1.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glGetIntegerv")] + public static + unsafe void GetInteger(OpenTK.Graphics.ES10.All pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetIntegerv((OpenTK.Graphics.ES10.All)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Return a string describing the current GL connection + /// + /// + /// + /// Specifies a symbolic constant, one of GL_VENDOR, GL_RENDERER, GL_VERSION, or GL_SHADING_LANGUAGE_VERSION. Additionally, glGetStringi accepts the GL_EXTENSIONS token. + /// + /// + /// + /// + /// For glGetStringi, specifies the index of the string to return. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glGetString")] + public static + unsafe System.String GetString(OpenTK.Graphics.ES10.All name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe { return new string((sbyte*)Delegates.glGetString((OpenTK.Graphics.ES10.All)name)); } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Specify implementation-specific hints + /// + /// + /// + /// Specifies a symbolic constant indicating the behavior to be controlled. GL_LINE_SMOOTH_HINT, GL_POLYGON_SMOOTH_HINT, GL_TEXTURE_COMPRESSION_HINT, and GL_FRAGMENT_SHADER_DERIVATIVE_HINT are accepted. + /// + /// + /// + /// + /// Specifies a symbolic constant indicating the desired behavior. GL_FASTEST, GL_NICEST, and GL_DONT_CARE are accepted. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glHint")] + public static + void Hint(OpenTK.Graphics.ES10.All target, OpenTK.Graphics.ES10.All mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glHint((OpenTK.Graphics.ES10.All)target, (OpenTK.Graphics.ES10.All)mode); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Set light source parameters + /// + /// + /// + /// Specifies a light. The number of lights depends on the implementation, but at least eight lights are supported. They are identified by symbolic names of the form GL_LIGHT , where i ranges from 0 to the value of GL_MAX_LIGHTS - 1. + /// + /// + /// + /// + /// Specifies a single-valued light source parameter for light. GL_SPOT_EXPONENT, GL_SPOT_CUTOFF, GL_CONSTANT_ATTENUATION, GL_LINEAR_ATTENUATION, and GL_QUADRATIC_ATTENUATION are accepted. + /// + /// + /// + /// + /// Specifies the value that parameter pname of light source light will be set to. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glLightf")] + public static + void Light(OpenTK.Graphics.ES10.All light, OpenTK.Graphics.ES10.All pname, Single param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLightf((OpenTK.Graphics.ES10.All)light, (OpenTK.Graphics.ES10.All)pname, (Single)param); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Set light source parameters + /// + /// + /// + /// Specifies a light. The number of lights depends on the implementation, but at least eight lights are supported. They are identified by symbolic names of the form GL_LIGHT , where i ranges from 0 to the value of GL_MAX_LIGHTS - 1. + /// + /// + /// + /// + /// Specifies a single-valued light source parameter for light. GL_SPOT_EXPONENT, GL_SPOT_CUTOFF, GL_CONSTANT_ATTENUATION, GL_LINEAR_ATTENUATION, and GL_QUADRATIC_ATTENUATION are accepted. + /// + /// + /// + /// + /// Specifies the value that parameter pname of light source light will be set to. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glLightfv")] + public static + void Light(OpenTK.Graphics.ES10.All light, OpenTK.Graphics.ES10.All pname, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glLightfv((OpenTK.Graphics.ES10.All)light, (OpenTK.Graphics.ES10.All)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Set light source parameters + /// + /// + /// + /// Specifies a light. The number of lights depends on the implementation, but at least eight lights are supported. They are identified by symbolic names of the form GL_LIGHT , where i ranges from 0 to the value of GL_MAX_LIGHTS - 1. + /// + /// + /// + /// + /// Specifies a single-valued light source parameter for light. GL_SPOT_EXPONENT, GL_SPOT_CUTOFF, GL_CONSTANT_ATTENUATION, GL_LINEAR_ATTENUATION, and GL_QUADRATIC_ATTENUATION are accepted. + /// + /// + /// + /// + /// Specifies the value that parameter pname of light source light will be set to. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glLightfv")] + public static + unsafe void Light(OpenTK.Graphics.ES10.All light, OpenTK.Graphics.ES10.All pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLightfv((OpenTK.Graphics.ES10.All)light, (OpenTK.Graphics.ES10.All)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Set the lighting model parameters + /// + /// + /// + /// Specifies a single-valued lighting model parameter. GL_LIGHT_MODEL_LOCAL_VIEWER, GL_LIGHT_MODEL_COLOR_CONTROL, and GL_LIGHT_MODEL_TWO_SIDE are accepted. + /// + /// + /// + /// + /// Specifies the value that param will be set to. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glLightModelf")] + public static + void LightModel(OpenTK.Graphics.ES10.All pname, Single param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLightModelf((OpenTK.Graphics.ES10.All)pname, (Single)param); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Set the lighting model parameters + /// + /// + /// + /// Specifies a single-valued lighting model parameter. GL_LIGHT_MODEL_LOCAL_VIEWER, GL_LIGHT_MODEL_COLOR_CONTROL, and GL_LIGHT_MODEL_TWO_SIDE are accepted. + /// + /// + /// + /// + /// Specifies the value that param will be set to. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glLightModelfv")] + public static + void LightModel(OpenTK.Graphics.ES10.All pname, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glLightModelfv((OpenTK.Graphics.ES10.All)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Set the lighting model parameters + /// + /// + /// + /// Specifies a single-valued lighting model parameter. GL_LIGHT_MODEL_LOCAL_VIEWER, GL_LIGHT_MODEL_COLOR_CONTROL, and GL_LIGHT_MODEL_TWO_SIDE are accepted. + /// + /// + /// + /// + /// Specifies the value that param will be set to. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glLightModelfv")] + public static + unsafe void LightModel(OpenTK.Graphics.ES10.All pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLightModelfv((OpenTK.Graphics.ES10.All)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: v1.0 and 1.0] + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glLightModelx")] + public static + void LightModelx(OpenTK.Graphics.ES10.All pname, int param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLightModelx((OpenTK.Graphics.ES10.All)pname, (int)param); + #if DEBUG + } + #endif + } + + /// [requires: v1.0 and 1.0] + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glLightModelxv")] + public static + void LightModelx(OpenTK.Graphics.ES10.All pname, int[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (int* @params_ptr = @params) + { + Delegates.glLightModelxv((OpenTK.Graphics.ES10.All)pname, (int*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v1.0 and 1.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glLightModelxv")] + public static + unsafe void LightModelx(OpenTK.Graphics.ES10.All pname, int* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLightModelxv((OpenTK.Graphics.ES10.All)pname, (int*)@params); + #if DEBUG + } + #endif + } + + /// [requires: v1.0 and 1.0] + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glLightx")] + public static + void Lightx(OpenTK.Graphics.ES10.All light, OpenTK.Graphics.ES10.All pname, int param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLightx((OpenTK.Graphics.ES10.All)light, (OpenTK.Graphics.ES10.All)pname, (int)param); + #if DEBUG + } + #endif + } + + /// [requires: v1.0 and 1.0] + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glLightxv")] + public static + void Lightx(OpenTK.Graphics.ES10.All light, OpenTK.Graphics.ES10.All pname, int[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (int* @params_ptr = @params) + { + Delegates.glLightxv((OpenTK.Graphics.ES10.All)light, (OpenTK.Graphics.ES10.All)pname, (int*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v1.0 and 1.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glLightxv")] + public static + unsafe void Lightx(OpenTK.Graphics.ES10.All light, OpenTK.Graphics.ES10.All pname, int* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLightxv((OpenTK.Graphics.ES10.All)light, (OpenTK.Graphics.ES10.All)pname, (int*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Specify the width of rasterized lines + /// + /// + /// + /// Specifies the width of rasterized lines. The initial value is 1. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glLineWidth")] + public static + void LineWidth(Single width) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLineWidth((Single)width); + #if DEBUG + } + #endif + } + + /// [requires: v1.0 and 1.0] + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glLineWidthx")] + public static + void LineWidthx(int width) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLineWidthx((int)width); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Replace the current matrix with the identity matrix + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glLoadIdentity")] + public static + void LoadIdentity() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLoadIdentity(); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Replace the current matrix with the specified matrix + /// + /// + /// + /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 column-major matrix. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glLoadMatrixf")] + public static + void LoadMatrix(Single[] m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* m_ptr = m) + { + Delegates.glLoadMatrixf((Single*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Replace the current matrix with the specified matrix + /// + /// + /// + /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 column-major matrix. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glLoadMatrixf")] + public static + void LoadMatrix(ref Single m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* m_ptr = &m) + { + Delegates.glLoadMatrixf((Single*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Replace the current matrix with the specified matrix + /// + /// + /// + /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 column-major matrix. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glLoadMatrixf")] + public static + unsafe void LoadMatrix(Single* m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLoadMatrixf((Single*)m); + #if DEBUG + } + #endif + } + + /// [requires: v1.0 and 1.0] + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glLoadMatrixx")] + public static + void LoadMatrixx(int[] m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (int* m_ptr = m) + { + Delegates.glLoadMatrixx((int*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v1.0 and 1.0] + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glLoadMatrixx")] + public static + void LoadMatrixx(ref int m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (int* m_ptr = &m) + { + Delegates.glLoadMatrixx((int*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v1.0 and 1.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glLoadMatrixx")] + public static + unsafe void LoadMatrixx(int* m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLoadMatrixx((int*)m); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Specify a logical pixel operation for rendering + /// + /// + /// + /// Specifies a symbolic constant that selects a logical operation. The following symbols are accepted: GL_CLEAR, GL_SET, GL_COPY, GL_COPY_INVERTED, GL_NOOP, GL_INVERT, GL_AND, GL_NAND, GL_OR, GL_NOR, GL_XOR, GL_EQUIV, GL_AND_REVERSE, GL_AND_INVERTED, GL_OR_REVERSE, and GL_OR_INVERTED. The initial value is GL_COPY. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glLogicOp")] + public static + void LogicOp(OpenTK.Graphics.ES10.All opcode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLogicOp((OpenTK.Graphics.ES10.All)opcode); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Specify material parameters for the lighting model + /// + /// + /// + /// Specifies which face or faces are being updated. Must be one of GL_FRONT, GL_BACK, or GL_FRONT_AND_BACK. + /// + /// + /// + /// + /// Specifies the single-valued material parameter of the face or faces that is being updated. Must be GL_SHININESS. + /// + /// + /// + /// + /// Specifies the value that parameter GL_SHININESS will be set to. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glMaterialf")] + public static + void Material(OpenTK.Graphics.ES10.All face, OpenTK.Graphics.ES10.All pname, Single param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMaterialf((OpenTK.Graphics.ES10.All)face, (OpenTK.Graphics.ES10.All)pname, (Single)param); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Specify material parameters for the lighting model + /// + /// + /// + /// Specifies which face or faces are being updated. Must be one of GL_FRONT, GL_BACK, or GL_FRONT_AND_BACK. + /// + /// + /// + /// + /// Specifies the single-valued material parameter of the face or faces that is being updated. Must be GL_SHININESS. + /// + /// + /// + /// + /// Specifies the value that parameter GL_SHININESS will be set to. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glMaterialfv")] + public static + void Material(OpenTK.Graphics.ES10.All face, OpenTK.Graphics.ES10.All pname, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glMaterialfv((OpenTK.Graphics.ES10.All)face, (OpenTK.Graphics.ES10.All)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Specify material parameters for the lighting model + /// + /// + /// + /// Specifies which face or faces are being updated. Must be one of GL_FRONT, GL_BACK, or GL_FRONT_AND_BACK. + /// + /// + /// + /// + /// Specifies the single-valued material parameter of the face or faces that is being updated. Must be GL_SHININESS. + /// + /// + /// + /// + /// Specifies the value that parameter GL_SHININESS will be set to. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glMaterialfv")] + public static + unsafe void Material(OpenTK.Graphics.ES10.All face, OpenTK.Graphics.ES10.All pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMaterialfv((OpenTK.Graphics.ES10.All)face, (OpenTK.Graphics.ES10.All)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: v1.0 and 1.0] + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glMaterialx")] + public static + void Materialx(OpenTK.Graphics.ES10.All face, OpenTK.Graphics.ES10.All pname, int param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMaterialx((OpenTK.Graphics.ES10.All)face, (OpenTK.Graphics.ES10.All)pname, (int)param); + #if DEBUG + } + #endif + } + + /// [requires: v1.0 and 1.0] + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glMaterialxv")] + public static + void Materialx(OpenTK.Graphics.ES10.All face, OpenTK.Graphics.ES10.All pname, int[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (int* @params_ptr = @params) + { + Delegates.glMaterialxv((OpenTK.Graphics.ES10.All)face, (OpenTK.Graphics.ES10.All)pname, (int*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v1.0 and 1.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glMaterialxv")] + public static + unsafe void Materialx(OpenTK.Graphics.ES10.All face, OpenTK.Graphics.ES10.All pname, int* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMaterialxv((OpenTK.Graphics.ES10.All)face, (OpenTK.Graphics.ES10.All)pname, (int*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Specify which matrix is the current matrix + /// + /// + /// + /// Specifies which matrix stack is the target for subsequent matrix operations. Three values are accepted: GL_MODELVIEW, GL_PROJECTION, and GL_TEXTURE. The initial value is GL_MODELVIEW. Additionally, if the ARB_imaging extension is supported, GL_COLOR is also accepted. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glMatrixMode")] + public static + void MatrixMode(OpenTK.Graphics.ES10.All mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMatrixMode((OpenTK.Graphics.ES10.All)mode); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// 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 = "1.0", Version = "1.0", EntryPoint = "glMultiTexCoord4f")] + public static + void MultiTexCoord4(OpenTK.Graphics.ES10.All target, Single s, Single t, Single r, Single q) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord4f((OpenTK.Graphics.ES10.All)target, (Single)s, (Single)t, (Single)r, (Single)q); + #if DEBUG + } + #endif + } + + /// [requires: v1.0 and 1.0] + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glMultiTexCoord4x")] + public static + void MultiTexCoord4x(OpenTK.Graphics.ES10.All target, int s, int t, int r, int q) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord4x((OpenTK.Graphics.ES10.All)target, (int)s, (int)t, (int)r, (int)q); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Multiply the current matrix with the specified matrix + /// + /// + /// + /// Points to 16 consecutive values that are used as the elements of a 4 times 4 column-major matrix. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glMultMatrixf")] + public static + void MultMatrix(Single[] m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* m_ptr = m) + { + Delegates.glMultMatrixf((Single*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Multiply the current matrix with the specified matrix + /// + /// + /// + /// Points to 16 consecutive values that are used as the elements of a 4 times 4 column-major matrix. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glMultMatrixf")] + public static + void MultMatrix(ref Single m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* m_ptr = &m) + { + Delegates.glMultMatrixf((Single*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Multiply the current matrix with the specified matrix + /// + /// + /// + /// Points to 16 consecutive values that are used as the elements of a 4 times 4 column-major matrix. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glMultMatrixf")] + public static + unsafe void MultMatrix(Single* m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultMatrixf((Single*)m); + #if DEBUG + } + #endif + } + + /// [requires: v1.0 and 1.0] + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glMultMatrixx")] + public static + void MultMatrixx(int[] m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (int* m_ptr = m) + { + Delegates.glMultMatrixx((int*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v1.0 and 1.0] + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glMultMatrixx")] + public static + void MultMatrixx(ref int m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (int* m_ptr = &m) + { + Delegates.glMultMatrixx((int*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v1.0 and 1.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glMultMatrixx")] + public static + unsafe void MultMatrixx(int* m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultMatrixx((int*)m); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Set the current normal vector + /// + /// + /// + /// Specify the , , and coordinates of the new current normal. The initial value of the current normal is the unit vector, (0, 0, 1). + /// + /// + /// + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glNormal3f")] + public static + void Normal3(Single nx, Single ny, Single nz) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormal3f((Single)nx, (Single)ny, (Single)nz); + #if DEBUG + } + #endif + } + + /// [requires: v1.0 and 1.0] + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glNormal3x")] + public static + void Normal3x(int nx, int ny, int nz) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormal3x((int)nx, (int)ny, (int)nz); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Define an array of normals + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glNormalPointer")] + public static + void NormalPointer(OpenTK.Graphics.ES10.All type, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormalPointer((OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Define an array of normals + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glNormalPointer")] + public static + void NormalPointer(OpenTK.Graphics.ES10.All type, Int32 stride, [InAttribute, OutAttribute] T2[] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glNormalPointer((OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Define an array of normals + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glNormalPointer")] + public static + void NormalPointer(OpenTK.Graphics.ES10.All type, Int32 stride, [InAttribute, OutAttribute] T2[,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glNormalPointer((OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Define an array of normals + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glNormalPointer")] + public static + void NormalPointer(OpenTK.Graphics.ES10.All type, Int32 stride, [InAttribute, OutAttribute] T2[,,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glNormalPointer((OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Define an array of normals + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glNormalPointer")] + public static + void NormalPointer(OpenTK.Graphics.ES10.All type, Int32 stride, [InAttribute, OutAttribute] ref T2 pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glNormalPointer((OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + pointer = (T2)pointer_ptr.Target; + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Multiply the current matrix with an orthographic matrix + /// + /// + /// + /// Specify the coordinates for the left and right vertical clipping planes. + /// + /// + /// + /// + /// Specify the coordinates for the bottom and top horizontal clipping planes. + /// + /// + /// + /// + /// Specify the distances to the nearer and farther depth clipping planes. These values are negative if the plane is to be behind the viewer. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glOrthof")] + public static + void Ortho(Single left, Single right, Single bottom, Single top, Single zNear, Single zFar) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glOrthof((Single)left, (Single)right, (Single)bottom, (Single)top, (Single)zNear, (Single)zFar); + #if DEBUG + } + #endif + } + + /// [requires: v1.0 and 1.0] + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glOrthox")] + public static + void Orthox(int left, int right, int bottom, int top, int zNear, int zFar) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glOrthox((int)left, (int)right, (int)bottom, (int)top, (int)zNear, (int)zFar); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Set pixel storage modes + /// + /// + /// + /// Specifies the symbolic name of the parameter to be set. Six values affect the packing of pixel data into memory: GL_PACK_SWAP_BYTES, GL_PACK_LSB_FIRST, GL_PACK_ROW_LENGTH, GL_PACK_IMAGE_HEIGHT, GL_PACK_SKIP_PIXELS, GL_PACK_SKIP_ROWS, GL_PACK_SKIP_IMAGES, and GL_PACK_ALIGNMENT. Six more affect the unpacking of pixel data from memory: GL_UNPACK_SWAP_BYTES, GL_UNPACK_LSB_FIRST, GL_UNPACK_ROW_LENGTH, GL_UNPACK_IMAGE_HEIGHT, GL_UNPACK_SKIP_PIXELS, GL_UNPACK_SKIP_ROWS, GL_UNPACK_SKIP_IMAGES, and GL_UNPACK_ALIGNMENT. + /// + /// + /// + /// + /// Specifies the value that pname is set to. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glPixelStorei")] + public static + void PixelStore(OpenTK.Graphics.ES10.All pname, Int32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPixelStorei((OpenTK.Graphics.ES10.All)pname, (Int32)param); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Specify the diameter of rasterized points + /// + /// + /// + /// Specifies the diameter of rasterized points. The initial value is 1. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glPointSize")] + public static + void PointSize(Single size) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPointSize((Single)size); + #if DEBUG + } + #endif + } + + /// [requires: v1.0 and 1.0] + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glPointSizex")] + public static + void PointSizex(int size) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPointSizex((int)size); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Set the scale and units used to calculate depth values + /// + /// + /// + /// Specifies a scale factor that is used to create a variable depth offset for each polygon. The initial value is 0. + /// + /// + /// + /// + /// Is multiplied by an implementation-specific value to create a constant depth offset. The initial value is 0. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glPolygonOffset")] + public static + void PolygonOffset(Single factor, Single units) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPolygonOffset((Single)factor, (Single)units); + #if DEBUG + } + #endif + } + + /// [requires: v1.0 and 1.0] + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glPolygonOffsetx")] + public static + void PolygonOffsetx(int factor, int units) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPolygonOffsetx((int)factor, (int)units); + #if DEBUG + } + #endif + } + + /// [requires: v1.0 and 1.0] + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glPopMatrix")] + public static + void PopMatrix() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPopMatrix(); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Push and pop the current matrix stack + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glPushMatrix")] + public static + void PushMatrix() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPushMatrix(); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Read a block of pixels from the frame buffer + /// + /// + /// + /// Specify the window coordinates of the first pixel that is read from the frame buffer. This location is the lower left corner of a rectangular block of pixels. + /// + /// + /// + /// + /// Specify the dimensions of the pixel rectangle. width and height of one correspond to a single pixel. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_DEPTH_STENCIL, GL_RED, GL_GREEN, GL_BLUE, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. Must be one of GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_HALF_FLOAT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, GL_UNSIGNED_INT_2_10_10_10_REV, GL_UNSIGNED_INT_24_8, GL_UNSIGNED_INT_10F_11F_11F_REV, GL_UNSIGNED_INT_5_9_9_9_REV, or GL_FLOAT_32_UNSIGNED_INT_24_8_REV. + /// + /// + /// + /// + /// Returns the pixel data. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glReadPixels")] + public static + void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES10.All format, OpenTK.Graphics.ES10.All type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES10.All)format, (OpenTK.Graphics.ES10.All)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Read a block of pixels from the frame buffer + /// + /// + /// + /// Specify the window coordinates of the first pixel that is read from the frame buffer. This location is the lower left corner of a rectangular block of pixels. + /// + /// + /// + /// + /// Specify the dimensions of the pixel rectangle. width and height of one correspond to a single pixel. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_DEPTH_STENCIL, GL_RED, GL_GREEN, GL_BLUE, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. Must be one of GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_HALF_FLOAT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, GL_UNSIGNED_INT_2_10_10_10_REV, GL_UNSIGNED_INT_24_8, GL_UNSIGNED_INT_10F_11F_11F_REV, GL_UNSIGNED_INT_5_9_9_9_REV, or GL_FLOAT_32_UNSIGNED_INT_24_8_REV. + /// + /// + /// + /// + /// Returns the pixel data. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glReadPixels")] + public static + void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES10.All format, OpenTK.Graphics.ES10.All type, [InAttribute, OutAttribute] T6[] pixels) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES10.All)format, (OpenTK.Graphics.ES10.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Read a block of pixels from the frame buffer + /// + /// + /// + /// Specify the window coordinates of the first pixel that is read from the frame buffer. This location is the lower left corner of a rectangular block of pixels. + /// + /// + /// + /// + /// Specify the dimensions of the pixel rectangle. width and height of one correspond to a single pixel. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_DEPTH_STENCIL, GL_RED, GL_GREEN, GL_BLUE, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. Must be one of GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_HALF_FLOAT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, GL_UNSIGNED_INT_2_10_10_10_REV, GL_UNSIGNED_INT_24_8, GL_UNSIGNED_INT_10F_11F_11F_REV, GL_UNSIGNED_INT_5_9_9_9_REV, or GL_FLOAT_32_UNSIGNED_INT_24_8_REV. + /// + /// + /// + /// + /// Returns the pixel data. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glReadPixels")] + public static + void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES10.All format, OpenTK.Graphics.ES10.All type, [InAttribute, OutAttribute] T6[,] pixels) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES10.All)format, (OpenTK.Graphics.ES10.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Read a block of pixels from the frame buffer + /// + /// + /// + /// Specify the window coordinates of the first pixel that is read from the frame buffer. This location is the lower left corner of a rectangular block of pixels. + /// + /// + /// + /// + /// Specify the dimensions of the pixel rectangle. width and height of one correspond to a single pixel. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_DEPTH_STENCIL, GL_RED, GL_GREEN, GL_BLUE, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. Must be one of GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_HALF_FLOAT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, GL_UNSIGNED_INT_2_10_10_10_REV, GL_UNSIGNED_INT_24_8, GL_UNSIGNED_INT_10F_11F_11F_REV, GL_UNSIGNED_INT_5_9_9_9_REV, or GL_FLOAT_32_UNSIGNED_INT_24_8_REV. + /// + /// + /// + /// + /// Returns the pixel data. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glReadPixels")] + public static + void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES10.All format, OpenTK.Graphics.ES10.All type, [InAttribute, OutAttribute] T6[,,] pixels) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES10.All)format, (OpenTK.Graphics.ES10.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Read a block of pixels from the frame buffer + /// + /// + /// + /// Specify the window coordinates of the first pixel that is read from the frame buffer. This location is the lower left corner of a rectangular block of pixels. + /// + /// + /// + /// + /// Specify the dimensions of the pixel rectangle. width and height of one correspond to a single pixel. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_DEPTH_STENCIL, GL_RED, GL_GREEN, GL_BLUE, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. Must be one of GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_HALF_FLOAT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, GL_UNSIGNED_INT_2_10_10_10_REV, GL_UNSIGNED_INT_24_8, GL_UNSIGNED_INT_10F_11F_11F_REV, GL_UNSIGNED_INT_5_9_9_9_REV, or GL_FLOAT_32_UNSIGNED_INT_24_8_REV. + /// + /// + /// + /// + /// Returns the pixel data. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glReadPixels")] + public static + void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES10.All format, OpenTK.Graphics.ES10.All type, [InAttribute, OutAttribute] ref T6 pixels) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES10.All)format, (OpenTK.Graphics.ES10.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + pixels = (T6)pixels_ptr.Target; + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Multiply the current matrix by a rotation matrix + /// + /// + /// + /// Specifies the angle of rotation, in degrees. + /// + /// + /// + /// + /// Specify the x, y, and z coordinates of a vector, respectively. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glRotatef")] + public static + void Rotate(Single angle, Single x, Single y, Single z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glRotatef((Single)angle, (Single)x, (Single)y, (Single)z); + #if DEBUG + } + #endif + } + + /// [requires: v1.0 and 1.0] + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glRotatex")] + public static + void Rotatex(int angle, int x, int y, int z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glRotatex((int)angle, (int)x, (int)y, (int)z); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Specify multisample coverage parameters + /// + /// + /// + /// Specify a single floating-point sample coverage value. The value is clamped to the range [0 ,1]. The initial value is 1.0. + /// + /// + /// + /// + /// 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 = "1.0", Version = "1.0", EntryPoint = "glSampleCoverage")] + public static + void SampleCoverage(Single value, bool invert) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSampleCoverage((Single)value, (bool)invert); + #if DEBUG + } + #endif + } + + /// [requires: v1.0 and 1.0] + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glSampleCoveragex")] + public static + void SampleCoveragex(int value, bool invert) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSampleCoveragex((int)value, (bool)invert); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Multiply the current matrix by a general scaling matrix + /// + /// + /// + /// Specify scale factors along the x, y, and z axes, respectively. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glScalef")] + public static + void Scale(Single x, Single y, Single z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glScalef((Single)x, (Single)y, (Single)z); + #if DEBUG + } + #endif + } + + /// [requires: v1.0 and 1.0] + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glScalex")] + public static + void Scalex(int x, int y, int z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glScalex((int)x, (int)y, (int)z); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Define the scissor box + /// + /// + /// + /// Specify the lower left corner of the scissor box. Initially (0, 0). + /// + /// + /// + /// + /// Specify the width and height of the scissor box. When a GL context is first attached to a window, width and height are set to the dimensions of that window. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glScissor")] + public static + void Scissor(Int32 x, Int32 y, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glScissor((Int32)x, (Int32)y, (Int32)width, (Int32)height); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Select flat or smooth shading + /// + /// + /// + /// Specifies a symbolic value representing a shading technique. Accepted values are GL_FLAT and GL_SMOOTH. The initial value is GL_SMOOTH. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glShadeModel")] + public static + void ShadeModel(OpenTK.Graphics.ES10.All mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glShadeModel((OpenTK.Graphics.ES10.All)mode); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Set front and back function and reference value for stencil testing + /// + /// + /// + /// Specifies the test function. Eight symbolic constants are valid: GL_NEVER, GL_LESS, GL_LEQUAL, GL_GREATER, GL_GEQUAL, GL_EQUAL, GL_NOTEQUAL, and GL_ALWAYS. The initial value is GL_ALWAYS. + /// + /// + /// + /// + /// Specifies the reference value for the stencil test. ref is clamped to the range [0, 2 sup n - 1], where is the number of bitplanes in the stencil buffer. The initial value is 0. + /// + /// + /// + /// + /// Specifies a mask that is ANDed with both the reference value and the stored stencil value when the test is done. The initial value is all 1's. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glStencilFunc")] + public static + void StencilFunc(OpenTK.Graphics.ES10.All func, Int32 @ref, Int32 mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glStencilFunc((OpenTK.Graphics.ES10.All)func, (Int32)@ref, (UInt32)mask); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Set front and back function and reference value for stencil testing + /// + /// + /// + /// Specifies the test function. Eight symbolic constants are valid: GL_NEVER, GL_LESS, GL_LEQUAL, GL_GREATER, GL_GEQUAL, GL_EQUAL, GL_NOTEQUAL, and GL_ALWAYS. The initial value is GL_ALWAYS. + /// + /// + /// + /// + /// Specifies the reference value for the stencil test. ref is clamped to the range [0, 2 sup n - 1], where is the number of bitplanes in the stencil buffer. The initial value is 0. + /// + /// + /// + /// + /// Specifies a mask that is ANDed with both the reference value and the stored stencil value when the test is done. The initial value is all 1's. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glStencilFunc")] + public static + void StencilFunc(OpenTK.Graphics.ES10.All func, Int32 @ref, UInt32 mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glStencilFunc((OpenTK.Graphics.ES10.All)func, (Int32)@ref, (UInt32)mask); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Control the front and back writing of individual bits in the stencil planes + /// + /// + /// + /// Specifies a bit mask to enable and disable writing of individual bits in the stencil planes. Initially, the mask is all 1's. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glStencilMask")] + public static + void StencilMask(Int32 mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glStencilMask((UInt32)mask); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Control the front and back writing of individual bits in the stencil planes + /// + /// + /// + /// Specifies a bit mask to enable and disable writing of individual bits in the stencil planes. Initially, the mask is all 1's. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glStencilMask")] + public static + void StencilMask(UInt32 mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glStencilMask((UInt32)mask); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Set front and back stencil test actions + /// + /// + /// + /// Specifies the action to take when the stencil test fails. Eight symbolic constants are accepted: GL_KEEP, GL_ZERO, GL_REPLACE, GL_INCR, GL_INCR_WRAP, GL_DECR, GL_DECR_WRAP, and GL_INVERT. The initial value is GL_KEEP. + /// + /// + /// + /// + /// Specifies the stencil action when the stencil test passes, but the depth test fails. dpfail accepts the same symbolic constants as sfail. The initial value is GL_KEEP. + /// + /// + /// + /// + /// 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 = "1.0", Version = "1.0", EntryPoint = "glStencilOp")] + public static + void StencilOp(OpenTK.Graphics.ES10.All fail, OpenTK.Graphics.ES10.All zfail, OpenTK.Graphics.ES10.All zpass) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glStencilOp((OpenTK.Graphics.ES10.All)fail, (OpenTK.Graphics.ES10.All)zfail, (OpenTK.Graphics.ES10.All)zpass); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Define an array of texture coordinates + /// + /// + /// + /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glTexCoordPointer")] + public static + void TexCoordPointer(Int32 size, OpenTK.Graphics.ES10.All type, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoordPointer((Int32)size, (OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Define an array of texture coordinates + /// + /// + /// + /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glTexCoordPointer")] + public static + void TexCoordPointer(Int32 size, OpenTK.Graphics.ES10.All type, Int32 stride, [InAttribute, OutAttribute] T3[] pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glTexCoordPointer((Int32)size, (OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Define an array of texture coordinates + /// + /// + /// + /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glTexCoordPointer")] + public static + void TexCoordPointer(Int32 size, OpenTK.Graphics.ES10.All type, Int32 stride, [InAttribute, OutAttribute] T3[,] pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glTexCoordPointer((Int32)size, (OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Define an array of texture coordinates + /// + /// + /// + /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glTexCoordPointer")] + public static + void TexCoordPointer(Int32 size, OpenTK.Graphics.ES10.All type, Int32 stride, [InAttribute, OutAttribute] T3[,,] pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glTexCoordPointer((Int32)size, (OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Define an array of texture coordinates + /// + /// + /// + /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glTexCoordPointer")] + public static + void TexCoordPointer(Int32 size, OpenTK.Graphics.ES10.All type, Int32 stride, [InAttribute, OutAttribute] ref T3 pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glTexCoordPointer((Int32)size, (OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + pointer = (T3)pointer_ptr.Target; + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Set texture environment parameters + /// + /// + /// + /// Specifies a texture environment. May be GL_TEXTURE_ENV, GL_TEXTURE_FILTER_CONTROL or GL_POINT_SPRITE. + /// + /// + /// + /// + /// Specifies the symbolic name of a single-valued texture environment parameter. May be either GL_TEXTURE_ENV_MODE, GL_TEXTURE_LOD_BIAS, GL_COMBINE_RGB, GL_COMBINE_ALPHA, GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, GL_SRC0_ALPHA, GL_SRC1_ALPHA, GL_SRC2_ALPHA, GL_OPERAND0_RGB, GL_OPERAND1_RGB, GL_OPERAND2_RGB, GL_OPERAND0_ALPHA, GL_OPERAND1_ALPHA, GL_OPERAND2_ALPHA, GL_RGB_SCALE, GL_ALPHA_SCALE, or GL_COORD_REPLACE. + /// + /// + /// + /// + /// Specifies a single symbolic constant, one of GL_ADD, GL_ADD_SIGNED, GL_INTERPOLATE, GL_MODULATE, GL_DECAL, GL_BLEND, GL_REPLACE, GL_SUBTRACT, GL_COMBINE, GL_TEXTURE, GL_CONSTANT, GL_PRIMARY_COLOR, GL_PREVIOUS, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, a single boolean value for the point sprite texture coordinate replacement, a single floating-point value for the texture level-of-detail bias, or 1.0, 2.0, or 4.0 when specifying the GL_RGB_SCALE or GL_ALPHA_SCALE. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glTexEnvf")] + public static + void TexEnv(OpenTK.Graphics.ES10.All target, OpenTK.Graphics.ES10.All pname, Single param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexEnvf((OpenTK.Graphics.ES10.All)target, (OpenTK.Graphics.ES10.All)pname, (Single)param); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Set texture environment parameters + /// + /// + /// + /// Specifies a texture environment. May be GL_TEXTURE_ENV, GL_TEXTURE_FILTER_CONTROL or GL_POINT_SPRITE. + /// + /// + /// + /// + /// Specifies the symbolic name of a single-valued texture environment parameter. May be either GL_TEXTURE_ENV_MODE, GL_TEXTURE_LOD_BIAS, GL_COMBINE_RGB, GL_COMBINE_ALPHA, GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, GL_SRC0_ALPHA, GL_SRC1_ALPHA, GL_SRC2_ALPHA, GL_OPERAND0_RGB, GL_OPERAND1_RGB, GL_OPERAND2_RGB, GL_OPERAND0_ALPHA, GL_OPERAND1_ALPHA, GL_OPERAND2_ALPHA, GL_RGB_SCALE, GL_ALPHA_SCALE, or GL_COORD_REPLACE. + /// + /// + /// + /// + /// Specifies a single symbolic constant, one of GL_ADD, GL_ADD_SIGNED, GL_INTERPOLATE, GL_MODULATE, GL_DECAL, GL_BLEND, GL_REPLACE, GL_SUBTRACT, GL_COMBINE, GL_TEXTURE, GL_CONSTANT, GL_PRIMARY_COLOR, GL_PREVIOUS, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, a single boolean value for the point sprite texture coordinate replacement, a single floating-point value for the texture level-of-detail bias, or 1.0, 2.0, or 4.0 when specifying the GL_RGB_SCALE or GL_ALPHA_SCALE. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glTexEnvfv")] + public static + void TexEnv(OpenTK.Graphics.ES10.All target, OpenTK.Graphics.ES10.All pname, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glTexEnvfv((OpenTK.Graphics.ES10.All)target, (OpenTK.Graphics.ES10.All)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Set texture environment parameters + /// + /// + /// + /// Specifies a texture environment. May be GL_TEXTURE_ENV, GL_TEXTURE_FILTER_CONTROL or GL_POINT_SPRITE. + /// + /// + /// + /// + /// Specifies the symbolic name of a single-valued texture environment parameter. May be either GL_TEXTURE_ENV_MODE, GL_TEXTURE_LOD_BIAS, GL_COMBINE_RGB, GL_COMBINE_ALPHA, GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, GL_SRC0_ALPHA, GL_SRC1_ALPHA, GL_SRC2_ALPHA, GL_OPERAND0_RGB, GL_OPERAND1_RGB, GL_OPERAND2_RGB, GL_OPERAND0_ALPHA, GL_OPERAND1_ALPHA, GL_OPERAND2_ALPHA, GL_RGB_SCALE, GL_ALPHA_SCALE, or GL_COORD_REPLACE. + /// + /// + /// + /// + /// Specifies a single symbolic constant, one of GL_ADD, GL_ADD_SIGNED, GL_INTERPOLATE, GL_MODULATE, GL_DECAL, GL_BLEND, GL_REPLACE, GL_SUBTRACT, GL_COMBINE, GL_TEXTURE, GL_CONSTANT, GL_PRIMARY_COLOR, GL_PREVIOUS, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, a single boolean value for the point sprite texture coordinate replacement, a single floating-point value for the texture level-of-detail bias, or 1.0, 2.0, or 4.0 when specifying the GL_RGB_SCALE or GL_ALPHA_SCALE. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glTexEnvfv")] + public static + unsafe void TexEnv(OpenTK.Graphics.ES10.All target, OpenTK.Graphics.ES10.All pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexEnvfv((OpenTK.Graphics.ES10.All)target, (OpenTK.Graphics.ES10.All)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: v1.0 and 1.0] + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glTexEnvx")] + public static + void TexEnvx(OpenTK.Graphics.ES10.All target, OpenTK.Graphics.ES10.All pname, int param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexEnvx((OpenTK.Graphics.ES10.All)target, (OpenTK.Graphics.ES10.All)pname, (int)param); + #if DEBUG + } + #endif + } + + /// [requires: v1.0 and 1.0] + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glTexEnvxv")] + public static + void TexEnvx(OpenTK.Graphics.ES10.All target, OpenTK.Graphics.ES10.All pname, int[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (int* @params_ptr = @params) + { + Delegates.glTexEnvxv((OpenTK.Graphics.ES10.All)target, (OpenTK.Graphics.ES10.All)pname, (int*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v1.0 and 1.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glTexEnvxv")] + public static + unsafe void TexEnvx(OpenTK.Graphics.ES10.All target, OpenTK.Graphics.ES10.All pname, int* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexEnvxv((OpenTK.Graphics.ES10.All)target, (OpenTK.Graphics.ES10.All)pname, (int*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Specify a two-dimensional texture image + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, GL_TEXTURE_RECTANGLE, GL_PROXY_TEXTURE_RECTANGLE, 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. If target is GL_TEXTURE_RECTANGLE or GL_PROXY_TEXTURE_RECTANGLE, level must be 0. + /// + /// + /// + /// + /// Specifies the number of color components in the texture. Must be one of the following symbolic constants: GL_COMPRESSED_RED, GL_COMPRESSED_RG, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_COMPRESSED_SRGB, GL_COMPRESSED_SRGB_ALPHA, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_R3_G3_B2, GL_RED, GL_RG, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. + /// + /// + /// + /// + /// Specifies the width of the texture image. All implementations support texture images that are at least 1024 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image, or the number of layers in a texture array, in the case of the GL_TEXTURE_1D_ARRAY and GL_PROXY_TEXTURE_1D_ARRAY targets. All implementations support 2D texture images that are at least 1024 texels high, and texture arrays that are at least 256 layers deep. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glTexImage2D")] + public static + void TexImage2D(OpenTK.Graphics.ES10.All target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES10.All format, OpenTK.Graphics.ES10.All type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES10.All)format, (OpenTK.Graphics.ES10.All)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Specify a two-dimensional texture image + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, GL_TEXTURE_RECTANGLE, GL_PROXY_TEXTURE_RECTANGLE, 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. If target is GL_TEXTURE_RECTANGLE or GL_PROXY_TEXTURE_RECTANGLE, level must be 0. + /// + /// + /// + /// + /// Specifies the number of color components in the texture. Must be one of the following symbolic constants: GL_COMPRESSED_RED, GL_COMPRESSED_RG, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_COMPRESSED_SRGB, GL_COMPRESSED_SRGB_ALPHA, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_R3_G3_B2, GL_RED, GL_RG, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. + /// + /// + /// + /// + /// Specifies the width of the texture image. All implementations support texture images that are at least 1024 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image, or the number of layers in a texture array, in the case of the GL_TEXTURE_1D_ARRAY and GL_PROXY_TEXTURE_1D_ARRAY targets. All implementations support 2D texture images that are at least 1024 texels high, and texture arrays that are at least 256 layers deep. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glTexImage2D")] + public static + void TexImage2D(OpenTK.Graphics.ES10.All target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES10.All format, OpenTK.Graphics.ES10.All type, [InAttribute, OutAttribute] T8[] pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES10.All)format, (OpenTK.Graphics.ES10.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Specify a two-dimensional texture image + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, GL_TEXTURE_RECTANGLE, GL_PROXY_TEXTURE_RECTANGLE, 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. If target is GL_TEXTURE_RECTANGLE or GL_PROXY_TEXTURE_RECTANGLE, level must be 0. + /// + /// + /// + /// + /// Specifies the number of color components in the texture. Must be one of the following symbolic constants: GL_COMPRESSED_RED, GL_COMPRESSED_RG, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_COMPRESSED_SRGB, GL_COMPRESSED_SRGB_ALPHA, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_R3_G3_B2, GL_RED, GL_RG, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. + /// + /// + /// + /// + /// Specifies the width of the texture image. All implementations support texture images that are at least 1024 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image, or the number of layers in a texture array, in the case of the GL_TEXTURE_1D_ARRAY and GL_PROXY_TEXTURE_1D_ARRAY targets. All implementations support 2D texture images that are at least 1024 texels high, and texture arrays that are at least 256 layers deep. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glTexImage2D")] + public static + void TexImage2D(OpenTK.Graphics.ES10.All target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES10.All format, OpenTK.Graphics.ES10.All type, [InAttribute, OutAttribute] T8[,] pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES10.All)format, (OpenTK.Graphics.ES10.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Specify a two-dimensional texture image + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, GL_TEXTURE_RECTANGLE, GL_PROXY_TEXTURE_RECTANGLE, 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. If target is GL_TEXTURE_RECTANGLE or GL_PROXY_TEXTURE_RECTANGLE, level must be 0. + /// + /// + /// + /// + /// Specifies the number of color components in the texture. Must be one of the following symbolic constants: GL_COMPRESSED_RED, GL_COMPRESSED_RG, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_COMPRESSED_SRGB, GL_COMPRESSED_SRGB_ALPHA, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_R3_G3_B2, GL_RED, GL_RG, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. + /// + /// + /// + /// + /// Specifies the width of the texture image. All implementations support texture images that are at least 1024 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image, or the number of layers in a texture array, in the case of the GL_TEXTURE_1D_ARRAY and GL_PROXY_TEXTURE_1D_ARRAY targets. All implementations support 2D texture images that are at least 1024 texels high, and texture arrays that are at least 256 layers deep. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glTexImage2D")] + public static + void TexImage2D(OpenTK.Graphics.ES10.All target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES10.All format, OpenTK.Graphics.ES10.All type, [InAttribute, OutAttribute] T8[,,] pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES10.All)format, (OpenTK.Graphics.ES10.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Specify a two-dimensional texture image + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, GL_TEXTURE_RECTANGLE, GL_PROXY_TEXTURE_RECTANGLE, 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. If target is GL_TEXTURE_RECTANGLE or GL_PROXY_TEXTURE_RECTANGLE, level must be 0. + /// + /// + /// + /// + /// Specifies the number of color components in the texture. Must be one of the following symbolic constants: GL_COMPRESSED_RED, GL_COMPRESSED_RG, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_COMPRESSED_SRGB, GL_COMPRESSED_SRGB_ALPHA, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_R3_G3_B2, GL_RED, GL_RG, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. + /// + /// + /// + /// + /// Specifies the width of the texture image. All implementations support texture images that are at least 1024 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image, or the number of layers in a texture array, in the case of the GL_TEXTURE_1D_ARRAY and GL_PROXY_TEXTURE_1D_ARRAY targets. All implementations support 2D texture images that are at least 1024 texels high, and texture arrays that are at least 256 layers deep. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glTexImage2D")] + public static + void TexImage2D(OpenTK.Graphics.ES10.All target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES10.All format, OpenTK.Graphics.ES10.All type, [InAttribute, OutAttribute] ref T8 pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES10.All)format, (OpenTK.Graphics.ES10.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + pixels = (T8)pixels_ptr.Target; + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Set texture parameters + /// + /// + /// + /// Specifies the target texture, which must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, or GL_TEXTURE_CUBE_MAP. + /// + /// + /// + /// + /// Specifies the symbolic name of a single-valued texture parameter. pname can be one of the following: GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, or GL_TEXTURE_WRAP_R. + /// + /// + /// + /// + /// Specifies the value of pname. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glTexParameterf")] + public static + void TexParameter(OpenTK.Graphics.ES10.All target, OpenTK.Graphics.ES10.All pname, Single param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexParameterf((OpenTK.Graphics.ES10.All)target, (OpenTK.Graphics.ES10.All)pname, (Single)param); + #if DEBUG + } + #endif + } + + /// [requires: v1.0 and 1.0] + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glTexParameterx")] + public static + void TexParameterx(OpenTK.Graphics.ES10.All target, OpenTK.Graphics.ES10.All pname, int param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexParameterx((OpenTK.Graphics.ES10.All)target, (OpenTK.Graphics.ES10.All)pname, (int)param); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Specify a two-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glTexSubImage2D")] + public static + void TexSubImage2D(OpenTK.Graphics.ES10.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES10.All format, OpenTK.Graphics.ES10.All type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexSubImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES10.All)format, (OpenTK.Graphics.ES10.All)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Specify a two-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glTexSubImage2D")] + public static + void TexSubImage2D(OpenTK.Graphics.ES10.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES10.All format, OpenTK.Graphics.ES10.All type, [InAttribute, OutAttribute] T8[] pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES10.All)format, (OpenTK.Graphics.ES10.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Specify a two-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glTexSubImage2D")] + public static + void TexSubImage2D(OpenTK.Graphics.ES10.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES10.All format, OpenTK.Graphics.ES10.All type, [InAttribute, OutAttribute] T8[,] pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES10.All)format, (OpenTK.Graphics.ES10.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Specify a two-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glTexSubImage2D")] + public static + void TexSubImage2D(OpenTK.Graphics.ES10.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES10.All format, OpenTK.Graphics.ES10.All type, [InAttribute, OutAttribute] T8[,,] pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES10.All)format, (OpenTK.Graphics.ES10.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Specify a two-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glTexSubImage2D")] + public static + void TexSubImage2D(OpenTK.Graphics.ES10.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES10.All format, OpenTK.Graphics.ES10.All type, [InAttribute, OutAttribute] ref T8 pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES10.All)format, (OpenTK.Graphics.ES10.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + pixels = (T8)pixels_ptr.Target; + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Multiply the current matrix by a translation matrix + /// + /// + /// + /// Specify the x, y, and z coordinates of a translation vector. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glTranslatef")] + public static + void Translate(Single x, Single y, Single z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTranslatef((Single)x, (Single)y, (Single)z); + #if DEBUG + } + #endif + } + + /// [requires: v1.0 and 1.0] + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glTranslatex")] + public static + void Translatex(int x, int y, int z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTranslatex((int)x, (int)y, (int)z); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Define an array of vertex data + /// + /// + /// + /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glVertexPointer")] + public static + void VertexPointer(Int32 size, OpenTK.Graphics.ES10.All type, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexPointer((Int32)size, (OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Define an array of vertex data + /// + /// + /// + /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glVertexPointer")] + public static + void VertexPointer(Int32 size, OpenTK.Graphics.ES10.All type, Int32 stride, [InAttribute, OutAttribute] T3[] pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexPointer((Int32)size, (OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Define an array of vertex data + /// + /// + /// + /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glVertexPointer")] + public static + void VertexPointer(Int32 size, OpenTK.Graphics.ES10.All type, Int32 stride, [InAttribute, OutAttribute] T3[,] pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexPointer((Int32)size, (OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Define an array of vertex data + /// + /// + /// + /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glVertexPointer")] + public static + void VertexPointer(Int32 size, OpenTK.Graphics.ES10.All type, Int32 stride, [InAttribute, OutAttribute] T3[,,] pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexPointer((Int32)size, (OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Define an array of vertex data + /// + /// + /// + /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glVertexPointer")] + public static + void VertexPointer(Int32 size, OpenTK.Graphics.ES10.All type, Int32 stride, [InAttribute, OutAttribute] ref T3 pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexPointer((Int32)size, (OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + pointer = (T3)pointer_ptr.Target; + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0 and 1.0] + /// Set the viewport + /// + /// + /// + /// Specify the lower left corner of the viewport rectangle, in pixels. The initial value is (0,0). + /// + /// + /// + /// + /// Specify the width and height of the viewport. When a GL context is first attached to a window, width and height are set to the dimensions of that window. + /// + /// + [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glViewport")] + public static + void Viewport(Int32 x, Int32 y, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glViewport((Int32)x, (Int32)y, (Int32)width, (Int32)height); + #if DEBUG + } + #endif + } + + } +} + +// flibit added this! +#pragma warning restore 3021 \ No newline at end of file diff --git a/src/MiniTK/Graphics/ES10/Enums.cs b/src/MiniTK/Graphics/ES10/Enums.cs new file mode 100644 index 0000000..8eb7e63 --- /dev/null +++ b/src/MiniTK/Graphics/ES10/Enums.cs @@ -0,0 +1,667 @@ +#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; + +namespace OpenTK.Graphics.ES10 +{ + #pragma warning disable 1591 + + public enum All : int + { + False = ((int)0), + NoError = ((int)0), + Zero = ((int)0), + Points = ((int)0x0000), + DepthBufferBit = ((int)0x00000100), + StencilBufferBit = ((int)0x00000400), + ColorBufferBit = ((int)0x00004000), + Lines = ((int)0x0001), + LineLoop = ((int)0x0002), + LineStrip = ((int)0x0003), + Triangles = ((int)0x0004), + TriangleStrip = ((int)0x0005), + TriangleFan = ((int)0x0006), + Add = ((int)0x0104), + Never = ((int)0x0200), + Less = ((int)0x0201), + Equal = ((int)0x0202), + Lequal = ((int)0x0203), + Greater = ((int)0x0204), + Notequal = ((int)0x0205), + Gequal = ((int)0x0206), + Always = ((int)0x0207), + SrcColor = ((int)0x0300), + OneMinusSrcColor = ((int)0x0301), + SrcAlpha = ((int)0x0302), + OneMinusSrcAlpha = ((int)0x0303), + DstAlpha = ((int)0x0304), + OneMinusDstAlpha = ((int)0x0305), + DstColor = ((int)0x0306), + OneMinusDstColor = ((int)0x0307), + SrcAlphaSaturate = ((int)0x0308), + Front = ((int)0x0404), + Back = ((int)0x0405), + FrontAndBack = ((int)0x0408), + InvalidEnum = ((int)0x0500), + InvalidValue = ((int)0x0501), + InvalidOperation = ((int)0x0502), + StackOverflow = ((int)0x0503), + StackUnderflow = ((int)0x0504), + OutOfMemory = ((int)0x0505), + Exp = ((int)0x0800), + Exp2 = ((int)0x0801), + Cw = ((int)0x0900), + Ccw = ((int)0x0901), + PointSmooth = ((int)0x0B10), + SmoothPointSizeRange = ((int)0x0B12), + LineSmooth = ((int)0x0B20), + SmoothLineWidthRange = ((int)0x0B22), + CullFace = ((int)0x0B44), + Lighting = ((int)0x0B50), + LightModelTwoSide = ((int)0x0B52), + LightModelAmbient = ((int)0x0B53), + ColorMaterial = ((int)0x0B57), + Fog = ((int)0x0B60), + FogDensity = ((int)0x0B62), + FogStart = ((int)0x0B63), + FogEnd = ((int)0x0B64), + FogMode = ((int)0x0B65), + FogColor = ((int)0x0B66), + DepthTest = ((int)0x0B71), + StencilTest = ((int)0x0B90), + Normalize = ((int)0x0BA1), + AlphaTest = ((int)0x0BC0), + Dither = ((int)0x0BD0), + Blend = ((int)0x0BE2), + ColorLogicOp = ((int)0x0BF2), + ScissorTest = ((int)0x0C11), + PerspectiveCorrectionHint = ((int)0x0C50), + PointSmoothHint = ((int)0x0C51), + LineSmoothHint = ((int)0x0C52), + PolygonSmoothHint = ((int)0x0C53), + FogHint = ((int)0x0C54), + UnpackAlignment = ((int)0x0CF5), + PackAlignment = ((int)0x0D05), + MaxLights = ((int)0x0D31), + MaxTextureSize = ((int)0x0D33), + MaxModelviewStackDepth = ((int)0x0D36), + MaxProjectionStackDepth = ((int)0x0D38), + MaxTextureStackDepth = ((int)0x0D39), + MaxViewportDims = ((int)0x0D3A), + SubpixelBits = ((int)0x0D50), + RedBits = ((int)0x0D52), + GreenBits = ((int)0x0D53), + BlueBits = ((int)0x0D54), + AlphaBits = ((int)0x0D55), + DepthBits = ((int)0x0D56), + StencilBits = ((int)0x0D57), + Texture2D = ((int)0x0DE1), + DontCare = ((int)0x1100), + Fastest = ((int)0x1101), + Nicest = ((int)0x1102), + Ambient = ((int)0x1200), + Diffuse = ((int)0x1201), + Specular = ((int)0x1202), + Position = ((int)0x1203), + SpotDirection = ((int)0x1204), + SpotExponent = ((int)0x1205), + SpotCutoff = ((int)0x1206), + ConstantAttenuation = ((int)0x1207), + LinearAttenuation = ((int)0x1208), + QuadraticAttenuation = ((int)0x1209), + Byte = ((int)0x1400), + UnsignedByte = ((int)0x1401), + Short = ((int)0x1402), + UnsignedShort = ((int)0x1403), + Float = ((int)0x1406), + Fixed = ((int)0x140C), + Clear = ((int)0x1500), + And = ((int)0x1501), + AndReverse = ((int)0x1502), + Copy = ((int)0x1503), + AndInverted = ((int)0x1504), + Noop = ((int)0x1505), + Xor = ((int)0x1506), + Or = ((int)0x1507), + Nor = ((int)0x1508), + Equiv = ((int)0x1509), + Invert = ((int)0x150A), + OrReverse = ((int)0x150B), + CopyInverted = ((int)0x150C), + OrInverted = ((int)0x150D), + Nand = ((int)0x150E), + Set = ((int)0x150F), + Emission = ((int)0x1600), + Shininess = ((int)0x1601), + AmbientAndDiffuse = ((int)0x1602), + Modelview = ((int)0x1700), + Projection = ((int)0x1701), + Texture = ((int)0x1702), + Alpha = ((int)0x1906), + Rgb = ((int)0x1907), + Rgba = ((int)0x1908), + Luminance = ((int)0x1909), + LuminanceAlpha = ((int)0x190A), + Flat = ((int)0x1D00), + Smooth = ((int)0x1D01), + Keep = ((int)0x1E00), + Replace = ((int)0x1E01), + Incr = ((int)0x1E02), + Decr = ((int)0x1E03), + Vendor = ((int)0x1F00), + Renderer = ((int)0x1F01), + Version = ((int)0x1F02), + Extensions = ((int)0x1F03), + Modulate = ((int)0x2100), + Decal = ((int)0x2101), + TextureEnvMode = ((int)0x2200), + TextureEnvColor = ((int)0x2201), + TextureEnv = ((int)0x2300), + Nearest = ((int)0x2600), + Linear = ((int)0x2601), + NearestMipmapNearest = ((int)0x2700), + LinearMipmapNearest = ((int)0x2701), + NearestMipmapLinear = ((int)0x2702), + LinearMipmapLinear = ((int)0x2703), + TextureMagFilter = ((int)0x2800), + TextureMinFilter = ((int)0x2801), + TextureWrapS = ((int)0x2802), + TextureWrapT = ((int)0x2803), + Repeat = ((int)0x2901), + Light0 = ((int)0x4000), + Light1 = ((int)0x4001), + Light2 = ((int)0x4002), + Light3 = ((int)0x4003), + Light4 = ((int)0x4004), + Light5 = ((int)0x4005), + Light6 = ((int)0x4006), + Light7 = ((int)0x4007), + UnsignedShort4444 = ((int)0x8033), + UnsignedShort5551 = ((int)0x8034), + PolygonOffsetFill = ((int)0x8037), + RescaleNormal = ((int)0x803A), + VertexArray = ((int)0x8074), + NormalArray = ((int)0x8075), + ColorArray = ((int)0x8076), + TextureCoordArray = ((int)0x8078), + Multisample = ((int)0x809D), + SampleAlphaToCoverage = ((int)0x809E), + SampleAlphaToOne = ((int)0x809F), + SampleCoverage = ((int)0x80A0), + MaxElementsVertices = ((int)0x80E8), + MaxElementsIndices = ((int)0x80E9), + ClampToEdge = ((int)0x812F), + UnsignedShort565 = ((int)0x8363), + AliasedPointSizeRange = ((int)0x846D), + AliasedLineWidthRange = ((int)0x846E), + Texture0 = ((int)0x84C0), + Texture1 = ((int)0x84C1), + Texture2 = ((int)0x84C2), + Texture3 = ((int)0x84C3), + Texture4 = ((int)0x84C4), + Texture5 = ((int)0x84C5), + Texture6 = ((int)0x84C6), + Texture7 = ((int)0x84C7), + Texture8 = ((int)0x84C8), + Texture9 = ((int)0x84C9), + Texture10 = ((int)0x84CA), + Texture11 = ((int)0x84CB), + Texture12 = ((int)0x84CC), + Texture13 = ((int)0x84CD), + Texture14 = ((int)0x84CE), + Texture15 = ((int)0x84CF), + Texture16 = ((int)0x84D0), + Texture17 = ((int)0x84D1), + Texture18 = ((int)0x84D2), + Texture19 = ((int)0x84D3), + Texture20 = ((int)0x84D4), + Texture21 = ((int)0x84D5), + Texture22 = ((int)0x84D6), + Texture23 = ((int)0x84D7), + Texture24 = ((int)0x84D8), + Texture25 = ((int)0x84D9), + Texture26 = ((int)0x84DA), + Texture27 = ((int)0x84DB), + Texture28 = ((int)0x84DC), + Texture29 = ((int)0x84DD), + Texture30 = ((int)0x84DE), + Texture31 = ((int)0x84DF), + MaxTextureUnits = ((int)0x84E2), + NumCompressedTextureFormats = ((int)0x86A2), + CompressedTextureFormats = ((int)0x86A3), + Palette4Rgb8Oes = ((int)0x8B90), + Palette4Rgba8Oes = ((int)0x8B91), + Palette4R5G6B5Oes = ((int)0x8B92), + Palette4Rgba4Oes = ((int)0x8B93), + Palette4Rgb5A1Oes = ((int)0x8B94), + Palette8Rgb8Oes = ((int)0x8B95), + Palette8Rgba8Oes = ((int)0x8B96), + Palette8R5G6B5Oes = ((int)0x8B97), + Palette8Rgba4Oes = ((int)0x8B98), + Palette8Rgb5A1Oes = ((int)0x8B99), + ImplementationColorReadTypeOes = ((int)0x8B9A), + ImplementationColorReadFormatOes = ((int)0x8B9B), + OesCompressedPalettedTexture = ((int)1), + OesReadFormat = ((int)1), + OesVersion10 = ((int)1), + One = ((int)1), + True = ((int)1), + } + + public enum AlphaFunction : int + { + Never = ((int)0x0200), + Less = ((int)0x0201), + Equal = ((int)0x0202), + Lequal = ((int)0x0203), + Greater = ((int)0x0204), + Notequal = ((int)0x0205), + Gequal = ((int)0x0206), + Always = ((int)0x0207), + } + + public enum BeginMode : int + { + Points = ((int)0x0000), + Lines = ((int)0x0001), + LineLoop = ((int)0x0002), + LineStrip = ((int)0x0003), + Triangles = ((int)0x0004), + TriangleStrip = ((int)0x0005), + TriangleFan = ((int)0x0006), + } + + public enum BlendingFactorDest : int + { + Zero = ((int)0), + SrcColor = ((int)0x0300), + OneMinusSrcColor = ((int)0x0301), + SrcAlpha = ((int)0x0302), + OneMinusSrcAlpha = ((int)0x0303), + DstAlpha = ((int)0x0304), + OneMinusDstAlpha = ((int)0x0305), + One = ((int)1), + } + + public enum BlendingFactorSrc : int + { + DstColor = ((int)0x0306), + OneMinusDstColor = ((int)0x0307), + SrcAlphaSaturate = ((int)0x0308), + } + + public enum Boolean : int + { + False = ((int)0), + True = ((int)1), + } + + [Flags] + public enum ClearBufferMask : int + { + DepthBufferBit = ((int)0x00000100), + StencilBufferBit = ((int)0x00000400), + ColorBufferBit = ((int)0x00004000), + } + + public enum CullFaceMode : int + { + Front = ((int)0x0404), + Back = ((int)0x0405), + FrontAndBack = ((int)0x0408), + } + + public enum DataType : int + { + Byte = ((int)0x1400), + UnsignedByte = ((int)0x1401), + Short = ((int)0x1402), + UnsignedShort = ((int)0x1403), + Float = ((int)0x1406), + Fixed = ((int)0x140C), + } + + public enum EnableCap : int + { + PointSmooth = ((int)0x0B10), + LineSmooth = ((int)0x0B20), + CullFace = ((int)0x0B44), + Lighting = ((int)0x0B50), + ColorMaterial = ((int)0x0B57), + Fog = ((int)0x0B60), + DepthTest = ((int)0x0B71), + StencilTest = ((int)0x0B90), + Normalize = ((int)0x0BA1), + AlphaTest = ((int)0x0BC0), + Dither = ((int)0x0BD0), + Blend = ((int)0x0BE2), + ColorLogicOp = ((int)0x0BF2), + ScissorTest = ((int)0x0C11), + Texture2D = ((int)0x0DE1), + PolygonOffsetFill = ((int)0x8037), + RescaleNormal = ((int)0x803A), + VertexArray = ((int)0x8074), + NormalArray = ((int)0x8075), + ColorArray = ((int)0x8076), + TextureCoordArray = ((int)0x8078), + Multisample = ((int)0x809D), + SampleAlphaToCoverage = ((int)0x809E), + SampleAlphaToOne = ((int)0x809F), + SampleCoverage = ((int)0x80A0), + } + + public enum ErrorCode : int + { + NoError = ((int)0), + InvalidEnum = ((int)0x0500), + InvalidValue = ((int)0x0501), + InvalidOperation = ((int)0x0502), + StackOverflow = ((int)0x0503), + StackUnderflow = ((int)0x0504), + OutOfMemory = ((int)0x0505), + } + + public enum Extensions : int + { + OesCompressedPalettedTexture = ((int)1), + OesReadFormat = ((int)1), + OesVersion10 = ((int)1), + } + + public enum FogMode : int + { + Exp = ((int)0x0800), + Exp2 = ((int)0x0801), + } + + public enum FogParameter : int + { + FogDensity = ((int)0x0B62), + FogStart = ((int)0x0B63), + FogEnd = ((int)0x0B64), + FogMode = ((int)0x0B65), + FogColor = ((int)0x0B66), + } + + public enum FrontFaceDirection : int + { + Cw = ((int)0x0900), + Ccw = ((int)0x0901), + } + + public enum GetPName : int + { + SmoothPointSizeRange = ((int)0x0B12), + SmoothLineWidthRange = ((int)0x0B22), + MaxLights = ((int)0x0D31), + MaxTextureSize = ((int)0x0D33), + MaxModelviewStackDepth = ((int)0x0D36), + MaxProjectionStackDepth = ((int)0x0D38), + MaxTextureStackDepth = ((int)0x0D39), + MaxViewportDims = ((int)0x0D3A), + SubpixelBits = ((int)0x0D50), + RedBits = ((int)0x0D52), + GreenBits = ((int)0x0D53), + BlueBits = ((int)0x0D54), + AlphaBits = ((int)0x0D55), + DepthBits = ((int)0x0D56), + StencilBits = ((int)0x0D57), + MaxElementsVertices = ((int)0x80E8), + MaxElementsIndices = ((int)0x80E9), + AliasedPointSizeRange = ((int)0x846D), + AliasedLineWidthRange = ((int)0x846E), + MaxTextureUnits = ((int)0x84E2), + NumCompressedTextureFormats = ((int)0x86A2), + CompressedTextureFormats = ((int)0x86A3), + ImplementationColorReadTypeOes = ((int)0x8B9A), + ImplementationColorReadFormatOes = ((int)0x8B9B), + } + + public enum HintMode : int + { + DontCare = ((int)0x1100), + Fastest = ((int)0x1101), + Nicest = ((int)0x1102), + } + + public enum HintTarget : int + { + PerspectiveCorrectionHint = ((int)0x0C50), + PointSmoothHint = ((int)0x0C51), + LineSmoothHint = ((int)0x0C52), + PolygonSmoothHint = ((int)0x0C53), + FogHint = ((int)0x0C54), + } + + public enum LightModelParameter : int + { + LightModelTwoSide = ((int)0x0B52), + LightModelAmbient = ((int)0x0B53), + } + + public enum LightName : int + { + Light0 = ((int)0x4000), + Light1 = ((int)0x4001), + Light2 = ((int)0x4002), + Light3 = ((int)0x4003), + Light4 = ((int)0x4004), + Light5 = ((int)0x4005), + Light6 = ((int)0x4006), + Light7 = ((int)0x4007), + } + + public enum LightParameter : int + { + Ambient = ((int)0x1200), + Diffuse = ((int)0x1201), + Specular = ((int)0x1202), + Position = ((int)0x1203), + SpotDirection = ((int)0x1204), + SpotExponent = ((int)0x1205), + SpotCutoff = ((int)0x1206), + ConstantAttenuation = ((int)0x1207), + LinearAttenuation = ((int)0x1208), + QuadraticAttenuation = ((int)0x1209), + } + + public enum LogicOp : int + { + Clear = ((int)0x1500), + And = ((int)0x1501), + AndReverse = ((int)0x1502), + Copy = ((int)0x1503), + AndInverted = ((int)0x1504), + Noop = ((int)0x1505), + Xor = ((int)0x1506), + Or = ((int)0x1507), + Nor = ((int)0x1508), + Equiv = ((int)0x1509), + Invert = ((int)0x150A), + OrReverse = ((int)0x150B), + CopyInverted = ((int)0x150C), + OrInverted = ((int)0x150D), + Nand = ((int)0x150E), + Set = ((int)0x150F), + } + + public enum MaterialParameter : int + { + Emission = ((int)0x1600), + Shininess = ((int)0x1601), + AmbientAndDiffuse = ((int)0x1602), + } + + public enum MatrixMode : int + { + Modelview = ((int)0x1700), + Projection = ((int)0x1701), + Texture = ((int)0x1702), + } + + public enum PixelFormat : int + { + Alpha = ((int)0x1906), + Rgb = ((int)0x1907), + Rgba = ((int)0x1908), + Luminance = ((int)0x1909), + LuminanceAlpha = ((int)0x190A), + } + + public enum PixelInternalFormat : int + { + Palette4Rgb8Oes = ((int)0x8B90), + Palette4Rgba8Oes = ((int)0x8B91), + Palette4R5G6B5Oes = ((int)0x8B92), + Palette4Rgba4Oes = ((int)0x8B93), + Palette4Rgb5A1Oes = ((int)0x8B94), + Palette8Rgb8Oes = ((int)0x8B95), + Palette8Rgba8Oes = ((int)0x8B96), + Palette8R5G6B5Oes = ((int)0x8B97), + Palette8Rgba4Oes = ((int)0x8B98), + Palette8Rgb5A1Oes = ((int)0x8B99), + } + + public enum PixelStoreParameter : int + { + UnpackAlignment = ((int)0x0CF5), + PackAlignment = ((int)0x0D05), + } + + public enum PixelType : int + { + UnsignedShort4444 = ((int)0x8033), + UnsignedShort5551 = ((int)0x8034), + UnsignedShort565 = ((int)0x8363), + } + + public enum ShadingModel : int + { + Flat = ((int)0x1D00), + Smooth = ((int)0x1D01), + } + + public enum StencilOp : int + { + Keep = ((int)0x1E00), + Replace = ((int)0x1E01), + Incr = ((int)0x1E02), + Decr = ((int)0x1E03), + } + + public enum StringName : int + { + Vendor = ((int)0x1F00), + Renderer = ((int)0x1F01), + Version = ((int)0x1F02), + Extensions = ((int)0x1F03), + } + + public enum TextureEnvMode : int + { + Add = ((int)0x0104), + Modulate = ((int)0x2100), + Decal = ((int)0x2101), + } + + public enum TextureEnvParameter : int + { + TextureEnvMode = ((int)0x2200), + TextureEnvColor = ((int)0x2201), + } + + public enum TextureEnvTarget : int + { + TextureEnv = ((int)0x2300), + } + + public enum TextureMagFilter : int + { + Nearest = ((int)0x2600), + Linear = ((int)0x2601), + } + + public enum TextureMinFilter : int + { + NearestMipmapNearest = ((int)0x2700), + LinearMipmapNearest = ((int)0x2701), + NearestMipmapLinear = ((int)0x2702), + LinearMipmapLinear = ((int)0x2703), + } + + public enum TextureParameterName : int + { + TextureMagFilter = ((int)0x2800), + TextureMinFilter = ((int)0x2801), + TextureWrapS = ((int)0x2802), + TextureWrapT = ((int)0x2803), + } + + public enum TextureUnit : int + { + Texture0 = ((int)0x84C0), + Texture1 = ((int)0x84C1), + Texture2 = ((int)0x84C2), + Texture3 = ((int)0x84C3), + Texture4 = ((int)0x84C4), + Texture5 = ((int)0x84C5), + Texture6 = ((int)0x84C6), + Texture7 = ((int)0x84C7), + Texture8 = ((int)0x84C8), + Texture9 = ((int)0x84C9), + Texture10 = ((int)0x84CA), + Texture11 = ((int)0x84CB), + Texture12 = ((int)0x84CC), + Texture13 = ((int)0x84CD), + Texture14 = ((int)0x84CE), + Texture15 = ((int)0x84CF), + Texture16 = ((int)0x84D0), + Texture17 = ((int)0x84D1), + Texture18 = ((int)0x84D2), + Texture19 = ((int)0x84D3), + Texture20 = ((int)0x84D4), + Texture21 = ((int)0x84D5), + Texture22 = ((int)0x84D6), + Texture23 = ((int)0x84D7), + Texture24 = ((int)0x84D8), + Texture25 = ((int)0x84D9), + Texture26 = ((int)0x84DA), + Texture27 = ((int)0x84DB), + Texture28 = ((int)0x84DC), + Texture29 = ((int)0x84DD), + Texture30 = ((int)0x84DE), + Texture31 = ((int)0x84DF), + } + + public enum TextureWrapMode : int + { + Repeat = ((int)0x2901), + ClampToEdge = ((int)0x812F), + } + +} diff --git a/src/MiniTK/Graphics/ES10/ErrorHelper.cs b/src/MiniTK/Graphics/ES10/ErrorHelper.cs new file mode 100644 index 0000000..abe1a8b --- /dev/null +++ b/src/MiniTK/Graphics/ES10/ErrorHelper.cs @@ -0,0 +1,136 @@ +#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; + +/* flibit Changes GraphicsContext stuff to IntPtr, an SDL_GLContext. */ + +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 IntPtr Context; + + #endregion + + #region Constructors + + public ErrorHelper(IntPtr context) + { + if (context == IntPtr.Zero) + throw new GraphicsContextMissingException(); + + Context = 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 (GraphicsContext.ErrorChecking) + { + while ((ErrorCode)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 (GraphicsContext.ErrorChecking) + { + List error_list = ContextErrors[Context]; + error_list.Clear(); + ErrorCode error; + do + { + error = (ErrorCode)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 + + #region IDisposable Members + + public void Dispose() + { + CheckErrors(); + } + + #endregion + } +} diff --git a/src/MiniTK/Graphics/ES10/Helper.cs b/src/MiniTK/Graphics/ES10/Helper.cs new file mode 100644 index 0000000..16f87c7 --- /dev/null +++ b/src/MiniTK/Graphics/ES10/Helper.cs @@ -0,0 +1,28 @@ +using System; +using System.Collections.Generic; +using System.Text; + +namespace OpenTK.Graphics.ES10 +{ + /// + /// Provides access to OpenGL ES 1.0 methods. + /// + public sealed partial class GL : GraphicsBindingsBase + { + const string Library = "libGLES.dll"; + static readonly object sync_root = new object(); + + #region --- Protected Members --- + + /// + /// Returns a synchronization token unique for the GL class. + /// + protected override object SyncRoot + { + get { return sync_root; } + } + + #endregion + + } +} diff --git a/src/MiniTK/Graphics/ES11/Core.cs b/src/MiniTK/Graphics/ES11/Core.cs new file mode 100644 index 0000000..2df4312 --- /dev/null +++ b/src/MiniTK/Graphics/ES11/Core.cs @@ -0,0 +1,788 @@ +#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 + +namespace OpenTK.Graphics.ES11 +{ + using System; + using System.Text; + using System.Runtime.InteropServices; + #pragma warning disable 3019 + #pragma warning disable 1591 + + partial class GL + { + + internal static partial class Core + { + + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glActiveTexture", ExactSpelling = true)] + internal extern static void ActiveTexture(OpenTK.Graphics.ES11.All texture); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glAlphaFunc", ExactSpelling = true)] + internal extern static void AlphaFunc(OpenTK.Graphics.ES11.All func, Single @ref); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glAlphaFuncx", ExactSpelling = true)] + internal extern static void AlphaFuncx(OpenTK.Graphics.ES11.All func, int @ref); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glAlphaFuncxOES", ExactSpelling = true)] + internal extern static void AlphaFuncxOES(OpenTK.Graphics.ES11.All func, int @ref); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindBuffer", ExactSpelling = true)] + internal extern static void BindBuffer(OpenTK.Graphics.ES11.All target, UInt32 buffer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindFramebufferOES", ExactSpelling = true)] + internal extern static void BindFramebufferOES(OpenTK.Graphics.ES11.All target, UInt32 framebuffer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindRenderbufferOES", ExactSpelling = true)] + internal extern static void BindRenderbufferOES(OpenTK.Graphics.ES11.All target, UInt32 renderbuffer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindTexture", ExactSpelling = true)] + internal extern static void BindTexture(OpenTK.Graphics.ES11.All target, UInt32 texture); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendEquationOES", ExactSpelling = true)] + internal extern static void BlendEquationOES(OpenTK.Graphics.ES11.All mode); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendEquationSeparateOES", ExactSpelling = true)] + internal extern static void BlendEquationSeparateOES(OpenTK.Graphics.ES11.All modeRGB, OpenTK.Graphics.ES11.All modeAlpha); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendFunc", ExactSpelling = true)] + internal extern static void BlendFunc(OpenTK.Graphics.ES11.All sfactor, OpenTK.Graphics.ES11.All dfactor); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendFuncSeparateOES", ExactSpelling = true)] + internal extern static void BlendFuncSeparateOES(OpenTK.Graphics.ES11.All srcRGB, OpenTK.Graphics.ES11.All dstRGB, OpenTK.Graphics.ES11.All srcAlpha, OpenTK.Graphics.ES11.All dstAlpha); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBufferData", ExactSpelling = true)] + internal extern static void BufferData(OpenTK.Graphics.ES11.All target, IntPtr size, IntPtr data, OpenTK.Graphics.ES11.All usage); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBufferSubData", ExactSpelling = true)] + internal extern static void BufferSubData(OpenTK.Graphics.ES11.All target, IntPtr offset, IntPtr size, IntPtr data); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCheckFramebufferStatusOES", ExactSpelling = true)] + internal extern static OpenTK.Graphics.ES11.All CheckFramebufferStatusOES(OpenTK.Graphics.ES11.All target); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClear", ExactSpelling = true)] + internal extern static void Clear(UInt32 mask); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearColor", ExactSpelling = true)] + internal extern static void ClearColor(Single red, Single green, Single blue, Single alpha); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearColorx", ExactSpelling = true)] + internal extern static void ClearColorx(int red, int green, int blue, int alpha); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearColorxOES", ExactSpelling = true)] + internal extern static void ClearColorxOES(int red, int green, int blue, int alpha); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearDepthf", ExactSpelling = true)] + internal extern static void ClearDepthf(Single depth); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearDepthfOES", ExactSpelling = true)] + internal extern static void ClearDepthfOES(Single depth); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearDepthx", ExactSpelling = true)] + internal extern static void ClearDepthx(int depth); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearDepthxOES", ExactSpelling = true)] + internal extern static void ClearDepthxOES(int depth); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearStencil", ExactSpelling = true)] + internal extern static void ClearStencil(Int32 s); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClientActiveTexture", ExactSpelling = true)] + internal extern static void ClientActiveTexture(OpenTK.Graphics.ES11.All texture); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClipPlanef", ExactSpelling = true)] + internal extern static unsafe void ClipPlanef(OpenTK.Graphics.ES11.All plane, Single* equation); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClipPlanefIMG", ExactSpelling = true)] + internal extern static unsafe void ClipPlanefIMG(OpenTK.Graphics.ES11.All p, Single* eqn); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClipPlanefOES", ExactSpelling = true)] + internal extern static unsafe void ClipPlanefOES(OpenTK.Graphics.ES11.All plane, Single* equation); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClipPlanex", ExactSpelling = true)] + internal extern static unsafe void ClipPlanex(OpenTK.Graphics.ES11.All plane, int* equation); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClipPlanexIMG", ExactSpelling = true)] + internal extern static unsafe void ClipPlanexIMG(OpenTK.Graphics.ES11.All p, int* eqn); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClipPlanexOES", ExactSpelling = true)] + internal extern static unsafe void ClipPlanexOES(OpenTK.Graphics.ES11.All plane, int* equation); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor4f", ExactSpelling = true)] + internal extern static void Color4f(Single red, Single green, Single blue, Single alpha); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor4ub", ExactSpelling = true)] + internal extern static void Color4ub(Byte red, Byte green, Byte blue, Byte alpha); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor4x", ExactSpelling = true)] + internal extern static void Color4x(int red, int green, int blue, int alpha); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor4xOES", ExactSpelling = true)] + internal extern static void Color4xOES(int red, int green, int blue, int alpha); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorMask", ExactSpelling = true)] + internal extern static void ColorMask(bool red, bool green, bool blue, bool alpha); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorPointer", ExactSpelling = true)] + internal extern static void ColorPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexImage2D", ExactSpelling = true)] + internal extern static void CompressedTexImage2D(OpenTK.Graphics.ES11.All target, Int32 level, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexSubImage2D", ExactSpelling = true)] + internal extern static void CompressedTexSubImage2D(OpenTK.Graphics.ES11.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, Int32 imageSize, IntPtr data); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTexImage2D", ExactSpelling = true)] + internal extern static void CopyTexImage2D(OpenTK.Graphics.ES11.All target, Int32 level, OpenTK.Graphics.ES11.All internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTexSubImage2D", ExactSpelling = true)] + internal extern static void CopyTexSubImage2D(OpenTK.Graphics.ES11.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCullFace", ExactSpelling = true)] + internal extern static void CullFace(OpenTK.Graphics.ES11.All mode); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCurrentPaletteMatrixOES", ExactSpelling = true)] + internal extern static void CurrentPaletteMatrixOES(UInt32 matrixpaletteindex); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteBuffers", ExactSpelling = true)] + internal extern static unsafe void DeleteBuffers(Int32 n, UInt32* buffers); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteFencesNV", ExactSpelling = true)] + internal extern static unsafe void DeleteFencesNV(Int32 n, UInt32* fences); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteFramebuffersOES", ExactSpelling = true)] + internal extern static unsafe void DeleteFramebuffersOES(Int32 n, UInt32* framebuffers); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteRenderbuffersOES", ExactSpelling = true)] + internal extern static unsafe void DeleteRenderbuffersOES(Int32 n, UInt32* renderbuffers); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteTextures", ExactSpelling = true)] + internal extern static unsafe void DeleteTextures(Int32 n, UInt32* textures); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDepthFunc", ExactSpelling = true)] + internal extern static void DepthFunc(OpenTK.Graphics.ES11.All func); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDepthMask", ExactSpelling = true)] + internal extern static void DepthMask(bool flag); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDepthRangef", ExactSpelling = true)] + internal extern static void DepthRangef(Single zNear, Single zFar); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDepthRangefOES", ExactSpelling = true)] + internal extern static void DepthRangefOES(Single zNear, Single zFar); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDepthRangex", ExactSpelling = true)] + internal extern static void DepthRangex(int zNear, int zFar); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDepthRangexOES", ExactSpelling = true)] + internal extern static void DepthRangexOES(int zNear, int zFar); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDisable", ExactSpelling = true)] + internal extern static void Disable(OpenTK.Graphics.ES11.All cap); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDisableClientState", ExactSpelling = true)] + internal extern static void DisableClientState(OpenTK.Graphics.ES11.All array); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDisableDriverControlQCOM", ExactSpelling = true)] + internal extern static void DisableDriverControlQCOM(UInt32 driverControl); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawArrays", ExactSpelling = true)] + internal extern static void DrawArrays(OpenTK.Graphics.ES11.All mode, Int32 first, Int32 count); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElements", ExactSpelling = true)] + internal extern static void DrawElements(OpenTK.Graphics.ES11.All mode, Int32 count, OpenTK.Graphics.ES11.All type, IntPtr indices); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawTexfOES", ExactSpelling = true)] + internal extern static void DrawTexfOES(Single x, Single y, Single z, Single width, Single height); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawTexfvOES", ExactSpelling = true)] + internal extern static unsafe void DrawTexfvOES(Single* coords); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawTexiOES", ExactSpelling = true)] + internal extern static void DrawTexiOES(Int32 x, Int32 y, Int32 z, Int32 width, Int32 height); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawTexivOES", ExactSpelling = true)] + internal extern static unsafe void DrawTexivOES(Int32* coords); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawTexsOES", ExactSpelling = true)] + internal extern static void DrawTexsOES(Int16 x, Int16 y, Int16 z, Int16 width, Int16 height); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawTexsvOES", ExactSpelling = true)] + internal extern static unsafe void DrawTexsvOES(Int16* coords); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawTexxOES", ExactSpelling = true)] + internal extern static void DrawTexxOES(int x, int y, int z, int width, int height); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawTexxvOES", ExactSpelling = true)] + internal extern static unsafe void DrawTexxvOES(int* coords); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEGLImageTargetRenderbufferStorageOES", ExactSpelling = true)] + internal extern static void EGLImageTargetRenderbufferStorageOES(OpenTK.Graphics.ES11.All target, IntPtr image); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEGLImageTargetTexture2DOES", ExactSpelling = true)] + internal extern static void EGLImageTargetTexture2DOES(OpenTK.Graphics.ES11.All target, IntPtr image); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEnable", ExactSpelling = true)] + internal extern static void Enable(OpenTK.Graphics.ES11.All cap); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEnableClientState", ExactSpelling = true)] + internal extern static void EnableClientState(OpenTK.Graphics.ES11.All array); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEnableDriverControlQCOM", ExactSpelling = true)] + internal extern static void EnableDriverControlQCOM(UInt32 driverControl); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFinish", ExactSpelling = true)] + internal extern static void Finish(); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFinishFenceNV", ExactSpelling = true)] + internal extern static void FinishFenceNV(UInt32 fence); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFlush", ExactSpelling = true)] + internal extern static void Flush(); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogf", ExactSpelling = true)] + internal extern static void Fogf(OpenTK.Graphics.ES11.All pname, Single param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogfv", ExactSpelling = true)] + internal extern static unsafe void Fogfv(OpenTK.Graphics.ES11.All pname, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogx", ExactSpelling = true)] + internal extern static void Fogx(OpenTK.Graphics.ES11.All pname, int param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogxOES", ExactSpelling = true)] + internal extern static void FogxOES(OpenTK.Graphics.ES11.All pname, int param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogxv", ExactSpelling = true)] + internal extern static unsafe void Fogxv(OpenTK.Graphics.ES11.All pname, int* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogxvOES", ExactSpelling = true)] + internal extern static unsafe void FogxvOES(OpenTK.Graphics.ES11.All pname, int* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferRenderbufferOES", ExactSpelling = true)] + internal extern static void FramebufferRenderbufferOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All attachment, OpenTK.Graphics.ES11.All renderbuffertarget, UInt32 renderbuffer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTexture2DOES", ExactSpelling = true)] + internal extern static void FramebufferTexture2DOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All attachment, OpenTK.Graphics.ES11.All textarget, UInt32 texture, Int32 level); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFrontFace", ExactSpelling = true)] + internal extern static void FrontFace(OpenTK.Graphics.ES11.All mode); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFrustumf", ExactSpelling = true)] + internal extern static void Frustumf(Single left, Single right, Single bottom, Single top, Single zNear, Single zFar); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFrustumfOES", ExactSpelling = true)] + internal extern static void FrustumfOES(Single left, Single right, Single bottom, Single top, Single zNear, Single zFar); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFrustumx", ExactSpelling = true)] + internal extern static void Frustumx(int left, int right, int bottom, int top, int zNear, int zFar); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFrustumxOES", ExactSpelling = true)] + internal extern static void FrustumxOES(int left, int right, int bottom, int top, int zNear, int zFar); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenBuffers", ExactSpelling = true)] + internal extern static unsafe void GenBuffers(Int32 n, UInt32* buffers); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenerateMipmapOES", ExactSpelling = true)] + internal extern static void GenerateMipmapOES(OpenTK.Graphics.ES11.All target); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenFencesNV", ExactSpelling = true)] + internal extern static unsafe void GenFencesNV(Int32 n, UInt32* fences); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenFramebuffersOES", ExactSpelling = true)] + internal extern static unsafe void GenFramebuffersOES(Int32 n, UInt32* framebuffers); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenRenderbuffersOES", ExactSpelling = true)] + internal extern static unsafe void GenRenderbuffersOES(Int32 n, UInt32* renderbuffers); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenTextures", ExactSpelling = true)] + internal extern static unsafe void GenTextures(Int32 n, UInt32* textures); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetBooleanv", ExactSpelling = true)] + internal extern static unsafe void GetBooleanv(OpenTK.Graphics.ES11.All pname, bool* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetBufferParameteriv", ExactSpelling = true)] + internal extern static unsafe void GetBufferParameteriv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetBufferPointervOES", ExactSpelling = true)] + internal extern static void GetBufferPointervOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, IntPtr @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetClipPlanef", ExactSpelling = true)] + internal extern static unsafe void GetClipPlanef(OpenTK.Graphics.ES11.All pname, Single* eqn); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetClipPlanefOES", ExactSpelling = true)] + internal extern static unsafe void GetClipPlanefOES(OpenTK.Graphics.ES11.All pname, Single* eqn); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetClipPlanex", ExactSpelling = true)] + internal extern static unsafe void GetClipPlanex(OpenTK.Graphics.ES11.All pname, int* eqn); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetClipPlanexOES", ExactSpelling = true)] + internal extern static unsafe void GetClipPlanexOES(OpenTK.Graphics.ES11.All pname, int* eqn); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetDriverControlsQCOM", ExactSpelling = true)] + internal extern static unsafe void GetDriverControlsQCOM(Int32* num, Int32 size, UInt32* driverControls); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetDriverControlStringQCOM", ExactSpelling = true)] + internal extern static unsafe void GetDriverControlStringQCOM(UInt32 driverControl, Int32 bufSize, Int32* length, String driverControlString); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetError", ExactSpelling = true)] + internal extern static OpenTK.Graphics.ES11.All GetError(); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFenceivNV", ExactSpelling = true)] + internal extern static unsafe void GetFenceivNV(UInt32 fence, OpenTK.Graphics.ES11.All pname, Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFixedv", ExactSpelling = true)] + internal extern static unsafe void GetFixedv(OpenTK.Graphics.ES11.All pname, int* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFixedvOES", ExactSpelling = true)] + internal extern static unsafe void GetFixedvOES(OpenTK.Graphics.ES11.All pname, int* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFloatv", ExactSpelling = true)] + internal extern static unsafe void GetFloatv(OpenTK.Graphics.ES11.All pname, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFramebufferAttachmentParameterivOES", ExactSpelling = true)] + internal extern static unsafe void GetFramebufferAttachmentParameterivOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All attachment, OpenTK.Graphics.ES11.All pname, Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetIntegerv", ExactSpelling = true)] + internal extern static unsafe void GetIntegerv(OpenTK.Graphics.ES11.All pname, Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetLightfv", ExactSpelling = true)] + internal extern static unsafe void GetLightfv(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetLightxv", ExactSpelling = true)] + internal extern static unsafe void GetLightxv(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, int* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetLightxvOES", ExactSpelling = true)] + internal extern static unsafe void GetLightxvOES(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, int* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMaterialfv", ExactSpelling = true)] + internal extern static unsafe void GetMaterialfv(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMaterialxv", ExactSpelling = true)] + internal extern static unsafe void GetMaterialxv(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, int* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMaterialxvOES", ExactSpelling = true)] + internal extern static unsafe void GetMaterialxvOES(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, int* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPointerv", ExactSpelling = true)] + internal extern static void GetPointerv(OpenTK.Graphics.ES11.All pname, IntPtr @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetRenderbufferParameterivOES", ExactSpelling = true)] + internal extern static unsafe void GetRenderbufferParameterivOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetString", ExactSpelling = true)] + internal extern static unsafe System.IntPtr GetString(OpenTK.Graphics.ES11.All name); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexEnvfv", ExactSpelling = true)] + internal extern static unsafe void GetTexEnvfv(OpenTK.Graphics.ES11.All env, OpenTK.Graphics.ES11.All pname, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexEnviv", ExactSpelling = true)] + internal extern static unsafe void GetTexEnviv(OpenTK.Graphics.ES11.All env, OpenTK.Graphics.ES11.All pname, Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexEnvxv", ExactSpelling = true)] + internal extern static unsafe void GetTexEnvxv(OpenTK.Graphics.ES11.All env, OpenTK.Graphics.ES11.All pname, int* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexEnvxvOES", ExactSpelling = true)] + internal extern static unsafe void GetTexEnvxvOES(OpenTK.Graphics.ES11.All env, OpenTK.Graphics.ES11.All pname, int* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexGenfvOES", ExactSpelling = true)] + internal extern static unsafe void GetTexGenfvOES(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexGenivOES", ExactSpelling = true)] + internal extern static unsafe void GetTexGenivOES(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexGenxvOES", ExactSpelling = true)] + internal extern static unsafe void GetTexGenxvOES(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, int* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexParameterfv", ExactSpelling = true)] + internal extern static unsafe void GetTexParameterfv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexParameteriv", ExactSpelling = true)] + internal extern static unsafe void GetTexParameteriv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexParameterxv", ExactSpelling = true)] + internal extern static unsafe void GetTexParameterxv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexParameterxvOES", ExactSpelling = true)] + internal extern static unsafe void GetTexParameterxvOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glHint", ExactSpelling = true)] + internal extern static void Hint(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All mode); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsBuffer", ExactSpelling = true)] + internal extern static bool IsBuffer(UInt32 buffer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsEnabled", ExactSpelling = true)] + internal extern static bool IsEnabled(OpenTK.Graphics.ES11.All cap); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsFenceNV", ExactSpelling = true)] + internal extern static bool IsFenceNV(UInt32 fence); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsFramebufferOES", ExactSpelling = true)] + internal extern static bool IsFramebufferOES(UInt32 framebuffer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsRenderbufferOES", ExactSpelling = true)] + internal extern static bool IsRenderbufferOES(UInt32 renderbuffer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsTexture", ExactSpelling = true)] + internal extern static bool IsTexture(UInt32 texture); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLightf", ExactSpelling = true)] + internal extern static void Lightf(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, Single param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLightfv", ExactSpelling = true)] + internal extern static unsafe void Lightfv(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLightModelf", ExactSpelling = true)] + internal extern static void LightModelf(OpenTK.Graphics.ES11.All pname, Single param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLightModelfv", ExactSpelling = true)] + internal extern static unsafe void LightModelfv(OpenTK.Graphics.ES11.All pname, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLightModelx", ExactSpelling = true)] + internal extern static void LightModelx(OpenTK.Graphics.ES11.All pname, int param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLightModelxOES", ExactSpelling = true)] + internal extern static void LightModelxOES(OpenTK.Graphics.ES11.All pname, int param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLightModelxv", ExactSpelling = true)] + internal extern static unsafe void LightModelxv(OpenTK.Graphics.ES11.All pname, int* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLightModelxvOES", ExactSpelling = true)] + internal extern static unsafe void LightModelxvOES(OpenTK.Graphics.ES11.All pname, int* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLightx", ExactSpelling = true)] + internal extern static void Lightx(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, int param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLightxOES", ExactSpelling = true)] + internal extern static void LightxOES(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, int param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLightxv", ExactSpelling = true)] + internal extern static unsafe void Lightxv(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, int* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLightxvOES", ExactSpelling = true)] + internal extern static unsafe void LightxvOES(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, int* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLineWidth", ExactSpelling = true)] + internal extern static void LineWidth(Single width); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLineWidthx", ExactSpelling = true)] + internal extern static void LineWidthx(int width); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLineWidthxOES", ExactSpelling = true)] + internal extern static void LineWidthxOES(int width); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLoadIdentity", ExactSpelling = true)] + internal extern static void LoadIdentity(); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLoadMatrixf", ExactSpelling = true)] + internal extern static unsafe void LoadMatrixf(Single* m); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLoadMatrixx", ExactSpelling = true)] + internal extern static unsafe void LoadMatrixx(int* m); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLoadMatrixxOES", ExactSpelling = true)] + internal extern static unsafe void LoadMatrixxOES(int* m); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLoadPaletteFromModelViewMatrixOES", ExactSpelling = true)] + internal extern static void LoadPaletteFromModelViewMatrixOES(); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLogicOp", ExactSpelling = true)] + internal extern static void LogicOp(OpenTK.Graphics.ES11.All opcode); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMapBufferOES", ExactSpelling = true)] + internal extern static unsafe System.IntPtr MapBufferOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All access); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMaterialf", ExactSpelling = true)] + internal extern static void Materialf(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, Single param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMaterialfv", ExactSpelling = true)] + internal extern static unsafe void Materialfv(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMaterialx", ExactSpelling = true)] + internal extern static void Materialx(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, int param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMaterialxOES", ExactSpelling = true)] + internal extern static void MaterialxOES(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, int param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMaterialxv", ExactSpelling = true)] + internal extern static unsafe void Materialxv(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, int* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMaterialxvOES", ExactSpelling = true)] + internal extern static unsafe void MaterialxvOES(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, int* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixIndexPointerOES", ExactSpelling = true)] + internal extern static void MatrixIndexPointerOES(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixMode", ExactSpelling = true)] + internal extern static void MatrixMode(OpenTK.Graphics.ES11.All mode); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4f", ExactSpelling = true)] + internal extern static void MultiTexCoord4f(OpenTK.Graphics.ES11.All target, Single s, Single t, Single r, Single q); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4x", ExactSpelling = true)] + internal extern static void MultiTexCoord4x(OpenTK.Graphics.ES11.All target, int s, int t, int r, int q); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4xOES", ExactSpelling = true)] + internal extern static void MultiTexCoord4xOES(OpenTK.Graphics.ES11.All target, int s, int t, int r, int q); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultMatrixf", ExactSpelling = true)] + internal extern static unsafe void MultMatrixf(Single* m); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultMatrixx", ExactSpelling = true)] + internal extern static unsafe void MultMatrixx(int* m); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultMatrixxOES", ExactSpelling = true)] + internal extern static unsafe void MultMatrixxOES(int* m); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormal3f", ExactSpelling = true)] + internal extern static void Normal3f(Single nx, Single ny, Single nz); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormal3x", ExactSpelling = true)] + internal extern static void Normal3x(int nx, int ny, int nz); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormal3xOES", ExactSpelling = true)] + internal extern static void Normal3xOES(int nx, int ny, int nz); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormalPointer", ExactSpelling = true)] + internal extern static void NormalPointer(OpenTK.Graphics.ES11.All type, Int32 stride, IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glOrthof", ExactSpelling = true)] + internal extern static void Orthof(Single left, Single right, Single bottom, Single top, Single zNear, Single zFar); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glOrthofOES", ExactSpelling = true)] + internal extern static void OrthofOES(Single left, Single right, Single bottom, Single top, Single zNear, Single zFar); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glOrthox", ExactSpelling = true)] + internal extern static void Orthox(int left, int right, int bottom, int top, int zNear, int zFar); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glOrthoxOES", ExactSpelling = true)] + internal extern static void OrthoxOES(int left, int right, int bottom, int top, int zNear, int zFar); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelStorei", ExactSpelling = true)] + internal extern static void PixelStorei(OpenTK.Graphics.ES11.All pname, Int32 param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointParameterf", ExactSpelling = true)] + internal extern static void PointParameterf(OpenTK.Graphics.ES11.All pname, Single param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointParameterfv", ExactSpelling = true)] + internal extern static unsafe void PointParameterfv(OpenTK.Graphics.ES11.All pname, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointParameterx", ExactSpelling = true)] + internal extern static void PointParameterx(OpenTK.Graphics.ES11.All pname, int param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointParameterxOES", ExactSpelling = true)] + internal extern static void PointParameterxOES(OpenTK.Graphics.ES11.All pname, int param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointParameterxv", ExactSpelling = true)] + internal extern static unsafe void PointParameterxv(OpenTK.Graphics.ES11.All pname, int* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointParameterxvOES", ExactSpelling = true)] + internal extern static unsafe void PointParameterxvOES(OpenTK.Graphics.ES11.All pname, int* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointSize", ExactSpelling = true)] + internal extern static void PointSize(Single size); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointSizePointerOES", ExactSpelling = true)] + internal extern static void PointSizePointerOES(OpenTK.Graphics.ES11.All type, Int32 stride, IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointSizex", ExactSpelling = true)] + internal extern static void PointSizex(int size); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointSizexOES", ExactSpelling = true)] + internal extern static void PointSizexOES(int size); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPolygonOffset", ExactSpelling = true)] + internal extern static void PolygonOffset(Single factor, Single units); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPolygonOffsetx", ExactSpelling = true)] + internal extern static void PolygonOffsetx(int factor, int units); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPolygonOffsetxOES", ExactSpelling = true)] + internal extern static void PolygonOffsetxOES(int factor, int units); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPopMatrix", ExactSpelling = true)] + internal extern static void PopMatrix(); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPushMatrix", ExactSpelling = true)] + internal extern static void PushMatrix(); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glQueryMatrixxOES", ExactSpelling = true)] + internal extern static unsafe Int32 QueryMatrixxOES(int* mantissa, Int32* exponent); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReadPixels", ExactSpelling = true)] + internal extern static void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, IntPtr pixels); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRenderbufferStorageOES", ExactSpelling = true)] + internal extern static void RenderbufferStorageOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRotatef", ExactSpelling = true)] + internal extern static void Rotatef(Single angle, Single x, Single y, Single z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRotatex", ExactSpelling = true)] + internal extern static void Rotatex(int angle, int x, int y, int z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRotatexOES", ExactSpelling = true)] + internal extern static void RotatexOES(int angle, int x, int y, int z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSampleCoverage", ExactSpelling = true)] + internal extern static void SampleCoverage(Single value, bool invert); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSampleCoveragex", ExactSpelling = true)] + internal extern static void SampleCoveragex(int value, bool invert); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSampleCoveragexOES", ExactSpelling = true)] + internal extern static void SampleCoveragexOES(int value, bool invert); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glScalef", ExactSpelling = true)] + internal extern static void Scalef(Single x, Single y, Single z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glScalex", ExactSpelling = true)] + internal extern static void Scalex(int x, int y, int z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glScalexOES", ExactSpelling = true)] + internal extern static void ScalexOES(int x, int y, int z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glScissor", ExactSpelling = true)] + internal extern static void Scissor(Int32 x, Int32 y, Int32 width, Int32 height); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSetFenceNV", ExactSpelling = true)] + internal extern static void SetFenceNV(UInt32 fence, OpenTK.Graphics.ES11.All condition); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glShadeModel", ExactSpelling = true)] + internal extern static void ShadeModel(OpenTK.Graphics.ES11.All mode); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilFunc", ExactSpelling = true)] + internal extern static void StencilFunc(OpenTK.Graphics.ES11.All func, Int32 @ref, UInt32 mask); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilMask", ExactSpelling = true)] + internal extern static void StencilMask(UInt32 mask); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilOp", ExactSpelling = true)] + internal extern static void StencilOp(OpenTK.Graphics.ES11.All fail, OpenTK.Graphics.ES11.All zfail, OpenTK.Graphics.ES11.All zpass); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTestFenceNV", ExactSpelling = true)] + internal extern static bool TestFenceNV(UInt32 fence); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoordPointer", ExactSpelling = true)] + internal extern static void TexCoordPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexEnvf", ExactSpelling = true)] + internal extern static void TexEnvf(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Single param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexEnvfv", ExactSpelling = true)] + internal extern static unsafe void TexEnvfv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexEnvi", ExactSpelling = true)] + internal extern static void TexEnvi(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Int32 param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexEnviv", ExactSpelling = true)] + internal extern static unsafe void TexEnviv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexEnvx", ExactSpelling = true)] + internal extern static void TexEnvx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexEnvxOES", ExactSpelling = true)] + internal extern static void TexEnvxOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexEnvxv", ExactSpelling = true)] + internal extern static unsafe void TexEnvxv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexEnvxvOES", ExactSpelling = true)] + internal extern static unsafe void TexEnvxvOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexGenfOES", ExactSpelling = true)] + internal extern static void TexGenfOES(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, Single param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexGenfvOES", ExactSpelling = true)] + internal extern static unsafe void TexGenfvOES(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexGeniOES", ExactSpelling = true)] + internal extern static void TexGeniOES(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, Int32 param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexGenivOES", ExactSpelling = true)] + internal extern static unsafe void TexGenivOES(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexGenxOES", ExactSpelling = true)] + internal extern static void TexGenxOES(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, int param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexGenxvOES", ExactSpelling = true)] + internal extern static unsafe void TexGenxvOES(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, int* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexImage2D", ExactSpelling = true)] + internal extern static void TexImage2D(OpenTK.Graphics.ES11.All target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, IntPtr pixels); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameterf", ExactSpelling = true)] + internal extern static void TexParameterf(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Single param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameterfv", ExactSpelling = true)] + internal extern static unsafe void TexParameterfv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameteri", ExactSpelling = true)] + internal extern static void TexParameteri(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Int32 param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameteriv", ExactSpelling = true)] + internal extern static unsafe void TexParameteriv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameterx", ExactSpelling = true)] + internal extern static void TexParameterx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameterxOES", ExactSpelling = true)] + internal extern static void TexParameterxOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameterxv", ExactSpelling = true)] + internal extern static unsafe void TexParameterxv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameterxvOES", ExactSpelling = true)] + internal extern static unsafe void TexParameterxvOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexSubImage2D", ExactSpelling = true)] + internal extern static void TexSubImage2D(OpenTK.Graphics.ES11.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, IntPtr pixels); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTranslatef", ExactSpelling = true)] + internal extern static void Translatef(Single x, Single y, Single z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTranslatex", ExactSpelling = true)] + internal extern static void Translatex(int x, int y, int z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTranslatexOES", ExactSpelling = true)] + internal extern static void TranslatexOES(int x, int y, int z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUnmapBufferOES", ExactSpelling = true)] + internal extern static bool UnmapBufferOES(OpenTK.Graphics.ES11.All target); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexPointer", ExactSpelling = true)] + internal extern static void VertexPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glViewport", ExactSpelling = true)] + internal extern static void Viewport(Int32 x, Int32 y, Int32 width, Int32 height); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWeightPointerOES", ExactSpelling = true)] + internal extern static void WeightPointerOES(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, IntPtr pointer); + } + } +} diff --git a/src/MiniTK/Graphics/ES11/Delegates.cs b/src/MiniTK/Graphics/ES11/Delegates.cs new file mode 100644 index 0000000..25979ae --- /dev/null +++ b/src/MiniTK/Graphics/ES11/Delegates.cs @@ -0,0 +1,787 @@ +#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 + +namespace OpenTK.Graphics.ES11 +{ + using System; + using System.Text; + using System.Runtime.InteropServices; + #pragma warning disable 0649 + #pragma warning disable 3019 + #pragma warning disable 1591 + + partial class GL + { + internal static partial class Delegates + { + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ActiveTexture(OpenTK.Graphics.ES11.All texture); + internal static ActiveTexture glActiveTexture; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void AlphaFunc(OpenTK.Graphics.ES11.All func, Single @ref); + internal static AlphaFunc glAlphaFunc; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void AlphaFuncx(OpenTK.Graphics.ES11.All func, int @ref); + internal static AlphaFuncx glAlphaFuncx; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void AlphaFuncxOES(OpenTK.Graphics.ES11.All func, int @ref); + internal static AlphaFuncxOES glAlphaFuncxOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BindBuffer(OpenTK.Graphics.ES11.All target, UInt32 buffer); + internal static BindBuffer glBindBuffer; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BindFramebufferOES(OpenTK.Graphics.ES11.All target, UInt32 framebuffer); + internal static BindFramebufferOES glBindFramebufferOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BindRenderbufferOES(OpenTK.Graphics.ES11.All target, UInt32 renderbuffer); + internal static BindRenderbufferOES glBindRenderbufferOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BindTexture(OpenTK.Graphics.ES11.All target, UInt32 texture); + internal static BindTexture glBindTexture; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BlendEquationOES(OpenTK.Graphics.ES11.All mode); + internal static BlendEquationOES glBlendEquationOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BlendEquationSeparateOES(OpenTK.Graphics.ES11.All modeRGB, OpenTK.Graphics.ES11.All modeAlpha); + internal static BlendEquationSeparateOES glBlendEquationSeparateOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BlendFunc(OpenTK.Graphics.ES11.All sfactor, OpenTK.Graphics.ES11.All dfactor); + internal static BlendFunc glBlendFunc; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BlendFuncSeparateOES(OpenTK.Graphics.ES11.All srcRGB, OpenTK.Graphics.ES11.All dstRGB, OpenTK.Graphics.ES11.All srcAlpha, OpenTK.Graphics.ES11.All dstAlpha); + internal static BlendFuncSeparateOES glBlendFuncSeparateOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BufferData(OpenTK.Graphics.ES11.All target, IntPtr size, IntPtr data, OpenTK.Graphics.ES11.All usage); + internal static BufferData glBufferData; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BufferSubData(OpenTK.Graphics.ES11.All target, IntPtr offset, IntPtr size, IntPtr data); + internal static BufferSubData glBufferSubData; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate OpenTK.Graphics.ES11.All CheckFramebufferStatusOES(OpenTK.Graphics.ES11.All target); + internal static CheckFramebufferStatusOES glCheckFramebufferStatusOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Clear(UInt32 mask); + internal static Clear glClear; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ClearColor(Single red, Single green, Single blue, Single alpha); + internal static ClearColor glClearColor; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ClearColorx(int red, int green, int blue, int alpha); + internal static ClearColorx glClearColorx; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ClearColorxOES(int red, int green, int blue, int alpha); + internal static ClearColorxOES glClearColorxOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ClearDepthf(Single depth); + internal static ClearDepthf glClearDepthf; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ClearDepthfOES(Single depth); + internal static ClearDepthfOES glClearDepthfOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ClearDepthx(int depth); + internal static ClearDepthx glClearDepthx; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ClearDepthxOES(int depth); + internal static ClearDepthxOES glClearDepthxOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ClearStencil(Int32 s); + internal static ClearStencil glClearStencil; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ClientActiveTexture(OpenTK.Graphics.ES11.All texture); + internal static ClientActiveTexture glClientActiveTexture; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ClipPlanef(OpenTK.Graphics.ES11.All plane, Single* equation); + internal unsafe static ClipPlanef glClipPlanef; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ClipPlanefIMG(OpenTK.Graphics.ES11.All p, Single* eqn); + internal unsafe static ClipPlanefIMG glClipPlanefIMG; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ClipPlanefOES(OpenTK.Graphics.ES11.All plane, Single* equation); + internal unsafe static ClipPlanefOES glClipPlanefOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ClipPlanex(OpenTK.Graphics.ES11.All plane, int* equation); + internal unsafe static ClipPlanex glClipPlanex; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ClipPlanexIMG(OpenTK.Graphics.ES11.All p, int* eqn); + internal unsafe static ClipPlanexIMG glClipPlanexIMG; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ClipPlanexOES(OpenTK.Graphics.ES11.All plane, int* equation); + internal unsafe static ClipPlanexOES glClipPlanexOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Color4f(Single red, Single green, Single blue, Single alpha); + internal static Color4f glColor4f; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Color4ub(Byte red, Byte green, Byte blue, Byte alpha); + internal static Color4ub glColor4ub; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Color4x(int red, int green, int blue, int alpha); + internal static Color4x glColor4x; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Color4xOES(int red, int green, int blue, int alpha); + internal static Color4xOES glColor4xOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ColorMask(bool red, bool green, bool blue, bool alpha); + internal static ColorMask glColorMask; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ColorPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, IntPtr pointer); + internal static ColorPointer glColorPointer; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CompressedTexImage2D(OpenTK.Graphics.ES11.All target, Int32 level, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data); + internal static CompressedTexImage2D glCompressedTexImage2D; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CompressedTexSubImage2D(OpenTK.Graphics.ES11.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, Int32 imageSize, IntPtr data); + internal static CompressedTexSubImage2D glCompressedTexSubImage2D; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CopyTexImage2D(OpenTK.Graphics.ES11.All target, Int32 level, OpenTK.Graphics.ES11.All internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border); + internal static CopyTexImage2D glCopyTexImage2D; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CopyTexSubImage2D(OpenTK.Graphics.ES11.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height); + internal static CopyTexSubImage2D glCopyTexSubImage2D; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CullFace(OpenTK.Graphics.ES11.All mode); + internal static CullFace glCullFace; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CurrentPaletteMatrixOES(UInt32 matrixpaletteindex); + internal static CurrentPaletteMatrixOES glCurrentPaletteMatrixOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void DeleteBuffers(Int32 n, UInt32* buffers); + internal unsafe static DeleteBuffers glDeleteBuffers; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void DeleteFencesNV(Int32 n, UInt32* fences); + internal unsafe static DeleteFencesNV glDeleteFencesNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void DeleteFramebuffersOES(Int32 n, UInt32* framebuffers); + internal unsafe static DeleteFramebuffersOES glDeleteFramebuffersOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void DeleteRenderbuffersOES(Int32 n, UInt32* renderbuffers); + internal unsafe static DeleteRenderbuffersOES glDeleteRenderbuffersOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void DeleteTextures(Int32 n, UInt32* textures); + internal unsafe static DeleteTextures glDeleteTextures; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DepthFunc(OpenTK.Graphics.ES11.All func); + internal static DepthFunc glDepthFunc; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DepthMask(bool flag); + internal static DepthMask glDepthMask; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DepthRangef(Single zNear, Single zFar); + internal static DepthRangef glDepthRangef; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DepthRangefOES(Single zNear, Single zFar); + internal static DepthRangefOES glDepthRangefOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DepthRangex(int zNear, int zFar); + internal static DepthRangex glDepthRangex; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DepthRangexOES(int zNear, int zFar); + internal static DepthRangexOES glDepthRangexOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Disable(OpenTK.Graphics.ES11.All cap); + internal static Disable glDisable; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DisableClientState(OpenTK.Graphics.ES11.All array); + internal static DisableClientState glDisableClientState; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DisableDriverControlQCOM(UInt32 driverControl); + internal static DisableDriverControlQCOM glDisableDriverControlQCOM; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DrawArrays(OpenTK.Graphics.ES11.All mode, Int32 first, Int32 count); + internal static DrawArrays glDrawArrays; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DrawElements(OpenTK.Graphics.ES11.All mode, Int32 count, OpenTK.Graphics.ES11.All type, IntPtr indices); + internal static DrawElements glDrawElements; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DrawTexfOES(Single x, Single y, Single z, Single width, Single height); + internal static DrawTexfOES glDrawTexfOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void DrawTexfvOES(Single* coords); + internal unsafe static DrawTexfvOES glDrawTexfvOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DrawTexiOES(Int32 x, Int32 y, Int32 z, Int32 width, Int32 height); + internal static DrawTexiOES glDrawTexiOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void DrawTexivOES(Int32* coords); + internal unsafe static DrawTexivOES glDrawTexivOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DrawTexsOES(Int16 x, Int16 y, Int16 z, Int16 width, Int16 height); + internal static DrawTexsOES glDrawTexsOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void DrawTexsvOES(Int16* coords); + internal unsafe static DrawTexsvOES glDrawTexsvOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DrawTexxOES(int x, int y, int z, int width, int height); + internal static DrawTexxOES glDrawTexxOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void DrawTexxvOES(int* coords); + internal unsafe static DrawTexxvOES glDrawTexxvOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void EGLImageTargetRenderbufferStorageOES(OpenTK.Graphics.ES11.All target, IntPtr image); + internal static EGLImageTargetRenderbufferStorageOES glEGLImageTargetRenderbufferStorageOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void EGLImageTargetTexture2DOES(OpenTK.Graphics.ES11.All target, IntPtr image); + internal static EGLImageTargetTexture2DOES glEGLImageTargetTexture2DOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Enable(OpenTK.Graphics.ES11.All cap); + internal static Enable glEnable; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void EnableClientState(OpenTK.Graphics.ES11.All array); + internal static EnableClientState glEnableClientState; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void EnableDriverControlQCOM(UInt32 driverControl); + internal static EnableDriverControlQCOM glEnableDriverControlQCOM; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Finish(); + internal static Finish glFinish; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void FinishFenceNV(UInt32 fence); + internal static FinishFenceNV glFinishFenceNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Flush(); + internal static Flush glFlush; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Fogf(OpenTK.Graphics.ES11.All pname, Single param); + internal static Fogf glFogf; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Fogfv(OpenTK.Graphics.ES11.All pname, Single* @params); + internal unsafe static Fogfv glFogfv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Fogx(OpenTK.Graphics.ES11.All pname, int param); + internal static Fogx glFogx; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void FogxOES(OpenTK.Graphics.ES11.All pname, int param); + internal static FogxOES glFogxOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Fogxv(OpenTK.Graphics.ES11.All pname, int* @params); + internal unsafe static Fogxv glFogxv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void FogxvOES(OpenTK.Graphics.ES11.All pname, int* @params); + internal unsafe static FogxvOES glFogxvOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void FramebufferRenderbufferOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All attachment, OpenTK.Graphics.ES11.All renderbuffertarget, UInt32 renderbuffer); + internal static FramebufferRenderbufferOES glFramebufferRenderbufferOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void FramebufferTexture2DOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All attachment, OpenTK.Graphics.ES11.All textarget, UInt32 texture, Int32 level); + internal static FramebufferTexture2DOES glFramebufferTexture2DOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void FrontFace(OpenTK.Graphics.ES11.All mode); + internal static FrontFace glFrontFace; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Frustumf(Single left, Single right, Single bottom, Single top, Single zNear, Single zFar); + internal static Frustumf glFrustumf; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void FrustumfOES(Single left, Single right, Single bottom, Single top, Single zNear, Single zFar); + internal static FrustumfOES glFrustumfOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Frustumx(int left, int right, int bottom, int top, int zNear, int zFar); + internal static Frustumx glFrustumx; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void FrustumxOES(int left, int right, int bottom, int top, int zNear, int zFar); + internal static FrustumxOES glFrustumxOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GenBuffers(Int32 n, UInt32* buffers); + internal unsafe static GenBuffers glGenBuffers; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void GenerateMipmapOES(OpenTK.Graphics.ES11.All target); + internal static GenerateMipmapOES glGenerateMipmapOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GenFencesNV(Int32 n, UInt32* fences); + internal unsafe static GenFencesNV glGenFencesNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GenFramebuffersOES(Int32 n, UInt32* framebuffers); + internal unsafe static GenFramebuffersOES glGenFramebuffersOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GenRenderbuffersOES(Int32 n, UInt32* renderbuffers); + internal unsafe static GenRenderbuffersOES glGenRenderbuffersOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GenTextures(Int32 n, UInt32* textures); + internal unsafe static GenTextures glGenTextures; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetBooleanv(OpenTK.Graphics.ES11.All pname, bool* @params); + internal unsafe static GetBooleanv glGetBooleanv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetBufferParameteriv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Int32* @params); + internal unsafe static GetBufferParameteriv glGetBufferParameteriv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void GetBufferPointervOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, IntPtr @params); + internal static GetBufferPointervOES glGetBufferPointervOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetClipPlanef(OpenTK.Graphics.ES11.All pname, Single* eqn); + internal unsafe static GetClipPlanef glGetClipPlanef; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetClipPlanefOES(OpenTK.Graphics.ES11.All pname, Single* eqn); + internal unsafe static GetClipPlanefOES glGetClipPlanefOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetClipPlanex(OpenTK.Graphics.ES11.All pname, int* eqn); + internal unsafe static GetClipPlanex glGetClipPlanex; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetClipPlanexOES(OpenTK.Graphics.ES11.All pname, int* eqn); + internal unsafe static GetClipPlanexOES glGetClipPlanexOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetDriverControlsQCOM(Int32* num, Int32 size, UInt32* driverControls); + internal unsafe static GetDriverControlsQCOM glGetDriverControlsQCOM; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetDriverControlStringQCOM(UInt32 driverControl, Int32 bufSize, Int32* length, String driverControlString); + internal unsafe static GetDriverControlStringQCOM glGetDriverControlStringQCOM; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate OpenTK.Graphics.ES11.All GetError(); + internal static GetError glGetError; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetFenceivNV(UInt32 fence, OpenTK.Graphics.ES11.All pname, Int32* @params); + internal unsafe static GetFenceivNV glGetFenceivNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetFixedv(OpenTK.Graphics.ES11.All pname, int* @params); + internal unsafe static GetFixedv glGetFixedv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetFixedvOES(OpenTK.Graphics.ES11.All pname, int* @params); + internal unsafe static GetFixedvOES glGetFixedvOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetFloatv(OpenTK.Graphics.ES11.All pname, Single* @params); + internal unsafe static GetFloatv glGetFloatv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetFramebufferAttachmentParameterivOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All attachment, OpenTK.Graphics.ES11.All pname, Int32* @params); + internal unsafe static GetFramebufferAttachmentParameterivOES glGetFramebufferAttachmentParameterivOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetIntegerv(OpenTK.Graphics.ES11.All pname, Int32* @params); + internal unsafe static GetIntegerv glGetIntegerv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetLightfv(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, Single* @params); + internal unsafe static GetLightfv glGetLightfv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetLightxv(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, int* @params); + internal unsafe static GetLightxv glGetLightxv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetLightxvOES(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, int* @params); + internal unsafe static GetLightxvOES glGetLightxvOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetMaterialfv(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, Single* @params); + internal unsafe static GetMaterialfv glGetMaterialfv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetMaterialxv(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, int* @params); + internal unsafe static GetMaterialxv glGetMaterialxv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetMaterialxvOES(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, int* @params); + internal unsafe static GetMaterialxvOES glGetMaterialxvOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void GetPointerv(OpenTK.Graphics.ES11.All pname, IntPtr @params); + internal static GetPointerv glGetPointerv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetRenderbufferParameterivOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Int32* @params); + internal unsafe static GetRenderbufferParameterivOES glGetRenderbufferParameterivOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate System.IntPtr GetString(OpenTK.Graphics.ES11.All name); + internal unsafe static GetString glGetString; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetTexEnvfv(OpenTK.Graphics.ES11.All env, OpenTK.Graphics.ES11.All pname, Single* @params); + internal unsafe static GetTexEnvfv glGetTexEnvfv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetTexEnviv(OpenTK.Graphics.ES11.All env, OpenTK.Graphics.ES11.All pname, Int32* @params); + internal unsafe static GetTexEnviv glGetTexEnviv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetTexEnvxv(OpenTK.Graphics.ES11.All env, OpenTK.Graphics.ES11.All pname, int* @params); + internal unsafe static GetTexEnvxv glGetTexEnvxv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetTexEnvxvOES(OpenTK.Graphics.ES11.All env, OpenTK.Graphics.ES11.All pname, int* @params); + internal unsafe static GetTexEnvxvOES glGetTexEnvxvOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetTexGenfvOES(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, Single* @params); + internal unsafe static GetTexGenfvOES glGetTexGenfvOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetTexGenivOES(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, Int32* @params); + internal unsafe static GetTexGenivOES glGetTexGenivOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetTexGenxvOES(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, int* @params); + internal unsafe static GetTexGenxvOES glGetTexGenxvOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetTexParameterfv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Single* @params); + internal unsafe static GetTexParameterfv glGetTexParameterfv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetTexParameteriv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Int32* @params); + internal unsafe static GetTexParameteriv glGetTexParameteriv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetTexParameterxv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int* @params); + internal unsafe static GetTexParameterxv glGetTexParameterxv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetTexParameterxvOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int* @params); + internal unsafe static GetTexParameterxvOES glGetTexParameterxvOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Hint(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All mode); + internal static Hint glHint; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate bool IsBuffer(UInt32 buffer); + internal static IsBuffer glIsBuffer; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate bool IsEnabled(OpenTK.Graphics.ES11.All cap); + internal static IsEnabled glIsEnabled; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate bool IsFenceNV(UInt32 fence); + internal static IsFenceNV glIsFenceNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate bool IsFramebufferOES(UInt32 framebuffer); + internal static IsFramebufferOES glIsFramebufferOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate bool IsRenderbufferOES(UInt32 renderbuffer); + internal static IsRenderbufferOES glIsRenderbufferOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate bool IsTexture(UInt32 texture); + internal static IsTexture glIsTexture; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Lightf(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, Single param); + internal static Lightf glLightf; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Lightfv(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, Single* @params); + internal unsafe static Lightfv glLightfv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void LightModelf(OpenTK.Graphics.ES11.All pname, Single param); + internal static LightModelf glLightModelf; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void LightModelfv(OpenTK.Graphics.ES11.All pname, Single* @params); + internal unsafe static LightModelfv glLightModelfv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void LightModelx(OpenTK.Graphics.ES11.All pname, int param); + internal static LightModelx glLightModelx; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void LightModelxOES(OpenTK.Graphics.ES11.All pname, int param); + internal static LightModelxOES glLightModelxOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void LightModelxv(OpenTK.Graphics.ES11.All pname, int* @params); + internal unsafe static LightModelxv glLightModelxv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void LightModelxvOES(OpenTK.Graphics.ES11.All pname, int* @params); + internal unsafe static LightModelxvOES glLightModelxvOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Lightx(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, int param); + internal static Lightx glLightx; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void LightxOES(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, int param); + internal static LightxOES glLightxOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Lightxv(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, int* @params); + internal unsafe static Lightxv glLightxv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void LightxvOES(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, int* @params); + internal unsafe static LightxvOES glLightxvOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void LineWidth(Single width); + internal static LineWidth glLineWidth; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void LineWidthx(int width); + internal static LineWidthx glLineWidthx; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void LineWidthxOES(int width); + internal static LineWidthxOES glLineWidthxOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void LoadIdentity(); + internal static LoadIdentity glLoadIdentity; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void LoadMatrixf(Single* m); + internal unsafe static LoadMatrixf glLoadMatrixf; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void LoadMatrixx(int* m); + internal unsafe static LoadMatrixx glLoadMatrixx; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void LoadMatrixxOES(int* m); + internal unsafe static LoadMatrixxOES glLoadMatrixxOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void LoadPaletteFromModelViewMatrixOES(); + internal static LoadPaletteFromModelViewMatrixOES glLoadPaletteFromModelViewMatrixOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void LogicOp(OpenTK.Graphics.ES11.All opcode); + internal static LogicOp glLogicOp; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate System.IntPtr MapBufferOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All access); + internal unsafe static MapBufferOES glMapBufferOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Materialf(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, Single param); + internal static Materialf glMaterialf; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Materialfv(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, Single* @params); + internal unsafe static Materialfv glMaterialfv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Materialx(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, int param); + internal static Materialx glMaterialx; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MaterialxOES(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, int param); + internal static MaterialxOES glMaterialxOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Materialxv(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, int* @params); + internal unsafe static Materialxv glMaterialxv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MaterialxvOES(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, int* @params); + internal unsafe static MaterialxvOES glMaterialxvOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MatrixIndexPointerOES(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, IntPtr pointer); + internal static MatrixIndexPointerOES glMatrixIndexPointerOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MatrixMode(OpenTK.Graphics.ES11.All mode); + internal static MatrixMode glMatrixMode; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MultiTexCoord4f(OpenTK.Graphics.ES11.All target, Single s, Single t, Single r, Single q); + internal static MultiTexCoord4f glMultiTexCoord4f; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MultiTexCoord4x(OpenTK.Graphics.ES11.All target, int s, int t, int r, int q); + internal static MultiTexCoord4x glMultiTexCoord4x; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MultiTexCoord4xOES(OpenTK.Graphics.ES11.All target, int s, int t, int r, int q); + internal static MultiTexCoord4xOES glMultiTexCoord4xOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MultMatrixf(Single* m); + internal unsafe static MultMatrixf glMultMatrixf; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MultMatrixx(int* m); + internal unsafe static MultMatrixx glMultMatrixx; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MultMatrixxOES(int* m); + internal unsafe static MultMatrixxOES glMultMatrixxOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Normal3f(Single nx, Single ny, Single nz); + internal static Normal3f glNormal3f; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Normal3x(int nx, int ny, int nz); + internal static Normal3x glNormal3x; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Normal3xOES(int nx, int ny, int nz); + internal static Normal3xOES glNormal3xOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void NormalPointer(OpenTK.Graphics.ES11.All type, Int32 stride, IntPtr pointer); + internal static NormalPointer glNormalPointer; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Orthof(Single left, Single right, Single bottom, Single top, Single zNear, Single zFar); + internal static Orthof glOrthof; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void OrthofOES(Single left, Single right, Single bottom, Single top, Single zNear, Single zFar); + internal static OrthofOES glOrthofOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Orthox(int left, int right, int bottom, int top, int zNear, int zFar); + internal static Orthox glOrthox; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void OrthoxOES(int left, int right, int bottom, int top, int zNear, int zFar); + internal static OrthoxOES glOrthoxOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void PixelStorei(OpenTK.Graphics.ES11.All pname, Int32 param); + internal static PixelStorei glPixelStorei; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void PointParameterf(OpenTK.Graphics.ES11.All pname, Single param); + internal static PointParameterf glPointParameterf; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void PointParameterfv(OpenTK.Graphics.ES11.All pname, Single* @params); + internal unsafe static PointParameterfv glPointParameterfv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void PointParameterx(OpenTK.Graphics.ES11.All pname, int param); + internal static PointParameterx glPointParameterx; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void PointParameterxOES(OpenTK.Graphics.ES11.All pname, int param); + internal static PointParameterxOES glPointParameterxOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void PointParameterxv(OpenTK.Graphics.ES11.All pname, int* @params); + internal unsafe static PointParameterxv glPointParameterxv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void PointParameterxvOES(OpenTK.Graphics.ES11.All pname, int* @params); + internal unsafe static PointParameterxvOES glPointParameterxvOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void PointSize(Single size); + internal static PointSize glPointSize; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void PointSizePointerOES(OpenTK.Graphics.ES11.All type, Int32 stride, IntPtr pointer); + internal static PointSizePointerOES glPointSizePointerOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void PointSizex(int size); + internal static PointSizex glPointSizex; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void PointSizexOES(int size); + internal static PointSizexOES glPointSizexOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void PolygonOffset(Single factor, Single units); + internal static PolygonOffset glPolygonOffset; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void PolygonOffsetx(int factor, int units); + internal static PolygonOffsetx glPolygonOffsetx; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void PolygonOffsetxOES(int factor, int units); + internal static PolygonOffsetxOES glPolygonOffsetxOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void PopMatrix(); + internal static PopMatrix glPopMatrix; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void PushMatrix(); + internal static PushMatrix glPushMatrix; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate Int32 QueryMatrixxOES(int* mantissa, Int32* exponent); + internal unsafe static QueryMatrixxOES glQueryMatrixxOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, IntPtr pixels); + internal static ReadPixels glReadPixels; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void RenderbufferStorageOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height); + internal static RenderbufferStorageOES glRenderbufferStorageOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Rotatef(Single angle, Single x, Single y, Single z); + internal static Rotatef glRotatef; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Rotatex(int angle, int x, int y, int z); + internal static Rotatex glRotatex; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void RotatexOES(int angle, int x, int y, int z); + internal static RotatexOES glRotatexOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void SampleCoverage(Single value, bool invert); + internal static SampleCoverage glSampleCoverage; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void SampleCoveragex(int value, bool invert); + internal static SampleCoveragex glSampleCoveragex; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void SampleCoveragexOES(int value, bool invert); + internal static SampleCoveragexOES glSampleCoveragexOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Scalef(Single x, Single y, Single z); + internal static Scalef glScalef; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Scalex(int x, int y, int z); + internal static Scalex glScalex; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ScalexOES(int x, int y, int z); + internal static ScalexOES glScalexOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Scissor(Int32 x, Int32 y, Int32 width, Int32 height); + internal static Scissor glScissor; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void SetFenceNV(UInt32 fence, OpenTK.Graphics.ES11.All condition); + internal static SetFenceNV glSetFenceNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ShadeModel(OpenTK.Graphics.ES11.All mode); + internal static ShadeModel glShadeModel; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void StencilFunc(OpenTK.Graphics.ES11.All func, Int32 @ref, UInt32 mask); + internal static StencilFunc glStencilFunc; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void StencilMask(UInt32 mask); + internal static StencilMask glStencilMask; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void StencilOp(OpenTK.Graphics.ES11.All fail, OpenTK.Graphics.ES11.All zfail, OpenTK.Graphics.ES11.All zpass); + internal static StencilOp glStencilOp; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate bool TestFenceNV(UInt32 fence); + internal static TestFenceNV glTestFenceNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexCoordPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, IntPtr pointer); + internal static TexCoordPointer glTexCoordPointer; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexEnvf(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Single param); + internal static TexEnvf glTexEnvf; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void TexEnvfv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Single* @params); + internal unsafe static TexEnvfv glTexEnvfv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexEnvi(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Int32 param); + internal static TexEnvi glTexEnvi; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void TexEnviv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Int32* @params); + internal unsafe static TexEnviv glTexEnviv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexEnvx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int param); + internal static TexEnvx glTexEnvx; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexEnvxOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int param); + internal static TexEnvxOES glTexEnvxOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void TexEnvxv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int* @params); + internal unsafe static TexEnvxv glTexEnvxv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void TexEnvxvOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int* @params); + internal unsafe static TexEnvxvOES glTexEnvxvOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexGenfOES(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, Single param); + internal static TexGenfOES glTexGenfOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void TexGenfvOES(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, Single* @params); + internal unsafe static TexGenfvOES glTexGenfvOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexGeniOES(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, Int32 param); + internal static TexGeniOES glTexGeniOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void TexGenivOES(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, Int32* @params); + internal unsafe static TexGenivOES glTexGenivOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexGenxOES(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, int param); + internal static TexGenxOES glTexGenxOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void TexGenxvOES(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, int* @params); + internal unsafe static TexGenxvOES glTexGenxvOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexImage2D(OpenTK.Graphics.ES11.All target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, IntPtr pixels); + internal static TexImage2D glTexImage2D; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexParameterf(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Single param); + internal static TexParameterf glTexParameterf; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void TexParameterfv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Single* @params); + internal unsafe static TexParameterfv glTexParameterfv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexParameteri(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Int32 param); + internal static TexParameteri glTexParameteri; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void TexParameteriv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Int32* @params); + internal unsafe static TexParameteriv glTexParameteriv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexParameterx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int param); + internal static TexParameterx glTexParameterx; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexParameterxOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int param); + internal static TexParameterxOES glTexParameterxOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void TexParameterxv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int* @params); + internal unsafe static TexParameterxv glTexParameterxv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void TexParameterxvOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int* @params); + internal unsafe static TexParameterxvOES glTexParameterxvOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexSubImage2D(OpenTK.Graphics.ES11.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, IntPtr pixels); + internal static TexSubImage2D glTexSubImage2D; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Translatef(Single x, Single y, Single z); + internal static Translatef glTranslatef; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Translatex(int x, int y, int z); + internal static Translatex glTranslatex; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TranslatexOES(int x, int y, int z); + internal static TranslatexOES glTranslatexOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate bool UnmapBufferOES(OpenTK.Graphics.ES11.All target); + internal static UnmapBufferOES glUnmapBufferOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, IntPtr pointer); + internal static VertexPointer glVertexPointer; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Viewport(Int32 x, Int32 y, Int32 width, Int32 height); + internal static Viewport glViewport; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void WeightPointerOES(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, IntPtr pointer); + internal static WeightPointerOES glWeightPointerOES; + } + } +} diff --git a/src/MiniTK/Graphics/ES11/ES.cs b/src/MiniTK/Graphics/ES11/ES.cs new file mode 100644 index 0000000..3fa0e71 --- /dev/null +++ b/src/MiniTK/Graphics/ES11/ES.cs @@ -0,0 +1,14496 @@ +#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 + +// flibit added this! +#pragma warning disable 3021 + +namespace OpenTK.Graphics.ES11 +{ + using System; + using System.Text; + using System.Runtime.InteropServices; + #pragma warning disable 3019 + #pragma warning disable 1591 + #pragma warning disable 1572 + #pragma warning disable 1573 + + partial class GL + { + + + /// [requires: v1.1 and 1.1] + /// Select active texture unit + /// + /// + /// + /// 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_TEXTUREi, where i ranges from 0 (GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS - 1). The initial value is GL_TEXTURE0. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glActiveTexture")] + public static + void ActiveTexture(OpenTK.Graphics.ES11.All texture) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glActiveTexture((OpenTK.Graphics.ES11.All)texture); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Specify the alpha test function + /// + /// + /// + /// Specifies the alpha comparison function. Symbolic constants GL_NEVER, GL_LESS, GL_EQUAL, GL_LEQUAL, GL_GREATER, GL_NOTEQUAL, GL_GEQUAL, and GL_ALWAYS are accepted. The initial value is GL_ALWAYS. + /// + /// + /// + /// + /// Specifies the reference value that incoming alpha values are compared to. This value is clamped to the range [0,1], where 0 represents the lowest possible alpha value and 1 the highest possible value. The initial reference value is 0. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glAlphaFunc")] + public static + void AlphaFunc(OpenTK.Graphics.ES11.All func, Single @ref) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glAlphaFunc((OpenTK.Graphics.ES11.All)func, (Single)@ref); + #if DEBUG + } + #endif + } + + /// [requires: v1.1 and 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glAlphaFuncx")] + public static + void AlphaFuncx(OpenTK.Graphics.ES11.All func, int @ref) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glAlphaFuncx((OpenTK.Graphics.ES11.All)func, (int)@ref); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Bind a named buffer object + /// + /// + /// + /// Specifies the target to which the buffer object is bound. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER. + /// + /// + /// + /// + /// Specifies the name of a buffer object. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glBindBuffer")] + public static + void BindBuffer(OpenTK.Graphics.ES11.All target, Int32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindBuffer((OpenTK.Graphics.ES11.All)target, (UInt32)buffer); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Bind a named buffer object + /// + /// + /// + /// Specifies the target to which the buffer object is bound. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER. + /// + /// + /// + /// + /// Specifies the name of a buffer object. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glBindBuffer")] + public static + void BindBuffer(OpenTK.Graphics.ES11.All target, UInt32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindBuffer((OpenTK.Graphics.ES11.All)target, (UInt32)buffer); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Bind a named texture to a texturing target + /// + /// + /// + /// Specifies the target to which the texture is bound. Must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, or GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, GL_TEXTURE_CUBE_MAP, GL_TEXTURE_2D_MULTISAMPLE or GL_TEXTURE_2D_MULTISAMPLE_ARRAY. + /// + /// + /// + /// + /// Specifies the name of a texture. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glBindTexture")] + public static + void BindTexture(OpenTK.Graphics.ES11.All target, Int32 texture) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindTexture((OpenTK.Graphics.ES11.All)target, (UInt32)texture); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Bind a named texture to a texturing target + /// + /// + /// + /// Specifies the target to which the texture is bound. Must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, or GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, GL_TEXTURE_CUBE_MAP, GL_TEXTURE_2D_MULTISAMPLE or GL_TEXTURE_2D_MULTISAMPLE_ARRAY. + /// + /// + /// + /// + /// Specifies the name of a texture. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glBindTexture")] + public static + void BindTexture(OpenTK.Graphics.ES11.All target, UInt32 texture) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindTexture((OpenTK.Graphics.ES11.All)target, (UInt32)texture); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Specify pixel arithmetic + /// + /// + /// + /// Specifies how the red, green, blue, and alpha source blending factors are computed. The initial value is GL_ONE. + /// + /// + /// + /// + /// Specifies how the red, green, blue, and alpha destination blending factors are computed. The following symbolic constants are accepted: GL_ZERO, GL_ONE, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_DST_COLOR, GL_ONE_MINUS_DST_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_DST_ALPHA, GL_ONE_MINUS_DST_ALPHA. GL_CONSTANT_COLOR, GL_ONE_MINUS_CONSTANT_COLOR, GL_CONSTANT_ALPHA, and GL_ONE_MINUS_CONSTANT_ALPHA. The initial value is GL_ZERO. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glBlendFunc")] + public static + void BlendFunc(OpenTK.Graphics.ES11.All sfactor, OpenTK.Graphics.ES11.All dfactor) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBlendFunc((OpenTK.Graphics.ES11.All)sfactor, (OpenTK.Graphics.ES11.All)dfactor); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Creates and initializes a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_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 = "1.1", Version = "1.1", EntryPoint = "glBufferData")] + public static + void BufferData(OpenTK.Graphics.ES11.All target, IntPtr size, IntPtr data, OpenTK.Graphics.ES11.All usage) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBufferData((OpenTK.Graphics.ES11.All)target, (IntPtr)size, (IntPtr)data, (OpenTK.Graphics.ES11.All)usage); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Creates and initializes a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_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 = "1.1", Version = "1.1", EntryPoint = "glBufferData")] + public static + void BufferData(OpenTK.Graphics.ES11.All target, IntPtr size, [InAttribute, OutAttribute] T2[] data, OpenTK.Graphics.ES11.All usage) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glBufferData((OpenTK.Graphics.ES11.All)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES11.All)usage); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Creates and initializes a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_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 = "1.1", Version = "1.1", EntryPoint = "glBufferData")] + public static + void BufferData(OpenTK.Graphics.ES11.All target, IntPtr size, [InAttribute, OutAttribute] T2[,] data, OpenTK.Graphics.ES11.All usage) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glBufferData((OpenTK.Graphics.ES11.All)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES11.All)usage); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Creates and initializes a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_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 = "1.1", Version = "1.1", EntryPoint = "glBufferData")] + public static + void BufferData(OpenTK.Graphics.ES11.All target, IntPtr size, [InAttribute, OutAttribute] T2[,,] data, OpenTK.Graphics.ES11.All usage) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glBufferData((OpenTK.Graphics.ES11.All)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES11.All)usage); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Creates and initializes a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_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 = "1.1", Version = "1.1", EntryPoint = "glBufferData")] + public static + void BufferData(OpenTK.Graphics.ES11.All target, IntPtr size, [InAttribute, OutAttribute] ref T2 data, OpenTK.Graphics.ES11.All usage) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glBufferData((OpenTK.Graphics.ES11.All)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES11.All)usage); + data = (T2)data_ptr.Target; + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Updates a subset of a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_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 = "1.1", Version = "1.1", EntryPoint = "glBufferSubData")] + public static + void BufferSubData(OpenTK.Graphics.ES11.All target, IntPtr offset, IntPtr size, IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBufferSubData((OpenTK.Graphics.ES11.All)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Updates a subset of a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_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 = "1.1", Version = "1.1", EntryPoint = "glBufferSubData")] + public static + void BufferSubData(OpenTK.Graphics.ES11.All target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glBufferSubData((OpenTK.Graphics.ES11.All)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Updates a subset of a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_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 = "1.1", Version = "1.1", EntryPoint = "glBufferSubData")] + public static + void BufferSubData(OpenTK.Graphics.ES11.All target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glBufferSubData((OpenTK.Graphics.ES11.All)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Updates a subset of a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_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 = "1.1", Version = "1.1", EntryPoint = "glBufferSubData")] + public static + void BufferSubData(OpenTK.Graphics.ES11.All target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,,] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glBufferSubData((OpenTK.Graphics.ES11.All)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Updates a subset of a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_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 = "1.1", Version = "1.1", EntryPoint = "glBufferSubData")] + public static + void BufferSubData(OpenTK.Graphics.ES11.All target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] ref T3 data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glBufferSubData((OpenTK.Graphics.ES11.All)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + data = (T3)data_ptr.Target; + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Clear buffers to preset values + /// + /// + /// + /// Bitwise OR of masks that indicate the buffers to be cleared. The three masks are GL_COLOR_BUFFER_BIT, GL_DEPTH_BUFFER_BIT, and GL_STENCIL_BUFFER_BIT. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glClear")] + public static + void Clear(Int32 mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glClear((UInt32)mask); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Clear buffers to preset values + /// + /// + /// + /// Bitwise OR of masks that indicate the buffers to be cleared. The three masks are GL_COLOR_BUFFER_BIT, GL_DEPTH_BUFFER_BIT, and GL_STENCIL_BUFFER_BIT. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glClear")] + public static + void Clear(UInt32 mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glClear((UInt32)mask); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Specify clear values for the color buffers + /// + /// + /// + /// Specify the red, green, blue, and alpha values used when the color buffers are cleared. The initial values are all 0. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glClearColor")] + public static + void ClearColor(Single red, Single green, Single blue, Single alpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glClearColor((Single)red, (Single)green, (Single)blue, (Single)alpha); + #if DEBUG + } + #endif + } + + /// [requires: v1.1 and 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glClearColorx")] + public static + void ClearColorx(int red, int green, int blue, int alpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glClearColorx((int)red, (int)green, (int)blue, (int)alpha); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Specify the clear value for the depth buffer + /// + /// + /// + /// Specifies the depth value used when the depth buffer is cleared. The initial value is 1. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glClearDepthf")] + public static + void ClearDepth(Single depth) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glClearDepthf((Single)depth); + #if DEBUG + } + #endif + } + + /// [requires: v1.1 and 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glClearDepthx")] + public static + void ClearDepthx(int depth) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glClearDepthx((int)depth); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Specify the clear value for the stencil buffer + /// + /// + /// + /// Specifies the index used when the stencil buffer is cleared. The initial value is 0. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glClearStencil")] + public static + void ClearStencil(Int32 s) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glClearStencil((Int32)s); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Select active texture unit + /// + /// + /// + /// 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 = "1.1", Version = "1.1", EntryPoint = "glClientActiveTexture")] + public static + void ClientActiveTexture(OpenTK.Graphics.ES11.All texture) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glClientActiveTexture((OpenTK.Graphics.ES11.All)texture); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Specify a plane against which all geometry is clipped + /// + /// + /// + /// Specifies which clipping plane is being positioned. Symbolic names of the form GL_CLIP_PLANEi, where i is an integer between 0 and GL_MAX_CLIP_PLANES - 1, are accepted. + /// + /// + /// + /// + /// Specifies the address of an array of four double-precision floating-point values. These values are interpreted as a plane equation. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glClipPlanef")] + public static + void ClipPlane(OpenTK.Graphics.ES11.All plane, Single[] equation) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* equation_ptr = equation) + { + Delegates.glClipPlanef((OpenTK.Graphics.ES11.All)plane, (Single*)equation_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Specify a plane against which all geometry is clipped + /// + /// + /// + /// Specifies which clipping plane is being positioned. Symbolic names of the form GL_CLIP_PLANEi, where i is an integer between 0 and GL_MAX_CLIP_PLANES - 1, are accepted. + /// + /// + /// + /// + /// Specifies the address of an array of four double-precision floating-point values. These values are interpreted as a plane equation. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glClipPlanef")] + public static + void ClipPlane(OpenTK.Graphics.ES11.All plane, ref Single equation) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* equation_ptr = &equation) + { + Delegates.glClipPlanef((OpenTK.Graphics.ES11.All)plane, (Single*)equation_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Specify a plane against which all geometry is clipped + /// + /// + /// + /// Specifies which clipping plane is being positioned. Symbolic names of the form GL_CLIP_PLANEi, where i is an integer between 0 and GL_MAX_CLIP_PLANES - 1, are accepted. + /// + /// + /// + /// + /// Specifies the address of an array of four double-precision floating-point values. These values are interpreted as a plane equation. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glClipPlanef")] + public static + unsafe void ClipPlane(OpenTK.Graphics.ES11.All plane, Single* equation) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glClipPlanef((OpenTK.Graphics.ES11.All)plane, (Single*)equation); + #if DEBUG + } + #endif + } + + /// [requires: v1.1 and 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glClipPlanefIMG")] + public static + void ClipPlanefIMG(OpenTK.Graphics.ES11.All p, Single[] eqn) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* eqn_ptr = eqn) + { + Delegates.glClipPlanefIMG((OpenTK.Graphics.ES11.All)p, (Single*)eqn_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v1.1 and 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glClipPlanefIMG")] + public static + void ClipPlanefIMG(OpenTK.Graphics.ES11.All p, ref Single eqn) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* eqn_ptr = &eqn) + { + Delegates.glClipPlanefIMG((OpenTK.Graphics.ES11.All)p, (Single*)eqn_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v1.1 and 1.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glClipPlanefIMG")] + public static + unsafe void ClipPlanefIMG(OpenTK.Graphics.ES11.All p, Single* eqn) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glClipPlanefIMG((OpenTK.Graphics.ES11.All)p, (Single*)eqn); + #if DEBUG + } + #endif + } + + /// [requires: v1.1 and 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glClipPlanex")] + public static + void ClipPlanex(OpenTK.Graphics.ES11.All plane, int[] equation) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (int* equation_ptr = equation) + { + Delegates.glClipPlanex((OpenTK.Graphics.ES11.All)plane, (int*)equation_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v1.1 and 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glClipPlanex")] + public static + void ClipPlanex(OpenTK.Graphics.ES11.All plane, ref int equation) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (int* equation_ptr = &equation) + { + Delegates.glClipPlanex((OpenTK.Graphics.ES11.All)plane, (int*)equation_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v1.1 and 1.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glClipPlanex")] + public static + unsafe void ClipPlanex(OpenTK.Graphics.ES11.All plane, int* equation) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glClipPlanex((OpenTK.Graphics.ES11.All)plane, (int*)equation); + #if DEBUG + } + #endif + } + + /// [requires: v1.1 and 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glClipPlanexIMG")] + public static + void ClipPlanexIMG(OpenTK.Graphics.ES11.All p, int[] eqn) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (int* eqn_ptr = eqn) + { + Delegates.glClipPlanexIMG((OpenTK.Graphics.ES11.All)p, (int*)eqn_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v1.1 and 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glClipPlanexIMG")] + public static + void ClipPlanexIMG(OpenTK.Graphics.ES11.All p, ref int eqn) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (int* eqn_ptr = &eqn) + { + Delegates.glClipPlanexIMG((OpenTK.Graphics.ES11.All)p, (int*)eqn_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v1.1 and 1.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glClipPlanexIMG")] + public static + unsafe void ClipPlanexIMG(OpenTK.Graphics.ES11.All p, int* eqn) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glClipPlanexIMG((OpenTK.Graphics.ES11.All)p, (int*)eqn); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glColor4f")] + public static + void Color4(Single red, Single green, Single blue, Single alpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor4f((Single)red, (Single)green, (Single)blue, (Single)alpha); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glColor4ub")] + public static + void Color4(Byte red, Byte green, Byte blue, Byte alpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor4ub((Byte)red, (Byte)green, (Byte)blue, (Byte)alpha); + #if DEBUG + } + #endif + } + + /// [requires: v1.1 and 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glColor4x")] + public static + void Color4x(int red, int green, int blue, int alpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor4x((int)red, (int)green, (int)blue, (int)alpha); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Enable and disable writing of frame buffer color components + /// + /// + /// + /// Specify whether red, green, blue, and alpha can or cannot be written into the frame buffer. The initial values are all GL_TRUE, indicating that the color components can be written. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glColorMask")] + public static + void ColorMask(bool red, bool green, bool blue, bool alpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColorMask((bool)red, (bool)green, (bool)blue, (bool)alpha); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Define an array of colors + /// + /// + /// + /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glColorPointer")] + public static + void ColorPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColorPointer((Int32)size, (OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Define an array of colors + /// + /// + /// + /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glColorPointer")] + public static + void ColorPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] T3[] pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glColorPointer((Int32)size, (OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Define an array of colors + /// + /// + /// + /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glColorPointer")] + public static + void ColorPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] T3[,] pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glColorPointer((Int32)size, (OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Define an array of colors + /// + /// + /// + /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glColorPointer")] + public static + void ColorPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] T3[,,] pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glColorPointer((Int32)size, (OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Define an array of colors + /// + /// + /// + /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glColorPointer")] + public static + void ColorPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] ref T3 pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glColorPointer((Int32)size, (OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + pointer = (T3)pointer_ptr.Target; + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// 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_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, 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. 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. 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. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// 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 = "1.1", Version = "1.1", EntryPoint = "glCompressedTexImage2D")] + public static + void CompressedTexImage2D(OpenTK.Graphics.ES11.All target, Int32 level, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES11.All)target, (Int32)level, (OpenTK.Graphics.ES11.All)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// 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_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, 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. 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. 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. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// 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 = "1.1", Version = "1.1", EntryPoint = "glCompressedTexImage2D")] + public static + void CompressedTexImage2D(OpenTK.Graphics.ES11.All target, Int32 level, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[] data) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES11.All)target, (Int32)level, (OpenTK.Graphics.ES11.All)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// 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_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, 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. 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. 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. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// 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 = "1.1", Version = "1.1", EntryPoint = "glCompressedTexImage2D")] + public static + void CompressedTexImage2D(OpenTK.Graphics.ES11.All target, Int32 level, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,] data) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES11.All)target, (Int32)level, (OpenTK.Graphics.ES11.All)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// 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_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, 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. 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. 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. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// 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 = "1.1", Version = "1.1", EntryPoint = "glCompressedTexImage2D")] + public static + void CompressedTexImage2D(OpenTK.Graphics.ES11.All target, Int32 level, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,,] data) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES11.All)target, (Int32)level, (OpenTK.Graphics.ES11.All)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// 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_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, 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. 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. 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. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// 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 = "1.1", Version = "1.1", EntryPoint = "glCompressedTexImage2D")] + public static + void CompressedTexImage2D(OpenTK.Graphics.ES11.All target, Int32 level, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T7 data) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES11.All)target, (Int32)level, (OpenTK.Graphics.ES11.All)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + data = (T7)data_ptr.Target; + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// 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 = "1.1", Version = "1.1", EntryPoint = "glCompressedTexSubImage2D")] + public static + void CompressedTexSubImage2D(OpenTK.Graphics.ES11.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, Int32 imageSize, IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES11.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.All)format, (Int32)imageSize, (IntPtr)data); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// 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 = "1.1", Version = "1.1", EntryPoint = "glCompressedTexSubImage2D")] + public static + void CompressedTexSubImage2D(OpenTK.Graphics.ES11.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, Int32 imageSize, [InAttribute, OutAttribute] T8[] data) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES11.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.All)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// 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 = "1.1", Version = "1.1", EntryPoint = "glCompressedTexSubImage2D")] + public static + void CompressedTexSubImage2D(OpenTK.Graphics.ES11.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, Int32 imageSize, [InAttribute, OutAttribute] T8[,] data) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES11.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.All)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// 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 = "1.1", Version = "1.1", EntryPoint = "glCompressedTexSubImage2D")] + public static + void CompressedTexSubImage2D(OpenTK.Graphics.ES11.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, Int32 imageSize, [InAttribute, OutAttribute] T8[,,] data) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES11.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.All)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// 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 = "1.1", Version = "1.1", EntryPoint = "glCompressedTexSubImage2D")] + public static + void CompressedTexSubImage2D(OpenTK.Graphics.ES11.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, Int32 imageSize, [InAttribute, OutAttribute] ref T8 data) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES11.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.All)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + data = (T8)data_ptr.Target; + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Copy pixels into a 2D texture image + /// + /// + /// + /// 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 the internal format of the texture. Must be one of the following symbolic constants: GL_COMPRESSED_RED, GL_COMPRESSED_RG, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA. GL_COMPRESSED_SRGB, GL_COMPRESSED_SRGB_ALPHA. GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_RED, GL_RG, GL_RGB, GL_R3_G3_B2, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. + /// + /// + /// + /// + /// Specify the window coordinates of the lower left corner of the rectangular region of pixels to be copied. + /// + /// + /// + /// + /// Specifies the width of the texture image. Must be 0 or 2 sup n + 2 ( border ) for some integer . + /// + /// + /// + /// + /// Specifies the height of the texture image. Must be 0 or 2 sup m + 2 ( border ) for some integer . + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glCopyTexImage2D")] + public static + void CopyTexImage2D(OpenTK.Graphics.ES11.All target, Int32 level, OpenTK.Graphics.ES11.All internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCopyTexImage2D((OpenTK.Graphics.ES11.All)target, (Int32)level, (OpenTK.Graphics.ES11.All)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Copy a two-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specify the window coordinates of the lower left corner of the rectangular region of pixels to be copied. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glCopyTexSubImage2D")] + public static + void CopyTexSubImage2D(OpenTK.Graphics.ES11.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCopyTexSubImage2D((OpenTK.Graphics.ES11.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Specify whether front- or back-facing facets can be culled + /// + /// + /// + /// Specifies whether front- or back-facing facets are candidates for culling. Symbolic constants GL_FRONT, GL_BACK, and GL_FRONT_AND_BACK are accepted. The initial value is GL_BACK. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glCullFace")] + public static + void CullFace(OpenTK.Graphics.ES11.All mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCullFace((OpenTK.Graphics.ES11.All)mode); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Delete named buffer objects + /// + /// + /// + /// Specifies the number of buffer objects to be deleted. + /// + /// + /// + /// + /// Specifies an array of buffer objects to be deleted. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDeleteBuffers")] + public static + void DeleteBuffers(Int32 n, Int32[] buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* buffers_ptr = buffers) + { + Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Delete named buffer objects + /// + /// + /// + /// Specifies the number of buffer objects to be deleted. + /// + /// + /// + /// + /// Specifies an array of buffer objects to be deleted. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDeleteBuffers")] + public static + void DeleteBuffers(Int32 n, ref Int32 buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* buffers_ptr = &buffers) + { + Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// 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 = "1.1", Version = "1.1", EntryPoint = "glDeleteBuffers")] + public static + unsafe void DeleteBuffers(Int32 n, Int32* buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// 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 = "1.1", Version = "1.1", EntryPoint = "glDeleteBuffers")] + public static + void DeleteBuffers(Int32 n, UInt32[] buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* buffers_ptr = buffers) + { + Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// 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 = "1.1", Version = "1.1", EntryPoint = "glDeleteBuffers")] + public static + void DeleteBuffers(Int32 n, ref UInt32 buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* buffers_ptr = &buffers) + { + Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// 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 = "1.1", Version = "1.1", EntryPoint = "glDeleteBuffers")] + public static + unsafe void DeleteBuffers(Int32 n, UInt32* buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Delete named textures + /// + /// + /// + /// Specifies the number of textures to be deleted. + /// + /// + /// + /// + /// Specifies an array of textures to be deleted. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDeleteTextures")] + public static + void DeleteTextures(Int32 n, Int32[] textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* textures_ptr = textures) + { + Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Delete named textures + /// + /// + /// + /// Specifies the number of textures to be deleted. + /// + /// + /// + /// + /// Specifies an array of textures to be deleted. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDeleteTextures")] + public static + void DeleteTextures(Int32 n, ref Int32 textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* textures_ptr = &textures) + { + Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Delete named textures + /// + /// + /// + /// Specifies the number of textures to be deleted. + /// + /// + /// + /// + /// Specifies an array of textures to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDeleteTextures")] + public static + unsafe void DeleteTextures(Int32 n, Int32* textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteTextures((Int32)n, (UInt32*)textures); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Delete named textures + /// + /// + /// + /// Specifies the number of textures to be deleted. + /// + /// + /// + /// + /// Specifies an array of textures to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDeleteTextures")] + public static + void DeleteTextures(Int32 n, UInt32[] textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* textures_ptr = textures) + { + Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Delete named textures + /// + /// + /// + /// Specifies the number of textures to be deleted. + /// + /// + /// + /// + /// Specifies an array of textures to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDeleteTextures")] + public static + void DeleteTextures(Int32 n, ref UInt32 textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* textures_ptr = &textures) + { + Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Delete named textures + /// + /// + /// + /// Specifies the number of textures to be deleted. + /// + /// + /// + /// + /// Specifies an array of textures to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDeleteTextures")] + public static + unsafe void DeleteTextures(Int32 n, UInt32* textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteTextures((Int32)n, (UInt32*)textures); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Specify the value used for depth buffer comparisons + /// + /// + /// + /// Specifies the depth comparison function. Symbolic constants GL_NEVER, GL_LESS, GL_EQUAL, GL_LEQUAL, GL_GREATER, GL_NOTEQUAL, GL_GEQUAL, and GL_ALWAYS are accepted. The initial value is GL_LESS. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDepthFunc")] + public static + void DepthFunc(OpenTK.Graphics.ES11.All func) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDepthFunc((OpenTK.Graphics.ES11.All)func); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Enable or disable writing into the depth buffer + /// + /// + /// + /// Specifies whether the depth buffer is enabled for writing. If flag is GL_FALSE, depth buffer writing is disabled. Otherwise, it is enabled. Initially, depth buffer writing is enabled. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDepthMask")] + public static + void DepthMask(bool flag) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDepthMask((bool)flag); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Specify mapping of depth values from normalized device coordinates to window coordinates + /// + /// + /// + /// Specifies the mapping of the near clipping plane to window coordinates. The initial value is 0. + /// + /// + /// + /// + /// Specifies the mapping of the far clipping plane to window coordinates. The initial value is 1. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDepthRangef")] + public static + void DepthRange(Single zNear, Single zFar) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDepthRangef((Single)zNear, (Single)zFar); + #if DEBUG + } + #endif + } + + /// [requires: v1.1 and 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDepthRangex")] + public static + void DepthRangex(int zNear, int zFar) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDepthRangex((int)zNear, (int)zFar); + #if DEBUG + } + #endif + } + + /// [requires: v1.1 and 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDisable")] + public static + void Disable(OpenTK.Graphics.ES11.All cap) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDisable((OpenTK.Graphics.ES11.All)cap); + #if DEBUG + } + #endif + } + + /// [requires: v1.1 and 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDisableClientState")] + public static + void DisableClientState(OpenTK.Graphics.ES11.All array) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDisableClientState((OpenTK.Graphics.ES11.All)array); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the starting index in the enabled arrays. + /// + /// + /// + /// + /// Specifies the number of indices to be rendered. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDrawArrays")] + public static + void DrawArrays(OpenTK.Graphics.ES11.All mode, Int32 first, Int32 count) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawArrays((OpenTK.Graphics.ES11.All)mode, (Int32)first, (Int32)count); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDrawElements")] + public static + void DrawElements(OpenTK.Graphics.ES11.All mode, Int32 count, OpenTK.Graphics.ES11.All type, IntPtr indices) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawElements((OpenTK.Graphics.ES11.All)mode, (Int32)count, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDrawElements")] + public static + void DrawElements(OpenTK.Graphics.ES11.All mode, Int32 count, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T3[] indices) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawElements((OpenTK.Graphics.ES11.All)mode, (Int32)count, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDrawElements")] + public static + void DrawElements(OpenTK.Graphics.ES11.All mode, Int32 count, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T3[,] indices) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawElements((OpenTK.Graphics.ES11.All)mode, (Int32)count, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDrawElements")] + public static + void DrawElements(OpenTK.Graphics.ES11.All mode, Int32 count, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T3[,,] indices) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawElements((OpenTK.Graphics.ES11.All)mode, (Int32)count, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDrawElements")] + public static + void DrawElements(OpenTK.Graphics.ES11.All mode, Int32 count, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] ref T3 indices) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawElements((OpenTK.Graphics.ES11.All)mode, (Int32)count, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + indices = (T3)indices_ptr.Target; + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Enable or disable server-side GL capabilities + /// + /// + /// + /// Specifies a symbolic constant indicating a GL capability. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glEnable")] + public static + void Enable(OpenTK.Graphics.ES11.All cap) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEnable((OpenTK.Graphics.ES11.All)cap); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Enable or disable client-side capability + /// + /// + /// + /// Specifies the capability to enable. Symbolic constants GL_COLOR_ARRAY, GL_EDGE_FLAG_ARRAY, GL_FOG_COORD_ARRAY, GL_INDEX_ARRAY, GL_NORMAL_ARRAY, GL_SECONDARY_COLOR_ARRAY, GL_TEXTURE_COORD_ARRAY, and GL_VERTEX_ARRAY are accepted. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glEnableClientState")] + public static + void EnableClientState(OpenTK.Graphics.ES11.All array) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEnableClientState((OpenTK.Graphics.ES11.All)array); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Block until all GL execution is complete + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glFinish")] + public static + void Finish() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFinish(); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Force execution of GL commands in finite time + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glFlush")] + public static + void Flush() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFlush(); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Specify fog parameters + /// + /// + /// + /// Specifies a single-valued fog parameter. GL_FOG_MODE, GL_FOG_DENSITY, GL_FOG_START, GL_FOG_END, GL_FOG_INDEX, and GL_FOG_COORD_SRC are accepted. + /// + /// + /// + /// + /// Specifies the value that pname will be set to. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glFogf")] + public static + void Fog(OpenTK.Graphics.ES11.All pname, Single param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFogf((OpenTK.Graphics.ES11.All)pname, (Single)param); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Specify fog parameters + /// + /// + /// + /// Specifies a single-valued fog parameter. GL_FOG_MODE, GL_FOG_DENSITY, GL_FOG_START, GL_FOG_END, GL_FOG_INDEX, and GL_FOG_COORD_SRC are accepted. + /// + /// + /// + /// + /// Specifies the value that pname will be set to. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glFogfv")] + public static + void Fog(OpenTK.Graphics.ES11.All pname, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glFogfv((OpenTK.Graphics.ES11.All)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Specify fog parameters + /// + /// + /// + /// Specifies a single-valued fog parameter. GL_FOG_MODE, GL_FOG_DENSITY, GL_FOG_START, GL_FOG_END, GL_FOG_INDEX, and GL_FOG_COORD_SRC are accepted. + /// + /// + /// + /// + /// Specifies the value that pname will be set to. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glFogfv")] + public static + unsafe void Fog(OpenTK.Graphics.ES11.All pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFogfv((OpenTK.Graphics.ES11.All)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: v1.1 and 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glFogx")] + public static + void Fogx(OpenTK.Graphics.ES11.All pname, int param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFogx((OpenTK.Graphics.ES11.All)pname, (int)param); + #if DEBUG + } + #endif + } + + /// [requires: v1.1 and 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glFogxv")] + public static + void Fogx(OpenTK.Graphics.ES11.All pname, int[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (int* @params_ptr = @params) + { + Delegates.glFogxv((OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v1.1 and 1.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glFogxv")] + public static + unsafe void Fogx(OpenTK.Graphics.ES11.All pname, int* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFogxv((OpenTK.Graphics.ES11.All)pname, (int*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Define front- and back-facing polygons + /// + /// + /// + /// Specifies the orientation of front-facing polygons. GL_CW and GL_CCW are accepted. The initial value is GL_CCW. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glFrontFace")] + public static + void FrontFace(OpenTK.Graphics.ES11.All mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFrontFace((OpenTK.Graphics.ES11.All)mode); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Multiply the current matrix by a perspective matrix + /// + /// + /// + /// Specify the coordinates for the left and right vertical clipping planes. + /// + /// + /// + /// + /// Specify the coordinates for the bottom and top horizontal clipping planes. + /// + /// + /// + /// + /// Specify the distances to the near and far depth clipping planes. Both distances must be positive. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glFrustumf")] + public static + void Frustum(Single left, Single right, Single bottom, Single top, Single zNear, Single zFar) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFrustumf((Single)left, (Single)right, (Single)bottom, (Single)top, (Single)zNear, (Single)zFar); + #if DEBUG + } + #endif + } + + /// [requires: v1.1 and 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glFrustumx")] + public static + void Frustumx(int left, int right, int bottom, int top, int zNear, int zFar) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFrustumx((int)left, (int)right, (int)bottom, (int)top, (int)zNear, (int)zFar); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// 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 = "1.1", Version = "1.1", EntryPoint = "glGenBuffers")] + public static + void GenBuffers(Int32 n, Int32[] buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* buffers_ptr = buffers) + { + Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// 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 = "1.1", Version = "1.1", EntryPoint = "glGenBuffers")] + public static + void GenBuffers(Int32 n, ref Int32 buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* buffers_ptr = &buffers) + { + Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// 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 = "1.1", Version = "1.1", EntryPoint = "glGenBuffers")] + public static + unsafe void GenBuffers(Int32 n, Int32* buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenBuffers((Int32)n, (UInt32*)buffers); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// 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 = "1.1", Version = "1.1", EntryPoint = "glGenBuffers")] + public static + void GenBuffers(Int32 n, UInt32[] buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* buffers_ptr = buffers) + { + Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// 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 = "1.1", Version = "1.1", EntryPoint = "glGenBuffers")] + public static + void GenBuffers(Int32 n, ref UInt32 buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* buffers_ptr = &buffers) + { + Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// 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 = "1.1", Version = "1.1", EntryPoint = "glGenBuffers")] + public static + unsafe void GenBuffers(Int32 n, UInt32* buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenBuffers((Int32)n, (UInt32*)buffers); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Generate texture names + /// + /// + /// + /// Specifies the number of texture names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated texture names are stored. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGenTextures")] + public static + void GenTextures(Int32 n, Int32[] textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* textures_ptr = textures) + { + Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Generate texture names + /// + /// + /// + /// Specifies the number of texture names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated texture names are stored. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGenTextures")] + public static + void GenTextures(Int32 n, ref Int32 textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* textures_ptr = &textures) + { + Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Generate texture names + /// + /// + /// + /// Specifies the number of texture names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated texture names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGenTextures")] + public static + unsafe void GenTextures(Int32 n, Int32* textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenTextures((Int32)n, (UInt32*)textures); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Generate texture names + /// + /// + /// + /// Specifies the number of texture names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated texture names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGenTextures")] + public static + void GenTextures(Int32 n, UInt32[] textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* textures_ptr = textures) + { + Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Generate texture names + /// + /// + /// + /// Specifies the number of texture names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated texture names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGenTextures")] + public static + void GenTextures(Int32 n, ref UInt32 textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* textures_ptr = &textures) + { + Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Generate texture names + /// + /// + /// + /// Specifies the number of texture names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated texture names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGenTextures")] + public static + unsafe void GenTextures(Int32 n, UInt32* textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenTextures((Int32)n, (UInt32*)textures); + #if DEBUG + } + #endif + } + + /// [requires: v1.1 and 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetBooleanv")] + public static + void GetBoolean(OpenTK.Graphics.ES11.All pname, bool[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (bool* @params_ptr = @params) + { + Delegates.glGetBooleanv((OpenTK.Graphics.ES11.All)pname, (bool*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v1.1 and 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetBooleanv")] + public static + void GetBoolean(OpenTK.Graphics.ES11.All pname, ref bool @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (bool* @params_ptr = &@params) + { + Delegates.glGetBooleanv((OpenTK.Graphics.ES11.All)pname, (bool*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v1.1 and 1.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetBooleanv")] + public static + unsafe void GetBoolean(OpenTK.Graphics.ES11.All pname, bool* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetBooleanv((OpenTK.Graphics.ES11.All)pname, (bool*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Return parameters of a buffer object + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the symbolic name of a buffer object parameter. Accepted values are GL_BUFFER_ACCESS, GL_BUFFER_MAPPED, GL_BUFFER_SIZE, or GL_BUFFER_USAGE. + /// + /// + /// + /// + /// Returns the requested parameter. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetBufferParameteriv")] + public static + void GetBufferParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetBufferParameteriv((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Return parameters of a buffer object + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the symbolic name of a buffer object parameter. Accepted values are GL_BUFFER_ACCESS, GL_BUFFER_MAPPED, GL_BUFFER_SIZE, or GL_BUFFER_USAGE. + /// + /// + /// + /// + /// Returns the requested parameter. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetBufferParameteriv")] + public static + void GetBufferParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, ref Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetBufferParameteriv((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Return parameters of a buffer object + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the symbolic name of a buffer object parameter. Accepted values are GL_BUFFER_ACCESS, GL_BUFFER_MAPPED, GL_BUFFER_SIZE, or GL_BUFFER_USAGE. + /// + /// + /// + /// + /// Returns the requested parameter. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetBufferParameteriv")] + public static + unsafe void GetBufferParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetBufferParameteriv((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Return the coefficients of the specified clipping plane + /// + /// + /// + /// Specifies a clipping plane. The number of clipping planes depends on the implementation, but at least six clipping planes are supported. They are identified by symbolic names of the form GL_CLIP_PLANE where i ranges from 0 to the value of GL_MAX_CLIP_PLANES - 1. + /// + /// + /// + /// + /// Returns four double-precision values that are the coefficients of the plane equation of plane in eye coordinates. The initial value is (0, 0, 0, 0). + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetClipPlanef")] + public static + void GetClipPlane(OpenTK.Graphics.ES11.All pname, Single[] eqn) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* eqn_ptr = eqn) + { + Delegates.glGetClipPlanef((OpenTK.Graphics.ES11.All)pname, (Single*)eqn_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Return the coefficients of the specified clipping plane + /// + /// + /// + /// Specifies a clipping plane. The number of clipping planes depends on the implementation, but at least six clipping planes are supported. They are identified by symbolic names of the form GL_CLIP_PLANE where i ranges from 0 to the value of GL_MAX_CLIP_PLANES - 1. + /// + /// + /// + /// + /// Returns four double-precision values that are the coefficients of the plane equation of plane in eye coordinates. The initial value is (0, 0, 0, 0). + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetClipPlanef")] + public static + void GetClipPlane(OpenTK.Graphics.ES11.All pname, ref Single eqn) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* eqn_ptr = &eqn) + { + Delegates.glGetClipPlanef((OpenTK.Graphics.ES11.All)pname, (Single*)eqn_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Return the coefficients of the specified clipping plane + /// + /// + /// + /// Specifies a clipping plane. The number of clipping planes depends on the implementation, but at least six clipping planes are supported. They are identified by symbolic names of the form GL_CLIP_PLANE where i ranges from 0 to the value of GL_MAX_CLIP_PLANES - 1. + /// + /// + /// + /// + /// Returns four double-precision values that are the coefficients of the plane equation of plane in eye coordinates. The initial value is (0, 0, 0, 0). + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetClipPlanef")] + public static + unsafe void GetClipPlane(OpenTK.Graphics.ES11.All pname, Single* eqn) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetClipPlanef((OpenTK.Graphics.ES11.All)pname, (Single*)eqn); + #if DEBUG + } + #endif + } + + /// [requires: v1.1 and 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetClipPlanex")] + public static + void GetClipPlanex(OpenTK.Graphics.ES11.All pname, int[] eqn) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (int* eqn_ptr = eqn) + { + Delegates.glGetClipPlanex((OpenTK.Graphics.ES11.All)pname, (int*)eqn_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v1.1 and 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetClipPlanex")] + public static + void GetClipPlanex(OpenTK.Graphics.ES11.All pname, ref int eqn) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (int* eqn_ptr = &eqn) + { + Delegates.glGetClipPlanex((OpenTK.Graphics.ES11.All)pname, (int*)eqn_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v1.1 and 1.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetClipPlanex")] + public static + unsafe void GetClipPlanex(OpenTK.Graphics.ES11.All pname, int* eqn) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetClipPlanex((OpenTK.Graphics.ES11.All)pname, (int*)eqn); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Return error information + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetError")] + public static + OpenTK.Graphics.ES11.All GetError() + { + return Delegates.glGetError(); + } + + /// [requires: v1.1 and 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetFixedv")] + public static + void GetFixed(OpenTK.Graphics.ES11.All pname, int[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (int* @params_ptr = @params) + { + Delegates.glGetFixedv((OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v1.1 and 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetFixedv")] + public static + void GetFixed(OpenTK.Graphics.ES11.All pname, ref int @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (int* @params_ptr = &@params) + { + Delegates.glGetFixedv((OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v1.1 and 1.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetFixedv")] + public static + unsafe void GetFixed(OpenTK.Graphics.ES11.All pname, int* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetFixedv((OpenTK.Graphics.ES11.All)pname, (int*)@params); + #if DEBUG + } + #endif + } + + /// [requires: v1.1 and 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetFloatv")] + public static + void GetFloat(OpenTK.Graphics.ES11.All pname, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetFloatv((OpenTK.Graphics.ES11.All)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v1.1 and 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetFloatv")] + public static + void GetFloat(OpenTK.Graphics.ES11.All pname, ref Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetFloatv((OpenTK.Graphics.ES11.All)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v1.1 and 1.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetFloatv")] + public static + unsafe void GetFloat(OpenTK.Graphics.ES11.All pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetFloatv((OpenTK.Graphics.ES11.All)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: v1.1 and 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetIntegerv")] + public static + void GetInteger(OpenTK.Graphics.ES11.All pname, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetIntegerv((OpenTK.Graphics.ES11.All)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v1.1 and 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetIntegerv")] + public static + void GetInteger(OpenTK.Graphics.ES11.All pname, ref Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetIntegerv((OpenTK.Graphics.ES11.All)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v1.1 and 1.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetIntegerv")] + public static + unsafe void GetInteger(OpenTK.Graphics.ES11.All pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetIntegerv((OpenTK.Graphics.ES11.All)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Return light source parameter values + /// + /// + /// + /// Specifies a light source. The number of possible lights depends on the implementation, but at least eight lights are supported. They are identified by symbolic names of the form GL_LIGHT where ranges from 0 to the value of GL_MAX_LIGHTS - 1. + /// + /// + /// + /// + /// Specifies a light source parameter for light. Accepted symbolic names are GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_POSITION, GL_SPOT_DIRECTION, GL_SPOT_EXPONENT, GL_SPOT_CUTOFF, GL_CONSTANT_ATTENUATION, GL_LINEAR_ATTENUATION, and GL_QUADRATIC_ATTENUATION. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetLightfv")] + public static + void GetLight(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetLightfv((OpenTK.Graphics.ES11.All)light, (OpenTK.Graphics.ES11.All)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Return light source parameter values + /// + /// + /// + /// Specifies a light source. The number of possible lights depends on the implementation, but at least eight lights are supported. They are identified by symbolic names of the form GL_LIGHT where ranges from 0 to the value of GL_MAX_LIGHTS - 1. + /// + /// + /// + /// + /// Specifies a light source parameter for light. Accepted symbolic names are GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_POSITION, GL_SPOT_DIRECTION, GL_SPOT_EXPONENT, GL_SPOT_CUTOFF, GL_CONSTANT_ATTENUATION, GL_LINEAR_ATTENUATION, and GL_QUADRATIC_ATTENUATION. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetLightfv")] + public static + void GetLight(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, ref Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetLightfv((OpenTK.Graphics.ES11.All)light, (OpenTK.Graphics.ES11.All)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Return light source parameter values + /// + /// + /// + /// Specifies a light source. The number of possible lights depends on the implementation, but at least eight lights are supported. They are identified by symbolic names of the form GL_LIGHT where ranges from 0 to the value of GL_MAX_LIGHTS - 1. + /// + /// + /// + /// + /// Specifies a light source parameter for light. Accepted symbolic names are GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_POSITION, GL_SPOT_DIRECTION, GL_SPOT_EXPONENT, GL_SPOT_CUTOFF, GL_CONSTANT_ATTENUATION, GL_LINEAR_ATTENUATION, and GL_QUADRATIC_ATTENUATION. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetLightfv")] + public static + unsafe void GetLight(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetLightfv((OpenTK.Graphics.ES11.All)light, (OpenTK.Graphics.ES11.All)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: v1.1 and 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetLightxv")] + public static + void GetLightx(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, int[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (int* @params_ptr = @params) + { + Delegates.glGetLightxv((OpenTK.Graphics.ES11.All)light, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v1.1 and 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetLightxv")] + public static + void GetLightx(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, ref int @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (int* @params_ptr = &@params) + { + Delegates.glGetLightxv((OpenTK.Graphics.ES11.All)light, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v1.1 and 1.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetLightxv")] + public static + unsafe void GetLightx(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, int* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetLightxv((OpenTK.Graphics.ES11.All)light, (OpenTK.Graphics.ES11.All)pname, (int*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Return material parameters + /// + /// + /// + /// Specifies which of the two materials is being queried. GL_FRONT or GL_BACK are accepted, representing the front and back materials, respectively. + /// + /// + /// + /// + /// Specifies the material parameter to return. GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_EMISSION, GL_SHININESS, and GL_COLOR_INDEXES are accepted. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetMaterialfv")] + public static + void GetMaterial(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetMaterialfv((OpenTK.Graphics.ES11.All)face, (OpenTK.Graphics.ES11.All)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Return material parameters + /// + /// + /// + /// Specifies which of the two materials is being queried. GL_FRONT or GL_BACK are accepted, representing the front and back materials, respectively. + /// + /// + /// + /// + /// Specifies the material parameter to return. GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_EMISSION, GL_SHININESS, and GL_COLOR_INDEXES are accepted. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetMaterialfv")] + public static + void GetMaterial(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, ref Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetMaterialfv((OpenTK.Graphics.ES11.All)face, (OpenTK.Graphics.ES11.All)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Return material parameters + /// + /// + /// + /// Specifies which of the two materials is being queried. GL_FRONT or GL_BACK are accepted, representing the front and back materials, respectively. + /// + /// + /// + /// + /// Specifies the material parameter to return. GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_EMISSION, GL_SHININESS, and GL_COLOR_INDEXES are accepted. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetMaterialfv")] + public static + unsafe void GetMaterial(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMaterialfv((OpenTK.Graphics.ES11.All)face, (OpenTK.Graphics.ES11.All)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: v1.1 and 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetMaterialxv")] + public static + void GetMaterialx(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, int[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (int* @params_ptr = @params) + { + Delegates.glGetMaterialxv((OpenTK.Graphics.ES11.All)face, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v1.1 and 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetMaterialxv")] + public static + void GetMaterialx(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, ref int @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (int* @params_ptr = &@params) + { + Delegates.glGetMaterialxv((OpenTK.Graphics.ES11.All)face, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v1.1 and 1.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetMaterialxv")] + public static + unsafe void GetMaterialx(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, int* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMaterialxv((OpenTK.Graphics.ES11.All)face, (OpenTK.Graphics.ES11.All)pname, (int*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Return the address of the specified pointer + /// + /// + /// + /// Specifies the array or buffer pointer to be returned. Symbolic constants GL_COLOR_ARRAY_POINTER, GL_EDGE_FLAG_ARRAY_POINTER, GL_FOG_COORD_ARRAY_POINTER, GL_FEEDBACK_BUFFER_POINTER, GL_INDEX_ARRAY_POINTER, GL_NORMAL_ARRAY_POINTER, GL_SECONDARY_COLOR_ARRAY_POINTER, GL_SELECTION_BUFFER_POINTER, GL_TEXTURE_COORD_ARRAY_POINTER, or GL_VERTEX_ARRAY_POINTER are accepted. + /// + /// + /// + /// + /// Returns the pointer value specified by pname. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetPointerv")] + public static + void GetPointer(OpenTK.Graphics.ES11.All pname, IntPtr @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPointerv((OpenTK.Graphics.ES11.All)pname, (IntPtr)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Return the address of the specified pointer + /// + /// + /// + /// Specifies the array or buffer pointer to be returned. Symbolic constants GL_COLOR_ARRAY_POINTER, GL_EDGE_FLAG_ARRAY_POINTER, GL_FOG_COORD_ARRAY_POINTER, GL_FEEDBACK_BUFFER_POINTER, GL_INDEX_ARRAY_POINTER, GL_NORMAL_ARRAY_POINTER, GL_SECONDARY_COLOR_ARRAY_POINTER, GL_SELECTION_BUFFER_POINTER, GL_TEXTURE_COORD_ARRAY_POINTER, or GL_VERTEX_ARRAY_POINTER are accepted. + /// + /// + /// + /// + /// Returns the pointer value specified by pname. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetPointerv")] + public static + void GetPointer(OpenTK.Graphics.ES11.All pname, [InAttribute, OutAttribute] T1[] @params) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetPointerv((OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Return the address of the specified pointer + /// + /// + /// + /// Specifies the array or buffer pointer to be returned. Symbolic constants GL_COLOR_ARRAY_POINTER, GL_EDGE_FLAG_ARRAY_POINTER, GL_FOG_COORD_ARRAY_POINTER, GL_FEEDBACK_BUFFER_POINTER, GL_INDEX_ARRAY_POINTER, GL_NORMAL_ARRAY_POINTER, GL_SECONDARY_COLOR_ARRAY_POINTER, GL_SELECTION_BUFFER_POINTER, GL_TEXTURE_COORD_ARRAY_POINTER, or GL_VERTEX_ARRAY_POINTER are accepted. + /// + /// + /// + /// + /// Returns the pointer value specified by pname. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetPointerv")] + public static + void GetPointer(OpenTK.Graphics.ES11.All pname, [InAttribute, OutAttribute] T1[,] @params) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetPointerv((OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Return the address of the specified pointer + /// + /// + /// + /// Specifies the array or buffer pointer to be returned. Symbolic constants GL_COLOR_ARRAY_POINTER, GL_EDGE_FLAG_ARRAY_POINTER, GL_FOG_COORD_ARRAY_POINTER, GL_FEEDBACK_BUFFER_POINTER, GL_INDEX_ARRAY_POINTER, GL_NORMAL_ARRAY_POINTER, GL_SECONDARY_COLOR_ARRAY_POINTER, GL_SELECTION_BUFFER_POINTER, GL_TEXTURE_COORD_ARRAY_POINTER, or GL_VERTEX_ARRAY_POINTER are accepted. + /// + /// + /// + /// + /// Returns the pointer value specified by pname. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetPointerv")] + public static + void GetPointer(OpenTK.Graphics.ES11.All pname, [InAttribute, OutAttribute] T1[,,] @params) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetPointerv((OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Return the address of the specified pointer + /// + /// + /// + /// Specifies the array or buffer pointer to be returned. Symbolic constants GL_COLOR_ARRAY_POINTER, GL_EDGE_FLAG_ARRAY_POINTER, GL_FOG_COORD_ARRAY_POINTER, GL_FEEDBACK_BUFFER_POINTER, GL_INDEX_ARRAY_POINTER, GL_NORMAL_ARRAY_POINTER, GL_SECONDARY_COLOR_ARRAY_POINTER, GL_SELECTION_BUFFER_POINTER, GL_TEXTURE_COORD_ARRAY_POINTER, or GL_VERTEX_ARRAY_POINTER are accepted. + /// + /// + /// + /// + /// Returns the pointer value specified by pname. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetPointerv")] + public static + void GetPointer(OpenTK.Graphics.ES11.All pname, [InAttribute, OutAttribute] ref T1 @params) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetPointerv((OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + @params = (T1)@params_ptr.Target; + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Return a string describing the current GL connection + /// + /// + /// + /// Specifies a symbolic constant, one of GL_VENDOR, GL_RENDERER, GL_VERSION, or GL_SHADING_LANGUAGE_VERSION. Additionally, glGetStringi accepts the GL_EXTENSIONS token. + /// + /// + /// + /// + /// For glGetStringi, specifies the index of the string to return. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetString")] + public static + unsafe System.String GetString(OpenTK.Graphics.ES11.All name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe { return new string((sbyte*)Delegates.glGetString((OpenTK.Graphics.ES11.All)name)); } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Return texture environment parameters + /// + /// + /// + /// Specifies a texture environment. May be GL_TEXTURE_ENV, GL_TEXTURE_FILTER_CONTROL, or GL_POINT_SPRITE. + /// + /// + /// + /// + /// Specifies the symbolic name of a texture environment parameter. Accepted values are GL_TEXTURE_ENV_MODE, GL_TEXTURE_ENV_COLOR, GL_TEXTURE_LOD_BIAS, GL_COMBINE_RGB, GL_COMBINE_ALPHA, GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, GL_SRC0_ALPHA, GL_SRC1_ALPHA, GL_SRC2_ALPHA, GL_OPERAND0_RGB, GL_OPERAND1_RGB, GL_OPERAND2_RGB, GL_OPERAND0_ALPHA, GL_OPERAND1_ALPHA, GL_OPERAND2_ALPHA, GL_RGB_SCALE, GL_ALPHA_SCALE, or GL_COORD_REPLACE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetTexEnvfv")] + public static + void GetTexEnv(OpenTK.Graphics.ES11.All env, OpenTK.Graphics.ES11.All pname, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetTexEnvfv((OpenTK.Graphics.ES11.All)env, (OpenTK.Graphics.ES11.All)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Return texture environment parameters + /// + /// + /// + /// Specifies a texture environment. May be GL_TEXTURE_ENV, GL_TEXTURE_FILTER_CONTROL, or GL_POINT_SPRITE. + /// + /// + /// + /// + /// Specifies the symbolic name of a texture environment parameter. Accepted values are GL_TEXTURE_ENV_MODE, GL_TEXTURE_ENV_COLOR, GL_TEXTURE_LOD_BIAS, GL_COMBINE_RGB, GL_COMBINE_ALPHA, GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, GL_SRC0_ALPHA, GL_SRC1_ALPHA, GL_SRC2_ALPHA, GL_OPERAND0_RGB, GL_OPERAND1_RGB, GL_OPERAND2_RGB, GL_OPERAND0_ALPHA, GL_OPERAND1_ALPHA, GL_OPERAND2_ALPHA, GL_RGB_SCALE, GL_ALPHA_SCALE, or GL_COORD_REPLACE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetTexEnvfv")] + public static + void GetTexEnv(OpenTK.Graphics.ES11.All env, OpenTK.Graphics.ES11.All pname, ref Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetTexEnvfv((OpenTK.Graphics.ES11.All)env, (OpenTK.Graphics.ES11.All)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Return texture environment parameters + /// + /// + /// + /// Specifies a texture environment. May be GL_TEXTURE_ENV, GL_TEXTURE_FILTER_CONTROL, or GL_POINT_SPRITE. + /// + /// + /// + /// + /// Specifies the symbolic name of a texture environment parameter. Accepted values are GL_TEXTURE_ENV_MODE, GL_TEXTURE_ENV_COLOR, GL_TEXTURE_LOD_BIAS, GL_COMBINE_RGB, GL_COMBINE_ALPHA, GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, GL_SRC0_ALPHA, GL_SRC1_ALPHA, GL_SRC2_ALPHA, GL_OPERAND0_RGB, GL_OPERAND1_RGB, GL_OPERAND2_RGB, GL_OPERAND0_ALPHA, GL_OPERAND1_ALPHA, GL_OPERAND2_ALPHA, GL_RGB_SCALE, GL_ALPHA_SCALE, or GL_COORD_REPLACE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetTexEnvfv")] + public static + unsafe void GetTexEnv(OpenTK.Graphics.ES11.All env, OpenTK.Graphics.ES11.All pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTexEnvfv((OpenTK.Graphics.ES11.All)env, (OpenTK.Graphics.ES11.All)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Return texture environment parameters + /// + /// + /// + /// Specifies a texture environment. May be GL_TEXTURE_ENV, GL_TEXTURE_FILTER_CONTROL, or GL_POINT_SPRITE. + /// + /// + /// + /// + /// Specifies the symbolic name of a texture environment parameter. Accepted values are GL_TEXTURE_ENV_MODE, GL_TEXTURE_ENV_COLOR, GL_TEXTURE_LOD_BIAS, GL_COMBINE_RGB, GL_COMBINE_ALPHA, GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, GL_SRC0_ALPHA, GL_SRC1_ALPHA, GL_SRC2_ALPHA, GL_OPERAND0_RGB, GL_OPERAND1_RGB, GL_OPERAND2_RGB, GL_OPERAND0_ALPHA, GL_OPERAND1_ALPHA, GL_OPERAND2_ALPHA, GL_RGB_SCALE, GL_ALPHA_SCALE, or GL_COORD_REPLACE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetTexEnviv")] + public static + void GetTexEnv(OpenTK.Graphics.ES11.All env, OpenTK.Graphics.ES11.All pname, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetTexEnviv((OpenTK.Graphics.ES11.All)env, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Return texture environment parameters + /// + /// + /// + /// Specifies a texture environment. May be GL_TEXTURE_ENV, GL_TEXTURE_FILTER_CONTROL, or GL_POINT_SPRITE. + /// + /// + /// + /// + /// Specifies the symbolic name of a texture environment parameter. Accepted values are GL_TEXTURE_ENV_MODE, GL_TEXTURE_ENV_COLOR, GL_TEXTURE_LOD_BIAS, GL_COMBINE_RGB, GL_COMBINE_ALPHA, GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, GL_SRC0_ALPHA, GL_SRC1_ALPHA, GL_SRC2_ALPHA, GL_OPERAND0_RGB, GL_OPERAND1_RGB, GL_OPERAND2_RGB, GL_OPERAND0_ALPHA, GL_OPERAND1_ALPHA, GL_OPERAND2_ALPHA, GL_RGB_SCALE, GL_ALPHA_SCALE, or GL_COORD_REPLACE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetTexEnviv")] + public static + void GetTexEnv(OpenTK.Graphics.ES11.All env, OpenTK.Graphics.ES11.All pname, ref Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetTexEnviv((OpenTK.Graphics.ES11.All)env, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Return texture environment parameters + /// + /// + /// + /// Specifies a texture environment. May be GL_TEXTURE_ENV, GL_TEXTURE_FILTER_CONTROL, or GL_POINT_SPRITE. + /// + /// + /// + /// + /// Specifies the symbolic name of a texture environment parameter. Accepted values are GL_TEXTURE_ENV_MODE, GL_TEXTURE_ENV_COLOR, GL_TEXTURE_LOD_BIAS, GL_COMBINE_RGB, GL_COMBINE_ALPHA, GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, GL_SRC0_ALPHA, GL_SRC1_ALPHA, GL_SRC2_ALPHA, GL_OPERAND0_RGB, GL_OPERAND1_RGB, GL_OPERAND2_RGB, GL_OPERAND0_ALPHA, GL_OPERAND1_ALPHA, GL_OPERAND2_ALPHA, GL_RGB_SCALE, GL_ALPHA_SCALE, or GL_COORD_REPLACE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetTexEnviv")] + public static + unsafe void GetTexEnv(OpenTK.Graphics.ES11.All env, OpenTK.Graphics.ES11.All pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTexEnviv((OpenTK.Graphics.ES11.All)env, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: v1.1 and 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetTexEnvxv")] + public static + void GetTexEnvx(OpenTK.Graphics.ES11.All env, OpenTK.Graphics.ES11.All pname, int[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (int* @params_ptr = @params) + { + Delegates.glGetTexEnvxv((OpenTK.Graphics.ES11.All)env, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v1.1 and 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetTexEnvxv")] + public static + void GetTexEnvx(OpenTK.Graphics.ES11.All env, OpenTK.Graphics.ES11.All pname, ref int @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (int* @params_ptr = &@params) + { + Delegates.glGetTexEnvxv((OpenTK.Graphics.ES11.All)env, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v1.1 and 1.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetTexEnvxv")] + public static + unsafe void GetTexEnvx(OpenTK.Graphics.ES11.All env, OpenTK.Graphics.ES11.All pname, int* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTexEnvxv((OpenTK.Graphics.ES11.All)env, (OpenTK.Graphics.ES11.All)pname, (int*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Return texture parameter values + /// + /// + /// + /// Specifies the symbolic name of the target texture. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_3D, GL_TEXTURE_RECTANGLE, and GL_TEXTURE_CUBE_MAP are accepted. + /// + /// + /// + /// + /// Specifies the symbolic name of a texture parameter. GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_SWIZZLE_RGBA, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, and GL_TEXTURE_WRAP_R are accepted. + /// + /// + /// + /// + /// Returns the texture parameters. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetTexParameterfv")] + public static + void GetTexParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetTexParameterfv((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Return texture parameter values + /// + /// + /// + /// Specifies the symbolic name of the target texture. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_3D, GL_TEXTURE_RECTANGLE, and GL_TEXTURE_CUBE_MAP are accepted. + /// + /// + /// + /// + /// Specifies the symbolic name of a texture parameter. GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_SWIZZLE_RGBA, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, and GL_TEXTURE_WRAP_R are accepted. + /// + /// + /// + /// + /// Returns the texture parameters. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetTexParameterfv")] + public static + void GetTexParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, ref Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetTexParameterfv((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Return texture parameter values + /// + /// + /// + /// Specifies the symbolic name of the target texture. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_3D, GL_TEXTURE_RECTANGLE, and GL_TEXTURE_CUBE_MAP are accepted. + /// + /// + /// + /// + /// Specifies the symbolic name of a texture parameter. GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_SWIZZLE_RGBA, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, and GL_TEXTURE_WRAP_R are accepted. + /// + /// + /// + /// + /// Returns the texture parameters. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetTexParameterfv")] + public static + unsafe void GetTexParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTexParameterfv((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Return texture parameter values + /// + /// + /// + /// Specifies the symbolic name of the target texture. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_3D, GL_TEXTURE_RECTANGLE, and GL_TEXTURE_CUBE_MAP are accepted. + /// + /// + /// + /// + /// Specifies the symbolic name of a texture parameter. GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_SWIZZLE_RGBA, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, and GL_TEXTURE_WRAP_R are accepted. + /// + /// + /// + /// + /// Returns the texture parameters. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetTexParameteriv")] + public static + void GetTexParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetTexParameteriv((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Return texture parameter values + /// + /// + /// + /// Specifies the symbolic name of the target texture. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_3D, GL_TEXTURE_RECTANGLE, and GL_TEXTURE_CUBE_MAP are accepted. + /// + /// + /// + /// + /// Specifies the symbolic name of a texture parameter. GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_SWIZZLE_RGBA, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, and GL_TEXTURE_WRAP_R are accepted. + /// + /// + /// + /// + /// Returns the texture parameters. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetTexParameteriv")] + public static + void GetTexParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, ref Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetTexParameteriv((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Return texture parameter values + /// + /// + /// + /// Specifies the symbolic name of the target texture. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_3D, GL_TEXTURE_RECTANGLE, and GL_TEXTURE_CUBE_MAP are accepted. + /// + /// + /// + /// + /// Specifies the symbolic name of a texture parameter. GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_SWIZZLE_RGBA, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, and GL_TEXTURE_WRAP_R are accepted. + /// + /// + /// + /// + /// Returns the texture parameters. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetTexParameteriv")] + public static + unsafe void GetTexParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTexParameteriv((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: v1.1 and 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetTexParameterxv")] + public static + void GetTexParameterx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (int* @params_ptr = @params) + { + Delegates.glGetTexParameterxv((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v1.1 and 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetTexParameterxv")] + public static + void GetTexParameterx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, ref int @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (int* @params_ptr = &@params) + { + Delegates.glGetTexParameterxv((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v1.1 and 1.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetTexParameterxv")] + public static + unsafe void GetTexParameterx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTexParameterxv((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Specify implementation-specific hints + /// + /// + /// + /// Specifies a symbolic constant indicating the behavior to be controlled. GL_LINE_SMOOTH_HINT, GL_POLYGON_SMOOTH_HINT, GL_TEXTURE_COMPRESSION_HINT, and GL_FRAGMENT_SHADER_DERIVATIVE_HINT are accepted. + /// + /// + /// + /// + /// Specifies a symbolic constant indicating the desired behavior. GL_FASTEST, GL_NICEST, and GL_DONT_CARE are accepted. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glHint")] + public static + void Hint(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glHint((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)mode); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Determine if a name corresponds to a buffer object + /// + /// + /// + /// Specifies a value that may be the name of a buffer object. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glIsBuffer")] + public static + bool IsBuffer(Int32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsBuffer((UInt32)buffer); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Determine if a name corresponds to a buffer object + /// + /// + /// + /// Specifies a value that may be the name of a buffer object. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glIsBuffer")] + public static + bool IsBuffer(UInt32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsBuffer((UInt32)buffer); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Test whether a capability is enabled + /// + /// + /// + /// Specifies a symbolic constant indicating a GL capability. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glIsEnabled")] + public static + bool IsEnabled(OpenTK.Graphics.ES11.All cap) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsEnabled((OpenTK.Graphics.ES11.All)cap); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Determine if a name corresponds to a texture + /// + /// + /// + /// Specifies a value that may be the name of a texture. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glIsTexture")] + public static + bool IsTexture(Int32 texture) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsTexture((UInt32)texture); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Determine if a name corresponds to a texture + /// + /// + /// + /// Specifies a value that may be the name of a texture. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glIsTexture")] + public static + bool IsTexture(UInt32 texture) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsTexture((UInt32)texture); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Set light source parameters + /// + /// + /// + /// Specifies a light. The number of lights depends on the implementation, but at least eight lights are supported. They are identified by symbolic names of the form GL_LIGHT , where i ranges from 0 to the value of GL_MAX_LIGHTS - 1. + /// + /// + /// + /// + /// Specifies a single-valued light source parameter for light. GL_SPOT_EXPONENT, GL_SPOT_CUTOFF, GL_CONSTANT_ATTENUATION, GL_LINEAR_ATTENUATION, and GL_QUADRATIC_ATTENUATION are accepted. + /// + /// + /// + /// + /// Specifies the value that parameter pname of light source light will be set to. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glLightf")] + public static + void Light(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, Single param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLightf((OpenTK.Graphics.ES11.All)light, (OpenTK.Graphics.ES11.All)pname, (Single)param); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Set light source parameters + /// + /// + /// + /// Specifies a light. The number of lights depends on the implementation, but at least eight lights are supported. They are identified by symbolic names of the form GL_LIGHT , where i ranges from 0 to the value of GL_MAX_LIGHTS - 1. + /// + /// + /// + /// + /// Specifies a single-valued light source parameter for light. GL_SPOT_EXPONENT, GL_SPOT_CUTOFF, GL_CONSTANT_ATTENUATION, GL_LINEAR_ATTENUATION, and GL_QUADRATIC_ATTENUATION are accepted. + /// + /// + /// + /// + /// Specifies the value that parameter pname of light source light will be set to. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glLightfv")] + public static + void Light(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glLightfv((OpenTK.Graphics.ES11.All)light, (OpenTK.Graphics.ES11.All)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Set light source parameters + /// + /// + /// + /// Specifies a light. The number of lights depends on the implementation, but at least eight lights are supported. They are identified by symbolic names of the form GL_LIGHT , where i ranges from 0 to the value of GL_MAX_LIGHTS - 1. + /// + /// + /// + /// + /// Specifies a single-valued light source parameter for light. GL_SPOT_EXPONENT, GL_SPOT_CUTOFF, GL_CONSTANT_ATTENUATION, GL_LINEAR_ATTENUATION, and GL_QUADRATIC_ATTENUATION are accepted. + /// + /// + /// + /// + /// Specifies the value that parameter pname of light source light will be set to. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glLightfv")] + public static + unsafe void Light(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLightfv((OpenTK.Graphics.ES11.All)light, (OpenTK.Graphics.ES11.All)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Set the lighting model parameters + /// + /// + /// + /// Specifies a single-valued lighting model parameter. GL_LIGHT_MODEL_LOCAL_VIEWER, GL_LIGHT_MODEL_COLOR_CONTROL, and GL_LIGHT_MODEL_TWO_SIDE are accepted. + /// + /// + /// + /// + /// Specifies the value that param will be set to. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glLightModelf")] + public static + void LightModel(OpenTK.Graphics.ES11.All pname, Single param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLightModelf((OpenTK.Graphics.ES11.All)pname, (Single)param); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Set the lighting model parameters + /// + /// + /// + /// Specifies a single-valued lighting model parameter. GL_LIGHT_MODEL_LOCAL_VIEWER, GL_LIGHT_MODEL_COLOR_CONTROL, and GL_LIGHT_MODEL_TWO_SIDE are accepted. + /// + /// + /// + /// + /// Specifies the value that param will be set to. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glLightModelfv")] + public static + void LightModel(OpenTK.Graphics.ES11.All pname, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glLightModelfv((OpenTK.Graphics.ES11.All)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Set the lighting model parameters + /// + /// + /// + /// Specifies a single-valued lighting model parameter. GL_LIGHT_MODEL_LOCAL_VIEWER, GL_LIGHT_MODEL_COLOR_CONTROL, and GL_LIGHT_MODEL_TWO_SIDE are accepted. + /// + /// + /// + /// + /// Specifies the value that param will be set to. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glLightModelfv")] + public static + unsafe void LightModel(OpenTK.Graphics.ES11.All pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLightModelfv((OpenTK.Graphics.ES11.All)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: v1.1 and 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glLightModelx")] + public static + void LightModelx(OpenTK.Graphics.ES11.All pname, int param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLightModelx((OpenTK.Graphics.ES11.All)pname, (int)param); + #if DEBUG + } + #endif + } + + /// [requires: v1.1 and 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glLightModelxv")] + public static + void LightModelx(OpenTK.Graphics.ES11.All pname, int[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (int* @params_ptr = @params) + { + Delegates.glLightModelxv((OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v1.1 and 1.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glLightModelxv")] + public static + unsafe void LightModelx(OpenTK.Graphics.ES11.All pname, int* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLightModelxv((OpenTK.Graphics.ES11.All)pname, (int*)@params); + #if DEBUG + } + #endif + } + + /// [requires: v1.1 and 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glLightx")] + public static + void Lightx(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, int param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLightx((OpenTK.Graphics.ES11.All)light, (OpenTK.Graphics.ES11.All)pname, (int)param); + #if DEBUG + } + #endif + } + + /// [requires: v1.1 and 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glLightxv")] + public static + void Lightx(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, int[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (int* @params_ptr = @params) + { + Delegates.glLightxv((OpenTK.Graphics.ES11.All)light, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v1.1 and 1.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glLightxv")] + public static + unsafe void Lightx(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, int* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLightxv((OpenTK.Graphics.ES11.All)light, (OpenTK.Graphics.ES11.All)pname, (int*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Specify the width of rasterized lines + /// + /// + /// + /// Specifies the width of rasterized lines. The initial value is 1. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glLineWidth")] + public static + void LineWidth(Single width) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLineWidth((Single)width); + #if DEBUG + } + #endif + } + + /// [requires: v1.1 and 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glLineWidthx")] + public static + void LineWidthx(int width) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLineWidthx((int)width); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Replace the current matrix with the identity matrix + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glLoadIdentity")] + public static + void LoadIdentity() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLoadIdentity(); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Replace the current matrix with the specified matrix + /// + /// + /// + /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 column-major matrix. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glLoadMatrixf")] + public static + void LoadMatrix(Single[] m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* m_ptr = m) + { + Delegates.glLoadMatrixf((Single*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Replace the current matrix with the specified matrix + /// + /// + /// + /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 column-major matrix. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glLoadMatrixf")] + public static + void LoadMatrix(ref Single m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* m_ptr = &m) + { + Delegates.glLoadMatrixf((Single*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Replace the current matrix with the specified matrix + /// + /// + /// + /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 column-major matrix. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glLoadMatrixf")] + public static + unsafe void LoadMatrix(Single* m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLoadMatrixf((Single*)m); + #if DEBUG + } + #endif + } + + /// [requires: v1.1 and 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glLoadMatrixx")] + public static + void LoadMatrixx(int[] m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (int* m_ptr = m) + { + Delegates.glLoadMatrixx((int*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v1.1 and 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glLoadMatrixx")] + public static + void LoadMatrixx(ref int m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (int* m_ptr = &m) + { + Delegates.glLoadMatrixx((int*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v1.1 and 1.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glLoadMatrixx")] + public static + unsafe void LoadMatrixx(int* m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLoadMatrixx((int*)m); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Specify a logical pixel operation for rendering + /// + /// + /// + /// Specifies a symbolic constant that selects a logical operation. The following symbols are accepted: GL_CLEAR, GL_SET, GL_COPY, GL_COPY_INVERTED, GL_NOOP, GL_INVERT, GL_AND, GL_NAND, GL_OR, GL_NOR, GL_XOR, GL_EQUIV, GL_AND_REVERSE, GL_AND_INVERTED, GL_OR_REVERSE, and GL_OR_INVERTED. The initial value is GL_COPY. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glLogicOp")] + public static + void LogicOp(OpenTK.Graphics.ES11.All opcode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLogicOp((OpenTK.Graphics.ES11.All)opcode); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Specify material parameters for the lighting model + /// + /// + /// + /// Specifies which face or faces are being updated. Must be one of GL_FRONT, GL_BACK, or GL_FRONT_AND_BACK. + /// + /// + /// + /// + /// Specifies the single-valued material parameter of the face or faces that is being updated. Must be GL_SHININESS. + /// + /// + /// + /// + /// Specifies the value that parameter GL_SHININESS will be set to. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glMaterialf")] + public static + void Material(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, Single param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMaterialf((OpenTK.Graphics.ES11.All)face, (OpenTK.Graphics.ES11.All)pname, (Single)param); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Specify material parameters for the lighting model + /// + /// + /// + /// Specifies which face or faces are being updated. Must be one of GL_FRONT, GL_BACK, or GL_FRONT_AND_BACK. + /// + /// + /// + /// + /// Specifies the single-valued material parameter of the face or faces that is being updated. Must be GL_SHININESS. + /// + /// + /// + /// + /// Specifies the value that parameter GL_SHININESS will be set to. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glMaterialfv")] + public static + void Material(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glMaterialfv((OpenTK.Graphics.ES11.All)face, (OpenTK.Graphics.ES11.All)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Specify material parameters for the lighting model + /// + /// + /// + /// Specifies which face or faces are being updated. Must be one of GL_FRONT, GL_BACK, or GL_FRONT_AND_BACK. + /// + /// + /// + /// + /// Specifies the single-valued material parameter of the face or faces that is being updated. Must be GL_SHININESS. + /// + /// + /// + /// + /// Specifies the value that parameter GL_SHININESS will be set to. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glMaterialfv")] + public static + unsafe void Material(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMaterialfv((OpenTK.Graphics.ES11.All)face, (OpenTK.Graphics.ES11.All)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: v1.1 and 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glMaterialx")] + public static + void Materialx(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, int param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMaterialx((OpenTK.Graphics.ES11.All)face, (OpenTK.Graphics.ES11.All)pname, (int)param); + #if DEBUG + } + #endif + } + + /// [requires: v1.1 and 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glMaterialxv")] + public static + void Materialx(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, int[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (int* @params_ptr = @params) + { + Delegates.glMaterialxv((OpenTK.Graphics.ES11.All)face, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v1.1 and 1.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glMaterialxv")] + public static + unsafe void Materialx(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, int* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMaterialxv((OpenTK.Graphics.ES11.All)face, (OpenTK.Graphics.ES11.All)pname, (int*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Specify which matrix is the current matrix + /// + /// + /// + /// Specifies which matrix stack is the target for subsequent matrix operations. Three values are accepted: GL_MODELVIEW, GL_PROJECTION, and GL_TEXTURE. The initial value is GL_MODELVIEW. Additionally, if the ARB_imaging extension is supported, GL_COLOR is also accepted. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glMatrixMode")] + public static + void MatrixMode(OpenTK.Graphics.ES11.All mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMatrixMode((OpenTK.Graphics.ES11.All)mode); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// 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 = "1.1", Version = "1.1", EntryPoint = "glMultiTexCoord4f")] + public static + void MultiTexCoord4(OpenTK.Graphics.ES11.All target, Single s, Single t, Single r, Single q) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord4f((OpenTK.Graphics.ES11.All)target, (Single)s, (Single)t, (Single)r, (Single)q); + #if DEBUG + } + #endif + } + + /// [requires: v1.1 and 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glMultiTexCoord4x")] + public static + void MultiTexCoord4x(OpenTK.Graphics.ES11.All target, int s, int t, int r, int q) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord4x((OpenTK.Graphics.ES11.All)target, (int)s, (int)t, (int)r, (int)q); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Multiply the current matrix with the specified matrix + /// + /// + /// + /// Points to 16 consecutive values that are used as the elements of a 4 times 4 column-major matrix. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glMultMatrixf")] + public static + void MultMatrix(Single[] m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* m_ptr = m) + { + Delegates.glMultMatrixf((Single*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Multiply the current matrix with the specified matrix + /// + /// + /// + /// Points to 16 consecutive values that are used as the elements of a 4 times 4 column-major matrix. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glMultMatrixf")] + public static + void MultMatrix(ref Single m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* m_ptr = &m) + { + Delegates.glMultMatrixf((Single*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Multiply the current matrix with the specified matrix + /// + /// + /// + /// Points to 16 consecutive values that are used as the elements of a 4 times 4 column-major matrix. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glMultMatrixf")] + public static + unsafe void MultMatrix(Single* m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultMatrixf((Single*)m); + #if DEBUG + } + #endif + } + + /// [requires: v1.1 and 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glMultMatrixx")] + public static + void MultMatrixx(int[] m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (int* m_ptr = m) + { + Delegates.glMultMatrixx((int*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v1.1 and 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glMultMatrixx")] + public static + void MultMatrixx(ref int m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (int* m_ptr = &m) + { + Delegates.glMultMatrixx((int*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v1.1 and 1.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glMultMatrixx")] + public static + unsafe void MultMatrixx(int* m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultMatrixx((int*)m); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Set the current normal vector + /// + /// + /// + /// Specify the , , and coordinates of the new current normal. The initial value of the current normal is the unit vector, (0, 0, 1). + /// + /// + /// + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glNormal3f")] + public static + void Normal3(Single nx, Single ny, Single nz) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormal3f((Single)nx, (Single)ny, (Single)nz); + #if DEBUG + } + #endif + } + + /// [requires: v1.1 and 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glNormal3x")] + public static + void Normal3x(int nx, int ny, int nz) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormal3x((int)nx, (int)ny, (int)nz); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Define an array of normals + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glNormalPointer")] + public static + void NormalPointer(OpenTK.Graphics.ES11.All type, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormalPointer((OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Define an array of normals + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glNormalPointer")] + public static + void NormalPointer(OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] T2[] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glNormalPointer((OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Define an array of normals + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glNormalPointer")] + public static + void NormalPointer(OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] T2[,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glNormalPointer((OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Define an array of normals + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glNormalPointer")] + public static + void NormalPointer(OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] T2[,,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glNormalPointer((OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Define an array of normals + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glNormalPointer")] + public static + void NormalPointer(OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] ref T2 pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glNormalPointer((OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + pointer = (T2)pointer_ptr.Target; + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Multiply the current matrix with an orthographic matrix + /// + /// + /// + /// Specify the coordinates for the left and right vertical clipping planes. + /// + /// + /// + /// + /// Specify the coordinates for the bottom and top horizontal clipping planes. + /// + /// + /// + /// + /// Specify the distances to the nearer and farther depth clipping planes. These values are negative if the plane is to be behind the viewer. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glOrthof")] + public static + void Ortho(Single left, Single right, Single bottom, Single top, Single zNear, Single zFar) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glOrthof((Single)left, (Single)right, (Single)bottom, (Single)top, (Single)zNear, (Single)zFar); + #if DEBUG + } + #endif + } + + /// [requires: v1.1 and 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glOrthox")] + public static + void Orthox(int left, int right, int bottom, int top, int zNear, int zFar) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glOrthox((int)left, (int)right, (int)bottom, (int)top, (int)zNear, (int)zFar); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Set pixel storage modes + /// + /// + /// + /// Specifies the symbolic name of the parameter to be set. Six values affect the packing of pixel data into memory: GL_PACK_SWAP_BYTES, GL_PACK_LSB_FIRST, GL_PACK_ROW_LENGTH, GL_PACK_IMAGE_HEIGHT, GL_PACK_SKIP_PIXELS, GL_PACK_SKIP_ROWS, GL_PACK_SKIP_IMAGES, and GL_PACK_ALIGNMENT. Six more affect the unpacking of pixel data from memory: GL_UNPACK_SWAP_BYTES, GL_UNPACK_LSB_FIRST, GL_UNPACK_ROW_LENGTH, GL_UNPACK_IMAGE_HEIGHT, GL_UNPACK_SKIP_PIXELS, GL_UNPACK_SKIP_ROWS, GL_UNPACK_SKIP_IMAGES, and GL_UNPACK_ALIGNMENT. + /// + /// + /// + /// + /// Specifies the value that pname is set to. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glPixelStorei")] + public static + void PixelStore(OpenTK.Graphics.ES11.All pname, Int32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPixelStorei((OpenTK.Graphics.ES11.All)pname, (Int32)param); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Specify point parameters + /// + /// + /// + /// Specifies a single-valued point parameter. GL_POINT_FADE_THRESHOLD_SIZE, and GL_POINT_SPRITE_COORD_ORIGIN are accepted. + /// + /// + /// + /// + /// Specifies the value that pname will be set to. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glPointParameterf")] + public static + void PointParameter(OpenTK.Graphics.ES11.All pname, Single param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPointParameterf((OpenTK.Graphics.ES11.All)pname, (Single)param); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Specify point parameters + /// + /// + /// + /// Specifies a single-valued point parameter. GL_POINT_FADE_THRESHOLD_SIZE, and GL_POINT_SPRITE_COORD_ORIGIN are accepted. + /// + /// + /// + /// + /// Specifies the value that pname will be set to. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glPointParameterfv")] + public static + void PointParameter(OpenTK.Graphics.ES11.All pname, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glPointParameterfv((OpenTK.Graphics.ES11.All)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Specify point parameters + /// + /// + /// + /// Specifies a single-valued point parameter. GL_POINT_FADE_THRESHOLD_SIZE, and GL_POINT_SPRITE_COORD_ORIGIN are accepted. + /// + /// + /// + /// + /// Specifies the value that pname will be set to. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glPointParameterfv")] + public static + unsafe void PointParameter(OpenTK.Graphics.ES11.All pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPointParameterfv((OpenTK.Graphics.ES11.All)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: v1.1 and 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glPointParameterx")] + public static + void PointParameterx(OpenTK.Graphics.ES11.All pname, int param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPointParameterx((OpenTK.Graphics.ES11.All)pname, (int)param); + #if DEBUG + } + #endif + } + + /// [requires: v1.1 and 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glPointParameterxv")] + public static + void PointParameterx(OpenTK.Graphics.ES11.All pname, int[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (int* @params_ptr = @params) + { + Delegates.glPointParameterxv((OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v1.1 and 1.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glPointParameterxv")] + public static + unsafe void PointParameterx(OpenTK.Graphics.ES11.All pname, int* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPointParameterxv((OpenTK.Graphics.ES11.All)pname, (int*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Specify the diameter of rasterized points + /// + /// + /// + /// Specifies the diameter of rasterized points. The initial value is 1. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glPointSize")] + public static + void PointSize(Single size) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPointSize((Single)size); + #if DEBUG + } + #endif + } + + /// [requires: v1.1 and 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glPointSizex")] + public static + void PointSizex(int size) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPointSizex((int)size); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Set the scale and units used to calculate depth values + /// + /// + /// + /// Specifies a scale factor that is used to create a variable depth offset for each polygon. The initial value is 0. + /// + /// + /// + /// + /// Is multiplied by an implementation-specific value to create a constant depth offset. The initial value is 0. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glPolygonOffset")] + public static + void PolygonOffset(Single factor, Single units) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPolygonOffset((Single)factor, (Single)units); + #if DEBUG + } + #endif + } + + /// [requires: v1.1 and 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glPolygonOffsetx")] + public static + void PolygonOffsetx(int factor, int units) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPolygonOffsetx((int)factor, (int)units); + #if DEBUG + } + #endif + } + + /// [requires: v1.1 and 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glPopMatrix")] + public static + void PopMatrix() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPopMatrix(); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Push and pop the current matrix stack + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glPushMatrix")] + public static + void PushMatrix() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPushMatrix(); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Read a block of pixels from the frame buffer + /// + /// + /// + /// Specify the window coordinates of the first pixel that is read from the frame buffer. This location is the lower left corner of a rectangular block of pixels. + /// + /// + /// + /// + /// Specify the dimensions of the pixel rectangle. width and height of one correspond to a single pixel. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_DEPTH_STENCIL, GL_RED, GL_GREEN, GL_BLUE, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. Must be one of GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_HALF_FLOAT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, GL_UNSIGNED_INT_2_10_10_10_REV, GL_UNSIGNED_INT_24_8, GL_UNSIGNED_INT_10F_11F_11F_REV, GL_UNSIGNED_INT_5_9_9_9_REV, or GL_FLOAT_32_UNSIGNED_INT_24_8_REV. + /// + /// + /// + /// + /// Returns the pixel data. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glReadPixels")] + public static + void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.All)format, (OpenTK.Graphics.ES11.All)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Read a block of pixels from the frame buffer + /// + /// + /// + /// Specify the window coordinates of the first pixel that is read from the frame buffer. This location is the lower left corner of a rectangular block of pixels. + /// + /// + /// + /// + /// Specify the dimensions of the pixel rectangle. width and height of one correspond to a single pixel. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_DEPTH_STENCIL, GL_RED, GL_GREEN, GL_BLUE, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. Must be one of GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_HALF_FLOAT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, GL_UNSIGNED_INT_2_10_10_10_REV, GL_UNSIGNED_INT_24_8, GL_UNSIGNED_INT_10F_11F_11F_REV, GL_UNSIGNED_INT_5_9_9_9_REV, or GL_FLOAT_32_UNSIGNED_INT_24_8_REV. + /// + /// + /// + /// + /// Returns the pixel data. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glReadPixels")] + public static + void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T6[] pixels) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.All)format, (OpenTK.Graphics.ES11.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Read a block of pixels from the frame buffer + /// + /// + /// + /// Specify the window coordinates of the first pixel that is read from the frame buffer. This location is the lower left corner of a rectangular block of pixels. + /// + /// + /// + /// + /// Specify the dimensions of the pixel rectangle. width and height of one correspond to a single pixel. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_DEPTH_STENCIL, GL_RED, GL_GREEN, GL_BLUE, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. Must be one of GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_HALF_FLOAT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, GL_UNSIGNED_INT_2_10_10_10_REV, GL_UNSIGNED_INT_24_8, GL_UNSIGNED_INT_10F_11F_11F_REV, GL_UNSIGNED_INT_5_9_9_9_REV, or GL_FLOAT_32_UNSIGNED_INT_24_8_REV. + /// + /// + /// + /// + /// Returns the pixel data. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glReadPixels")] + public static + void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T6[,] pixels) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.All)format, (OpenTK.Graphics.ES11.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Read a block of pixels from the frame buffer + /// + /// + /// + /// Specify the window coordinates of the first pixel that is read from the frame buffer. This location is the lower left corner of a rectangular block of pixels. + /// + /// + /// + /// + /// Specify the dimensions of the pixel rectangle. width and height of one correspond to a single pixel. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_DEPTH_STENCIL, GL_RED, GL_GREEN, GL_BLUE, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. Must be one of GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_HALF_FLOAT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, GL_UNSIGNED_INT_2_10_10_10_REV, GL_UNSIGNED_INT_24_8, GL_UNSIGNED_INT_10F_11F_11F_REV, GL_UNSIGNED_INT_5_9_9_9_REV, or GL_FLOAT_32_UNSIGNED_INT_24_8_REV. + /// + /// + /// + /// + /// Returns the pixel data. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glReadPixels")] + public static + void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T6[,,] pixels) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.All)format, (OpenTK.Graphics.ES11.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Read a block of pixels from the frame buffer + /// + /// + /// + /// Specify the window coordinates of the first pixel that is read from the frame buffer. This location is the lower left corner of a rectangular block of pixels. + /// + /// + /// + /// + /// Specify the dimensions of the pixel rectangle. width and height of one correspond to a single pixel. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_DEPTH_STENCIL, GL_RED, GL_GREEN, GL_BLUE, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. Must be one of GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_HALF_FLOAT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, GL_UNSIGNED_INT_2_10_10_10_REV, GL_UNSIGNED_INT_24_8, GL_UNSIGNED_INT_10F_11F_11F_REV, GL_UNSIGNED_INT_5_9_9_9_REV, or GL_FLOAT_32_UNSIGNED_INT_24_8_REV. + /// + /// + /// + /// + /// Returns the pixel data. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glReadPixels")] + public static + void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] ref T6 pixels) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.All)format, (OpenTK.Graphics.ES11.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + pixels = (T6)pixels_ptr.Target; + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Multiply the current matrix by a rotation matrix + /// + /// + /// + /// Specifies the angle of rotation, in degrees. + /// + /// + /// + /// + /// Specify the x, y, and z coordinates of a vector, respectively. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glRotatef")] + public static + void Rotate(Single angle, Single x, Single y, Single z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glRotatef((Single)angle, (Single)x, (Single)y, (Single)z); + #if DEBUG + } + #endif + } + + /// [requires: v1.1 and 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glRotatex")] + public static + void Rotatex(int angle, int x, int y, int z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glRotatex((int)angle, (int)x, (int)y, (int)z); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Specify multisample coverage parameters + /// + /// + /// + /// Specify a single floating-point sample coverage value. The value is clamped to the range [0 ,1]. The initial value is 1.0. + /// + /// + /// + /// + /// 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 = "1.1", Version = "1.1", EntryPoint = "glSampleCoverage")] + public static + void SampleCoverage(Single value, bool invert) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSampleCoverage((Single)value, (bool)invert); + #if DEBUG + } + #endif + } + + /// [requires: v1.1 and 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glSampleCoveragex")] + public static + void SampleCoveragex(int value, bool invert) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSampleCoveragex((int)value, (bool)invert); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Multiply the current matrix by a general scaling matrix + /// + /// + /// + /// Specify scale factors along the x, y, and z axes, respectively. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glScalef")] + public static + void Scale(Single x, Single y, Single z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glScalef((Single)x, (Single)y, (Single)z); + #if DEBUG + } + #endif + } + + /// [requires: v1.1 and 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glScalex")] + public static + void Scalex(int x, int y, int z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glScalex((int)x, (int)y, (int)z); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Define the scissor box + /// + /// + /// + /// Specify the lower left corner of the scissor box. Initially (0, 0). + /// + /// + /// + /// + /// Specify the width and height of the scissor box. When a GL context is first attached to a window, width and height are set to the dimensions of that window. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glScissor")] + public static + void Scissor(Int32 x, Int32 y, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glScissor((Int32)x, (Int32)y, (Int32)width, (Int32)height); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Select flat or smooth shading + /// + /// + /// + /// Specifies a symbolic value representing a shading technique. Accepted values are GL_FLAT and GL_SMOOTH. The initial value is GL_SMOOTH. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glShadeModel")] + public static + void ShadeModel(OpenTK.Graphics.ES11.All mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glShadeModel((OpenTK.Graphics.ES11.All)mode); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Set front and back function and reference value for stencil testing + /// + /// + /// + /// Specifies the test function. Eight symbolic constants are valid: GL_NEVER, GL_LESS, GL_LEQUAL, GL_GREATER, GL_GEQUAL, GL_EQUAL, GL_NOTEQUAL, and GL_ALWAYS. The initial value is GL_ALWAYS. + /// + /// + /// + /// + /// Specifies the reference value for the stencil test. ref is clamped to the range [0, 2 sup n - 1], where is the number of bitplanes in the stencil buffer. The initial value is 0. + /// + /// + /// + /// + /// Specifies a mask that is ANDed with both the reference value and the stored stencil value when the test is done. The initial value is all 1's. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glStencilFunc")] + public static + void StencilFunc(OpenTK.Graphics.ES11.All func, Int32 @ref, Int32 mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glStencilFunc((OpenTK.Graphics.ES11.All)func, (Int32)@ref, (UInt32)mask); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Set front and back function and reference value for stencil testing + /// + /// + /// + /// Specifies the test function. Eight symbolic constants are valid: GL_NEVER, GL_LESS, GL_LEQUAL, GL_GREATER, GL_GEQUAL, GL_EQUAL, GL_NOTEQUAL, and GL_ALWAYS. The initial value is GL_ALWAYS. + /// + /// + /// + /// + /// Specifies the reference value for the stencil test. ref is clamped to the range [0, 2 sup n - 1], where is the number of bitplanes in the stencil buffer. The initial value is 0. + /// + /// + /// + /// + /// Specifies a mask that is ANDed with both the reference value and the stored stencil value when the test is done. The initial value is all 1's. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glStencilFunc")] + public static + void StencilFunc(OpenTK.Graphics.ES11.All func, Int32 @ref, UInt32 mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glStencilFunc((OpenTK.Graphics.ES11.All)func, (Int32)@ref, (UInt32)mask); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Control the front and back writing of individual bits in the stencil planes + /// + /// + /// + /// Specifies a bit mask to enable and disable writing of individual bits in the stencil planes. Initially, the mask is all 1's. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glStencilMask")] + public static + void StencilMask(Int32 mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glStencilMask((UInt32)mask); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Control the front and back writing of individual bits in the stencil planes + /// + /// + /// + /// Specifies a bit mask to enable and disable writing of individual bits in the stencil planes. Initially, the mask is all 1's. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glStencilMask")] + public static + void StencilMask(UInt32 mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glStencilMask((UInt32)mask); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Set front and back stencil test actions + /// + /// + /// + /// Specifies the action to take when the stencil test fails. Eight symbolic constants are accepted: GL_KEEP, GL_ZERO, GL_REPLACE, GL_INCR, GL_INCR_WRAP, GL_DECR, GL_DECR_WRAP, and GL_INVERT. The initial value is GL_KEEP. + /// + /// + /// + /// + /// Specifies the stencil action when the stencil test passes, but the depth test fails. dpfail accepts the same symbolic constants as sfail. The initial value is GL_KEEP. + /// + /// + /// + /// + /// 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 = "1.1", Version = "1.1", EntryPoint = "glStencilOp")] + public static + void StencilOp(OpenTK.Graphics.ES11.All fail, OpenTK.Graphics.ES11.All zfail, OpenTK.Graphics.ES11.All zpass) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glStencilOp((OpenTK.Graphics.ES11.All)fail, (OpenTK.Graphics.ES11.All)zfail, (OpenTK.Graphics.ES11.All)zpass); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Define an array of texture coordinates + /// + /// + /// + /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexCoordPointer")] + public static + void TexCoordPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoordPointer((Int32)size, (OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Define an array of texture coordinates + /// + /// + /// + /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexCoordPointer")] + public static + void TexCoordPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] T3[] pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glTexCoordPointer((Int32)size, (OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Define an array of texture coordinates + /// + /// + /// + /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexCoordPointer")] + public static + void TexCoordPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] T3[,] pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glTexCoordPointer((Int32)size, (OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Define an array of texture coordinates + /// + /// + /// + /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexCoordPointer")] + public static + void TexCoordPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] T3[,,] pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glTexCoordPointer((Int32)size, (OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Define an array of texture coordinates + /// + /// + /// + /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexCoordPointer")] + public static + void TexCoordPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] ref T3 pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glTexCoordPointer((Int32)size, (OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + pointer = (T3)pointer_ptr.Target; + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Set texture environment parameters + /// + /// + /// + /// Specifies a texture environment. May be GL_TEXTURE_ENV, GL_TEXTURE_FILTER_CONTROL or GL_POINT_SPRITE. + /// + /// + /// + /// + /// Specifies the symbolic name of a single-valued texture environment parameter. May be either GL_TEXTURE_ENV_MODE, GL_TEXTURE_LOD_BIAS, GL_COMBINE_RGB, GL_COMBINE_ALPHA, GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, GL_SRC0_ALPHA, GL_SRC1_ALPHA, GL_SRC2_ALPHA, GL_OPERAND0_RGB, GL_OPERAND1_RGB, GL_OPERAND2_RGB, GL_OPERAND0_ALPHA, GL_OPERAND1_ALPHA, GL_OPERAND2_ALPHA, GL_RGB_SCALE, GL_ALPHA_SCALE, or GL_COORD_REPLACE. + /// + /// + /// + /// + /// Specifies a single symbolic constant, one of GL_ADD, GL_ADD_SIGNED, GL_INTERPOLATE, GL_MODULATE, GL_DECAL, GL_BLEND, GL_REPLACE, GL_SUBTRACT, GL_COMBINE, GL_TEXTURE, GL_CONSTANT, GL_PRIMARY_COLOR, GL_PREVIOUS, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, a single boolean value for the point sprite texture coordinate replacement, a single floating-point value for the texture level-of-detail bias, or 1.0, 2.0, or 4.0 when specifying the GL_RGB_SCALE or GL_ALPHA_SCALE. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexEnvf")] + public static + void TexEnv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Single param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexEnvf((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (Single)param); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Set texture environment parameters + /// + /// + /// + /// Specifies a texture environment. May be GL_TEXTURE_ENV, GL_TEXTURE_FILTER_CONTROL or GL_POINT_SPRITE. + /// + /// + /// + /// + /// Specifies the symbolic name of a single-valued texture environment parameter. May be either GL_TEXTURE_ENV_MODE, GL_TEXTURE_LOD_BIAS, GL_COMBINE_RGB, GL_COMBINE_ALPHA, GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, GL_SRC0_ALPHA, GL_SRC1_ALPHA, GL_SRC2_ALPHA, GL_OPERAND0_RGB, GL_OPERAND1_RGB, GL_OPERAND2_RGB, GL_OPERAND0_ALPHA, GL_OPERAND1_ALPHA, GL_OPERAND2_ALPHA, GL_RGB_SCALE, GL_ALPHA_SCALE, or GL_COORD_REPLACE. + /// + /// + /// + /// + /// Specifies a single symbolic constant, one of GL_ADD, GL_ADD_SIGNED, GL_INTERPOLATE, GL_MODULATE, GL_DECAL, GL_BLEND, GL_REPLACE, GL_SUBTRACT, GL_COMBINE, GL_TEXTURE, GL_CONSTANT, GL_PRIMARY_COLOR, GL_PREVIOUS, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, a single boolean value for the point sprite texture coordinate replacement, a single floating-point value for the texture level-of-detail bias, or 1.0, 2.0, or 4.0 when specifying the GL_RGB_SCALE or GL_ALPHA_SCALE. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexEnvfv")] + public static + void TexEnv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glTexEnvfv((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Set texture environment parameters + /// + /// + /// + /// Specifies a texture environment. May be GL_TEXTURE_ENV, GL_TEXTURE_FILTER_CONTROL or GL_POINT_SPRITE. + /// + /// + /// + /// + /// Specifies the symbolic name of a single-valued texture environment parameter. May be either GL_TEXTURE_ENV_MODE, GL_TEXTURE_LOD_BIAS, GL_COMBINE_RGB, GL_COMBINE_ALPHA, GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, GL_SRC0_ALPHA, GL_SRC1_ALPHA, GL_SRC2_ALPHA, GL_OPERAND0_RGB, GL_OPERAND1_RGB, GL_OPERAND2_RGB, GL_OPERAND0_ALPHA, GL_OPERAND1_ALPHA, GL_OPERAND2_ALPHA, GL_RGB_SCALE, GL_ALPHA_SCALE, or GL_COORD_REPLACE. + /// + /// + /// + /// + /// Specifies a single symbolic constant, one of GL_ADD, GL_ADD_SIGNED, GL_INTERPOLATE, GL_MODULATE, GL_DECAL, GL_BLEND, GL_REPLACE, GL_SUBTRACT, GL_COMBINE, GL_TEXTURE, GL_CONSTANT, GL_PRIMARY_COLOR, GL_PREVIOUS, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, a single boolean value for the point sprite texture coordinate replacement, a single floating-point value for the texture level-of-detail bias, or 1.0, 2.0, or 4.0 when specifying the GL_RGB_SCALE or GL_ALPHA_SCALE. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexEnvfv")] + public static + unsafe void TexEnv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexEnvfv((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Set texture environment parameters + /// + /// + /// + /// Specifies a texture environment. May be GL_TEXTURE_ENV, GL_TEXTURE_FILTER_CONTROL or GL_POINT_SPRITE. + /// + /// + /// + /// + /// Specifies the symbolic name of a single-valued texture environment parameter. May be either GL_TEXTURE_ENV_MODE, GL_TEXTURE_LOD_BIAS, GL_COMBINE_RGB, GL_COMBINE_ALPHA, GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, GL_SRC0_ALPHA, GL_SRC1_ALPHA, GL_SRC2_ALPHA, GL_OPERAND0_RGB, GL_OPERAND1_RGB, GL_OPERAND2_RGB, GL_OPERAND0_ALPHA, GL_OPERAND1_ALPHA, GL_OPERAND2_ALPHA, GL_RGB_SCALE, GL_ALPHA_SCALE, or GL_COORD_REPLACE. + /// + /// + /// + /// + /// Specifies a single symbolic constant, one of GL_ADD, GL_ADD_SIGNED, GL_INTERPOLATE, GL_MODULATE, GL_DECAL, GL_BLEND, GL_REPLACE, GL_SUBTRACT, GL_COMBINE, GL_TEXTURE, GL_CONSTANT, GL_PRIMARY_COLOR, GL_PREVIOUS, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, a single boolean value for the point sprite texture coordinate replacement, a single floating-point value for the texture level-of-detail bias, or 1.0, 2.0, or 4.0 when specifying the GL_RGB_SCALE or GL_ALPHA_SCALE. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexEnvi")] + public static + void TexEnv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Int32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexEnvi((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (Int32)param); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Set texture environment parameters + /// + /// + /// + /// Specifies a texture environment. May be GL_TEXTURE_ENV, GL_TEXTURE_FILTER_CONTROL or GL_POINT_SPRITE. + /// + /// + /// + /// + /// Specifies the symbolic name of a single-valued texture environment parameter. May be either GL_TEXTURE_ENV_MODE, GL_TEXTURE_LOD_BIAS, GL_COMBINE_RGB, GL_COMBINE_ALPHA, GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, GL_SRC0_ALPHA, GL_SRC1_ALPHA, GL_SRC2_ALPHA, GL_OPERAND0_RGB, GL_OPERAND1_RGB, GL_OPERAND2_RGB, GL_OPERAND0_ALPHA, GL_OPERAND1_ALPHA, GL_OPERAND2_ALPHA, GL_RGB_SCALE, GL_ALPHA_SCALE, or GL_COORD_REPLACE. + /// + /// + /// + /// + /// Specifies a single symbolic constant, one of GL_ADD, GL_ADD_SIGNED, GL_INTERPOLATE, GL_MODULATE, GL_DECAL, GL_BLEND, GL_REPLACE, GL_SUBTRACT, GL_COMBINE, GL_TEXTURE, GL_CONSTANT, GL_PRIMARY_COLOR, GL_PREVIOUS, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, a single boolean value for the point sprite texture coordinate replacement, a single floating-point value for the texture level-of-detail bias, or 1.0, 2.0, or 4.0 when specifying the GL_RGB_SCALE or GL_ALPHA_SCALE. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexEnviv")] + public static + void TexEnv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glTexEnviv((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Set texture environment parameters + /// + /// + /// + /// Specifies a texture environment. May be GL_TEXTURE_ENV, GL_TEXTURE_FILTER_CONTROL or GL_POINT_SPRITE. + /// + /// + /// + /// + /// Specifies the symbolic name of a single-valued texture environment parameter. May be either GL_TEXTURE_ENV_MODE, GL_TEXTURE_LOD_BIAS, GL_COMBINE_RGB, GL_COMBINE_ALPHA, GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, GL_SRC0_ALPHA, GL_SRC1_ALPHA, GL_SRC2_ALPHA, GL_OPERAND0_RGB, GL_OPERAND1_RGB, GL_OPERAND2_RGB, GL_OPERAND0_ALPHA, GL_OPERAND1_ALPHA, GL_OPERAND2_ALPHA, GL_RGB_SCALE, GL_ALPHA_SCALE, or GL_COORD_REPLACE. + /// + /// + /// + /// + /// Specifies a single symbolic constant, one of GL_ADD, GL_ADD_SIGNED, GL_INTERPOLATE, GL_MODULATE, GL_DECAL, GL_BLEND, GL_REPLACE, GL_SUBTRACT, GL_COMBINE, GL_TEXTURE, GL_CONSTANT, GL_PRIMARY_COLOR, GL_PREVIOUS, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, a single boolean value for the point sprite texture coordinate replacement, a single floating-point value for the texture level-of-detail bias, or 1.0, 2.0, or 4.0 when specifying the GL_RGB_SCALE or GL_ALPHA_SCALE. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexEnviv")] + public static + unsafe void TexEnv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexEnviv((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: v1.1 and 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexEnvx")] + public static + void TexEnvx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexEnvx((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int)param); + #if DEBUG + } + #endif + } + + /// [requires: v1.1 and 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexEnvxv")] + public static + void TexEnvx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (int* @params_ptr = @params) + { + Delegates.glTexEnvxv((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v1.1 and 1.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexEnvxv")] + public static + unsafe void TexEnvx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexEnvxv((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Specify a two-dimensional texture image + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, GL_TEXTURE_RECTANGLE, GL_PROXY_TEXTURE_RECTANGLE, 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. If target is GL_TEXTURE_RECTANGLE or GL_PROXY_TEXTURE_RECTANGLE, level must be 0. + /// + /// + /// + /// + /// Specifies the number of color components in the texture. Must be one of the following symbolic constants: GL_COMPRESSED_RED, GL_COMPRESSED_RG, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_COMPRESSED_SRGB, GL_COMPRESSED_SRGB_ALPHA, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_R3_G3_B2, GL_RED, GL_RG, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. + /// + /// + /// + /// + /// Specifies the width of the texture image. All implementations support texture images that are at least 1024 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image, or the number of layers in a texture array, in the case of the GL_TEXTURE_1D_ARRAY and GL_PROXY_TEXTURE_1D_ARRAY targets. All implementations support 2D texture images that are at least 1024 texels high, and texture arrays that are at least 256 layers deep. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexImage2D")] + public static + void TexImage2D(OpenTK.Graphics.ES11.All target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexImage2D((OpenTK.Graphics.ES11.All)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES11.All)format, (OpenTK.Graphics.ES11.All)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Specify a two-dimensional texture image + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, GL_TEXTURE_RECTANGLE, GL_PROXY_TEXTURE_RECTANGLE, 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. If target is GL_TEXTURE_RECTANGLE or GL_PROXY_TEXTURE_RECTANGLE, level must be 0. + /// + /// + /// + /// + /// Specifies the number of color components in the texture. Must be one of the following symbolic constants: GL_COMPRESSED_RED, GL_COMPRESSED_RG, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_COMPRESSED_SRGB, GL_COMPRESSED_SRGB_ALPHA, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_R3_G3_B2, GL_RED, GL_RG, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. + /// + /// + /// + /// + /// Specifies the width of the texture image. All implementations support texture images that are at least 1024 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image, or the number of layers in a texture array, in the case of the GL_TEXTURE_1D_ARRAY and GL_PROXY_TEXTURE_1D_ARRAY targets. All implementations support 2D texture images that are at least 1024 texels high, and texture arrays that are at least 256 layers deep. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexImage2D")] + public static + void TexImage2D(OpenTK.Graphics.ES11.All target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T8[] pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexImage2D((OpenTK.Graphics.ES11.All)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES11.All)format, (OpenTK.Graphics.ES11.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Specify a two-dimensional texture image + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, GL_TEXTURE_RECTANGLE, GL_PROXY_TEXTURE_RECTANGLE, 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. If target is GL_TEXTURE_RECTANGLE or GL_PROXY_TEXTURE_RECTANGLE, level must be 0. + /// + /// + /// + /// + /// Specifies the number of color components in the texture. Must be one of the following symbolic constants: GL_COMPRESSED_RED, GL_COMPRESSED_RG, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_COMPRESSED_SRGB, GL_COMPRESSED_SRGB_ALPHA, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_R3_G3_B2, GL_RED, GL_RG, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. + /// + /// + /// + /// + /// Specifies the width of the texture image. All implementations support texture images that are at least 1024 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image, or the number of layers in a texture array, in the case of the GL_TEXTURE_1D_ARRAY and GL_PROXY_TEXTURE_1D_ARRAY targets. All implementations support 2D texture images that are at least 1024 texels high, and texture arrays that are at least 256 layers deep. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexImage2D")] + public static + void TexImage2D(OpenTK.Graphics.ES11.All target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T8[,] pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexImage2D((OpenTK.Graphics.ES11.All)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES11.All)format, (OpenTK.Graphics.ES11.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Specify a two-dimensional texture image + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, GL_TEXTURE_RECTANGLE, GL_PROXY_TEXTURE_RECTANGLE, 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. If target is GL_TEXTURE_RECTANGLE or GL_PROXY_TEXTURE_RECTANGLE, level must be 0. + /// + /// + /// + /// + /// Specifies the number of color components in the texture. Must be one of the following symbolic constants: GL_COMPRESSED_RED, GL_COMPRESSED_RG, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_COMPRESSED_SRGB, GL_COMPRESSED_SRGB_ALPHA, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_R3_G3_B2, GL_RED, GL_RG, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. + /// + /// + /// + /// + /// Specifies the width of the texture image. All implementations support texture images that are at least 1024 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image, or the number of layers in a texture array, in the case of the GL_TEXTURE_1D_ARRAY and GL_PROXY_TEXTURE_1D_ARRAY targets. All implementations support 2D texture images that are at least 1024 texels high, and texture arrays that are at least 256 layers deep. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexImage2D")] + public static + void TexImage2D(OpenTK.Graphics.ES11.All target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T8[,,] pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexImage2D((OpenTK.Graphics.ES11.All)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES11.All)format, (OpenTK.Graphics.ES11.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Specify a two-dimensional texture image + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, GL_TEXTURE_RECTANGLE, GL_PROXY_TEXTURE_RECTANGLE, 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. If target is GL_TEXTURE_RECTANGLE or GL_PROXY_TEXTURE_RECTANGLE, level must be 0. + /// + /// + /// + /// + /// Specifies the number of color components in the texture. Must be one of the following symbolic constants: GL_COMPRESSED_RED, GL_COMPRESSED_RG, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_COMPRESSED_SRGB, GL_COMPRESSED_SRGB_ALPHA, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_R3_G3_B2, GL_RED, GL_RG, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. + /// + /// + /// + /// + /// Specifies the width of the texture image. All implementations support texture images that are at least 1024 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image, or the number of layers in a texture array, in the case of the GL_TEXTURE_1D_ARRAY and GL_PROXY_TEXTURE_1D_ARRAY targets. All implementations support 2D texture images that are at least 1024 texels high, and texture arrays that are at least 256 layers deep. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexImage2D")] + public static + void TexImage2D(OpenTK.Graphics.ES11.All target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] ref T8 pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexImage2D((OpenTK.Graphics.ES11.All)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES11.All)format, (OpenTK.Graphics.ES11.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + pixels = (T8)pixels_ptr.Target; + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Set texture parameters + /// + /// + /// + /// Specifies the target texture, which must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, or GL_TEXTURE_CUBE_MAP. + /// + /// + /// + /// + /// Specifies the symbolic name of a single-valued texture parameter. pname can be one of the following: GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, or GL_TEXTURE_WRAP_R. + /// + /// + /// + /// + /// Specifies the value of pname. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexParameterf")] + public static + void TexParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Single param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexParameterf((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (Single)param); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Set texture parameters + /// + /// + /// + /// Specifies the target texture, which must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, or GL_TEXTURE_CUBE_MAP. + /// + /// + /// + /// + /// Specifies the symbolic name of a single-valued texture parameter. pname can be one of the following: GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, or GL_TEXTURE_WRAP_R. + /// + /// + /// + /// + /// Specifies the value of pname. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexParameterfv")] + public static + void TexParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glTexParameterfv((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Set texture parameters + /// + /// + /// + /// Specifies the target texture, which must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, or GL_TEXTURE_CUBE_MAP. + /// + /// + /// + /// + /// Specifies the symbolic name of a single-valued texture parameter. pname can be one of the following: GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, or GL_TEXTURE_WRAP_R. + /// + /// + /// + /// + /// Specifies the value of pname. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexParameterfv")] + public static + unsafe void TexParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexParameterfv((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Set texture parameters + /// + /// + /// + /// Specifies the target texture, which must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, or GL_TEXTURE_CUBE_MAP. + /// + /// + /// + /// + /// Specifies the symbolic name of a single-valued texture parameter. pname can be one of the following: GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, or GL_TEXTURE_WRAP_R. + /// + /// + /// + /// + /// Specifies the value of pname. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexParameteri")] + public static + void TexParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Int32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexParameteri((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (Int32)param); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Set texture parameters + /// + /// + /// + /// Specifies the target texture, which must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, or GL_TEXTURE_CUBE_MAP. + /// + /// + /// + /// + /// Specifies the symbolic name of a single-valued texture parameter. pname can be one of the following: GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, or GL_TEXTURE_WRAP_R. + /// + /// + /// + /// + /// Specifies the value of pname. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexParameteriv")] + public static + void TexParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glTexParameteriv((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Set texture parameters + /// + /// + /// + /// Specifies the target texture, which must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, or GL_TEXTURE_CUBE_MAP. + /// + /// + /// + /// + /// Specifies the symbolic name of a single-valued texture parameter. pname can be one of the following: GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, or GL_TEXTURE_WRAP_R. + /// + /// + /// + /// + /// Specifies the value of pname. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexParameteriv")] + public static + unsafe void TexParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexParameteriv((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: v1.1 and 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexParameterx")] + public static + void TexParameterx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexParameterx((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int)param); + #if DEBUG + } + #endif + } + + /// [requires: v1.1 and 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexParameterxv")] + public static + void TexParameterx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (int* @params_ptr = @params) + { + Delegates.glTexParameterxv((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v1.1 and 1.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexParameterxv")] + public static + unsafe void TexParameterx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexParameterxv((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Specify a two-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexSubImage2D")] + public static + void TexSubImage2D(OpenTK.Graphics.ES11.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexSubImage2D((OpenTK.Graphics.ES11.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.All)format, (OpenTK.Graphics.ES11.All)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Specify a two-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexSubImage2D")] + public static + void TexSubImage2D(OpenTK.Graphics.ES11.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T8[] pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage2D((OpenTK.Graphics.ES11.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.All)format, (OpenTK.Graphics.ES11.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Specify a two-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexSubImage2D")] + public static + void TexSubImage2D(OpenTK.Graphics.ES11.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T8[,] pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage2D((OpenTK.Graphics.ES11.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.All)format, (OpenTK.Graphics.ES11.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Specify a two-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexSubImage2D")] + public static + void TexSubImage2D(OpenTK.Graphics.ES11.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T8[,,] pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage2D((OpenTK.Graphics.ES11.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.All)format, (OpenTK.Graphics.ES11.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Specify a two-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexSubImage2D")] + public static + void TexSubImage2D(OpenTK.Graphics.ES11.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] ref T8 pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage2D((OpenTK.Graphics.ES11.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.All)format, (OpenTK.Graphics.ES11.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + pixels = (T8)pixels_ptr.Target; + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Multiply the current matrix by a translation matrix + /// + /// + /// + /// Specify the x, y, and z coordinates of a translation vector. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTranslatef")] + public static + void Translate(Single x, Single y, Single z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTranslatef((Single)x, (Single)y, (Single)z); + #if DEBUG + } + #endif + } + + /// [requires: v1.1 and 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTranslatex")] + public static + void Translatex(int x, int y, int z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTranslatex((int)x, (int)y, (int)z); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Define an array of vertex data + /// + /// + /// + /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glVertexPointer")] + public static + void VertexPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexPointer((Int32)size, (OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Define an array of vertex data + /// + /// + /// + /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glVertexPointer")] + public static + void VertexPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] T3[] pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexPointer((Int32)size, (OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Define an array of vertex data + /// + /// + /// + /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glVertexPointer")] + public static + void VertexPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] T3[,] pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexPointer((Int32)size, (OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Define an array of vertex data + /// + /// + /// + /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glVertexPointer")] + public static + void VertexPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] T3[,,] pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexPointer((Int32)size, (OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Define an array of vertex data + /// + /// + /// + /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glVertexPointer")] + public static + void VertexPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] ref T3 pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexPointer((Int32)size, (OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + pointer = (T3)pointer_ptr.Target; + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1 and 1.1] + /// Set the viewport + /// + /// + /// + /// Specify the lower left corner of the viewport rectangle, in pixels. The initial value is (0,0). + /// + /// + /// + /// + /// Specify the width and height of the viewport. When a GL context is first attached to a window, width and height are set to the dimensions of that window. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glViewport")] + public static + void Viewport(Int32 x, Int32 y, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glViewport((Int32)x, (Int32)y, (Int32)width, (Int32)height); + #if DEBUG + } + #endif + } + + public static partial class NV + { + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDeleteFencesNV")] + public static + void DeleteFences(Int32 n, Int32[] fences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* fences_ptr = fences) + { + Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDeleteFencesNV")] + public static + void DeleteFences(Int32 n, ref Int32 fences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* fences_ptr = &fences) + { + Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDeleteFencesNV")] + public static + unsafe void DeleteFences(Int32 n, Int32* fences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences); + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDeleteFencesNV")] + public static + void DeleteFences(Int32 n, UInt32[] fences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* fences_ptr = fences) + { + Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDeleteFencesNV")] + public static + void DeleteFences(Int32 n, ref UInt32 fences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* fences_ptr = &fences) + { + Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDeleteFencesNV")] + public static + unsafe void DeleteFences(Int32 n, UInt32* fences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences); + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glFinishFenceNV")] + public static + void FinishFence(Int32 fence) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFinishFenceNV((UInt32)fence); + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glFinishFenceNV")] + public static + void FinishFence(UInt32 fence) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFinishFenceNV((UInt32)fence); + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGenFencesNV")] + public static + void GenFences(Int32 n, Int32[] fences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* fences_ptr = fences) + { + Delegates.glGenFencesNV((Int32)n, (UInt32*)fences_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGenFencesNV")] + public static + void GenFences(Int32 n, ref Int32 fences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* fences_ptr = &fences) + { + Delegates.glGenFencesNV((Int32)n, (UInt32*)fences_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGenFencesNV")] + public static + unsafe void GenFences(Int32 n, Int32* fences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenFencesNV((Int32)n, (UInt32*)fences); + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGenFencesNV")] + public static + void GenFences(Int32 n, UInt32[] fences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* fences_ptr = fences) + { + Delegates.glGenFencesNV((Int32)n, (UInt32*)fences_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGenFencesNV")] + public static + void GenFences(Int32 n, ref UInt32 fences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* fences_ptr = &fences) + { + Delegates.glGenFencesNV((Int32)n, (UInt32*)fences_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGenFencesNV")] + public static + unsafe void GenFences(Int32 n, UInt32* fences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenFencesNV((Int32)n, (UInt32*)fences); + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetFenceivNV")] + public static + void GetFence(Int32 fence, OpenTK.Graphics.ES11.All pname, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetFenceivNV")] + public static + void GetFence(Int32 fence, OpenTK.Graphics.ES11.All pname, ref Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetFenceivNV")] + public static + unsafe void GetFence(Int32 fence, OpenTK.Graphics.ES11.All pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetFenceivNV")] + public static + void GetFence(UInt32 fence, OpenTK.Graphics.ES11.All pname, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetFenceivNV")] + public static + void GetFence(UInt32 fence, OpenTK.Graphics.ES11.All pname, ref Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetFenceivNV")] + public static + unsafe void GetFence(UInt32 fence, OpenTK.Graphics.ES11.All pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glIsFenceNV")] + public static + bool IsFence(Int32 fence) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsFenceNV((UInt32)fence); + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glIsFenceNV")] + public static + bool IsFence(UInt32 fence) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsFenceNV((UInt32)fence); + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glSetFenceNV")] + public static + void SetFence(Int32 fence, OpenTK.Graphics.ES11.All condition) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSetFenceNV((UInt32)fence, (OpenTK.Graphics.ES11.All)condition); + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glSetFenceNV")] + public static + void SetFence(UInt32 fence, OpenTK.Graphics.ES11.All condition) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSetFenceNV((UInt32)fence, (OpenTK.Graphics.ES11.All)condition); + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTestFenceNV")] + public static + bool TestFence(Int32 fence) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glTestFenceNV((UInt32)fence); + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTestFenceNV")] + public static + bool TestFence(UInt32 fence) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glTestFenceNV((UInt32)fence); + #if DEBUG + } + #endif + } + + } + + public static partial class Oes + { + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glAlphaFuncxOES")] + public static + void AlphaFuncx(OpenTK.Graphics.ES11.All func, int @ref) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glAlphaFuncxOES((OpenTK.Graphics.ES11.All)func, (int)@ref); + #if DEBUG + } + #endif + } + + + /// [requires: 1.1] + /// Bind a framebuffer to a framebuffer target + /// + /// + /// + /// Specifies the framebuffer target of the binding operation. + /// + /// + /// + /// + /// Specifies the name of the framebuffer object to bind. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glBindFramebufferOES")] + public static + void BindFramebuffer(OpenTK.Graphics.ES11.All target, Int32 framebuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindFramebufferOES((OpenTK.Graphics.ES11.All)target, (UInt32)framebuffer); + #if DEBUG + } + #endif + } + + + /// [requires: 1.1] + /// Bind a framebuffer to a framebuffer target + /// + /// + /// + /// Specifies the framebuffer target of the binding operation. + /// + /// + /// + /// + /// Specifies the name of the framebuffer object to bind. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glBindFramebufferOES")] + public static + void BindFramebuffer(OpenTK.Graphics.ES11.All target, UInt32 framebuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindFramebufferOES((OpenTK.Graphics.ES11.All)target, (UInt32)framebuffer); + #if DEBUG + } + #endif + } + + + /// [requires: 1.1] + /// Bind a renderbuffer to a renderbuffer target + /// + /// + /// + /// Specifies the renderbuffer target of the binding operation. target must be GL_RENDERBUFFER. + /// + /// + /// + /// + /// Specifies the name of the renderbuffer object to bind. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glBindRenderbufferOES")] + public static + void BindRenderbuffer(OpenTK.Graphics.ES11.All target, Int32 renderbuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindRenderbufferOES((OpenTK.Graphics.ES11.All)target, (UInt32)renderbuffer); + #if DEBUG + } + #endif + } + + + /// [requires: 1.1] + /// Bind a renderbuffer to a renderbuffer target + /// + /// + /// + /// Specifies the renderbuffer target of the binding operation. target must be GL_RENDERBUFFER. + /// + /// + /// + /// + /// Specifies the name of the renderbuffer object to bind. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glBindRenderbufferOES")] + public static + void BindRenderbuffer(OpenTK.Graphics.ES11.All target, UInt32 renderbuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindRenderbufferOES((OpenTK.Graphics.ES11.All)target, (UInt32)renderbuffer); + #if DEBUG + } + #endif + } + + + /// [requires: 1.1] + /// Specify the equation used for both the RGB blend equation and the Alpha blend equation + /// + /// + /// + /// specifies how source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glBlendEquationOES")] + public static + void BlendEquation(OpenTK.Graphics.ES11.All mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBlendEquationOES((OpenTK.Graphics.ES11.All)mode); + #if DEBUG + } + #endif + } + + + /// [requires: 1.1] + /// Set the RGB blend equation and the alpha blend equation separately + /// + /// + /// + /// specifies the RGB blend equation, how the red, green, and blue components of the source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX. + /// + /// + /// + /// + /// specifies the alpha blend equation, how the alpha component of the source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glBlendEquationSeparateOES")] + public static + void BlendEquationSeparate(OpenTK.Graphics.ES11.All modeRGB, OpenTK.Graphics.ES11.All modeAlpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBlendEquationSeparateOES((OpenTK.Graphics.ES11.All)modeRGB, (OpenTK.Graphics.ES11.All)modeAlpha); + #if DEBUG + } + #endif + } + + + /// [requires: 1.1] + /// Specify pixel arithmetic for RGB and alpha components separately + /// + /// + /// + /// Specifies how the red, green, and blue blending factors are computed. The initial value is GL_ONE. + /// + /// + /// + /// + /// Specifies how the red, green, and blue destination blending factors are computed. The initial value is GL_ZERO. + /// + /// + /// + /// + /// Specified how the alpha source blending factor is computed. The initial value is GL_ONE. + /// + /// + /// + /// + /// Specified how the alpha destination blending factor is computed. The initial value is GL_ZERO. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glBlendFuncSeparateOES")] + public static + void BlendFuncSeparate(OpenTK.Graphics.ES11.All srcRGB, OpenTK.Graphics.ES11.All dstRGB, OpenTK.Graphics.ES11.All srcAlpha, OpenTK.Graphics.ES11.All dstAlpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBlendFuncSeparateOES((OpenTK.Graphics.ES11.All)srcRGB, (OpenTK.Graphics.ES11.All)dstRGB, (OpenTK.Graphics.ES11.All)srcAlpha, (OpenTK.Graphics.ES11.All)dstAlpha); + #if DEBUG + } + #endif + } + + + /// [requires: 1.1] + /// Check the completeness status of a framebuffer + /// + /// + /// + /// Specify the target of the framebuffer completeness check. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glCheckFramebufferStatusOES")] + public static + OpenTK.Graphics.ES11.All CheckFramebufferStatus(OpenTK.Graphics.ES11.All target) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glCheckFramebufferStatusOES((OpenTK.Graphics.ES11.All)target); + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glClearColorxOES")] + public static + void ClearColorx(int red, int green, int blue, int alpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glClearColorxOES((int)red, (int)green, (int)blue, (int)alpha); + #if DEBUG + } + #endif + } + + + /// [requires: 1.1] + /// Specify the clear value for the depth buffer + /// + /// + /// + /// Specifies the depth value used when the depth buffer is cleared. The initial value is 1. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glClearDepthfOES")] + public static + void ClearDepth(Single depth) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glClearDepthfOES((Single)depth); + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glClearDepthxOES")] + public static + void ClearDepthx(int depth) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glClearDepthxOES((int)depth); + #if DEBUG + } + #endif + } + + + /// [requires: 1.1] + /// Specify a plane against which all geometry is clipped + /// + /// + /// + /// Specifies which clipping plane is being positioned. Symbolic names of the form GL_CLIP_PLANEi, where i is an integer between 0 and GL_MAX_CLIP_PLANES - 1, are accepted. + /// + /// + /// + /// + /// Specifies the address of an array of four double-precision floating-point values. These values are interpreted as a plane equation. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glClipPlanefOES")] + public static + void ClipPlane(OpenTK.Graphics.ES11.All plane, Single[] equation) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* equation_ptr = equation) + { + Delegates.glClipPlanefOES((OpenTK.Graphics.ES11.All)plane, (Single*)equation_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: 1.1] + /// Specify a plane against which all geometry is clipped + /// + /// + /// + /// Specifies which clipping plane is being positioned. Symbolic names of the form GL_CLIP_PLANEi, where i is an integer between 0 and GL_MAX_CLIP_PLANES - 1, are accepted. + /// + /// + /// + /// + /// Specifies the address of an array of four double-precision floating-point values. These values are interpreted as a plane equation. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glClipPlanefOES")] + public static + void ClipPlane(OpenTK.Graphics.ES11.All plane, ref Single equation) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* equation_ptr = &equation) + { + Delegates.glClipPlanefOES((OpenTK.Graphics.ES11.All)plane, (Single*)equation_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: 1.1] + /// Specify a plane against which all geometry is clipped + /// + /// + /// + /// Specifies which clipping plane is being positioned. Symbolic names of the form GL_CLIP_PLANEi, where i is an integer between 0 and GL_MAX_CLIP_PLANES - 1, are accepted. + /// + /// + /// + /// + /// Specifies the address of an array of four double-precision floating-point values. These values are interpreted as a plane equation. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glClipPlanefOES")] + public static + unsafe void ClipPlane(OpenTK.Graphics.ES11.All plane, Single* equation) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glClipPlanefOES((OpenTK.Graphics.ES11.All)plane, (Single*)equation); + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glClipPlanexOES")] + public static + void ClipPlanex(OpenTK.Graphics.ES11.All plane, int[] equation) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (int* equation_ptr = equation) + { + Delegates.glClipPlanexOES((OpenTK.Graphics.ES11.All)plane, (int*)equation_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glClipPlanexOES")] + public static + void ClipPlanex(OpenTK.Graphics.ES11.All plane, ref int equation) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (int* equation_ptr = &equation) + { + Delegates.glClipPlanexOES((OpenTK.Graphics.ES11.All)plane, (int*)equation_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glClipPlanexOES")] + public static + unsafe void ClipPlanex(OpenTK.Graphics.ES11.All plane, int* equation) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glClipPlanexOES((OpenTK.Graphics.ES11.All)plane, (int*)equation); + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glColor4xOES")] + public static + void Color4x(int red, int green, int blue, int alpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor4xOES((int)red, (int)green, (int)blue, (int)alpha); + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glCurrentPaletteMatrixOES")] + public static + void CurrentPaletteMatrix(Int32 matrixpaletteindex) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCurrentPaletteMatrixOES((UInt32)matrixpaletteindex); + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glCurrentPaletteMatrixOES")] + public static + void CurrentPaletteMatrix(UInt32 matrixpaletteindex) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCurrentPaletteMatrixOES((UInt32)matrixpaletteindex); + #if DEBUG + } + #endif + } + + + /// [requires: 1.1] + /// Delete framebuffer objects + /// + /// + /// + /// Specifies the number of framebuffer objects to be deleted. + /// + /// + /// + /// + /// A pointer to an array containing n framebuffer objects to be deleted. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDeleteFramebuffersOES")] + public static + void DeleteFramebuffers(Int32 n, Int32[] framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* framebuffers_ptr = framebuffers) + { + Delegates.glDeleteFramebuffersOES((Int32)n, (UInt32*)framebuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: 1.1] + /// Delete framebuffer objects + /// + /// + /// + /// Specifies the number of framebuffer objects to be deleted. + /// + /// + /// + /// + /// A pointer to an array containing n framebuffer objects to be deleted. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDeleteFramebuffersOES")] + public static + void DeleteFramebuffers(Int32 n, ref Int32 framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* framebuffers_ptr = &framebuffers) + { + Delegates.glDeleteFramebuffersOES((Int32)n, (UInt32*)framebuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: 1.1] + /// Delete framebuffer objects + /// + /// + /// + /// Specifies the number of framebuffer objects to be deleted. + /// + /// + /// + /// + /// A pointer to an array containing n framebuffer objects to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDeleteFramebuffersOES")] + public static + unsafe void DeleteFramebuffers(Int32 n, Int32* framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteFramebuffersOES((Int32)n, (UInt32*)framebuffers); + #if DEBUG + } + #endif + } + + + /// [requires: 1.1] + /// Delete framebuffer objects + /// + /// + /// + /// Specifies the number of framebuffer objects to be deleted. + /// + /// + /// + /// + /// A pointer to an array containing n framebuffer objects to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDeleteFramebuffersOES")] + public static + void DeleteFramebuffers(Int32 n, UInt32[] framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* framebuffers_ptr = framebuffers) + { + Delegates.glDeleteFramebuffersOES((Int32)n, (UInt32*)framebuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: 1.1] + /// Delete framebuffer objects + /// + /// + /// + /// Specifies the number of framebuffer objects to be deleted. + /// + /// + /// + /// + /// A pointer to an array containing n framebuffer objects to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDeleteFramebuffersOES")] + public static + void DeleteFramebuffers(Int32 n, ref UInt32 framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* framebuffers_ptr = &framebuffers) + { + Delegates.glDeleteFramebuffersOES((Int32)n, (UInt32*)framebuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: 1.1] + /// Delete framebuffer objects + /// + /// + /// + /// Specifies the number of framebuffer objects to be deleted. + /// + /// + /// + /// + /// A pointer to an array containing n framebuffer objects to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDeleteFramebuffersOES")] + public static + unsafe void DeleteFramebuffers(Int32 n, UInt32* framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteFramebuffersOES((Int32)n, (UInt32*)framebuffers); + #if DEBUG + } + #endif + } + + + /// [requires: 1.1] + /// Delete renderbuffer objects + /// + /// + /// + /// Specifies the number of renderbuffer objects to be deleted. + /// + /// + /// + /// + /// A pointer to an array containing n renderbuffer objects to be deleted. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDeleteRenderbuffersOES")] + public static + void DeleteRenderbuffers(Int32 n, Int32[] renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* renderbuffers_ptr = renderbuffers) + { + Delegates.glDeleteRenderbuffersOES((Int32)n, (UInt32*)renderbuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: 1.1] + /// Delete renderbuffer objects + /// + /// + /// + /// Specifies the number of renderbuffer objects to be deleted. + /// + /// + /// + /// + /// A pointer to an array containing n renderbuffer objects to be deleted. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDeleteRenderbuffersOES")] + public static + void DeleteRenderbuffers(Int32 n, ref Int32 renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* renderbuffers_ptr = &renderbuffers) + { + Delegates.glDeleteRenderbuffersOES((Int32)n, (UInt32*)renderbuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: 1.1] + /// Delete renderbuffer objects + /// + /// + /// + /// Specifies the number of renderbuffer objects to be deleted. + /// + /// + /// + /// + /// A pointer to an array containing n renderbuffer objects to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDeleteRenderbuffersOES")] + public static + unsafe void DeleteRenderbuffers(Int32 n, Int32* renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteRenderbuffersOES((Int32)n, (UInt32*)renderbuffers); + #if DEBUG + } + #endif + } + + + /// [requires: 1.1] + /// Delete renderbuffer objects + /// + /// + /// + /// Specifies the number of renderbuffer objects to be deleted. + /// + /// + /// + /// + /// A pointer to an array containing n renderbuffer objects to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDeleteRenderbuffersOES")] + public static + void DeleteRenderbuffers(Int32 n, UInt32[] renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* renderbuffers_ptr = renderbuffers) + { + Delegates.glDeleteRenderbuffersOES((Int32)n, (UInt32*)renderbuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: 1.1] + /// Delete renderbuffer objects + /// + /// + /// + /// Specifies the number of renderbuffer objects to be deleted. + /// + /// + /// + /// + /// A pointer to an array containing n renderbuffer objects to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDeleteRenderbuffersOES")] + public static + void DeleteRenderbuffers(Int32 n, ref UInt32 renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* renderbuffers_ptr = &renderbuffers) + { + Delegates.glDeleteRenderbuffersOES((Int32)n, (UInt32*)renderbuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: 1.1] + /// Delete renderbuffer objects + /// + /// + /// + /// Specifies the number of renderbuffer objects to be deleted. + /// + /// + /// + /// + /// A pointer to an array containing n renderbuffer objects to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDeleteRenderbuffersOES")] + public static + unsafe void DeleteRenderbuffers(Int32 n, UInt32* renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteRenderbuffersOES((Int32)n, (UInt32*)renderbuffers); + #if DEBUG + } + #endif + } + + + /// [requires: 1.1] + /// Specify mapping of depth values from normalized device coordinates to window coordinates + /// + /// + /// + /// Specifies the mapping of the near clipping plane to window coordinates. The initial value is 0. + /// + /// + /// + /// + /// Specifies the mapping of the far clipping plane to window coordinates. The initial value is 1. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDepthRangefOES")] + public static + void DepthRange(Single zNear, Single zFar) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDepthRangefOES((Single)zNear, (Single)zFar); + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDepthRangexOES")] + public static + void DepthRangex(int zNear, int zFar) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDepthRangexOES((int)zNear, (int)zFar); + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDrawTexfOES")] + public static + void DrawTex(Single x, Single y, Single z, Single width, Single height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawTexfOES((Single)x, (Single)y, (Single)z, (Single)width, (Single)height); + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDrawTexfvOES")] + public static + void DrawTex(Single[] coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* coords_ptr = coords) + { + Delegates.glDrawTexfvOES((Single*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDrawTexfvOES")] + public static + void DrawTex(ref Single coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* coords_ptr = &coords) + { + Delegates.glDrawTexfvOES((Single*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDrawTexfvOES")] + public static + unsafe void DrawTex(Single* coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawTexfvOES((Single*)coords); + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDrawTexiOES")] + public static + void DrawTex(Int32 x, Int32 y, Int32 z, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawTexiOES((Int32)x, (Int32)y, (Int32)z, (Int32)width, (Int32)height); + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDrawTexivOES")] + public static + void DrawTex(Int32[] coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* coords_ptr = coords) + { + Delegates.glDrawTexivOES((Int32*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDrawTexivOES")] + public static + void DrawTex(ref Int32 coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* coords_ptr = &coords) + { + Delegates.glDrawTexivOES((Int32*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDrawTexivOES")] + public static + unsafe void DrawTex(Int32* coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawTexivOES((Int32*)coords); + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDrawTexsOES")] + public static + void DrawTex(Int16 x, Int16 y, Int16 z, Int16 width, Int16 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawTexsOES((Int16)x, (Int16)y, (Int16)z, (Int16)width, (Int16)height); + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDrawTexsvOES")] + public static + void DrawTex(Int16[] coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* coords_ptr = coords) + { + Delegates.glDrawTexsvOES((Int16*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDrawTexsvOES")] + public static + void DrawTex(ref Int16 coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* coords_ptr = &coords) + { + Delegates.glDrawTexsvOES((Int16*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDrawTexsvOES")] + public static + unsafe void DrawTex(Int16* coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawTexsvOES((Int16*)coords); + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDrawTexxOES")] + public static + void DrawTexx(int x, int y, int z, int width, int height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawTexxOES((int)x, (int)y, (int)z, (int)width, (int)height); + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDrawTexxvOES")] + public static + void DrawTexx(int[] coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (int* coords_ptr = coords) + { + Delegates.glDrawTexxvOES((int*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDrawTexxvOES")] + public static + void DrawTexx(ref int coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (int* coords_ptr = &coords) + { + Delegates.glDrawTexxvOES((int*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDrawTexxvOES")] + public static + unsafe void DrawTexx(int* coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawTexxvOES((int*)coords); + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glEGLImageTargetRenderbufferStorageOES")] + public static + void EGLImageTargetRenderbufferStorage(OpenTK.Graphics.ES11.All target, IntPtr image) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEGLImageTargetRenderbufferStorageOES((OpenTK.Graphics.ES11.All)target, (IntPtr)image); + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glEGLImageTargetTexture2DOES")] + public static + void EGLImageTargetTexture2D(OpenTK.Graphics.ES11.All target, IntPtr image) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEGLImageTargetTexture2DOES((OpenTK.Graphics.ES11.All)target, (IntPtr)image); + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glFogxOES")] + public static + void Fogx(OpenTK.Graphics.ES11.All pname, int param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFogxOES((OpenTK.Graphics.ES11.All)pname, (int)param); + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glFogxvOES")] + public static + void Fogx(OpenTK.Graphics.ES11.All pname, int[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (int* @params_ptr = @params) + { + Delegates.glFogxvOES((OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glFogxvOES")] + public static + unsafe void Fogx(OpenTK.Graphics.ES11.All pname, int* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFogxvOES((OpenTK.Graphics.ES11.All)pname, (int*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: 1.1] + /// Attach a renderbuffer as a logical buffer to the currently bound framebuffer object + /// + /// + /// + /// Specifies the framebuffer target. target must be GL_DRAW_FRAMEBUFFER, GL_READ_FRAMEBUFFER, or GL_FRAMEBUFFER. GL_FRAMEBUFFER is equivalent to GL_DRAW_FRAMEBUFFER. + /// + /// + /// + /// + /// Specifies the attachment point of the framebuffer. + /// + /// + /// + /// + /// Specifies the renderbuffer target and must be GL_RENDERBUFFER. + /// + /// + /// + /// + /// Specifies the name of an existing renderbuffer object of type renderbuffertarget to attach. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glFramebufferRenderbufferOES")] + public static + void FramebufferRenderbuffer(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All attachment, OpenTK.Graphics.ES11.All renderbuffertarget, Int32 renderbuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferRenderbufferOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)attachment, (OpenTK.Graphics.ES11.All)renderbuffertarget, (UInt32)renderbuffer); + #if DEBUG + } + #endif + } + + + /// [requires: 1.1] + /// Attach a renderbuffer as a logical buffer to the currently bound framebuffer object + /// + /// + /// + /// Specifies the framebuffer target. target must be GL_DRAW_FRAMEBUFFER, GL_READ_FRAMEBUFFER, or GL_FRAMEBUFFER. GL_FRAMEBUFFER is equivalent to GL_DRAW_FRAMEBUFFER. + /// + /// + /// + /// + /// Specifies the attachment point of the framebuffer. + /// + /// + /// + /// + /// Specifies the renderbuffer target and must be GL_RENDERBUFFER. + /// + /// + /// + /// + /// Specifies the name of an existing renderbuffer object of type renderbuffertarget to attach. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glFramebufferRenderbufferOES")] + public static + void FramebufferRenderbuffer(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All attachment, OpenTK.Graphics.ES11.All renderbuffertarget, UInt32 renderbuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferRenderbufferOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)attachment, (OpenTK.Graphics.ES11.All)renderbuffertarget, (UInt32)renderbuffer); + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glFramebufferTexture2DOES")] + public static + void FramebufferTexture2D(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All attachment, OpenTK.Graphics.ES11.All textarget, Int32 texture, Int32 level) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferTexture2DOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)attachment, (OpenTK.Graphics.ES11.All)textarget, (UInt32)texture, (Int32)level); + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glFramebufferTexture2DOES")] + public static + void FramebufferTexture2D(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All attachment, OpenTK.Graphics.ES11.All textarget, UInt32 texture, Int32 level) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferTexture2DOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)attachment, (OpenTK.Graphics.ES11.All)textarget, (UInt32)texture, (Int32)level); + #if DEBUG + } + #endif + } + + + /// [requires: 1.1] + /// Multiply the current matrix by a perspective matrix + /// + /// + /// + /// Specify the coordinates for the left and right vertical clipping planes. + /// + /// + /// + /// + /// Specify the coordinates for the bottom and top horizontal clipping planes. + /// + /// + /// + /// + /// Specify the distances to the near and far depth clipping planes. Both distances must be positive. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glFrustumfOES")] + public static + void Frustum(Single left, Single right, Single bottom, Single top, Single zNear, Single zFar) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFrustumfOES((Single)left, (Single)right, (Single)bottom, (Single)top, (Single)zNear, (Single)zFar); + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glFrustumxOES")] + public static + void Frustumx(int left, int right, int bottom, int top, int zNear, int zFar) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFrustumxOES((int)left, (int)right, (int)bottom, (int)top, (int)zNear, (int)zFar); + #if DEBUG + } + #endif + } + + + /// [requires: 1.1] + /// Generate mipmaps for a specified texture target + /// + /// + /// + /// Specifies the target to which the texture whose mimaps to generate is bound. target must be GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY or GL_TEXTURE_CUBE_MAP. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGenerateMipmapOES")] + public static + void GenerateMipmap(OpenTK.Graphics.ES11.All target) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenerateMipmapOES((OpenTK.Graphics.ES11.All)target); + #if DEBUG + } + #endif + } + + + /// [requires: 1.1] + /// Generate framebuffer object names + /// + /// + /// + /// Specifies the number of framebuffer object names to generate. + /// + /// + /// + /// + /// Specifies an array in which the generated framebuffer object names are stored. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGenFramebuffersOES")] + public static + void GenFramebuffers(Int32 n, Int32[] framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* framebuffers_ptr = framebuffers) + { + Delegates.glGenFramebuffersOES((Int32)n, (UInt32*)framebuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: 1.1] + /// Generate framebuffer object names + /// + /// + /// + /// Specifies the number of framebuffer object names to generate. + /// + /// + /// + /// + /// Specifies an array in which the generated framebuffer object names are stored. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGenFramebuffersOES")] + public static + void GenFramebuffers(Int32 n, ref Int32 framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* framebuffers_ptr = &framebuffers) + { + Delegates.glGenFramebuffersOES((Int32)n, (UInt32*)framebuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: 1.1] + /// Generate framebuffer object names + /// + /// + /// + /// Specifies the number of framebuffer object names to generate. + /// + /// + /// + /// + /// Specifies an array in which the generated framebuffer object names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGenFramebuffersOES")] + public static + unsafe void GenFramebuffers(Int32 n, Int32* framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenFramebuffersOES((Int32)n, (UInt32*)framebuffers); + #if DEBUG + } + #endif + } + + + /// [requires: 1.1] + /// Generate framebuffer object names + /// + /// + /// + /// Specifies the number of framebuffer object names to generate. + /// + /// + /// + /// + /// Specifies an array in which the generated framebuffer object names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGenFramebuffersOES")] + public static + void GenFramebuffers(Int32 n, UInt32[] framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* framebuffers_ptr = framebuffers) + { + Delegates.glGenFramebuffersOES((Int32)n, (UInt32*)framebuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: 1.1] + /// Generate framebuffer object names + /// + /// + /// + /// Specifies the number of framebuffer object names to generate. + /// + /// + /// + /// + /// Specifies an array in which the generated framebuffer object names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGenFramebuffersOES")] + public static + void GenFramebuffers(Int32 n, ref UInt32 framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* framebuffers_ptr = &framebuffers) + { + Delegates.glGenFramebuffersOES((Int32)n, (UInt32*)framebuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: 1.1] + /// Generate framebuffer object names + /// + /// + /// + /// Specifies the number of framebuffer object names to generate. + /// + /// + /// + /// + /// Specifies an array in which the generated framebuffer object names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGenFramebuffersOES")] + public static + unsafe void GenFramebuffers(Int32 n, UInt32* framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenFramebuffersOES((Int32)n, (UInt32*)framebuffers); + #if DEBUG + } + #endif + } + + + /// [requires: 1.1] + /// Generate renderbuffer object names + /// + /// + /// + /// Specifies the number of renderbuffer object names to generate. + /// + /// + /// + /// + /// Specifies an array in which the generated renderbuffer object names are stored. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGenRenderbuffersOES")] + public static + void GenRenderbuffers(Int32 n, Int32[] renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* renderbuffers_ptr = renderbuffers) + { + Delegates.glGenRenderbuffersOES((Int32)n, (UInt32*)renderbuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: 1.1] + /// Generate renderbuffer object names + /// + /// + /// + /// Specifies the number of renderbuffer object names to generate. + /// + /// + /// + /// + /// Specifies an array in which the generated renderbuffer object names are stored. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGenRenderbuffersOES")] + public static + void GenRenderbuffers(Int32 n, ref Int32 renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* renderbuffers_ptr = &renderbuffers) + { + Delegates.glGenRenderbuffersOES((Int32)n, (UInt32*)renderbuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: 1.1] + /// Generate renderbuffer object names + /// + /// + /// + /// Specifies the number of renderbuffer object names to generate. + /// + /// + /// + /// + /// Specifies an array in which the generated renderbuffer object names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGenRenderbuffersOES")] + public static + unsafe void GenRenderbuffers(Int32 n, Int32* renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenRenderbuffersOES((Int32)n, (UInt32*)renderbuffers); + #if DEBUG + } + #endif + } + + + /// [requires: 1.1] + /// Generate renderbuffer object names + /// + /// + /// + /// Specifies the number of renderbuffer object names to generate. + /// + /// + /// + /// + /// Specifies an array in which the generated renderbuffer object names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGenRenderbuffersOES")] + public static + void GenRenderbuffers(Int32 n, UInt32[] renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* renderbuffers_ptr = renderbuffers) + { + Delegates.glGenRenderbuffersOES((Int32)n, (UInt32*)renderbuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: 1.1] + /// Generate renderbuffer object names + /// + /// + /// + /// Specifies the number of renderbuffer object names to generate. + /// + /// + /// + /// + /// Specifies an array in which the generated renderbuffer object names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGenRenderbuffersOES")] + public static + void GenRenderbuffers(Int32 n, ref UInt32 renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* renderbuffers_ptr = &renderbuffers) + { + Delegates.glGenRenderbuffersOES((Int32)n, (UInt32*)renderbuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: 1.1] + /// Generate renderbuffer object names + /// + /// + /// + /// Specifies the number of renderbuffer object names to generate. + /// + /// + /// + /// + /// Specifies an array in which the generated renderbuffer object names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGenRenderbuffersOES")] + public static + unsafe void GenRenderbuffers(Int32 n, UInt32* renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenRenderbuffersOES((Int32)n, (UInt32*)renderbuffers); + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetBufferPointervOES")] + public static + void GetBufferPointer(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, IntPtr @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetBufferPointervOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params); + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetBufferPointervOES")] + public static + void GetBufferPointer(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [InAttribute, OutAttribute] T2[] @params) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetBufferPointervOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetBufferPointervOES")] + public static + void GetBufferPointer(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [InAttribute, OutAttribute] T2[,] @params) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetBufferPointervOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetBufferPointervOES")] + public static + void GetBufferPointer(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [InAttribute, OutAttribute] T2[,,] @params) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetBufferPointervOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetBufferPointervOES")] + public static + void GetBufferPointer(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [InAttribute, OutAttribute] ref T2 @params) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetBufferPointervOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + @params = (T2)@params_ptr.Target; + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: 1.1] + /// Return the coefficients of the specified clipping plane + /// + /// + /// + /// Specifies a clipping plane. The number of clipping planes depends on the implementation, but at least six clipping planes are supported. They are identified by symbolic names of the form GL_CLIP_PLANE where i ranges from 0 to the value of GL_MAX_CLIP_PLANES - 1. + /// + /// + /// + /// + /// Returns four double-precision values that are the coefficients of the plane equation of plane in eye coordinates. The initial value is (0, 0, 0, 0). + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetClipPlanefOES")] + public static + void GetClipPlane(OpenTK.Graphics.ES11.All pname, Single[] eqn) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* eqn_ptr = eqn) + { + Delegates.glGetClipPlanefOES((OpenTK.Graphics.ES11.All)pname, (Single*)eqn_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: 1.1] + /// Return the coefficients of the specified clipping plane + /// + /// + /// + /// Specifies a clipping plane. The number of clipping planes depends on the implementation, but at least six clipping planes are supported. They are identified by symbolic names of the form GL_CLIP_PLANE where i ranges from 0 to the value of GL_MAX_CLIP_PLANES - 1. + /// + /// + /// + /// + /// Returns four double-precision values that are the coefficients of the plane equation of plane in eye coordinates. The initial value is (0, 0, 0, 0). + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetClipPlanefOES")] + public static + void GetClipPlane(OpenTK.Graphics.ES11.All pname, ref Single eqn) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* eqn_ptr = &eqn) + { + Delegates.glGetClipPlanefOES((OpenTK.Graphics.ES11.All)pname, (Single*)eqn_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: 1.1] + /// Return the coefficients of the specified clipping plane + /// + /// + /// + /// Specifies a clipping plane. The number of clipping planes depends on the implementation, but at least six clipping planes are supported. They are identified by symbolic names of the form GL_CLIP_PLANE where i ranges from 0 to the value of GL_MAX_CLIP_PLANES - 1. + /// + /// + /// + /// + /// Returns four double-precision values that are the coefficients of the plane equation of plane in eye coordinates. The initial value is (0, 0, 0, 0). + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetClipPlanefOES")] + public static + unsafe void GetClipPlane(OpenTK.Graphics.ES11.All pname, Single* eqn) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetClipPlanefOES((OpenTK.Graphics.ES11.All)pname, (Single*)eqn); + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetClipPlanexOES")] + public static + void GetClipPlanex(OpenTK.Graphics.ES11.All pname, int[] eqn) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (int* eqn_ptr = eqn) + { + Delegates.glGetClipPlanexOES((OpenTK.Graphics.ES11.All)pname, (int*)eqn_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetClipPlanexOES")] + public static + void GetClipPlanex(OpenTK.Graphics.ES11.All pname, ref int eqn) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (int* eqn_ptr = &eqn) + { + Delegates.glGetClipPlanexOES((OpenTK.Graphics.ES11.All)pname, (int*)eqn_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetClipPlanexOES")] + public static + unsafe void GetClipPlanex(OpenTK.Graphics.ES11.All pname, int* eqn) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetClipPlanexOES((OpenTK.Graphics.ES11.All)pname, (int*)eqn); + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetFixedvOES")] + public static + void GetFixed(OpenTK.Graphics.ES11.All pname, int[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (int* @params_ptr = @params) + { + Delegates.glGetFixedvOES((OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetFixedvOES")] + public static + void GetFixed(OpenTK.Graphics.ES11.All pname, ref int @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (int* @params_ptr = &@params) + { + Delegates.glGetFixedvOES((OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetFixedvOES")] + public static + unsafe void GetFixed(OpenTK.Graphics.ES11.All pname, int* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetFixedvOES((OpenTK.Graphics.ES11.All)pname, (int*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: 1.1] + /// Retrieve information about attachments of a bound framebuffer object + /// + /// + /// + /// Specifies the target of the query operation. + /// + /// + /// + /// + /// Specifies the attachment within target + /// + /// + /// + /// + /// Specifies the parameter of attachment to query. + /// + /// + /// + /// + /// Specifies the address of a variable receive the value of pname for attachment. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetFramebufferAttachmentParameterivOES")] + public static + void GetFramebufferAttachmentParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All attachment, OpenTK.Graphics.ES11.All pname, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetFramebufferAttachmentParameterivOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)attachment, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: 1.1] + /// Retrieve information about attachments of a bound framebuffer object + /// + /// + /// + /// Specifies the target of the query operation. + /// + /// + /// + /// + /// Specifies the attachment within target + /// + /// + /// + /// + /// Specifies the parameter of attachment to query. + /// + /// + /// + /// + /// Specifies the address of a variable receive the value of pname for attachment. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetFramebufferAttachmentParameterivOES")] + public static + void GetFramebufferAttachmentParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All attachment, OpenTK.Graphics.ES11.All pname, ref Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetFramebufferAttachmentParameterivOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)attachment, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: 1.1] + /// Retrieve information about attachments of a bound framebuffer object + /// + /// + /// + /// Specifies the target of the query operation. + /// + /// + /// + /// + /// Specifies the attachment within target + /// + /// + /// + /// + /// Specifies the parameter of attachment to query. + /// + /// + /// + /// + /// Specifies the address of a variable receive the value of pname for attachment. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetFramebufferAttachmentParameterivOES")] + public static + unsafe void GetFramebufferAttachmentParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All attachment, OpenTK.Graphics.ES11.All pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetFramebufferAttachmentParameterivOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)attachment, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetLightxvOES")] + public static + void GetLightx(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, int[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (int* @params_ptr = @params) + { + Delegates.glGetLightxvOES((OpenTK.Graphics.ES11.All)light, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetLightxvOES")] + public static + void GetLightx(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, ref int @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (int* @params_ptr = &@params) + { + Delegates.glGetLightxvOES((OpenTK.Graphics.ES11.All)light, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetLightxvOES")] + public static + unsafe void GetLightx(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, int* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetLightxvOES((OpenTK.Graphics.ES11.All)light, (OpenTK.Graphics.ES11.All)pname, (int*)@params); + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetMaterialxvOES")] + public static + void GetMaterialx(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, int[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (int* @params_ptr = @params) + { + Delegates.glGetMaterialxvOES((OpenTK.Graphics.ES11.All)face, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetMaterialxvOES")] + public static + void GetMaterialx(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, ref int @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (int* @params_ptr = &@params) + { + Delegates.glGetMaterialxvOES((OpenTK.Graphics.ES11.All)face, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetMaterialxvOES")] + public static + unsafe void GetMaterialx(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, int* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMaterialxvOES((OpenTK.Graphics.ES11.All)face, (OpenTK.Graphics.ES11.All)pname, (int*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: 1.1] + /// Retrieve information about a bound renderbuffer object + /// + /// + /// + /// Specifies the target of the query operation. target must be GL_RENDERBUFFER. + /// + /// + /// + /// + /// Specifies the parameter whose value to retrieve from the renderbuffer bound to target. + /// + /// + /// + /// + /// Specifies the address of an array to receive the value of the queried parameter. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetRenderbufferParameterivOES")] + public static + void GetRenderbufferParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetRenderbufferParameterivOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: 1.1] + /// Retrieve information about a bound renderbuffer object + /// + /// + /// + /// Specifies the target of the query operation. target must be GL_RENDERBUFFER. + /// + /// + /// + /// + /// Specifies the parameter whose value to retrieve from the renderbuffer bound to target. + /// + /// + /// + /// + /// Specifies the address of an array to receive the value of the queried parameter. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetRenderbufferParameterivOES")] + public static + void GetRenderbufferParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, ref Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetRenderbufferParameterivOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: 1.1] + /// Retrieve information about a bound renderbuffer object + /// + /// + /// + /// Specifies the target of the query operation. target must be GL_RENDERBUFFER. + /// + /// + /// + /// + /// Specifies the parameter whose value to retrieve from the renderbuffer bound to target. + /// + /// + /// + /// + /// Specifies the address of an array to receive the value of the queried parameter. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetRenderbufferParameterivOES")] + public static + unsafe void GetRenderbufferParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetRenderbufferParameterivOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetTexEnvxvOES")] + public static + void GetTexEnvx(OpenTK.Graphics.ES11.All env, OpenTK.Graphics.ES11.All pname, int[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (int* @params_ptr = @params) + { + Delegates.glGetTexEnvxvOES((OpenTK.Graphics.ES11.All)env, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetTexEnvxvOES")] + public static + void GetTexEnvx(OpenTK.Graphics.ES11.All env, OpenTK.Graphics.ES11.All pname, ref int @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (int* @params_ptr = &@params) + { + Delegates.glGetTexEnvxvOES((OpenTK.Graphics.ES11.All)env, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetTexEnvxvOES")] + public static + unsafe void GetTexEnvx(OpenTK.Graphics.ES11.All env, OpenTK.Graphics.ES11.All pname, int* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTexEnvxvOES((OpenTK.Graphics.ES11.All)env, (OpenTK.Graphics.ES11.All)pname, (int*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: 1.1] + /// Return texture coordinate generation parameters + /// + /// + /// + /// Specifies a texture coordinate. Must be GL_S, GL_T, GL_R, or GL_Q. + /// + /// + /// + /// + /// Specifies the symbolic name of the value(s) to be returned. Must be either GL_TEXTURE_GEN_MODE or the name of one of the texture generation plane equations: GL_OBJECT_PLANE or GL_EYE_PLANE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetTexGenfvOES")] + public static + void GetTexGen(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetTexGenfvOES((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: 1.1] + /// Return texture coordinate generation parameters + /// + /// + /// + /// Specifies a texture coordinate. Must be GL_S, GL_T, GL_R, or GL_Q. + /// + /// + /// + /// + /// Specifies the symbolic name of the value(s) to be returned. Must be either GL_TEXTURE_GEN_MODE or the name of one of the texture generation plane equations: GL_OBJECT_PLANE or GL_EYE_PLANE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetTexGenfvOES")] + public static + void GetTexGen(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, ref Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetTexGenfvOES((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: 1.1] + /// Return texture coordinate generation parameters + /// + /// + /// + /// Specifies a texture coordinate. Must be GL_S, GL_T, GL_R, or GL_Q. + /// + /// + /// + /// + /// Specifies the symbolic name of the value(s) to be returned. Must be either GL_TEXTURE_GEN_MODE or the name of one of the texture generation plane equations: GL_OBJECT_PLANE or GL_EYE_PLANE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetTexGenfvOES")] + public static + unsafe void GetTexGen(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTexGenfvOES((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: 1.1] + /// Return texture coordinate generation parameters + /// + /// + /// + /// Specifies a texture coordinate. Must be GL_S, GL_T, GL_R, or GL_Q. + /// + /// + /// + /// + /// Specifies the symbolic name of the value(s) to be returned. Must be either GL_TEXTURE_GEN_MODE or the name of one of the texture generation plane equations: GL_OBJECT_PLANE or GL_EYE_PLANE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetTexGenivOES")] + public static + void GetTexGen(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetTexGenivOES((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: 1.1] + /// Return texture coordinate generation parameters + /// + /// + /// + /// Specifies a texture coordinate. Must be GL_S, GL_T, GL_R, or GL_Q. + /// + /// + /// + /// + /// Specifies the symbolic name of the value(s) to be returned. Must be either GL_TEXTURE_GEN_MODE or the name of one of the texture generation plane equations: GL_OBJECT_PLANE or GL_EYE_PLANE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetTexGenivOES")] + public static + void GetTexGen(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, ref Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetTexGenivOES((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: 1.1] + /// Return texture coordinate generation parameters + /// + /// + /// + /// Specifies a texture coordinate. Must be GL_S, GL_T, GL_R, or GL_Q. + /// + /// + /// + /// + /// Specifies the symbolic name of the value(s) to be returned. Must be either GL_TEXTURE_GEN_MODE or the name of one of the texture generation plane equations: GL_OBJECT_PLANE or GL_EYE_PLANE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetTexGenivOES")] + public static + unsafe void GetTexGen(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTexGenivOES((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetTexGenxvOES")] + public static + void GetTexGenx(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, int[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (int* @params_ptr = @params) + { + Delegates.glGetTexGenxvOES((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetTexGenxvOES")] + public static + void GetTexGenx(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, ref int @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (int* @params_ptr = &@params) + { + Delegates.glGetTexGenxvOES((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetTexGenxvOES")] + public static + unsafe void GetTexGenx(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, int* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTexGenxvOES((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (int*)@params); + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetTexParameterxvOES")] + public static + void GetTexParameterx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (int* @params_ptr = @params) + { + Delegates.glGetTexParameterxvOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetTexParameterxvOES")] + public static + void GetTexParameterx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, ref int @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (int* @params_ptr = &@params) + { + Delegates.glGetTexParameterxvOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetTexParameterxvOES")] + public static + unsafe void GetTexParameterx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTexParameterxvOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: 1.1] + /// Determine if a name corresponds to a framebuffer object + /// + /// + /// + /// Specifies a value that may be the name of a framebuffer object. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glIsFramebufferOES")] + public static + bool IsFramebuffer(Int32 framebuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsFramebufferOES((UInt32)framebuffer); + #if DEBUG + } + #endif + } + + + /// [requires: 1.1] + /// Determine if a name corresponds to a framebuffer object + /// + /// + /// + /// Specifies a value that may be the name of a framebuffer object. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glIsFramebufferOES")] + public static + bool IsFramebuffer(UInt32 framebuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsFramebufferOES((UInt32)framebuffer); + #if DEBUG + } + #endif + } + + + /// [requires: 1.1] + /// Determine if a name corresponds to a renderbuffer object + /// + /// + /// + /// Specifies a value that may be the name of a renderbuffer object. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glIsRenderbufferOES")] + public static + bool IsRenderbuffer(Int32 renderbuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsRenderbufferOES((UInt32)renderbuffer); + #if DEBUG + } + #endif + } + + + /// [requires: 1.1] + /// Determine if a name corresponds to a renderbuffer object + /// + /// + /// + /// Specifies a value that may be the name of a renderbuffer object. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glIsRenderbufferOES")] + public static + bool IsRenderbuffer(UInt32 renderbuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsRenderbufferOES((UInt32)renderbuffer); + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glLightModelxOES")] + public static + void LightModelx(OpenTK.Graphics.ES11.All pname, int param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLightModelxOES((OpenTK.Graphics.ES11.All)pname, (int)param); + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glLightModelxvOES")] + public static + void LightModelx(OpenTK.Graphics.ES11.All pname, int[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (int* @params_ptr = @params) + { + Delegates.glLightModelxvOES((OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glLightModelxvOES")] + public static + unsafe void LightModelx(OpenTK.Graphics.ES11.All pname, int* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLightModelxvOES((OpenTK.Graphics.ES11.All)pname, (int*)@params); + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glLightxOES")] + public static + void Lightx(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, int param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLightxOES((OpenTK.Graphics.ES11.All)light, (OpenTK.Graphics.ES11.All)pname, (int)param); + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glLightxvOES")] + public static + void Lightx(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, int[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (int* @params_ptr = @params) + { + Delegates.glLightxvOES((OpenTK.Graphics.ES11.All)light, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glLightxvOES")] + public static + unsafe void Lightx(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, int* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLightxvOES((OpenTK.Graphics.ES11.All)light, (OpenTK.Graphics.ES11.All)pname, (int*)@params); + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glLineWidthxOES")] + public static + void LineWidthx(int width) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLineWidthxOES((int)width); + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glLoadMatrixxOES")] + public static + void LoadMatrixx(int[] m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (int* m_ptr = m) + { + Delegates.glLoadMatrixxOES((int*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glLoadMatrixxOES")] + public static + void LoadMatrixx(ref int m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (int* m_ptr = &m) + { + Delegates.glLoadMatrixxOES((int*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glLoadMatrixxOES")] + public static + unsafe void LoadMatrixx(int* m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLoadMatrixxOES((int*)m); + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glLoadPaletteFromModelViewMatrixOES")] + public static + void LoadPaletteFromModelViewMatrix() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLoadPaletteFromModelViewMatrixOES(); + #if DEBUG + } + #endif + } + + + /// [requires: 1.1] + /// Map a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object being mapped. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER or GL_UNIFORM_BUFFER. + /// + /// + /// + /// + /// 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 = "1.1", Version = "1.1", EntryPoint = "glMapBufferOES")] + public static + unsafe System.IntPtr MapBuffer(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All access) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glMapBufferOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)access); + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glMaterialxOES")] + public static + void Materialx(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, int param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMaterialxOES((OpenTK.Graphics.ES11.All)face, (OpenTK.Graphics.ES11.All)pname, (int)param); + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glMaterialxvOES")] + public static + void Materialx(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, int[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (int* @params_ptr = @params) + { + Delegates.glMaterialxvOES((OpenTK.Graphics.ES11.All)face, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glMaterialxvOES")] + public static + unsafe void Materialx(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, int* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMaterialxvOES((OpenTK.Graphics.ES11.All)face, (OpenTK.Graphics.ES11.All)pname, (int*)@params); + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glMatrixIndexPointerOES")] + public static + void MatrixIndexPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMatrixIndexPointerOES((Int32)size, (OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glMatrixIndexPointerOES")] + public static + void MatrixIndexPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] T3[] pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glMatrixIndexPointerOES((Int32)size, (OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glMatrixIndexPointerOES")] + public static + void MatrixIndexPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] T3[,] pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glMatrixIndexPointerOES((Int32)size, (OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glMatrixIndexPointerOES")] + public static + void MatrixIndexPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] T3[,,] pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glMatrixIndexPointerOES((Int32)size, (OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glMatrixIndexPointerOES")] + public static + void MatrixIndexPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] ref T3 pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glMatrixIndexPointerOES((Int32)size, (OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + pointer = (T3)pointer_ptr.Target; + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glMultiTexCoord4xOES")] + public static + void MultiTexCoord4x(OpenTK.Graphics.ES11.All target, int s, int t, int r, int q) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord4xOES((OpenTK.Graphics.ES11.All)target, (int)s, (int)t, (int)r, (int)q); + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glMultMatrixxOES")] + public static + void MultMatrixx(int[] m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (int* m_ptr = m) + { + Delegates.glMultMatrixxOES((int*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glMultMatrixxOES")] + public static + void MultMatrixx(ref int m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (int* m_ptr = &m) + { + Delegates.glMultMatrixxOES((int*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glMultMatrixxOES")] + public static + unsafe void MultMatrixx(int* m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultMatrixxOES((int*)m); + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glNormal3xOES")] + public static + void Normal3x(int nx, int ny, int nz) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormal3xOES((int)nx, (int)ny, (int)nz); + #if DEBUG + } + #endif + } + + + /// [requires: 1.1] + /// Multiply the current matrix with an orthographic matrix + /// + /// + /// + /// Specify the coordinates for the left and right vertical clipping planes. + /// + /// + /// + /// + /// Specify the coordinates for the bottom and top horizontal clipping planes. + /// + /// + /// + /// + /// Specify the distances to the nearer and farther depth clipping planes. These values are negative if the plane is to be behind the viewer. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glOrthofOES")] + public static + void Ortho(Single left, Single right, Single bottom, Single top, Single zNear, Single zFar) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glOrthofOES((Single)left, (Single)right, (Single)bottom, (Single)top, (Single)zNear, (Single)zFar); + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glOrthoxOES")] + public static + void Orthox(int left, int right, int bottom, int top, int zNear, int zFar) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glOrthoxOES((int)left, (int)right, (int)bottom, (int)top, (int)zNear, (int)zFar); + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glPointParameterxOES")] + public static + void PointParameterx(OpenTK.Graphics.ES11.All pname, int param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPointParameterxOES((OpenTK.Graphics.ES11.All)pname, (int)param); + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glPointParameterxvOES")] + public static + void PointParameterx(OpenTK.Graphics.ES11.All pname, int[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (int* @params_ptr = @params) + { + Delegates.glPointParameterxvOES((OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glPointParameterxvOES")] + public static + unsafe void PointParameterx(OpenTK.Graphics.ES11.All pname, int* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPointParameterxvOES((OpenTK.Graphics.ES11.All)pname, (int*)@params); + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glPointSizePointerOES")] + public static + void PointSizePointer(OpenTK.Graphics.ES11.All type, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPointSizePointerOES((OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glPointSizePointerOES")] + public static + void PointSizePointer(OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] T2[] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glPointSizePointerOES((OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glPointSizePointerOES")] + public static + void PointSizePointer(OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] T2[,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glPointSizePointerOES((OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glPointSizePointerOES")] + public static + void PointSizePointer(OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] T2[,,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glPointSizePointerOES((OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glPointSizePointerOES")] + public static + void PointSizePointer(OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] ref T2 pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glPointSizePointerOES((OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + pointer = (T2)pointer_ptr.Target; + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glPointSizexOES")] + public static + void PointSizex(int size) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPointSizexOES((int)size); + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glPolygonOffsetxOES")] + public static + void PolygonOffsetx(int factor, int units) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPolygonOffsetxOES((int)factor, (int)units); + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glQueryMatrixxOES")] + public static + Int32 QueryMatrixx(int[] mantissa, Int32[] exponent) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (int* mantissa_ptr = mantissa) + fixed (Int32* exponent_ptr = exponent) + { + return Delegates.glQueryMatrixxOES((int*)mantissa_ptr, (Int32*)exponent_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glQueryMatrixxOES")] + public static + Int32 QueryMatrixx(ref int mantissa, ref Int32 exponent) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (int* mantissa_ptr = &mantissa) + fixed (Int32* exponent_ptr = &exponent) + { + return Delegates.glQueryMatrixxOES((int*)mantissa_ptr, (Int32*)exponent_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glQueryMatrixxOES")] + public static + unsafe Int32 QueryMatrixx(int* mantissa, Int32* exponent) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glQueryMatrixxOES((int*)mantissa, (Int32*)exponent); + #if DEBUG + } + #endif + } + + + /// [requires: 1.1] + /// Establish data storage, format and dimensions of a renderbuffer object's image + /// + /// + /// + /// Specifies a binding to which the target of the allocation and must be GL_RENDERBUFFER. + /// + /// + /// + /// + /// Specifies the internal format to use for the renderbuffer object's image. + /// + /// + /// + /// + /// Specifies the width of the renderbuffer, in pixels. + /// + /// + /// + /// + /// Specifies the height of the renderbuffer, in pixels. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glRenderbufferStorageOES")] + public static + void RenderbufferStorage(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glRenderbufferStorageOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)internalformat, (Int32)width, (Int32)height); + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glRotatexOES")] + public static + void Rotatex(int angle, int x, int y, int z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glRotatexOES((int)angle, (int)x, (int)y, (int)z); + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glSampleCoveragexOES")] + public static + void SampleCoveragex(int value, bool invert) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSampleCoveragexOES((int)value, (bool)invert); + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glScalexOES")] + public static + void Scalex(int x, int y, int z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glScalexOES((int)x, (int)y, (int)z); + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexEnvxOES")] + public static + void TexEnvx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexEnvxOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int)param); + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexEnvxvOES")] + public static + void TexEnvx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (int* @params_ptr = @params) + { + Delegates.glTexEnvxvOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexEnvxvOES")] + public static + unsafe void TexEnvx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexEnvxvOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: 1.1] + /// Control the generation of texture coordinates + /// + /// + /// + /// Specifies a texture coordinate. Must be one of GL_S, GL_T, GL_R, or GL_Q. + /// + /// + /// + /// + /// Specifies the symbolic name of the texture-coordinate generation function. Must be GL_TEXTURE_GEN_MODE. + /// + /// + /// + /// + /// Specifies a single-valued texture generation parameter, one of GL_OBJECT_LINEAR, GL_EYE_LINEAR, GL_SPHERE_MAP, GL_NORMAL_MAP, or GL_REFLECTION_MAP. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexGenfOES")] + public static + void TexGen(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, Single param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexGenfOES((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (Single)param); + #if DEBUG + } + #endif + } + + + /// [requires: 1.1] + /// Control the generation of texture coordinates + /// + /// + /// + /// Specifies a texture coordinate. Must be one of GL_S, GL_T, GL_R, or GL_Q. + /// + /// + /// + /// + /// Specifies the symbolic name of the texture-coordinate generation function. Must be GL_TEXTURE_GEN_MODE. + /// + /// + /// + /// + /// Specifies a single-valued texture generation parameter, one of GL_OBJECT_LINEAR, GL_EYE_LINEAR, GL_SPHERE_MAP, GL_NORMAL_MAP, or GL_REFLECTION_MAP. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexGenfvOES")] + public static + void TexGen(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glTexGenfvOES((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: 1.1] + /// Control the generation of texture coordinates + /// + /// + /// + /// Specifies a texture coordinate. Must be one of GL_S, GL_T, GL_R, or GL_Q. + /// + /// + /// + /// + /// Specifies the symbolic name of the texture-coordinate generation function. Must be GL_TEXTURE_GEN_MODE. + /// + /// + /// + /// + /// Specifies a single-valued texture generation parameter, one of GL_OBJECT_LINEAR, GL_EYE_LINEAR, GL_SPHERE_MAP, GL_NORMAL_MAP, or GL_REFLECTION_MAP. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexGenfvOES")] + public static + unsafe void TexGen(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexGenfvOES((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: 1.1] + /// Control the generation of texture coordinates + /// + /// + /// + /// Specifies a texture coordinate. Must be one of GL_S, GL_T, GL_R, or GL_Q. + /// + /// + /// + /// + /// Specifies the symbolic name of the texture-coordinate generation function. Must be GL_TEXTURE_GEN_MODE. + /// + /// + /// + /// + /// Specifies a single-valued texture generation parameter, one of GL_OBJECT_LINEAR, GL_EYE_LINEAR, GL_SPHERE_MAP, GL_NORMAL_MAP, or GL_REFLECTION_MAP. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexGeniOES")] + public static + void TexGen(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, Int32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexGeniOES((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (Int32)param); + #if DEBUG + } + #endif + } + + + /// [requires: 1.1] + /// Control the generation of texture coordinates + /// + /// + /// + /// Specifies a texture coordinate. Must be one of GL_S, GL_T, GL_R, or GL_Q. + /// + /// + /// + /// + /// Specifies the symbolic name of the texture-coordinate generation function. Must be GL_TEXTURE_GEN_MODE. + /// + /// + /// + /// + /// Specifies a single-valued texture generation parameter, one of GL_OBJECT_LINEAR, GL_EYE_LINEAR, GL_SPHERE_MAP, GL_NORMAL_MAP, or GL_REFLECTION_MAP. + /// + /// + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexGenivOES")] + public static + void TexGen(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glTexGenivOES((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: 1.1] + /// Control the generation of texture coordinates + /// + /// + /// + /// Specifies a texture coordinate. Must be one of GL_S, GL_T, GL_R, or GL_Q. + /// + /// + /// + /// + /// Specifies the symbolic name of the texture-coordinate generation function. Must be GL_TEXTURE_GEN_MODE. + /// + /// + /// + /// + /// Specifies a single-valued texture generation parameter, one of GL_OBJECT_LINEAR, GL_EYE_LINEAR, GL_SPHERE_MAP, GL_NORMAL_MAP, or GL_REFLECTION_MAP. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexGenivOES")] + public static + unsafe void TexGen(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexGenivOES((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexGenxOES")] + public static + void TexGenx(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, int param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexGenxOES((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (int)param); + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexGenxvOES")] + public static + void TexGenx(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, int[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (int* @params_ptr = @params) + { + Delegates.glTexGenxvOES((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexGenxvOES")] + public static + unsafe void TexGenx(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, int* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexGenxvOES((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (int*)@params); + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexParameterxOES")] + public static + void TexParameterx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexParameterxOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int)param); + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexParameterxvOES")] + public static + void TexParameterx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (int* @params_ptr = @params) + { + Delegates.glTexParameterxvOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexParameterxvOES")] + public static + unsafe void TexParameterx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexParameterxvOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int*)@params); + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTranslatexOES")] + public static + void Translatex(int x, int y, int z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTranslatexOES((int)x, (int)y, (int)z); + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glUnmapBufferOES")] + public static + bool UnmapBuffer(OpenTK.Graphics.ES11.All target) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glUnmapBufferOES((OpenTK.Graphics.ES11.All)target); + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glWeightPointerOES")] + public static + void WeightPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWeightPointerOES((Int32)size, (OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glWeightPointerOES")] + public static + void WeightPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] T3[] pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glWeightPointerOES((Int32)size, (OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glWeightPointerOES")] + public static + void WeightPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] T3[,] pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glWeightPointerOES((Int32)size, (OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glWeightPointerOES")] + public static + void WeightPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] T3[,,] pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glWeightPointerOES((Int32)size, (OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glWeightPointerOES")] + public static + void WeightPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] ref T3 pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glWeightPointerOES((Int32)size, (OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + pointer = (T3)pointer_ptr.Target; + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + } + + public static partial class Qcom + { + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDisableDriverControlQCOM")] + public static + void DisableDriverControl(Int32 driverControl) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDisableDriverControlQCOM((UInt32)driverControl); + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDisableDriverControlQCOM")] + public static + void DisableDriverControl(UInt32 driverControl) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDisableDriverControlQCOM((UInt32)driverControl); + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glEnableDriverControlQCOM")] + public static + void EnableDriverControl(Int32 driverControl) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEnableDriverControlQCOM((UInt32)driverControl); + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glEnableDriverControlQCOM")] + public static + void EnableDriverControl(UInt32 driverControl) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEnableDriverControlQCOM((UInt32)driverControl); + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetDriverControlsQCOM")] + public static + void GetDriverControl(Int32[] num, Int32 size, Int32[] driverControls) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* num_ptr = num) + fixed (Int32* driverControls_ptr = driverControls) + { + Delegates.glGetDriverControlsQCOM((Int32*)num_ptr, (Int32)size, (UInt32*)driverControls_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetDriverControlsQCOM")] + public static + void GetDriverControl(Int32[] num, Int32 size, UInt32[] driverControls) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* num_ptr = num) + fixed (UInt32* driverControls_ptr = driverControls) + { + Delegates.glGetDriverControlsQCOM((Int32*)num_ptr, (Int32)size, (UInt32*)driverControls_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetDriverControlsQCOM")] + public static + void GetDriverControl(ref Int32 num, Int32 size, ref Int32 driverControls) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* num_ptr = &num) + fixed (Int32* driverControls_ptr = &driverControls) + { + Delegates.glGetDriverControlsQCOM((Int32*)num_ptr, (Int32)size, (UInt32*)driverControls_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetDriverControlsQCOM")] + public static + void GetDriverControl(ref Int32 num, Int32 size, ref UInt32 driverControls) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* num_ptr = &num) + fixed (UInt32* driverControls_ptr = &driverControls) + { + Delegates.glGetDriverControlsQCOM((Int32*)num_ptr, (Int32)size, (UInt32*)driverControls_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetDriverControlsQCOM")] + public static + unsafe void GetDriverControl(Int32* num, Int32 size, Int32* driverControls) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetDriverControlsQCOM((Int32*)num, (Int32)size, (UInt32*)driverControls); + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetDriverControlsQCOM")] + public static + unsafe void GetDriverControl(Int32* num, Int32 size, UInt32* driverControls) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetDriverControlsQCOM((Int32*)num, (Int32)size, (UInt32*)driverControls); + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetDriverControlStringQCOM")] + public static + void GetDriverControlString(Int32 driverControl, Int32 bufSize, Int32[] length, String driverControlString) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = length) + { + Delegates.glGetDriverControlStringQCOM((UInt32)driverControl, (Int32)bufSize, (Int32*)length_ptr, (String)driverControlString); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetDriverControlStringQCOM")] + public static + void GetDriverControlString(Int32 driverControl, Int32 bufSize, ref Int32 length, String driverControlString) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + { + Delegates.glGetDriverControlStringQCOM((UInt32)driverControl, (Int32)bufSize, (Int32*)length_ptr, (String)driverControlString); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetDriverControlStringQCOM")] + public static + unsafe void GetDriverControlString(Int32 driverControl, Int32 bufSize, Int32* length, String driverControlString) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetDriverControlStringQCOM((UInt32)driverControl, (Int32)bufSize, (Int32*)length, (String)driverControlString); + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetDriverControlStringQCOM")] + public static + void GetDriverControlString(UInt32 driverControl, Int32 bufSize, Int32[] length, String driverControlString) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = length) + { + Delegates.glGetDriverControlStringQCOM((UInt32)driverControl, (Int32)bufSize, (Int32*)length_ptr, (String)driverControlString); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetDriverControlStringQCOM")] + public static + void GetDriverControlString(UInt32 driverControl, Int32 bufSize, ref Int32 length, String driverControlString) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + { + Delegates.glGetDriverControlStringQCOM((UInt32)driverControl, (Int32)bufSize, (Int32*)length_ptr, (String)driverControlString); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 1.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetDriverControlStringQCOM")] + public static + unsafe void GetDriverControlString(UInt32 driverControl, Int32 bufSize, Int32* length, String driverControlString) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetDriverControlStringQCOM((UInt32)driverControl, (Int32)bufSize, (Int32*)length, (String)driverControlString); + #if DEBUG + } + #endif + } + + } + + } +} + +// flibit added this! +#pragma warning restore 3021 \ No newline at end of file diff --git a/src/MiniTK/Graphics/ES11/Enums.cs b/src/MiniTK/Graphics/ES11/Enums.cs new file mode 100644 index 0000000..f112175 --- /dev/null +++ b/src/MiniTK/Graphics/ES11/Enums.cs @@ -0,0 +1,1426 @@ +#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; + +namespace OpenTK.Graphics.ES11 +{ + #pragma warning disable 1591 + + public enum All : int + { + False = ((int)0), + NoError = ((int)0), + NoneOes = ((int)0), + Zero = ((int)0), + Points = ((int)0x0000), + DepthBufferBit = ((int)0x00000100), + StencilBufferBit = ((int)0x00000400), + ColorBufferBit = ((int)0x00004000), + Lines = ((int)0x0001), + LineLoop = ((int)0x0002), + LineStrip = ((int)0x0003), + Triangles = ((int)0x0004), + TriangleStrip = ((int)0x0005), + TriangleFan = ((int)0x0006), + Add = ((int)0x0104), + Never = ((int)0x0200), + Less = ((int)0x0201), + Equal = ((int)0x0202), + Lequal = ((int)0x0203), + Greater = ((int)0x0204), + Notequal = ((int)0x0205), + Gequal = ((int)0x0206), + Always = ((int)0x0207), + SrcColor = ((int)0x0300), + OneMinusSrcColor = ((int)0x0301), + SrcAlpha = ((int)0x0302), + OneMinusSrcAlpha = ((int)0x0303), + DstAlpha = ((int)0x0304), + OneMinusDstAlpha = ((int)0x0305), + DstColor = ((int)0x0306), + OneMinusDstColor = ((int)0x0307), + SrcAlphaSaturate = ((int)0x0308), + Front = ((int)0x0404), + Back = ((int)0x0405), + FrontAndBack = ((int)0x0408), + InvalidEnum = ((int)0x0500), + InvalidValue = ((int)0x0501), + InvalidOperation = ((int)0x0502), + StackOverflow = ((int)0x0503), + StackUnderflow = ((int)0x0504), + OutOfMemory = ((int)0x0505), + InvalidFramebufferOperationOes = ((int)0x0506), + Exp = ((int)0x0800), + Exp2 = ((int)0x0801), + Cw = ((int)0x0900), + Ccw = ((int)0x0901), + CurrentColor = ((int)0x0B00), + CurrentNormal = ((int)0x0B02), + CurrentTextureCoords = ((int)0x0B03), + PointSmooth = ((int)0x0B10), + PointSize = ((int)0x0B11), + SmoothPointSizeRange = ((int)0x0B12), + LineSmooth = ((int)0x0B20), + LineWidth = ((int)0x0B21), + SmoothLineWidthRange = ((int)0x0B22), + CullFace = ((int)0x0B44), + CullFaceMode = ((int)0x0B45), + FrontFace = ((int)0x0B46), + Lighting = ((int)0x0B50), + LightModelTwoSide = ((int)0x0B52), + LightModelAmbient = ((int)0x0B53), + ShadeModel = ((int)0x0B54), + ColorMaterial = ((int)0x0B57), + Fog = ((int)0x0B60), + FogDensity = ((int)0x0B62), + FogStart = ((int)0x0B63), + FogEnd = ((int)0x0B64), + FogMode = ((int)0x0B65), + FogColor = ((int)0x0B66), + DepthRange = ((int)0x0B70), + DepthTest = ((int)0x0B71), + DepthWritemask = ((int)0x0B72), + DepthClearValue = ((int)0x0B73), + DepthFunc = ((int)0x0B74), + StencilTest = ((int)0x0B90), + StencilClearValue = ((int)0x0B91), + StencilFunc = ((int)0x0B92), + StencilValueMask = ((int)0x0B93), + StencilFail = ((int)0x0B94), + StencilPassDepthFail = ((int)0x0B95), + StencilPassDepthPass = ((int)0x0B96), + StencilRef = ((int)0x0B97), + StencilWritemask = ((int)0x0B98), + MatrixMode = ((int)0x0BA0), + Normalize = ((int)0x0BA1), + Viewport = ((int)0x0BA2), + ModelviewStackDepth = ((int)0x0BA3), + ProjectionStackDepth = ((int)0x0BA4), + TextureStackDepth = ((int)0x0BA5), + ModelviewMatrix = ((int)0x0BA6), + ProjectionMatrix = ((int)0x0BA7), + TextureMatrix = ((int)0x0BA8), + AlphaTest = ((int)0x0BC0), + AlphaTestFunc = ((int)0x0BC1), + AlphaTestRef = ((int)0x0BC2), + Dither = ((int)0x0BD0), + BlendDst = ((int)0x0BE0), + BlendSrc = ((int)0x0BE1), + Blend = ((int)0x0BE2), + LogicOpMode = ((int)0x0BF0), + ColorLogicOp = ((int)0x0BF2), + ScissorBox = ((int)0x0C10), + ScissorTest = ((int)0x0C11), + ColorClearValue = ((int)0x0C22), + ColorWritemask = ((int)0x0C23), + PerspectiveCorrectionHint = ((int)0x0C50), + PointSmoothHint = ((int)0x0C51), + LineSmoothHint = ((int)0x0C52), + FogHint = ((int)0x0C54), + UnpackAlignment = ((int)0x0CF5), + PackAlignment = ((int)0x0D05), + AlphaScale = ((int)0x0D1C), + MaxLights = ((int)0x0D31), + MaxClipPlanes = ((int)0x0D32), + MaxClipPlanesImg = ((int)0x0D32), + MaxTextureSize = ((int)0x0D33), + MaxModelviewStackDepth = ((int)0x0D36), + MaxProjectionStackDepth = ((int)0x0D38), + MaxTextureStackDepth = ((int)0x0D39), + MaxViewportDims = ((int)0x0D3A), + SubpixelBits = ((int)0x0D50), + RedBits = ((int)0x0D52), + GreenBits = ((int)0x0D53), + BlueBits = ((int)0x0D54), + AlphaBits = ((int)0x0D55), + DepthBits = ((int)0x0D56), + StencilBits = ((int)0x0D57), + Texture2D = ((int)0x0DE1), + DontCare = ((int)0x1100), + Fastest = ((int)0x1101), + Nicest = ((int)0x1102), + Ambient = ((int)0x1200), + Diffuse = ((int)0x1201), + Specular = ((int)0x1202), + Position = ((int)0x1203), + SpotDirection = ((int)0x1204), + SpotExponent = ((int)0x1205), + SpotCutoff = ((int)0x1206), + ConstantAttenuation = ((int)0x1207), + LinearAttenuation = ((int)0x1208), + QuadraticAttenuation = ((int)0x1209), + Byte = ((int)0x1400), + UnsignedByte = ((int)0x1401), + Short = ((int)0x1402), + UnsignedShort = ((int)0x1403), + Float = ((int)0x1406), + Fixed = ((int)0x140C), + FixedOes = ((int)0x140C), + Clear = ((int)0x1500), + And = ((int)0x1501), + AndReverse = ((int)0x1502), + Copy = ((int)0x1503), + AndInverted = ((int)0x1504), + Noop = ((int)0x1505), + Xor = ((int)0x1506), + Or = ((int)0x1507), + Nor = ((int)0x1508), + Equiv = ((int)0x1509), + Invert = ((int)0x150A), + OrReverse = ((int)0x150B), + CopyInverted = ((int)0x150C), + OrInverted = ((int)0x150D), + Nand = ((int)0x150E), + Set = ((int)0x150F), + Emission = ((int)0x1600), + Shininess = ((int)0x1601), + AmbientAndDiffuse = ((int)0x1602), + Modelview = ((int)0x1700), + Projection = ((int)0x1701), + Texture = ((int)0x1702), + Alpha = ((int)0x1906), + Rgb = ((int)0x1907), + Rgba = ((int)0x1908), + Luminance = ((int)0x1909), + LuminanceAlpha = ((int)0x190A), + Flat = ((int)0x1D00), + Smooth = ((int)0x1D01), + Keep = ((int)0x1E00), + Replace = ((int)0x1E01), + Incr = ((int)0x1E02), + Decr = ((int)0x1E03), + Vendor = ((int)0x1F00), + Renderer = ((int)0x1F01), + Version = ((int)0x1F02), + Extensions = ((int)0x1F03), + Modulate = ((int)0x2100), + Decal = ((int)0x2101), + TextureEnvMode = ((int)0x2200), + TextureEnvColor = ((int)0x2201), + TextureEnv = ((int)0x2300), + TextureGenModeOes = ((int)0x2500), + Nearest = ((int)0x2600), + Linear = ((int)0x2601), + NearestMipmapNearest = ((int)0x2700), + LinearMipmapNearest = ((int)0x2701), + NearestMipmapLinear = ((int)0x2702), + LinearMipmapLinear = ((int)0x2703), + TextureMagFilter = ((int)0x2800), + TextureMinFilter = ((int)0x2801), + TextureWrapS = ((int)0x2802), + TextureWrapT = ((int)0x2803), + Repeat = ((int)0x2901), + PolygonOffsetUnits = ((int)0x2A00), + ClipPlane0 = ((int)0x3000), + ClipPlane0Img = ((int)0x3000), + ClipPlane1 = ((int)0x3001), + ClipPlane1Img = ((int)0x3001), + ClipPlane2 = ((int)0x3002), + ClipPlane2Img = ((int)0x3002), + ClipPlane3 = ((int)0x3003), + ClipPlane3Img = ((int)0x3003), + ClipPlane4 = ((int)0x3004), + ClipPlane4Img = ((int)0x3004), + ClipPlane5 = ((int)0x3005), + ClipPlane5Img = ((int)0x3005), + Light0 = ((int)0x4000), + Light1 = ((int)0x4001), + Light2 = ((int)0x4002), + Light3 = ((int)0x4003), + Light4 = ((int)0x4004), + Light5 = ((int)0x4005), + Light6 = ((int)0x4006), + Light7 = ((int)0x4007), + FuncAddOes = ((int)0x8006), + BlendEquationOes = ((int)0x8009), + BlendEquationRgbOes = ((int)0x8009), + FuncSubtractOes = ((int)0x800A), + FuncReverseSubtractOes = ((int)0x800B), + UnsignedShort4444 = ((int)0x8033), + UnsignedShort5551 = ((int)0x8034), + PolygonOffsetFill = ((int)0x8037), + PolygonOffsetFactor = ((int)0x8038), + RescaleNormal = ((int)0x803A), + Rgb8Oes = ((int)0x8051), + Rgba4Oes = ((int)0x8056), + Rgb5A1Oes = ((int)0x8057), + Rgba8Oes = ((int)0x8058), + TextureBinding2D = ((int)0x8069), + VertexArray = ((int)0x8074), + NormalArray = ((int)0x8075), + ColorArray = ((int)0x8076), + TextureCoordArray = ((int)0x8078), + VertexArraySize = ((int)0x807A), + VertexArrayType = ((int)0x807B), + VertexArrayStride = ((int)0x807C), + NormalArrayType = ((int)0x807E), + NormalArrayStride = ((int)0x807F), + ColorArraySize = ((int)0x8081), + ColorArrayType = ((int)0x8082), + ColorArrayStride = ((int)0x8083), + TextureCoordArraySize = ((int)0x8088), + TextureCoordArrayType = ((int)0x8089), + TextureCoordArrayStride = ((int)0x808A), + VertexArrayPointer = ((int)0x808E), + NormalArrayPointer = ((int)0x808F), + ColorArrayPointer = ((int)0x8090), + TextureCoordArrayPointer = ((int)0x8092), + Multisample = ((int)0x809D), + SampleAlphaToCoverage = ((int)0x809E), + SampleAlphaToOne = ((int)0x809F), + SampleCoverage = ((int)0x80A0), + SampleBuffers = ((int)0x80A8), + Samples = ((int)0x80A9), + SampleCoverageValue = ((int)0x80AA), + SampleCoverageInvert = ((int)0x80AB), + BlendDstRgbOes = ((int)0x80C8), + BlendSrcRgbOes = ((int)0x80C9), + BlendDstAlphaOes = ((int)0x80CA), + BlendSrcAlphaOes = ((int)0x80CB), + Bgra = ((int)0x80E1), + PointSizeMin = ((int)0x8126), + PointSizeMax = ((int)0x8127), + PointFadeThresholdSize = ((int)0x8128), + PointDistanceAttenuation = ((int)0x8129), + ClampToEdge = ((int)0x812F), + GenerateMipmap = ((int)0x8191), + GenerateMipmapHint = ((int)0x8192), + DepthComponent16Oes = ((int)0x81A5), + DepthComponent24Oes = ((int)0x81A6), + DepthComponent32Oes = ((int)0x81A7), + UnsignedShort565 = ((int)0x8363), + UnsignedShort4444Rev = ((int)0x8365), + UnsignedShort1555Rev = ((int)0x8366), + MirroredRepeatOes = ((int)0x8370), + AliasedPointSizeRange = ((int)0x846D), + AliasedLineWidthRange = ((int)0x846E), + Texture0 = ((int)0x84C0), + Texture1 = ((int)0x84C1), + Texture2 = ((int)0x84C2), + Texture3 = ((int)0x84C3), + Texture4 = ((int)0x84C4), + Texture5 = ((int)0x84C5), + Texture6 = ((int)0x84C6), + Texture7 = ((int)0x84C7), + Texture8 = ((int)0x84C8), + Texture9 = ((int)0x84C9), + Texture10 = ((int)0x84CA), + Texture11 = ((int)0x84CB), + Texture12 = ((int)0x84CC), + Texture13 = ((int)0x84CD), + Texture14 = ((int)0x84CE), + Texture15 = ((int)0x84CF), + Texture16 = ((int)0x84D0), + Texture17 = ((int)0x84D1), + Texture18 = ((int)0x84D2), + Texture19 = ((int)0x84D3), + Texture20 = ((int)0x84D4), + Texture21 = ((int)0x84D5), + Texture22 = ((int)0x84D6), + Texture23 = ((int)0x84D7), + Texture24 = ((int)0x84D8), + Texture25 = ((int)0x84D9), + Texture26 = ((int)0x84DA), + Texture27 = ((int)0x84DB), + Texture28 = ((int)0x84DC), + Texture29 = ((int)0x84DD), + Texture30 = ((int)0x84DE), + Texture31 = ((int)0x84DF), + ActiveTexture = ((int)0x84E0), + ClientActiveTexture = ((int)0x84E1), + MaxTextureUnits = ((int)0x84E2), + Subtract = ((int)0x84E7), + MaxRenderbufferSizeOes = ((int)0x84E8), + AllCompletedNv = ((int)0x84F2), + FenceStatusNv = ((int)0x84F3), + FenceConditionNv = ((int)0x84F4), + DepthStencilOes = ((int)0x84F9), + UnsignedInt248Oes = ((int)0x84FA), + TextureMaxAnisotropyExt = ((int)0x84FE), + MaxTextureMaxAnisotropyExt = ((int)0x84FF), + IncrWrapOes = ((int)0x8507), + DecrWrapOes = ((int)0x8508), + NormalMapOes = ((int)0x8511), + ReflectionMapOes = ((int)0x8512), + TextureCubeMapOes = ((int)0x8513), + TextureBindingCubeMapOes = ((int)0x8514), + TextureCubeMapPositiveXOes = ((int)0x8515), + TextureCubeMapNegativeXOes = ((int)0x8516), + TextureCubeMapPositiveYOes = ((int)0x8517), + TextureCubeMapNegativeYOes = ((int)0x8518), + TextureCubeMapPositiveZOes = ((int)0x8519), + TextureCubeMapNegativeZOes = ((int)0x851A), + MaxCubeMapTextureSizeOes = ((int)0x851C), + Combine = ((int)0x8570), + CombineRgb = ((int)0x8571), + CombineAlpha = ((int)0x8572), + RgbScale = ((int)0x8573), + AddSigned = ((int)0x8574), + Interpolate = ((int)0x8575), + Constant = ((int)0x8576), + PrimaryColor = ((int)0x8577), + Previous = ((int)0x8578), + Src0Rgb = ((int)0x8580), + Src1Rgb = ((int)0x8581), + Src2Rgb = ((int)0x8582), + Src0Alpha = ((int)0x8588), + Src1Alpha = ((int)0x8589), + Src2Alpha = ((int)0x858A), + Operand0Rgb = ((int)0x8590), + Operand1Rgb = ((int)0x8591), + Operand2Rgb = ((int)0x8592), + Operand0Alpha = ((int)0x8598), + Operand1Alpha = ((int)0x8599), + Operand2Alpha = ((int)0x859A), + NumCompressedTextureFormats = ((int)0x86A2), + CompressedTextureFormats = ((int)0x86A3), + MaxVertexUnitsOes = ((int)0x86A4), + WeightArrayTypeOes = ((int)0x86A9), + WeightArrayStrideOes = ((int)0x86AA), + WeightArraySizeOes = ((int)0x86AB), + WeightArrayPointerOes = ((int)0x86AC), + WeightArrayOes = ((int)0x86AD), + Dot3Rgb = ((int)0x86AE), + Dot3Rgba = ((int)0x86AF), + Dot3RgbaImg = ((int)0x86AF), + BufferSize = ((int)0x8764), + BufferUsage = ((int)0x8765), + AtcRgbaInterpolatedAlphaAmd = ((int)0x87EE), + Gl3DcXAmd = ((int)0x87F9), + Gl3DcXyAmd = ((int)0x87FA), + BlendEquationAlphaOes = ((int)0x883D), + MatrixPaletteOes = ((int)0x8840), + MaxPaletteMatricesOes = ((int)0x8842), + CurrentPaletteMatrixOes = ((int)0x8843), + MatrixIndexArrayOes = ((int)0x8844), + MatrixIndexArraySizeOes = ((int)0x8846), + MatrixIndexArrayTypeOes = ((int)0x8847), + MatrixIndexArrayStrideOes = ((int)0x8848), + MatrixIndexArrayPointerOes = ((int)0x8849), + PointSpriteOes = ((int)0x8861), + CoordReplaceOes = ((int)0x8862), + ArrayBuffer = ((int)0x8892), + ElementArrayBuffer = ((int)0x8893), + ArrayBufferBinding = ((int)0x8894), + ElementArrayBufferBinding = ((int)0x8895), + VertexArrayBufferBinding = ((int)0x8896), + NormalArrayBufferBinding = ((int)0x8897), + ColorArrayBufferBinding = ((int)0x8898), + TextureCoordArrayBufferBinding = ((int)0x889A), + WeightArrayBufferBindingOes = ((int)0x889E), + WriteOnlyOes = ((int)0x88B9), + BufferAccessOes = ((int)0x88BB), + BufferMappedOes = ((int)0x88BC), + BufferMapPointerOes = ((int)0x88BD), + StaticDraw = ((int)0x88E4), + DynamicDraw = ((int)0x88E8), + Depth24Stencil8Oes = ((int)0x88F0), + PointSizeArrayTypeOes = ((int)0x898A), + PointSizeArrayStrideOes = ((int)0x898B), + PointSizeArrayPointerOes = ((int)0x898C), + ModelviewMatrixFloatAsIntBitsOes = ((int)0x898D), + ProjectionMatrixFloatAsIntBitsOes = ((int)0x898E), + TextureMatrixFloatAsIntBitsOes = ((int)0x898F), + Palette4Rgb8Oes = ((int)0x8B90), + Palette4Rgba8Oes = ((int)0x8B91), + Palette4R5G6B5Oes = ((int)0x8B92), + Palette4Rgba4Oes = ((int)0x8B93), + Palette4Rgb5A1Oes = ((int)0x8B94), + Palette8Rgb8Oes = ((int)0x8B95), + Palette8Rgba8Oes = ((int)0x8B96), + Palette8R5G6B5Oes = ((int)0x8B97), + Palette8Rgba4Oes = ((int)0x8B98), + Palette8Rgb5A1Oes = ((int)0x8B99), + ImplementationColorReadTypeOes = ((int)0x8B9A), + ImplementationColorReadFormatOes = ((int)0x8B9B), + PointSizeArrayOes = ((int)0x8B9C), + TextureCropRectOes = ((int)0x8B9D), + MatrixIndexArrayBufferBindingOes = ((int)0x8B9E), + PointSizeArrayBufferBindingOes = ((int)0x8B9F), + CompressedRgbPvrtc4Bppv1Img = ((int)0x8C00), + CompressedRgbPvrtc2Bppv1Img = ((int)0x8C01), + CompressedRgbaPvrtc4Bppv1Img = ((int)0x8C02), + CompressedRgbaPvrtc2Bppv1Img = ((int)0x8C03), + ModulateColorImg = ((int)0x8C04), + RecipAddSignedAlphaImg = ((int)0x8C05), + TextureAlphaModulateImg = ((int)0x8C06), + FactorAlphaModulateImg = ((int)0x8C07), + FragmentAlphaModulateImg = ((int)0x8C08), + AddBlendImg = ((int)0x8C09), + AtcRgbAmd = ((int)0x8C92), + AtcRgbaExplicitAlphaAmd = ((int)0x8C93), + FramebufferBindingOes = ((int)0x8CA6), + RenderbufferBindingOes = ((int)0x8CA7), + FramebufferAttachmentObjectTypeOes = ((int)0x8CD0), + FramebufferAttachmentObjectNameOes = ((int)0x8CD1), + FramebufferAttachmentTextureLevelOes = ((int)0x8CD2), + FramebufferAttachmentTextureCubeMapFaceOes = ((int)0x8CD3), + FramebufferCompleteOes = ((int)0x8CD5), + FramebufferIncompleteAttachmentOes = ((int)0x8CD6), + FramebufferIncompleteMissingAttachmentOes = ((int)0x8CD7), + FramebufferIncompleteDimensionsOes = ((int)0x8CD9), + FramebufferIncompleteFormatsOes = ((int)0x8CDA), + FramebufferUnsupportedOes = ((int)0x8CDD), + ColorAttachment0Oes = ((int)0x8CE0), + DepthAttachmentOes = ((int)0x8D00), + StencilAttachmentOes = ((int)0x8D20), + FramebufferOes = ((int)0x8D40), + RenderbufferOes = ((int)0x8D41), + RenderbufferWidthOes = ((int)0x8D42), + RenderbufferHeightOes = ((int)0x8D43), + RenderbufferInternalFormatOes = ((int)0x8D44), + StencilIndex1Oes = ((int)0x8D46), + StencilIndex4Oes = ((int)0x8D47), + StencilIndex8Oes = ((int)0x8D48), + RenderbufferRedSizeOes = ((int)0x8D50), + RenderbufferGreenSizeOes = ((int)0x8D51), + RenderbufferBlueSizeOes = ((int)0x8D52), + RenderbufferAlphaSizeOes = ((int)0x8D53), + RenderbufferDepthSizeOes = ((int)0x8D54), + RenderbufferStencilSizeOes = ((int)0x8D55), + TextureGenStrOes = ((int)0x8D60), + Rgb565Oes = ((int)0x8D62), + Etc1Rgb8Oes = ((int)0x8D64), + PerfmonGlobalModeQcom = ((int)0x8FA0), + AmdCompressed3DcTexture = ((int)1), + AmdCompressedAtcTexture = ((int)1), + ExtTextureFilterAnisotropic = ((int)1), + ExtTextureFormatBgra8888 = ((int)1), + ImgReadFormat = ((int)1), + ImgTextureCompressionPvrtc = ((int)1), + ImgTextureEnvEnhancedFixedFunction = ((int)1), + ImgUserClipPlane = ((int)1), + NvFence = ((int)1), + OesBlendEquationSeparate = ((int)1), + OesBlendFuncSeparate = ((int)1), + OesBlendSubtract = ((int)1), + OesByteCoordinates = ((int)1), + OesCompressedEtc1Rgb8Texture = ((int)1), + OesCompressedPalettedTexture = ((int)1), + OesDepth24 = ((int)1), + OesDepth32 = ((int)1), + OesDrawTexture = ((int)1), + OesEglImage = ((int)1), + OesElementIndexUint = ((int)1), + OesExtendedMatrixPalette = ((int)1), + OesFboRenderMipmap = ((int)1), + OesFixedPoint = ((int)1), + OesFramebufferObject = ((int)1), + OesMapbuffer = ((int)1), + OesMatrixGet = ((int)1), + OesMatrixPalette = ((int)1), + OesPackedDepthStencil = ((int)1), + OesPointSizeArray = ((int)1), + OesPointSprite = ((int)1), + OesQueryMatrix = ((int)1), + OesReadFormat = ((int)1), + OesRgb8Rgba8 = ((int)1), + OesSinglePrecision = ((int)1), + OesStencil1 = ((int)1), + OesStencil4 = ((int)1), + OesStencil8 = ((int)1), + OesStencilWrap = ((int)1), + OesTextureCubeMap = ((int)1), + OesTextureEnvCrossbar = ((int)1), + OesTextureMirroredRepeat = ((int)1), + One = ((int)1), + QcomDriverControl = ((int)1), + QcomPerfmonGlobalMode = ((int)1), + True = ((int)1), + VersionEsCl10 = ((int)1), + VersionEsCl11 = ((int)1), + VersionEsCm10 = ((int)1), + VersionEsCm11 = ((int)1), + } + + public enum AlphaFunction : int + { + Never = ((int)0x0200), + Less = ((int)0x0201), + Equal = ((int)0x0202), + Lequal = ((int)0x0203), + Greater = ((int)0x0204), + Notequal = ((int)0x0205), + Gequal = ((int)0x0206), + Always = ((int)0x0207), + } + + public enum AmdCompressed3Dctexture : int + { + Gl3DcXAmd = ((int)0x87F9), + Gl3DcXyAmd = ((int)0x87FA), + AmdCompressed3DcTexture = ((int)1), + } + + public enum AmdCompressedAtctexture : int + { + AtcRgbaInterpolatedAlphaAmd = ((int)0x87EE), + AtcRgbAmd = ((int)0x8C92), + AtcRgbaExplicitAlphaAmd = ((int)0x8C93), + AmdCompressedAtcTexture = ((int)1), + } + + public enum BeginMode : int + { + Points = ((int)0x0000), + Lines = ((int)0x0001), + LineLoop = ((int)0x0002), + LineStrip = ((int)0x0003), + Triangles = ((int)0x0004), + TriangleStrip = ((int)0x0005), + TriangleFan = ((int)0x0006), + } + + public enum BlendingFactorDest : int + { + Zero = ((int)0), + SrcColor = ((int)0x0300), + OneMinusSrcColor = ((int)0x0301), + SrcAlpha = ((int)0x0302), + OneMinusSrcAlpha = ((int)0x0303), + DstAlpha = ((int)0x0304), + OneMinusDstAlpha = ((int)0x0305), + One = ((int)1), + } + + public enum BlendingFactorSrc : int + { + DstColor = ((int)0x0306), + OneMinusDstColor = ((int)0x0307), + SrcAlphaSaturate = ((int)0x0308), + } + + public enum Boolean : int + { + False = ((int)0), + True = ((int)1), + } + + public enum BufferObjects : int + { + BufferSize = ((int)0x8764), + BufferUsage = ((int)0x8765), + ArrayBuffer = ((int)0x8892), + ElementArrayBuffer = ((int)0x8893), + ArrayBufferBinding = ((int)0x8894), + ElementArrayBufferBinding = ((int)0x8895), + VertexArrayBufferBinding = ((int)0x8896), + NormalArrayBufferBinding = ((int)0x8897), + ColorArrayBufferBinding = ((int)0x8898), + TextureCoordArrayBufferBinding = ((int)0x889A), + StaticDraw = ((int)0x88E4), + DynamicDraw = ((int)0x88E8), + } + + [Flags] + public enum ClearBufferMask : int + { + DepthBufferBit = ((int)0x00000100), + StencilBufferBit = ((int)0x00000400), + ColorBufferBit = ((int)0x00004000), + } + + public enum ClipPlaneName : int + { + ClipPlane0 = ((int)0x3000), + ClipPlane1 = ((int)0x3001), + ClipPlane2 = ((int)0x3002), + ClipPlane3 = ((int)0x3003), + ClipPlane4 = ((int)0x3004), + ClipPlane5 = ((int)0x3005), + } + + public enum CullFaceMode : int + { + Front = ((int)0x0404), + Back = ((int)0x0405), + FrontAndBack = ((int)0x0408), + } + + public enum DataType : int + { + Byte = ((int)0x1400), + UnsignedByte = ((int)0x1401), + Short = ((int)0x1402), + UnsignedShort = ((int)0x1403), + Float = ((int)0x1406), + Fixed = ((int)0x140C), + } + + public enum EnableCap : int + { + PointSmooth = ((int)0x0B10), + LineSmooth = ((int)0x0B20), + CullFace = ((int)0x0B44), + Lighting = ((int)0x0B50), + ColorMaterial = ((int)0x0B57), + Fog = ((int)0x0B60), + DepthTest = ((int)0x0B71), + StencilTest = ((int)0x0B90), + Normalize = ((int)0x0BA1), + AlphaTest = ((int)0x0BC0), + Dither = ((int)0x0BD0), + Blend = ((int)0x0BE2), + ColorLogicOp = ((int)0x0BF2), + ScissorTest = ((int)0x0C11), + Texture2D = ((int)0x0DE1), + PolygonOffsetFill = ((int)0x8037), + RescaleNormal = ((int)0x803A), + VertexArray = ((int)0x8074), + NormalArray = ((int)0x8075), + ColorArray = ((int)0x8076), + TextureCoordArray = ((int)0x8078), + Multisample = ((int)0x809D), + SampleAlphaToCoverage = ((int)0x809E), + SampleAlphaToOne = ((int)0x809F), + SampleCoverage = ((int)0x80A0), + } + + public enum ErrorCode : int + { + NoError = ((int)0), + InvalidEnum = ((int)0x0500), + InvalidValue = ((int)0x0501), + InvalidOperation = ((int)0x0502), + StackOverflow = ((int)0x0503), + StackUnderflow = ((int)0x0504), + OutOfMemory = ((int)0x0505), + } + + public enum ExtTextureFilterAnisotropic : int + { + TextureMaxAnisotropyExt = ((int)0x84FE), + MaxTextureMaxAnisotropyExt = ((int)0x84FF), + ExtTextureFilterAnisotropic = ((int)1), + } + + public enum ExtTextureFormatBgra8888 : int + { + Bgra = ((int)0x80E1), + ExtTextureFormatBgra8888 = ((int)1), + } + + public enum FogMode : int + { + Exp = ((int)0x0800), + Exp2 = ((int)0x0801), + } + + public enum FogParameter : int + { + FogDensity = ((int)0x0B62), + FogStart = ((int)0x0B63), + FogEnd = ((int)0x0B64), + FogMode = ((int)0x0B65), + FogColor = ((int)0x0B66), + } + + public enum FrontFaceDirection : int + { + Cw = ((int)0x0900), + Ccw = ((int)0x0901), + } + + public enum GetPName : int + { + CurrentColor = ((int)0x0B00), + CurrentNormal = ((int)0x0B02), + CurrentTextureCoords = ((int)0x0B03), + PointSize = ((int)0x0B11), + SmoothPointSizeRange = ((int)0x0B12), + LineWidth = ((int)0x0B21), + SmoothLineWidthRange = ((int)0x0B22), + CullFaceMode = ((int)0x0B45), + FrontFace = ((int)0x0B46), + ShadeModel = ((int)0x0B54), + DepthRange = ((int)0x0B70), + DepthWritemask = ((int)0x0B72), + DepthClearValue = ((int)0x0B73), + DepthFunc = ((int)0x0B74), + StencilClearValue = ((int)0x0B91), + StencilFunc = ((int)0x0B92), + StencilValueMask = ((int)0x0B93), + StencilFail = ((int)0x0B94), + StencilPassDepthFail = ((int)0x0B95), + StencilPassDepthPass = ((int)0x0B96), + StencilRef = ((int)0x0B97), + StencilWritemask = ((int)0x0B98), + MatrixMode = ((int)0x0BA0), + Viewport = ((int)0x0BA2), + ModelviewStackDepth = ((int)0x0BA3), + ProjectionStackDepth = ((int)0x0BA4), + TextureStackDepth = ((int)0x0BA5), + ModelviewMatrix = ((int)0x0BA6), + ProjectionMatrix = ((int)0x0BA7), + TextureMatrix = ((int)0x0BA8), + AlphaTestFunc = ((int)0x0BC1), + AlphaTestRef = ((int)0x0BC2), + BlendDst = ((int)0x0BE0), + BlendSrc = ((int)0x0BE1), + LogicOpMode = ((int)0x0BF0), + ScissorBox = ((int)0x0C10), + ScissorTest = ((int)0x0C11), + ColorClearValue = ((int)0x0C22), + ColorWritemask = ((int)0x0C23), + UnpackAlignment = ((int)0x0CF5), + PackAlignment = ((int)0x0D05), + MaxLights = ((int)0x0D31), + MaxClipPlanes = ((int)0x0D32), + MaxTextureSize = ((int)0x0D33), + MaxModelviewStackDepth = ((int)0x0D36), + MaxProjectionStackDepth = ((int)0x0D38), + MaxTextureStackDepth = ((int)0x0D39), + MaxViewportDims = ((int)0x0D3A), + SubpixelBits = ((int)0x0D50), + RedBits = ((int)0x0D52), + GreenBits = ((int)0x0D53), + BlueBits = ((int)0x0D54), + AlphaBits = ((int)0x0D55), + DepthBits = ((int)0x0D56), + StencilBits = ((int)0x0D57), + PolygonOffsetUnits = ((int)0x2A00), + PolygonOffsetFill = ((int)0x8037), + PolygonOffsetFactor = ((int)0x8038), + TextureBinding2D = ((int)0x8069), + VertexArraySize = ((int)0x807A), + VertexArrayType = ((int)0x807B), + VertexArrayStride = ((int)0x807C), + NormalArrayType = ((int)0x807E), + NormalArrayStride = ((int)0x807F), + ColorArraySize = ((int)0x8081), + ColorArrayType = ((int)0x8082), + ColorArrayStride = ((int)0x8083), + TextureCoordArraySize = ((int)0x8088), + TextureCoordArrayType = ((int)0x8089), + TextureCoordArrayStride = ((int)0x808A), + VertexArrayPointer = ((int)0x808E), + NormalArrayPointer = ((int)0x808F), + ColorArrayPointer = ((int)0x8090), + TextureCoordArrayPointer = ((int)0x8092), + SampleBuffers = ((int)0x80A8), + Samples = ((int)0x80A9), + SampleCoverageValue = ((int)0x80AA), + SampleCoverageInvert = ((int)0x80AB), + PointSizeMin = ((int)0x8126), + PointSizeMax = ((int)0x8127), + PointFadeThresholdSize = ((int)0x8128), + PointDistanceAttenuation = ((int)0x8129), + AliasedPointSizeRange = ((int)0x846D), + AliasedLineWidthRange = ((int)0x846E), + MaxTextureUnits = ((int)0x84E2), + } + + public enum GetTextureParameter : int + { + NumCompressedTextureFormats = ((int)0x86A2), + CompressedTextureFormats = ((int)0x86A3), + } + + public enum HintMode : int + { + DontCare = ((int)0x1100), + Fastest = ((int)0x1101), + Nicest = ((int)0x1102), + } + + public enum HintTarget : int + { + PerspectiveCorrectionHint = ((int)0x0C50), + PointSmoothHint = ((int)0x0C51), + LineSmoothHint = ((int)0x0C52), + FogHint = ((int)0x0C54), + GenerateMipmapHint = ((int)0x8192), + } + + public enum ImgreadFormat : int + { + Bgra = ((int)0x80E1), + UnsignedShort4444Rev = ((int)0x8365), + UnsignedShort1555Rev = ((int)0x8366), + ImgReadFormat = ((int)1), + } + + public enum ImgtextureCompressionPvrtc : int + { + CompressedRgbPvrtc4Bppv1Img = ((int)0x8C00), + CompressedRgbPvrtc2Bppv1Img = ((int)0x8C01), + CompressedRgbaPvrtc4Bppv1Img = ((int)0x8C02), + CompressedRgbaPvrtc2Bppv1Img = ((int)0x8C03), + ImgTextureCompressionPvrtc = ((int)1), + } + + public enum ImgtextureEnvEnhancedFixedFunction : int + { + Dot3RgbaImg = ((int)0x86AF), + ModulateColorImg = ((int)0x8C04), + RecipAddSignedAlphaImg = ((int)0x8C05), + TextureAlphaModulateImg = ((int)0x8C06), + FactorAlphaModulateImg = ((int)0x8C07), + FragmentAlphaModulateImg = ((int)0x8C08), + AddBlendImg = ((int)0x8C09), + ImgTextureEnvEnhancedFixedFunction = ((int)1), + } + + public enum ImguserClipPlane : int + { + MaxClipPlanesImg = ((int)0x0D32), + ClipPlane0Img = ((int)0x3000), + ClipPlane1Img = ((int)0x3001), + ClipPlane2Img = ((int)0x3002), + ClipPlane3Img = ((int)0x3003), + ClipPlane4Img = ((int)0x3004), + ClipPlane5Img = ((int)0x3005), + ImgUserClipPlane = ((int)1), + } + + public enum LightModelParameter : int + { + LightModelTwoSide = ((int)0x0B52), + LightModelAmbient = ((int)0x0B53), + } + + public enum LightName : int + { + Light0 = ((int)0x4000), + Light1 = ((int)0x4001), + Light2 = ((int)0x4002), + Light3 = ((int)0x4003), + Light4 = ((int)0x4004), + Light5 = ((int)0x4005), + Light6 = ((int)0x4006), + Light7 = ((int)0x4007), + } + + public enum LightParameter : int + { + Ambient = ((int)0x1200), + Diffuse = ((int)0x1201), + Specular = ((int)0x1202), + Position = ((int)0x1203), + SpotDirection = ((int)0x1204), + SpotExponent = ((int)0x1205), + SpotCutoff = ((int)0x1206), + ConstantAttenuation = ((int)0x1207), + LinearAttenuation = ((int)0x1208), + QuadraticAttenuation = ((int)0x1209), + } + + public enum LogicOp : int + { + Clear = ((int)0x1500), + And = ((int)0x1501), + AndReverse = ((int)0x1502), + Copy = ((int)0x1503), + AndInverted = ((int)0x1504), + Noop = ((int)0x1505), + Xor = ((int)0x1506), + Or = ((int)0x1507), + Nor = ((int)0x1508), + Equiv = ((int)0x1509), + Invert = ((int)0x150A), + OrReverse = ((int)0x150B), + CopyInverted = ((int)0x150C), + OrInverted = ((int)0x150D), + Nand = ((int)0x150E), + Set = ((int)0x150F), + } + + public enum MaterialParameter : int + { + Emission = ((int)0x1600), + Shininess = ((int)0x1601), + AmbientAndDiffuse = ((int)0x1602), + } + + public enum MatrixMode : int + { + Modelview = ((int)0x1700), + Projection = ((int)0x1701), + Texture = ((int)0x1702), + } + + public enum Nvfence : int + { + AllCompletedNv = ((int)0x84F2), + FenceStatusNv = ((int)0x84F3), + FenceConditionNv = ((int)0x84F4), + NvFence = ((int)1), + } + + public enum OesBlendEquationSeparate : int + { + BlendEquationRgbOes = ((int)0x8009), + BlendEquationAlphaOes = ((int)0x883D), + OesBlendEquationSeparate = ((int)1), + } + + public enum OesBlendFuncSeparate : int + { + BlendDstRgbOes = ((int)0x80C8), + BlendSrcRgbOes = ((int)0x80C9), + BlendDstAlphaOes = ((int)0x80CA), + BlendSrcAlphaOes = ((int)0x80CB), + OesBlendFuncSeparate = ((int)1), + } + + public enum OesBlendSubtract : int + { + FuncAddOes = ((int)0x8006), + BlendEquationOes = ((int)0x8009), + FuncSubtractOes = ((int)0x800A), + FuncReverseSubtractOes = ((int)0x800B), + OesBlendSubtract = ((int)1), + } + + public enum OesByteCoordinates : int + { + OesByteCoordinates = ((int)1), + } + + public enum OesCompressedEtc1Rgb8Texture : int + { + Etc1Rgb8Oes = ((int)0x8D64), + OesCompressedEtc1Rgb8Texture = ((int)1), + } + + public enum OesCompressedPalettedTexture : int + { + Palette4Rgb8Oes = ((int)0x8B90), + Palette4Rgba8Oes = ((int)0x8B91), + Palette4R5G6B5Oes = ((int)0x8B92), + Palette4Rgba4Oes = ((int)0x8B93), + Palette4Rgb5A1Oes = ((int)0x8B94), + Palette8Rgb8Oes = ((int)0x8B95), + Palette8Rgba8Oes = ((int)0x8B96), + Palette8R5G6B5Oes = ((int)0x8B97), + Palette8Rgba4Oes = ((int)0x8B98), + Palette8Rgb5A1Oes = ((int)0x8B99), + OesCompressedPalettedTexture = ((int)1), + } + + public enum OesDepth24 : int + { + DepthComponent24Oes = ((int)0x81A6), + OesDepth24 = ((int)1), + } + + public enum OesDepth32 : int + { + DepthComponent32Oes = ((int)0x81A7), + OesDepth32 = ((int)1), + } + + public enum OesDrawTexture : int + { + TextureCropRectOes = ((int)0x8B9D), + OesDrawTexture = ((int)1), + } + + public enum OesEglimage : int + { + OesEglImage = ((int)1), + } + + public enum OesElementIndexUint : int + { + OesElementIndexUint = ((int)1), + } + + public enum OesExtendedMatrixPalette : int + { + OesExtendedMatrixPalette = ((int)1), + } + + public enum OesFboRenderMipmap : int + { + OesFboRenderMipmap = ((int)1), + } + + public enum OesFixedPoint : int + { + FixedOes = ((int)0x140C), + OesFixedPoint = ((int)1), + } + + public enum OesFramebufferObject : int + { + NoneOes = ((int)0), + InvalidFramebufferOperationOes = ((int)0x0506), + Rgba4Oes = ((int)0x8056), + Rgb5A1Oes = ((int)0x8057), + DepthComponent16Oes = ((int)0x81A5), + MaxRenderbufferSizeOes = ((int)0x84E8), + FramebufferBindingOes = ((int)0x8CA6), + RenderbufferBindingOes = ((int)0x8CA7), + FramebufferAttachmentObjectTypeOes = ((int)0x8CD0), + FramebufferAttachmentObjectNameOes = ((int)0x8CD1), + FramebufferAttachmentTextureLevelOes = ((int)0x8CD2), + FramebufferAttachmentTextureCubeMapFaceOes = ((int)0x8CD3), + FramebufferCompleteOes = ((int)0x8CD5), + FramebufferIncompleteAttachmentOes = ((int)0x8CD6), + FramebufferIncompleteMissingAttachmentOes = ((int)0x8CD7), + FramebufferIncompleteDimensionsOes = ((int)0x8CD9), + FramebufferIncompleteFormatsOes = ((int)0x8CDA), + FramebufferUnsupportedOes = ((int)0x8CDD), + ColorAttachment0Oes = ((int)0x8CE0), + DepthAttachmentOes = ((int)0x8D00), + StencilAttachmentOes = ((int)0x8D20), + FramebufferOes = ((int)0x8D40), + RenderbufferOes = ((int)0x8D41), + RenderbufferWidthOes = ((int)0x8D42), + RenderbufferHeightOes = ((int)0x8D43), + RenderbufferInternalFormatOes = ((int)0x8D44), + RenderbufferRedSizeOes = ((int)0x8D50), + RenderbufferGreenSizeOes = ((int)0x8D51), + RenderbufferBlueSizeOes = ((int)0x8D52), + RenderbufferAlphaSizeOes = ((int)0x8D53), + RenderbufferDepthSizeOes = ((int)0x8D54), + RenderbufferStencilSizeOes = ((int)0x8D55), + Rgb565Oes = ((int)0x8D62), + OesFramebufferObject = ((int)1), + } + + public enum OesMapbuffer : int + { + WriteOnlyOes = ((int)0x88B9), + BufferAccessOes = ((int)0x88BB), + BufferMappedOes = ((int)0x88BC), + BufferMapPointerOes = ((int)0x88BD), + OesMapbuffer = ((int)1), + } + + public enum OesMatrixGet : int + { + ModelviewMatrixFloatAsIntBitsOes = ((int)0x898D), + ProjectionMatrixFloatAsIntBitsOes = ((int)0x898E), + TextureMatrixFloatAsIntBitsOes = ((int)0x898F), + OesMatrixGet = ((int)1), + } + + public enum OesMatrixPalette : int + { + MaxVertexUnitsOes = ((int)0x86A4), + WeightArrayTypeOes = ((int)0x86A9), + WeightArrayStrideOes = ((int)0x86AA), + WeightArraySizeOes = ((int)0x86AB), + WeightArrayPointerOes = ((int)0x86AC), + WeightArrayOes = ((int)0x86AD), + MatrixPaletteOes = ((int)0x8840), + MaxPaletteMatricesOes = ((int)0x8842), + CurrentPaletteMatrixOes = ((int)0x8843), + MatrixIndexArrayOes = ((int)0x8844), + MatrixIndexArraySizeOes = ((int)0x8846), + MatrixIndexArrayTypeOes = ((int)0x8847), + MatrixIndexArrayStrideOes = ((int)0x8848), + MatrixIndexArrayPointerOes = ((int)0x8849), + WeightArrayBufferBindingOes = ((int)0x889E), + MatrixIndexArrayBufferBindingOes = ((int)0x8B9E), + OesMatrixPalette = ((int)1), + } + + public enum OesPackedDepthStencil : int + { + DepthStencilOes = ((int)0x84F9), + UnsignedInt248Oes = ((int)0x84FA), + Depth24Stencil8Oes = ((int)0x88F0), + OesPackedDepthStencil = ((int)1), + } + + public enum OesPointSizeArray : int + { + PointSizeArrayTypeOes = ((int)0x898A), + PointSizeArrayStrideOes = ((int)0x898B), + PointSizeArrayPointerOes = ((int)0x898C), + PointSizeArrayOes = ((int)0x8B9C), + PointSizeArrayBufferBindingOes = ((int)0x8B9F), + OesPointSizeArray = ((int)1), + } + + public enum OesPointSprite : int + { + PointSpriteOes = ((int)0x8861), + CoordReplaceOes = ((int)0x8862), + OesPointSprite = ((int)1), + } + + public enum OesQueryMatrix : int + { + OesQueryMatrix = ((int)1), + } + + public enum OesReadFormat : int + { + ImplementationColorReadTypeOes = ((int)0x8B9A), + ImplementationColorReadFormatOes = ((int)0x8B9B), + OesReadFormat = ((int)1), + } + + public enum OesRgb8Rgba8 : int + { + Rgb8Oes = ((int)0x8051), + Rgba8Oes = ((int)0x8058), + OesRgb8Rgba8 = ((int)1), + } + + public enum OesSinglePrecision : int + { + OesSinglePrecision = ((int)1), + } + + public enum OesStencil1 : int + { + StencilIndex1Oes = ((int)0x8D46), + OesStencil1 = ((int)1), + } + + public enum OesStencil4 : int + { + StencilIndex4Oes = ((int)0x8D47), + OesStencil4 = ((int)1), + } + + public enum OesStencil8 : int + { + StencilIndex8Oes = ((int)0x8D48), + OesStencil8 = ((int)1), + } + + public enum OesStencilWrap : int + { + IncrWrapOes = ((int)0x8507), + DecrWrapOes = ((int)0x8508), + OesStencilWrap = ((int)1), + } + + public enum OesTextureCubeMap : int + { + TextureGenModeOes = ((int)0x2500), + NormalMapOes = ((int)0x8511), + ReflectionMapOes = ((int)0x8512), + TextureCubeMapOes = ((int)0x8513), + TextureBindingCubeMapOes = ((int)0x8514), + TextureCubeMapPositiveXOes = ((int)0x8515), + TextureCubeMapNegativeXOes = ((int)0x8516), + TextureCubeMapPositiveYOes = ((int)0x8517), + TextureCubeMapNegativeYOes = ((int)0x8518), + TextureCubeMapPositiveZOes = ((int)0x8519), + TextureCubeMapNegativeZOes = ((int)0x851A), + MaxCubeMapTextureSizeOes = ((int)0x851C), + TextureGenStrOes = ((int)0x8D60), + OesTextureCubeMap = ((int)1), + } + + public enum OesTextureEnvCrossbar : int + { + OesTextureEnvCrossbar = ((int)1), + } + + public enum OesTextureMirroredRepeat : int + { + MirroredRepeatOes = ((int)0x8370), + OesTextureMirroredRepeat = ((int)1), + } + + public enum OpenGlescoreVersions : int + { + VersionEsCl10 = ((int)1), + VersionEsCl11 = ((int)1), + VersionEsCm10 = ((int)1), + VersionEsCm11 = ((int)1), + } + + public enum PixelFormat : int + { + Alpha = ((int)0x1906), + Rgb = ((int)0x1907), + Rgba = ((int)0x1908), + Luminance = ((int)0x1909), + LuminanceAlpha = ((int)0x190A), + } + + public enum PixelStoreParameter : int + { + UnpackAlignment = ((int)0x0CF5), + PackAlignment = ((int)0x0D05), + } + + public enum PixelType : int + { + UnsignedShort4444 = ((int)0x8033), + UnsignedShort5551 = ((int)0x8034), + UnsignedShort565 = ((int)0x8363), + } + + public enum QcomDriverControl : int + { + QcomDriverControl = ((int)1), + } + + public enum QcomPerfmonGlobalMode : int + { + PerfmonGlobalModeQcom = ((int)0x8FA0), + QcomPerfmonGlobalMode = ((int)1), + } + + public enum ShadingModel : int + { + Flat = ((int)0x1D00), + Smooth = ((int)0x1D01), + } + + public enum StencilOp : int + { + Keep = ((int)0x1E00), + Replace = ((int)0x1E01), + Incr = ((int)0x1E02), + Decr = ((int)0x1E03), + } + + public enum StringName : int + { + Vendor = ((int)0x1F00), + Renderer = ((int)0x1F01), + Version = ((int)0x1F02), + Extensions = ((int)0x1F03), + } + + public enum TextureCombineDot3 : int + { + AlphaScale = ((int)0x0D1C), + Subtract = ((int)0x84E7), + Combine = ((int)0x8570), + CombineRgb = ((int)0x8571), + CombineAlpha = ((int)0x8572), + RgbScale = ((int)0x8573), + AddSigned = ((int)0x8574), + Interpolate = ((int)0x8575), + Constant = ((int)0x8576), + PrimaryColor = ((int)0x8577), + Previous = ((int)0x8578), + Src0Rgb = ((int)0x8580), + Src1Rgb = ((int)0x8581), + Src2Rgb = ((int)0x8582), + Src0Alpha = ((int)0x8588), + Src1Alpha = ((int)0x8589), + Src2Alpha = ((int)0x858A), + Operand0Rgb = ((int)0x8590), + Operand1Rgb = ((int)0x8591), + Operand2Rgb = ((int)0x8592), + Operand0Alpha = ((int)0x8598), + Operand1Alpha = ((int)0x8599), + Operand2Alpha = ((int)0x859A), + Dot3Rgb = ((int)0x86AE), + Dot3Rgba = ((int)0x86AF), + } + + public enum TextureEnvMode : int + { + Add = ((int)0x0104), + Modulate = ((int)0x2100), + Decal = ((int)0x2101), + } + + public enum TextureEnvParameter : int + { + TextureEnvMode = ((int)0x2200), + TextureEnvColor = ((int)0x2201), + } + + public enum TextureEnvTarget : int + { + TextureEnv = ((int)0x2300), + } + + public enum TextureMagFilter : int + { + Nearest = ((int)0x2600), + Linear = ((int)0x2601), + } + + public enum TextureMinFilter : int + { + NearestMipmapNearest = ((int)0x2700), + LinearMipmapNearest = ((int)0x2701), + NearestMipmapLinear = ((int)0x2702), + LinearMipmapLinear = ((int)0x2703), + } + + public enum TextureParameterName : int + { + TextureMagFilter = ((int)0x2800), + TextureMinFilter = ((int)0x2801), + TextureWrapS = ((int)0x2802), + TextureWrapT = ((int)0x2803), + GenerateMipmap = ((int)0x8191), + } + + public enum TextureUnit : int + { + Texture0 = ((int)0x84C0), + Texture1 = ((int)0x84C1), + Texture2 = ((int)0x84C2), + Texture3 = ((int)0x84C3), + Texture4 = ((int)0x84C4), + Texture5 = ((int)0x84C5), + Texture6 = ((int)0x84C6), + Texture7 = ((int)0x84C7), + Texture8 = ((int)0x84C8), + Texture9 = ((int)0x84C9), + Texture10 = ((int)0x84CA), + Texture11 = ((int)0x84CB), + Texture12 = ((int)0x84CC), + Texture13 = ((int)0x84CD), + Texture14 = ((int)0x84CE), + Texture15 = ((int)0x84CF), + Texture16 = ((int)0x84D0), + Texture17 = ((int)0x84D1), + Texture18 = ((int)0x84D2), + Texture19 = ((int)0x84D3), + Texture20 = ((int)0x84D4), + Texture21 = ((int)0x84D5), + Texture22 = ((int)0x84D6), + Texture23 = ((int)0x84D7), + Texture24 = ((int)0x84D8), + Texture25 = ((int)0x84D9), + Texture26 = ((int)0x84DA), + Texture27 = ((int)0x84DB), + Texture28 = ((int)0x84DC), + Texture29 = ((int)0x84DD), + Texture30 = ((int)0x84DE), + Texture31 = ((int)0x84DF), + ActiveTexture = ((int)0x84E0), + ClientActiveTexture = ((int)0x84E1), + } + + public enum TextureWrapMode : int + { + Repeat = ((int)0x2901), + ClampToEdge = ((int)0x812F), + } + +} diff --git a/src/MiniTK/Graphics/ES11/ErrorHelper.cs b/src/MiniTK/Graphics/ES11/ErrorHelper.cs new file mode 100644 index 0000000..1b14eb3 --- /dev/null +++ b/src/MiniTK/Graphics/ES11/ErrorHelper.cs @@ -0,0 +1,136 @@ +#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; + +/* flibit Changes GraphicsContext stuff to IntPtr, an SDL_GLContext. */ + +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 IntPtr Context; + + #endregion + + #region Constructors + + public ErrorHelper(IntPtr context) + { + if (context == IntPtr.Zero) + throw new GraphicsContextMissingException(); + + Context = 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 (GraphicsContext.ErrorChecking) + { + while ((ErrorCode)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 (GraphicsContext.ErrorChecking) + { + List error_list = ContextErrors[Context]; + error_list.Clear(); + ErrorCode error; + do + { + error = (ErrorCode)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 + + #region IDisposable Members + + public void Dispose() + { + CheckErrors(); + } + + #endregion + } +} diff --git a/src/MiniTK/Graphics/ES11/Helper.cs b/src/MiniTK/Graphics/ES11/Helper.cs new file mode 100644 index 0000000..c830844 --- /dev/null +++ b/src/MiniTK/Graphics/ES11/Helper.cs @@ -0,0 +1,31 @@ +using System; +using System.Collections.Generic; +using System.Text; +using System.Reflection; +using System.Runtime.InteropServices; + +namespace OpenTK.Graphics.ES11 +{ + /// + /// Provides access to OpenGL ES 1.1 methods. + /// + + public sealed partial class GL : GraphicsBindingsBase + { + const string Library = "libGLES.dll"; + static readonly object sync_root = new object(); + + #region --- Protected Members --- + + /// + /// Returns a synchronization token unique for the GL class. + /// + protected override object SyncRoot + { + get { return sync_root; } + } + + #endregion + + } +} diff --git a/src/MiniTK/Graphics/ES20/Core.cs b/src/MiniTK/Graphics/ES20/Core.cs new file mode 100644 index 0000000..07037e0 --- /dev/null +++ b/src/MiniTK/Graphics/ES20/Core.cs @@ -0,0 +1,662 @@ +#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 + +namespace OpenTK.Graphics.ES20 +{ + using System; + using System.Text; + using System.Runtime.InteropServices; + #pragma warning disable 3019 + #pragma warning disable 1591 + + partial class GL + { + + internal static partial class Core + { + + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glActiveTexture", ExactSpelling = true)] + internal extern static void ActiveTexture(OpenTK.Graphics.ES20.TextureUnit texture); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glAttachShader", ExactSpelling = true)] + internal extern static void AttachShader(UInt32 program, UInt32 shader); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBeginPerfMonitorAMD", ExactSpelling = true)] + internal extern static void BeginPerfMonitorAMD(UInt32 monitor); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindAttribLocation", ExactSpelling = true)] + internal extern static void BindAttribLocation(UInt32 program, UInt32 index, String name); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindBuffer", ExactSpelling = true)] + internal extern static void BindBuffer(OpenTK.Graphics.ES20.BufferTarget target, UInt32 buffer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindFramebuffer", ExactSpelling = true)] + internal extern static void BindFramebuffer(OpenTK.Graphics.ES20.FramebufferTarget target, UInt32 framebuffer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindRenderbuffer", ExactSpelling = true)] + internal extern static void BindRenderbuffer(OpenTK.Graphics.ES20.RenderbufferTarget target, UInt32 renderbuffer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindTexture", ExactSpelling = true)] + internal extern static void BindTexture(OpenTK.Graphics.ES20.TextureTarget target, UInt32 texture); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindVertexArrayOES", ExactSpelling = true)] + internal extern static void BindVertexArrayOES(UInt32 array); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendColor", ExactSpelling = true)] + internal extern static void BlendColor(Single red, Single green, Single blue, Single alpha); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendEquation", ExactSpelling = true)] + internal extern static void BlendEquation(OpenTK.Graphics.ES20.BlendEquationMode mode); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendEquationSeparate", ExactSpelling = true)] + internal extern static void BlendEquationSeparate(OpenTK.Graphics.ES20.BlendEquationMode modeRGB, OpenTK.Graphics.ES20.BlendEquationMode modeAlpha); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendFunc", ExactSpelling = true)] + internal extern static void BlendFunc(OpenTK.Graphics.ES20.BlendingFactorSrc sfactor, OpenTK.Graphics.ES20.BlendingFactorDest dfactor); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendFuncSeparate", ExactSpelling = true)] + internal extern static void BlendFuncSeparate(OpenTK.Graphics.ES20.BlendingFactorSrc srcRGB, OpenTK.Graphics.ES20.BlendingFactorDest dstRGB, OpenTK.Graphics.ES20.BlendingFactorSrc srcAlpha, OpenTK.Graphics.ES20.BlendingFactorDest dstAlpha); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlitFramebufferANGLE", ExactSpelling = true)] + internal extern static void BlitFramebufferANGLE(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, UInt32 mask, OpenTK.Graphics.ES20.All filter); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBufferData", ExactSpelling = true)] + internal extern static void BufferData(OpenTK.Graphics.ES20.BufferTarget target, IntPtr size, IntPtr data, OpenTK.Graphics.ES20.BufferUsage usage); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBufferSubData", ExactSpelling = true)] + internal extern static void BufferSubData(OpenTK.Graphics.ES20.BufferTarget target, IntPtr offset, IntPtr size, IntPtr data); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCheckFramebufferStatus", ExactSpelling = true)] + internal extern static OpenTK.Graphics.ES20.FramebufferErrorCode CheckFramebufferStatus(OpenTK.Graphics.ES20.FramebufferTarget target); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClear", ExactSpelling = true)] + internal extern static void Clear(OpenTK.Graphics.ES20.ClearBufferMask mask); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearColor", ExactSpelling = true)] + internal extern static void ClearColor(Single red, Single green, Single blue, Single alpha); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearDepthf", ExactSpelling = true)] + internal extern static void ClearDepthf(Single depth); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearStencil", ExactSpelling = true)] + internal extern static void ClearStencil(Int32 s); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorMask", ExactSpelling = true)] + internal extern static void ColorMask(bool red, bool green, bool blue, bool alpha); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompileShader", ExactSpelling = true)] + internal extern static void CompileShader(UInt32 shader); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexImage2D", ExactSpelling = true)] + internal extern static void CompressedTexImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, OpenTK.Graphics.ES20.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexImage3DOES", ExactSpelling = true)] + internal extern static void CompressedTexImage3DOES(OpenTK.Graphics.ES20.All target, Int32 level, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexSubImage2D", ExactSpelling = true)] + internal extern static void CompressedTexSubImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, Int32 imageSize, IntPtr data); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexSubImage3DOES", ExactSpelling = true)] + internal extern static void CompressedTexSubImage3DOES(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, Int32 imageSize, IntPtr data); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTexImage2D", ExactSpelling = true)] + internal extern static void CopyTexImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, OpenTK.Graphics.ES20.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTexSubImage2D", ExactSpelling = true)] + internal extern static void CopyTexSubImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTexSubImage3DOES", ExactSpelling = true)] + internal extern static void CopyTexSubImage3DOES(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCoverageMaskNV", ExactSpelling = true)] + internal extern static void CoverageMaskNV(bool mask); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCoverageOperationNV", ExactSpelling = true)] + internal extern static void CoverageOperationNV(OpenTK.Graphics.ES20.All operation); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCreateProgram", ExactSpelling = true)] + internal extern static Int32 CreateProgram(); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCreateShader", ExactSpelling = true)] + internal extern static Int32 CreateShader(OpenTK.Graphics.ES20.ShaderType type); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCullFace", ExactSpelling = true)] + internal extern static void CullFace(OpenTK.Graphics.ES20.CullFaceMode mode); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteBuffers", ExactSpelling = true)] + internal extern static unsafe void DeleteBuffers(Int32 n, UInt32* buffers); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteFencesNV", ExactSpelling = true)] + internal extern static unsafe void DeleteFencesNV(Int32 n, UInt32* fences); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteFramebuffers", ExactSpelling = true)] + internal extern static unsafe void DeleteFramebuffers(Int32 n, UInt32* framebuffers); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeletePerfMonitorsAMD", ExactSpelling = true)] + internal extern static unsafe void DeletePerfMonitorsAMD(Int32 n, UInt32* monitors); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteProgram", ExactSpelling = true)] + internal extern static void DeleteProgram(UInt32 program); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteRenderbuffers", ExactSpelling = true)] + internal extern static unsafe void DeleteRenderbuffers(Int32 n, UInt32* renderbuffers); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteShader", ExactSpelling = true)] + internal extern static void DeleteShader(UInt32 shader); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteTextures", ExactSpelling = true)] + internal extern static unsafe void DeleteTextures(Int32 n, UInt32* textures); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteVertexArraysOES", ExactSpelling = true)] + internal extern static unsafe void DeleteVertexArraysOES(Int32 n, UInt32* arrays); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDepthFunc", ExactSpelling = true)] + internal extern static void DepthFunc(OpenTK.Graphics.ES20.DepthFunction func); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDepthMask", ExactSpelling = true)] + internal extern static void DepthMask(bool flag); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDepthRangef", ExactSpelling = true)] + internal extern static void DepthRangef(Single zNear, Single zFar); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDetachShader", ExactSpelling = true)] + internal extern static void DetachShader(UInt32 program, UInt32 shader); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDisable", ExactSpelling = true)] + internal extern static void Disable(OpenTK.Graphics.ES20.EnableCap cap); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDisableDriverControlQCOM", ExactSpelling = true)] + internal extern static void DisableDriverControlQCOM(UInt32 driverControl); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDisableVertexAttribArray", ExactSpelling = true)] + internal extern static void DisableVertexAttribArray(UInt32 index); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDiscardFramebufferEXT", ExactSpelling = true)] + internal extern static unsafe void DiscardFramebufferEXT(OpenTK.Graphics.ES20.All target, Int32 numAttachments, OpenTK.Graphics.ES20.All* attachments); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawArrays", ExactSpelling = true)] + internal extern static void DrawArrays(OpenTK.Graphics.ES20.BeginMode mode, Int32 first, Int32 count); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElements", ExactSpelling = true)] + internal extern static void DrawElements(OpenTK.Graphics.ES20.BeginMode mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, IntPtr indices); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEGLImageTargetRenderbufferStorageOES", ExactSpelling = true)] + internal extern static void EGLImageTargetRenderbufferStorageOES(OpenTK.Graphics.ES20.All target, IntPtr image); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEGLImageTargetTexture2DOES", ExactSpelling = true)] + internal extern static void EGLImageTargetTexture2DOES(OpenTK.Graphics.ES20.All target, IntPtr image); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEnable", ExactSpelling = true)] + internal extern static void Enable(OpenTK.Graphics.ES20.EnableCap cap); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEnableDriverControlQCOM", ExactSpelling = true)] + internal extern static void EnableDriverControlQCOM(UInt32 driverControl); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEnableVertexAttribArray", ExactSpelling = true)] + internal extern static void EnableVertexAttribArray(UInt32 index); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEndPerfMonitorAMD", ExactSpelling = true)] + internal extern static void EndPerfMonitorAMD(UInt32 monitor); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEndTilingQCOM", ExactSpelling = true)] + internal extern static void EndTilingQCOM(UInt32 preserveMask); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glExtGetBufferPointervQCOM", ExactSpelling = true)] + internal extern static void ExtGetBufferPointervQCOM(OpenTK.Graphics.ES20.All target, IntPtr @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glExtGetBuffersQCOM", ExactSpelling = true)] + internal extern static unsafe void ExtGetBuffersQCOM(UInt32* buffers, Int32 maxBuffers, Int32* numBuffers); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glExtGetFramebuffersQCOM", ExactSpelling = true)] + internal extern static unsafe void ExtGetFramebuffersQCOM(UInt32* framebuffers, Int32 maxFramebuffers, Int32* numFramebuffers); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glExtGetProgramBinarySourceQCOM", ExactSpelling = true)] + internal extern static unsafe void ExtGetProgramBinarySourceQCOM(UInt32 program, OpenTK.Graphics.ES20.All shadertype, String source, Int32* length); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glExtGetProgramsQCOM", ExactSpelling = true)] + internal extern static unsafe void ExtGetProgramsQCOM(UInt32* programs, Int32 maxPrograms, Int32* numPrograms); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glExtGetRenderbuffersQCOM", ExactSpelling = true)] + internal extern static unsafe void ExtGetRenderbuffersQCOM(UInt32* renderbuffers, Int32 maxRenderbuffers, Int32* numRenderbuffers); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glExtGetShadersQCOM", ExactSpelling = true)] + internal extern static unsafe void ExtGetShadersQCOM(UInt32* shaders, Int32 maxShaders, Int32* numShaders); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glExtGetTexLevelParameterivQCOM", ExactSpelling = true)] + internal extern static unsafe void ExtGetTexLevelParameterivQCOM(UInt32 texture, OpenTK.Graphics.ES20.All face, Int32 level, OpenTK.Graphics.ES20.All pname, Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glExtGetTexSubImageQCOM", ExactSpelling = true)] + internal extern static void ExtGetTexSubImageQCOM(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, IntPtr texels); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glExtGetTexturesQCOM", ExactSpelling = true)] + internal extern static unsafe void ExtGetTexturesQCOM(UInt32* textures, Int32 maxTextures, Int32* numTextures); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glExtIsProgramBinaryQCOM", ExactSpelling = true)] + internal extern static bool ExtIsProgramBinaryQCOM(UInt32 program); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glExtTexObjectStateOverrideiQCOM", ExactSpelling = true)] + internal extern static void ExtTexObjectStateOverrideiQCOM(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, Int32 param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFinish", ExactSpelling = true)] + internal extern static void Finish(); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFinishFenceNV", ExactSpelling = true)] + internal extern static void FinishFenceNV(UInt32 fence); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFlush", ExactSpelling = true)] + internal extern static void Flush(); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferRenderbuffer", ExactSpelling = true)] + internal extern static void FramebufferRenderbuffer(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.FramebufferSlot attachment, OpenTK.Graphics.ES20.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTexture2D", ExactSpelling = true)] + internal extern static void FramebufferTexture2D(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.FramebufferSlot attachment, OpenTK.Graphics.ES20.TextureTarget textarget, UInt32 texture, Int32 level); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTexture2DMultisampleIMG", ExactSpelling = true)] + internal extern static void FramebufferTexture2DMultisampleIMG(); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTexture3DOES", ExactSpelling = true)] + internal extern static void FramebufferTexture3DOES(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.All textarget, UInt32 texture, Int32 level, Int32 zoffset); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFrontFace", ExactSpelling = true)] + internal extern static void FrontFace(OpenTK.Graphics.ES20.FrontFaceDirection mode); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenBuffers", ExactSpelling = true)] + internal extern static unsafe void GenBuffers(Int32 n, [OutAttribute] UInt32* buffers); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenerateMipmap", ExactSpelling = true)] + internal extern static void GenerateMipmap(OpenTK.Graphics.ES20.TextureTarget target); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenFencesNV", ExactSpelling = true)] + internal extern static unsafe void GenFencesNV(Int32 n, [OutAttribute] UInt32* fences); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenFramebuffers", ExactSpelling = true)] + internal extern static unsafe void GenFramebuffers(Int32 n, [OutAttribute] UInt32* framebuffers); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenPerfMonitorsAMD", ExactSpelling = true)] + internal extern static unsafe void GenPerfMonitorsAMD(Int32 n, [OutAttribute] UInt32* monitors); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenRenderbuffers", ExactSpelling = true)] + internal extern static unsafe void GenRenderbuffers(Int32 n, [OutAttribute] UInt32* renderbuffers); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenTextures", ExactSpelling = true)] + internal extern static unsafe void GenTextures(Int32 n, [OutAttribute] UInt32* textures); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenVertexArraysOES", ExactSpelling = true)] + internal extern static unsafe void GenVertexArraysOES(Int32 n, [OutAttribute] UInt32* arrays); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetActiveAttrib", ExactSpelling = true)] + internal extern static unsafe void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES20.ActiveAttribType* type, [OutAttribute] StringBuilder name); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetActiveUniform", ExactSpelling = true)] + internal extern static unsafe void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES20.ActiveUniformType* type, [OutAttribute] StringBuilder name); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetAttachedShaders", ExactSpelling = true)] + internal extern static unsafe void GetAttachedShaders(UInt32 program, Int32 maxcount, [OutAttribute] Int32* count, [OutAttribute] UInt32* shaders); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetAttribLocation", ExactSpelling = true)] + internal extern static int GetAttribLocation(UInt32 program, String name); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetBooleanv", ExactSpelling = true)] + internal extern static unsafe void GetBooleanv(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] bool* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetBufferParameteriv", ExactSpelling = true)] + internal extern static unsafe void GetBufferParameteriv(OpenTK.Graphics.ES20.BufferTarget target, OpenTK.Graphics.ES20.BufferParameterName pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetBufferPointervOES", ExactSpelling = true)] + internal extern static void GetBufferPointervOES(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, [OutAttribute] IntPtr @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetDriverControlsQCOM", ExactSpelling = true)] + internal extern static unsafe void GetDriverControlsQCOM([OutAttribute] Int32* num, Int32 size, [OutAttribute] UInt32* driverControls); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetDriverControlStringQCOM", ExactSpelling = true)] + internal extern static unsafe void GetDriverControlStringQCOM(UInt32 driverControl, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder driverControlString); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetError", ExactSpelling = true)] + internal extern static OpenTK.Graphics.ES20.ErrorCode GetError(); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFenceivNV", ExactSpelling = true)] + internal extern static unsafe void GetFenceivNV(UInt32 fence, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFloatv", ExactSpelling = true)] + internal extern static unsafe void GetFloatv(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFramebufferAttachmentParameteriv", ExactSpelling = true)] + internal extern static unsafe void GetFramebufferAttachmentParameteriv(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.FramebufferSlot attachment, OpenTK.Graphics.ES20.FramebufferParameterName pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetIntegerv", ExactSpelling = true)] + internal extern static unsafe void GetIntegerv(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPerfMonitorCounterDataAMD", ExactSpelling = true)] + internal extern static unsafe void GetPerfMonitorCounterDataAMD(UInt32 monitor, OpenTK.Graphics.ES20.All pname, Int32 dataSize, [OutAttribute] UInt32* data, [OutAttribute] Int32* bytesWritten); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPerfMonitorCounterInfoAMD", ExactSpelling = true)] + internal extern static void GetPerfMonitorCounterInfoAMD(UInt32 group, UInt32 counter, OpenTK.Graphics.ES20.All pname, [OutAttribute] IntPtr data); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPerfMonitorCountersAMD", ExactSpelling = true)] + internal extern static unsafe void GetPerfMonitorCountersAMD(UInt32 group, [OutAttribute] Int32* numCounters, [OutAttribute] Int32* maxActiveCounters, Int32 counterSize, [OutAttribute] UInt32* counters); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPerfMonitorCounterStringAMD", ExactSpelling = true)] + internal extern static unsafe void GetPerfMonitorCounterStringAMD(UInt32 group, UInt32 counter, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder counterString); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPerfMonitorGroupsAMD", ExactSpelling = true)] + internal extern static unsafe void GetPerfMonitorGroupsAMD([OutAttribute] Int32* numGroups, Int32 groupsSize, [OutAttribute] UInt32* groups); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPerfMonitorGroupStringAMD", ExactSpelling = true)] + internal extern static unsafe void GetPerfMonitorGroupStringAMD(UInt32 group, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder groupString); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramBinaryOES", ExactSpelling = true)] + internal extern static unsafe void GetProgramBinaryOES(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES20.All* binaryFormat, [OutAttribute] IntPtr binary); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramInfoLog", ExactSpelling = true)] + internal extern static unsafe void GetProgramInfoLog(UInt32 program, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infolog); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramiv", ExactSpelling = true)] + internal extern static unsafe void GetProgramiv(UInt32 program, OpenTK.Graphics.ES20.ProgramParameter pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetRenderbufferParameteriv", ExactSpelling = true)] + internal extern static unsafe void GetRenderbufferParameteriv(OpenTK.Graphics.ES20.RenderbufferTarget target, OpenTK.Graphics.ES20.RenderbufferParameterName pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetShaderInfoLog", ExactSpelling = true)] + internal extern static unsafe void GetShaderInfoLog(UInt32 shader, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infolog); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetShaderiv", ExactSpelling = true)] + internal extern static unsafe void GetShaderiv(UInt32 shader, OpenTK.Graphics.ES20.ShaderParameter pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetShaderPrecisionFormat", ExactSpelling = true)] + internal extern static unsafe void GetShaderPrecisionFormat(OpenTK.Graphics.ES20.ShaderType shadertype, OpenTK.Graphics.ES20.ShaderPrecision precisiontype, [OutAttribute] Int32* range, [OutAttribute] Int32* precision); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetShaderSource", ExactSpelling = true)] + internal extern static unsafe void GetShaderSource(UInt32 shader, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetString", ExactSpelling = true)] + internal extern static unsafe System.IntPtr GetString(OpenTK.Graphics.ES20.StringName name); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexParameterfv", ExactSpelling = true)] + internal extern static unsafe void GetTexParameterfv(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.GetTextureParameter pname, [OutAttribute] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexParameteriv", ExactSpelling = true)] + internal extern static unsafe void GetTexParameteriv(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.GetTextureParameter pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetUniformfv", ExactSpelling = true)] + internal extern static unsafe void GetUniformfv(UInt32 program, Int32 location, [OutAttribute] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetUniformiv", ExactSpelling = true)] + internal extern static unsafe void GetUniformiv(UInt32 program, Int32 location, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetUniformLocation", ExactSpelling = true)] + internal extern static int GetUniformLocation(UInt32 program, String name); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribfv", ExactSpelling = true)] + internal extern static unsafe void GetVertexAttribfv(UInt32 index, OpenTK.Graphics.ES20.VertexAttribParameter pname, [OutAttribute] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribiv", ExactSpelling = true)] + internal extern static unsafe void GetVertexAttribiv(UInt32 index, OpenTK.Graphics.ES20.VertexAttribParameter pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribPointerv", ExactSpelling = true)] + internal extern static void GetVertexAttribPointerv(UInt32 index, OpenTK.Graphics.ES20.VertexAttribPointerParameter pname, [OutAttribute] IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glHint", ExactSpelling = true)] + internal extern static void Hint(OpenTK.Graphics.ES20.HintTarget target, OpenTK.Graphics.ES20.HintMode mode); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsBuffer", ExactSpelling = true)] + internal extern static bool IsBuffer(UInt32 buffer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsEnabled", ExactSpelling = true)] + internal extern static bool IsEnabled(OpenTK.Graphics.ES20.EnableCap cap); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsFenceNV", ExactSpelling = true)] + internal extern static bool IsFenceNV(UInt32 fence); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsFramebuffer", ExactSpelling = true)] + internal extern static bool IsFramebuffer(UInt32 framebuffer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsProgram", ExactSpelling = true)] + internal extern static bool IsProgram(UInt32 program); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsRenderbuffer", ExactSpelling = true)] + internal extern static bool IsRenderbuffer(UInt32 renderbuffer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsShader", ExactSpelling = true)] + internal extern static bool IsShader(UInt32 shader); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsTexture", ExactSpelling = true)] + internal extern static bool IsTexture(UInt32 texture); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsVertexArrayOES", ExactSpelling = true)] + internal extern static bool IsVertexArrayOES(UInt32 array); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLineWidth", ExactSpelling = true)] + internal extern static void LineWidth(Single width); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLinkProgram", ExactSpelling = true)] + internal extern static void LinkProgram(UInt32 program); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMapBufferOES", ExactSpelling = true)] + internal extern static unsafe System.IntPtr MapBufferOES(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All access); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiDrawArraysEXT", ExactSpelling = true)] + internal extern static unsafe void MultiDrawArraysEXT(OpenTK.Graphics.ES20.All mode, Int32* first, Int32* count, Int32 primcount); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiDrawElementsEXT", ExactSpelling = true)] + internal extern static unsafe void MultiDrawElementsEXT(OpenTK.Graphics.ES20.All mode, Int32* first, OpenTK.Graphics.ES20.All type, IntPtr indices, Int32 primcount); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelStorei", ExactSpelling = true)] + internal extern static void PixelStorei(OpenTK.Graphics.ES20.PixelStoreParameter pname, Int32 param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPolygonOffset", ExactSpelling = true)] + internal extern static void PolygonOffset(Single factor, Single units); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramBinaryOES", ExactSpelling = true)] + internal extern static void ProgramBinaryOES(UInt32 program, OpenTK.Graphics.ES20.All binaryFormat, IntPtr binary, Int32 length); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReadPixels", ExactSpelling = true)] + internal extern static void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, IntPtr pixels); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReleaseShaderCompiler", ExactSpelling = true)] + internal extern static void ReleaseShaderCompiler(); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRenderbufferStorage", ExactSpelling = true)] + internal extern static void RenderbufferStorage(OpenTK.Graphics.ES20.RenderbufferTarget target, OpenTK.Graphics.ES20.RenderbufferInternalFormat internalformat, Int32 width, Int32 height); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRenderbufferStorageMultisampleANGLE", ExactSpelling = true)] + internal extern static void RenderbufferStorageMultisampleANGLE(OpenTK.Graphics.ES20.All target, Int32 samples, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRenderbufferStorageMultisampleAPPLE", ExactSpelling = true)] + internal extern static void RenderbufferStorageMultisampleAPPLE(); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRenderbufferStorageMultisampleIMG", ExactSpelling = true)] + internal extern static void RenderbufferStorageMultisampleIMG(); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glResolveMultisampleFramebufferAPPLE", ExactSpelling = true)] + internal extern static void ResolveMultisampleFramebufferAPPLE(); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSampleCoverage", ExactSpelling = true)] + internal extern static void SampleCoverage(Single value, bool invert); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glScissor", ExactSpelling = true)] + internal extern static void Scissor(Int32 x, Int32 y, Int32 width, Int32 height); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSelectPerfMonitorCountersAMD", ExactSpelling = true)] + internal extern static unsafe void SelectPerfMonitorCountersAMD(UInt32 monitor, bool enable, UInt32 group, Int32 numCounters, UInt32* countersList); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSetFenceNV", ExactSpelling = true)] + internal extern static void SetFenceNV(UInt32 fence, OpenTK.Graphics.ES20.All condition); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glShaderBinary", ExactSpelling = true)] + internal extern static unsafe void ShaderBinary(Int32 n, UInt32* shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, IntPtr binary, Int32 length); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glShaderSource", ExactSpelling = true)] + internal extern static unsafe void ShaderSource(UInt32 shader, Int32 count, String[] @string, Int32* length); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStartTilingQCOM", ExactSpelling = true)] + internal extern static void StartTilingQCOM(UInt32 x, UInt32 y, UInt32 width, UInt32 height, UInt32 preserveMask); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilFunc", ExactSpelling = true)] + internal extern static void StencilFunc(OpenTK.Graphics.ES20.StencilFunction func, Int32 @ref, UInt32 mask); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilFuncSeparate", ExactSpelling = true)] + internal extern static void StencilFuncSeparate(OpenTK.Graphics.ES20.CullFaceMode face, OpenTK.Graphics.ES20.StencilFunction func, Int32 @ref, UInt32 mask); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilMask", ExactSpelling = true)] + internal extern static void StencilMask(UInt32 mask); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilMaskSeparate", ExactSpelling = true)] + internal extern static void StencilMaskSeparate(OpenTK.Graphics.ES20.CullFaceMode face, UInt32 mask); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilOp", ExactSpelling = true)] + internal extern static void StencilOp(OpenTK.Graphics.ES20.StencilOp fail, OpenTK.Graphics.ES20.StencilOp zfail, OpenTK.Graphics.ES20.StencilOp zpass); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilOpSeparate", ExactSpelling = true)] + internal extern static void StencilOpSeparate(OpenTK.Graphics.ES20.CullFaceMode face, OpenTK.Graphics.ES20.StencilOp fail, OpenTK.Graphics.ES20.StencilOp zfail, OpenTK.Graphics.ES20.StencilOp zpass); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTestFenceNV", ExactSpelling = true)] + internal extern static bool TestFenceNV(UInt32 fence); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexImage2D", ExactSpelling = true)] + internal extern static void TexImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, OpenTK.Graphics.ES20.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, IntPtr pixels); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexImage3DOES", ExactSpelling = true)] + internal extern static void TexImage3DOES(OpenTK.Graphics.ES20.All target, Int32 level, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, IntPtr pixels); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameterf", ExactSpelling = true)] + internal extern static void TexParameterf(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.TextureParameterName pname, Single param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameterfv", ExactSpelling = true)] + internal extern static unsafe void TexParameterfv(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.TextureParameterName pname, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameteri", ExactSpelling = true)] + internal extern static void TexParameteri(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.TextureParameterName pname, Int32 param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameteriv", ExactSpelling = true)] + internal extern static unsafe void TexParameteriv(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.TextureParameterName pname, Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexSubImage2D", ExactSpelling = true)] + internal extern static void TexSubImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, IntPtr pixels); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexSubImage3DOES", ExactSpelling = true)] + internal extern static void TexSubImage3DOES(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, IntPtr pixels); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform1f", ExactSpelling = true)] + internal extern static void Uniform1f(Int32 location, Single x); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform1fv", ExactSpelling = true)] + internal extern static unsafe void Uniform1fv(Int32 location, Int32 count, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform1i", ExactSpelling = true)] + internal extern static void Uniform1i(Int32 location, Int32 x); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform1iv", ExactSpelling = true)] + internal extern static unsafe void Uniform1iv(Int32 location, Int32 count, Int32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform2f", ExactSpelling = true)] + internal extern static void Uniform2f(Int32 location, Single x, Single y); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform2fv", ExactSpelling = true)] + internal extern static unsafe void Uniform2fv(Int32 location, Int32 count, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform2i", ExactSpelling = true)] + internal extern static void Uniform2i(Int32 location, Int32 x, Int32 y); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform2iv", ExactSpelling = true)] + internal extern static unsafe void Uniform2iv(Int32 location, Int32 count, Int32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform3f", ExactSpelling = true)] + internal extern static void Uniform3f(Int32 location, Single x, Single y, Single z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform3fv", ExactSpelling = true)] + internal extern static unsafe void Uniform3fv(Int32 location, Int32 count, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform3i", ExactSpelling = true)] + internal extern static void Uniform3i(Int32 location, Int32 x, Int32 y, Int32 z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform3iv", ExactSpelling = true)] + internal extern static unsafe void Uniform3iv(Int32 location, Int32 count, Int32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform4f", ExactSpelling = true)] + internal extern static void Uniform4f(Int32 location, Single x, Single y, Single z, Single w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform4fv", ExactSpelling = true)] + internal extern static unsafe void Uniform4fv(Int32 location, Int32 count, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform4i", ExactSpelling = true)] + internal extern static void Uniform4i(Int32 location, Int32 x, Int32 y, Int32 z, Int32 w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform4iv", ExactSpelling = true)] + internal extern static unsafe void Uniform4iv(Int32 location, Int32 count, Int32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix2fv", ExactSpelling = true)] + internal extern static unsafe void UniformMatrix2fv(Int32 location, Int32 count, bool transpose, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix3fv", ExactSpelling = true)] + internal extern static unsafe void UniformMatrix3fv(Int32 location, Int32 count, bool transpose, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix4fv", ExactSpelling = true)] + internal extern static unsafe void UniformMatrix4fv(Int32 location, Int32 count, bool transpose, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUnmapBufferOES", ExactSpelling = true)] + internal extern static bool UnmapBufferOES(OpenTK.Graphics.ES20.All target); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUseProgram", ExactSpelling = true)] + internal extern static void UseProgram(UInt32 program); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glValidateProgram", ExactSpelling = true)] + internal extern static void ValidateProgram(UInt32 program); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib1f", ExactSpelling = true)] + internal extern static void VertexAttrib1f(UInt32 indx, Single x); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib1fv", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib1fv(UInt32 indx, Single* values); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib2f", ExactSpelling = true)] + internal extern static void VertexAttrib2f(UInt32 indx, Single x, Single y); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib2fv", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib2fv(UInt32 indx, Single* values); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib3f", ExactSpelling = true)] + internal extern static void VertexAttrib3f(UInt32 indx, Single x, Single y, Single z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib3fv", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib3fv(UInt32 indx, Single* values); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4f", ExactSpelling = true)] + internal extern static void VertexAttrib4f(UInt32 indx, Single x, Single y, Single z, Single w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4fv", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib4fv(UInt32 indx, Single* values); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribPointer", ExactSpelling = true)] + internal extern static void VertexAttribPointer(UInt32 indx, Int32 size, OpenTK.Graphics.ES20.VertexAttribPointerType type, bool normalized, Int32 stride, IntPtr ptr); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glViewport", ExactSpelling = true)] + internal extern static void Viewport(Int32 x, Int32 y, Int32 width, Int32 height); + } + } +} diff --git a/src/MiniTK/Graphics/ES20/Delegates.cs b/src/MiniTK/Graphics/ES20/Delegates.cs new file mode 100644 index 0000000..8a1a9fa --- /dev/null +++ b/src/MiniTK/Graphics/ES20/Delegates.cs @@ -0,0 +1,661 @@ +#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 + +namespace OpenTK.Graphics.ES20 +{ + using System; + using System.Text; + using System.Runtime.InteropServices; + #pragma warning disable 0649 + #pragma warning disable 3019 + #pragma warning disable 1591 + + partial class GL + { + internal static partial class Delegates + { + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ActiveTexture(OpenTK.Graphics.ES20.TextureUnit texture); + internal static ActiveTexture glActiveTexture; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void AttachShader(UInt32 program, UInt32 shader); + internal static AttachShader glAttachShader; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BeginPerfMonitorAMD(UInt32 monitor); + internal static BeginPerfMonitorAMD glBeginPerfMonitorAMD; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BindAttribLocation(UInt32 program, UInt32 index, String name); + internal static BindAttribLocation glBindAttribLocation; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BindBuffer(OpenTK.Graphics.ES20.BufferTarget target, UInt32 buffer); + internal static BindBuffer glBindBuffer; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BindFramebuffer(OpenTK.Graphics.ES20.FramebufferTarget target, UInt32 framebuffer); + internal static BindFramebuffer glBindFramebuffer; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BindRenderbuffer(OpenTK.Graphics.ES20.RenderbufferTarget target, UInt32 renderbuffer); + internal static BindRenderbuffer glBindRenderbuffer; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BindTexture(OpenTK.Graphics.ES20.TextureTarget target, UInt32 texture); + internal static BindTexture glBindTexture; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BindVertexArrayOES(UInt32 array); + internal static BindVertexArrayOES glBindVertexArrayOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BlendColor(Single red, Single green, Single blue, Single alpha); + internal static BlendColor glBlendColor; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BlendEquation(OpenTK.Graphics.ES20.BlendEquationMode mode); + internal static BlendEquation glBlendEquation; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BlendEquationSeparate(OpenTK.Graphics.ES20.BlendEquationMode modeRGB, OpenTK.Graphics.ES20.BlendEquationMode modeAlpha); + internal static BlendEquationSeparate glBlendEquationSeparate; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BlendFunc(OpenTK.Graphics.ES20.BlendingFactorSrc sfactor, OpenTK.Graphics.ES20.BlendingFactorDest dfactor); + internal static BlendFunc glBlendFunc; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BlendFuncSeparate(OpenTK.Graphics.ES20.BlendingFactorSrc srcRGB, OpenTK.Graphics.ES20.BlendingFactorDest dstRGB, OpenTK.Graphics.ES20.BlendingFactorSrc srcAlpha, OpenTK.Graphics.ES20.BlendingFactorDest dstAlpha); + internal static BlendFuncSeparate glBlendFuncSeparate; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BlitFramebufferANGLE(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, UInt32 mask, OpenTK.Graphics.ES20.All filter); + internal static BlitFramebufferANGLE glBlitFramebufferANGLE; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BufferData(OpenTK.Graphics.ES20.BufferTarget target, IntPtr size, IntPtr data, OpenTK.Graphics.ES20.BufferUsage usage); + internal static BufferData glBufferData; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BufferSubData(OpenTK.Graphics.ES20.BufferTarget target, IntPtr offset, IntPtr size, IntPtr data); + internal static BufferSubData glBufferSubData; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate OpenTK.Graphics.ES20.FramebufferErrorCode CheckFramebufferStatus(OpenTK.Graphics.ES20.FramebufferTarget target); + internal static CheckFramebufferStatus glCheckFramebufferStatus; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Clear(OpenTK.Graphics.ES20.ClearBufferMask mask); + internal static Clear glClear; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ClearColor(Single red, Single green, Single blue, Single alpha); + internal static ClearColor glClearColor; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ClearDepthf(Single depth); + internal static ClearDepthf glClearDepthf; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ClearStencil(Int32 s); + internal static ClearStencil glClearStencil; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ColorMask(bool red, bool green, bool blue, bool alpha); + internal static ColorMask glColorMask; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CompileShader(UInt32 shader); + internal static CompileShader glCompileShader; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CompressedTexImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, OpenTK.Graphics.ES20.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data); + internal static CompressedTexImage2D glCompressedTexImage2D; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CompressedTexImage3DOES(OpenTK.Graphics.ES20.All target, Int32 level, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data); + internal static CompressedTexImage3DOES glCompressedTexImage3DOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CompressedTexSubImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, Int32 imageSize, IntPtr data); + internal static CompressedTexSubImage2D glCompressedTexSubImage2D; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CompressedTexSubImage3DOES(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, Int32 imageSize, IntPtr data); + internal static CompressedTexSubImage3DOES glCompressedTexSubImage3DOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CopyTexImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, OpenTK.Graphics.ES20.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border); + internal static CopyTexImage2D glCopyTexImage2D; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CopyTexSubImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height); + internal static CopyTexSubImage2D glCopyTexSubImage2D; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CopyTexSubImage3DOES(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height); + internal static CopyTexSubImage3DOES glCopyTexSubImage3DOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CoverageMaskNV(bool mask); + internal static CoverageMaskNV glCoverageMaskNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CoverageOperationNV(OpenTK.Graphics.ES20.All operation); + internal static CoverageOperationNV glCoverageOperationNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate Int32 CreateProgram(); + internal static CreateProgram glCreateProgram; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate Int32 CreateShader(OpenTK.Graphics.ES20.ShaderType type); + internal static CreateShader glCreateShader; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CullFace(OpenTK.Graphics.ES20.CullFaceMode mode); + internal static CullFace glCullFace; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void DeleteBuffers(Int32 n, UInt32* buffers); + internal unsafe static DeleteBuffers glDeleteBuffers; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void DeleteFencesNV(Int32 n, UInt32* fences); + internal unsafe static DeleteFencesNV glDeleteFencesNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void DeleteFramebuffers(Int32 n, UInt32* framebuffers); + internal unsafe static DeleteFramebuffers glDeleteFramebuffers; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void DeletePerfMonitorsAMD(Int32 n, UInt32* monitors); + internal unsafe static DeletePerfMonitorsAMD glDeletePerfMonitorsAMD; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DeleteProgram(UInt32 program); + internal static DeleteProgram glDeleteProgram; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void DeleteRenderbuffers(Int32 n, UInt32* renderbuffers); + internal unsafe static DeleteRenderbuffers glDeleteRenderbuffers; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DeleteShader(UInt32 shader); + internal static DeleteShader glDeleteShader; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void DeleteTextures(Int32 n, UInt32* textures); + internal unsafe static DeleteTextures glDeleteTextures; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void DeleteVertexArraysOES(Int32 n, UInt32* arrays); + internal unsafe static DeleteVertexArraysOES glDeleteVertexArraysOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DepthFunc(OpenTK.Graphics.ES20.DepthFunction func); + internal static DepthFunc glDepthFunc; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DepthMask(bool flag); + internal static DepthMask glDepthMask; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DepthRangef(Single zNear, Single zFar); + internal static DepthRangef glDepthRangef; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DetachShader(UInt32 program, UInt32 shader); + internal static DetachShader glDetachShader; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Disable(OpenTK.Graphics.ES20.EnableCap cap); + internal static Disable glDisable; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DisableDriverControlQCOM(UInt32 driverControl); + internal static DisableDriverControlQCOM glDisableDriverControlQCOM; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DisableVertexAttribArray(UInt32 index); + internal static DisableVertexAttribArray glDisableVertexAttribArray; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void DiscardFramebufferEXT(OpenTK.Graphics.ES20.All target, Int32 numAttachments, OpenTK.Graphics.ES20.All* attachments); + internal unsafe static DiscardFramebufferEXT glDiscardFramebufferEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DrawArrays(OpenTK.Graphics.ES20.BeginMode mode, Int32 first, Int32 count); + internal static DrawArrays glDrawArrays; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DrawElements(OpenTK.Graphics.ES20.BeginMode mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, IntPtr indices); + internal static DrawElements glDrawElements; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void EGLImageTargetRenderbufferStorageOES(OpenTK.Graphics.ES20.All target, IntPtr image); + internal static EGLImageTargetRenderbufferStorageOES glEGLImageTargetRenderbufferStorageOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void EGLImageTargetTexture2DOES(OpenTK.Graphics.ES20.All target, IntPtr image); + internal static EGLImageTargetTexture2DOES glEGLImageTargetTexture2DOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Enable(OpenTK.Graphics.ES20.EnableCap cap); + internal static Enable glEnable; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void EnableDriverControlQCOM(UInt32 driverControl); + internal static EnableDriverControlQCOM glEnableDriverControlQCOM; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void EnableVertexAttribArray(UInt32 index); + internal static EnableVertexAttribArray glEnableVertexAttribArray; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void EndPerfMonitorAMD(UInt32 monitor); + internal static EndPerfMonitorAMD glEndPerfMonitorAMD; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void EndTilingQCOM(UInt32 preserveMask); + internal static EndTilingQCOM glEndTilingQCOM; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ExtGetBufferPointervQCOM(OpenTK.Graphics.ES20.All target, IntPtr @params); + internal static ExtGetBufferPointervQCOM glExtGetBufferPointervQCOM; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ExtGetBuffersQCOM(UInt32* buffers, Int32 maxBuffers, Int32* numBuffers); + internal unsafe static ExtGetBuffersQCOM glExtGetBuffersQCOM; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ExtGetFramebuffersQCOM(UInt32* framebuffers, Int32 maxFramebuffers, Int32* numFramebuffers); + internal unsafe static ExtGetFramebuffersQCOM glExtGetFramebuffersQCOM; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ExtGetProgramBinarySourceQCOM(UInt32 program, OpenTK.Graphics.ES20.All shadertype, String source, Int32* length); + internal unsafe static ExtGetProgramBinarySourceQCOM glExtGetProgramBinarySourceQCOM; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ExtGetProgramsQCOM(UInt32* programs, Int32 maxPrograms, Int32* numPrograms); + internal unsafe static ExtGetProgramsQCOM glExtGetProgramsQCOM; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ExtGetRenderbuffersQCOM(UInt32* renderbuffers, Int32 maxRenderbuffers, Int32* numRenderbuffers); + internal unsafe static ExtGetRenderbuffersQCOM glExtGetRenderbuffersQCOM; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ExtGetShadersQCOM(UInt32* shaders, Int32 maxShaders, Int32* numShaders); + internal unsafe static ExtGetShadersQCOM glExtGetShadersQCOM; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ExtGetTexLevelParameterivQCOM(UInt32 texture, OpenTK.Graphics.ES20.All face, Int32 level, OpenTK.Graphics.ES20.All pname, Int32* @params); + internal unsafe static ExtGetTexLevelParameterivQCOM glExtGetTexLevelParameterivQCOM; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ExtGetTexSubImageQCOM(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, IntPtr texels); + internal static ExtGetTexSubImageQCOM glExtGetTexSubImageQCOM; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ExtGetTexturesQCOM(UInt32* textures, Int32 maxTextures, Int32* numTextures); + internal unsafe static ExtGetTexturesQCOM glExtGetTexturesQCOM; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate bool ExtIsProgramBinaryQCOM(UInt32 program); + internal static ExtIsProgramBinaryQCOM glExtIsProgramBinaryQCOM; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ExtTexObjectStateOverrideiQCOM(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, Int32 param); + internal static ExtTexObjectStateOverrideiQCOM glExtTexObjectStateOverrideiQCOM; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Finish(); + internal static Finish glFinish; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void FinishFenceNV(UInt32 fence); + internal static FinishFenceNV glFinishFenceNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Flush(); + internal static Flush glFlush; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void FramebufferRenderbuffer(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.FramebufferSlot attachment, OpenTK.Graphics.ES20.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer); + internal static FramebufferRenderbuffer glFramebufferRenderbuffer; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void FramebufferTexture2D(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.FramebufferSlot attachment, OpenTK.Graphics.ES20.TextureTarget textarget, UInt32 texture, Int32 level); + internal static FramebufferTexture2D glFramebufferTexture2D; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void FramebufferTexture2DMultisampleIMG(); + internal static FramebufferTexture2DMultisampleIMG glFramebufferTexture2DMultisampleIMG; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void FramebufferTexture3DOES(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.All textarget, UInt32 texture, Int32 level, Int32 zoffset); + internal static FramebufferTexture3DOES glFramebufferTexture3DOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void FrontFace(OpenTK.Graphics.ES20.FrontFaceDirection mode); + internal static FrontFace glFrontFace; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GenBuffers(Int32 n, [OutAttribute] UInt32* buffers); + internal unsafe static GenBuffers glGenBuffers; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void GenerateMipmap(OpenTK.Graphics.ES20.TextureTarget target); + internal static GenerateMipmap glGenerateMipmap; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GenFencesNV(Int32 n, [OutAttribute] UInt32* fences); + internal unsafe static GenFencesNV glGenFencesNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GenFramebuffers(Int32 n, [OutAttribute] UInt32* framebuffers); + internal unsafe static GenFramebuffers glGenFramebuffers; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GenPerfMonitorsAMD(Int32 n, [OutAttribute] UInt32* monitors); + internal unsafe static GenPerfMonitorsAMD glGenPerfMonitorsAMD; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GenRenderbuffers(Int32 n, [OutAttribute] UInt32* renderbuffers); + internal unsafe static GenRenderbuffers glGenRenderbuffers; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GenTextures(Int32 n, [OutAttribute] UInt32* textures); + internal unsafe static GenTextures glGenTextures; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GenVertexArraysOES(Int32 n, [OutAttribute] UInt32* arrays); + internal unsafe static GenVertexArraysOES glGenVertexArraysOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES20.ActiveAttribType* type, [OutAttribute] StringBuilder name); + internal unsafe static GetActiveAttrib glGetActiveAttrib; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES20.ActiveUniformType* type, [OutAttribute] StringBuilder name); + internal unsafe static GetActiveUniform glGetActiveUniform; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetAttachedShaders(UInt32 program, Int32 maxcount, [OutAttribute] Int32* count, [OutAttribute] UInt32* shaders); + internal unsafe static GetAttachedShaders glGetAttachedShaders; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate int GetAttribLocation(UInt32 program, String name); + internal static GetAttribLocation glGetAttribLocation; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetBooleanv(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] bool* @params); + internal unsafe static GetBooleanv glGetBooleanv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetBufferParameteriv(OpenTK.Graphics.ES20.BufferTarget target, OpenTK.Graphics.ES20.BufferParameterName pname, [OutAttribute] Int32* @params); + internal unsafe static GetBufferParameteriv glGetBufferParameteriv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void GetBufferPointervOES(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, [OutAttribute] IntPtr @params); + internal static GetBufferPointervOES glGetBufferPointervOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetDriverControlsQCOM([OutAttribute] Int32* num, Int32 size, [OutAttribute] UInt32* driverControls); + internal unsafe static GetDriverControlsQCOM glGetDriverControlsQCOM; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetDriverControlStringQCOM(UInt32 driverControl, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder driverControlString); + internal unsafe static GetDriverControlStringQCOM glGetDriverControlStringQCOM; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate OpenTK.Graphics.ES20.ErrorCode GetError(); + internal static GetError glGetError; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetFenceivNV(UInt32 fence, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* @params); + internal unsafe static GetFenceivNV glGetFenceivNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetFloatv(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] Single* @params); + internal unsafe static GetFloatv glGetFloatv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetFramebufferAttachmentParameteriv(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.FramebufferSlot attachment, OpenTK.Graphics.ES20.FramebufferParameterName pname, [OutAttribute] Int32* @params); + internal unsafe static GetFramebufferAttachmentParameteriv glGetFramebufferAttachmentParameteriv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetIntegerv(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] Int32* @params); + internal unsafe static GetIntegerv glGetIntegerv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetPerfMonitorCounterDataAMD(UInt32 monitor, OpenTK.Graphics.ES20.All pname, Int32 dataSize, [OutAttribute] UInt32* data, [OutAttribute] Int32* bytesWritten); + internal unsafe static GetPerfMonitorCounterDataAMD glGetPerfMonitorCounterDataAMD; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void GetPerfMonitorCounterInfoAMD(UInt32 group, UInt32 counter, OpenTK.Graphics.ES20.All pname, [OutAttribute] IntPtr data); + internal static GetPerfMonitorCounterInfoAMD glGetPerfMonitorCounterInfoAMD; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetPerfMonitorCountersAMD(UInt32 group, [OutAttribute] Int32* numCounters, [OutAttribute] Int32* maxActiveCounters, Int32 counterSize, [OutAttribute] UInt32* counters); + internal unsafe static GetPerfMonitorCountersAMD glGetPerfMonitorCountersAMD; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetPerfMonitorCounterStringAMD(UInt32 group, UInt32 counter, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder counterString); + internal unsafe static GetPerfMonitorCounterStringAMD glGetPerfMonitorCounterStringAMD; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetPerfMonitorGroupsAMD([OutAttribute] Int32* numGroups, Int32 groupsSize, [OutAttribute] UInt32* groups); + internal unsafe static GetPerfMonitorGroupsAMD glGetPerfMonitorGroupsAMD; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetPerfMonitorGroupStringAMD(UInt32 group, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder groupString); + internal unsafe static GetPerfMonitorGroupStringAMD glGetPerfMonitorGroupStringAMD; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetProgramBinaryOES(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES20.All* binaryFormat, [OutAttribute] IntPtr binary); + internal unsafe static GetProgramBinaryOES glGetProgramBinaryOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetProgramInfoLog(UInt32 program, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infolog); + internal unsafe static GetProgramInfoLog glGetProgramInfoLog; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetProgramiv(UInt32 program, OpenTK.Graphics.ES20.ProgramParameter pname, [OutAttribute] Int32* @params); + internal unsafe static GetProgramiv glGetProgramiv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetRenderbufferParameteriv(OpenTK.Graphics.ES20.RenderbufferTarget target, OpenTK.Graphics.ES20.RenderbufferParameterName pname, [OutAttribute] Int32* @params); + internal unsafe static GetRenderbufferParameteriv glGetRenderbufferParameteriv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetShaderInfoLog(UInt32 shader, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infolog); + internal unsafe static GetShaderInfoLog glGetShaderInfoLog; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetShaderiv(UInt32 shader, OpenTK.Graphics.ES20.ShaderParameter pname, [OutAttribute] Int32* @params); + internal unsafe static GetShaderiv glGetShaderiv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetShaderPrecisionFormat(OpenTK.Graphics.ES20.ShaderType shadertype, OpenTK.Graphics.ES20.ShaderPrecision precisiontype, [OutAttribute] Int32* range, [OutAttribute] Int32* precision); + internal unsafe static GetShaderPrecisionFormat glGetShaderPrecisionFormat; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetShaderSource(UInt32 shader, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source); + internal unsafe static GetShaderSource glGetShaderSource; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate System.IntPtr GetString(OpenTK.Graphics.ES20.StringName name); + internal unsafe static GetString glGetString; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetTexParameterfv(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.GetTextureParameter pname, [OutAttribute] Single* @params); + internal unsafe static GetTexParameterfv glGetTexParameterfv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetTexParameteriv(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.GetTextureParameter pname, [OutAttribute] Int32* @params); + internal unsafe static GetTexParameteriv glGetTexParameteriv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetUniformfv(UInt32 program, Int32 location, [OutAttribute] Single* @params); + internal unsafe static GetUniformfv glGetUniformfv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetUniformiv(UInt32 program, Int32 location, [OutAttribute] Int32* @params); + internal unsafe static GetUniformiv glGetUniformiv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate int GetUniformLocation(UInt32 program, String name); + internal static GetUniformLocation glGetUniformLocation; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetVertexAttribfv(UInt32 index, OpenTK.Graphics.ES20.VertexAttribParameter pname, [OutAttribute] Single* @params); + internal unsafe static GetVertexAttribfv glGetVertexAttribfv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetVertexAttribiv(UInt32 index, OpenTK.Graphics.ES20.VertexAttribParameter pname, [OutAttribute] Int32* @params); + internal unsafe static GetVertexAttribiv glGetVertexAttribiv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void GetVertexAttribPointerv(UInt32 index, OpenTK.Graphics.ES20.VertexAttribPointerParameter pname, [OutAttribute] IntPtr pointer); + internal static GetVertexAttribPointerv glGetVertexAttribPointerv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Hint(OpenTK.Graphics.ES20.HintTarget target, OpenTK.Graphics.ES20.HintMode mode); + internal static Hint glHint; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate bool IsBuffer(UInt32 buffer); + internal static IsBuffer glIsBuffer; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate bool IsEnabled(OpenTK.Graphics.ES20.EnableCap cap); + internal static IsEnabled glIsEnabled; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate bool IsFenceNV(UInt32 fence); + internal static IsFenceNV glIsFenceNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate bool IsFramebuffer(UInt32 framebuffer); + internal static IsFramebuffer glIsFramebuffer; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate bool IsProgram(UInt32 program); + internal static IsProgram glIsProgram; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate bool IsRenderbuffer(UInt32 renderbuffer); + internal static IsRenderbuffer glIsRenderbuffer; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate bool IsShader(UInt32 shader); + internal static IsShader glIsShader; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate bool IsTexture(UInt32 texture); + internal static IsTexture glIsTexture; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate bool IsVertexArrayOES(UInt32 array); + internal static IsVertexArrayOES glIsVertexArrayOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void LineWidth(Single width); + internal static LineWidth glLineWidth; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void LinkProgram(UInt32 program); + internal static LinkProgram glLinkProgram; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate System.IntPtr MapBufferOES(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All access); + internal unsafe static MapBufferOES glMapBufferOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MultiDrawArraysEXT(OpenTK.Graphics.ES20.All mode, Int32* first, Int32* count, Int32 primcount); + internal unsafe static MultiDrawArraysEXT glMultiDrawArraysEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MultiDrawElementsEXT(OpenTK.Graphics.ES20.All mode, Int32* first, OpenTK.Graphics.ES20.All type, IntPtr indices, Int32 primcount); + internal unsafe static MultiDrawElementsEXT glMultiDrawElementsEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void PixelStorei(OpenTK.Graphics.ES20.PixelStoreParameter pname, Int32 param); + internal static PixelStorei glPixelStorei; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void PolygonOffset(Single factor, Single units); + internal static PolygonOffset glPolygonOffset; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ProgramBinaryOES(UInt32 program, OpenTK.Graphics.ES20.All binaryFormat, IntPtr binary, Int32 length); + internal static ProgramBinaryOES glProgramBinaryOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, IntPtr pixels); + internal static ReadPixels glReadPixels; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ReleaseShaderCompiler(); + internal static ReleaseShaderCompiler glReleaseShaderCompiler; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void RenderbufferStorage(OpenTK.Graphics.ES20.RenderbufferTarget target, OpenTK.Graphics.ES20.RenderbufferInternalFormat internalformat, Int32 width, Int32 height); + internal static RenderbufferStorage glRenderbufferStorage; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void RenderbufferStorageMultisampleANGLE(OpenTK.Graphics.ES20.All target, Int32 samples, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height); + internal static RenderbufferStorageMultisampleANGLE glRenderbufferStorageMultisampleANGLE; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void RenderbufferStorageMultisampleAPPLE(); + internal static RenderbufferStorageMultisampleAPPLE glRenderbufferStorageMultisampleAPPLE; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void RenderbufferStorageMultisampleIMG(); + internal static RenderbufferStorageMultisampleIMG glRenderbufferStorageMultisampleIMG; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ResolveMultisampleFramebufferAPPLE(); + internal static ResolveMultisampleFramebufferAPPLE glResolveMultisampleFramebufferAPPLE; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void SampleCoverage(Single value, bool invert); + internal static SampleCoverage glSampleCoverage; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Scissor(Int32 x, Int32 y, Int32 width, Int32 height); + internal static Scissor glScissor; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void SelectPerfMonitorCountersAMD(UInt32 monitor, bool enable, UInt32 group, Int32 numCounters, UInt32* countersList); + internal unsafe static SelectPerfMonitorCountersAMD glSelectPerfMonitorCountersAMD; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void SetFenceNV(UInt32 fence, OpenTK.Graphics.ES20.All condition); + internal static SetFenceNV glSetFenceNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ShaderBinary(Int32 n, UInt32* shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, IntPtr binary, Int32 length); + internal unsafe static ShaderBinary glShaderBinary; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ShaderSource(UInt32 shader, Int32 count, String[] @string, Int32* length); + internal unsafe static ShaderSource glShaderSource; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void StartTilingQCOM(UInt32 x, UInt32 y, UInt32 width, UInt32 height, UInt32 preserveMask); + internal static StartTilingQCOM glStartTilingQCOM; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void StencilFunc(OpenTK.Graphics.ES20.StencilFunction func, Int32 @ref, UInt32 mask); + internal static StencilFunc glStencilFunc; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void StencilFuncSeparate(OpenTK.Graphics.ES20.CullFaceMode face, OpenTK.Graphics.ES20.StencilFunction func, Int32 @ref, UInt32 mask); + internal static StencilFuncSeparate glStencilFuncSeparate; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void StencilMask(UInt32 mask); + internal static StencilMask glStencilMask; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void StencilMaskSeparate(OpenTK.Graphics.ES20.CullFaceMode face, UInt32 mask); + internal static StencilMaskSeparate glStencilMaskSeparate; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void StencilOp(OpenTK.Graphics.ES20.StencilOp fail, OpenTK.Graphics.ES20.StencilOp zfail, OpenTK.Graphics.ES20.StencilOp zpass); + internal static StencilOp glStencilOp; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void StencilOpSeparate(OpenTK.Graphics.ES20.CullFaceMode face, OpenTK.Graphics.ES20.StencilOp fail, OpenTK.Graphics.ES20.StencilOp zfail, OpenTK.Graphics.ES20.StencilOp zpass); + internal static StencilOpSeparate glStencilOpSeparate; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate bool TestFenceNV(UInt32 fence); + internal static TestFenceNV glTestFenceNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, OpenTK.Graphics.ES20.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, IntPtr pixels); + internal static TexImage2D glTexImage2D; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexImage3DOES(OpenTK.Graphics.ES20.All target, Int32 level, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, IntPtr pixels); + internal static TexImage3DOES glTexImage3DOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexParameterf(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.TextureParameterName pname, Single param); + internal static TexParameterf glTexParameterf; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void TexParameterfv(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.TextureParameterName pname, Single* @params); + internal unsafe static TexParameterfv glTexParameterfv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexParameteri(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.TextureParameterName pname, Int32 param); + internal static TexParameteri glTexParameteri; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void TexParameteriv(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.TextureParameterName pname, Int32* @params); + internal unsafe static TexParameteriv glTexParameteriv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexSubImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, IntPtr pixels); + internal static TexSubImage2D glTexSubImage2D; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexSubImage3DOES(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, IntPtr pixels); + internal static TexSubImage3DOES glTexSubImage3DOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Uniform1f(Int32 location, Single x); + internal static Uniform1f glUniform1f; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Uniform1fv(Int32 location, Int32 count, Single* v); + internal unsafe static Uniform1fv glUniform1fv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Uniform1i(Int32 location, Int32 x); + internal static Uniform1i glUniform1i; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Uniform1iv(Int32 location, Int32 count, Int32* v); + internal unsafe static Uniform1iv glUniform1iv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Uniform2f(Int32 location, Single x, Single y); + internal static Uniform2f glUniform2f; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Uniform2fv(Int32 location, Int32 count, Single* v); + internal unsafe static Uniform2fv glUniform2fv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Uniform2i(Int32 location, Int32 x, Int32 y); + internal static Uniform2i glUniform2i; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Uniform2iv(Int32 location, Int32 count, Int32* v); + internal unsafe static Uniform2iv glUniform2iv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Uniform3f(Int32 location, Single x, Single y, Single z); + internal static Uniform3f glUniform3f; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Uniform3fv(Int32 location, Int32 count, Single* v); + internal unsafe static Uniform3fv glUniform3fv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Uniform3i(Int32 location, Int32 x, Int32 y, Int32 z); + internal static Uniform3i glUniform3i; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Uniform3iv(Int32 location, Int32 count, Int32* v); + internal unsafe static Uniform3iv glUniform3iv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Uniform4f(Int32 location, Single x, Single y, Single z, Single w); + internal static Uniform4f glUniform4f; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Uniform4fv(Int32 location, Int32 count, Single* v); + internal unsafe static Uniform4fv glUniform4fv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Uniform4i(Int32 location, Int32 x, Int32 y, Int32 z, Int32 w); + internal static Uniform4i glUniform4i; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Uniform4iv(Int32 location, Int32 count, Int32* v); + internal unsafe static Uniform4iv glUniform4iv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void UniformMatrix2fv(Int32 location, Int32 count, bool transpose, Single* value); + internal unsafe static UniformMatrix2fv glUniformMatrix2fv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void UniformMatrix3fv(Int32 location, Int32 count, bool transpose, Single* value); + internal unsafe static UniformMatrix3fv glUniformMatrix3fv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void UniformMatrix4fv(Int32 location, Int32 count, bool transpose, Single* value); + internal unsafe static UniformMatrix4fv glUniformMatrix4fv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate bool UnmapBufferOES(OpenTK.Graphics.ES20.All target); + internal static UnmapBufferOES glUnmapBufferOES; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void UseProgram(UInt32 program); + internal static UseProgram glUseProgram; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ValidateProgram(UInt32 program); + internal static ValidateProgram glValidateProgram; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttrib1f(UInt32 indx, Single x); + internal static VertexAttrib1f glVertexAttrib1f; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttrib1fv(UInt32 indx, Single* values); + internal unsafe static VertexAttrib1fv glVertexAttrib1fv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttrib2f(UInt32 indx, Single x, Single y); + internal static VertexAttrib2f glVertexAttrib2f; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttrib2fv(UInt32 indx, Single* values); + internal unsafe static VertexAttrib2fv glVertexAttrib2fv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttrib3f(UInt32 indx, Single x, Single y, Single z); + internal static VertexAttrib3f glVertexAttrib3f; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttrib3fv(UInt32 indx, Single* values); + internal unsafe static VertexAttrib3fv glVertexAttrib3fv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttrib4f(UInt32 indx, Single x, Single y, Single z, Single w); + internal static VertexAttrib4f glVertexAttrib4f; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttrib4fv(UInt32 indx, Single* values); + internal unsafe static VertexAttrib4fv glVertexAttrib4fv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttribPointer(UInt32 indx, Int32 size, OpenTK.Graphics.ES20.VertexAttribPointerType type, bool normalized, Int32 stride, IntPtr ptr); + internal static VertexAttribPointer glVertexAttribPointer; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Viewport(Int32 x, Int32 y, Int32 width, Int32 height); + internal static Viewport glViewport; + } + } +} diff --git a/src/MiniTK/Graphics/ES20/ES.cs b/src/MiniTK/Graphics/ES20/ES.cs new file mode 100644 index 0000000..e2346a0 --- /dev/null +++ b/src/MiniTK/Graphics/ES20/ES.cs @@ -0,0 +1,24782 @@ +#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 + +// flibit added this! +#pragma warning disable 3021 + +namespace OpenTK.Graphics.ES20 +{ + using System; + using System.Text; + using System.Runtime.InteropServices; + #pragma warning disable 3019 + #pragma warning disable 1591 + #pragma warning disable 1572 + #pragma warning disable 1573 + + partial class GL + { + + public static partial class Amd + { + /// [requires: 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glBeginPerfMonitorAMD")] + public static + void BeginPerfMonitor(Int32 monitor) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBeginPerfMonitorAMD((UInt32)monitor); + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glBeginPerfMonitorAMD")] + public static + void BeginPerfMonitor(UInt32 monitor) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBeginPerfMonitorAMD((UInt32)monitor); + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeletePerfMonitorsAMD")] + public static + void DeletePerfMonitors(Int32 n, Int32[] monitors) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* monitors_ptr = monitors) + { + Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeletePerfMonitorsAMD")] + public static + void DeletePerfMonitors(Int32 n, ref Int32 monitors) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* monitors_ptr = &monitors) + { + Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeletePerfMonitorsAMD")] + public static + unsafe void DeletePerfMonitors(Int32 n, Int32* monitors) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors); + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeletePerfMonitorsAMD")] + public static + void DeletePerfMonitors(Int32 n, UInt32[] monitors) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* monitors_ptr = monitors) + { + Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeletePerfMonitorsAMD")] + public static + void DeletePerfMonitors(Int32 n, ref UInt32 monitors) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* monitors_ptr = &monitors) + { + Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeletePerfMonitorsAMD")] + public static + unsafe void DeletePerfMonitors(Int32 n, UInt32* monitors) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors); + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glEndPerfMonitorAMD")] + public static + void EndPerfMonitor(Int32 monitor) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEndPerfMonitorAMD((UInt32)monitor); + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glEndPerfMonitorAMD")] + public static + void EndPerfMonitor(UInt32 monitor) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEndPerfMonitorAMD((UInt32)monitor); + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenPerfMonitorsAMD")] + public static + void GenPerfMonitors(Int32 n, [OutAttribute] Int32[] monitors) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* monitors_ptr = monitors) + { + Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenPerfMonitorsAMD")] + public static + void GenPerfMonitors(Int32 n, [OutAttribute] out Int32 monitors) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* monitors_ptr = &monitors) + { + Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr); + monitors = *monitors_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenPerfMonitorsAMD")] + public static + unsafe void GenPerfMonitors(Int32 n, [OutAttribute] Int32* monitors) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors); + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenPerfMonitorsAMD")] + public static + void GenPerfMonitors(Int32 n, [OutAttribute] 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 + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenPerfMonitorsAMD")] + public static + void GenPerfMonitors(Int32 n, [OutAttribute] out UInt32 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; + } + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenPerfMonitorsAMD")] + public static + unsafe void GenPerfMonitors(Int32 n, [OutAttribute] UInt32* monitors) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors); + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterDataAMD")] + public static + void GetPerfMonitorCounterData(Int32 monitor, OpenTK.Graphics.ES20.All pname, Int32 dataSize, [OutAttribute] Int32[] data, [OutAttribute] Int32[] bytesWritten) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* data_ptr = data) + fixed (Int32* bytesWritten_ptr = bytesWritten) + { + Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.ES20.All)pname, (Int32)dataSize, (UInt32*)data_ptr, (Int32*)bytesWritten_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterDataAMD")] + public static + void GetPerfMonitorCounterData(Int32 monitor, OpenTK.Graphics.ES20.All pname, Int32 dataSize, [OutAttribute] out Int32 data, [OutAttribute] out Int32 bytesWritten) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* data_ptr = &data) + fixed (Int32* bytesWritten_ptr = &bytesWritten) + { + Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.ES20.All)pname, (Int32)dataSize, (UInt32*)data_ptr, (Int32*)bytesWritten_ptr); + data = *data_ptr; + bytesWritten = *bytesWritten_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterDataAMD")] + public static + unsafe void GetPerfMonitorCounterData(Int32 monitor, OpenTK.Graphics.ES20.All pname, Int32 dataSize, [OutAttribute] Int32* data, [OutAttribute] Int32* bytesWritten) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.ES20.All)pname, (Int32)dataSize, (UInt32*)data, (Int32*)bytesWritten); + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterDataAMD")] + public static + void GetPerfMonitorCounterData(UInt32 monitor, OpenTK.Graphics.ES20.All pname, Int32 dataSize, [OutAttribute] UInt32[] data, [OutAttribute] Int32[] bytesWritten) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* data_ptr = data) + fixed (Int32* bytesWritten_ptr = bytesWritten) + { + Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.ES20.All)pname, (Int32)dataSize, (UInt32*)data_ptr, (Int32*)bytesWritten_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterDataAMD")] + public static + void GetPerfMonitorCounterData(UInt32 monitor, OpenTK.Graphics.ES20.All pname, Int32 dataSize, [OutAttribute] out UInt32 data, [OutAttribute] out Int32 bytesWritten) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* data_ptr = &data) + fixed (Int32* bytesWritten_ptr = &bytesWritten) + { + Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.ES20.All)pname, (Int32)dataSize, (UInt32*)data_ptr, (Int32*)bytesWritten_ptr); + data = *data_ptr; + bytesWritten = *bytesWritten_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterDataAMD")] + public static + unsafe void GetPerfMonitorCounterData(UInt32 monitor, OpenTK.Graphics.ES20.All pname, Int32 dataSize, [OutAttribute] UInt32* data, [OutAttribute] Int32* bytesWritten) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.ES20.All)pname, (Int32)dataSize, (UInt32*)data, (Int32*)bytesWritten); + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] + public static + void GetPerfMonitorCounterInfo(Int32 group, Int32 counter, OpenTK.Graphics.ES20.All pname, [OutAttribute] IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.ES20.All)pname, (IntPtr)data); + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] + public static + void GetPerfMonitorCounterInfo(Int32 group, Int32 counter, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] 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.ES20.All)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] + public static + void GetPerfMonitorCounterInfo(Int32 group, Int32 counter, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] 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.ES20.All)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] + public static + void GetPerfMonitorCounterInfo(Int32 group, Int32 counter, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] 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.ES20.All)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] + public static + void GetPerfMonitorCounterInfo(Int32 group, Int32 counter, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] 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.ES20.All)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); + data = (T3)data_ptr.Target; + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] + public static + void GetPerfMonitorCounterInfo(UInt32 group, UInt32 counter, OpenTK.Graphics.ES20.All pname, [OutAttribute] IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.ES20.All)pname, (IntPtr)data); + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] + public static + void GetPerfMonitorCounterInfo(UInt32 group, UInt32 counter, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] 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.ES20.All)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] + public static + void GetPerfMonitorCounterInfo(UInt32 group, UInt32 counter, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] 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.ES20.All)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] + public static + void GetPerfMonitorCounterInfo(UInt32 group, UInt32 counter, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] 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.ES20.All)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] + public static + void GetPerfMonitorCounterInfo(UInt32 group, UInt32 counter, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] 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.ES20.All)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); + data = (T3)data_ptr.Target; + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCountersAMD")] + public static + void GetPerfMonitorCounters(Int32 group, [OutAttribute] Int32[] numCounters, [OutAttribute] Int32[] maxActiveCounters, Int32 counterSize, [OutAttribute] Int32[] counters) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* numCounters_ptr = numCounters) + fixed (Int32* maxActiveCounters_ptr = maxActiveCounters) + fixed (Int32* counters_ptr = counters) + { + Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters_ptr, (Int32*)maxActiveCounters_ptr, (Int32)counterSize, (UInt32*)counters_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCountersAMD")] + public static + void GetPerfMonitorCounters(Int32 group, [OutAttribute] out Int32 numCounters, [OutAttribute] out Int32 maxActiveCounters, Int32 counterSize, [OutAttribute] out Int32 counters) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* numCounters_ptr = &numCounters) + fixed (Int32* maxActiveCounters_ptr = &maxActiveCounters) + fixed (Int32* 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 + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCountersAMD")] + public static + unsafe void GetPerfMonitorCounters(Int32 group, [OutAttribute] Int32* numCounters, [OutAttribute] Int32* maxActiveCounters, Int32 counterSize, [OutAttribute] 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 + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCountersAMD")] + public static + void GetPerfMonitorCounters(UInt32 group, [OutAttribute] Int32[] numCounters, [OutAttribute] Int32[] maxActiveCounters, Int32 counterSize, [OutAttribute] 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); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCountersAMD")] + public static + void GetPerfMonitorCounters(UInt32 group, [OutAttribute] out Int32 numCounters, [OutAttribute] out Int32 maxActiveCounters, Int32 counterSize, [OutAttribute] 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 + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCountersAMD")] + public static + unsafe void GetPerfMonitorCounters(UInt32 group, [OutAttribute] Int32* numCounters, [OutAttribute] Int32* maxActiveCounters, Int32 counterSize, [OutAttribute] UInt32* counters) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters, (Int32*)maxActiveCounters, (Int32)counterSize, (UInt32*)counters); + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterStringAMD")] + public static + void GetPerfMonitorCounterString(Int32 group, Int32 counter, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder counterString) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = length) + { + Delegates.glGetPerfMonitorCounterStringAMD((UInt32)group, (UInt32)counter, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)counterString); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterStringAMD")] + public static + void GetPerfMonitorCounterString(Int32 group, Int32 counter, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder counterString) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + { + Delegates.glGetPerfMonitorCounterStringAMD((UInt32)group, (UInt32)counter, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)counterString); + length = *length_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterStringAMD")] + public static + unsafe void GetPerfMonitorCounterString(Int32 group, Int32 counter, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder counterString) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPerfMonitorCounterStringAMD((UInt32)group, (UInt32)counter, (Int32)bufSize, (Int32*)length, (StringBuilder)counterString); + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterStringAMD")] + public static + void GetPerfMonitorCounterString(UInt32 group, UInt32 counter, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder counterString) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = length) + { + Delegates.glGetPerfMonitorCounterStringAMD((UInt32)group, (UInt32)counter, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)counterString); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterStringAMD")] + public static + void GetPerfMonitorCounterString(UInt32 group, UInt32 counter, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder counterString) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + { + Delegates.glGetPerfMonitorCounterStringAMD((UInt32)group, (UInt32)counter, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)counterString); + length = *length_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterStringAMD")] + public static + unsafe void GetPerfMonitorCounterString(UInt32 group, UInt32 counter, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder counterString) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPerfMonitorCounterStringAMD((UInt32)group, (UInt32)counter, (Int32)bufSize, (Int32*)length, (StringBuilder)counterString); + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorGroupsAMD")] + public static + void GetPerfMonitorGroup([OutAttribute] Int32[] numGroups, Int32 groupsSize, [OutAttribute] Int32[] groups) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* numGroups_ptr = numGroups) + fixed (Int32* groups_ptr = groups) + { + Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups_ptr, (Int32)groupsSize, (UInt32*)groups_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorGroupsAMD")] + public static + void GetPerfMonitorGroup([OutAttribute] Int32[] numGroups, Int32 groupsSize, [OutAttribute] UInt32[] groups) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* numGroups_ptr = numGroups) + fixed (UInt32* groups_ptr = groups) + { + Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups_ptr, (Int32)groupsSize, (UInt32*)groups_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorGroupsAMD")] + public static + void GetPerfMonitorGroup([OutAttribute] out Int32 numGroups, Int32 groupsSize, [OutAttribute] out Int32 groups) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* numGroups_ptr = &numGroups) + fixed (Int32* groups_ptr = &groups) + { + Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups_ptr, (Int32)groupsSize, (UInt32*)groups_ptr); + numGroups = *numGroups_ptr; + groups = *groups_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorGroupsAMD")] + public static + void GetPerfMonitorGroup([OutAttribute] out Int32 numGroups, Int32 groupsSize, [OutAttribute] out UInt32 groups) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* numGroups_ptr = &numGroups) + fixed (UInt32* groups_ptr = &groups) + { + Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups_ptr, (Int32)groupsSize, (UInt32*)groups_ptr); + numGroups = *numGroups_ptr; + groups = *groups_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorGroupsAMD")] + public static + unsafe void GetPerfMonitorGroup([OutAttribute] Int32* numGroups, Int32 groupsSize, [OutAttribute] Int32* groups) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups, (Int32)groupsSize, (UInt32*)groups); + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorGroupsAMD")] + public static + unsafe void GetPerfMonitorGroup([OutAttribute] Int32* numGroups, Int32 groupsSize, [OutAttribute] UInt32* groups) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups, (Int32)groupsSize, (UInt32*)groups); + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorGroupStringAMD")] + public static + void GetPerfMonitorGroupString(Int32 group, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] 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, (StringBuilder)groupString); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorGroupStringAMD")] + public static + void GetPerfMonitorGroupString(Int32 group, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] 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, (StringBuilder)groupString); + length = *length_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorGroupStringAMD")] + public static + unsafe void GetPerfMonitorGroupString(Int32 group, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder groupString) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPerfMonitorGroupStringAMD((UInt32)group, (Int32)bufSize, (Int32*)length, (StringBuilder)groupString); + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorGroupStringAMD")] + public static + void GetPerfMonitorGroupString(UInt32 group, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] 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, (StringBuilder)groupString); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorGroupStringAMD")] + public static + void GetPerfMonitorGroupString(UInt32 group, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] 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, (StringBuilder)groupString); + length = *length_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorGroupStringAMD")] + public static + unsafe void GetPerfMonitorGroupString(UInt32 group, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder groupString) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPerfMonitorGroupStringAMD((UInt32)group, (Int32)bufSize, (Int32*)length, (StringBuilder)groupString); + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glSelectPerfMonitorCountersAMD")] + public static + void SelectPerfMonitorCounters(Int32 monitor, bool enable, Int32 group, Int32 numCounters, Int32[] countersList) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* countersList_ptr = countersList) + { + Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)countersList_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glSelectPerfMonitorCountersAMD")] + public static + void SelectPerfMonitorCounters(Int32 monitor, bool enable, Int32 group, Int32 numCounters, ref Int32 countersList) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* countersList_ptr = &countersList) + { + Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)countersList_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glSelectPerfMonitorCountersAMD")] + public static + unsafe void SelectPerfMonitorCounters(Int32 monitor, bool enable, Int32 group, Int32 numCounters, Int32* countersList) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)countersList); + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glSelectPerfMonitorCountersAMD")] + public static + void SelectPerfMonitorCounters(UInt32 monitor, bool enable, UInt32 group, Int32 numCounters, UInt32[] countersList) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* countersList_ptr = countersList) + { + Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)countersList_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glSelectPerfMonitorCountersAMD")] + public static + void SelectPerfMonitorCounters(UInt32 monitor, bool enable, UInt32 group, Int32 numCounters, ref UInt32 countersList) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* countersList_ptr = &countersList) + { + Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)countersList_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glSelectPerfMonitorCountersAMD")] + public static + unsafe void SelectPerfMonitorCounters(UInt32 monitor, bool enable, UInt32 group, Int32 numCounters, UInt32* countersList) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)countersList); + #if DEBUG + } + #endif + } + + } + + public static partial class Angle + { + + /// [requires: 2.0] + /// Copy a block of pixels from the read framebuffer to the draw framebuffer + /// + /// + /// + /// Specify the bounds of the source rectangle within the read buffer of the read framebuffer. + /// + /// + /// + /// + /// Specify the bounds of the destination rectangle within the write buffer of the write framebuffer. + /// + /// + /// + /// + /// The bitwise OR of the flags indicating which buffers are to be copied. The allowed flags are GL_COLOR_BUFFER_BIT, GL_DEPTH_BUFFER_BIT and GL_STENCIL_BUFFER_BIT. + /// + /// + /// + /// + /// Specifies the interpolation to be applied if the image is stretched. Must be GL_NEAREST or GL_LINEAR. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glBlitFramebufferANGLE")] + public static + void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, Int32 mask, OpenTK.Graphics.ES20.All filter) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBlitFramebufferANGLE((Int32)srcX0, (Int32)srcY0, (Int32)srcX1, (Int32)srcY1, (Int32)dstX0, (Int32)dstY0, (Int32)dstX1, (Int32)dstY1, (UInt32)mask, (OpenTK.Graphics.ES20.All)filter); + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Copy a block of pixels from the read framebuffer to the draw framebuffer + /// + /// + /// + /// Specify the bounds of the source rectangle within the read buffer of the read framebuffer. + /// + /// + /// + /// + /// Specify the bounds of the destination rectangle within the write buffer of the write framebuffer. + /// + /// + /// + /// + /// The bitwise OR of the flags indicating which buffers are to be copied. The allowed flags are GL_COLOR_BUFFER_BIT, GL_DEPTH_BUFFER_BIT and GL_STENCIL_BUFFER_BIT. + /// + /// + /// + /// + /// Specifies the interpolation to be applied if the image is stretched. Must be GL_NEAREST or GL_LINEAR. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glBlitFramebufferANGLE")] + public static + void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, UInt32 mask, OpenTK.Graphics.ES20.All filter) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBlitFramebufferANGLE((Int32)srcX0, (Int32)srcY0, (Int32)srcX1, (Int32)srcY1, (Int32)dstX0, (Int32)dstY0, (Int32)dstX1, (Int32)dstY1, (UInt32)mask, (OpenTK.Graphics.ES20.All)filter); + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Establish data storage, format, dimensions and sample count of a renderbuffer object's image + /// + /// + /// + /// Specifies a binding to which the target of the allocation and must be GL_RENDERBUFFER. + /// + /// + /// + /// + /// Specifies the number of samples to be used for the renderbuffer object's storage. + /// + /// + /// + /// + /// Specifies the internal format to use for the renderbuffer object's image. + /// + /// + /// + /// + /// Specifies the width of the renderbuffer, in pixels. + /// + /// + /// + /// + /// Specifies the height of the renderbuffer, in pixels. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glRenderbufferStorageMultisampleANGLE")] + public static + void RenderbufferStorageMultisample(OpenTK.Graphics.ES20.All target, Int32 samples, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glRenderbufferStorageMultisampleANGLE((OpenTK.Graphics.ES20.All)target, (Int32)samples, (OpenTK.Graphics.ES20.All)internalformat, (Int32)width, (Int32)height); + #if DEBUG + } + #endif + } + + } + + public static partial class Apple + { + + /// [requires: 2.0] + /// Establish data storage, format, dimensions and sample count of a renderbuffer object's image + /// + /// + /// + /// Specifies a binding to which the target of the allocation and must be GL_RENDERBUFFER. + /// + /// + /// + /// + /// Specifies the number of samples to be used for the renderbuffer object's storage. + /// + /// + /// + /// + /// Specifies the internal format to use for the renderbuffer object's image. + /// + /// + /// + /// + /// Specifies the width of the renderbuffer, in pixels. + /// + /// + /// + /// + /// Specifies the height of the renderbuffer, in pixels. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glRenderbufferStorageMultisampleAPPLE")] + public static + void RenderbufferStorageMultisample() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glRenderbufferStorageMultisampleAPPLE(); + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glResolveMultisampleFramebufferAPPLE")] + public static + void ResolveMultisampleFramebuffer() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glResolveMultisampleFramebufferAPPLE(); + #if DEBUG + } + #endif + } + + } + + + /// [requires: v2.0 and 2.0] + /// Select active texture unit + /// + /// + /// + /// 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_TEXTUREi, where i ranges from 0 (GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS - 1). The initial value is GL_TEXTURE0. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glActiveTexture")] + public static + void ActiveTexture(OpenTK.Graphics.ES20.TextureUnit texture) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glActiveTexture((OpenTK.Graphics.ES20.TextureUnit)texture); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Attaches a shader object to a program object + /// + /// + /// + /// Specifies the program object to which a shader object will be attached. + /// + /// + /// + /// + /// Specifies the shader object that is to be attached. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glAttachShader")] + public static + void AttachShader(Int32 program, Int32 shader) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glAttachShader((UInt32)program, (UInt32)shader); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Attaches a shader object to a program object + /// + /// + /// + /// Specifies the program object to which a shader object will be attached. + /// + /// + /// + /// + /// Specifies the shader object that is to be attached. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glAttachShader")] + public static + void AttachShader(UInt32 program, UInt32 shader) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glAttachShader((UInt32)program, (UInt32)shader); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glBindAttribLocation")] + public static + void BindAttribLocation(Int32 program, Int32 index, String name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindAttribLocation((UInt32)program, (UInt32)index, (String)name); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glBindAttribLocation")] + public static + void BindAttribLocation(UInt32 program, UInt32 index, String name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindAttribLocation((UInt32)program, (UInt32)index, (String)name); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Bind a named buffer object + /// + /// + /// + /// Specifies the target to which the buffer object is bound. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER. + /// + /// + /// + /// + /// Specifies the name of a buffer object. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glBindBuffer")] + public static + void BindBuffer(OpenTK.Graphics.ES20.BufferTarget target, Int32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindBuffer((OpenTK.Graphics.ES20.BufferTarget)target, (UInt32)buffer); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Bind a named buffer object + /// + /// + /// + /// Specifies the target to which the buffer object is bound. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER. + /// + /// + /// + /// + /// Specifies the name of a buffer object. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glBindBuffer")] + public static + void BindBuffer(OpenTK.Graphics.ES20.BufferTarget target, UInt32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindBuffer((OpenTK.Graphics.ES20.BufferTarget)target, (UInt32)buffer); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Bind a framebuffer to a framebuffer target + /// + /// + /// + /// Specifies the framebuffer target of the binding operation. + /// + /// + /// + /// + /// Specifies the name of the framebuffer object to bind. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glBindFramebuffer")] + public static + void BindFramebuffer(OpenTK.Graphics.ES20.FramebufferTarget target, Int32 framebuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindFramebuffer((OpenTK.Graphics.ES20.FramebufferTarget)target, (UInt32)framebuffer); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Bind a framebuffer to a framebuffer target + /// + /// + /// + /// Specifies the framebuffer target of the binding operation. + /// + /// + /// + /// + /// Specifies the name of the framebuffer object to bind. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glBindFramebuffer")] + public static + void BindFramebuffer(OpenTK.Graphics.ES20.FramebufferTarget target, UInt32 framebuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindFramebuffer((OpenTK.Graphics.ES20.FramebufferTarget)target, (UInt32)framebuffer); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Bind a renderbuffer to a renderbuffer target + /// + /// + /// + /// Specifies the renderbuffer target of the binding operation. target must be GL_RENDERBUFFER. + /// + /// + /// + /// + /// Specifies the name of the renderbuffer object to bind. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glBindRenderbuffer")] + public static + void BindRenderbuffer(OpenTK.Graphics.ES20.RenderbufferTarget target, Int32 renderbuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindRenderbuffer((OpenTK.Graphics.ES20.RenderbufferTarget)target, (UInt32)renderbuffer); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Bind a renderbuffer to a renderbuffer target + /// + /// + /// + /// Specifies the renderbuffer target of the binding operation. target must be GL_RENDERBUFFER. + /// + /// + /// + /// + /// Specifies the name of the renderbuffer object to bind. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glBindRenderbuffer")] + public static + void BindRenderbuffer(OpenTK.Graphics.ES20.RenderbufferTarget target, UInt32 renderbuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindRenderbuffer((OpenTK.Graphics.ES20.RenderbufferTarget)target, (UInt32)renderbuffer); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Bind a named texture to a texturing target + /// + /// + /// + /// Specifies the target to which the texture is bound. Must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, or GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, GL_TEXTURE_CUBE_MAP, GL_TEXTURE_2D_MULTISAMPLE or GL_TEXTURE_2D_MULTISAMPLE_ARRAY. + /// + /// + /// + /// + /// Specifies the name of a texture. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glBindTexture")] + public static + void BindTexture(OpenTK.Graphics.ES20.TextureTarget target, Int32 texture) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindTexture((OpenTK.Graphics.ES20.TextureTarget)target, (UInt32)texture); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Bind a named texture to a texturing target + /// + /// + /// + /// Specifies the target to which the texture is bound. Must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, or GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, GL_TEXTURE_CUBE_MAP, GL_TEXTURE_2D_MULTISAMPLE or GL_TEXTURE_2D_MULTISAMPLE_ARRAY. + /// + /// + /// + /// + /// Specifies the name of a texture. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glBindTexture")] + public static + void BindTexture(OpenTK.Graphics.ES20.TextureTarget target, UInt32 texture) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindTexture((OpenTK.Graphics.ES20.TextureTarget)target, (UInt32)texture); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Set the blend color + /// + /// + /// + /// specify the components of GL_BLEND_COLOR + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glBlendColor")] + public static + void BlendColor(Single red, Single green, Single blue, Single alpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBlendColor((Single)red, (Single)green, (Single)blue, (Single)alpha); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Specify the equation used for both the RGB blend equation and the Alpha blend equation + /// + /// + /// + /// specifies how source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glBlendEquation")] + public static + void BlendEquation(OpenTK.Graphics.ES20.BlendEquationMode mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBlendEquation((OpenTK.Graphics.ES20.BlendEquationMode)mode); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Set the RGB blend equation and the alpha blend equation separately + /// + /// + /// + /// specifies the RGB blend equation, how the red, green, and blue components of the source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX. + /// + /// + /// + /// + /// specifies the alpha blend equation, how the alpha component of the source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glBlendEquationSeparate")] + public static + void BlendEquationSeparate(OpenTK.Graphics.ES20.BlendEquationMode modeRGB, OpenTK.Graphics.ES20.BlendEquationMode modeAlpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBlendEquationSeparate((OpenTK.Graphics.ES20.BlendEquationMode)modeRGB, (OpenTK.Graphics.ES20.BlendEquationMode)modeAlpha); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Specify pixel arithmetic + /// + /// + /// + /// Specifies how the red, green, blue, and alpha source blending factors are computed. The initial value is GL_ONE. + /// + /// + /// + /// + /// Specifies how the red, green, blue, and alpha destination blending factors are computed. The following symbolic constants are accepted: GL_ZERO, GL_ONE, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_DST_COLOR, GL_ONE_MINUS_DST_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_DST_ALPHA, GL_ONE_MINUS_DST_ALPHA. GL_CONSTANT_COLOR, GL_ONE_MINUS_CONSTANT_COLOR, GL_CONSTANT_ALPHA, and GL_ONE_MINUS_CONSTANT_ALPHA. The initial value is GL_ZERO. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glBlendFunc")] + public static + void BlendFunc(OpenTK.Graphics.ES20.BlendingFactorSrc sfactor, OpenTK.Graphics.ES20.BlendingFactorDest dfactor) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBlendFunc((OpenTK.Graphics.ES20.BlendingFactorSrc)sfactor, (OpenTK.Graphics.ES20.BlendingFactorDest)dfactor); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Specify pixel arithmetic for RGB and alpha components separately + /// + /// + /// + /// Specifies how the red, green, and blue blending factors are computed. The initial value is GL_ONE. + /// + /// + /// + /// + /// Specifies how the red, green, and blue destination blending factors are computed. The initial value is GL_ZERO. + /// + /// + /// + /// + /// Specified how the alpha source blending factor is computed. The initial value is GL_ONE. + /// + /// + /// + /// + /// Specified how the alpha destination blending factor is computed. The initial value is GL_ZERO. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glBlendFuncSeparate")] + public static + void BlendFuncSeparate(OpenTK.Graphics.ES20.BlendingFactorSrc srcRGB, OpenTK.Graphics.ES20.BlendingFactorDest dstRGB, OpenTK.Graphics.ES20.BlendingFactorSrc srcAlpha, OpenTK.Graphics.ES20.BlendingFactorDest dstAlpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBlendFuncSeparate((OpenTK.Graphics.ES20.BlendingFactorSrc)srcRGB, (OpenTK.Graphics.ES20.BlendingFactorDest)dstRGB, (OpenTK.Graphics.ES20.BlendingFactorSrc)srcAlpha, (OpenTK.Graphics.ES20.BlendingFactorDest)dstAlpha); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Creates and initializes a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_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 = "2.0", Version = "2.0", EntryPoint = "glBufferData")] + public static + void BufferData(OpenTK.Graphics.ES20.BufferTarget target, IntPtr size, IntPtr data, OpenTK.Graphics.ES20.BufferUsage usage) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBufferData((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)size, (IntPtr)data, (OpenTK.Graphics.ES20.BufferUsage)usage); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Creates and initializes a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_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 = "2.0", Version = "2.0", EntryPoint = "glBufferData")] + public static + void BufferData(OpenTK.Graphics.ES20.BufferTarget target, IntPtr size, [InAttribute, OutAttribute] T2[] data, OpenTK.Graphics.ES20.BufferUsage usage) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glBufferData((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES20.BufferUsage)usage); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Creates and initializes a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_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 = "2.0", Version = "2.0", EntryPoint = "glBufferData")] + public static + void BufferData(OpenTK.Graphics.ES20.BufferTarget target, IntPtr size, [InAttribute, OutAttribute] T2[,] data, OpenTK.Graphics.ES20.BufferUsage usage) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glBufferData((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES20.BufferUsage)usage); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Creates and initializes a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_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 = "2.0", Version = "2.0", EntryPoint = "glBufferData")] + public static + void BufferData(OpenTK.Graphics.ES20.BufferTarget target, IntPtr size, [InAttribute, OutAttribute] T2[,,] data, OpenTK.Graphics.ES20.BufferUsage usage) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glBufferData((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES20.BufferUsage)usage); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Creates and initializes a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_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 = "2.0", Version = "2.0", EntryPoint = "glBufferData")] + public static + void BufferData(OpenTK.Graphics.ES20.BufferTarget target, IntPtr size, [InAttribute, OutAttribute] ref T2 data, OpenTK.Graphics.ES20.BufferUsage usage) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glBufferData((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES20.BufferUsage)usage); + data = (T2)data_ptr.Target; + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Updates a subset of a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_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 = "2.0", Version = "2.0", EntryPoint = "glBufferSubData")] + public static + void BufferSubData(OpenTK.Graphics.ES20.BufferTarget target, IntPtr offset, IntPtr size, IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBufferSubData((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Updates a subset of a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_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 = "2.0", Version = "2.0", EntryPoint = "glBufferSubData")] + public static + void BufferSubData(OpenTK.Graphics.ES20.BufferTarget target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glBufferSubData((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Updates a subset of a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_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 = "2.0", Version = "2.0", EntryPoint = "glBufferSubData")] + public static + void BufferSubData(OpenTK.Graphics.ES20.BufferTarget target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glBufferSubData((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Updates a subset of a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_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 = "2.0", Version = "2.0", EntryPoint = "glBufferSubData")] + public static + void BufferSubData(OpenTK.Graphics.ES20.BufferTarget target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,,] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glBufferSubData((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Updates a subset of a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_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 = "2.0", Version = "2.0", EntryPoint = "glBufferSubData")] + public static + void BufferSubData(OpenTK.Graphics.ES20.BufferTarget target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] ref T3 data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glBufferSubData((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + data = (T3)data_ptr.Target; + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Check the completeness status of a framebuffer + /// + /// + /// + /// Specify the target of the framebuffer completeness check. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glCheckFramebufferStatus")] + public static + OpenTK.Graphics.ES20.FramebufferErrorCode CheckFramebufferStatus(OpenTK.Graphics.ES20.FramebufferTarget target) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glCheckFramebufferStatus((OpenTK.Graphics.ES20.FramebufferTarget)target); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Clear buffers to preset values + /// + /// + /// + /// Bitwise OR of masks that indicate the buffers to be cleared. The three masks are GL_COLOR_BUFFER_BIT, GL_DEPTH_BUFFER_BIT, and GL_STENCIL_BUFFER_BIT. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glClear")] + public static + void Clear(OpenTK.Graphics.ES20.ClearBufferMask mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glClear((OpenTK.Graphics.ES20.ClearBufferMask)mask); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Specify clear values for the color buffers + /// + /// + /// + /// Specify the red, green, blue, and alpha values used when the color buffers are cleared. The initial values are all 0. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glClearColor")] + public static + void ClearColor(Single red, Single green, Single blue, Single alpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glClearColor((Single)red, (Single)green, (Single)blue, (Single)alpha); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Specify the clear value for the depth buffer + /// + /// + /// + /// Specifies the depth value used when the depth buffer is cleared. The initial value is 1. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glClearDepthf")] + public static + void ClearDepth(Single depth) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glClearDepthf((Single)depth); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Specify the clear value for the stencil buffer + /// + /// + /// + /// Specifies the index used when the stencil buffer is cleared. The initial value is 0. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glClearStencil")] + public static + void ClearStencil(Int32 s) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glClearStencil((Int32)s); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Enable and disable writing of frame buffer color components + /// + /// + /// + /// Specify whether red, green, blue, and alpha can or cannot be written into the frame buffer. The initial values are all GL_TRUE, indicating that the color components can be written. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glColorMask")] + public static + void ColorMask(bool red, bool green, bool blue, bool alpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColorMask((bool)red, (bool)green, (bool)blue, (bool)alpha); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Compiles a shader object + /// + /// + /// + /// Specifies the shader object to be compiled. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glCompileShader")] + public static + void CompileShader(Int32 shader) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompileShader((UInt32)shader); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Compiles a shader object + /// + /// + /// + /// Specifies the shader object to be compiled. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glCompileShader")] + public static + void CompileShader(UInt32 shader) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompileShader((UInt32)shader); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, 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. 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. 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. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// 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 = "2.0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")] + public static + void CompressedTexImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, OpenTK.Graphics.ES20.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES20.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, 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. 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. 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. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// 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 = "2.0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")] + public static + void CompressedTexImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, OpenTK.Graphics.ES20.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[] data) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES20.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, 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. 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. 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. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// 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 = "2.0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")] + public static + void CompressedTexImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, OpenTK.Graphics.ES20.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,] data) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES20.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, 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. 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. 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. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// 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 = "2.0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")] + public static + void CompressedTexImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, OpenTK.Graphics.ES20.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,,] data) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES20.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, 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. 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. 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. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// 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 = "2.0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")] + public static + void CompressedTexImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, OpenTK.Graphics.ES20.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T7 data) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES20.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + data = (T7)data_ptr.Target; + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")] + public static + void CompressedTexSubImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, Int32 imageSize, IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (Int32)imageSize, (IntPtr)data); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")] + public static + void CompressedTexSubImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T8[] data) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")] + public static + void CompressedTexSubImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T8[,] data) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")] + public static + void CompressedTexSubImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T8[,,] data) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")] + public static + void CompressedTexSubImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] ref T8 data) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + data = (T8)data_ptr.Target; + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Copy pixels into a 2D texture image + /// + /// + /// + /// 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 the internal format of the texture. Must be one of the following symbolic constants: GL_COMPRESSED_RED, GL_COMPRESSED_RG, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA. GL_COMPRESSED_SRGB, GL_COMPRESSED_SRGB_ALPHA. GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_RED, GL_RG, GL_RGB, GL_R3_G3_B2, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. + /// + /// + /// + /// + /// Specify the window coordinates of the lower left corner of the rectangular region of pixels to be copied. + /// + /// + /// + /// + /// Specifies the width of the texture image. Must be 0 or 2 sup n + 2 ( border ) for some integer . + /// + /// + /// + /// + /// Specifies the height of the texture image. Must be 0 or 2 sup m + 2 ( border ) for some integer . + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glCopyTexImage2D")] + public static + void CopyTexImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, OpenTK.Graphics.ES20.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCopyTexImage2D((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES20.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Copy a two-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specify the window coordinates of the lower left corner of the rectangular region of pixels to be copied. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glCopyTexSubImage2D")] + public static + void CopyTexSubImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCopyTexSubImage2D((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Creates a program object + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glCreateProgram")] + public static + Int32 CreateProgram() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glCreateProgram(); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Creates a shader object + /// + /// + /// + /// Specifies the type of shader to be created. Must be one of GL_VERTEX_SHADER, GL_TESS_CONTROL_SHADER, GL_TESS_EVALUATION_SHADER, GL_GEOMETRY_SHADER, or GL_FRAGMENT_SHADER. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glCreateShader")] + public static + Int32 CreateShader(OpenTK.Graphics.ES20.ShaderType type) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glCreateShader((OpenTK.Graphics.ES20.ShaderType)type); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Specify whether front- or back-facing facets can be culled + /// + /// + /// + /// Specifies whether front- or back-facing facets are candidates for culling. Symbolic constants GL_FRONT, GL_BACK, and GL_FRONT_AND_BACK are accepted. The initial value is GL_BACK. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glCullFace")] + public static + void CullFace(OpenTK.Graphics.ES20.CullFaceMode mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCullFace((OpenTK.Graphics.ES20.CullFaceMode)mode); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Delete named buffer objects + /// + /// + /// + /// Specifies the number of buffer objects to be deleted. + /// + /// + /// + /// + /// Specifies an array of buffer objects to be deleted. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteBuffers")] + public static + void DeleteBuffers(Int32 n, Int32[] buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* buffers_ptr = buffers) + { + Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Delete named buffer objects + /// + /// + /// + /// Specifies the number of buffer objects to be deleted. + /// + /// + /// + /// + /// Specifies an array of buffer objects to be deleted. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteBuffers")] + public static + void DeleteBuffers(Int32 n, ref Int32 buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* buffers_ptr = &buffers) + { + Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glDeleteBuffers")] + public static + unsafe void DeleteBuffers(Int32 n, Int32* buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glDeleteBuffers")] + public static + void DeleteBuffers(Int32 n, UInt32[] buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* buffers_ptr = buffers) + { + Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glDeleteBuffers")] + public static + void DeleteBuffers(Int32 n, ref UInt32 buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* buffers_ptr = &buffers) + { + Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glDeleteBuffers")] + public static + unsafe void DeleteBuffers(Int32 n, UInt32* buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Delete framebuffer objects + /// + /// + /// + /// Specifies the number of framebuffer objects to be deleted. + /// + /// + /// + /// + /// A pointer to an array containing n framebuffer objects to be deleted. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteFramebuffers")] + public static + void DeleteFramebuffers(Int32 n, Int32[] framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* framebuffers_ptr = framebuffers) + { + Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Delete framebuffer objects + /// + /// + /// + /// Specifies the number of framebuffer objects to be deleted. + /// + /// + /// + /// + /// A pointer to an array containing n framebuffer objects to be deleted. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteFramebuffers")] + public static + void DeleteFramebuffers(Int32 n, ref Int32 framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* framebuffers_ptr = &framebuffers) + { + Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Delete framebuffer objects + /// + /// + /// + /// Specifies the number of framebuffer objects to be deleted. + /// + /// + /// + /// + /// A pointer to an array containing n framebuffer objects to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteFramebuffers")] + public static + unsafe void DeleteFramebuffers(Int32 n, Int32* framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Delete framebuffer objects + /// + /// + /// + /// Specifies the number of framebuffer objects to be deleted. + /// + /// + /// + /// + /// A pointer to an array containing n framebuffer objects to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteFramebuffers")] + public static + void DeleteFramebuffers(Int32 n, UInt32[] framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* framebuffers_ptr = framebuffers) + { + Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Delete framebuffer objects + /// + /// + /// + /// Specifies the number of framebuffer objects to be deleted. + /// + /// + /// + /// + /// A pointer to an array containing n framebuffer objects to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteFramebuffers")] + public static + void DeleteFramebuffers(Int32 n, ref UInt32 framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* framebuffers_ptr = &framebuffers) + { + Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Delete framebuffer objects + /// + /// + /// + /// Specifies the number of framebuffer objects to be deleted. + /// + /// + /// + /// + /// A pointer to an array containing n framebuffer objects to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteFramebuffers")] + public static + unsafe void DeleteFramebuffers(Int32 n, UInt32* framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Deletes a program object + /// + /// + /// + /// Specifies the program object to be deleted. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteProgram")] + public static + void DeleteProgram(Int32 program) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteProgram((UInt32)program); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Deletes a program object + /// + /// + /// + /// Specifies the program object to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteProgram")] + public static + void DeleteProgram(UInt32 program) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteProgram((UInt32)program); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Delete renderbuffer objects + /// + /// + /// + /// Specifies the number of renderbuffer objects to be deleted. + /// + /// + /// + /// + /// A pointer to an array containing n renderbuffer objects to be deleted. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteRenderbuffers")] + public static + void DeleteRenderbuffers(Int32 n, Int32[] renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* renderbuffers_ptr = renderbuffers) + { + Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Delete renderbuffer objects + /// + /// + /// + /// Specifies the number of renderbuffer objects to be deleted. + /// + /// + /// + /// + /// A pointer to an array containing n renderbuffer objects to be deleted. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteRenderbuffers")] + public static + void DeleteRenderbuffers(Int32 n, ref Int32 renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* renderbuffers_ptr = &renderbuffers) + { + Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Delete renderbuffer objects + /// + /// + /// + /// Specifies the number of renderbuffer objects to be deleted. + /// + /// + /// + /// + /// A pointer to an array containing n renderbuffer objects to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteRenderbuffers")] + public static + unsafe void DeleteRenderbuffers(Int32 n, Int32* renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Delete renderbuffer objects + /// + /// + /// + /// Specifies the number of renderbuffer objects to be deleted. + /// + /// + /// + /// + /// A pointer to an array containing n renderbuffer objects to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteRenderbuffers")] + public static + void DeleteRenderbuffers(Int32 n, UInt32[] renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* renderbuffers_ptr = renderbuffers) + { + Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Delete renderbuffer objects + /// + /// + /// + /// Specifies the number of renderbuffer objects to be deleted. + /// + /// + /// + /// + /// A pointer to an array containing n renderbuffer objects to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteRenderbuffers")] + public static + void DeleteRenderbuffers(Int32 n, ref UInt32 renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* renderbuffers_ptr = &renderbuffers) + { + Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Delete renderbuffer objects + /// + /// + /// + /// Specifies the number of renderbuffer objects to be deleted. + /// + /// + /// + /// + /// A pointer to an array containing n renderbuffer objects to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteRenderbuffers")] + public static + unsafe void DeleteRenderbuffers(Int32 n, UInt32* renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Deletes a shader object + /// + /// + /// + /// Specifies the shader object to be deleted. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteShader")] + public static + void DeleteShader(Int32 shader) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteShader((UInt32)shader); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Deletes a shader object + /// + /// + /// + /// Specifies the shader object to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteShader")] + public static + void DeleteShader(UInt32 shader) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteShader((UInt32)shader); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Delete named textures + /// + /// + /// + /// Specifies the number of textures to be deleted. + /// + /// + /// + /// + /// Specifies an array of textures to be deleted. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteTextures")] + public static + void DeleteTextures(Int32 n, Int32[] textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* textures_ptr = textures) + { + Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Delete named textures + /// + /// + /// + /// Specifies the number of textures to be deleted. + /// + /// + /// + /// + /// Specifies an array of textures to be deleted. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteTextures")] + public static + void DeleteTextures(Int32 n, ref Int32 textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* textures_ptr = &textures) + { + Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Delete named textures + /// + /// + /// + /// Specifies the number of textures to be deleted. + /// + /// + /// + /// + /// Specifies an array of textures to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteTextures")] + public static + unsafe void DeleteTextures(Int32 n, Int32* textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteTextures((Int32)n, (UInt32*)textures); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Delete named textures + /// + /// + /// + /// Specifies the number of textures to be deleted. + /// + /// + /// + /// + /// Specifies an array of textures to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteTextures")] + public static + void DeleteTextures(Int32 n, UInt32[] textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* textures_ptr = textures) + { + Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Delete named textures + /// + /// + /// + /// Specifies the number of textures to be deleted. + /// + /// + /// + /// + /// Specifies an array of textures to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteTextures")] + public static + void DeleteTextures(Int32 n, ref UInt32 textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* textures_ptr = &textures) + { + Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Delete named textures + /// + /// + /// + /// Specifies the number of textures to be deleted. + /// + /// + /// + /// + /// Specifies an array of textures to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteTextures")] + public static + unsafe void DeleteTextures(Int32 n, UInt32* textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteTextures((Int32)n, (UInt32*)textures); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Specify the value used for depth buffer comparisons + /// + /// + /// + /// Specifies the depth comparison function. Symbolic constants GL_NEVER, GL_LESS, GL_EQUAL, GL_LEQUAL, GL_GREATER, GL_NOTEQUAL, GL_GEQUAL, and GL_ALWAYS are accepted. The initial value is GL_LESS. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDepthFunc")] + public static + void DepthFunc(OpenTK.Graphics.ES20.DepthFunction func) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDepthFunc((OpenTK.Graphics.ES20.DepthFunction)func); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Enable or disable writing into the depth buffer + /// + /// + /// + /// Specifies whether the depth buffer is enabled for writing. If flag is GL_FALSE, depth buffer writing is disabled. Otherwise, it is enabled. Initially, depth buffer writing is enabled. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDepthMask")] + public static + void DepthMask(bool flag) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDepthMask((bool)flag); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Specify mapping of depth values from normalized device coordinates to window coordinates + /// + /// + /// + /// Specifies the mapping of the near clipping plane to window coordinates. The initial value is 0. + /// + /// + /// + /// + /// Specifies the mapping of the far clipping plane to window coordinates. The initial value is 1. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDepthRangef")] + public static + void DepthRange(Single zNear, Single zFar) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDepthRangef((Single)zNear, (Single)zFar); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Detaches a shader object from a program object to which it is attached + /// + /// + /// + /// Specifies the program object from which to detach the shader object. + /// + /// + /// + /// + /// Specifies the shader object to be detached. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDetachShader")] + public static + void DetachShader(Int32 program, Int32 shader) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDetachShader((UInt32)program, (UInt32)shader); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Detaches a shader object from a program object to which it is attached + /// + /// + /// + /// Specifies the program object from which to detach the shader object. + /// + /// + /// + /// + /// Specifies the shader object to be detached. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDetachShader")] + public static + void DetachShader(UInt32 program, UInt32 shader) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDetachShader((UInt32)program, (UInt32)shader); + #if DEBUG + } + #endif + } + + /// [requires: v2.0 and 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDisable")] + public static + void Disable(OpenTK.Graphics.ES20.EnableCap cap) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDisable((OpenTK.Graphics.ES20.EnableCap)cap); + #if DEBUG + } + #endif + } + + /// [requires: v2.0 and 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDisableVertexAttribArray")] + public static + void DisableVertexAttribArray(Int32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDisableVertexAttribArray((UInt32)index); + #if DEBUG + } + #endif + } + + /// [requires: v2.0 and 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDisableVertexAttribArray")] + public static + void DisableVertexAttribArray(UInt32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDisableVertexAttribArray((UInt32)index); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the starting index in the enabled arrays. + /// + /// + /// + /// + /// Specifies the number of indices to be rendered. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDrawArrays")] + public static + void DrawArrays(OpenTK.Graphics.ES20.BeginMode mode, Int32 first, Int32 count) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawArrays((OpenTK.Graphics.ES20.BeginMode)mode, (Int32)first, (Int32)count); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDrawElements")] + public static + void DrawElements(OpenTK.Graphics.ES20.BeginMode mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, IntPtr indices) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawElements((OpenTK.Graphics.ES20.BeginMode)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDrawElements")] + public static + void DrawElements(OpenTK.Graphics.ES20.BeginMode mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawElements((OpenTK.Graphics.ES20.BeginMode)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDrawElements")] + public static + void DrawElements(OpenTK.Graphics.ES20.BeginMode mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawElements((OpenTK.Graphics.ES20.BeginMode)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDrawElements")] + public static + void DrawElements(OpenTK.Graphics.ES20.BeginMode mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawElements((OpenTK.Graphics.ES20.BeginMode)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDrawElements")] + public static + void DrawElements(OpenTK.Graphics.ES20.BeginMode mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawElements((OpenTK.Graphics.ES20.BeginMode)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + indices = (T3)indices_ptr.Target; + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Enable or disable server-side GL capabilities + /// + /// + /// + /// Specifies a symbolic constant indicating a GL capability. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glEnable")] + public static + void Enable(OpenTK.Graphics.ES20.EnableCap cap) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEnable((OpenTK.Graphics.ES20.EnableCap)cap); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Enable or disable a generic vertex attribute array + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be enabled or disabled. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glEnableVertexAttribArray")] + public static + void EnableVertexAttribArray(Int32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEnableVertexAttribArray((UInt32)index); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Enable or disable a generic vertex attribute array + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be enabled or disabled. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glEnableVertexAttribArray")] + public static + void EnableVertexAttribArray(UInt32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEnableVertexAttribArray((UInt32)index); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Block until all GL execution is complete + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glFinish")] + public static + void Finish() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFinish(); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Force execution of GL commands in finite time + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glFlush")] + public static + void Flush() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFlush(); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Attach a renderbuffer as a logical buffer to the currently bound framebuffer object + /// + /// + /// + /// Specifies the framebuffer target. target must be GL_DRAW_FRAMEBUFFER, GL_READ_FRAMEBUFFER, or GL_FRAMEBUFFER. GL_FRAMEBUFFER is equivalent to GL_DRAW_FRAMEBUFFER. + /// + /// + /// + /// + /// Specifies the attachment point of the framebuffer. + /// + /// + /// + /// + /// Specifies the renderbuffer target and must be GL_RENDERBUFFER. + /// + /// + /// + /// + /// Specifies the name of an existing renderbuffer object of type renderbuffertarget to attach. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glFramebufferRenderbuffer")] + public static + void FramebufferRenderbuffer(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.FramebufferSlot attachment, OpenTK.Graphics.ES20.RenderbufferTarget renderbuffertarget, Int32 renderbuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferRenderbuffer((OpenTK.Graphics.ES20.FramebufferTarget)target, (OpenTK.Graphics.ES20.FramebufferSlot)attachment, (OpenTK.Graphics.ES20.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Attach a renderbuffer as a logical buffer to the currently bound framebuffer object + /// + /// + /// + /// Specifies the framebuffer target. target must be GL_DRAW_FRAMEBUFFER, GL_READ_FRAMEBUFFER, or GL_FRAMEBUFFER. GL_FRAMEBUFFER is equivalent to GL_DRAW_FRAMEBUFFER. + /// + /// + /// + /// + /// Specifies the attachment point of the framebuffer. + /// + /// + /// + /// + /// Specifies the renderbuffer target and must be GL_RENDERBUFFER. + /// + /// + /// + /// + /// Specifies the name of an existing renderbuffer object of type renderbuffertarget to attach. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glFramebufferRenderbuffer")] + public static + void FramebufferRenderbuffer(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.FramebufferSlot attachment, OpenTK.Graphics.ES20.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferRenderbuffer((OpenTK.Graphics.ES20.FramebufferTarget)target, (OpenTK.Graphics.ES20.FramebufferSlot)attachment, (OpenTK.Graphics.ES20.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer); + #if DEBUG + } + #endif + } + + /// [requires: v2.0 and 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glFramebufferTexture2D")] + public static + void FramebufferTexture2D(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.FramebufferSlot attachment, OpenTK.Graphics.ES20.TextureTarget textarget, Int32 texture, Int32 level) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferTexture2D((OpenTK.Graphics.ES20.FramebufferTarget)target, (OpenTK.Graphics.ES20.FramebufferSlot)attachment, (OpenTK.Graphics.ES20.TextureTarget)textarget, (UInt32)texture, (Int32)level); + #if DEBUG + } + #endif + } + + /// [requires: v2.0 and 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glFramebufferTexture2D")] + public static + void FramebufferTexture2D(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.FramebufferSlot attachment, OpenTK.Graphics.ES20.TextureTarget textarget, UInt32 texture, Int32 level) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferTexture2D((OpenTK.Graphics.ES20.FramebufferTarget)target, (OpenTK.Graphics.ES20.FramebufferSlot)attachment, (OpenTK.Graphics.ES20.TextureTarget)textarget, (UInt32)texture, (Int32)level); + #if DEBUG + } + #endif + } + + /// [requires: v2.0 and 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glFramebufferTexture2DMultisampleIMG")] + public static + void FramebufferTexture2DMultisampleIMG() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferTexture2DMultisampleIMG(); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Define front- and back-facing polygons + /// + /// + /// + /// Specifies the orientation of front-facing polygons. GL_CW and GL_CCW are accepted. The initial value is GL_CCW. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glFrontFace")] + public static + void FrontFace(OpenTK.Graphics.ES20.FrontFaceDirection mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFrontFace((OpenTK.Graphics.ES20.FrontFaceDirection)mode); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glGenBuffers")] + public static + void GenBuffers(Int32 n, [OutAttribute] Int32[] buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* buffers_ptr = buffers) + { + Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glGenBuffers")] + public static + void GenBuffers(Int32 n, [OutAttribute] out Int32 buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* buffers_ptr = &buffers) + { + Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr); + buffers = *buffers_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glGenBuffers")] + public static + unsafe void GenBuffers(Int32 n, [OutAttribute] Int32* buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenBuffers((Int32)n, (UInt32*)buffers); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glGenBuffers")] + public static + void GenBuffers(Int32 n, [OutAttribute] UInt32[] buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* buffers_ptr = buffers) + { + Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glGenBuffers")] + public static + void GenBuffers(Int32 n, [OutAttribute] out UInt32 buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* buffers_ptr = &buffers) + { + Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr); + buffers = *buffers_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glGenBuffers")] + public static + unsafe void GenBuffers(Int32 n, [OutAttribute] UInt32* buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenBuffers((Int32)n, (UInt32*)buffers); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Generate mipmaps for a specified texture target + /// + /// + /// + /// Specifies the target to which the texture whose mimaps to generate is bound. target must be GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY or GL_TEXTURE_CUBE_MAP. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenerateMipmap")] + public static + void GenerateMipmap(OpenTK.Graphics.ES20.TextureTarget target) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenerateMipmap((OpenTK.Graphics.ES20.TextureTarget)target); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Generate framebuffer object names + /// + /// + /// + /// Specifies the number of framebuffer object names to generate. + /// + /// + /// + /// + /// Specifies an array in which the generated framebuffer object names are stored. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenFramebuffers")] + public static + void GenFramebuffers(Int32 n, [OutAttribute] Int32[] framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* framebuffers_ptr = framebuffers) + { + Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Generate framebuffer object names + /// + /// + /// + /// Specifies the number of framebuffer object names to generate. + /// + /// + /// + /// + /// Specifies an array in which the generated framebuffer object names are stored. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenFramebuffers")] + public static + void GenFramebuffers(Int32 n, [OutAttribute] out Int32 framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* framebuffers_ptr = &framebuffers) + { + Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); + framebuffers = *framebuffers_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Generate framebuffer object names + /// + /// + /// + /// Specifies the number of framebuffer object names to generate. + /// + /// + /// + /// + /// Specifies an array in which the generated framebuffer object names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenFramebuffers")] + public static + unsafe void GenFramebuffers(Int32 n, [OutAttribute] Int32* framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Generate framebuffer object names + /// + /// + /// + /// Specifies the number of framebuffer object names to generate. + /// + /// + /// + /// + /// Specifies an array in which the generated framebuffer object names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenFramebuffers")] + public static + void GenFramebuffers(Int32 n, [OutAttribute] UInt32[] framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* framebuffers_ptr = framebuffers) + { + Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Generate framebuffer object names + /// + /// + /// + /// Specifies the number of framebuffer object names to generate. + /// + /// + /// + /// + /// Specifies an array in which the generated framebuffer object names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenFramebuffers")] + public static + void GenFramebuffers(Int32 n, [OutAttribute] out UInt32 framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* framebuffers_ptr = &framebuffers) + { + Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); + framebuffers = *framebuffers_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Generate framebuffer object names + /// + /// + /// + /// Specifies the number of framebuffer object names to generate. + /// + /// + /// + /// + /// Specifies an array in which the generated framebuffer object names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenFramebuffers")] + public static + unsafe void GenFramebuffers(Int32 n, [OutAttribute] UInt32* framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Generate renderbuffer object names + /// + /// + /// + /// Specifies the number of renderbuffer object names to generate. + /// + /// + /// + /// + /// Specifies an array in which the generated renderbuffer object names are stored. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenRenderbuffers")] + public static + void GenRenderbuffers(Int32 n, [OutAttribute] Int32[] renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* renderbuffers_ptr = renderbuffers) + { + Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Generate renderbuffer object names + /// + /// + /// + /// Specifies the number of renderbuffer object names to generate. + /// + /// + /// + /// + /// Specifies an array in which the generated renderbuffer object names are stored. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenRenderbuffers")] + public static + void GenRenderbuffers(Int32 n, [OutAttribute] out Int32 renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* renderbuffers_ptr = &renderbuffers) + { + Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); + renderbuffers = *renderbuffers_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Generate renderbuffer object names + /// + /// + /// + /// Specifies the number of renderbuffer object names to generate. + /// + /// + /// + /// + /// Specifies an array in which the generated renderbuffer object names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenRenderbuffers")] + public static + unsafe void GenRenderbuffers(Int32 n, [OutAttribute] Int32* renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Generate renderbuffer object names + /// + /// + /// + /// Specifies the number of renderbuffer object names to generate. + /// + /// + /// + /// + /// Specifies an array in which the generated renderbuffer object names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenRenderbuffers")] + public static + void GenRenderbuffers(Int32 n, [OutAttribute] UInt32[] renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* renderbuffers_ptr = renderbuffers) + { + Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Generate renderbuffer object names + /// + /// + /// + /// Specifies the number of renderbuffer object names to generate. + /// + /// + /// + /// + /// Specifies an array in which the generated renderbuffer object names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenRenderbuffers")] + public static + void GenRenderbuffers(Int32 n, [OutAttribute] out UInt32 renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* renderbuffers_ptr = &renderbuffers) + { + Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); + renderbuffers = *renderbuffers_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Generate renderbuffer object names + /// + /// + /// + /// Specifies the number of renderbuffer object names to generate. + /// + /// + /// + /// + /// Specifies an array in which the generated renderbuffer object names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenRenderbuffers")] + public static + unsafe void GenRenderbuffers(Int32 n, [OutAttribute] UInt32* renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Generate texture names + /// + /// + /// + /// Specifies the number of texture names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated texture names are stored. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenTextures")] + public static + void GenTextures(Int32 n, [OutAttribute] Int32[] textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* textures_ptr = textures) + { + Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Generate texture names + /// + /// + /// + /// Specifies the number of texture names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated texture names are stored. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenTextures")] + public static + void GenTextures(Int32 n, [OutAttribute] out Int32 textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* textures_ptr = &textures) + { + Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr); + textures = *textures_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Generate texture names + /// + /// + /// + /// Specifies the number of texture names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated texture names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenTextures")] + public static + unsafe void GenTextures(Int32 n, [OutAttribute] Int32* textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenTextures((Int32)n, (UInt32*)textures); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Generate texture names + /// + /// + /// + /// Specifies the number of texture names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated texture names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenTextures")] + public static + void GenTextures(Int32 n, [OutAttribute] UInt32[] textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* textures_ptr = textures) + { + Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Generate texture names + /// + /// + /// + /// Specifies the number of texture names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated texture names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenTextures")] + public static + void GenTextures(Int32 n, [OutAttribute] out UInt32 textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* textures_ptr = &textures) + { + Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr); + textures = *textures_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Generate texture names + /// + /// + /// + /// Specifies the number of texture names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated texture names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenTextures")] + public static + unsafe void GenTextures(Int32 n, [OutAttribute] UInt32* textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenTextures((Int32)n, (UInt32*)textures); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glGetActiveAttrib")] + public static + void GetActiveAttrib(Int32 program, Int32 index, Int32 bufsize, [OutAttribute] Int32[] length, [OutAttribute] Int32[] size, [OutAttribute] OpenTK.Graphics.ES20.ActiveAttribType[] type, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = length) + fixed (Int32* size_ptr = size) + fixed (OpenTK.Graphics.ES20.ActiveAttribType* type_ptr = type) + { + Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufsize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ES20.ActiveAttribType*)type_ptr, (StringBuilder)name); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glGetActiveAttrib")] + public static + void GetActiveAttrib(Int32 program, Int32 index, Int32 bufsize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.ES20.ActiveAttribType type, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + fixed (Int32* size_ptr = &size) + fixed (OpenTK.Graphics.ES20.ActiveAttribType* type_ptr = &type) + { + Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufsize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ES20.ActiveAttribType*)type_ptr, (StringBuilder)name); + length = *length_ptr; + size = *size_ptr; + type = *type_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glGetActiveAttrib")] + public static + unsafe void GetActiveAttrib(Int32 program, Int32 index, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES20.ActiveAttribType* type, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufsize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ES20.ActiveAttribType*)type, (StringBuilder)name); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glGetActiveAttrib")] + public static + void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufsize, [OutAttribute] Int32[] length, [OutAttribute] Int32[] size, [OutAttribute] OpenTK.Graphics.ES20.ActiveAttribType[] type, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = length) + fixed (Int32* size_ptr = size) + fixed (OpenTK.Graphics.ES20.ActiveAttribType* type_ptr = type) + { + Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufsize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ES20.ActiveAttribType*)type_ptr, (StringBuilder)name); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glGetActiveAttrib")] + public static + void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufsize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.ES20.ActiveAttribType type, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + fixed (Int32* size_ptr = &size) + fixed (OpenTK.Graphics.ES20.ActiveAttribType* type_ptr = &type) + { + Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufsize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ES20.ActiveAttribType*)type_ptr, (StringBuilder)name); + length = *length_ptr; + size = *size_ptr; + type = *type_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glGetActiveAttrib")] + public static + unsafe void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES20.ActiveAttribType* type, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufsize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ES20.ActiveAttribType*)type, (StringBuilder)name); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glGetActiveUniform")] + public static + void GetActiveUniform(Int32 program, Int32 index, Int32 bufsize, [OutAttribute] Int32[] length, [OutAttribute] Int32[] size, [OutAttribute] OpenTK.Graphics.ES20.ActiveUniformType[] type, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = length) + fixed (Int32* size_ptr = size) + fixed (OpenTK.Graphics.ES20.ActiveUniformType* type_ptr = type) + { + Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufsize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ES20.ActiveUniformType*)type_ptr, (StringBuilder)name); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glGetActiveUniform")] + public static + void GetActiveUniform(Int32 program, Int32 index, Int32 bufsize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.ES20.ActiveUniformType type, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + fixed (Int32* size_ptr = &size) + fixed (OpenTK.Graphics.ES20.ActiveUniformType* type_ptr = &type) + { + Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufsize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ES20.ActiveUniformType*)type_ptr, (StringBuilder)name); + length = *length_ptr; + size = *size_ptr; + type = *type_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glGetActiveUniform")] + public static + unsafe void GetActiveUniform(Int32 program, Int32 index, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES20.ActiveUniformType* type, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufsize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ES20.ActiveUniformType*)type, (StringBuilder)name); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glGetActiveUniform")] + public static + void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufsize, [OutAttribute] Int32[] length, [OutAttribute] Int32[] size, [OutAttribute] OpenTK.Graphics.ES20.ActiveUniformType[] type, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = length) + fixed (Int32* size_ptr = size) + fixed (OpenTK.Graphics.ES20.ActiveUniformType* type_ptr = type) + { + Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufsize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ES20.ActiveUniformType*)type_ptr, (StringBuilder)name); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glGetActiveUniform")] + public static + void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufsize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.ES20.ActiveUniformType type, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + fixed (Int32* size_ptr = &size) + fixed (OpenTK.Graphics.ES20.ActiveUniformType* type_ptr = &type) + { + Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufsize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ES20.ActiveUniformType*)type_ptr, (StringBuilder)name); + length = *length_ptr; + size = *size_ptr; + type = *type_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glGetActiveUniform")] + public static + unsafe void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES20.ActiveUniformType* type, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufsize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ES20.ActiveUniformType*)type, (StringBuilder)name); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Returns the handles of the shader objects attached to a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the size of the array for storing the returned object names. + /// + /// + /// + /// + /// Returns the number of names actually returned in objects. + /// + /// + /// + /// + /// Specifies an array that is used to return the names of attached shader objects. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetAttachedShaders")] + public static + void GetAttachedShaders(Int32 program, Int32 maxcount, [OutAttribute] Int32[] count, [OutAttribute] Int32[] shaders) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = count) + fixed (Int32* shaders_ptr = shaders) + { + Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxcount, (Int32*)count_ptr, (UInt32*)shaders_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Returns the handles of the shader objects attached to a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the size of the array for storing the returned object names. + /// + /// + /// + /// + /// Returns the number of names actually returned in objects. + /// + /// + /// + /// + /// Specifies an array that is used to return the names of attached shader objects. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetAttachedShaders")] + public static + void GetAttachedShaders(Int32 program, Int32 maxcount, [OutAttribute] out Int32 count, [OutAttribute] out Int32 shaders) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = &count) + fixed (Int32* shaders_ptr = &shaders) + { + Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxcount, (Int32*)count_ptr, (UInt32*)shaders_ptr); + count = *count_ptr; + shaders = *shaders_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Returns the handles of the shader objects attached to a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the size of the array for storing the returned object names. + /// + /// + /// + /// + /// Returns the number of names actually returned in objects. + /// + /// + /// + /// + /// Specifies an array that is used to return the names of attached shader objects. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetAttachedShaders")] + public static + unsafe void GetAttachedShaders(Int32 program, Int32 maxcount, [OutAttribute] Int32* count, [OutAttribute] Int32* shaders) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxcount, (Int32*)count, (UInt32*)shaders); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Returns the handles of the shader objects attached to a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the size of the array for storing the returned object names. + /// + /// + /// + /// + /// Returns the number of names actually returned in objects. + /// + /// + /// + /// + /// Specifies an array that is used to return the names of attached shader objects. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetAttachedShaders")] + public static + void GetAttachedShaders(UInt32 program, Int32 maxcount, [OutAttribute] Int32[] count, [OutAttribute] UInt32[] shaders) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = count) + fixed (UInt32* shaders_ptr = shaders) + { + Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxcount, (Int32*)count_ptr, (UInt32*)shaders_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Returns the handles of the shader objects attached to a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the size of the array for storing the returned object names. + /// + /// + /// + /// + /// Returns the number of names actually returned in objects. + /// + /// + /// + /// + /// Specifies an array that is used to return the names of attached shader objects. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetAttachedShaders")] + public static + void GetAttachedShaders(UInt32 program, Int32 maxcount, [OutAttribute] out Int32 count, [OutAttribute] out UInt32 shaders) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = &count) + fixed (UInt32* shaders_ptr = &shaders) + { + Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxcount, (Int32*)count_ptr, (UInt32*)shaders_ptr); + count = *count_ptr; + shaders = *shaders_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Returns the handles of the shader objects attached to a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the size of the array for storing the returned object names. + /// + /// + /// + /// + /// Returns the number of names actually returned in objects. + /// + /// + /// + /// + /// Specifies an array that is used to return the names of attached shader objects. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetAttachedShaders")] + public static + unsafe void GetAttachedShaders(UInt32 program, Int32 maxcount, [OutAttribute] Int32* count, [OutAttribute] UInt32* shaders) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxcount, (Int32*)count, (UInt32*)shaders); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Returns the location of an attribute variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Points to a null terminated string containing the name of the attribute variable whose location is to be queried. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetAttribLocation")] + public static + int GetAttribLocation(Int32 program, String name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glGetAttribLocation((UInt32)program, (String)name); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Returns the location of an attribute variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Points to a null terminated string containing the name of the attribute variable whose location is to be queried. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetAttribLocation")] + public static + int GetAttribLocation(UInt32 program, String name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glGetAttribLocation((UInt32)program, (String)name); + #if DEBUG + } + #endif + } + + /// [requires: v2.0 and 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetBooleanv")] + public static + void GetBoolean(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] bool[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (bool* @params_ptr = @params) + { + Delegates.glGetBooleanv((OpenTK.Graphics.ES20.GetPName)pname, (bool*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v2.0 and 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetBooleanv")] + public static + void GetBoolean(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] out bool @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (bool* @params_ptr = &@params) + { + Delegates.glGetBooleanv((OpenTK.Graphics.ES20.GetPName)pname, (bool*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: v2.0 and 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetBooleanv")] + public static + unsafe void GetBoolean(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] bool* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetBooleanv((OpenTK.Graphics.ES20.GetPName)pname, (bool*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Return parameters of a buffer object + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the symbolic name of a buffer object parameter. Accepted values are GL_BUFFER_ACCESS, GL_BUFFER_MAPPED, GL_BUFFER_SIZE, or GL_BUFFER_USAGE. + /// + /// + /// + /// + /// Returns the requested parameter. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetBufferParameteriv")] + public static + void GetBufferParameter(OpenTK.Graphics.ES20.BufferTarget target, OpenTK.Graphics.ES20.BufferParameterName pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetBufferParameteriv((OpenTK.Graphics.ES20.BufferTarget)target, (OpenTK.Graphics.ES20.BufferParameterName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Return parameters of a buffer object + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the symbolic name of a buffer object parameter. Accepted values are GL_BUFFER_ACCESS, GL_BUFFER_MAPPED, GL_BUFFER_SIZE, or GL_BUFFER_USAGE. + /// + /// + /// + /// + /// Returns the requested parameter. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetBufferParameteriv")] + public static + void GetBufferParameter(OpenTK.Graphics.ES20.BufferTarget target, OpenTK.Graphics.ES20.BufferParameterName pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetBufferParameteriv((OpenTK.Graphics.ES20.BufferTarget)target, (OpenTK.Graphics.ES20.BufferParameterName)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Return parameters of a buffer object + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the symbolic name of a buffer object parameter. Accepted values are GL_BUFFER_ACCESS, GL_BUFFER_MAPPED, GL_BUFFER_SIZE, or GL_BUFFER_USAGE. + /// + /// + /// + /// + /// Returns the requested parameter. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetBufferParameteriv")] + public static + unsafe void GetBufferParameter(OpenTK.Graphics.ES20.BufferTarget target, OpenTK.Graphics.ES20.BufferParameterName pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetBufferParameteriv((OpenTK.Graphics.ES20.BufferTarget)target, (OpenTK.Graphics.ES20.BufferParameterName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Return error information + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetError")] + public static + OpenTK.Graphics.ES20.ErrorCode GetError() + { + return Delegates.glGetError(); + } + + /// [requires: v2.0 and 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetFloatv")] + public static + void GetFloat(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetFloatv((OpenTK.Graphics.ES20.GetPName)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v2.0 and 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetFloatv")] + public static + void GetFloat(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetFloatv((OpenTK.Graphics.ES20.GetPName)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: v2.0 and 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetFloatv")] + public static + unsafe void GetFloat(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetFloatv((OpenTK.Graphics.ES20.GetPName)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Retrieve information about attachments of a bound framebuffer object + /// + /// + /// + /// Specifies the target of the query operation. + /// + /// + /// + /// + /// Specifies the attachment within target + /// + /// + /// + /// + /// Specifies the parameter of attachment to query. + /// + /// + /// + /// + /// Specifies the address of a variable receive the value of pname for attachment. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetFramebufferAttachmentParameteriv")] + public static + void GetFramebufferAttachmentParameter(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.FramebufferSlot attachment, OpenTK.Graphics.ES20.FramebufferParameterName pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetFramebufferAttachmentParameteriv((OpenTK.Graphics.ES20.FramebufferTarget)target, (OpenTK.Graphics.ES20.FramebufferSlot)attachment, (OpenTK.Graphics.ES20.FramebufferParameterName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Retrieve information about attachments of a bound framebuffer object + /// + /// + /// + /// Specifies the target of the query operation. + /// + /// + /// + /// + /// Specifies the attachment within target + /// + /// + /// + /// + /// Specifies the parameter of attachment to query. + /// + /// + /// + /// + /// Specifies the address of a variable receive the value of pname for attachment. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetFramebufferAttachmentParameteriv")] + public static + void GetFramebufferAttachmentParameter(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.FramebufferSlot attachment, OpenTK.Graphics.ES20.FramebufferParameterName pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetFramebufferAttachmentParameteriv((OpenTK.Graphics.ES20.FramebufferTarget)target, (OpenTK.Graphics.ES20.FramebufferSlot)attachment, (OpenTK.Graphics.ES20.FramebufferParameterName)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Retrieve information about attachments of a bound framebuffer object + /// + /// + /// + /// Specifies the target of the query operation. + /// + /// + /// + /// + /// Specifies the attachment within target + /// + /// + /// + /// + /// Specifies the parameter of attachment to query. + /// + /// + /// + /// + /// Specifies the address of a variable receive the value of pname for attachment. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetFramebufferAttachmentParameteriv")] + public static + unsafe void GetFramebufferAttachmentParameter(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.FramebufferSlot attachment, OpenTK.Graphics.ES20.FramebufferParameterName pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetFramebufferAttachmentParameteriv((OpenTK.Graphics.ES20.FramebufferTarget)target, (OpenTK.Graphics.ES20.FramebufferSlot)attachment, (OpenTK.Graphics.ES20.FramebufferParameterName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: v2.0 and 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetIntegerv")] + public static + void GetInteger(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetIntegerv((OpenTK.Graphics.ES20.GetPName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v2.0 and 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetIntegerv")] + public static + void GetInteger(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetIntegerv((OpenTK.Graphics.ES20.GetPName)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: v2.0 and 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetIntegerv")] + public static + unsafe void GetInteger(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetIntegerv((OpenTK.Graphics.ES20.GetPName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Returns the information log for a program object + /// + /// + /// + /// Specifies the program object whose information log is to be queried. + /// + /// + /// + /// + /// Specifies the size of the character buffer for storing the returned information log. + /// + /// + /// + /// + /// Returns the length of the string returned in infoLog (excluding the null terminator). + /// + /// + /// + /// + /// Specifies an array of characters that is used to return the information log. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramInfoLog")] + public static + void GetProgramInfoLog(Int32 program, Int32 bufsize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder infolog) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = length) + { + Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufsize, (Int32*)length_ptr, (StringBuilder)infolog); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Returns the information log for a program object + /// + /// + /// + /// Specifies the program object whose information log is to be queried. + /// + /// + /// + /// + /// Specifies the size of the character buffer for storing the returned information log. + /// + /// + /// + /// + /// Returns the length of the string returned in infoLog (excluding the null terminator). + /// + /// + /// + /// + /// Specifies an array of characters that is used to return the information log. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramInfoLog")] + public static + void GetProgramInfoLog(Int32 program, Int32 bufsize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infolog) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + { + Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufsize, (Int32*)length_ptr, (StringBuilder)infolog); + length = *length_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Returns the information log for a program object + /// + /// + /// + /// Specifies the program object whose information log is to be queried. + /// + /// + /// + /// + /// Specifies the size of the character buffer for storing the returned information log. + /// + /// + /// + /// + /// Returns the length of the string returned in infoLog (excluding the null terminator). + /// + /// + /// + /// + /// Specifies an array of characters that is used to return the information log. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramInfoLog")] + public static + unsafe void GetProgramInfoLog(Int32 program, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infolog) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufsize, (Int32*)length, (StringBuilder)infolog); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Returns the information log for a program object + /// + /// + /// + /// Specifies the program object whose information log is to be queried. + /// + /// + /// + /// + /// Specifies the size of the character buffer for storing the returned information log. + /// + /// + /// + /// + /// Returns the length of the string returned in infoLog (excluding the null terminator). + /// + /// + /// + /// + /// Specifies an array of characters that is used to return the information log. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramInfoLog")] + public static + void GetProgramInfoLog(UInt32 program, Int32 bufsize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder infolog) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = length) + { + Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufsize, (Int32*)length_ptr, (StringBuilder)infolog); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Returns the information log for a program object + /// + /// + /// + /// Specifies the program object whose information log is to be queried. + /// + /// + /// + /// + /// Specifies the size of the character buffer for storing the returned information log. + /// + /// + /// + /// + /// Returns the length of the string returned in infoLog (excluding the null terminator). + /// + /// + /// + /// + /// Specifies an array of characters that is used to return the information log. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramInfoLog")] + public static + void GetProgramInfoLog(UInt32 program, Int32 bufsize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infolog) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + { + Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufsize, (Int32*)length_ptr, (StringBuilder)infolog); + length = *length_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Returns the information log for a program object + /// + /// + /// + /// Specifies the program object whose information log is to be queried. + /// + /// + /// + /// + /// Specifies the size of the character buffer for storing the returned information log. + /// + /// + /// + /// + /// Returns the length of the string returned in infoLog (excluding the null terminator). + /// + /// + /// + /// + /// Specifies an array of characters that is used to return the information log. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramInfoLog")] + public static + unsafe void GetProgramInfoLog(UInt32 program, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infolog) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufsize, (Int32*)length, (StringBuilder)infolog); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Returns a parameter from a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_BLOCKS, GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH, GL_ACTIVE_UNIFORM_MAX_LENGTH, GL_PROGRAM_BINARY_LENGTH, GL_TRANSFORM_FEEDBACK_BUFFER_MODE, GL_TRANSFORM_FEEDBACK_VARYINGS, GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH, GL_GEOMETRY_VERTICES_OUT, GL_GEOMETRY_INPUT_TYPE, and GL_GEOMETRY_OUTPUT_TYPE. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramiv")] + public static + void GetProgram(Int32 program, OpenTK.Graphics.ES20.ProgramParameter pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ES20.ProgramParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Returns a parameter from a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_BLOCKS, GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH, GL_ACTIVE_UNIFORM_MAX_LENGTH, GL_PROGRAM_BINARY_LENGTH, GL_TRANSFORM_FEEDBACK_BUFFER_MODE, GL_TRANSFORM_FEEDBACK_VARYINGS, GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH, GL_GEOMETRY_VERTICES_OUT, GL_GEOMETRY_INPUT_TYPE, and GL_GEOMETRY_OUTPUT_TYPE. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramiv")] + public static + void GetProgram(Int32 program, OpenTK.Graphics.ES20.ProgramParameter pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ES20.ProgramParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Returns a parameter from a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_BLOCKS, GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH, GL_ACTIVE_UNIFORM_MAX_LENGTH, GL_PROGRAM_BINARY_LENGTH, GL_TRANSFORM_FEEDBACK_BUFFER_MODE, GL_TRANSFORM_FEEDBACK_VARYINGS, GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH, GL_GEOMETRY_VERTICES_OUT, GL_GEOMETRY_INPUT_TYPE, and GL_GEOMETRY_OUTPUT_TYPE. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramiv")] + public static + unsafe void GetProgram(Int32 program, OpenTK.Graphics.ES20.ProgramParameter pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ES20.ProgramParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Returns a parameter from a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_BLOCKS, GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH, GL_ACTIVE_UNIFORM_MAX_LENGTH, GL_PROGRAM_BINARY_LENGTH, GL_TRANSFORM_FEEDBACK_BUFFER_MODE, GL_TRANSFORM_FEEDBACK_VARYINGS, GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH, GL_GEOMETRY_VERTICES_OUT, GL_GEOMETRY_INPUT_TYPE, and GL_GEOMETRY_OUTPUT_TYPE. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramiv")] + public static + void GetProgram(UInt32 program, OpenTK.Graphics.ES20.ProgramParameter pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ES20.ProgramParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Returns a parameter from a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_BLOCKS, GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH, GL_ACTIVE_UNIFORM_MAX_LENGTH, GL_PROGRAM_BINARY_LENGTH, GL_TRANSFORM_FEEDBACK_BUFFER_MODE, GL_TRANSFORM_FEEDBACK_VARYINGS, GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH, GL_GEOMETRY_VERTICES_OUT, GL_GEOMETRY_INPUT_TYPE, and GL_GEOMETRY_OUTPUT_TYPE. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramiv")] + public static + void GetProgram(UInt32 program, OpenTK.Graphics.ES20.ProgramParameter pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ES20.ProgramParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Returns a parameter from a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_BLOCKS, GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH, GL_ACTIVE_UNIFORM_MAX_LENGTH, GL_PROGRAM_BINARY_LENGTH, GL_TRANSFORM_FEEDBACK_BUFFER_MODE, GL_TRANSFORM_FEEDBACK_VARYINGS, GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH, GL_GEOMETRY_VERTICES_OUT, GL_GEOMETRY_INPUT_TYPE, and GL_GEOMETRY_OUTPUT_TYPE. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramiv")] + public static + unsafe void GetProgram(UInt32 program, OpenTK.Graphics.ES20.ProgramParameter pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ES20.ProgramParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Retrieve information about a bound renderbuffer object + /// + /// + /// + /// Specifies the target of the query operation. target must be GL_RENDERBUFFER. + /// + /// + /// + /// + /// Specifies the parameter whose value to retrieve from the renderbuffer bound to target. + /// + /// + /// + /// + /// Specifies the address of an array to receive the value of the queried parameter. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetRenderbufferParameteriv")] + public static + void GetRenderbufferParameter(OpenTK.Graphics.ES20.RenderbufferTarget target, OpenTK.Graphics.ES20.RenderbufferParameterName pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetRenderbufferParameteriv((OpenTK.Graphics.ES20.RenderbufferTarget)target, (OpenTK.Graphics.ES20.RenderbufferParameterName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Retrieve information about a bound renderbuffer object + /// + /// + /// + /// Specifies the target of the query operation. target must be GL_RENDERBUFFER. + /// + /// + /// + /// + /// Specifies the parameter whose value to retrieve from the renderbuffer bound to target. + /// + /// + /// + /// + /// Specifies the address of an array to receive the value of the queried parameter. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetRenderbufferParameteriv")] + public static + void GetRenderbufferParameter(OpenTK.Graphics.ES20.RenderbufferTarget target, OpenTK.Graphics.ES20.RenderbufferParameterName pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetRenderbufferParameteriv((OpenTK.Graphics.ES20.RenderbufferTarget)target, (OpenTK.Graphics.ES20.RenderbufferParameterName)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Retrieve information about a bound renderbuffer object + /// + /// + /// + /// Specifies the target of the query operation. target must be GL_RENDERBUFFER. + /// + /// + /// + /// + /// Specifies the parameter whose value to retrieve from the renderbuffer bound to target. + /// + /// + /// + /// + /// Specifies the address of an array to receive the value of the queried parameter. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetRenderbufferParameteriv")] + public static + unsafe void GetRenderbufferParameter(OpenTK.Graphics.ES20.RenderbufferTarget target, OpenTK.Graphics.ES20.RenderbufferParameterName pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetRenderbufferParameteriv((OpenTK.Graphics.ES20.RenderbufferTarget)target, (OpenTK.Graphics.ES20.RenderbufferParameterName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Returns the information log for a shader object + /// + /// + /// + /// Specifies the shader object whose information log is to be queried. + /// + /// + /// + /// + /// Specifies the size of the character buffer for storing the returned information log. + /// + /// + /// + /// + /// Returns the length of the string returned in infoLog (excluding the null terminator). + /// + /// + /// + /// + /// Specifies an array of characters that is used to return the information log. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetShaderInfoLog")] + public static + void GetShaderInfoLog(Int32 shader, Int32 bufsize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder infolog) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = length) + { + Delegates.glGetShaderInfoLog((UInt32)shader, (Int32)bufsize, (Int32*)length_ptr, (StringBuilder)infolog); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Returns the information log for a shader object + /// + /// + /// + /// Specifies the shader object whose information log is to be queried. + /// + /// + /// + /// + /// Specifies the size of the character buffer for storing the returned information log. + /// + /// + /// + /// + /// Returns the length of the string returned in infoLog (excluding the null terminator). + /// + /// + /// + /// + /// Specifies an array of characters that is used to return the information log. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetShaderInfoLog")] + public static + void GetShaderInfoLog(Int32 shader, Int32 bufsize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infolog) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + { + Delegates.glGetShaderInfoLog((UInt32)shader, (Int32)bufsize, (Int32*)length_ptr, (StringBuilder)infolog); + length = *length_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Returns the information log for a shader object + /// + /// + /// + /// Specifies the shader object whose information log is to be queried. + /// + /// + /// + /// + /// Specifies the size of the character buffer for storing the returned information log. + /// + /// + /// + /// + /// Returns the length of the string returned in infoLog (excluding the null terminator). + /// + /// + /// + /// + /// Specifies an array of characters that is used to return the information log. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetShaderInfoLog")] + public static + unsafe void GetShaderInfoLog(Int32 shader, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infolog) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetShaderInfoLog((UInt32)shader, (Int32)bufsize, (Int32*)length, (StringBuilder)infolog); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Returns the information log for a shader object + /// + /// + /// + /// Specifies the shader object whose information log is to be queried. + /// + /// + /// + /// + /// Specifies the size of the character buffer for storing the returned information log. + /// + /// + /// + /// + /// Returns the length of the string returned in infoLog (excluding the null terminator). + /// + /// + /// + /// + /// Specifies an array of characters that is used to return the information log. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetShaderInfoLog")] + public static + void GetShaderInfoLog(UInt32 shader, Int32 bufsize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder infolog) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = length) + { + Delegates.glGetShaderInfoLog((UInt32)shader, (Int32)bufsize, (Int32*)length_ptr, (StringBuilder)infolog); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Returns the information log for a shader object + /// + /// + /// + /// Specifies the shader object whose information log is to be queried. + /// + /// + /// + /// + /// Specifies the size of the character buffer for storing the returned information log. + /// + /// + /// + /// + /// Returns the length of the string returned in infoLog (excluding the null terminator). + /// + /// + /// + /// + /// Specifies an array of characters that is used to return the information log. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetShaderInfoLog")] + public static + void GetShaderInfoLog(UInt32 shader, Int32 bufsize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infolog) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + { + Delegates.glGetShaderInfoLog((UInt32)shader, (Int32)bufsize, (Int32*)length_ptr, (StringBuilder)infolog); + length = *length_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Returns the information log for a shader object + /// + /// + /// + /// Specifies the shader object whose information log is to be queried. + /// + /// + /// + /// + /// Specifies the size of the character buffer for storing the returned information log. + /// + /// + /// + /// + /// Returns the length of the string returned in infoLog (excluding the null terminator). + /// + /// + /// + /// + /// Specifies an array of characters that is used to return the information log. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetShaderInfoLog")] + public static + unsafe void GetShaderInfoLog(UInt32 shader, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infolog) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetShaderInfoLog((UInt32)shader, (Int32)bufsize, (Int32*)length, (StringBuilder)infolog); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Returns a parameter from a shader object + /// + /// + /// + /// Specifies the shader object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_SHADER_TYPE, GL_DELETE_STATUS, GL_COMPILE_STATUS, GL_INFO_LOG_LENGTH, GL_SHADER_SOURCE_LENGTH. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetShaderiv")] + public static + void GetShader(Int32 shader, OpenTK.Graphics.ES20.ShaderParameter pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ES20.ShaderParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Returns a parameter from a shader object + /// + /// + /// + /// Specifies the shader object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_SHADER_TYPE, GL_DELETE_STATUS, GL_COMPILE_STATUS, GL_INFO_LOG_LENGTH, GL_SHADER_SOURCE_LENGTH. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetShaderiv")] + public static + void GetShader(Int32 shader, OpenTK.Graphics.ES20.ShaderParameter pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ES20.ShaderParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Returns a parameter from a shader object + /// + /// + /// + /// Specifies the shader object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_SHADER_TYPE, GL_DELETE_STATUS, GL_COMPILE_STATUS, GL_INFO_LOG_LENGTH, GL_SHADER_SOURCE_LENGTH. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetShaderiv")] + public static + unsafe void GetShader(Int32 shader, OpenTK.Graphics.ES20.ShaderParameter pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ES20.ShaderParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Returns a parameter from a shader object + /// + /// + /// + /// Specifies the shader object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_SHADER_TYPE, GL_DELETE_STATUS, GL_COMPILE_STATUS, GL_INFO_LOG_LENGTH, GL_SHADER_SOURCE_LENGTH. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetShaderiv")] + public static + void GetShader(UInt32 shader, OpenTK.Graphics.ES20.ShaderParameter pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ES20.ShaderParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Returns a parameter from a shader object + /// + /// + /// + /// Specifies the shader object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_SHADER_TYPE, GL_DELETE_STATUS, GL_COMPILE_STATUS, GL_INFO_LOG_LENGTH, GL_SHADER_SOURCE_LENGTH. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetShaderiv")] + public static + void GetShader(UInt32 shader, OpenTK.Graphics.ES20.ShaderParameter pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ES20.ShaderParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Returns a parameter from a shader object + /// + /// + /// + /// Specifies the shader object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_SHADER_TYPE, GL_DELETE_STATUS, GL_COMPILE_STATUS, GL_INFO_LOG_LENGTH, GL_SHADER_SOURCE_LENGTH. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetShaderiv")] + public static + unsafe void GetShader(UInt32 shader, OpenTK.Graphics.ES20.ShaderParameter pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ES20.ShaderParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Retrieve the range and precision for numeric formats supported by the shader compiler + /// + /// + /// + /// Specifies the type of shader whose precision to query. shaderType must be GL_VERTEX_SHADER or GL_FRAGMENT_SHADER. + /// + /// + /// + /// + /// Specifies the numeric format whose precision and range to query. + /// + /// + /// + /// + /// Specifies the address of array of two integers into which encodings of the implementation's numeric range are returned. + /// + /// + /// + /// + /// Specifies the address of an integer into which the numeric precision of the implementation is written. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetShaderPrecisionFormat")] + public static + void GetShaderPrecisionFormat(OpenTK.Graphics.ES20.ShaderType shadertype, OpenTK.Graphics.ES20.ShaderPrecision precisiontype, [OutAttribute] Int32[] range, [OutAttribute] Int32[] precision) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* range_ptr = range) + fixed (Int32* precision_ptr = precision) + { + Delegates.glGetShaderPrecisionFormat((OpenTK.Graphics.ES20.ShaderType)shadertype, (OpenTK.Graphics.ES20.ShaderPrecision)precisiontype, (Int32*)range_ptr, (Int32*)precision_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Retrieve the range and precision for numeric formats supported by the shader compiler + /// + /// + /// + /// Specifies the type of shader whose precision to query. shaderType must be GL_VERTEX_SHADER or GL_FRAGMENT_SHADER. + /// + /// + /// + /// + /// Specifies the numeric format whose precision and range to query. + /// + /// + /// + /// + /// Specifies the address of array of two integers into which encodings of the implementation's numeric range are returned. + /// + /// + /// + /// + /// Specifies the address of an integer into which the numeric precision of the implementation is written. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetShaderPrecisionFormat")] + public static + void GetShaderPrecisionFormat(OpenTK.Graphics.ES20.ShaderType shadertype, OpenTK.Graphics.ES20.ShaderPrecision precisiontype, [OutAttribute] out Int32 range, [OutAttribute] out Int32 precision) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* range_ptr = &range) + fixed (Int32* precision_ptr = &precision) + { + Delegates.glGetShaderPrecisionFormat((OpenTK.Graphics.ES20.ShaderType)shadertype, (OpenTK.Graphics.ES20.ShaderPrecision)precisiontype, (Int32*)range_ptr, (Int32*)precision_ptr); + range = *range_ptr; + precision = *precision_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Retrieve the range and precision for numeric formats supported by the shader compiler + /// + /// + /// + /// Specifies the type of shader whose precision to query. shaderType must be GL_VERTEX_SHADER or GL_FRAGMENT_SHADER. + /// + /// + /// + /// + /// Specifies the numeric format whose precision and range to query. + /// + /// + /// + /// + /// Specifies the address of array of two integers into which encodings of the implementation's numeric range are returned. + /// + /// + /// + /// + /// Specifies the address of an integer into which the numeric precision of the implementation is written. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetShaderPrecisionFormat")] + public static + unsafe void GetShaderPrecisionFormat(OpenTK.Graphics.ES20.ShaderType shadertype, OpenTK.Graphics.ES20.ShaderPrecision precisiontype, [OutAttribute] Int32* range, [OutAttribute] Int32* precision) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetShaderPrecisionFormat((OpenTK.Graphics.ES20.ShaderType)shadertype, (OpenTK.Graphics.ES20.ShaderPrecision)precisiontype, (Int32*)range, (Int32*)precision); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Returns the source code string from a shader object + /// + /// + /// + /// Specifies the shader object to be queried. + /// + /// + /// + /// + /// Specifies the size of the character buffer for storing the returned source code string. + /// + /// + /// + /// + /// Returns the length of the string returned in source (excluding the null terminator). + /// + /// + /// + /// + /// Specifies an array of characters that is used to return the source code string. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetShaderSource")] + public static + void GetShaderSource(Int32 shader, Int32 bufsize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder source) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = length) + { + Delegates.glGetShaderSource((UInt32)shader, (Int32)bufsize, (Int32*)length_ptr, (StringBuilder)source); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Returns the source code string from a shader object + /// + /// + /// + /// Specifies the shader object to be queried. + /// + /// + /// + /// + /// Specifies the size of the character buffer for storing the returned source code string. + /// + /// + /// + /// + /// Returns the length of the string returned in source (excluding the null terminator). + /// + /// + /// + /// + /// Specifies an array of characters that is used to return the source code string. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetShaderSource")] + public static + void GetShaderSource(Int32 shader, Int32 bufsize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder source) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + { + Delegates.glGetShaderSource((UInt32)shader, (Int32)bufsize, (Int32*)length_ptr, (StringBuilder)source); + length = *length_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Returns the source code string from a shader object + /// + /// + /// + /// Specifies the shader object to be queried. + /// + /// + /// + /// + /// Specifies the size of the character buffer for storing the returned source code string. + /// + /// + /// + /// + /// Returns the length of the string returned in source (excluding the null terminator). + /// + /// + /// + /// + /// Specifies an array of characters that is used to return the source code string. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetShaderSource")] + public static + unsafe void GetShaderSource(Int32 shader, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetShaderSource((UInt32)shader, (Int32)bufsize, (Int32*)length, (StringBuilder)source); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Returns the source code string from a shader object + /// + /// + /// + /// Specifies the shader object to be queried. + /// + /// + /// + /// + /// Specifies the size of the character buffer for storing the returned source code string. + /// + /// + /// + /// + /// Returns the length of the string returned in source (excluding the null terminator). + /// + /// + /// + /// + /// Specifies an array of characters that is used to return the source code string. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetShaderSource")] + public static + void GetShaderSource(UInt32 shader, Int32 bufsize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder source) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = length) + { + Delegates.glGetShaderSource((UInt32)shader, (Int32)bufsize, (Int32*)length_ptr, (StringBuilder)source); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Returns the source code string from a shader object + /// + /// + /// + /// Specifies the shader object to be queried. + /// + /// + /// + /// + /// Specifies the size of the character buffer for storing the returned source code string. + /// + /// + /// + /// + /// Returns the length of the string returned in source (excluding the null terminator). + /// + /// + /// + /// + /// Specifies an array of characters that is used to return the source code string. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetShaderSource")] + public static + void GetShaderSource(UInt32 shader, Int32 bufsize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder source) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + { + Delegates.glGetShaderSource((UInt32)shader, (Int32)bufsize, (Int32*)length_ptr, (StringBuilder)source); + length = *length_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Returns the source code string from a shader object + /// + /// + /// + /// Specifies the shader object to be queried. + /// + /// + /// + /// + /// Specifies the size of the character buffer for storing the returned source code string. + /// + /// + /// + /// + /// Returns the length of the string returned in source (excluding the null terminator). + /// + /// + /// + /// + /// Specifies an array of characters that is used to return the source code string. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetShaderSource")] + public static + unsafe void GetShaderSource(UInt32 shader, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetShaderSource((UInt32)shader, (Int32)bufsize, (Int32*)length, (StringBuilder)source); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Return a string describing the current GL connection + /// + /// + /// + /// Specifies a symbolic constant, one of GL_VENDOR, GL_RENDERER, GL_VERSION, or GL_SHADING_LANGUAGE_VERSION. Additionally, glGetStringi accepts the GL_EXTENSIONS token. + /// + /// + /// + /// + /// For glGetStringi, specifies the index of the string to return. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetString")] + public static + unsafe System.String GetString(OpenTK.Graphics.ES20.StringName name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe { return new string((sbyte*)Delegates.glGetString((OpenTK.Graphics.ES20.StringName)name)); } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Return texture parameter values + /// + /// + /// + /// Specifies the symbolic name of the target texture. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_3D, GL_TEXTURE_RECTANGLE, and GL_TEXTURE_CUBE_MAP are accepted. + /// + /// + /// + /// + /// Specifies the symbolic name of a texture parameter. GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_SWIZZLE_RGBA, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, and GL_TEXTURE_WRAP_R are accepted. + /// + /// + /// + /// + /// Returns the texture parameters. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetTexParameterfv")] + public static + void GetTexParameter(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.GetTextureParameter pname, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetTexParameterfv((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.GetTextureParameter)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Return texture parameter values + /// + /// + /// + /// Specifies the symbolic name of the target texture. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_3D, GL_TEXTURE_RECTANGLE, and GL_TEXTURE_CUBE_MAP are accepted. + /// + /// + /// + /// + /// Specifies the symbolic name of a texture parameter. GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_SWIZZLE_RGBA, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, and GL_TEXTURE_WRAP_R are accepted. + /// + /// + /// + /// + /// Returns the texture parameters. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetTexParameterfv")] + public static + void GetTexParameter(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.GetTextureParameter pname, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetTexParameterfv((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.GetTextureParameter)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Return texture parameter values + /// + /// + /// + /// Specifies the symbolic name of the target texture. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_3D, GL_TEXTURE_RECTANGLE, and GL_TEXTURE_CUBE_MAP are accepted. + /// + /// + /// + /// + /// Specifies the symbolic name of a texture parameter. GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_SWIZZLE_RGBA, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, and GL_TEXTURE_WRAP_R are accepted. + /// + /// + /// + /// + /// Returns the texture parameters. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetTexParameterfv")] + public static + unsafe void GetTexParameter(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.GetTextureParameter pname, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTexParameterfv((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.GetTextureParameter)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Return texture parameter values + /// + /// + /// + /// Specifies the symbolic name of the target texture. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_3D, GL_TEXTURE_RECTANGLE, and GL_TEXTURE_CUBE_MAP are accepted. + /// + /// + /// + /// + /// Specifies the symbolic name of a texture parameter. GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_SWIZZLE_RGBA, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, and GL_TEXTURE_WRAP_R are accepted. + /// + /// + /// + /// + /// Returns the texture parameters. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetTexParameteriv")] + public static + void GetTexParameter(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.GetTextureParameter pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetTexParameteriv((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.GetTextureParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Return texture parameter values + /// + /// + /// + /// Specifies the symbolic name of the target texture. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_3D, GL_TEXTURE_RECTANGLE, and GL_TEXTURE_CUBE_MAP are accepted. + /// + /// + /// + /// + /// Specifies the symbolic name of a texture parameter. GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_SWIZZLE_RGBA, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, and GL_TEXTURE_WRAP_R are accepted. + /// + /// + /// + /// + /// Returns the texture parameters. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetTexParameteriv")] + public static + void GetTexParameter(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.GetTextureParameter pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetTexParameteriv((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.GetTextureParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Return texture parameter values + /// + /// + /// + /// Specifies the symbolic name of the target texture. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_3D, GL_TEXTURE_RECTANGLE, and GL_TEXTURE_CUBE_MAP are accepted. + /// + /// + /// + /// + /// Specifies the symbolic name of a texture parameter. GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_SWIZZLE_RGBA, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, and GL_TEXTURE_WRAP_R are accepted. + /// + /// + /// + /// + /// Returns the texture parameters. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetTexParameteriv")] + public static + unsafe void GetTexParameter(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.GetTextureParameter pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTexParameteriv((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.GetTextureParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glGetUniformfv")] + public static + void GetUniform(Int32 program, Int32 location, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glGetUniformfv")] + public static + void GetUniform(Int32 program, Int32 location, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glGetUniformfv")] + public static + unsafe void GetUniform(Int32 program, Int32 location, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glGetUniformfv")] + public static + void GetUniform(UInt32 program, Int32 location, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glGetUniformfv")] + public static + void GetUniform(UInt32 program, Int32 location, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glGetUniformfv")] + public static + unsafe void GetUniform(UInt32 program, Int32 location, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glGetUniformiv")] + public static + void GetUniform(Int32 program, Int32 location, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glGetUniformiv")] + public static + void GetUniform(Int32 program, Int32 location, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glGetUniformiv")] + public static + unsafe void GetUniform(Int32 program, Int32 location, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glGetUniformiv")] + public static + void GetUniform(UInt32 program, Int32 location, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glGetUniformiv")] + public static + void GetUniform(UInt32 program, Int32 location, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glGetUniformiv")] + public static + unsafe void GetUniform(UInt32 program, Int32 location, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Returns the location of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Points to a null terminated string containing the name of the uniform variable whose location is to be queried. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetUniformLocation")] + public static + int GetUniformLocation(Int32 program, String name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glGetUniformLocation((UInt32)program, (String)name); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Returns the location of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Points to a null terminated string containing the name of the uniform variable whose location is to be queried. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetUniformLocation")] + public static + int GetUniformLocation(UInt32 program, String name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glGetUniformLocation((UInt32)program, (String)name); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] + public static + void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES20.VertexAttribParameter pname, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] + public static + void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES20.VertexAttribParameter pname, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] + public static + unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES20.VertexAttribParameter pname, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] + public static + void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES20.VertexAttribParameter pname, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] + public static + void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES20.VertexAttribParameter pname, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] + public static + unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES20.VertexAttribParameter pname, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] + public static + void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES20.VertexAttribParameter pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] + public static + void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES20.VertexAttribParameter pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] + public static + unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES20.VertexAttribParameter pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] + public static + void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES20.VertexAttribParameter pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] + public static + void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES20.VertexAttribParameter pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] + public static + unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES20.VertexAttribParameter pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Return the address of the specified generic vertex attribute pointer + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be returned. + /// + /// + /// + /// + /// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER. + /// + /// + /// + /// + /// Returns the pointer value. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] + public static + void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES20.VertexAttribPointerParameter pname, [OutAttribute] IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribPointerParameter)pname, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Return the address of the specified generic vertex attribute pointer + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be returned. + /// + /// + /// + /// + /// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER. + /// + /// + /// + /// + /// Returns the pointer value. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] + public static + void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES20.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] T2[] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Return the address of the specified generic vertex attribute pointer + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be returned. + /// + /// + /// + /// + /// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER. + /// + /// + /// + /// + /// Returns the pointer value. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] + public static + void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES20.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] T2[,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Return the address of the specified generic vertex attribute pointer + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be returned. + /// + /// + /// + /// + /// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER. + /// + /// + /// + /// + /// Returns the pointer value. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] + public static + void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES20.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] T2[,,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Return the address of the specified generic vertex attribute pointer + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be returned. + /// + /// + /// + /// + /// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER. + /// + /// + /// + /// + /// Returns the pointer value. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] + public static + void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES20.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] ref T2 pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + pointer = (T2)pointer_ptr.Target; + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Return the address of the specified generic vertex attribute pointer + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be returned. + /// + /// + /// + /// + /// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER. + /// + /// + /// + /// + /// Returns the pointer value. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] + public static + void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.ES20.VertexAttribPointerParameter pname, [OutAttribute] IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribPointerParameter)pname, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Return the address of the specified generic vertex attribute pointer + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be returned. + /// + /// + /// + /// + /// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER. + /// + /// + /// + /// + /// Returns the pointer value. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] + public static + void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.ES20.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] T2[] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Return the address of the specified generic vertex attribute pointer + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be returned. + /// + /// + /// + /// + /// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER. + /// + /// + /// + /// + /// Returns the pointer value. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] + public static + void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.ES20.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] T2[,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Return the address of the specified generic vertex attribute pointer + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be returned. + /// + /// + /// + /// + /// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER. + /// + /// + /// + /// + /// Returns the pointer value. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] + public static + void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.ES20.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] T2[,,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Return the address of the specified generic vertex attribute pointer + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be returned. + /// + /// + /// + /// + /// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER. + /// + /// + /// + /// + /// Returns the pointer value. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] + public static + void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.ES20.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] ref T2 pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + pointer = (T2)pointer_ptr.Target; + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Specify implementation-specific hints + /// + /// + /// + /// Specifies a symbolic constant indicating the behavior to be controlled. GL_LINE_SMOOTH_HINT, GL_POLYGON_SMOOTH_HINT, GL_TEXTURE_COMPRESSION_HINT, and GL_FRAGMENT_SHADER_DERIVATIVE_HINT are accepted. + /// + /// + /// + /// + /// Specifies a symbolic constant indicating the desired behavior. GL_FASTEST, GL_NICEST, and GL_DONT_CARE are accepted. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glHint")] + public static + void Hint(OpenTK.Graphics.ES20.HintTarget target, OpenTK.Graphics.ES20.HintMode mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glHint((OpenTK.Graphics.ES20.HintTarget)target, (OpenTK.Graphics.ES20.HintMode)mode); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Determine if a name corresponds to a buffer object + /// + /// + /// + /// Specifies a value that may be the name of a buffer object. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glIsBuffer")] + public static + bool IsBuffer(Int32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsBuffer((UInt32)buffer); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Determine if a name corresponds to a buffer object + /// + /// + /// + /// Specifies a value that may be the name of a buffer object. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glIsBuffer")] + public static + bool IsBuffer(UInt32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsBuffer((UInt32)buffer); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Test whether a capability is enabled + /// + /// + /// + /// Specifies a symbolic constant indicating a GL capability. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glIsEnabled")] + public static + bool IsEnabled(OpenTK.Graphics.ES20.EnableCap cap) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsEnabled((OpenTK.Graphics.ES20.EnableCap)cap); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Determine if a name corresponds to a framebuffer object + /// + /// + /// + /// Specifies a value that may be the name of a framebuffer object. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glIsFramebuffer")] + public static + bool IsFramebuffer(Int32 framebuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsFramebuffer((UInt32)framebuffer); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Determine if a name corresponds to a framebuffer object + /// + /// + /// + /// Specifies a value that may be the name of a framebuffer object. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glIsFramebuffer")] + public static + bool IsFramebuffer(UInt32 framebuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsFramebuffer((UInt32)framebuffer); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Determines if a name corresponds to a program object + /// + /// + /// + /// Specifies a potential program object. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glIsProgram")] + public static + bool IsProgram(Int32 program) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsProgram((UInt32)program); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Determines if a name corresponds to a program object + /// + /// + /// + /// Specifies a potential program object. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glIsProgram")] + public static + bool IsProgram(UInt32 program) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsProgram((UInt32)program); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Determine if a name corresponds to a renderbuffer object + /// + /// + /// + /// Specifies a value that may be the name of a renderbuffer object. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glIsRenderbuffer")] + public static + bool IsRenderbuffer(Int32 renderbuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsRenderbuffer((UInt32)renderbuffer); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Determine if a name corresponds to a renderbuffer object + /// + /// + /// + /// Specifies a value that may be the name of a renderbuffer object. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glIsRenderbuffer")] + public static + bool IsRenderbuffer(UInt32 renderbuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsRenderbuffer((UInt32)renderbuffer); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Determines if a name corresponds to a shader object + /// + /// + /// + /// Specifies a potential shader object. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glIsShader")] + public static + bool IsShader(Int32 shader) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsShader((UInt32)shader); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Determines if a name corresponds to a shader object + /// + /// + /// + /// Specifies a potential shader object. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glIsShader")] + public static + bool IsShader(UInt32 shader) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsShader((UInt32)shader); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Determine if a name corresponds to a texture + /// + /// + /// + /// Specifies a value that may be the name of a texture. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glIsTexture")] + public static + bool IsTexture(Int32 texture) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsTexture((UInt32)texture); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Determine if a name corresponds to a texture + /// + /// + /// + /// Specifies a value that may be the name of a texture. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glIsTexture")] + public static + bool IsTexture(UInt32 texture) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsTexture((UInt32)texture); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Specify the width of rasterized lines + /// + /// + /// + /// Specifies the width of rasterized lines. The initial value is 1. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glLineWidth")] + public static + void LineWidth(Single width) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLineWidth((Single)width); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Links a program object + /// + /// + /// + /// Specifies the handle of the program object to be linked. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glLinkProgram")] + public static + void LinkProgram(Int32 program) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLinkProgram((UInt32)program); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Links a program object + /// + /// + /// + /// Specifies the handle of the program object to be linked. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glLinkProgram")] + public static + void LinkProgram(UInt32 program) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLinkProgram((UInt32)program); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Set pixel storage modes + /// + /// + /// + /// Specifies the symbolic name of the parameter to be set. Six values affect the packing of pixel data into memory: GL_PACK_SWAP_BYTES, GL_PACK_LSB_FIRST, GL_PACK_ROW_LENGTH, GL_PACK_IMAGE_HEIGHT, GL_PACK_SKIP_PIXELS, GL_PACK_SKIP_ROWS, GL_PACK_SKIP_IMAGES, and GL_PACK_ALIGNMENT. Six more affect the unpacking of pixel data from memory: GL_UNPACK_SWAP_BYTES, GL_UNPACK_LSB_FIRST, GL_UNPACK_ROW_LENGTH, GL_UNPACK_IMAGE_HEIGHT, GL_UNPACK_SKIP_PIXELS, GL_UNPACK_SKIP_ROWS, GL_UNPACK_SKIP_IMAGES, and GL_UNPACK_ALIGNMENT. + /// + /// + /// + /// + /// Specifies the value that pname is set to. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glPixelStorei")] + public static + void PixelStore(OpenTK.Graphics.ES20.PixelStoreParameter pname, Int32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPixelStorei((OpenTK.Graphics.ES20.PixelStoreParameter)pname, (Int32)param); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Set the scale and units used to calculate depth values + /// + /// + /// + /// Specifies a scale factor that is used to create a variable depth offset for each polygon. The initial value is 0. + /// + /// + /// + /// + /// Is multiplied by an implementation-specific value to create a constant depth offset. The initial value is 0. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glPolygonOffset")] + public static + void PolygonOffset(Single factor, Single units) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPolygonOffset((Single)factor, (Single)units); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Read a block of pixels from the frame buffer + /// + /// + /// + /// Specify the window coordinates of the first pixel that is read from the frame buffer. This location is the lower left corner of a rectangular block of pixels. + /// + /// + /// + /// + /// Specify the dimensions of the pixel rectangle. width and height of one correspond to a single pixel. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_DEPTH_STENCIL, GL_RED, GL_GREEN, GL_BLUE, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. Must be one of GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_HALF_FLOAT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, GL_UNSIGNED_INT_2_10_10_10_REV, GL_UNSIGNED_INT_24_8, GL_UNSIGNED_INT_10F_11F_11F_REV, GL_UNSIGNED_INT_5_9_9_9_REV, or GL_FLOAT_32_UNSIGNED_INT_24_8_REV. + /// + /// + /// + /// + /// Returns the pixel data. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glReadPixels")] + public static + void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Read a block of pixels from the frame buffer + /// + /// + /// + /// Specify the window coordinates of the first pixel that is read from the frame buffer. This location is the lower left corner of a rectangular block of pixels. + /// + /// + /// + /// + /// Specify the dimensions of the pixel rectangle. width and height of one correspond to a single pixel. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_DEPTH_STENCIL, GL_RED, GL_GREEN, GL_BLUE, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. Must be one of GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_HALF_FLOAT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, GL_UNSIGNED_INT_2_10_10_10_REV, GL_UNSIGNED_INT_24_8, GL_UNSIGNED_INT_10F_11F_11F_REV, GL_UNSIGNED_INT_5_9_9_9_REV, or GL_FLOAT_32_UNSIGNED_INT_24_8_REV. + /// + /// + /// + /// + /// Returns the pixel data. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glReadPixels")] + public static + void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] T6[] pixels) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Read a block of pixels from the frame buffer + /// + /// + /// + /// Specify the window coordinates of the first pixel that is read from the frame buffer. This location is the lower left corner of a rectangular block of pixels. + /// + /// + /// + /// + /// Specify the dimensions of the pixel rectangle. width and height of one correspond to a single pixel. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_DEPTH_STENCIL, GL_RED, GL_GREEN, GL_BLUE, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. Must be one of GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_HALF_FLOAT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, GL_UNSIGNED_INT_2_10_10_10_REV, GL_UNSIGNED_INT_24_8, GL_UNSIGNED_INT_10F_11F_11F_REV, GL_UNSIGNED_INT_5_9_9_9_REV, or GL_FLOAT_32_UNSIGNED_INT_24_8_REV. + /// + /// + /// + /// + /// Returns the pixel data. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glReadPixels")] + public static + void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] T6[,] pixels) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Read a block of pixels from the frame buffer + /// + /// + /// + /// Specify the window coordinates of the first pixel that is read from the frame buffer. This location is the lower left corner of a rectangular block of pixels. + /// + /// + /// + /// + /// Specify the dimensions of the pixel rectangle. width and height of one correspond to a single pixel. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_DEPTH_STENCIL, GL_RED, GL_GREEN, GL_BLUE, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. Must be one of GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_HALF_FLOAT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, GL_UNSIGNED_INT_2_10_10_10_REV, GL_UNSIGNED_INT_24_8, GL_UNSIGNED_INT_10F_11F_11F_REV, GL_UNSIGNED_INT_5_9_9_9_REV, or GL_FLOAT_32_UNSIGNED_INT_24_8_REV. + /// + /// + /// + /// + /// Returns the pixel data. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glReadPixels")] + public static + void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] T6[,,] pixels) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Read a block of pixels from the frame buffer + /// + /// + /// + /// Specify the window coordinates of the first pixel that is read from the frame buffer. This location is the lower left corner of a rectangular block of pixels. + /// + /// + /// + /// + /// Specify the dimensions of the pixel rectangle. width and height of one correspond to a single pixel. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_DEPTH_STENCIL, GL_RED, GL_GREEN, GL_BLUE, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. Must be one of GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_HALF_FLOAT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, GL_UNSIGNED_INT_2_10_10_10_REV, GL_UNSIGNED_INT_24_8, GL_UNSIGNED_INT_10F_11F_11F_REV, GL_UNSIGNED_INT_5_9_9_9_REV, or GL_FLOAT_32_UNSIGNED_INT_24_8_REV. + /// + /// + /// + /// + /// Returns the pixel data. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glReadPixels")] + public static + void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] ref T6 pixels) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + pixels = (T6)pixels_ptr.Target; + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Release resources consumed by the implementation's shader compiler + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glReleaseShaderCompiler")] + public static + void ReleaseShaderCompiler() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReleaseShaderCompiler(); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Establish data storage, format and dimensions of a renderbuffer object's image + /// + /// + /// + /// Specifies a binding to which the target of the allocation and must be GL_RENDERBUFFER. + /// + /// + /// + /// + /// Specifies the internal format to use for the renderbuffer object's image. + /// + /// + /// + /// + /// Specifies the width of the renderbuffer, in pixels. + /// + /// + /// + /// + /// Specifies the height of the renderbuffer, in pixels. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glRenderbufferStorage")] + public static + void RenderbufferStorage(OpenTK.Graphics.ES20.RenderbufferTarget target, OpenTK.Graphics.ES20.RenderbufferInternalFormat internalformat, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glRenderbufferStorage((OpenTK.Graphics.ES20.RenderbufferTarget)target, (OpenTK.Graphics.ES20.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height); + #if DEBUG + } + #endif + } + + /// [requires: v2.0 and 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glRenderbufferStorageMultisampleIMG")] + public static + void RenderbufferStorageMultisampleIMG() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glRenderbufferStorageMultisampleIMG(); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Specify multisample coverage parameters + /// + /// + /// + /// Specify a single floating-point sample coverage value. The value is clamped to the range [0 ,1]. The initial value is 1.0. + /// + /// + /// + /// + /// 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 = "2.0", Version = "2.0", EntryPoint = "glSampleCoverage")] + public static + void SampleCoverage(Single value, bool invert) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSampleCoverage((Single)value, (bool)invert); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Define the scissor box + /// + /// + /// + /// Specify the lower left corner of the scissor box. Initially (0, 0). + /// + /// + /// + /// + /// Specify the width and height of the scissor box. When a GL context is first attached to a window, width and height are set to the dimensions of that window. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glScissor")] + public static + void Scissor(Int32 x, Int32 y, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glScissor((Int32)x, (Int32)y, (Int32)width, (Int32)height); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Load pre-compiled shader binaries + /// + /// + /// + /// Specifies the number of shader object handles contained in shaders. + /// + /// + /// + /// + /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries. + /// + /// + /// + /// + /// Specifies the format of the shader binaries contained in binary. + /// + /// + /// + /// + /// Specifies the address of an array of bytes containing pre-compiled binary shader code. + /// + /// + /// + /// + /// Specifies the length of the array whose address is given in binary. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")] + public static + void ShaderBinary(Int32 n, Int32[] shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, IntPtr binary, Int32 length) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* shaders_ptr = shaders) + { + Delegates.glShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Load pre-compiled shader binaries + /// + /// + /// + /// Specifies the number of shader object handles contained in shaders. + /// + /// + /// + /// + /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries. + /// + /// + /// + /// + /// Specifies the format of the shader binaries contained in binary. + /// + /// + /// + /// + /// Specifies the address of an array of bytes containing pre-compiled binary shader code. + /// + /// + /// + /// + /// Specifies the length of the array whose address is given in binary. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")] + public static + void ShaderBinary(Int32 n, Int32[] shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* shaders_ptr = shaders) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Load pre-compiled shader binaries + /// + /// + /// + /// Specifies the number of shader object handles contained in shaders. + /// + /// + /// + /// + /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries. + /// + /// + /// + /// + /// Specifies the format of the shader binaries contained in binary. + /// + /// + /// + /// + /// Specifies the address of an array of bytes containing pre-compiled binary shader code. + /// + /// + /// + /// + /// Specifies the length of the array whose address is given in binary. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")] + public static + void ShaderBinary(Int32 n, Int32[] shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* shaders_ptr = shaders) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Load pre-compiled shader binaries + /// + /// + /// + /// Specifies the number of shader object handles contained in shaders. + /// + /// + /// + /// + /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries. + /// + /// + /// + /// + /// Specifies the format of the shader binaries contained in binary. + /// + /// + /// + /// + /// Specifies the address of an array of bytes containing pre-compiled binary shader code. + /// + /// + /// + /// + /// Specifies the length of the array whose address is given in binary. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")] + public static + void ShaderBinary(Int32 n, Int32[] shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* shaders_ptr = shaders) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Load pre-compiled shader binaries + /// + /// + /// + /// Specifies the number of shader object handles contained in shaders. + /// + /// + /// + /// + /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries. + /// + /// + /// + /// + /// Specifies the format of the shader binaries contained in binary. + /// + /// + /// + /// + /// Specifies the address of an array of bytes containing pre-compiled binary shader code. + /// + /// + /// + /// + /// Specifies the length of the array whose address is given in binary. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")] + public static + void ShaderBinary(Int32 n, Int32[] shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* shaders_ptr = shaders) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + binary = (T3)binary_ptr.Target; + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Load pre-compiled shader binaries + /// + /// + /// + /// Specifies the number of shader object handles contained in shaders. + /// + /// + /// + /// + /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries. + /// + /// + /// + /// + /// Specifies the format of the shader binaries contained in binary. + /// + /// + /// + /// + /// Specifies the address of an array of bytes containing pre-compiled binary shader code. + /// + /// + /// + /// + /// Specifies the length of the array whose address is given in binary. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")] + public static + void ShaderBinary(Int32 n, ref Int32 shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, IntPtr binary, Int32 length) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* shaders_ptr = &shaders) + { + Delegates.glShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Load pre-compiled shader binaries + /// + /// + /// + /// Specifies the number of shader object handles contained in shaders. + /// + /// + /// + /// + /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries. + /// + /// + /// + /// + /// Specifies the format of the shader binaries contained in binary. + /// + /// + /// + /// + /// Specifies the address of an array of bytes containing pre-compiled binary shader code. + /// + /// + /// + /// + /// Specifies the length of the array whose address is given in binary. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")] + public static + void ShaderBinary(Int32 n, ref Int32 shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* shaders_ptr = &shaders) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Load pre-compiled shader binaries + /// + /// + /// + /// Specifies the number of shader object handles contained in shaders. + /// + /// + /// + /// + /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries. + /// + /// + /// + /// + /// Specifies the format of the shader binaries contained in binary. + /// + /// + /// + /// + /// Specifies the address of an array of bytes containing pre-compiled binary shader code. + /// + /// + /// + /// + /// Specifies the length of the array whose address is given in binary. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")] + public static + void ShaderBinary(Int32 n, ref Int32 shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* shaders_ptr = &shaders) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Load pre-compiled shader binaries + /// + /// + /// + /// Specifies the number of shader object handles contained in shaders. + /// + /// + /// + /// + /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries. + /// + /// + /// + /// + /// Specifies the format of the shader binaries contained in binary. + /// + /// + /// + /// + /// Specifies the address of an array of bytes containing pre-compiled binary shader code. + /// + /// + /// + /// + /// Specifies the length of the array whose address is given in binary. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")] + public static + void ShaderBinary(Int32 n, ref Int32 shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* shaders_ptr = &shaders) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Load pre-compiled shader binaries + /// + /// + /// + /// Specifies the number of shader object handles contained in shaders. + /// + /// + /// + /// + /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries. + /// + /// + /// + /// + /// Specifies the format of the shader binaries contained in binary. + /// + /// + /// + /// + /// Specifies the address of an array of bytes containing pre-compiled binary shader code. + /// + /// + /// + /// + /// Specifies the length of the array whose address is given in binary. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")] + public static + void ShaderBinary(Int32 n, ref Int32 shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* shaders_ptr = &shaders) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + binary = (T3)binary_ptr.Target; + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Load pre-compiled shader binaries + /// + /// + /// + /// Specifies the number of shader object handles contained in shaders. + /// + /// + /// + /// + /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries. + /// + /// + /// + /// + /// Specifies the format of the shader binaries contained in binary. + /// + /// + /// + /// + /// Specifies the address of an array of bytes containing pre-compiled binary shader code. + /// + /// + /// + /// + /// Specifies the length of the array whose address is given in binary. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")] + public static + unsafe void ShaderBinary(Int32 n, Int32* shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, IntPtr binary, Int32 length) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glShaderBinary((Int32)n, (UInt32*)shaders, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Load pre-compiled shader binaries + /// + /// + /// + /// Specifies the number of shader object handles contained in shaders. + /// + /// + /// + /// + /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries. + /// + /// + /// + /// + /// Specifies the format of the shader binaries contained in binary. + /// + /// + /// + /// + /// Specifies the address of an array of bytes containing pre-compiled binary shader code. + /// + /// + /// + /// + /// Specifies the length of the array whose address is given in binary. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")] + public static + unsafe void ShaderBinary(Int32 n, Int32* shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glShaderBinary((Int32)n, (UInt32*)shaders, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Load pre-compiled shader binaries + /// + /// + /// + /// Specifies the number of shader object handles contained in shaders. + /// + /// + /// + /// + /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries. + /// + /// + /// + /// + /// Specifies the format of the shader binaries contained in binary. + /// + /// + /// + /// + /// Specifies the address of an array of bytes containing pre-compiled binary shader code. + /// + /// + /// + /// + /// Specifies the length of the array whose address is given in binary. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")] + public static + unsafe void ShaderBinary(Int32 n, Int32* shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glShaderBinary((Int32)n, (UInt32*)shaders, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Load pre-compiled shader binaries + /// + /// + /// + /// Specifies the number of shader object handles contained in shaders. + /// + /// + /// + /// + /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries. + /// + /// + /// + /// + /// Specifies the format of the shader binaries contained in binary. + /// + /// + /// + /// + /// Specifies the address of an array of bytes containing pre-compiled binary shader code. + /// + /// + /// + /// + /// Specifies the length of the array whose address is given in binary. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")] + public static + unsafe void ShaderBinary(Int32 n, Int32* shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glShaderBinary((Int32)n, (UInt32*)shaders, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Load pre-compiled shader binaries + /// + /// + /// + /// Specifies the number of shader object handles contained in shaders. + /// + /// + /// + /// + /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries. + /// + /// + /// + /// + /// Specifies the format of the shader binaries contained in binary. + /// + /// + /// + /// + /// Specifies the address of an array of bytes containing pre-compiled binary shader code. + /// + /// + /// + /// + /// Specifies the length of the array whose address is given in binary. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")] + public static + unsafe void ShaderBinary(Int32 n, Int32* shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glShaderBinary((Int32)n, (UInt32*)shaders, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + binary = (T3)binary_ptr.Target; + } + finally + { + binary_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Load pre-compiled shader binaries + /// + /// + /// + /// Specifies the number of shader object handles contained in shaders. + /// + /// + /// + /// + /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries. + /// + /// + /// + /// + /// Specifies the format of the shader binaries contained in binary. + /// + /// + /// + /// + /// Specifies the address of an array of bytes containing pre-compiled binary shader code. + /// + /// + /// + /// + /// Specifies the length of the array whose address is given in binary. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")] + public static + void ShaderBinary(Int32 n, UInt32[] shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, IntPtr binary, Int32 length) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* shaders_ptr = shaders) + { + Delegates.glShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Load pre-compiled shader binaries + /// + /// + /// + /// Specifies the number of shader object handles contained in shaders. + /// + /// + /// + /// + /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries. + /// + /// + /// + /// + /// Specifies the format of the shader binaries contained in binary. + /// + /// + /// + /// + /// Specifies the address of an array of bytes containing pre-compiled binary shader code. + /// + /// + /// + /// + /// Specifies the length of the array whose address is given in binary. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")] + public static + void ShaderBinary(Int32 n, UInt32[] shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* shaders_ptr = shaders) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Load pre-compiled shader binaries + /// + /// + /// + /// Specifies the number of shader object handles contained in shaders. + /// + /// + /// + /// + /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries. + /// + /// + /// + /// + /// Specifies the format of the shader binaries contained in binary. + /// + /// + /// + /// + /// Specifies the address of an array of bytes containing pre-compiled binary shader code. + /// + /// + /// + /// + /// Specifies the length of the array whose address is given in binary. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")] + public static + void ShaderBinary(Int32 n, UInt32[] shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* shaders_ptr = shaders) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Load pre-compiled shader binaries + /// + /// + /// + /// Specifies the number of shader object handles contained in shaders. + /// + /// + /// + /// + /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries. + /// + /// + /// + /// + /// Specifies the format of the shader binaries contained in binary. + /// + /// + /// + /// + /// Specifies the address of an array of bytes containing pre-compiled binary shader code. + /// + /// + /// + /// + /// Specifies the length of the array whose address is given in binary. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")] + public static + void ShaderBinary(Int32 n, UInt32[] shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* shaders_ptr = shaders) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Load pre-compiled shader binaries + /// + /// + /// + /// Specifies the number of shader object handles contained in shaders. + /// + /// + /// + /// + /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries. + /// + /// + /// + /// + /// Specifies the format of the shader binaries contained in binary. + /// + /// + /// + /// + /// Specifies the address of an array of bytes containing pre-compiled binary shader code. + /// + /// + /// + /// + /// Specifies the length of the array whose address is given in binary. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")] + public static + void ShaderBinary(Int32 n, UInt32[] shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* shaders_ptr = shaders) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + binary = (T3)binary_ptr.Target; + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Load pre-compiled shader binaries + /// + /// + /// + /// Specifies the number of shader object handles contained in shaders. + /// + /// + /// + /// + /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries. + /// + /// + /// + /// + /// Specifies the format of the shader binaries contained in binary. + /// + /// + /// + /// + /// Specifies the address of an array of bytes containing pre-compiled binary shader code. + /// + /// + /// + /// + /// Specifies the length of the array whose address is given in binary. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")] + public static + void ShaderBinary(Int32 n, ref UInt32 shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, IntPtr binary, Int32 length) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* shaders_ptr = &shaders) + { + Delegates.glShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Load pre-compiled shader binaries + /// + /// + /// + /// Specifies the number of shader object handles contained in shaders. + /// + /// + /// + /// + /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries. + /// + /// + /// + /// + /// Specifies the format of the shader binaries contained in binary. + /// + /// + /// + /// + /// Specifies the address of an array of bytes containing pre-compiled binary shader code. + /// + /// + /// + /// + /// Specifies the length of the array whose address is given in binary. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")] + public static + void ShaderBinary(Int32 n, ref UInt32 shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* shaders_ptr = &shaders) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Load pre-compiled shader binaries + /// + /// + /// + /// Specifies the number of shader object handles contained in shaders. + /// + /// + /// + /// + /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries. + /// + /// + /// + /// + /// Specifies the format of the shader binaries contained in binary. + /// + /// + /// + /// + /// Specifies the address of an array of bytes containing pre-compiled binary shader code. + /// + /// + /// + /// + /// Specifies the length of the array whose address is given in binary. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")] + public static + void ShaderBinary(Int32 n, ref UInt32 shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* shaders_ptr = &shaders) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Load pre-compiled shader binaries + /// + /// + /// + /// Specifies the number of shader object handles contained in shaders. + /// + /// + /// + /// + /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries. + /// + /// + /// + /// + /// Specifies the format of the shader binaries contained in binary. + /// + /// + /// + /// + /// Specifies the address of an array of bytes containing pre-compiled binary shader code. + /// + /// + /// + /// + /// Specifies the length of the array whose address is given in binary. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")] + public static + void ShaderBinary(Int32 n, ref UInt32 shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* shaders_ptr = &shaders) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Load pre-compiled shader binaries + /// + /// + /// + /// Specifies the number of shader object handles contained in shaders. + /// + /// + /// + /// + /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries. + /// + /// + /// + /// + /// Specifies the format of the shader binaries contained in binary. + /// + /// + /// + /// + /// Specifies the address of an array of bytes containing pre-compiled binary shader code. + /// + /// + /// + /// + /// Specifies the length of the array whose address is given in binary. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")] + public static + void ShaderBinary(Int32 n, ref UInt32 shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* shaders_ptr = &shaders) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + binary = (T3)binary_ptr.Target; + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Load pre-compiled shader binaries + /// + /// + /// + /// Specifies the number of shader object handles contained in shaders. + /// + /// + /// + /// + /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries. + /// + /// + /// + /// + /// Specifies the format of the shader binaries contained in binary. + /// + /// + /// + /// + /// Specifies the address of an array of bytes containing pre-compiled binary shader code. + /// + /// + /// + /// + /// Specifies the length of the array whose address is given in binary. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")] + public static + unsafe void ShaderBinary(Int32 n, UInt32* shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, IntPtr binary, Int32 length) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glShaderBinary((Int32)n, (UInt32*)shaders, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Load pre-compiled shader binaries + /// + /// + /// + /// Specifies the number of shader object handles contained in shaders. + /// + /// + /// + /// + /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries. + /// + /// + /// + /// + /// Specifies the format of the shader binaries contained in binary. + /// + /// + /// + /// + /// Specifies the address of an array of bytes containing pre-compiled binary shader code. + /// + /// + /// + /// + /// Specifies the length of the array whose address is given in binary. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")] + public static + unsafe void ShaderBinary(Int32 n, UInt32* shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glShaderBinary((Int32)n, (UInt32*)shaders, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Load pre-compiled shader binaries + /// + /// + /// + /// Specifies the number of shader object handles contained in shaders. + /// + /// + /// + /// + /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries. + /// + /// + /// + /// + /// Specifies the format of the shader binaries contained in binary. + /// + /// + /// + /// + /// Specifies the address of an array of bytes containing pre-compiled binary shader code. + /// + /// + /// + /// + /// Specifies the length of the array whose address is given in binary. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")] + public static + unsafe void ShaderBinary(Int32 n, UInt32* shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glShaderBinary((Int32)n, (UInt32*)shaders, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Load pre-compiled shader binaries + /// + /// + /// + /// Specifies the number of shader object handles contained in shaders. + /// + /// + /// + /// + /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries. + /// + /// + /// + /// + /// Specifies the format of the shader binaries contained in binary. + /// + /// + /// + /// + /// Specifies the address of an array of bytes containing pre-compiled binary shader code. + /// + /// + /// + /// + /// Specifies the length of the array whose address is given in binary. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")] + public static + unsafe void ShaderBinary(Int32 n, UInt32* shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glShaderBinary((Int32)n, (UInt32*)shaders, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Load pre-compiled shader binaries + /// + /// + /// + /// Specifies the number of shader object handles contained in shaders. + /// + /// + /// + /// + /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries. + /// + /// + /// + /// + /// Specifies the format of the shader binaries contained in binary. + /// + /// + /// + /// + /// Specifies the address of an array of bytes containing pre-compiled binary shader code. + /// + /// + /// + /// + /// Specifies the length of the array whose address is given in binary. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")] + public static + unsafe void ShaderBinary(Int32 n, UInt32* shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glShaderBinary((Int32)n, (UInt32*)shaders, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + binary = (T3)binary_ptr.Target; + } + finally + { + binary_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glShaderSource")] + public static + void ShaderSource(Int32 shader, Int32 count, String[] @string, Int32[] length) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = length) + { + Delegates.glShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glShaderSource")] + public static + void ShaderSource(Int32 shader, Int32 count, String[] @string, ref Int32 length) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + { + Delegates.glShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glShaderSource")] + public static + unsafe void ShaderSource(Int32 shader, Int32 count, String[] @string, Int32* length) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glShaderSource")] + public static + void ShaderSource(UInt32 shader, Int32 count, String[] @string, Int32[] length) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = length) + { + Delegates.glShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glShaderSource")] + public static + void ShaderSource(UInt32 shader, Int32 count, String[] @string, ref Int32 length) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + { + Delegates.glShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glShaderSource")] + public static + unsafe void ShaderSource(UInt32 shader, Int32 count, String[] @string, Int32* length) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Set front and back function and reference value for stencil testing + /// + /// + /// + /// Specifies the test function. Eight symbolic constants are valid: GL_NEVER, GL_LESS, GL_LEQUAL, GL_GREATER, GL_GEQUAL, GL_EQUAL, GL_NOTEQUAL, and GL_ALWAYS. The initial value is GL_ALWAYS. + /// + /// + /// + /// + /// Specifies the reference value for the stencil test. ref is clamped to the range [0, 2 sup n - 1], where is the number of bitplanes in the stencil buffer. The initial value is 0. + /// + /// + /// + /// + /// Specifies a mask that is ANDed with both the reference value and the stored stencil value when the test is done. The initial value is all 1's. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glStencilFunc")] + public static + void StencilFunc(OpenTK.Graphics.ES20.StencilFunction func, Int32 @ref, Int32 mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glStencilFunc((OpenTK.Graphics.ES20.StencilFunction)func, (Int32)@ref, (UInt32)mask); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Set front and back function and reference value for stencil testing + /// + /// + /// + /// Specifies the test function. Eight symbolic constants are valid: GL_NEVER, GL_LESS, GL_LEQUAL, GL_GREATER, GL_GEQUAL, GL_EQUAL, GL_NOTEQUAL, and GL_ALWAYS. The initial value is GL_ALWAYS. + /// + /// + /// + /// + /// Specifies the reference value for the stencil test. ref is clamped to the range [0, 2 sup n - 1], where is the number of bitplanes in the stencil buffer. The initial value is 0. + /// + /// + /// + /// + /// Specifies a mask that is ANDed with both the reference value and the stored stencil value when the test is done. The initial value is all 1's. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glStencilFunc")] + public static + void StencilFunc(OpenTK.Graphics.ES20.StencilFunction func, Int32 @ref, UInt32 mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glStencilFunc((OpenTK.Graphics.ES20.StencilFunction)func, (Int32)@ref, (UInt32)mask); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glStencilFuncSeparate")] + public static + void StencilFuncSeparate(OpenTK.Graphics.ES20.CullFaceMode face, OpenTK.Graphics.ES20.StencilFunction func, Int32 @ref, Int32 mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glStencilFuncSeparate((OpenTK.Graphics.ES20.CullFaceMode)face, (OpenTK.Graphics.ES20.StencilFunction)func, (Int32)@ref, (UInt32)mask); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glStencilFuncSeparate")] + public static + void StencilFuncSeparate(OpenTK.Graphics.ES20.CullFaceMode face, OpenTK.Graphics.ES20.StencilFunction func, Int32 @ref, UInt32 mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glStencilFuncSeparate((OpenTK.Graphics.ES20.CullFaceMode)face, (OpenTK.Graphics.ES20.StencilFunction)func, (Int32)@ref, (UInt32)mask); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Control the front and back writing of individual bits in the stencil planes + /// + /// + /// + /// Specifies a bit mask to enable and disable writing of individual bits in the stencil planes. Initially, the mask is all 1's. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glStencilMask")] + public static + void StencilMask(Int32 mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glStencilMask((UInt32)mask); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Control the front and back writing of individual bits in the stencil planes + /// + /// + /// + /// Specifies a bit mask to enable and disable writing of individual bits in the stencil planes. Initially, the mask is all 1's. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glStencilMask")] + public static + void StencilMask(UInt32 mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glStencilMask((UInt32)mask); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Control the front and/or back writing of individual bits in the stencil planes + /// + /// + /// + /// Specifies whether the front and/or back stencil writemask is updated. Three symbolic constants are valid: GL_FRONT, GL_BACK, and GL_FRONT_AND_BACK. + /// + /// + /// + /// + /// Specifies a bit mask to enable and disable writing of individual bits in the stencil planes. Initially, the mask is all 1's. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glStencilMaskSeparate")] + public static + void StencilMaskSeparate(OpenTK.Graphics.ES20.CullFaceMode face, Int32 mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glStencilMaskSeparate((OpenTK.Graphics.ES20.CullFaceMode)face, (UInt32)mask); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Control the front and/or back writing of individual bits in the stencil planes + /// + /// + /// + /// Specifies whether the front and/or back stencil writemask is updated. Three symbolic constants are valid: GL_FRONT, GL_BACK, and GL_FRONT_AND_BACK. + /// + /// + /// + /// + /// Specifies a bit mask to enable and disable writing of individual bits in the stencil planes. Initially, the mask is all 1's. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glStencilMaskSeparate")] + public static + void StencilMaskSeparate(OpenTK.Graphics.ES20.CullFaceMode face, UInt32 mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glStencilMaskSeparate((OpenTK.Graphics.ES20.CullFaceMode)face, (UInt32)mask); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Set front and back stencil test actions + /// + /// + /// + /// Specifies the action to take when the stencil test fails. Eight symbolic constants are accepted: GL_KEEP, GL_ZERO, GL_REPLACE, GL_INCR, GL_INCR_WRAP, GL_DECR, GL_DECR_WRAP, and GL_INVERT. The initial value is GL_KEEP. + /// + /// + /// + /// + /// Specifies the stencil action when the stencil test passes, but the depth test fails. dpfail accepts the same symbolic constants as sfail. The initial value is GL_KEEP. + /// + /// + /// + /// + /// 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 = "2.0", Version = "2.0", EntryPoint = "glStencilOp")] + public static + void StencilOp(OpenTK.Graphics.ES20.StencilOp fail, OpenTK.Graphics.ES20.StencilOp zfail, OpenTK.Graphics.ES20.StencilOp zpass) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glStencilOp((OpenTK.Graphics.ES20.StencilOp)fail, (OpenTK.Graphics.ES20.StencilOp)zfail, (OpenTK.Graphics.ES20.StencilOp)zpass); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Set front and/or back stencil test actions + /// + /// + /// + /// 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 action to take when the stencil test fails. Eight symbolic constants are accepted: GL_KEEP, GL_ZERO, GL_REPLACE, GL_INCR, GL_INCR_WRAP, GL_DECR, GL_DECR_WRAP, and GL_INVERT. The initial value is GL_KEEP. + /// + /// + /// + /// + /// Specifies the stencil action when the stencil test passes, but the depth test fails. dpfail accepts the same symbolic constants as sfail. The initial value is GL_KEEP. + /// + /// + /// + /// + /// 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 = "2.0", Version = "2.0", EntryPoint = "glStencilOpSeparate")] + public static + void StencilOpSeparate(OpenTK.Graphics.ES20.CullFaceMode face, OpenTK.Graphics.ES20.StencilOp fail, OpenTK.Graphics.ES20.StencilOp zfail, OpenTK.Graphics.ES20.StencilOp zpass) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glStencilOpSeparate((OpenTK.Graphics.ES20.CullFaceMode)face, (OpenTK.Graphics.ES20.StencilOp)fail, (OpenTK.Graphics.ES20.StencilOp)zfail, (OpenTK.Graphics.ES20.StencilOp)zpass); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Specify a two-dimensional texture image + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, GL_TEXTURE_RECTANGLE, GL_PROXY_TEXTURE_RECTANGLE, 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. If target is GL_TEXTURE_RECTANGLE or GL_PROXY_TEXTURE_RECTANGLE, level must be 0. + /// + /// + /// + /// + /// Specifies the number of color components in the texture. Must be one of the following symbolic constants: GL_COMPRESSED_RED, GL_COMPRESSED_RG, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_COMPRESSED_SRGB, GL_COMPRESSED_SRGB_ALPHA, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_R3_G3_B2, GL_RED, GL_RG, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. + /// + /// + /// + /// + /// Specifies the width of the texture image. All implementations support texture images that are at least 1024 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image, or the number of layers in a texture array, in the case of the GL_TEXTURE_1D_ARRAY and GL_PROXY_TEXTURE_1D_ARRAY targets. All implementations support 2D texture images that are at least 1024 texels high, and texture arrays that are at least 256 layers deep. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glTexImage2D")] + public static + void TexImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, OpenTK.Graphics.ES20.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexImage2D((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES20.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Specify a two-dimensional texture image + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, GL_TEXTURE_RECTANGLE, GL_PROXY_TEXTURE_RECTANGLE, 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. If target is GL_TEXTURE_RECTANGLE or GL_PROXY_TEXTURE_RECTANGLE, level must be 0. + /// + /// + /// + /// + /// Specifies the number of color components in the texture. Must be one of the following symbolic constants: GL_COMPRESSED_RED, GL_COMPRESSED_RG, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_COMPRESSED_SRGB, GL_COMPRESSED_SRGB_ALPHA, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_R3_G3_B2, GL_RED, GL_RG, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. + /// + /// + /// + /// + /// Specifies the width of the texture image. All implementations support texture images that are at least 1024 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image, or the number of layers in a texture array, in the case of the GL_TEXTURE_1D_ARRAY and GL_PROXY_TEXTURE_1D_ARRAY targets. All implementations support 2D texture images that are at least 1024 texels high, and texture arrays that are at least 256 layers deep. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glTexImage2D")] + public static + void TexImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, OpenTK.Graphics.ES20.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] T8[] pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexImage2D((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES20.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Specify a two-dimensional texture image + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, GL_TEXTURE_RECTANGLE, GL_PROXY_TEXTURE_RECTANGLE, 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. If target is GL_TEXTURE_RECTANGLE or GL_PROXY_TEXTURE_RECTANGLE, level must be 0. + /// + /// + /// + /// + /// Specifies the number of color components in the texture. Must be one of the following symbolic constants: GL_COMPRESSED_RED, GL_COMPRESSED_RG, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_COMPRESSED_SRGB, GL_COMPRESSED_SRGB_ALPHA, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_R3_G3_B2, GL_RED, GL_RG, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. + /// + /// + /// + /// + /// Specifies the width of the texture image. All implementations support texture images that are at least 1024 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image, or the number of layers in a texture array, in the case of the GL_TEXTURE_1D_ARRAY and GL_PROXY_TEXTURE_1D_ARRAY targets. All implementations support 2D texture images that are at least 1024 texels high, and texture arrays that are at least 256 layers deep. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glTexImage2D")] + public static + void TexImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, OpenTK.Graphics.ES20.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] T8[,] pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexImage2D((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES20.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Specify a two-dimensional texture image + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, GL_TEXTURE_RECTANGLE, GL_PROXY_TEXTURE_RECTANGLE, 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. If target is GL_TEXTURE_RECTANGLE or GL_PROXY_TEXTURE_RECTANGLE, level must be 0. + /// + /// + /// + /// + /// Specifies the number of color components in the texture. Must be one of the following symbolic constants: GL_COMPRESSED_RED, GL_COMPRESSED_RG, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_COMPRESSED_SRGB, GL_COMPRESSED_SRGB_ALPHA, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_R3_G3_B2, GL_RED, GL_RG, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. + /// + /// + /// + /// + /// Specifies the width of the texture image. All implementations support texture images that are at least 1024 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image, or the number of layers in a texture array, in the case of the GL_TEXTURE_1D_ARRAY and GL_PROXY_TEXTURE_1D_ARRAY targets. All implementations support 2D texture images that are at least 1024 texels high, and texture arrays that are at least 256 layers deep. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glTexImage2D")] + public static + void TexImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, OpenTK.Graphics.ES20.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] T8[,,] pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexImage2D((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES20.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Specify a two-dimensional texture image + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, GL_TEXTURE_RECTANGLE, GL_PROXY_TEXTURE_RECTANGLE, 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. If target is GL_TEXTURE_RECTANGLE or GL_PROXY_TEXTURE_RECTANGLE, level must be 0. + /// + /// + /// + /// + /// Specifies the number of color components in the texture. Must be one of the following symbolic constants: GL_COMPRESSED_RED, GL_COMPRESSED_RG, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_COMPRESSED_SRGB, GL_COMPRESSED_SRGB_ALPHA, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_R3_G3_B2, GL_RED, GL_RG, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. + /// + /// + /// + /// + /// Specifies the width of the texture image. All implementations support texture images that are at least 1024 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image, or the number of layers in a texture array, in the case of the GL_TEXTURE_1D_ARRAY and GL_PROXY_TEXTURE_1D_ARRAY targets. All implementations support 2D texture images that are at least 1024 texels high, and texture arrays that are at least 256 layers deep. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glTexImage2D")] + public static + void TexImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, OpenTK.Graphics.ES20.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] ref T8 pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexImage2D((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES20.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + pixels = (T8)pixels_ptr.Target; + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Set texture parameters + /// + /// + /// + /// Specifies the target texture, which must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, or GL_TEXTURE_CUBE_MAP. + /// + /// + /// + /// + /// Specifies the symbolic name of a single-valued texture parameter. pname can be one of the following: GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, or GL_TEXTURE_WRAP_R. + /// + /// + /// + /// + /// Specifies the value of pname. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glTexParameterf")] + public static + void TexParameter(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.TextureParameterName pname, Single param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexParameterf((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.TextureParameterName)pname, (Single)param); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Set texture parameters + /// + /// + /// + /// Specifies the target texture, which must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, or GL_TEXTURE_CUBE_MAP. + /// + /// + /// + /// + /// Specifies the symbolic name of a single-valued texture parameter. pname can be one of the following: GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, or GL_TEXTURE_WRAP_R. + /// + /// + /// + /// + /// Specifies the value of pname. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glTexParameterfv")] + public static + void TexParameter(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.TextureParameterName pname, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glTexParameterfv((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.TextureParameterName)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Set texture parameters + /// + /// + /// + /// Specifies the target texture, which must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, or GL_TEXTURE_CUBE_MAP. + /// + /// + /// + /// + /// Specifies the symbolic name of a single-valued texture parameter. pname can be one of the following: GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, or GL_TEXTURE_WRAP_R. + /// + /// + /// + /// + /// Specifies the value of pname. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glTexParameterfv")] + public static + unsafe void TexParameter(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.TextureParameterName pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexParameterfv((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.TextureParameterName)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Set texture parameters + /// + /// + /// + /// Specifies the target texture, which must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, or GL_TEXTURE_CUBE_MAP. + /// + /// + /// + /// + /// Specifies the symbolic name of a single-valued texture parameter. pname can be one of the following: GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, or GL_TEXTURE_WRAP_R. + /// + /// + /// + /// + /// Specifies the value of pname. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glTexParameteri")] + public static + void TexParameter(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.TextureParameterName pname, Int32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexParameteri((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.TextureParameterName)pname, (Int32)param); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Set texture parameters + /// + /// + /// + /// Specifies the target texture, which must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, or GL_TEXTURE_CUBE_MAP. + /// + /// + /// + /// + /// Specifies the symbolic name of a single-valued texture parameter. pname can be one of the following: GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, or GL_TEXTURE_WRAP_R. + /// + /// + /// + /// + /// Specifies the value of pname. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glTexParameteriv")] + public static + void TexParameter(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.TextureParameterName pname, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glTexParameteriv((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.TextureParameterName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Set texture parameters + /// + /// + /// + /// Specifies the target texture, which must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, or GL_TEXTURE_CUBE_MAP. + /// + /// + /// + /// + /// Specifies the symbolic name of a single-valued texture parameter. pname can be one of the following: GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, or GL_TEXTURE_WRAP_R. + /// + /// + /// + /// + /// Specifies the value of pname. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glTexParameteriv")] + public static + unsafe void TexParameter(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.TextureParameterName pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexParameteriv((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.TextureParameterName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Specify a two-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glTexSubImage2D")] + public static + void TexSubImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexSubImage2D((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Specify a two-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glTexSubImage2D")] + public static + void TexSubImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] T8[] pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage2D((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Specify a two-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glTexSubImage2D")] + public static + void TexSubImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] T8[,] pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage2D((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Specify a two-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glTexSubImage2D")] + public static + void TexSubImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] T8[,,] pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage2D((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Specify a two-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glTexSubImage2D")] + public static + void TexSubImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] ref T8 pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage2D((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + pixels = (T8)pixels_ptr.Target; + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glUniform1f")] + public static + void Uniform1(Int32 location, Single x) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform1f((Int32)location, (Single)x); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glUniform1fv")] + public static + void Uniform1(Int32 location, Int32 count, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glUniform1fv((Int32)location, (Int32)count, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glUniform1fv")] + public static + void Uniform1(Int32 location, Int32 count, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glUniform1fv((Int32)location, (Int32)count, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniform1fv")] + public static + unsafe void Uniform1(Int32 location, Int32 count, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform1fv((Int32)location, (Int32)count, (Single*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glUniform1i")] + public static + void Uniform1(Int32 location, Int32 x) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform1i((Int32)location, (Int32)x); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glUniform1iv")] + public static + void Uniform1(Int32 location, Int32 count, Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glUniform1iv((Int32)location, (Int32)count, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glUniform1iv")] + public static + void Uniform1(Int32 location, Int32 count, ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glUniform1iv((Int32)location, (Int32)count, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniform1iv")] + public static + unsafe void Uniform1(Int32 location, Int32 count, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform1iv((Int32)location, (Int32)count, (Int32*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glUniform2f")] + public static + void Uniform2(Int32 location, Single x, Single y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform2f((Int32)location, (Single)x, (Single)y); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glUniform2fv")] + public static + void Uniform2(Int32 location, Int32 count, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glUniform2fv((Int32)location, (Int32)count, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glUniform2fv")] + public static + void Uniform2(Int32 location, Int32 count, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glUniform2fv((Int32)location, (Int32)count, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniform2fv")] + public static + unsafe void Uniform2(Int32 location, Int32 count, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform2fv((Int32)location, (Int32)count, (Single*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glUniform2i")] + public static + void Uniform2(Int32 location, Int32 x, Int32 y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform2i((Int32)location, (Int32)x, (Int32)y); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glUniform2iv")] + public static + void Uniform2(Int32 location, Int32 count, Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glUniform2iv((Int32)location, (Int32)count, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniform2iv")] + public static + unsafe void Uniform2(Int32 location, Int32 count, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform2iv((Int32)location, (Int32)count, (Int32*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glUniform3f")] + public static + void Uniform3(Int32 location, Single x, Single y, Single z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform3f((Int32)location, (Single)x, (Single)y, (Single)z); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glUniform3fv")] + public static + void Uniform3(Int32 location, Int32 count, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glUniform3fv((Int32)location, (Int32)count, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glUniform3fv")] + public static + void Uniform3(Int32 location, Int32 count, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glUniform3fv((Int32)location, (Int32)count, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniform3fv")] + public static + unsafe void Uniform3(Int32 location, Int32 count, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform3fv((Int32)location, (Int32)count, (Single*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glUniform3i")] + public static + void Uniform3(Int32 location, Int32 x, Int32 y, Int32 z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform3i((Int32)location, (Int32)x, (Int32)y, (Int32)z); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glUniform3iv")] + public static + void Uniform3(Int32 location, Int32 count, Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glUniform3iv((Int32)location, (Int32)count, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glUniform3iv")] + public static + void Uniform3(Int32 location, Int32 count, ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glUniform3iv((Int32)location, (Int32)count, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniform3iv")] + public static + unsafe void Uniform3(Int32 location, Int32 count, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform3iv((Int32)location, (Int32)count, (Int32*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glUniform4f")] + public static + void Uniform4(Int32 location, Single x, Single y, Single z, Single w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform4f((Int32)location, (Single)x, (Single)y, (Single)z, (Single)w); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glUniform4fv")] + public static + void Uniform4(Int32 location, Int32 count, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glUniform4fv((Int32)location, (Int32)count, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glUniform4fv")] + public static + void Uniform4(Int32 location, Int32 count, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glUniform4fv((Int32)location, (Int32)count, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniform4fv")] + public static + unsafe void Uniform4(Int32 location, Int32 count, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform4fv((Int32)location, (Int32)count, (Single*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glUniform4i")] + public static + void Uniform4(Int32 location, Int32 x, Int32 y, Int32 z, Int32 w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform4i((Int32)location, (Int32)x, (Int32)y, (Int32)z, (Int32)w); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glUniform4iv")] + public static + void Uniform4(Int32 location, Int32 count, Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glUniform4iv((Int32)location, (Int32)count, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glUniform4iv")] + public static + void Uniform4(Int32 location, Int32 count, ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glUniform4iv((Int32)location, (Int32)count, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniform4iv")] + public static + unsafe void Uniform4(Int32 location, Int32 count, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform4iv((Int32)location, (Int32)count, (Int32*)v); + #if DEBUG + } + #endif + } + + /// [requires: v2.0 and 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniformMatrix2fv")] + 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.glUniformMatrix2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v2.0 and 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniformMatrix2fv")] + public static + void UniformMatrix2(Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glUniformMatrix2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v2.0 and 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniformMatrix2fv")] + public static + unsafe void UniformMatrix2(Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniformMatrix2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + /// [requires: v2.0 and 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniformMatrix3fv")] + public static + void UniformMatrix3(Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glUniformMatrix3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v2.0 and 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniformMatrix3fv")] + public static + void UniformMatrix3(Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glUniformMatrix3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v2.0 and 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniformMatrix3fv")] + public static + unsafe void UniformMatrix3(Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniformMatrix3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + /// [requires: v2.0 and 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniformMatrix4fv")] + public static + void UniformMatrix4(Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glUniformMatrix4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v2.0 and 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniformMatrix4fv")] + public static + void UniformMatrix4(Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glUniformMatrix4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v2.0 and 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniformMatrix4fv")] + public static + unsafe void UniformMatrix4(Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniformMatrix4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Installs a program object as part of current rendering state + /// + /// + /// + /// Specifies the handle of the program object whose executables are to be used as part of current rendering state. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUseProgram")] + public static + void UseProgram(Int32 program) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUseProgram((UInt32)program); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Installs a program object as part of current rendering state + /// + /// + /// + /// Specifies the handle of the program object whose executables are to be used as part of current rendering state. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUseProgram")] + public static + void UseProgram(UInt32 program) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUseProgram((UInt32)program); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Validates a program object + /// + /// + /// + /// Specifies the handle of the program object to be validated. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glValidateProgram")] + public static + void ValidateProgram(Int32 program) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glValidateProgram((UInt32)program); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Validates a program object + /// + /// + /// + /// Specifies the handle of the program object to be validated. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glValidateProgram")] + public static + void ValidateProgram(UInt32 program) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glValidateProgram((UInt32)program); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib1f")] + public static + void VertexAttrib1(Int32 indx, Single x) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib1f((UInt32)indx, (Single)x); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib1f")] + public static + void VertexAttrib1(UInt32 indx, Single x) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib1f((UInt32)indx, (Single)x); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib1fv")] + public static + void VertexAttrib1(Int32 indx, Single[] values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* values_ptr = values) + { + Delegates.glVertexAttrib1fv((UInt32)indx, (Single*)values_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib1fv")] + public static + unsafe void VertexAttrib1(Int32 indx, Single* values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib1fv((UInt32)indx, (Single*)values); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib1fv")] + public static + void VertexAttrib1(UInt32 indx, Single[] values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* values_ptr = values) + { + Delegates.glVertexAttrib1fv((UInt32)indx, (Single*)values_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib1fv")] + public static + unsafe void VertexAttrib1(UInt32 indx, Single* values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib1fv((UInt32)indx, (Single*)values); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib2f")] + public static + void VertexAttrib2(Int32 indx, Single x, Single y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib2f((UInt32)indx, (Single)x, (Single)y); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib2f")] + public static + void VertexAttrib2(UInt32 indx, Single x, Single y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib2f((UInt32)indx, (Single)x, (Single)y); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] + public static + void VertexAttrib2(Int32 indx, Single[] values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* values_ptr = values) + { + Delegates.glVertexAttrib2fv((UInt32)indx, (Single*)values_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] + public static + void VertexAttrib2(Int32 indx, ref Single values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* values_ptr = &values) + { + Delegates.glVertexAttrib2fv((UInt32)indx, (Single*)values_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] + public static + unsafe void VertexAttrib2(Int32 indx, Single* values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib2fv((UInt32)indx, (Single*)values); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] + public static + void VertexAttrib2(UInt32 indx, Single[] values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* values_ptr = values) + { + Delegates.glVertexAttrib2fv((UInt32)indx, (Single*)values_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] + public static + void VertexAttrib2(UInt32 indx, ref Single values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* values_ptr = &values) + { + Delegates.glVertexAttrib2fv((UInt32)indx, (Single*)values_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] + public static + unsafe void VertexAttrib2(UInt32 indx, Single* values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib2fv((UInt32)indx, (Single*)values); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib3f")] + public static + void VertexAttrib3(Int32 indx, Single x, Single y, Single z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib3f((UInt32)indx, (Single)x, (Single)y, (Single)z); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib3f")] + public static + void VertexAttrib3(UInt32 indx, Single x, Single y, Single z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib3f((UInt32)indx, (Single)x, (Single)y, (Single)z); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] + public static + void VertexAttrib3(Int32 indx, Single[] values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* values_ptr = values) + { + Delegates.glVertexAttrib3fv((UInt32)indx, (Single*)values_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] + public static + void VertexAttrib3(Int32 indx, ref Single values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* values_ptr = &values) + { + Delegates.glVertexAttrib3fv((UInt32)indx, (Single*)values_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] + public static + unsafe void VertexAttrib3(Int32 indx, Single* values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib3fv((UInt32)indx, (Single*)values); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] + public static + void VertexAttrib3(UInt32 indx, Single[] values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* values_ptr = values) + { + Delegates.glVertexAttrib3fv((UInt32)indx, (Single*)values_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] + public static + void VertexAttrib3(UInt32 indx, ref Single values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* values_ptr = &values) + { + Delegates.glVertexAttrib3fv((UInt32)indx, (Single*)values_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] + public static + unsafe void VertexAttrib3(UInt32 indx, Single* values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib3fv((UInt32)indx, (Single*)values); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib4f")] + public static + void VertexAttrib4(Int32 indx, Single x, Single y, Single z, Single w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4f((UInt32)indx, (Single)x, (Single)y, (Single)z, (Single)w); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib4f")] + public static + void VertexAttrib4(UInt32 indx, Single x, Single y, Single z, Single w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4f((UInt32)indx, (Single)x, (Single)y, (Single)z, (Single)w); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] + public static + void VertexAttrib4(Int32 indx, Single[] values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* values_ptr = values) + { + Delegates.glVertexAttrib4fv((UInt32)indx, (Single*)values_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] + public static + void VertexAttrib4(Int32 indx, ref Single values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* values_ptr = &values) + { + Delegates.glVertexAttrib4fv((UInt32)indx, (Single*)values_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] + public static + unsafe void VertexAttrib4(Int32 indx, Single* values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4fv((UInt32)indx, (Single*)values); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] + public static + void VertexAttrib4(UInt32 indx, Single[] values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* values_ptr = values) + { + Delegates.glVertexAttrib4fv((UInt32)indx, (Single*)values_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] + public static + void VertexAttrib4(UInt32 indx, ref Single values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* values_ptr = &values) + { + Delegates.glVertexAttrib4fv((UInt32)indx, (Single*)values_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] + public static + unsafe void VertexAttrib4(UInt32 indx, Single* values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4fv((UInt32)indx, (Single*)values); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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, 4. Additionally, the symbolic constant GL_BGRA is accepted by glVertexAttribPointer. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. The symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, and GL_UNSIGNED_INT are accepted by both functions. Additionally GL_HALF_FLOAT, GL_FLOAT, GL_DOUBLE, GL_FIXED, GL_INT_2_10_10_10_REV, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted by glVertexAttribPointer. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// For glVertexAttribPointer, 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 offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the GL_ARRAY_BUFFER target. The initial value is 0. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] + public static + void VertexAttribPointer(Int32 indx, Int32 size, OpenTK.Graphics.ES20.VertexAttribPointerType type, bool normalized, Int32 stride, IntPtr ptr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribPointer((UInt32)indx, (Int32)size, (OpenTK.Graphics.ES20.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)ptr); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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, 4. Additionally, the symbolic constant GL_BGRA is accepted by glVertexAttribPointer. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. The symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, and GL_UNSIGNED_INT are accepted by both functions. Additionally GL_HALF_FLOAT, GL_FLOAT, GL_DOUBLE, GL_FIXED, GL_INT_2_10_10_10_REV, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted by glVertexAttribPointer. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// For glVertexAttribPointer, 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 offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the GL_ARRAY_BUFFER target. The initial value is 0. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] + public static + void VertexAttribPointer(Int32 indx, Int32 size, OpenTK.Graphics.ES20.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[] ptr) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribPointer((UInt32)indx, (Int32)size, (OpenTK.Graphics.ES20.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)ptr_ptr.AddrOfPinnedObject()); + } + finally + { + ptr_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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, 4. Additionally, the symbolic constant GL_BGRA is accepted by glVertexAttribPointer. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. The symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, and GL_UNSIGNED_INT are accepted by both functions. Additionally GL_HALF_FLOAT, GL_FLOAT, GL_DOUBLE, GL_FIXED, GL_INT_2_10_10_10_REV, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted by glVertexAttribPointer. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// For glVertexAttribPointer, 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 offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the GL_ARRAY_BUFFER target. The initial value is 0. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] + public static + void VertexAttribPointer(Int32 indx, Int32 size, OpenTK.Graphics.ES20.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,] ptr) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribPointer((UInt32)indx, (Int32)size, (OpenTK.Graphics.ES20.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)ptr_ptr.AddrOfPinnedObject()); + } + finally + { + ptr_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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, 4. Additionally, the symbolic constant GL_BGRA is accepted by glVertexAttribPointer. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. The symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, and GL_UNSIGNED_INT are accepted by both functions. Additionally GL_HALF_FLOAT, GL_FLOAT, GL_DOUBLE, GL_FIXED, GL_INT_2_10_10_10_REV, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted by glVertexAttribPointer. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// For glVertexAttribPointer, 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 offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the GL_ARRAY_BUFFER target. The initial value is 0. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] + public static + void VertexAttribPointer(Int32 indx, Int32 size, OpenTK.Graphics.ES20.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,,] ptr) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribPointer((UInt32)indx, (Int32)size, (OpenTK.Graphics.ES20.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)ptr_ptr.AddrOfPinnedObject()); + } + finally + { + ptr_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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, 4. Additionally, the symbolic constant GL_BGRA is accepted by glVertexAttribPointer. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. The symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, and GL_UNSIGNED_INT are accepted by both functions. Additionally GL_HALF_FLOAT, GL_FLOAT, GL_DOUBLE, GL_FIXED, GL_INT_2_10_10_10_REV, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted by glVertexAttribPointer. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// For glVertexAttribPointer, 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 offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the GL_ARRAY_BUFFER target. The initial value is 0. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] + public static + void VertexAttribPointer(Int32 indx, Int32 size, OpenTK.Graphics.ES20.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] ref T5 ptr) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribPointer((UInt32)indx, (Int32)size, (OpenTK.Graphics.ES20.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)ptr_ptr.AddrOfPinnedObject()); + ptr = (T5)ptr_ptr.Target; + } + finally + { + ptr_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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, 4. Additionally, the symbolic constant GL_BGRA is accepted by glVertexAttribPointer. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. The symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, and GL_UNSIGNED_INT are accepted by both functions. Additionally GL_HALF_FLOAT, GL_FLOAT, GL_DOUBLE, GL_FIXED, GL_INT_2_10_10_10_REV, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted by glVertexAttribPointer. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// For glVertexAttribPointer, 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 offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the GL_ARRAY_BUFFER target. The initial value is 0. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] + public static + void VertexAttribPointer(UInt32 indx, Int32 size, OpenTK.Graphics.ES20.VertexAttribPointerType type, bool normalized, Int32 stride, IntPtr ptr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribPointer((UInt32)indx, (Int32)size, (OpenTK.Graphics.ES20.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)ptr); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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, 4. Additionally, the symbolic constant GL_BGRA is accepted by glVertexAttribPointer. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. The symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, and GL_UNSIGNED_INT are accepted by both functions. Additionally GL_HALF_FLOAT, GL_FLOAT, GL_DOUBLE, GL_FIXED, GL_INT_2_10_10_10_REV, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted by glVertexAttribPointer. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// For glVertexAttribPointer, 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 offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the GL_ARRAY_BUFFER target. The initial value is 0. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] + public static + void VertexAttribPointer(UInt32 indx, Int32 size, OpenTK.Graphics.ES20.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[] ptr) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribPointer((UInt32)indx, (Int32)size, (OpenTK.Graphics.ES20.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)ptr_ptr.AddrOfPinnedObject()); + } + finally + { + ptr_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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, 4. Additionally, the symbolic constant GL_BGRA is accepted by glVertexAttribPointer. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. The symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, and GL_UNSIGNED_INT are accepted by both functions. Additionally GL_HALF_FLOAT, GL_FLOAT, GL_DOUBLE, GL_FIXED, GL_INT_2_10_10_10_REV, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted by glVertexAttribPointer. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// For glVertexAttribPointer, 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 offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the GL_ARRAY_BUFFER target. The initial value is 0. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] + public static + void VertexAttribPointer(UInt32 indx, Int32 size, OpenTK.Graphics.ES20.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,] ptr) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribPointer((UInt32)indx, (Int32)size, (OpenTK.Graphics.ES20.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)ptr_ptr.AddrOfPinnedObject()); + } + finally + { + ptr_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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, 4. Additionally, the symbolic constant GL_BGRA is accepted by glVertexAttribPointer. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. The symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, and GL_UNSIGNED_INT are accepted by both functions. Additionally GL_HALF_FLOAT, GL_FLOAT, GL_DOUBLE, GL_FIXED, GL_INT_2_10_10_10_REV, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted by glVertexAttribPointer. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// For glVertexAttribPointer, 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 offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the GL_ARRAY_BUFFER target. The initial value is 0. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] + public static + void VertexAttribPointer(UInt32 indx, Int32 size, OpenTK.Graphics.ES20.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,,] ptr) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribPointer((UInt32)indx, (Int32)size, (OpenTK.Graphics.ES20.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)ptr_ptr.AddrOfPinnedObject()); + } + finally + { + ptr_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// 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, 4. Additionally, the symbolic constant GL_BGRA is accepted by glVertexAttribPointer. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. The symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, and GL_UNSIGNED_INT are accepted by both functions. Additionally GL_HALF_FLOAT, GL_FLOAT, GL_DOUBLE, GL_FIXED, GL_INT_2_10_10_10_REV, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted by glVertexAttribPointer. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// For glVertexAttribPointer, 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 offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the GL_ARRAY_BUFFER target. The initial value is 0. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] + public static + void VertexAttribPointer(UInt32 indx, Int32 size, OpenTK.Graphics.ES20.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] ref T5 ptr) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribPointer((UInt32)indx, (Int32)size, (OpenTK.Graphics.ES20.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)ptr_ptr.AddrOfPinnedObject()); + ptr = (T5)ptr_ptr.Target; + } + finally + { + ptr_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and 2.0] + /// Set the viewport + /// + /// + /// + /// Specify the lower left corner of the viewport rectangle, in pixels. The initial value is (0,0). + /// + /// + /// + /// + /// Specify the width and height of the viewport. When a GL context is first attached to a window, width and height are set to the dimensions of that window. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glViewport")] + public static + void Viewport(Int32 x, Int32 y, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glViewport((Int32)x, (Int32)y, (Int32)width, (Int32)height); + #if DEBUG + } + #endif + } + + public static partial class Ext + { + /// [requires: 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDiscardFramebufferEXT")] + public static + void DiscardFramebuffer(OpenTK.Graphics.ES20.All target, Int32 numAttachments, OpenTK.Graphics.ES20.All[] attachments) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Graphics.ES20.All* attachments_ptr = attachments) + { + Delegates.glDiscardFramebufferEXT((OpenTK.Graphics.ES20.All)target, (Int32)numAttachments, (OpenTK.Graphics.ES20.All*)attachments_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDiscardFramebufferEXT")] + public static + void DiscardFramebuffer(OpenTK.Graphics.ES20.All target, Int32 numAttachments, ref OpenTK.Graphics.ES20.All attachments) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Graphics.ES20.All* attachments_ptr = &attachments) + { + Delegates.glDiscardFramebufferEXT((OpenTK.Graphics.ES20.All)target, (Int32)numAttachments, (OpenTK.Graphics.ES20.All*)attachments_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDiscardFramebufferEXT")] + public static + unsafe void DiscardFramebuffer(OpenTK.Graphics.ES20.All target, Int32 numAttachments, OpenTK.Graphics.ES20.All* attachments) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDiscardFramebufferEXT((OpenTK.Graphics.ES20.All)target, (Int32)numAttachments, (OpenTK.Graphics.ES20.All*)attachments); + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Render multiple sets of primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Points to an array of starting indices in the enabled arrays. + /// + /// + /// + /// + /// Points to an array of the number of indices to be rendered. + /// + /// + /// + /// + /// Specifies the size of the first and count + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glMultiDrawArraysEXT")] + public static + void MultiDrawArrays(OpenTK.Graphics.ES20.All mode, Int32[] first, Int32[] count, Int32 primcount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* first_ptr = first) + fixed (Int32* count_ptr = count) + { + Delegates.glMultiDrawArraysEXT((OpenTK.Graphics.ES20.All)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Render multiple sets of primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Points to an array of starting indices in the enabled arrays. + /// + /// + /// + /// + /// Points to an array of the number of indices to be rendered. + /// + /// + /// + /// + /// Specifies the size of the first and count + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glMultiDrawArraysEXT")] + public static + void MultiDrawArrays(OpenTK.Graphics.ES20.All mode, ref Int32 first, ref Int32 count, Int32 primcount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* first_ptr = &first) + fixed (Int32* count_ptr = &count) + { + Delegates.glMultiDrawArraysEXT((OpenTK.Graphics.ES20.All)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Render multiple sets of primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Points to an array of starting indices in the enabled arrays. + /// + /// + /// + /// + /// Points to an array of the number of indices to be rendered. + /// + /// + /// + /// + /// Specifies the size of the first and count + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glMultiDrawArraysEXT")] + public static + unsafe void MultiDrawArrays(OpenTK.Graphics.ES20.All mode, Int32* first, Int32* count, Int32 primcount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiDrawArraysEXT((OpenTK.Graphics.ES20.All)mode, (Int32*)first, (Int32*)count, (Int32)primcount); + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glMultiDrawElementsEXT")] + public static + void MultiDrawElements(OpenTK.Graphics.ES20.All mode, Int32[] first, OpenTK.Graphics.ES20.All type, IntPtr indices, Int32 primcount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* first_ptr = first) + { + Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES20.All)mode, (Int32*)first_ptr, (OpenTK.Graphics.ES20.All)type, (IntPtr)indices, (Int32)primcount); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glMultiDrawElementsEXT")] + public static + void MultiDrawElements(OpenTK.Graphics.ES20.All mode, Int32[] first, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* first_ptr = first) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES20.All)mode, (Int32*)first_ptr, (OpenTK.Graphics.ES20.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glMultiDrawElementsEXT")] + public static + void MultiDrawElements(OpenTK.Graphics.ES20.All mode, Int32[] first, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* first_ptr = first) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES20.All)mode, (Int32*)first_ptr, (OpenTK.Graphics.ES20.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glMultiDrawElementsEXT")] + public static + void MultiDrawElements(OpenTK.Graphics.ES20.All mode, Int32[] first, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* first_ptr = first) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES20.All)mode, (Int32*)first_ptr, (OpenTK.Graphics.ES20.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glMultiDrawElementsEXT")] + public static + void MultiDrawElements(OpenTK.Graphics.ES20.All mode, Int32[] first, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* first_ptr = first) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES20.All)mode, (Int32*)first_ptr, (OpenTK.Graphics.ES20.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + indices = (T3)indices_ptr.Target; + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glMultiDrawElementsEXT")] + public static + void MultiDrawElements(OpenTK.Graphics.ES20.All mode, ref Int32 first, OpenTK.Graphics.ES20.All type, IntPtr indices, Int32 primcount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* first_ptr = &first) + { + Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES20.All)mode, (Int32*)first_ptr, (OpenTK.Graphics.ES20.All)type, (IntPtr)indices, (Int32)primcount); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glMultiDrawElementsEXT")] + public static + void MultiDrawElements(OpenTK.Graphics.ES20.All mode, ref Int32 first, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* first_ptr = &first) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES20.All)mode, (Int32*)first_ptr, (OpenTK.Graphics.ES20.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glMultiDrawElementsEXT")] + public static + void MultiDrawElements(OpenTK.Graphics.ES20.All mode, ref Int32 first, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* first_ptr = &first) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES20.All)mode, (Int32*)first_ptr, (OpenTK.Graphics.ES20.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glMultiDrawElementsEXT")] + public static + void MultiDrawElements(OpenTK.Graphics.ES20.All mode, ref Int32 first, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* first_ptr = &first) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES20.All)mode, (Int32*)first_ptr, (OpenTK.Graphics.ES20.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glMultiDrawElementsEXT")] + public static + void MultiDrawElements(OpenTK.Graphics.ES20.All mode, ref Int32 first, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* first_ptr = &first) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES20.All)mode, (Int32*)first_ptr, (OpenTK.Graphics.ES20.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + indices = (T3)indices_ptr.Target; + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glMultiDrawElementsEXT")] + public static + unsafe void MultiDrawElements(OpenTK.Graphics.ES20.All mode, Int32* first, OpenTK.Graphics.ES20.All type, IntPtr indices, Int32 primcount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES20.All)mode, (Int32*)first, (OpenTK.Graphics.ES20.All)type, (IntPtr)indices, (Int32)primcount); + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glMultiDrawElementsEXT")] + public static + unsafe void MultiDrawElements(OpenTK.Graphics.ES20.All mode, Int32* first, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES20.All)mode, (Int32*)first, (OpenTK.Graphics.ES20.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glMultiDrawElementsEXT")] + public static + unsafe void MultiDrawElements(OpenTK.Graphics.ES20.All mode, Int32* first, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES20.All)mode, (Int32*)first, (OpenTK.Graphics.ES20.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glMultiDrawElementsEXT")] + public static + unsafe void MultiDrawElements(OpenTK.Graphics.ES20.All mode, Int32* first, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES20.All)mode, (Int32*)first, (OpenTK.Graphics.ES20.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glMultiDrawElementsEXT")] + public static + unsafe void MultiDrawElements(OpenTK.Graphics.ES20.All mode, Int32* first, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES20.All)mode, (Int32*)first, (OpenTK.Graphics.ES20.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + indices = (T3)indices_ptr.Target; + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + } + + public static partial class NV + { + /// [requires: 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glCoverageMaskNV")] + public static + void CoverageMask(bool mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCoverageMaskNV((bool)mask); + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glCoverageOperationNV")] + public static + void CoverageOperation(OpenTK.Graphics.ES20.All operation) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCoverageOperationNV((OpenTK.Graphics.ES20.All)operation); + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteFencesNV")] + public static + void DeleteFences(Int32 n, Int32[] fences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* fences_ptr = fences) + { + Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteFencesNV")] + public static + void DeleteFences(Int32 n, ref Int32 fences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* fences_ptr = &fences) + { + Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteFencesNV")] + public static + unsafe void DeleteFences(Int32 n, Int32* fences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences); + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteFencesNV")] + public static + void DeleteFences(Int32 n, UInt32[] fences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* fences_ptr = fences) + { + Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteFencesNV")] + public static + void DeleteFences(Int32 n, ref UInt32 fences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* fences_ptr = &fences) + { + Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteFencesNV")] + public static + unsafe void DeleteFences(Int32 n, UInt32* fences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences); + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glFinishFenceNV")] + public static + void FinishFence(Int32 fence) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFinishFenceNV((UInt32)fence); + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glFinishFenceNV")] + public static + void FinishFence(UInt32 fence) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFinishFenceNV((UInt32)fence); + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenFencesNV")] + public static + void GenFences(Int32 n, [OutAttribute] Int32[] fences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* fences_ptr = fences) + { + Delegates.glGenFencesNV((Int32)n, (UInt32*)fences_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenFencesNV")] + public static + void GenFences(Int32 n, [OutAttribute] out Int32 fences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* fences_ptr = &fences) + { + Delegates.glGenFencesNV((Int32)n, (UInt32*)fences_ptr); + fences = *fences_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenFencesNV")] + public static + unsafe void GenFences(Int32 n, [OutAttribute] Int32* fences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenFencesNV((Int32)n, (UInt32*)fences); + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenFencesNV")] + public static + void GenFences(Int32 n, [OutAttribute] UInt32[] fences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* fences_ptr = fences) + { + Delegates.glGenFencesNV((Int32)n, (UInt32*)fences_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenFencesNV")] + public static + void GenFences(Int32 n, [OutAttribute] out UInt32 fences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* fences_ptr = &fences) + { + Delegates.glGenFencesNV((Int32)n, (UInt32*)fences_ptr); + fences = *fences_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenFencesNV")] + public static + unsafe void GenFences(Int32 n, [OutAttribute] UInt32* fences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenFencesNV((Int32)n, (UInt32*)fences); + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetFenceivNV")] + public static + void GetFence(Int32 fence, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.ES20.All)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetFenceivNV")] + public static + void GetFence(Int32 fence, OpenTK.Graphics.ES20.All pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.ES20.All)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetFenceivNV")] + public static + unsafe void GetFence(Int32 fence, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.ES20.All)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetFenceivNV")] + public static + void GetFence(UInt32 fence, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.ES20.All)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetFenceivNV")] + public static + void GetFence(UInt32 fence, OpenTK.Graphics.ES20.All pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.ES20.All)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetFenceivNV")] + public static + unsafe void GetFence(UInt32 fence, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.ES20.All)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glIsFenceNV")] + public static + bool IsFence(Int32 fence) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsFenceNV((UInt32)fence); + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glIsFenceNV")] + public static + bool IsFence(UInt32 fence) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsFenceNV((UInt32)fence); + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glSetFenceNV")] + public static + void SetFence(Int32 fence, OpenTK.Graphics.ES20.All condition) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSetFenceNV((UInt32)fence, (OpenTK.Graphics.ES20.All)condition); + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glSetFenceNV")] + public static + void SetFence(UInt32 fence, OpenTK.Graphics.ES20.All condition) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSetFenceNV((UInt32)fence, (OpenTK.Graphics.ES20.All)condition); + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glTestFenceNV")] + public static + bool TestFence(Int32 fence) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glTestFenceNV((UInt32)fence); + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glTestFenceNV")] + public static + bool TestFence(UInt32 fence) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glTestFenceNV((UInt32)fence); + #if DEBUG + } + #endif + } + + } + + public static partial class Oes + { + + /// [requires: 2.0] + /// Bind a vertex array object + /// + /// + /// + /// Specifies the name of the vertex array to bind. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glBindVertexArrayOES")] + public static + void BindVertexArray(Int32 array) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindVertexArrayOES((UInt32)array); + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Bind a vertex array object + /// + /// + /// + /// Specifies the name of the vertex array to bind. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glBindVertexArrayOES")] + public static + void BindVertexArray(UInt32 array) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindVertexArrayOES((UInt32)array); + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Specify a three-dimensional texture image in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D, GL_PROXY_TEXTURE_3D, GL_TEXTURE_2D_ARRAY or GL_PROXY_TEXTURE_2D_ARRAY. + /// + /// + /// + /// + /// 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. All implementations support 3D texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image. All implementations support 3D texture images that are at least 16 texels high. + /// + /// + /// + /// + /// Specifies the depth of the texture image. All implementations support 3D texture images that are at least 16 texels deep. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// 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 = "2.0", Version = "2.0", EntryPoint = "glCompressedTexImage3DOES")] + public static + void CompressedTexImage3D(OpenTK.Graphics.ES20.All target, Int32 level, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedTexImage3DOES((OpenTK.Graphics.ES20.All)target, (Int32)level, (OpenTK.Graphics.ES20.All)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data); + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Specify a three-dimensional texture image in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D, GL_PROXY_TEXTURE_3D, GL_TEXTURE_2D_ARRAY or GL_PROXY_TEXTURE_2D_ARRAY. + /// + /// + /// + /// + /// 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. All implementations support 3D texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image. All implementations support 3D texture images that are at least 16 texels high. + /// + /// + /// + /// + /// Specifies the depth of the texture image. All implementations support 3D texture images that are at least 16 texels deep. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// 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 = "2.0", Version = "2.0", EntryPoint = "glCompressedTexImage3DOES")] + public static + void CompressedTexImage3D(OpenTK.Graphics.ES20.All target, Int32 level, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[] data) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexImage3DOES((OpenTK.Graphics.ES20.All)target, (Int32)level, (OpenTK.Graphics.ES20.All)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Specify a three-dimensional texture image in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D, GL_PROXY_TEXTURE_3D, GL_TEXTURE_2D_ARRAY or GL_PROXY_TEXTURE_2D_ARRAY. + /// + /// + /// + /// + /// 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. All implementations support 3D texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image. All implementations support 3D texture images that are at least 16 texels high. + /// + /// + /// + /// + /// Specifies the depth of the texture image. All implementations support 3D texture images that are at least 16 texels deep. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// 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 = "2.0", Version = "2.0", EntryPoint = "glCompressedTexImage3DOES")] + public static + void CompressedTexImage3D(OpenTK.Graphics.ES20.All target, Int32 level, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[,] data) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexImage3DOES((OpenTK.Graphics.ES20.All)target, (Int32)level, (OpenTK.Graphics.ES20.All)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Specify a three-dimensional texture image in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D, GL_PROXY_TEXTURE_3D, GL_TEXTURE_2D_ARRAY or GL_PROXY_TEXTURE_2D_ARRAY. + /// + /// + /// + /// + /// 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. All implementations support 3D texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image. All implementations support 3D texture images that are at least 16 texels high. + /// + /// + /// + /// + /// Specifies the depth of the texture image. All implementations support 3D texture images that are at least 16 texels deep. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// 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 = "2.0", Version = "2.0", EntryPoint = "glCompressedTexImage3DOES")] + public static + void CompressedTexImage3D(OpenTK.Graphics.ES20.All target, Int32 level, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[,,] data) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexImage3DOES((OpenTK.Graphics.ES20.All)target, (Int32)level, (OpenTK.Graphics.ES20.All)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Specify a three-dimensional texture image in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D, GL_PROXY_TEXTURE_3D, GL_TEXTURE_2D_ARRAY or GL_PROXY_TEXTURE_2D_ARRAY. + /// + /// + /// + /// + /// 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. All implementations support 3D texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image. All implementations support 3D texture images that are at least 16 texels high. + /// + /// + /// + /// + /// Specifies the depth of the texture image. All implementations support 3D texture images that are at least 16 texels deep. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// 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 = "2.0", Version = "2.0", EntryPoint = "glCompressedTexImage3DOES")] + public static + void CompressedTexImage3D(OpenTK.Graphics.ES20.All target, Int32 level, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T8 data) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexImage3DOES((OpenTK.Graphics.ES20.All)target, (Int32)level, (OpenTK.Graphics.ES20.All)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + data = (T8)data_ptr.Target; + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glCompressedTexSubImage3DOES")] + public static + void CompressedTexSubImage3D(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, Int32 imageSize, IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedTexSubImage3DOES((OpenTK.Graphics.ES20.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES20.All)format, (Int32)imageSize, (IntPtr)data); + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glCompressedTexSubImage3DOES")] + public static + void CompressedTexSubImage3D(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, Int32 imageSize, [InAttribute, OutAttribute] T10[] data) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexSubImage3DOES((OpenTK.Graphics.ES20.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES20.All)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glCompressedTexSubImage3DOES")] + public static + void CompressedTexSubImage3D(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, Int32 imageSize, [InAttribute, OutAttribute] T10[,] data) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexSubImage3DOES((OpenTK.Graphics.ES20.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES20.All)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glCompressedTexSubImage3DOES")] + public static + void CompressedTexSubImage3D(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, Int32 imageSize, [InAttribute, OutAttribute] T10[,,] data) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexSubImage3DOES((OpenTK.Graphics.ES20.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES20.All)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// 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 = "2.0", Version = "2.0", EntryPoint = "glCompressedTexSubImage3DOES")] + public static + void CompressedTexSubImage3D(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, Int32 imageSize, [InAttribute, OutAttribute] ref T10 data) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexSubImage3DOES((OpenTK.Graphics.ES20.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES20.All)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + data = (T10)data_ptr.Target; + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Copy a three-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the z direction within the texture array. + /// + /// + /// + /// + /// Specify the window coordinates of the lower left corner of the rectangular region of pixels to be copied. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glCopyTexSubImage3DOES")] + public static + void CopyTexSubImage3D(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCopyTexSubImage3DOES((OpenTK.Graphics.ES20.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Delete vertex array objects + /// + /// + /// + /// Specifies the number of vertex array objects to be deleted. + /// + /// + /// + /// + /// Specifies the address of an array containing the n names of the objects to be deleted. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteVertexArraysOES")] + public static + void DeleteVertexArrays(Int32 n, Int32[] arrays) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* arrays_ptr = arrays) + { + Delegates.glDeleteVertexArraysOES((Int32)n, (UInt32*)arrays_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Delete vertex array objects + /// + /// + /// + /// Specifies the number of vertex array objects to be deleted. + /// + /// + /// + /// + /// Specifies the address of an array containing the n names of the objects to be deleted. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteVertexArraysOES")] + public static + void DeleteVertexArrays(Int32 n, ref Int32 arrays) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* arrays_ptr = &arrays) + { + Delegates.glDeleteVertexArraysOES((Int32)n, (UInt32*)arrays_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Delete vertex array objects + /// + /// + /// + /// Specifies the number of vertex array objects to be deleted. + /// + /// + /// + /// + /// Specifies the address of an array containing the n names of the objects to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteVertexArraysOES")] + public static + unsafe void DeleteVertexArrays(Int32 n, Int32* arrays) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteVertexArraysOES((Int32)n, (UInt32*)arrays); + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Delete vertex array objects + /// + /// + /// + /// Specifies the number of vertex array objects to be deleted. + /// + /// + /// + /// + /// Specifies the address of an array containing the n names of the objects to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteVertexArraysOES")] + public static + void DeleteVertexArrays(Int32 n, UInt32[] arrays) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* arrays_ptr = arrays) + { + Delegates.glDeleteVertexArraysOES((Int32)n, (UInt32*)arrays_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Delete vertex array objects + /// + /// + /// + /// Specifies the number of vertex array objects to be deleted. + /// + /// + /// + /// + /// Specifies the address of an array containing the n names of the objects to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteVertexArraysOES")] + public static + void DeleteVertexArrays(Int32 n, ref UInt32 arrays) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* arrays_ptr = &arrays) + { + Delegates.glDeleteVertexArraysOES((Int32)n, (UInt32*)arrays_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Delete vertex array objects + /// + /// + /// + /// Specifies the number of vertex array objects to be deleted. + /// + /// + /// + /// + /// Specifies the address of an array containing the n names of the objects to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteVertexArraysOES")] + public static + unsafe void DeleteVertexArrays(Int32 n, UInt32* arrays) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteVertexArraysOES((Int32)n, (UInt32*)arrays); + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glEGLImageTargetRenderbufferStorageOES")] + public static + void EGLImageTargetRenderbufferStorage(OpenTK.Graphics.ES20.All target, IntPtr image) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEGLImageTargetRenderbufferStorageOES((OpenTK.Graphics.ES20.All)target, (IntPtr)image); + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glEGLImageTargetTexture2DOES")] + public static + void EGLImageTargetTexture2D(OpenTK.Graphics.ES20.All target, IntPtr image) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEGLImageTargetTexture2DOES((OpenTK.Graphics.ES20.All)target, (IntPtr)image); + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glFramebufferTexture3DOES")] + public static + void FramebufferTexture3D(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.All textarget, Int32 texture, Int32 level, Int32 zoffset) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferTexture3DOES((OpenTK.Graphics.ES20.All)target, (OpenTK.Graphics.ES20.All)attachment, (OpenTK.Graphics.ES20.All)textarget, (UInt32)texture, (Int32)level, (Int32)zoffset); + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glFramebufferTexture3DOES")] + public static + void FramebufferTexture3D(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.All textarget, UInt32 texture, Int32 level, Int32 zoffset) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferTexture3DOES((OpenTK.Graphics.ES20.All)target, (OpenTK.Graphics.ES20.All)attachment, (OpenTK.Graphics.ES20.All)textarget, (UInt32)texture, (Int32)level, (Int32)zoffset); + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Generate vertex array object names + /// + /// + /// + /// Specifies the number of vertex array object names to generate. + /// + /// + /// + /// + /// Specifies an array in which the generated vertex array object names are stored. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenVertexArraysOES")] + public static + void GenVertexArrays(Int32 n, [OutAttribute] Int32[] arrays) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* arrays_ptr = arrays) + { + Delegates.glGenVertexArraysOES((Int32)n, (UInt32*)arrays_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Generate vertex array object names + /// + /// + /// + /// Specifies the number of vertex array object names to generate. + /// + /// + /// + /// + /// Specifies an array in which the generated vertex array object names are stored. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenVertexArraysOES")] + public static + void GenVertexArrays(Int32 n, [OutAttribute] out Int32 arrays) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* arrays_ptr = &arrays) + { + Delegates.glGenVertexArraysOES((Int32)n, (UInt32*)arrays_ptr); + arrays = *arrays_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Generate vertex array object names + /// + /// + /// + /// Specifies the number of vertex array object names to generate. + /// + /// + /// + /// + /// Specifies an array in which the generated vertex array object names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenVertexArraysOES")] + public static + unsafe void GenVertexArrays(Int32 n, [OutAttribute] Int32* arrays) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenVertexArraysOES((Int32)n, (UInt32*)arrays); + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Generate vertex array object names + /// + /// + /// + /// Specifies the number of vertex array object names to generate. + /// + /// + /// + /// + /// Specifies an array in which the generated vertex array object names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenVertexArraysOES")] + public static + void GenVertexArrays(Int32 n, [OutAttribute] UInt32[] arrays) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* arrays_ptr = arrays) + { + Delegates.glGenVertexArraysOES((Int32)n, (UInt32*)arrays_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Generate vertex array object names + /// + /// + /// + /// Specifies the number of vertex array object names to generate. + /// + /// + /// + /// + /// Specifies an array in which the generated vertex array object names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenVertexArraysOES")] + public static + void GenVertexArrays(Int32 n, [OutAttribute] out UInt32 arrays) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* arrays_ptr = &arrays) + { + Delegates.glGenVertexArraysOES((Int32)n, (UInt32*)arrays_ptr); + arrays = *arrays_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Generate vertex array object names + /// + /// + /// + /// Specifies the number of vertex array object names to generate. + /// + /// + /// + /// + /// Specifies an array in which the generated vertex array object names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenVertexArraysOES")] + public static + unsafe void GenVertexArrays(Int32 n, [OutAttribute] UInt32* arrays) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenVertexArraysOES((Int32)n, (UInt32*)arrays); + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetBufferPointervOES")] + public static + void GetBufferPointer(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, [OutAttribute] IntPtr @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetBufferPointervOES((OpenTK.Graphics.ES20.All)target, (OpenTK.Graphics.ES20.All)pname, (IntPtr)@params); + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetBufferPointervOES")] + public static + void GetBufferPointer(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] T2[] @params) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetBufferPointervOES((OpenTK.Graphics.ES20.All)target, (OpenTK.Graphics.ES20.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetBufferPointervOES")] + public static + void GetBufferPointer(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] T2[,] @params) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetBufferPointervOES((OpenTK.Graphics.ES20.All)target, (OpenTK.Graphics.ES20.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetBufferPointervOES")] + public static + void GetBufferPointer(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] T2[,,] @params) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetBufferPointervOES((OpenTK.Graphics.ES20.All)target, (OpenTK.Graphics.ES20.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetBufferPointervOES")] + public static + void GetBufferPointer(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] ref T2 @params) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetBufferPointervOES((OpenTK.Graphics.ES20.All)target, (OpenTK.Graphics.ES20.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + @params = (T2)@params_ptr.Target; + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Return a binary representation of a program object's compiled and linked executable source + /// + /// + /// + /// Specifies the name of a program object whose binary representation to retrieve. + /// + /// + /// + /// + /// Specifies the size of the buffer whose address is given by binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive the number of bytes written into binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive a token indicating the format of the binary data returned by the GL. + /// + /// + /// + /// + /// Specifies the address an array into which the GL will return program's binary representation. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramBinaryOES")] + public static + void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] OpenTK.Graphics.ES20.All[] binaryFormat, [OutAttribute] IntPtr binary) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = length) + fixed (OpenTK.Graphics.ES20.All* binaryFormat_ptr = binaryFormat) + { + Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES20.All*)binaryFormat_ptr, (IntPtr)binary); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Return a binary representation of a program object's compiled and linked executable source + /// + /// + /// + /// Specifies the name of a program object whose binary representation to retrieve. + /// + /// + /// + /// + /// Specifies the size of the buffer whose address is given by binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive the number of bytes written into binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive a token indicating the format of the binary data returned by the GL. + /// + /// + /// + /// + /// Specifies the address an array into which the GL will return program's binary representation. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramBinaryOES")] + public static + void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] OpenTK.Graphics.ES20.All[] binaryFormat, [InAttribute, OutAttribute] T4[] binary) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = length) + fixed (OpenTK.Graphics.ES20.All* binaryFormat_ptr = binaryFormat) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES20.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Return a binary representation of a program object's compiled and linked executable source + /// + /// + /// + /// Specifies the name of a program object whose binary representation to retrieve. + /// + /// + /// + /// + /// Specifies the size of the buffer whose address is given by binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive the number of bytes written into binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive a token indicating the format of the binary data returned by the GL. + /// + /// + /// + /// + /// Specifies the address an array into which the GL will return program's binary representation. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramBinaryOES")] + public static + void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] OpenTK.Graphics.ES20.All[] binaryFormat, [InAttribute, OutAttribute] T4[,] binary) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = length) + fixed (OpenTK.Graphics.ES20.All* binaryFormat_ptr = binaryFormat) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES20.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Return a binary representation of a program object's compiled and linked executable source + /// + /// + /// + /// Specifies the name of a program object whose binary representation to retrieve. + /// + /// + /// + /// + /// Specifies the size of the buffer whose address is given by binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive the number of bytes written into binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive a token indicating the format of the binary data returned by the GL. + /// + /// + /// + /// + /// Specifies the address an array into which the GL will return program's binary representation. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramBinaryOES")] + public static + void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] OpenTK.Graphics.ES20.All[] binaryFormat, [InAttribute, OutAttribute] T4[,,] binary) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = length) + fixed (OpenTK.Graphics.ES20.All* binaryFormat_ptr = binaryFormat) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES20.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Return a binary representation of a program object's compiled and linked executable source + /// + /// + /// + /// Specifies the name of a program object whose binary representation to retrieve. + /// + /// + /// + /// + /// Specifies the size of the buffer whose address is given by binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive the number of bytes written into binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive a token indicating the format of the binary data returned by the GL. + /// + /// + /// + /// + /// Specifies the address an array into which the GL will return program's binary representation. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramBinaryOES")] + public static + void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] OpenTK.Graphics.ES20.All[] binaryFormat, [InAttribute, OutAttribute] ref T4 binary) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = length) + fixed (OpenTK.Graphics.ES20.All* binaryFormat_ptr = binaryFormat) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES20.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); + binary = (T4)binary_ptr.Target; + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Return a binary representation of a program object's compiled and linked executable source + /// + /// + /// + /// Specifies the name of a program object whose binary representation to retrieve. + /// + /// + /// + /// + /// Specifies the size of the buffer whose address is given by binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive the number of bytes written into binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive a token indicating the format of the binary data returned by the GL. + /// + /// + /// + /// + /// Specifies the address an array into which the GL will return program's binary representation. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramBinaryOES")] + public static + void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES20.All binaryFormat, [OutAttribute] IntPtr binary) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + fixed (OpenTK.Graphics.ES20.All* binaryFormat_ptr = &binaryFormat) + { + Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES20.All*)binaryFormat_ptr, (IntPtr)binary); + length = *length_ptr; + binaryFormat = *binaryFormat_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Return a binary representation of a program object's compiled and linked executable source + /// + /// + /// + /// Specifies the name of a program object whose binary representation to retrieve. + /// + /// + /// + /// + /// Specifies the size of the buffer whose address is given by binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive the number of bytes written into binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive a token indicating the format of the binary data returned by the GL. + /// + /// + /// + /// + /// Specifies the address an array into which the GL will return program's binary representation. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramBinaryOES")] + public static + void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES20.All binaryFormat, [InAttribute, OutAttribute] T4[] binary) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + fixed (OpenTK.Graphics.ES20.All* binaryFormat_ptr = &binaryFormat) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES20.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); + length = *length_ptr; + binaryFormat = *binaryFormat_ptr; + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Return a binary representation of a program object's compiled and linked executable source + /// + /// + /// + /// Specifies the name of a program object whose binary representation to retrieve. + /// + /// + /// + /// + /// Specifies the size of the buffer whose address is given by binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive the number of bytes written into binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive a token indicating the format of the binary data returned by the GL. + /// + /// + /// + /// + /// Specifies the address an array into which the GL will return program's binary representation. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramBinaryOES")] + public static + void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES20.All binaryFormat, [InAttribute, OutAttribute] T4[,] binary) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + fixed (OpenTK.Graphics.ES20.All* binaryFormat_ptr = &binaryFormat) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES20.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); + length = *length_ptr; + binaryFormat = *binaryFormat_ptr; + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Return a binary representation of a program object's compiled and linked executable source + /// + /// + /// + /// Specifies the name of a program object whose binary representation to retrieve. + /// + /// + /// + /// + /// Specifies the size of the buffer whose address is given by binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive the number of bytes written into binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive a token indicating the format of the binary data returned by the GL. + /// + /// + /// + /// + /// Specifies the address an array into which the GL will return program's binary representation. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramBinaryOES")] + public static + void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES20.All binaryFormat, [InAttribute, OutAttribute] T4[,,] binary) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + fixed (OpenTK.Graphics.ES20.All* binaryFormat_ptr = &binaryFormat) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES20.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); + length = *length_ptr; + binaryFormat = *binaryFormat_ptr; + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Return a binary representation of a program object's compiled and linked executable source + /// + /// + /// + /// Specifies the name of a program object whose binary representation to retrieve. + /// + /// + /// + /// + /// Specifies the size of the buffer whose address is given by binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive the number of bytes written into binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive a token indicating the format of the binary data returned by the GL. + /// + /// + /// + /// + /// Specifies the address an array into which the GL will return program's binary representation. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramBinaryOES")] + public static + void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES20.All binaryFormat, [InAttribute, OutAttribute] ref T4 binary) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + fixed (OpenTK.Graphics.ES20.All* binaryFormat_ptr = &binaryFormat) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES20.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); + length = *length_ptr; + binaryFormat = *binaryFormat_ptr; + binary = (T4)binary_ptr.Target; + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Return a binary representation of a program object's compiled and linked executable source + /// + /// + /// + /// Specifies the name of a program object whose binary representation to retrieve. + /// + /// + /// + /// + /// Specifies the size of the buffer whose address is given by binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive the number of bytes written into binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive a token indicating the format of the binary data returned by the GL. + /// + /// + /// + /// + /// Specifies the address an array into which the GL will return program's binary representation. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramBinaryOES")] + public static + unsafe void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES20.All* binaryFormat, [OutAttribute] IntPtr binary) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.ES20.All*)binaryFormat, (IntPtr)binary); + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Return a binary representation of a program object's compiled and linked executable source + /// + /// + /// + /// Specifies the name of a program object whose binary representation to retrieve. + /// + /// + /// + /// + /// Specifies the size of the buffer whose address is given by binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive the number of bytes written into binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive a token indicating the format of the binary data returned by the GL. + /// + /// + /// + /// + /// Specifies the address an array into which the GL will return program's binary representation. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramBinaryOES")] + public static + unsafe void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES20.All* binaryFormat, [InAttribute, OutAttribute] T4[] binary) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.ES20.All*)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject()); + } + finally + { + binary_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Return a binary representation of a program object's compiled and linked executable source + /// + /// + /// + /// Specifies the name of a program object whose binary representation to retrieve. + /// + /// + /// + /// + /// Specifies the size of the buffer whose address is given by binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive the number of bytes written into binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive a token indicating the format of the binary data returned by the GL. + /// + /// + /// + /// + /// Specifies the address an array into which the GL will return program's binary representation. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramBinaryOES")] + public static + unsafe void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES20.All* binaryFormat, [InAttribute, OutAttribute] T4[,] binary) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.ES20.All*)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject()); + } + finally + { + binary_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Return a binary representation of a program object's compiled and linked executable source + /// + /// + /// + /// Specifies the name of a program object whose binary representation to retrieve. + /// + /// + /// + /// + /// Specifies the size of the buffer whose address is given by binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive the number of bytes written into binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive a token indicating the format of the binary data returned by the GL. + /// + /// + /// + /// + /// Specifies the address an array into which the GL will return program's binary representation. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramBinaryOES")] + public static + unsafe void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES20.All* binaryFormat, [InAttribute, OutAttribute] T4[,,] binary) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.ES20.All*)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject()); + } + finally + { + binary_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Return a binary representation of a program object's compiled and linked executable source + /// + /// + /// + /// Specifies the name of a program object whose binary representation to retrieve. + /// + /// + /// + /// + /// Specifies the size of the buffer whose address is given by binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive the number of bytes written into binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive a token indicating the format of the binary data returned by the GL. + /// + /// + /// + /// + /// Specifies the address an array into which the GL will return program's binary representation. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramBinaryOES")] + public static + unsafe void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES20.All* binaryFormat, [InAttribute, OutAttribute] ref T4 binary) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.ES20.All*)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject()); + binary = (T4)binary_ptr.Target; + } + finally + { + binary_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Return a binary representation of a program object's compiled and linked executable source + /// + /// + /// + /// Specifies the name of a program object whose binary representation to retrieve. + /// + /// + /// + /// + /// Specifies the size of the buffer whose address is given by binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive the number of bytes written into binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive a token indicating the format of the binary data returned by the GL. + /// + /// + /// + /// + /// Specifies the address an array into which the GL will return program's binary representation. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramBinaryOES")] + public static + void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] OpenTK.Graphics.ES20.All[] binaryFormat, [OutAttribute] IntPtr binary) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = length) + fixed (OpenTK.Graphics.ES20.All* binaryFormat_ptr = binaryFormat) + { + Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES20.All*)binaryFormat_ptr, (IntPtr)binary); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Return a binary representation of a program object's compiled and linked executable source + /// + /// + /// + /// Specifies the name of a program object whose binary representation to retrieve. + /// + /// + /// + /// + /// Specifies the size of the buffer whose address is given by binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive the number of bytes written into binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive a token indicating the format of the binary data returned by the GL. + /// + /// + /// + /// + /// Specifies the address an array into which the GL will return program's binary representation. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramBinaryOES")] + public static + void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] OpenTK.Graphics.ES20.All[] binaryFormat, [InAttribute, OutAttribute] T4[] binary) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = length) + fixed (OpenTK.Graphics.ES20.All* binaryFormat_ptr = binaryFormat) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES20.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Return a binary representation of a program object's compiled and linked executable source + /// + /// + /// + /// Specifies the name of a program object whose binary representation to retrieve. + /// + /// + /// + /// + /// Specifies the size of the buffer whose address is given by binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive the number of bytes written into binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive a token indicating the format of the binary data returned by the GL. + /// + /// + /// + /// + /// Specifies the address an array into which the GL will return program's binary representation. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramBinaryOES")] + public static + void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] OpenTK.Graphics.ES20.All[] binaryFormat, [InAttribute, OutAttribute] T4[,] binary) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = length) + fixed (OpenTK.Graphics.ES20.All* binaryFormat_ptr = binaryFormat) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES20.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Return a binary representation of a program object's compiled and linked executable source + /// + /// + /// + /// Specifies the name of a program object whose binary representation to retrieve. + /// + /// + /// + /// + /// Specifies the size of the buffer whose address is given by binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive the number of bytes written into binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive a token indicating the format of the binary data returned by the GL. + /// + /// + /// + /// + /// Specifies the address an array into which the GL will return program's binary representation. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramBinaryOES")] + public static + void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] OpenTK.Graphics.ES20.All[] binaryFormat, [InAttribute, OutAttribute] T4[,,] binary) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = length) + fixed (OpenTK.Graphics.ES20.All* binaryFormat_ptr = binaryFormat) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES20.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Return a binary representation of a program object's compiled and linked executable source + /// + /// + /// + /// Specifies the name of a program object whose binary representation to retrieve. + /// + /// + /// + /// + /// Specifies the size of the buffer whose address is given by binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive the number of bytes written into binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive a token indicating the format of the binary data returned by the GL. + /// + /// + /// + /// + /// Specifies the address an array into which the GL will return program's binary representation. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramBinaryOES")] + public static + void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] OpenTK.Graphics.ES20.All[] binaryFormat, [InAttribute, OutAttribute] ref T4 binary) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = length) + fixed (OpenTK.Graphics.ES20.All* binaryFormat_ptr = binaryFormat) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES20.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); + binary = (T4)binary_ptr.Target; + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Return a binary representation of a program object's compiled and linked executable source + /// + /// + /// + /// Specifies the name of a program object whose binary representation to retrieve. + /// + /// + /// + /// + /// Specifies the size of the buffer whose address is given by binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive the number of bytes written into binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive a token indicating the format of the binary data returned by the GL. + /// + /// + /// + /// + /// Specifies the address an array into which the GL will return program's binary representation. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramBinaryOES")] + public static + void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES20.All binaryFormat, [OutAttribute] IntPtr binary) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + fixed (OpenTK.Graphics.ES20.All* binaryFormat_ptr = &binaryFormat) + { + Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES20.All*)binaryFormat_ptr, (IntPtr)binary); + length = *length_ptr; + binaryFormat = *binaryFormat_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Return a binary representation of a program object's compiled and linked executable source + /// + /// + /// + /// Specifies the name of a program object whose binary representation to retrieve. + /// + /// + /// + /// + /// Specifies the size of the buffer whose address is given by binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive the number of bytes written into binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive a token indicating the format of the binary data returned by the GL. + /// + /// + /// + /// + /// Specifies the address an array into which the GL will return program's binary representation. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramBinaryOES")] + public static + void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES20.All binaryFormat, [InAttribute, OutAttribute] T4[] binary) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + fixed (OpenTK.Graphics.ES20.All* binaryFormat_ptr = &binaryFormat) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES20.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); + length = *length_ptr; + binaryFormat = *binaryFormat_ptr; + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Return a binary representation of a program object's compiled and linked executable source + /// + /// + /// + /// Specifies the name of a program object whose binary representation to retrieve. + /// + /// + /// + /// + /// Specifies the size of the buffer whose address is given by binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive the number of bytes written into binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive a token indicating the format of the binary data returned by the GL. + /// + /// + /// + /// + /// Specifies the address an array into which the GL will return program's binary representation. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramBinaryOES")] + public static + void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES20.All binaryFormat, [InAttribute, OutAttribute] T4[,] binary) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + fixed (OpenTK.Graphics.ES20.All* binaryFormat_ptr = &binaryFormat) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES20.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); + length = *length_ptr; + binaryFormat = *binaryFormat_ptr; + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Return a binary representation of a program object's compiled and linked executable source + /// + /// + /// + /// Specifies the name of a program object whose binary representation to retrieve. + /// + /// + /// + /// + /// Specifies the size of the buffer whose address is given by binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive the number of bytes written into binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive a token indicating the format of the binary data returned by the GL. + /// + /// + /// + /// + /// Specifies the address an array into which the GL will return program's binary representation. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramBinaryOES")] + public static + void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES20.All binaryFormat, [InAttribute, OutAttribute] T4[,,] binary) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + fixed (OpenTK.Graphics.ES20.All* binaryFormat_ptr = &binaryFormat) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES20.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); + length = *length_ptr; + binaryFormat = *binaryFormat_ptr; + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Return a binary representation of a program object's compiled and linked executable source + /// + /// + /// + /// Specifies the name of a program object whose binary representation to retrieve. + /// + /// + /// + /// + /// Specifies the size of the buffer whose address is given by binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive the number of bytes written into binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive a token indicating the format of the binary data returned by the GL. + /// + /// + /// + /// + /// Specifies the address an array into which the GL will return program's binary representation. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramBinaryOES")] + public static + void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES20.All binaryFormat, [InAttribute, OutAttribute] ref T4 binary) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + fixed (OpenTK.Graphics.ES20.All* binaryFormat_ptr = &binaryFormat) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES20.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); + length = *length_ptr; + binaryFormat = *binaryFormat_ptr; + binary = (T4)binary_ptr.Target; + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Return a binary representation of a program object's compiled and linked executable source + /// + /// + /// + /// Specifies the name of a program object whose binary representation to retrieve. + /// + /// + /// + /// + /// Specifies the size of the buffer whose address is given by binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive the number of bytes written into binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive a token indicating the format of the binary data returned by the GL. + /// + /// + /// + /// + /// Specifies the address an array into which the GL will return program's binary representation. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramBinaryOES")] + public static + unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES20.All* binaryFormat, [OutAttribute] IntPtr binary) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.ES20.All*)binaryFormat, (IntPtr)binary); + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Return a binary representation of a program object's compiled and linked executable source + /// + /// + /// + /// Specifies the name of a program object whose binary representation to retrieve. + /// + /// + /// + /// + /// Specifies the size of the buffer whose address is given by binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive the number of bytes written into binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive a token indicating the format of the binary data returned by the GL. + /// + /// + /// + /// + /// Specifies the address an array into which the GL will return program's binary representation. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramBinaryOES")] + public static + unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES20.All* binaryFormat, [InAttribute, OutAttribute] T4[] binary) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.ES20.All*)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject()); + } + finally + { + binary_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Return a binary representation of a program object's compiled and linked executable source + /// + /// + /// + /// Specifies the name of a program object whose binary representation to retrieve. + /// + /// + /// + /// + /// Specifies the size of the buffer whose address is given by binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive the number of bytes written into binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive a token indicating the format of the binary data returned by the GL. + /// + /// + /// + /// + /// Specifies the address an array into which the GL will return program's binary representation. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramBinaryOES")] + public static + unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES20.All* binaryFormat, [InAttribute, OutAttribute] T4[,] binary) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.ES20.All*)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject()); + } + finally + { + binary_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Return a binary representation of a program object's compiled and linked executable source + /// + /// + /// + /// Specifies the name of a program object whose binary representation to retrieve. + /// + /// + /// + /// + /// Specifies the size of the buffer whose address is given by binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive the number of bytes written into binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive a token indicating the format of the binary data returned by the GL. + /// + /// + /// + /// + /// Specifies the address an array into which the GL will return program's binary representation. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramBinaryOES")] + public static + unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES20.All* binaryFormat, [InAttribute, OutAttribute] T4[,,] binary) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.ES20.All*)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject()); + } + finally + { + binary_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Return a binary representation of a program object's compiled and linked executable source + /// + /// + /// + /// Specifies the name of a program object whose binary representation to retrieve. + /// + /// + /// + /// + /// Specifies the size of the buffer whose address is given by binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive the number of bytes written into binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive a token indicating the format of the binary data returned by the GL. + /// + /// + /// + /// + /// Specifies the address an array into which the GL will return program's binary representation. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramBinaryOES")] + public static + unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES20.All* binaryFormat, [InAttribute, OutAttribute] ref T4 binary) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.ES20.All*)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject()); + binary = (T4)binary_ptr.Target; + } + finally + { + binary_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Determine if a name corresponds to a vertex array object + /// + /// + /// + /// Specifies a value that may be the name of a vertex array object. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glIsVertexArrayOES")] + public static + bool IsVertexArray(Int32 array) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsVertexArrayOES((UInt32)array); + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Determine if a name corresponds to a vertex array object + /// + /// + /// + /// Specifies a value that may be the name of a vertex array object. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glIsVertexArrayOES")] + public static + bool IsVertexArray(UInt32 array) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsVertexArrayOES((UInt32)array); + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Map a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object being mapped. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER or GL_UNIFORM_BUFFER. + /// + /// + /// + /// + /// 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 = "2.0", Version = "2.0", EntryPoint = "glMapBufferOES")] + public static + unsafe System.IntPtr MapBuffer(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All access) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glMapBufferOES((OpenTK.Graphics.ES20.All)target, (OpenTK.Graphics.ES20.All)access); + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Load a program object with a program binary + /// + /// + /// + /// Specifies the name of a program object into which to load a program binary. + /// + /// + /// + /// + /// Specifies the format of the binary data in binary. + /// + /// + /// + /// + /// Specifies the address an array containing the binary to be loaded into program. + /// + /// + /// + /// + /// Specifies the number of bytes contained in binary. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glProgramBinaryOES")] + public static + void ProgramBinary(Int32 program, OpenTK.Graphics.ES20.All binaryFormat, IntPtr binary, Int32 length) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramBinaryOES((UInt32)program, (OpenTK.Graphics.ES20.All)binaryFormat, (IntPtr)binary, (Int32)length); + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Load a program object with a program binary + /// + /// + /// + /// Specifies the name of a program object into which to load a program binary. + /// + /// + /// + /// + /// Specifies the format of the binary data in binary. + /// + /// + /// + /// + /// Specifies the address an array containing the binary to be loaded into program. + /// + /// + /// + /// + /// Specifies the number of bytes contained in binary. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glProgramBinaryOES")] + public static + void ProgramBinary(Int32 program, OpenTK.Graphics.ES20.All binaryFormat, [InAttribute, OutAttribute] T2[] binary, Int32 length) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glProgramBinaryOES((UInt32)program, (OpenTK.Graphics.ES20.All)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Load a program object with a program binary + /// + /// + /// + /// Specifies the name of a program object into which to load a program binary. + /// + /// + /// + /// + /// Specifies the format of the binary data in binary. + /// + /// + /// + /// + /// Specifies the address an array containing the binary to be loaded into program. + /// + /// + /// + /// + /// Specifies the number of bytes contained in binary. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glProgramBinaryOES")] + public static + void ProgramBinary(Int32 program, OpenTK.Graphics.ES20.All binaryFormat, [InAttribute, OutAttribute] T2[,] binary, Int32 length) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glProgramBinaryOES((UInt32)program, (OpenTK.Graphics.ES20.All)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Load a program object with a program binary + /// + /// + /// + /// Specifies the name of a program object into which to load a program binary. + /// + /// + /// + /// + /// Specifies the format of the binary data in binary. + /// + /// + /// + /// + /// Specifies the address an array containing the binary to be loaded into program. + /// + /// + /// + /// + /// Specifies the number of bytes contained in binary. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glProgramBinaryOES")] + public static + void ProgramBinary(Int32 program, OpenTK.Graphics.ES20.All binaryFormat, [InAttribute, OutAttribute] T2[,,] binary, Int32 length) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glProgramBinaryOES((UInt32)program, (OpenTK.Graphics.ES20.All)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Load a program object with a program binary + /// + /// + /// + /// Specifies the name of a program object into which to load a program binary. + /// + /// + /// + /// + /// Specifies the format of the binary data in binary. + /// + /// + /// + /// + /// Specifies the address an array containing the binary to be loaded into program. + /// + /// + /// + /// + /// Specifies the number of bytes contained in binary. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glProgramBinaryOES")] + public static + void ProgramBinary(Int32 program, OpenTK.Graphics.ES20.All binaryFormat, [InAttribute, OutAttribute] ref T2 binary, Int32 length) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glProgramBinaryOES((UInt32)program, (OpenTK.Graphics.ES20.All)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + binary = (T2)binary_ptr.Target; + } + finally + { + binary_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Load a program object with a program binary + /// + /// + /// + /// Specifies the name of a program object into which to load a program binary. + /// + /// + /// + /// + /// Specifies the format of the binary data in binary. + /// + /// + /// + /// + /// Specifies the address an array containing the binary to be loaded into program. + /// + /// + /// + /// + /// Specifies the number of bytes contained in binary. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glProgramBinaryOES")] + public static + void ProgramBinary(UInt32 program, OpenTK.Graphics.ES20.All binaryFormat, IntPtr binary, Int32 length) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramBinaryOES((UInt32)program, (OpenTK.Graphics.ES20.All)binaryFormat, (IntPtr)binary, (Int32)length); + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Load a program object with a program binary + /// + /// + /// + /// Specifies the name of a program object into which to load a program binary. + /// + /// + /// + /// + /// Specifies the format of the binary data in binary. + /// + /// + /// + /// + /// Specifies the address an array containing the binary to be loaded into program. + /// + /// + /// + /// + /// Specifies the number of bytes contained in binary. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glProgramBinaryOES")] + public static + void ProgramBinary(UInt32 program, OpenTK.Graphics.ES20.All binaryFormat, [InAttribute, OutAttribute] T2[] binary, Int32 length) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glProgramBinaryOES((UInt32)program, (OpenTK.Graphics.ES20.All)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Load a program object with a program binary + /// + /// + /// + /// Specifies the name of a program object into which to load a program binary. + /// + /// + /// + /// + /// Specifies the format of the binary data in binary. + /// + /// + /// + /// + /// Specifies the address an array containing the binary to be loaded into program. + /// + /// + /// + /// + /// Specifies the number of bytes contained in binary. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glProgramBinaryOES")] + public static + void ProgramBinary(UInt32 program, OpenTK.Graphics.ES20.All binaryFormat, [InAttribute, OutAttribute] T2[,] binary, Int32 length) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glProgramBinaryOES((UInt32)program, (OpenTK.Graphics.ES20.All)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Load a program object with a program binary + /// + /// + /// + /// Specifies the name of a program object into which to load a program binary. + /// + /// + /// + /// + /// Specifies the format of the binary data in binary. + /// + /// + /// + /// + /// Specifies the address an array containing the binary to be loaded into program. + /// + /// + /// + /// + /// Specifies the number of bytes contained in binary. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glProgramBinaryOES")] + public static + void ProgramBinary(UInt32 program, OpenTK.Graphics.ES20.All binaryFormat, [InAttribute, OutAttribute] T2[,,] binary, Int32 length) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glProgramBinaryOES((UInt32)program, (OpenTK.Graphics.ES20.All)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Load a program object with a program binary + /// + /// + /// + /// Specifies the name of a program object into which to load a program binary. + /// + /// + /// + /// + /// Specifies the format of the binary data in binary. + /// + /// + /// + /// + /// Specifies the address an array containing the binary to be loaded into program. + /// + /// + /// + /// + /// Specifies the number of bytes contained in binary. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glProgramBinaryOES")] + public static + void ProgramBinary(UInt32 program, OpenTK.Graphics.ES20.All binaryFormat, [InAttribute, OutAttribute] ref T2 binary, Int32 length) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glProgramBinaryOES((UInt32)program, (OpenTK.Graphics.ES20.All)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + binary = (T2)binary_ptr.Target; + } + finally + { + binary_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Specify a three-dimensional texture image + /// + /// + /// + /// Specifies the target texture. Must be one of GL_TEXTURE_3D, GL_PROXY_TEXTURE_3D, GL_TEXTURE_2D_ARRAY or GL_PROXY_TEXTURE_2D_ARRAY. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level is the n sup th mipmap reduction image. + /// + /// + /// + /// + /// Specifies the number of color components in the texture. Must be one of the following symbolic constants: GL_RGBA32F, GL_RGBA32I, GL_RGBA32UI, GL_RGBA16, GL_RGBA16F, GL_RGBA16I, GL_RGBA16UI, GL_RGBA8, GL_RGBA8UI, GL_SRGB8_ALPHA8, GL_RGB10_A2, GL_RGBA10_A2UI, GL_R11_G11_B10F, GL_RG32F, GL_RG32I, GL_RG32UI, GL_RG16, GL_RG16F, GL_RGB16I, GL_RGB16UI, GL_RG8, GL_RG8I, GL_RG8UI, GL_R23F, GL_R32I, GL_R32UI, GL_R16F, GL_R16I, GL_R16UI, GL_R8, GL_R8I, GL_R8UI, GL_RGBA16_UNORM, GL_RGBA8_SNORM, GL_RGB32F, GL_RGB32I, GL_RGB32UI, GL_RGB16_SNORM, GL_RGB16F, GL_RGB16I, GL_RGB16UI, GL_RGB16, GL_RGB8_SNORM, GL_RGB8, GL_RGB8I, GL_RGB8UI, GL_SRGB8, GL_RGB9_E5, GL_RG16_SNORM, GL_RG8_SNORM, GL_COMPRESSED_RG_RGTC2, GL_COMPRESSED_SIGNED_RG_RGTC2, GL_R16_SNORM, GL_R8_SNORM, GL_COMPRESSED_RED_RGTC1, GL_COMPRESSED_SIGNED_RED_RGTC1, GL_DEPTH_COMPONENT32F, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT16, GL_DEPTH32F_STENCIL8, GL_DEPTH24_STENCIL8. + /// + /// + /// + /// + /// Specifies the width of the texture image. All implementations support 3D texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image. All implementations support 3D texture images that are at least 256 texels high. + /// + /// + /// + /// + /// Specifies the depth of the texture image, or the number of layers in a texture array. All implementations support 3D texture images that are at least 256 texels deep, and texture arrays that are at least 256 layers deep. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glTexImage3DOES")] + public static + void TexImage3D(OpenTK.Graphics.ES20.All target, Int32 level, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexImage3DOES((OpenTK.Graphics.ES20.All)target, (Int32)level, (OpenTK.Graphics.ES20.All)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.ES20.All)format, (OpenTK.Graphics.ES20.All)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Specify a three-dimensional texture image + /// + /// + /// + /// Specifies the target texture. Must be one of GL_TEXTURE_3D, GL_PROXY_TEXTURE_3D, GL_TEXTURE_2D_ARRAY or GL_PROXY_TEXTURE_2D_ARRAY. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level is the n sup th mipmap reduction image. + /// + /// + /// + /// + /// Specifies the number of color components in the texture. Must be one of the following symbolic constants: GL_RGBA32F, GL_RGBA32I, GL_RGBA32UI, GL_RGBA16, GL_RGBA16F, GL_RGBA16I, GL_RGBA16UI, GL_RGBA8, GL_RGBA8UI, GL_SRGB8_ALPHA8, GL_RGB10_A2, GL_RGBA10_A2UI, GL_R11_G11_B10F, GL_RG32F, GL_RG32I, GL_RG32UI, GL_RG16, GL_RG16F, GL_RGB16I, GL_RGB16UI, GL_RG8, GL_RG8I, GL_RG8UI, GL_R23F, GL_R32I, GL_R32UI, GL_R16F, GL_R16I, GL_R16UI, GL_R8, GL_R8I, GL_R8UI, GL_RGBA16_UNORM, GL_RGBA8_SNORM, GL_RGB32F, GL_RGB32I, GL_RGB32UI, GL_RGB16_SNORM, GL_RGB16F, GL_RGB16I, GL_RGB16UI, GL_RGB16, GL_RGB8_SNORM, GL_RGB8, GL_RGB8I, GL_RGB8UI, GL_SRGB8, GL_RGB9_E5, GL_RG16_SNORM, GL_RG8_SNORM, GL_COMPRESSED_RG_RGTC2, GL_COMPRESSED_SIGNED_RG_RGTC2, GL_R16_SNORM, GL_R8_SNORM, GL_COMPRESSED_RED_RGTC1, GL_COMPRESSED_SIGNED_RED_RGTC1, GL_DEPTH_COMPONENT32F, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT16, GL_DEPTH32F_STENCIL8, GL_DEPTH24_STENCIL8. + /// + /// + /// + /// + /// Specifies the width of the texture image. All implementations support 3D texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image. All implementations support 3D texture images that are at least 256 texels high. + /// + /// + /// + /// + /// Specifies the depth of the texture image, or the number of layers in a texture array. All implementations support 3D texture images that are at least 256 texels deep, and texture arrays that are at least 256 layers deep. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glTexImage3DOES")] + public static + void TexImage3D(OpenTK.Graphics.ES20.All target, Int32 level, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T9[] pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexImage3DOES((OpenTK.Graphics.ES20.All)target, (Int32)level, (OpenTK.Graphics.ES20.All)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.ES20.All)format, (OpenTK.Graphics.ES20.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Specify a three-dimensional texture image + /// + /// + /// + /// Specifies the target texture. Must be one of GL_TEXTURE_3D, GL_PROXY_TEXTURE_3D, GL_TEXTURE_2D_ARRAY or GL_PROXY_TEXTURE_2D_ARRAY. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level is the n sup th mipmap reduction image. + /// + /// + /// + /// + /// Specifies the number of color components in the texture. Must be one of the following symbolic constants: GL_RGBA32F, GL_RGBA32I, GL_RGBA32UI, GL_RGBA16, GL_RGBA16F, GL_RGBA16I, GL_RGBA16UI, GL_RGBA8, GL_RGBA8UI, GL_SRGB8_ALPHA8, GL_RGB10_A2, GL_RGBA10_A2UI, GL_R11_G11_B10F, GL_RG32F, GL_RG32I, GL_RG32UI, GL_RG16, GL_RG16F, GL_RGB16I, GL_RGB16UI, GL_RG8, GL_RG8I, GL_RG8UI, GL_R23F, GL_R32I, GL_R32UI, GL_R16F, GL_R16I, GL_R16UI, GL_R8, GL_R8I, GL_R8UI, GL_RGBA16_UNORM, GL_RGBA8_SNORM, GL_RGB32F, GL_RGB32I, GL_RGB32UI, GL_RGB16_SNORM, GL_RGB16F, GL_RGB16I, GL_RGB16UI, GL_RGB16, GL_RGB8_SNORM, GL_RGB8, GL_RGB8I, GL_RGB8UI, GL_SRGB8, GL_RGB9_E5, GL_RG16_SNORM, GL_RG8_SNORM, GL_COMPRESSED_RG_RGTC2, GL_COMPRESSED_SIGNED_RG_RGTC2, GL_R16_SNORM, GL_R8_SNORM, GL_COMPRESSED_RED_RGTC1, GL_COMPRESSED_SIGNED_RED_RGTC1, GL_DEPTH_COMPONENT32F, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT16, GL_DEPTH32F_STENCIL8, GL_DEPTH24_STENCIL8. + /// + /// + /// + /// + /// Specifies the width of the texture image. All implementations support 3D texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image. All implementations support 3D texture images that are at least 256 texels high. + /// + /// + /// + /// + /// Specifies the depth of the texture image, or the number of layers in a texture array. All implementations support 3D texture images that are at least 256 texels deep, and texture arrays that are at least 256 layers deep. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glTexImage3DOES")] + public static + void TexImage3D(OpenTK.Graphics.ES20.All target, Int32 level, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T9[,] pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexImage3DOES((OpenTK.Graphics.ES20.All)target, (Int32)level, (OpenTK.Graphics.ES20.All)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.ES20.All)format, (OpenTK.Graphics.ES20.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Specify a three-dimensional texture image + /// + /// + /// + /// Specifies the target texture. Must be one of GL_TEXTURE_3D, GL_PROXY_TEXTURE_3D, GL_TEXTURE_2D_ARRAY or GL_PROXY_TEXTURE_2D_ARRAY. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level is the n sup th mipmap reduction image. + /// + /// + /// + /// + /// Specifies the number of color components in the texture. Must be one of the following symbolic constants: GL_RGBA32F, GL_RGBA32I, GL_RGBA32UI, GL_RGBA16, GL_RGBA16F, GL_RGBA16I, GL_RGBA16UI, GL_RGBA8, GL_RGBA8UI, GL_SRGB8_ALPHA8, GL_RGB10_A2, GL_RGBA10_A2UI, GL_R11_G11_B10F, GL_RG32F, GL_RG32I, GL_RG32UI, GL_RG16, GL_RG16F, GL_RGB16I, GL_RGB16UI, GL_RG8, GL_RG8I, GL_RG8UI, GL_R23F, GL_R32I, GL_R32UI, GL_R16F, GL_R16I, GL_R16UI, GL_R8, GL_R8I, GL_R8UI, GL_RGBA16_UNORM, GL_RGBA8_SNORM, GL_RGB32F, GL_RGB32I, GL_RGB32UI, GL_RGB16_SNORM, GL_RGB16F, GL_RGB16I, GL_RGB16UI, GL_RGB16, GL_RGB8_SNORM, GL_RGB8, GL_RGB8I, GL_RGB8UI, GL_SRGB8, GL_RGB9_E5, GL_RG16_SNORM, GL_RG8_SNORM, GL_COMPRESSED_RG_RGTC2, GL_COMPRESSED_SIGNED_RG_RGTC2, GL_R16_SNORM, GL_R8_SNORM, GL_COMPRESSED_RED_RGTC1, GL_COMPRESSED_SIGNED_RED_RGTC1, GL_DEPTH_COMPONENT32F, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT16, GL_DEPTH32F_STENCIL8, GL_DEPTH24_STENCIL8. + /// + /// + /// + /// + /// Specifies the width of the texture image. All implementations support 3D texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image. All implementations support 3D texture images that are at least 256 texels high. + /// + /// + /// + /// + /// Specifies the depth of the texture image, or the number of layers in a texture array. All implementations support 3D texture images that are at least 256 texels deep, and texture arrays that are at least 256 layers deep. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glTexImage3DOES")] + public static + void TexImage3D(OpenTK.Graphics.ES20.All target, Int32 level, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T9[,,] pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexImage3DOES((OpenTK.Graphics.ES20.All)target, (Int32)level, (OpenTK.Graphics.ES20.All)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.ES20.All)format, (OpenTK.Graphics.ES20.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Specify a three-dimensional texture image + /// + /// + /// + /// Specifies the target texture. Must be one of GL_TEXTURE_3D, GL_PROXY_TEXTURE_3D, GL_TEXTURE_2D_ARRAY or GL_PROXY_TEXTURE_2D_ARRAY. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level is the n sup th mipmap reduction image. + /// + /// + /// + /// + /// Specifies the number of color components in the texture. Must be one of the following symbolic constants: GL_RGBA32F, GL_RGBA32I, GL_RGBA32UI, GL_RGBA16, GL_RGBA16F, GL_RGBA16I, GL_RGBA16UI, GL_RGBA8, GL_RGBA8UI, GL_SRGB8_ALPHA8, GL_RGB10_A2, GL_RGBA10_A2UI, GL_R11_G11_B10F, GL_RG32F, GL_RG32I, GL_RG32UI, GL_RG16, GL_RG16F, GL_RGB16I, GL_RGB16UI, GL_RG8, GL_RG8I, GL_RG8UI, GL_R23F, GL_R32I, GL_R32UI, GL_R16F, GL_R16I, GL_R16UI, GL_R8, GL_R8I, GL_R8UI, GL_RGBA16_UNORM, GL_RGBA8_SNORM, GL_RGB32F, GL_RGB32I, GL_RGB32UI, GL_RGB16_SNORM, GL_RGB16F, GL_RGB16I, GL_RGB16UI, GL_RGB16, GL_RGB8_SNORM, GL_RGB8, GL_RGB8I, GL_RGB8UI, GL_SRGB8, GL_RGB9_E5, GL_RG16_SNORM, GL_RG8_SNORM, GL_COMPRESSED_RG_RGTC2, GL_COMPRESSED_SIGNED_RG_RGTC2, GL_R16_SNORM, GL_R8_SNORM, GL_COMPRESSED_RED_RGTC1, GL_COMPRESSED_SIGNED_RED_RGTC1, GL_DEPTH_COMPONENT32F, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT16, GL_DEPTH32F_STENCIL8, GL_DEPTH24_STENCIL8. + /// + /// + /// + /// + /// Specifies the width of the texture image. All implementations support 3D texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image. All implementations support 3D texture images that are at least 256 texels high. + /// + /// + /// + /// + /// Specifies the depth of the texture image, or the number of layers in a texture array. All implementations support 3D texture images that are at least 256 texels deep, and texture arrays that are at least 256 layers deep. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glTexImage3DOES")] + public static + void TexImage3D(OpenTK.Graphics.ES20.All target, Int32 level, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] ref T9 pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexImage3DOES((OpenTK.Graphics.ES20.All)target, (Int32)level, (OpenTK.Graphics.ES20.All)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.ES20.All)format, (OpenTK.Graphics.ES20.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + pixels = (T9)pixels_ptr.Target; + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Specify a three-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the z direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the depth of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glTexSubImage3DOES")] + public static + void TexSubImage3D(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexSubImage3DOES((OpenTK.Graphics.ES20.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES20.All)format, (OpenTK.Graphics.ES20.All)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Specify a three-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the z direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the depth of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glTexSubImage3DOES")] + public static + void TexSubImage3D(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T10[] pixels) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage3DOES((OpenTK.Graphics.ES20.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES20.All)format, (OpenTK.Graphics.ES20.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Specify a three-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the z direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the depth of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glTexSubImage3DOES")] + public static + void TexSubImage3D(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T10[,] pixels) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage3DOES((OpenTK.Graphics.ES20.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES20.All)format, (OpenTK.Graphics.ES20.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Specify a three-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the z direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the depth of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glTexSubImage3DOES")] + public static + void TexSubImage3D(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T10[,,] pixels) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage3DOES((OpenTK.Graphics.ES20.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES20.All)format, (OpenTK.Graphics.ES20.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: 2.0] + /// Specify a three-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the z direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the depth of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glTexSubImage3DOES")] + public static + void TexSubImage3D(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] ref T10 pixels) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage3DOES((OpenTK.Graphics.ES20.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES20.All)format, (OpenTK.Graphics.ES20.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + pixels = (T10)pixels_ptr.Target; + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUnmapBufferOES")] + public static + bool UnmapBuffer(OpenTK.Graphics.ES20.All target) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glUnmapBufferOES((OpenTK.Graphics.ES20.All)target); + #if DEBUG + } + #endif + } + + } + + public static partial class Qcom + { + /// [requires: 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDisableDriverControlQCOM")] + public static + void DisableDriverControl(Int32 driverControl) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDisableDriverControlQCOM((UInt32)driverControl); + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDisableDriverControlQCOM")] + public static + void DisableDriverControl(UInt32 driverControl) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDisableDriverControlQCOM((UInt32)driverControl); + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glEnableDriverControlQCOM")] + public static + void EnableDriverControl(Int32 driverControl) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEnableDriverControlQCOM((UInt32)driverControl); + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glEnableDriverControlQCOM")] + public static + void EnableDriverControl(UInt32 driverControl) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEnableDriverControlQCOM((UInt32)driverControl); + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glEndTilingQCOM")] + public static + void EndTiling(Int32 preserveMask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEndTilingQCOM((UInt32)preserveMask); + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glEndTilingQCOM")] + public static + void EndTiling(UInt32 preserveMask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEndTilingQCOM((UInt32)preserveMask); + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glExtGetBufferPointervQCOM")] + public static + void ExtGetBufferPointer(OpenTK.Graphics.ES20.All target, IntPtr @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glExtGetBufferPointervQCOM((OpenTK.Graphics.ES20.All)target, (IntPtr)@params); + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glExtGetBufferPointervQCOM")] + public static + void ExtGetBufferPointer(OpenTK.Graphics.ES20.All target, [InAttribute, OutAttribute] T1[] @params) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glExtGetBufferPointervQCOM((OpenTK.Graphics.ES20.All)target, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glExtGetBufferPointervQCOM")] + public static + void ExtGetBufferPointer(OpenTK.Graphics.ES20.All target, [InAttribute, OutAttribute] T1[,] @params) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glExtGetBufferPointervQCOM((OpenTK.Graphics.ES20.All)target, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glExtGetBufferPointervQCOM")] + public static + void ExtGetBufferPointer(OpenTK.Graphics.ES20.All target, [InAttribute, OutAttribute] T1[,,] @params) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glExtGetBufferPointervQCOM((OpenTK.Graphics.ES20.All)target, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glExtGetBufferPointervQCOM")] + public static + void ExtGetBufferPointer(OpenTK.Graphics.ES20.All target, [InAttribute, OutAttribute] ref T1 @params) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glExtGetBufferPointervQCOM((OpenTK.Graphics.ES20.All)target, (IntPtr)@params_ptr.AddrOfPinnedObject()); + @params = (T1)@params_ptr.Target; + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glExtGetBuffersQCOM")] + public static + void ExtGetBuffers(Int32[] buffers, Int32 maxBuffers, Int32[] numBuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* buffers_ptr = buffers) + fixed (Int32* numBuffers_ptr = numBuffers) + { + Delegates.glExtGetBuffersQCOM((UInt32*)buffers_ptr, (Int32)maxBuffers, (Int32*)numBuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glExtGetBuffersQCOM")] + public static + void ExtGetBuffers(ref Int32 buffers, Int32 maxBuffers, ref Int32 numBuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* buffers_ptr = &buffers) + fixed (Int32* numBuffers_ptr = &numBuffers) + { + Delegates.glExtGetBuffersQCOM((UInt32*)buffers_ptr, (Int32)maxBuffers, (Int32*)numBuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glExtGetBuffersQCOM")] + public static + unsafe void ExtGetBuffers(Int32* buffers, Int32 maxBuffers, Int32* numBuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glExtGetBuffersQCOM((UInt32*)buffers, (Int32)maxBuffers, (Int32*)numBuffers); + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glExtGetBuffersQCOM")] + public static + void ExtGetBuffers(UInt32[] buffers, Int32 maxBuffers, Int32[] numBuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* buffers_ptr = buffers) + fixed (Int32* numBuffers_ptr = numBuffers) + { + Delegates.glExtGetBuffersQCOM((UInt32*)buffers_ptr, (Int32)maxBuffers, (Int32*)numBuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glExtGetBuffersQCOM")] + public static + void ExtGetBuffers(ref UInt32 buffers, Int32 maxBuffers, ref Int32 numBuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* buffers_ptr = &buffers) + fixed (Int32* numBuffers_ptr = &numBuffers) + { + Delegates.glExtGetBuffersQCOM((UInt32*)buffers_ptr, (Int32)maxBuffers, (Int32*)numBuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glExtGetBuffersQCOM")] + public static + unsafe void ExtGetBuffers(UInt32* buffers, Int32 maxBuffers, Int32* numBuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glExtGetBuffersQCOM((UInt32*)buffers, (Int32)maxBuffers, (Int32*)numBuffers); + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glExtGetFramebuffersQCOM")] + public static + void ExtGetFramebuffers(Int32[] framebuffers, Int32 maxFramebuffers, Int32[] numFramebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* framebuffers_ptr = framebuffers) + fixed (Int32* numFramebuffers_ptr = numFramebuffers) + { + Delegates.glExtGetFramebuffersQCOM((UInt32*)framebuffers_ptr, (Int32)maxFramebuffers, (Int32*)numFramebuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glExtGetFramebuffersQCOM")] + public static + void ExtGetFramebuffers(ref Int32 framebuffers, Int32 maxFramebuffers, ref Int32 numFramebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* framebuffers_ptr = &framebuffers) + fixed (Int32* numFramebuffers_ptr = &numFramebuffers) + { + Delegates.glExtGetFramebuffersQCOM((UInt32*)framebuffers_ptr, (Int32)maxFramebuffers, (Int32*)numFramebuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glExtGetFramebuffersQCOM")] + public static + unsafe void ExtGetFramebuffers(Int32* framebuffers, Int32 maxFramebuffers, Int32* numFramebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glExtGetFramebuffersQCOM((UInt32*)framebuffers, (Int32)maxFramebuffers, (Int32*)numFramebuffers); + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glExtGetFramebuffersQCOM")] + public static + void ExtGetFramebuffers(UInt32[] framebuffers, Int32 maxFramebuffers, Int32[] numFramebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* framebuffers_ptr = framebuffers) + fixed (Int32* numFramebuffers_ptr = numFramebuffers) + { + Delegates.glExtGetFramebuffersQCOM((UInt32*)framebuffers_ptr, (Int32)maxFramebuffers, (Int32*)numFramebuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glExtGetFramebuffersQCOM")] + public static + void ExtGetFramebuffers(ref UInt32 framebuffers, Int32 maxFramebuffers, ref Int32 numFramebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* framebuffers_ptr = &framebuffers) + fixed (Int32* numFramebuffers_ptr = &numFramebuffers) + { + Delegates.glExtGetFramebuffersQCOM((UInt32*)framebuffers_ptr, (Int32)maxFramebuffers, (Int32*)numFramebuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glExtGetFramebuffersQCOM")] + public static + unsafe void ExtGetFramebuffers(UInt32* framebuffers, Int32 maxFramebuffers, Int32* numFramebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glExtGetFramebuffersQCOM((UInt32*)framebuffers, (Int32)maxFramebuffers, (Int32*)numFramebuffers); + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glExtGetProgramBinarySourceQCOM")] + public static + void ExtGetProgramBinarySource(Int32 program, OpenTK.Graphics.ES20.All shadertype, String source, Int32[] length) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = length) + { + Delegates.glExtGetProgramBinarySourceQCOM((UInt32)program, (OpenTK.Graphics.ES20.All)shadertype, (String)source, (Int32*)length_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glExtGetProgramBinarySourceQCOM")] + public static + void ExtGetProgramBinarySource(Int32 program, OpenTK.Graphics.ES20.All shadertype, String source, ref Int32 length) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + { + Delegates.glExtGetProgramBinarySourceQCOM((UInt32)program, (OpenTK.Graphics.ES20.All)shadertype, (String)source, (Int32*)length_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glExtGetProgramBinarySourceQCOM")] + public static + unsafe void ExtGetProgramBinarySource(Int32 program, OpenTK.Graphics.ES20.All shadertype, String source, Int32* length) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glExtGetProgramBinarySourceQCOM((UInt32)program, (OpenTK.Graphics.ES20.All)shadertype, (String)source, (Int32*)length); + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glExtGetProgramBinarySourceQCOM")] + public static + void ExtGetProgramBinarySource(UInt32 program, OpenTK.Graphics.ES20.All shadertype, String source, Int32[] length) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = length) + { + Delegates.glExtGetProgramBinarySourceQCOM((UInt32)program, (OpenTK.Graphics.ES20.All)shadertype, (String)source, (Int32*)length_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glExtGetProgramBinarySourceQCOM")] + public static + void ExtGetProgramBinarySource(UInt32 program, OpenTK.Graphics.ES20.All shadertype, String source, ref Int32 length) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + { + Delegates.glExtGetProgramBinarySourceQCOM((UInt32)program, (OpenTK.Graphics.ES20.All)shadertype, (String)source, (Int32*)length_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glExtGetProgramBinarySourceQCOM")] + public static + unsafe void ExtGetProgramBinarySource(UInt32 program, OpenTK.Graphics.ES20.All shadertype, String source, Int32* length) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glExtGetProgramBinarySourceQCOM((UInt32)program, (OpenTK.Graphics.ES20.All)shadertype, (String)source, (Int32*)length); + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glExtGetProgramsQCOM")] + public static + void ExtGetProgram(Int32[] programs, Int32 maxPrograms, Int32[] numPrograms) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* programs_ptr = programs) + fixed (Int32* numPrograms_ptr = numPrograms) + { + Delegates.glExtGetProgramsQCOM((UInt32*)programs_ptr, (Int32)maxPrograms, (Int32*)numPrograms_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glExtGetProgramsQCOM")] + public static + void ExtGetProgram(ref Int32 programs, Int32 maxPrograms, ref Int32 numPrograms) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* programs_ptr = &programs) + fixed (Int32* numPrograms_ptr = &numPrograms) + { + Delegates.glExtGetProgramsQCOM((UInt32*)programs_ptr, (Int32)maxPrograms, (Int32*)numPrograms_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glExtGetProgramsQCOM")] + public static + unsafe void ExtGetProgram(Int32* programs, Int32 maxPrograms, Int32* numPrograms) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glExtGetProgramsQCOM((UInt32*)programs, (Int32)maxPrograms, (Int32*)numPrograms); + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glExtGetProgramsQCOM")] + public static + void ExtGetProgram(UInt32[] programs, Int32 maxPrograms, Int32[] numPrograms) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* programs_ptr = programs) + fixed (Int32* numPrograms_ptr = numPrograms) + { + Delegates.glExtGetProgramsQCOM((UInt32*)programs_ptr, (Int32)maxPrograms, (Int32*)numPrograms_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glExtGetProgramsQCOM")] + public static + void ExtGetProgram(ref UInt32 programs, Int32 maxPrograms, ref Int32 numPrograms) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* programs_ptr = &programs) + fixed (Int32* numPrograms_ptr = &numPrograms) + { + Delegates.glExtGetProgramsQCOM((UInt32*)programs_ptr, (Int32)maxPrograms, (Int32*)numPrograms_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glExtGetProgramsQCOM")] + public static + unsafe void ExtGetProgram(UInt32* programs, Int32 maxPrograms, Int32* numPrograms) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glExtGetProgramsQCOM((UInt32*)programs, (Int32)maxPrograms, (Int32*)numPrograms); + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glExtGetRenderbuffersQCOM")] + public static + void ExtGetRenderbuffers(Int32[] renderbuffers, Int32 maxRenderbuffers, Int32[] numRenderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* renderbuffers_ptr = renderbuffers) + fixed (Int32* numRenderbuffers_ptr = numRenderbuffers) + { + Delegates.glExtGetRenderbuffersQCOM((UInt32*)renderbuffers_ptr, (Int32)maxRenderbuffers, (Int32*)numRenderbuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glExtGetRenderbuffersQCOM")] + public static + void ExtGetRenderbuffers(ref Int32 renderbuffers, Int32 maxRenderbuffers, ref Int32 numRenderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* renderbuffers_ptr = &renderbuffers) + fixed (Int32* numRenderbuffers_ptr = &numRenderbuffers) + { + Delegates.glExtGetRenderbuffersQCOM((UInt32*)renderbuffers_ptr, (Int32)maxRenderbuffers, (Int32*)numRenderbuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glExtGetRenderbuffersQCOM")] + public static + unsafe void ExtGetRenderbuffers(Int32* renderbuffers, Int32 maxRenderbuffers, Int32* numRenderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glExtGetRenderbuffersQCOM((UInt32*)renderbuffers, (Int32)maxRenderbuffers, (Int32*)numRenderbuffers); + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glExtGetRenderbuffersQCOM")] + public static + void ExtGetRenderbuffers(UInt32[] renderbuffers, Int32 maxRenderbuffers, Int32[] numRenderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* renderbuffers_ptr = renderbuffers) + fixed (Int32* numRenderbuffers_ptr = numRenderbuffers) + { + Delegates.glExtGetRenderbuffersQCOM((UInt32*)renderbuffers_ptr, (Int32)maxRenderbuffers, (Int32*)numRenderbuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glExtGetRenderbuffersQCOM")] + public static + void ExtGetRenderbuffers(ref UInt32 renderbuffers, Int32 maxRenderbuffers, ref Int32 numRenderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* renderbuffers_ptr = &renderbuffers) + fixed (Int32* numRenderbuffers_ptr = &numRenderbuffers) + { + Delegates.glExtGetRenderbuffersQCOM((UInt32*)renderbuffers_ptr, (Int32)maxRenderbuffers, (Int32*)numRenderbuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glExtGetRenderbuffersQCOM")] + public static + unsafe void ExtGetRenderbuffers(UInt32* renderbuffers, Int32 maxRenderbuffers, Int32* numRenderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glExtGetRenderbuffersQCOM((UInt32*)renderbuffers, (Int32)maxRenderbuffers, (Int32*)numRenderbuffers); + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glExtGetShadersQCOM")] + public static + void ExtGetShaders(Int32[] shaders, Int32 maxShaders, Int32[] numShaders) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* shaders_ptr = shaders) + fixed (Int32* numShaders_ptr = numShaders) + { + Delegates.glExtGetShadersQCOM((UInt32*)shaders_ptr, (Int32)maxShaders, (Int32*)numShaders_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glExtGetShadersQCOM")] + public static + void ExtGetShaders(ref Int32 shaders, Int32 maxShaders, ref Int32 numShaders) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* shaders_ptr = &shaders) + fixed (Int32* numShaders_ptr = &numShaders) + { + Delegates.glExtGetShadersQCOM((UInt32*)shaders_ptr, (Int32)maxShaders, (Int32*)numShaders_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glExtGetShadersQCOM")] + public static + unsafe void ExtGetShaders(Int32* shaders, Int32 maxShaders, Int32* numShaders) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glExtGetShadersQCOM((UInt32*)shaders, (Int32)maxShaders, (Int32*)numShaders); + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glExtGetShadersQCOM")] + public static + void ExtGetShaders(UInt32[] shaders, Int32 maxShaders, Int32[] numShaders) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* shaders_ptr = shaders) + fixed (Int32* numShaders_ptr = numShaders) + { + Delegates.glExtGetShadersQCOM((UInt32*)shaders_ptr, (Int32)maxShaders, (Int32*)numShaders_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glExtGetShadersQCOM")] + public static + void ExtGetShaders(ref UInt32 shaders, Int32 maxShaders, ref Int32 numShaders) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* shaders_ptr = &shaders) + fixed (Int32* numShaders_ptr = &numShaders) + { + Delegates.glExtGetShadersQCOM((UInt32*)shaders_ptr, (Int32)maxShaders, (Int32*)numShaders_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glExtGetShadersQCOM")] + public static + unsafe void ExtGetShaders(UInt32* shaders, Int32 maxShaders, Int32* numShaders) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glExtGetShadersQCOM((UInt32*)shaders, (Int32)maxShaders, (Int32*)numShaders); + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glExtGetTexLevelParameterivQCOM")] + public static + void ExtGetTexLevelParameter(Int32 texture, OpenTK.Graphics.ES20.All face, Int32 level, OpenTK.Graphics.ES20.All pname, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glExtGetTexLevelParameterivQCOM((UInt32)texture, (OpenTK.Graphics.ES20.All)face, (Int32)level, (OpenTK.Graphics.ES20.All)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glExtGetTexLevelParameterivQCOM")] + public static + void ExtGetTexLevelParameter(Int32 texture, OpenTK.Graphics.ES20.All face, Int32 level, OpenTK.Graphics.ES20.All pname, ref Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glExtGetTexLevelParameterivQCOM((UInt32)texture, (OpenTK.Graphics.ES20.All)face, (Int32)level, (OpenTK.Graphics.ES20.All)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glExtGetTexLevelParameterivQCOM")] + public static + unsafe void ExtGetTexLevelParameter(Int32 texture, OpenTK.Graphics.ES20.All face, Int32 level, OpenTK.Graphics.ES20.All pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glExtGetTexLevelParameterivQCOM((UInt32)texture, (OpenTK.Graphics.ES20.All)face, (Int32)level, (OpenTK.Graphics.ES20.All)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glExtGetTexLevelParameterivQCOM")] + public static + void ExtGetTexLevelParameter(UInt32 texture, OpenTK.Graphics.ES20.All face, Int32 level, OpenTK.Graphics.ES20.All pname, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glExtGetTexLevelParameterivQCOM((UInt32)texture, (OpenTK.Graphics.ES20.All)face, (Int32)level, (OpenTK.Graphics.ES20.All)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glExtGetTexLevelParameterivQCOM")] + public static + void ExtGetTexLevelParameter(UInt32 texture, OpenTK.Graphics.ES20.All face, Int32 level, OpenTK.Graphics.ES20.All pname, ref Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glExtGetTexLevelParameterivQCOM((UInt32)texture, (OpenTK.Graphics.ES20.All)face, (Int32)level, (OpenTK.Graphics.ES20.All)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glExtGetTexLevelParameterivQCOM")] + public static + unsafe void ExtGetTexLevelParameter(UInt32 texture, OpenTK.Graphics.ES20.All face, Int32 level, OpenTK.Graphics.ES20.All pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glExtGetTexLevelParameterivQCOM((UInt32)texture, (OpenTK.Graphics.ES20.All)face, (Int32)level, (OpenTK.Graphics.ES20.All)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glExtGetTexSubImageQCOM")] + public static + void ExtGetTexSubImage(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, IntPtr texels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glExtGetTexSubImageQCOM((OpenTK.Graphics.ES20.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES20.All)format, (OpenTK.Graphics.ES20.All)type, (IntPtr)texels); + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glExtGetTexSubImageQCOM")] + public static + void ExtGetTexSubImage(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T10[] texels) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle texels_ptr = GCHandle.Alloc(texels, GCHandleType.Pinned); + try + { + Delegates.glExtGetTexSubImageQCOM((OpenTK.Graphics.ES20.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES20.All)format, (OpenTK.Graphics.ES20.All)type, (IntPtr)texels_ptr.AddrOfPinnedObject()); + } + finally + { + texels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glExtGetTexSubImageQCOM")] + public static + void ExtGetTexSubImage(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T10[,] texels) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle texels_ptr = GCHandle.Alloc(texels, GCHandleType.Pinned); + try + { + Delegates.glExtGetTexSubImageQCOM((OpenTK.Graphics.ES20.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES20.All)format, (OpenTK.Graphics.ES20.All)type, (IntPtr)texels_ptr.AddrOfPinnedObject()); + } + finally + { + texels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glExtGetTexSubImageQCOM")] + public static + void ExtGetTexSubImage(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T10[,,] texels) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle texels_ptr = GCHandle.Alloc(texels, GCHandleType.Pinned); + try + { + Delegates.glExtGetTexSubImageQCOM((OpenTK.Graphics.ES20.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES20.All)format, (OpenTK.Graphics.ES20.All)type, (IntPtr)texels_ptr.AddrOfPinnedObject()); + } + finally + { + texels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glExtGetTexSubImageQCOM")] + public static + void ExtGetTexSubImage(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] ref T10 texels) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle texels_ptr = GCHandle.Alloc(texels, GCHandleType.Pinned); + try + { + Delegates.glExtGetTexSubImageQCOM((OpenTK.Graphics.ES20.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES20.All)format, (OpenTK.Graphics.ES20.All)type, (IntPtr)texels_ptr.AddrOfPinnedObject()); + texels = (T10)texels_ptr.Target; + } + finally + { + texels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glExtGetTexturesQCOM")] + public static + void ExtGetTextures(Int32[] textures, Int32 maxTextures, Int32[] numTextures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* textures_ptr = textures) + fixed (Int32* numTextures_ptr = numTextures) + { + Delegates.glExtGetTexturesQCOM((UInt32*)textures_ptr, (Int32)maxTextures, (Int32*)numTextures_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glExtGetTexturesQCOM")] + public static + void ExtGetTextures(ref Int32 textures, Int32 maxTextures, ref Int32 numTextures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* textures_ptr = &textures) + fixed (Int32* numTextures_ptr = &numTextures) + { + Delegates.glExtGetTexturesQCOM((UInt32*)textures_ptr, (Int32)maxTextures, (Int32*)numTextures_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glExtGetTexturesQCOM")] + public static + unsafe void ExtGetTextures(Int32* textures, Int32 maxTextures, Int32* numTextures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glExtGetTexturesQCOM((UInt32*)textures, (Int32)maxTextures, (Int32*)numTextures); + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glExtGetTexturesQCOM")] + public static + void ExtGetTextures(UInt32[] textures, Int32 maxTextures, Int32[] numTextures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* textures_ptr = textures) + fixed (Int32* numTextures_ptr = numTextures) + { + Delegates.glExtGetTexturesQCOM((UInt32*)textures_ptr, (Int32)maxTextures, (Int32*)numTextures_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glExtGetTexturesQCOM")] + public static + void ExtGetTextures(ref UInt32 textures, Int32 maxTextures, ref Int32 numTextures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* textures_ptr = &textures) + fixed (Int32* numTextures_ptr = &numTextures) + { + Delegates.glExtGetTexturesQCOM((UInt32*)textures_ptr, (Int32)maxTextures, (Int32*)numTextures_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glExtGetTexturesQCOM")] + public static + unsafe void ExtGetTextures(UInt32* textures, Int32 maxTextures, Int32* numTextures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glExtGetTexturesQCOM((UInt32*)textures, (Int32)maxTextures, (Int32*)numTextures); + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glExtIsProgramBinaryQCOM")] + public static + bool ExtIsProgramBinary(Int32 program) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glExtIsProgramBinaryQCOM((UInt32)program); + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glExtIsProgramBinaryQCOM")] + public static + bool ExtIsProgramBinary(UInt32 program) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glExtIsProgramBinaryQCOM((UInt32)program); + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glExtTexObjectStateOverrideiQCOM")] + public static + void ExtTexObjectStateOverride(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, Int32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glExtTexObjectStateOverrideiQCOM((OpenTK.Graphics.ES20.All)target, (OpenTK.Graphics.ES20.All)pname, (Int32)param); + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetDriverControlsQCOM")] + public static + void GetDriverControl([OutAttribute] Int32[] num, Int32 size, [OutAttribute] Int32[] driverControls) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* num_ptr = num) + fixed (Int32* driverControls_ptr = driverControls) + { + Delegates.glGetDriverControlsQCOM((Int32*)num_ptr, (Int32)size, (UInt32*)driverControls_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetDriverControlsQCOM")] + public static + void GetDriverControl([OutAttribute] Int32[] num, Int32 size, [OutAttribute] UInt32[] driverControls) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* num_ptr = num) + fixed (UInt32* driverControls_ptr = driverControls) + { + Delegates.glGetDriverControlsQCOM((Int32*)num_ptr, (Int32)size, (UInt32*)driverControls_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetDriverControlsQCOM")] + public static + void GetDriverControl([OutAttribute] out Int32 num, Int32 size, [OutAttribute] out Int32 driverControls) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* num_ptr = &num) + fixed (Int32* driverControls_ptr = &driverControls) + { + Delegates.glGetDriverControlsQCOM((Int32*)num_ptr, (Int32)size, (UInt32*)driverControls_ptr); + num = *num_ptr; + driverControls = *driverControls_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetDriverControlsQCOM")] + public static + void GetDriverControl([OutAttribute] out Int32 num, Int32 size, [OutAttribute] out UInt32 driverControls) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* num_ptr = &num) + fixed (UInt32* driverControls_ptr = &driverControls) + { + Delegates.glGetDriverControlsQCOM((Int32*)num_ptr, (Int32)size, (UInt32*)driverControls_ptr); + num = *num_ptr; + driverControls = *driverControls_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetDriverControlsQCOM")] + public static + unsafe void GetDriverControl([OutAttribute] Int32* num, Int32 size, [OutAttribute] Int32* driverControls) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetDriverControlsQCOM((Int32*)num, (Int32)size, (UInt32*)driverControls); + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetDriverControlsQCOM")] + public static + unsafe void GetDriverControl([OutAttribute] Int32* num, Int32 size, [OutAttribute] UInt32* driverControls) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetDriverControlsQCOM((Int32*)num, (Int32)size, (UInt32*)driverControls); + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetDriverControlStringQCOM")] + public static + void GetDriverControlString(Int32 driverControl, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder driverControlString) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = length) + { + Delegates.glGetDriverControlStringQCOM((UInt32)driverControl, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)driverControlString); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetDriverControlStringQCOM")] + public static + void GetDriverControlString(Int32 driverControl, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder driverControlString) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + { + Delegates.glGetDriverControlStringQCOM((UInt32)driverControl, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)driverControlString); + length = *length_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetDriverControlStringQCOM")] + public static + unsafe void GetDriverControlString(Int32 driverControl, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder driverControlString) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetDriverControlStringQCOM((UInt32)driverControl, (Int32)bufSize, (Int32*)length, (StringBuilder)driverControlString); + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetDriverControlStringQCOM")] + public static + void GetDriverControlString(UInt32 driverControl, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder driverControlString) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = length) + { + Delegates.glGetDriverControlStringQCOM((UInt32)driverControl, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)driverControlString); + } + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetDriverControlStringQCOM")] + public static + void GetDriverControlString(UInt32 driverControl, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder driverControlString) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + { + Delegates.glGetDriverControlStringQCOM((UInt32)driverControl, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)driverControlString); + length = *length_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetDriverControlStringQCOM")] + public static + unsafe void GetDriverControlString(UInt32 driverControl, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder driverControlString) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetDriverControlStringQCOM((UInt32)driverControl, (Int32)bufSize, (Int32*)length, (StringBuilder)driverControlString); + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glStartTilingQCOM")] + public static + void StartTiling(Int32 x, Int32 y, Int32 width, Int32 height, Int32 preserveMask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glStartTilingQCOM((UInt32)x, (UInt32)y, (UInt32)width, (UInt32)height, (UInt32)preserveMask); + #if DEBUG + } + #endif + } + + /// [requires: 2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glStartTilingQCOM")] + public static + void StartTiling(UInt32 x, UInt32 y, UInt32 width, UInt32 height, UInt32 preserveMask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glStartTilingQCOM((UInt32)x, (UInt32)y, (UInt32)width, (UInt32)height, (UInt32)preserveMask); + #if DEBUG + } + #endif + } + + } + + } +} + +// flibit added this! +#pragma warning restore 3021 \ No newline at end of file diff --git a/src/MiniTK/Graphics/ES20/Enums.cs b/src/MiniTK/Graphics/ES20/Enums.cs new file mode 100644 index 0000000..09a60ff --- /dev/null +++ b/src/MiniTK/Graphics/ES20/Enums.cs @@ -0,0 +1,1760 @@ +#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; + +namespace OpenTK.Graphics.ES20 +{ + #pragma warning disable 1591 + + public enum ActiveAttribType : int + { + Float = ((int)0X1406), + FloatVec2 = ((int)0X8b50), + FloatVec3 = ((int)0X8b51), + FloatVec4 = ((int)0X8b52), + FloatMat2 = ((int)0X8b5a), + FloatMat3 = ((int)0X8b5b), + FloatMat4 = ((int)0X8b5c), + } + + public enum ActiveUniformType : int + { + Int = ((int)0X1404), + Float = ((int)0X1406), + FloatVec2 = ((int)0X8b50), + FloatVec3 = ((int)0X8b51), + FloatVec4 = ((int)0X8b52), + IntVec2 = ((int)0X8b53), + IntVec3 = ((int)0X8b54), + IntVec4 = ((int)0X8b55), + Bool = ((int)0X8b56), + BoolVec2 = ((int)0X8b57), + BoolVec3 = ((int)0X8b58), + BoolVec4 = ((int)0X8b59), + FloatMat2 = ((int)0X8b5a), + FloatMat3 = ((int)0X8b5b), + FloatMat4 = ((int)0X8b5c), + Sampler2D = ((int)0X8b5e), + SamplerCube = ((int)0X8b60), + } + + public enum All : int + { + False = ((int)0), + NoError = ((int)0), + None = ((int)0), + Zero = ((int)0), + Points = ((int)0x0000), + ColorBufferBit0Qcom = ((int)0x00000001), + ColorBufferBit1Qcom = ((int)0x00000002), + ColorBufferBit2Qcom = ((int)0x00000004), + ColorBufferBit3Qcom = ((int)0x00000008), + ColorBufferBit4Qcom = ((int)0x00000010), + ColorBufferBit5Qcom = ((int)0x00000020), + ColorBufferBit6Qcom = ((int)0x00000040), + ColorBufferBit7Qcom = ((int)0x00000080), + DepthBufferBit = ((int)0x00000100), + DepthBufferBit0Qcom = ((int)0x00000100), + DepthBufferBit1Qcom = ((int)0x00000200), + DepthBufferBit2Qcom = ((int)0x00000400), + StencilBufferBit = ((int)0x00000400), + DepthBufferBit3Qcom = ((int)0x00000800), + DepthBufferBit4Qcom = ((int)0x00001000), + DepthBufferBit5Qcom = ((int)0x00002000), + ColorBufferBit = ((int)0x00004000), + DepthBufferBit6Qcom = ((int)0x00004000), + DepthBufferBit7Qcom = ((int)0x00008000), + Lines = ((int)0x0001), + StencilBufferBit0Qcom = ((int)0x00010000), + LineLoop = ((int)0x0002), + StencilBufferBit1Qcom = ((int)0x00020000), + LineStrip = ((int)0x0003), + Triangles = ((int)0x0004), + StencilBufferBit2Qcom = ((int)0x00040000), + TriangleStrip = ((int)0x0005), + TriangleFan = ((int)0x0006), + StencilBufferBit3Qcom = ((int)0x00080000), + StencilBufferBit4Qcom = ((int)0x00100000), + StencilBufferBit5Qcom = ((int)0x00200000), + StencilBufferBit6Qcom = ((int)0x00400000), + StencilBufferBit7Qcom = ((int)0x00800000), + MultisampleBufferBit0Qcom = ((int)0x01000000), + Never = ((int)0x0200), + MultisampleBufferBit1Qcom = ((int)0x02000000), + Less = ((int)0x0201), + Equal = ((int)0x0202), + Lequal = ((int)0x0203), + Greater = ((int)0x0204), + Notequal = ((int)0x0205), + Gequal = ((int)0x0206), + Always = ((int)0x0207), + SrcColor = ((int)0x0300), + OneMinusSrcColor = ((int)0x0301), + SrcAlpha = ((int)0x0302), + OneMinusSrcAlpha = ((int)0x0303), + DstAlpha = ((int)0x0304), + OneMinusDstAlpha = ((int)0x0305), + DstColor = ((int)0x0306), + OneMinusDstColor = ((int)0x0307), + SrcAlphaSaturate = ((int)0x0308), + MultisampleBufferBit2Qcom = ((int)0x04000000), + Front = ((int)0x0404), + Back = ((int)0x0405), + FrontAndBack = ((int)0x0408), + InvalidEnum = ((int)0x0500), + InvalidValue = ((int)0x0501), + InvalidOperation = ((int)0x0502), + OutOfMemory = ((int)0x0505), + InvalidFramebufferOperation = ((int)0x0506), + MultisampleBufferBit3Qcom = ((int)0x08000000), + Cw = ((int)0x0900), + Ccw = ((int)0x0901), + LineWidth = ((int)0x0B21), + CullFace = ((int)0x0B44), + CullFaceMode = ((int)0x0B45), + FrontFace = ((int)0x0B46), + DepthRange = ((int)0x0B70), + DepthTest = ((int)0x0B71), + DepthWritemask = ((int)0x0B72), + DepthClearValue = ((int)0x0B73), + DepthFunc = ((int)0x0B74), + StencilTest = ((int)0x0B90), + StencilClearValue = ((int)0x0B91), + StencilFunc = ((int)0x0B92), + StencilValueMask = ((int)0x0B93), + StencilFail = ((int)0x0B94), + StencilPassDepthFail = ((int)0x0B95), + StencilPassDepthPass = ((int)0x0B96), + StencilRef = ((int)0x0B97), + StencilWritemask = ((int)0x0B98), + Viewport = ((int)0x0BA2), + Dither = ((int)0x0BD0), + Blend = ((int)0x0BE2), + ScissorBox = ((int)0x0C10), + ScissorTest = ((int)0x0C11), + ColorClearValue = ((int)0x0C22), + ColorWritemask = ((int)0x0C23), + UnpackAlignment = ((int)0x0CF5), + PackAlignment = ((int)0x0D05), + MaxTextureSize = ((int)0x0D33), + MaxViewportDims = ((int)0x0D3A), + SubpixelBits = ((int)0x0D50), + RedBits = ((int)0x0D52), + GreenBits = ((int)0x0D53), + BlueBits = ((int)0x0D54), + AlphaBits = ((int)0x0D55), + DepthBits = ((int)0x0D56), + StencilBits = ((int)0x0D57), + Texture2D = ((int)0x0DE1), + MultisampleBufferBit4Qcom = ((int)0x10000000), + DontCare = ((int)0x1100), + Fastest = ((int)0x1101), + Nicest = ((int)0x1102), + Byte = ((int)0x1400), + UnsignedByte = ((int)0x1401), + Short = ((int)0x1402), + UnsignedShort = ((int)0x1403), + Int = ((int)0x1404), + UnsignedInt = ((int)0x1405), + Float = ((int)0x1406), + Fixed = ((int)0x140C), + Invert = ((int)0x150A), + Texture = ((int)0x1702), + ColorExt = ((int)0x1800), + DepthExt = ((int)0x1801), + StencilExt = ((int)0x1802), + StencilIndex = ((int)0x1901), + DepthComponent = ((int)0x1902), + Alpha = ((int)0x1906), + Rgb = ((int)0x1907), + Rgba = ((int)0x1908), + Luminance = ((int)0x1909), + LuminanceAlpha = ((int)0x190A), + Keep = ((int)0x1E00), + Replace = ((int)0x1E01), + Incr = ((int)0x1E02), + Decr = ((int)0x1E03), + Vendor = ((int)0x1F00), + Renderer = ((int)0x1F01), + Version = ((int)0x1F02), + Extensions = ((int)0x1F03), + MultisampleBufferBit5Qcom = ((int)0x20000000), + Nearest = ((int)0x2600), + Linear = ((int)0x2601), + NearestMipmapNearest = ((int)0x2700), + LinearMipmapNearest = ((int)0x2701), + NearestMipmapLinear = ((int)0x2702), + LinearMipmapLinear = ((int)0x2703), + TextureMagFilter = ((int)0x2800), + TextureMinFilter = ((int)0x2801), + TextureWrapS = ((int)0x2802), + TextureWrapT = ((int)0x2803), + Repeat = ((int)0x2901), + PolygonOffsetUnits = ((int)0x2A00), + MultisampleBufferBit6Qcom = ((int)0x40000000), + CoverageBufferBitNv = ((int)0x8000), + MultisampleBufferBit7Qcom = unchecked((int)0x80000000), + ConstantColor = ((int)0x8001), + OneMinusConstantColor = ((int)0x8002), + ConstantAlpha = ((int)0x8003), + OneMinusConstantAlpha = ((int)0x8004), + BlendColor = ((int)0x8005), + FuncAdd = ((int)0x8006), + MinExt = ((int)0x8007), + MaxExt = ((int)0x8008), + BlendEquation = ((int)0x8009), + BlendEquationRgb = ((int)0X8009), + FuncSubtract = ((int)0x800A), + FuncReverseSubtract = ((int)0x800B), + UnsignedShort4444 = ((int)0x8033), + UnsignedShort5551 = ((int)0x8034), + PolygonOffsetFill = ((int)0x8037), + PolygonOffsetFactor = ((int)0x8038), + Rgb8Oes = ((int)0x8051), + Rgba4 = ((int)0x8056), + Rgb5A1 = ((int)0x8057), + Rgba8Oes = ((int)0x8058), + TextureBinding2D = ((int)0x8069), + TextureBinding3DOes = ((int)0x806A), + Texture3DOes = ((int)0x806F), + TextureWrapROes = ((int)0x8072), + Max3DTextureSizeOes = ((int)0x8073), + SampleAlphaToCoverage = ((int)0x809E), + SampleCoverage = ((int)0x80A0), + SampleBuffers = ((int)0x80A8), + Samples = ((int)0x80A9), + SampleCoverageValue = ((int)0x80AA), + SampleCoverageInvert = ((int)0x80AB), + BlendDstRgb = ((int)0x80C8), + BlendSrcRgb = ((int)0x80C9), + BlendDstAlpha = ((int)0x80CA), + BlendSrcAlpha = ((int)0x80CB), + BgraExt = ((int)0x80E1), + BgraImg = ((int)0x80E1), + ClampToEdge = ((int)0x812F), + TextureMaxLevelApple = ((int)0x813D), + GenerateMipmapHint = ((int)0x8192), + DepthComponent16 = ((int)0x81A5), + DepthComponent24Oes = ((int)0x81A6), + DepthComponent32Oes = ((int)0x81A7), + UnsignedShort565 = ((int)0x8363), + UnsignedShort4444RevExt = ((int)0x8365), + UnsignedShort4444RevImg = ((int)0x8365), + UnsignedShort1555RevExt = ((int)0x8366), + UnsignedInt2101010RevExt = ((int)0x8368), + MirroredRepeat = ((int)0x8370), + CompressedRgbS3tcDxt1Ext = ((int)0x83F0), + CompressedRgbaS3tcDxt1Ext = ((int)0x83F1), + AliasedPointSizeRange = ((int)0x846D), + AliasedLineWidthRange = ((int)0x846E), + Texture0 = ((int)0x84C0), + Texture1 = ((int)0x84C1), + Texture2 = ((int)0x84C2), + Texture3 = ((int)0x84C3), + Texture4 = ((int)0x84C4), + Texture5 = ((int)0x84C5), + Texture6 = ((int)0x84C6), + Texture7 = ((int)0x84C7), + Texture8 = ((int)0x84C8), + Texture9 = ((int)0x84C9), + Texture10 = ((int)0x84CA), + Texture11 = ((int)0x84CB), + Texture12 = ((int)0x84CC), + Texture13 = ((int)0x84CD), + Texture14 = ((int)0x84CE), + Texture15 = ((int)0x84CF), + Texture16 = ((int)0x84D0), + Texture17 = ((int)0x84D1), + Texture18 = ((int)0x84D2), + Texture19 = ((int)0x84D3), + Texture20 = ((int)0x84D4), + Texture21 = ((int)0x84D5), + Texture22 = ((int)0x84D6), + Texture23 = ((int)0x84D7), + Texture24 = ((int)0x84D8), + Texture25 = ((int)0x84D9), + Texture26 = ((int)0x84DA), + Texture27 = ((int)0x84DB), + Texture28 = ((int)0x84DC), + Texture29 = ((int)0x84DD), + Texture30 = ((int)0x84DE), + Texture31 = ((int)0x84DF), + ActiveTexture = ((int)0x84E0), + MaxRenderbufferSize = ((int)0x84E8), + AllCompletedNv = ((int)0x84F2), + FenceStatusNv = ((int)0x84F3), + FenceConditionNv = ((int)0x84F4), + DepthStencilOes = ((int)0x84F9), + UnsignedInt248Oes = ((int)0x84FA), + TextureMaxAnisotropyExt = ((int)0x84FE), + MaxTextureMaxAnisotropyExt = ((int)0x84FF), + IncrWrap = ((int)0x8507), + DecrWrap = ((int)0x8508), + TextureCubeMap = ((int)0x8513), + TextureBindingCubeMap = ((int)0x8514), + TextureCubeMapPositiveX = ((int)0x8515), + TextureCubeMapNegativeX = ((int)0x8516), + TextureCubeMapPositiveY = ((int)0x8517), + TextureCubeMapNegativeY = ((int)0x8518), + TextureCubeMapPositiveZ = ((int)0x8519), + TextureCubeMapNegativeZ = ((int)0x851A), + MaxCubeMapTextureSize = ((int)0x851C), + VertexArrayBindingOes = ((int)0x85B5), + UnsignedShort88Apple = ((int)0x85BA), + UnsignedShort88RevApple = ((int)0x85BB), + VertexAttribArrayEnabled = ((int)0x8622), + VertexAttribArraySize = ((int)0x8623), + VertexAttribArrayStride = ((int)0x8624), + VertexAttribArrayType = ((int)0x8625), + CurrentVertexAttrib = ((int)0x8626), + VertexAttribArrayPointer = ((int)0x8645), + NumCompressedTextureFormats = ((int)0x86A2), + CompressedTextureFormats = ((int)0x86A3), + Z400BinaryAmd = ((int)0x8740), + ProgramBinaryLengthOes = ((int)0x8741), + BufferSize = ((int)0x8764), + BufferUsage = ((int)0x8765), + AtcRgbaInterpolatedAlphaAmd = ((int)0x87EE), + Gl3DcXAmd = ((int)0x87F9), + Gl3DcXyAmd = ((int)0x87FA), + NumProgramBinaryFormatsOes = ((int)0x87FE), + ProgramBinaryFormatsOes = ((int)0x87FF), + StencilBackFunc = ((int)0x8800), + StencilBackFail = ((int)0x8801), + StencilBackPassDepthFail = ((int)0x8802), + StencilBackPassDepthPass = ((int)0x8803), + WriteonlyRenderingQcom = ((int)0x8823), + BlendEquationAlpha = ((int)0x883D), + MaxVertexAttribs = ((int)0x8869), + VertexAttribArrayNormalized = ((int)0x886A), + MaxTextureImageUnits = ((int)0x8872), + ArrayBuffer = ((int)0x8892), + ElementArrayBuffer = ((int)0x8893), + ArrayBufferBinding = ((int)0x8894), + ElementArrayBufferBinding = ((int)0x8895), + VertexAttribArrayBufferBinding = ((int)0x889F), + WriteOnlyOes = ((int)0x88B9), + BufferAccessOes = ((int)0x88BB), + BufferMappedOes = ((int)0x88BC), + BufferMapPointerOes = ((int)0x88BD), + StreamDraw = ((int)0x88E0), + StaticDraw = ((int)0x88E4), + DynamicDraw = ((int)0x88E8), + Depth24Stencil8Oes = ((int)0x88F0), + Rgb422Apple = ((int)0x8A1F), + FragmentShader = ((int)0x8B30), + VertexShader = ((int)0x8B31), + MaxVertexTextureImageUnits = ((int)0x8B4C), + MaxCombinedTextureImageUnits = ((int)0x8B4D), + ShaderType = ((int)0x8B4F), + FloatVec2 = ((int)0x8B50), + FloatVec3 = ((int)0x8B51), + FloatVec4 = ((int)0x8B52), + IntVec2 = ((int)0x8B53), + IntVec3 = ((int)0x8B54), + IntVec4 = ((int)0x8B55), + Bool = ((int)0x8B56), + BoolVec2 = ((int)0x8B57), + BoolVec3 = ((int)0x8B58), + BoolVec4 = ((int)0x8B59), + FloatMat2 = ((int)0x8B5A), + FloatMat3 = ((int)0x8B5B), + FloatMat4 = ((int)0x8B5C), + Sampler2D = ((int)0x8B5E), + Sampler3DOes = ((int)0x8B5F), + SamplerCube = ((int)0x8B60), + DeleteStatus = ((int)0x8B80), + CompileStatus = ((int)0x8B81), + LinkStatus = ((int)0x8B82), + ValidateStatus = ((int)0x8B83), + InfoLogLength = ((int)0x8B84), + AttachedShaders = ((int)0x8B85), + ActiveUniforms = ((int)0x8B86), + ActiveUniformMaxLength = ((int)0x8B87), + ShaderSourceLength = ((int)0x8B88), + ActiveAttributes = ((int)0x8B89), + ActiveAttributeMaxLength = ((int)0x8B8A), + FragmentShaderDerivativeHintOes = ((int)0x8B8B), + ShadingLanguageVersion = ((int)0x8B8C), + CurrentProgram = ((int)0x8B8D), + Palette4Rgb8Oes = ((int)0x8B90), + Palette4Rgba8Oes = ((int)0x8B91), + Palette4R5G6B5Oes = ((int)0x8B92), + Palette4Rgba4Oes = ((int)0x8B93), + Palette4Rgb5A1Oes = ((int)0x8B94), + Palette8Rgb8Oes = ((int)0x8B95), + Palette8Rgba8Oes = ((int)0x8B96), + Palette8R5G6B5Oes = ((int)0x8B97), + Palette8Rgba4Oes = ((int)0x8B98), + Palette8Rgb5A1Oes = ((int)0x8B99), + ImplementationColorReadType = ((int)0x8B9A), + ImplementationColorReadFormat = ((int)0x8B9B), + CounterTypeAmd = ((int)0x8BC0), + CounterRangeAmd = ((int)0x8BC1), + UnsignedInt64Amd = ((int)0x8BC2), + PercentageAmd = ((int)0x8BC3), + PerfmonResultAvailableAmd = ((int)0x8BC4), + PerfmonResultSizeAmd = ((int)0x8BC5), + PerfmonResultAmd = ((int)0x8BC6), + TextureWidthQcom = ((int)0x8BD2), + TextureHeightQcom = ((int)0x8BD3), + TextureDepthQcom = ((int)0x8BD4), + TextureInternalFormatQcom = ((int)0x8BD5), + TextureFormatQcom = ((int)0x8BD6), + TextureTypeQcom = ((int)0x8BD7), + TextureImageValidQcom = ((int)0x8BD8), + TextureNumLevelsQcom = ((int)0x8BD9), + TextureTargetQcom = ((int)0x8BDA), + TextureObjectValidQcom = ((int)0x8BDB), + StateRestore = ((int)0x8BDC), + CompressedRgbPvrtc4Bppv1Img = ((int)0x8C00), + CompressedRgbPvrtc2Bppv1Img = ((int)0x8C01), + CompressedRgbaPvrtc4Bppv1Img = ((int)0x8C02), + CompressedRgbaPvrtc2Bppv1Img = ((int)0x8C03), + SgxBinaryImg = ((int)0x8C0A), + AtcRgbAmd = ((int)0x8C92), + AtcRgbaExplicitAlphaAmd = ((int)0x8C93), + StencilBackRef = ((int)0x8CA3), + StencilBackValueMask = ((int)0x8CA4), + StencilBackWritemask = ((int)0x8CA5), + DrawFramebufferBindingAngle = ((int)0x8CA6), + DrawFramebufferBindingApple = ((int)0x8CA6), + FramebufferBinding = ((int)0x8CA6), + RenderbufferBinding = ((int)0x8CA7), + ReadFramebufferAngle = ((int)0x8CA8), + ReadFramebufferApple = ((int)0x8CA8), + DrawFramebufferAngle = ((int)0x8CA9), + DrawFramebufferApple = ((int)0x8CA9), + ReadFramebufferBindingAngle = ((int)0x8CAA), + ReadFramebufferBindingApple = ((int)0x8CAA), + RenderbufferSamplesAngle = ((int)0x8CAB), + RenderbufferSamplesApple = ((int)0x8CAB), + FramebufferAttachmentObjectType = ((int)0x8CD0), + FramebufferAttachmentObjectName = ((int)0x8CD1), + FramebufferAttachmentTextureLevel = ((int)0x8CD2), + FramebufferAttachmentTextureCubeMapFace = ((int)0x8CD3), + FramebufferAttachmentTexture3DZoffsetOes = ((int)0x8CD4), + FramebufferComplete = ((int)0x8CD5), + FramebufferIncompleteAttachment = ((int)0x8CD6), + FramebufferIncompleteMissingAttachment = ((int)0x8CD7), + FramebufferIncompleteDimensions = ((int)0x8CD9), + FramebufferUnsupported = ((int)0x8CDD), + ColorAttachment0 = ((int)0x8CE0), + DepthAttachment = ((int)0x8D00), + StencilAttachment = ((int)0x8D20), + Framebuffer = ((int)0x8D40), + Renderbuffer = ((int)0x8D41), + RenderbufferWidth = ((int)0x8D42), + RenderbufferHeight = ((int)0x8D43), + RenderbufferInternalFormat = ((int)0x8D44), + StencilIndex1Oes = ((int)0x8D46), + StencilIndex4Oes = ((int)0x8D47), + StencilIndex8 = ((int)0x8D48), + RenderbufferRedSize = ((int)0x8D50), + RenderbufferGreenSize = ((int)0x8D51), + RenderbufferBlueSize = ((int)0x8D52), + RenderbufferAlphaSize = ((int)0x8D53), + RenderbufferDepthSize = ((int)0x8D54), + RenderbufferStencilSize = ((int)0x8D55), + FramebufferIncompleteMultisampleAngle = ((int)0x8D56), + FramebufferIncompleteMultisampleApple = ((int)0x8D56), + MaxSamplesAngle = ((int)0x8D57), + MaxSamplesApple = ((int)0x8D57), + HalfFloatOes = ((int)0x8D61), + Rgb565 = ((int)0x8D62), + Etc1Rgb8Oes = ((int)0x8D64), + LowFloat = ((int)0x8DF0), + MediumFloat = ((int)0x8DF1), + HighFloat = ((int)0x8DF2), + LowInt = ((int)0x8DF3), + MediumInt = ((int)0x8DF4), + HighInt = ((int)0x8DF5), + UnsignedInt1010102Oes = ((int)0x8DF6), + Int1010102Oes = ((int)0x8DF7), + ShaderBinaryFormats = ((int)0x8DF8), + NumShaderBinaryFormats = ((int)0x8DF9), + ShaderCompiler = ((int)0x8DFA), + MaxVertexUniformVectors = ((int)0x8DFB), + MaxVaryingVectors = ((int)0x8DFC), + MaxFragmentUniformVectors = ((int)0x8DFD), + DepthComponent16NonlinearNv = ((int)0x8E2C), + CoverageComponentNv = ((int)0x8ED0), + CoverageComponent4Nv = ((int)0x8ED1), + CoverageAttachmentNv = ((int)0x8ED2), + CoverageBuffersNv = ((int)0x8ED3), + CoverageSamplesNv = ((int)0x8ED4), + CoverageAllFragmentsNv = ((int)0x8ED5), + CoverageEdgeFragmentsNv = ((int)0x8ED6), + CoverageAutomaticNv = ((int)0x8ED7), + MaliShaderBinaryArm = ((int)0x8F60), + PerfmonGlobalModeQcom = ((int)0x8FA0), + ShaderBinaryViv = ((int)0x8FC4), + SgxProgramBinaryImg = ((int)0x9130), + RenderbufferSamplesImg = ((int)0x9133), + FramebufferIncompleteMultisampleImg = ((int)0x9134), + MaxSamplesImg = ((int)0x9135), + TextureSamplesImg = ((int)0x9136), + AmdCompressed3DcTexture = ((int)1), + AmdCompressedAtcTexture = ((int)1), + AmdPerformanceMonitor = ((int)1), + AmdProgramBinaryZ400 = ((int)1), + AngleFramebufferBlit = ((int)1), + AngleFramebufferMultisample = ((int)1), + AppleFramebufferMultisample = ((int)1), + AppleRgb422 = ((int)1), + AppleTextureFormatBgra8888 = ((int)1), + AppleTextureMaxLevel = ((int)1), + ArmMaliShaderBinary = ((int)1), + ArmRgba8 = ((int)1), + EsVersion20 = ((int)1), + ExtBlendMinmax = ((int)1), + ExtDiscardFramebuffer = ((int)1), + ExtMultiDrawArrays = ((int)1), + ExtReadFormatBgra = ((int)1), + ExtShaderTextureLod = ((int)1), + ExtTextureCompressionDxt1 = ((int)1), + ExtTextureFilterAnisotropic = ((int)1), + ExtTextureFormatBgra8888 = ((int)1), + ExtTextureType2101010Rev = ((int)1), + ImgMultisampledRenderToTexture = ((int)1), + ImgProgramBinary = ((int)1), + ImgReadFormat = ((int)1), + ImgShaderBinary = ((int)1), + ImgTextureCompressionPvrtc = ((int)1), + NvCoverageSample = ((int)1), + NvDepthNonlinear = ((int)1), + NvFence = ((int)1), + OesCompressedEtc1Rgb8Texture = ((int)1), + OesCompressedPalettedTexture = ((int)1), + OesDepth24 = ((int)1), + OesDepth32 = ((int)1), + OesDepthTexture = ((int)1), + OesEglImage = ((int)1), + OesElementIndexUint = ((int)1), + OesFboRenderMipmap = ((int)1), + OesFragmentPrecisionHigh = ((int)1), + OesGetProgramBinary = ((int)1), + OesMapbuffer = ((int)1), + OesPackedDepthStencil = ((int)1), + OesRgb8Rgba8 = ((int)1), + OesStandardDerivatives = ((int)1), + OesStencil1 = ((int)1), + OesStencil4 = ((int)1), + OesTexture3D = ((int)1), + OesTextureFloat = ((int)1), + OesTextureFloatLinear = ((int)1), + OesTextureHalfFloat = ((int)1), + OesTextureHalfFloatLinear = ((int)1), + OesTextureNpot = ((int)1), + OesVertexArrayObject = ((int)1), + OesVertexHalfFloat = ((int)1), + OesVertexType1010102 = ((int)1), + One = ((int)1), + QcomDriverControl = ((int)1), + QcomExtendedGet = ((int)1), + QcomExtendedGet2 = ((int)1), + QcomPerfmonGlobalMode = ((int)1), + QcomTiledRendering = ((int)1), + QcomWriteonlyRendering = ((int)1), + True = ((int)1), + VivShaderBinary = ((int)1), + } + + public enum AmdCompressed3Dctexture : int + { + Gl3DcXAmd = ((int)0x87F9), + Gl3DcXyAmd = ((int)0x87FA), + AmdCompressed3DcTexture = ((int)1), + } + + public enum AmdCompressedAtctexture : int + { + AtcRgbaInterpolatedAlphaAmd = ((int)0x87EE), + AtcRgbAmd = ((int)0x8C92), + AtcRgbaExplicitAlphaAmd = ((int)0x8C93), + AmdCompressedAtcTexture = ((int)1), + } + + public enum AmdPerformanceMonitor : int + { + CounterTypeAmd = ((int)0x8BC0), + CounterRangeAmd = ((int)0x8BC1), + UnsignedInt64Amd = ((int)0x8BC2), + PercentageAmd = ((int)0x8BC3), + PerfmonResultAvailableAmd = ((int)0x8BC4), + PerfmonResultSizeAmd = ((int)0x8BC5), + PerfmonResultAmd = ((int)0x8BC6), + AmdPerformanceMonitor = ((int)1), + } + + public enum AmdProgramBinaryZ400 : int + { + Z400BinaryAmd = ((int)0x8740), + AmdProgramBinaryZ400 = ((int)1), + } + + public enum AngleFramebufferBlit : int + { + DrawFramebufferBindingAngle = ((int)0x8CA6), + ReadFramebufferAngle = ((int)0x8CA8), + DrawFramebufferAngle = ((int)0x8CA9), + ReadFramebufferBindingAngle = ((int)0x8CAA), + AngleFramebufferBlit = ((int)1), + } + + public enum AngleFramebufferMultisample : int + { + RenderbufferSamplesAngle = ((int)0x8CAB), + FramebufferIncompleteMultisampleAngle = ((int)0x8D56), + MaxSamplesAngle = ((int)0x8D57), + AngleFramebufferMultisample = ((int)1), + } + + public enum AppleFramebufferMultisample : int + { + DrawFramebufferBindingApple = ((int)0x8CA6), + ReadFramebufferApple = ((int)0x8CA8), + DrawFramebufferApple = ((int)0x8CA9), + ReadFramebufferBindingApple = ((int)0x8CAA), + RenderbufferSamplesApple = ((int)0x8CAB), + FramebufferIncompleteMultisampleApple = ((int)0x8D56), + MaxSamplesApple = ((int)0x8D57), + AppleFramebufferMultisample = ((int)1), + } + + public enum AppleRgb422 : int + { + UnsignedShort88Apple = ((int)0x85BA), + UnsignedShort88RevApple = ((int)0x85BB), + Rgb422Apple = ((int)0x8A1F), + AppleRgb422 = ((int)1), + } + + public enum AppleTextureFormatBgra8888 : int + { + BgraExt = ((int)0x80E1), + AppleTextureFormatBgra8888 = ((int)1), + } + + public enum AppleTextureMaxLevel : int + { + TextureMaxLevelApple = ((int)0x813D), + AppleTextureMaxLevel = ((int)1), + } + + public enum ArmMaliShaderBinary : int + { + MaliShaderBinaryArm = ((int)0x8F60), + ArmMaliShaderBinary = ((int)1), + } + + public enum ArmRgba8 : int + { + ArmRgba8 = ((int)1), + } + + public enum BeginMode : int + { + Points = ((int)0x0000), + Lines = ((int)0x0001), + LineLoop = ((int)0x0002), + LineStrip = ((int)0x0003), + Triangles = ((int)0x0004), + TriangleStrip = ((int)0x0005), + TriangleFan = ((int)0x0006), + } + + public enum BlendEquationMode : int + { + FuncAdd = ((int)0X8006), + FuncSubtract = ((int)0X800a), + FuncReverseSubtract = ((int)0X800b), + } + + public enum BlendEquationSeparate : int + { + FuncAdd = ((int)0x8006), + BlendEquation = ((int)0x8009), + BlendEquationAlpha = ((int)0x883D), + } + + public enum BlendingFactorDest : int + { + Zero = ((int)0), + SrcColor = ((int)0x0300), + OneMinusSrcColor = ((int)0x0301), + SrcAlpha = ((int)0x0302), + OneMinusSrcAlpha = ((int)0x0303), + DstAlpha = ((int)0x0304), + OneMinusDstAlpha = ((int)0x0305), + DstColor = ((int)0X0306), + OneMinusDstColor = ((int)0X0307), + SrcAlphaSaturate = ((int)0X0308), + ConstantColor = ((int)0X8001), + OneMinusConstantColor = ((int)0X8002), + ConstantAlpha = ((int)0X8003), + OneMinusConstantAlpha = ((int)0X8004), + One = ((int)1), + } + + public enum BlendingFactorSrc : int + { + Zero = ((int)0), + SrcColor = ((int)0X0300), + OneMinusSrcColor = ((int)0X0301), + SrcAlpha = ((int)0X0302), + OneMinusSrcAlpha = ((int)0X0303), + DstAlpha = ((int)0X0304), + OneMinusDstAlpha = ((int)0X0305), + DstColor = ((int)0x0306), + OneMinusDstColor = ((int)0x0307), + SrcAlphaSaturate = ((int)0x0308), + ConstantColor = ((int)0X8001), + OneMinusConstantColor = ((int)0X8002), + ConstantAlpha = ((int)0X8003), + OneMinusConstantAlpha = ((int)0X8004), + One = ((int)1), + } + + public enum BlendSubtract : int + { + FuncSubtract = ((int)0x800A), + FuncReverseSubtract = ((int)0x800B), + } + + public enum Boolean : int + { + False = ((int)0), + True = ((int)1), + } + + public enum BufferObjects : int + { + CurrentVertexAttrib = ((int)0x8626), + BufferSize = ((int)0x8764), + BufferUsage = ((int)0x8765), + ArrayBuffer = ((int)0x8892), + ElementArrayBuffer = ((int)0x8893), + ArrayBufferBinding = ((int)0x8894), + ElementArrayBufferBinding = ((int)0x8895), + StreamDraw = ((int)0x88E0), + StaticDraw = ((int)0x88E4), + DynamicDraw = ((int)0x88E8), + } + + public enum BufferParameterName : int + { + BufferSize = ((int)0X8764), + BufferUsage = ((int)0X8765), + } + + public enum BufferTarget : int + { + ArrayBuffer = ((int)0X8892), + ElementArrayBuffer = ((int)0X8893), + } + + public enum BufferUsage : int + { + StreamDraw = ((int)0X88e0), + StaticDraw = ((int)0X88e4), + DynamicDraw = ((int)0X88e8), + } + + [Flags] + public enum ClearBufferMask : int + { + DepthBufferBit = ((int)0x00000100), + StencilBufferBit = ((int)0x00000400), + ColorBufferBit = ((int)0x00004000), + } + + public enum CullFaceMode : int + { + Front = ((int)0x0404), + Back = ((int)0x0405), + FrontAndBack = ((int)0x0408), + } + + public enum DataType : int + { + Byte = ((int)0x1400), + UnsignedByte = ((int)0x1401), + Short = ((int)0x1402), + UnsignedShort = ((int)0x1403), + Int = ((int)0x1404), + UnsignedInt = ((int)0x1405), + Float = ((int)0x1406), + Fixed = ((int)0x140C), + } + + public enum DepthFunction : int + { + Never = ((int)0X0200), + Less = ((int)0X0201), + Equal = ((int)0X0202), + Lequal = ((int)0X0203), + Greater = ((int)0X0204), + Notequal = ((int)0X0205), + Gequal = ((int)0X0206), + Always = ((int)0X0207), + } + + public enum DrawElementsType : int + { + UnsignedByte = ((int)0X1401), + UnsignedShort = ((int)0X1403), + } + + public enum EnableCap : int + { + CullFace = ((int)0x0B44), + DepthTest = ((int)0x0B71), + StencilTest = ((int)0x0B90), + Dither = ((int)0x0BD0), + Blend = ((int)0x0BE2), + ScissorTest = ((int)0x0C11), + Texture2D = ((int)0x0DE1), + PolygonOffsetFill = ((int)0x8037), + SampleAlphaToCoverage = ((int)0x809E), + SampleCoverage = ((int)0x80A0), + } + + public enum ErrorCode : int + { + NoError = ((int)0), + InvalidEnum = ((int)0x0500), + InvalidValue = ((int)0x0501), + InvalidOperation = ((int)0x0502), + OutOfMemory = ((int)0x0505), + InvalidFramebufferOperation = ((int)0X0506), + } + + public enum ExtBlendMinmax : int + { + MinExt = ((int)0x8007), + MaxExt = ((int)0x8008), + ExtBlendMinmax = ((int)1), + } + + public enum ExtDiscardFramebuffer : int + { + ColorExt = ((int)0x1800), + DepthExt = ((int)0x1801), + StencilExt = ((int)0x1802), + ExtDiscardFramebuffer = ((int)1), + } + + public enum ExtReadFormatBgra : int + { + BgraExt = ((int)0x80E1), + UnsignedShort4444RevExt = ((int)0x8365), + UnsignedShort1555RevExt = ((int)0x8366), + ExtReadFormatBgra = ((int)1), + } + + public enum ExtShaderTextureLod : int + { + ExtShaderTextureLod = ((int)1), + } + + public enum ExtTextureCompressionDxt1 : int + { + CompressedRgbS3tcDxt1Ext = ((int)0x83F0), + CompressedRgbaS3tcDxt1Ext = ((int)0x83F1), + ExtTextureCompressionDxt1 = ((int)1), + } + + public enum ExtTextureFilterAnisotropic : int + { + TextureMaxAnisotropyExt = ((int)0x84FE), + MaxTextureMaxAnisotropyExt = ((int)0x84FF), + ExtTextureFilterAnisotropic = ((int)1), + } + + public enum ExtTextureFormatBgra8888 : int + { + BgraExt = ((int)0x80E1), + ExtTextureFormatBgra8888 = ((int)1), + } + + public enum ExtTextureType2101010Rev : int + { + UnsignedInt2101010RevExt = ((int)0x8368), + ExtTextureType2101010Rev = ((int)1), + } + + public enum FramebufferErrorCode : int + { + FramebufferComplete = ((int)0X8cd5), + FramebufferIncompleteAttachment = ((int)0X8cd6), + FramebufferIncompleteMissingAttachment = ((int)0X8cd7), + FramebufferIncompleteDimensions = ((int)0X8cd9), + FramebufferUnsupported = ((int)0X8cdd), + } + + public enum FramebufferObject : int + { + None = ((int)0), + InvalidFramebufferOperation = ((int)0x0506), + StencilIndex = ((int)0x1901), + Rgba4 = ((int)0x8056), + Rgb5A1 = ((int)0x8057), + DepthComponent16 = ((int)0x81A5), + MaxRenderbufferSize = ((int)0x84E8), + FramebufferBinding = ((int)0x8CA6), + RenderbufferBinding = ((int)0x8CA7), + FramebufferAttachmentObjectType = ((int)0x8CD0), + FramebufferAttachmentObjectName = ((int)0x8CD1), + FramebufferAttachmentTextureLevel = ((int)0x8CD2), + FramebufferAttachmentTextureCubeMapFace = ((int)0x8CD3), + FramebufferComplete = ((int)0x8CD5), + FramebufferIncompleteAttachment = ((int)0x8CD6), + FramebufferIncompleteMissingAttachment = ((int)0x8CD7), + FramebufferIncompleteDimensions = ((int)0x8CD9), + FramebufferUnsupported = ((int)0x8CDD), + ColorAttachment0 = ((int)0x8CE0), + DepthAttachment = ((int)0x8D00), + StencilAttachment = ((int)0x8D20), + Framebuffer = ((int)0x8D40), + Renderbuffer = ((int)0x8D41), + RenderbufferWidth = ((int)0x8D42), + RenderbufferHeight = ((int)0x8D43), + RenderbufferInternalFormat = ((int)0x8D44), + StencilIndex8 = ((int)0x8D48), + RenderbufferRedSize = ((int)0x8D50), + RenderbufferGreenSize = ((int)0x8D51), + RenderbufferBlueSize = ((int)0x8D52), + RenderbufferAlphaSize = ((int)0x8D53), + RenderbufferDepthSize = ((int)0x8D54), + RenderbufferStencilSize = ((int)0x8D55), + Rgb565 = ((int)0x8D62), + } + + public enum FramebufferParameterName : int + { + FramebufferAttachmentObjectType = ((int)0X8cd0), + FramebufferAttachmentObjectName = ((int)0X8cd1), + FramebufferAttachmentTextureLevel = ((int)0X8cd2), + FramebufferAttachmentTextureCubeMapFace = ((int)0X8cd3), + } + + public enum FramebufferSlot : int + { + ColorAttachment0 = ((int)0X8ce0), + DepthAttachment = ((int)0X8d00), + StencilAttachment = ((int)0X8d20), + } + + public enum FramebufferTarget : int + { + Framebuffer = ((int)0X8d40), + } + + public enum FrontFaceDirection : int + { + Cw = ((int)0x0900), + Ccw = ((int)0x0901), + } + + public enum GetPName : int + { + LineWidth = ((int)0x0B21), + CullFace = ((int)0X0b44), + CullFaceMode = ((int)0x0B45), + FrontFace = ((int)0x0B46), + DepthRange = ((int)0x0B70), + DepthTest = ((int)0X0b71), + DepthWritemask = ((int)0x0B72), + DepthClearValue = ((int)0x0B73), + DepthFunc = ((int)0x0B74), + StencilTest = ((int)0X0b90), + StencilClearValue = ((int)0x0B91), + StencilFunc = ((int)0x0B92), + StencilValueMask = ((int)0x0B93), + StencilFail = ((int)0x0B94), + StencilPassDepthFail = ((int)0x0B95), + StencilPassDepthPass = ((int)0x0B96), + StencilRef = ((int)0x0B97), + StencilWritemask = ((int)0x0B98), + Viewport = ((int)0x0BA2), + Dither = ((int)0X0bd0), + Blend = ((int)0X0be2), + ScissorBox = ((int)0x0C10), + ScissorTest = ((int)0X0c11), + ColorClearValue = ((int)0x0C22), + ColorWritemask = ((int)0x0C23), + UnpackAlignment = ((int)0x0CF5), + PackAlignment = ((int)0x0D05), + MaxTextureSize = ((int)0x0D33), + MaxViewportDims = ((int)0x0D3A), + SubpixelBits = ((int)0x0D50), + RedBits = ((int)0x0D52), + GreenBits = ((int)0x0D53), + BlueBits = ((int)0x0D54), + AlphaBits = ((int)0x0D55), + DepthBits = ((int)0x0D56), + StencilBits = ((int)0x0D57), + Texture2D = ((int)0X0de1), + PolygonOffsetUnits = ((int)0x2A00), + BlendColor = ((int)0X8005), + BlendEquation = ((int)0X8009), + BlendEquationRgb = ((int)0X8009), + PolygonOffsetFill = ((int)0X8037), + PolygonOffsetFactor = ((int)0x8038), + TextureBinding2D = ((int)0x8069), + SampleAlphaToCoverage = ((int)0X809e), + SampleCoverage = ((int)0X80a0), + SampleBuffers = ((int)0x80A8), + Samples = ((int)0x80A9), + SampleCoverageValue = ((int)0x80AA), + SampleCoverageInvert = ((int)0x80AB), + BlendDstRgb = ((int)0X80c8), + BlendSrcRgb = ((int)0X80c9), + BlendDstAlpha = ((int)0X80ca), + BlendSrcAlpha = ((int)0X80cb), + GenerateMipmapHint = ((int)0X8192), + AliasedPointSizeRange = ((int)0x846D), + AliasedLineWidthRange = ((int)0x846E), + ActiveTexture = ((int)0X84e0), + MaxRenderbufferSize = ((int)0X84e8), + TextureBindingCubeMap = ((int)0X8514), + MaxCubeMapTextureSize = ((int)0X851c), + NumCompressedTextureFormats = ((int)0X86a2), + CompressedTextureFormats = ((int)0X86a3), + StencilBackFunc = ((int)0x8800), + StencilBackFail = ((int)0x8801), + StencilBackPassDepthFail = ((int)0x8802), + StencilBackPassDepthPass = ((int)0x8803), + BlendEquationAlpha = ((int)0X883d), + MaxVertexAttribs = ((int)0X8869), + MaxTextureImageUnits = ((int)0X8872), + ArrayBufferBinding = ((int)0X8894), + ElementArrayBufferBinding = ((int)0X8895), + MaxVertexTextureImageUnits = ((int)0X8b4c), + MaxCombinedTextureImageUnits = ((int)0X8b4d), + CurrentProgram = ((int)0X8b8d), + ImplementationColorReadType = ((int)0X8b9a), + ImplementationColorReadFormat = ((int)0X8b9b), + StencilBackRef = ((int)0x8CA3), + StencilBackValueMask = ((int)0x8CA4), + StencilBackWritemask = ((int)0x8CA5), + FramebufferBinding = ((int)0X8ca6), + RenderbufferBinding = ((int)0X8ca7), + ShaderBinaryFormats = ((int)0X8df8), + NumShaderBinaryFormats = ((int)0X8df9), + ShaderCompiler = ((int)0X8dfa), + MaxVertexUniformVectors = ((int)0X8dfb), + MaxVaryingVectors = ((int)0X8dfc), + MaxFragmentUniformVectors = ((int)0X8dfd), + } + + public enum GetTextureParameter : int + { + TextureMagFilter = ((int)0X2800), + TextureMinFilter = ((int)0X2801), + TextureWrapS = ((int)0X2802), + TextureWrapT = ((int)0X2803), + NumCompressedTextureFormats = ((int)0x86A2), + CompressedTextureFormats = ((int)0x86A3), + } + + public enum HintMode : int + { + DontCare = ((int)0x1100), + Fastest = ((int)0x1101), + Nicest = ((int)0x1102), + } + + public enum HintTarget : int + { + GenerateMipmapHint = ((int)0x8192), + } + + public enum ImgmultisampledRenderToTexture : int + { + RenderbufferSamplesImg = ((int)0x9133), + FramebufferIncompleteMultisampleImg = ((int)0x9134), + MaxSamplesImg = ((int)0x9135), + TextureSamplesImg = ((int)0x9136), + ImgMultisampledRenderToTexture = ((int)1), + } + + public enum ImgprogramBinary : int + { + SgxProgramBinaryImg = ((int)0x9130), + ImgProgramBinary = ((int)1), + } + + public enum ImgreadFormat : int + { + BgraImg = ((int)0x80E1), + UnsignedShort4444RevImg = ((int)0x8365), + ImgReadFormat = ((int)1), + } + + public enum ImgshaderBinary : int + { + SgxBinaryImg = ((int)0x8C0A), + ImgShaderBinary = ((int)1), + } + + public enum ImgtextureCompressionPvrtc : int + { + CompressedRgbPvrtc4Bppv1Img = ((int)0x8C00), + CompressedRgbPvrtc2Bppv1Img = ((int)0x8C01), + CompressedRgbaPvrtc4Bppv1Img = ((int)0x8C02), + CompressedRgbaPvrtc2Bppv1Img = ((int)0x8C03), + ImgTextureCompressionPvrtc = ((int)1), + } + + public enum NvcoverageSample : int + { + CoverageBufferBitNv = ((int)0x8000), + CoverageComponentNv = ((int)0x8ED0), + CoverageComponent4Nv = ((int)0x8ED1), + CoverageAttachmentNv = ((int)0x8ED2), + CoverageBuffersNv = ((int)0x8ED3), + CoverageSamplesNv = ((int)0x8ED4), + CoverageAllFragmentsNv = ((int)0x8ED5), + CoverageEdgeFragmentsNv = ((int)0x8ED6), + CoverageAutomaticNv = ((int)0x8ED7), + NvCoverageSample = ((int)1), + } + + public enum NvdepthNonlinear : int + { + DepthComponent16NonlinearNv = ((int)0x8E2C), + NvDepthNonlinear = ((int)1), + } + + public enum Nvfence : int + { + AllCompletedNv = ((int)0x84F2), + FenceStatusNv = ((int)0x84F3), + FenceConditionNv = ((int)0x84F4), + NvFence = ((int)1), + } + + public enum OesCompressedEtc1Rgb8Texture : int + { + Etc1Rgb8Oes = ((int)0x8D64), + OesCompressedEtc1Rgb8Texture = ((int)1), + } + + public enum OesCompressedPalettedTexture : int + { + Palette4Rgb8Oes = ((int)0x8B90), + Palette4Rgba8Oes = ((int)0x8B91), + Palette4R5G6B5Oes = ((int)0x8B92), + Palette4Rgba4Oes = ((int)0x8B93), + Palette4Rgb5A1Oes = ((int)0x8B94), + Palette8Rgb8Oes = ((int)0x8B95), + Palette8Rgba8Oes = ((int)0x8B96), + Palette8R5G6B5Oes = ((int)0x8B97), + Palette8Rgba4Oes = ((int)0x8B98), + Palette8Rgb5A1Oes = ((int)0x8B99), + OesCompressedPalettedTexture = ((int)1), + } + + public enum OesDepth24 : int + { + DepthComponent24Oes = ((int)0x81A6), + OesDepth24 = ((int)1), + } + + public enum OesDepth32 : int + { + DepthComponent32Oes = ((int)0x81A7), + OesDepth32 = ((int)1), + } + + public enum OesDepthTexture : int + { + OesDepthTexture = ((int)1), + } + + public enum OesEglimage : int + { + OesEglImage = ((int)1), + } + + public enum OesElementIndexUint : int + { + UnsignedInt = ((int)0x1405), + OesElementIndexUint = ((int)1), + } + + public enum OesFboRenderMipmap : int + { + OesFboRenderMipmap = ((int)1), + } + + public enum OesFragmentPrecisionHigh : int + { + OesFragmentPrecisionHigh = ((int)1), + } + + public enum OesGetProgramBinary : int + { + ProgramBinaryLengthOes = ((int)0x8741), + NumProgramBinaryFormatsOes = ((int)0x87FE), + ProgramBinaryFormatsOes = ((int)0x87FF), + OesGetProgramBinary = ((int)1), + } + + public enum OesMapbuffer : int + { + WriteOnlyOes = ((int)0x88B9), + BufferAccessOes = ((int)0x88BB), + BufferMappedOes = ((int)0x88BC), + BufferMapPointerOes = ((int)0x88BD), + OesMapbuffer = ((int)1), + } + + public enum OesPackedDepthStencil : int + { + DepthStencilOes = ((int)0x84F9), + UnsignedInt248Oes = ((int)0x84FA), + Depth24Stencil8Oes = ((int)0x88F0), + OesPackedDepthStencil = ((int)1), + } + + public enum OesRgb8Rgba8 : int + { + Rgb8Oes = ((int)0x8051), + Rgba8Oes = ((int)0x8058), + OesRgb8Rgba8 = ((int)1), + } + + public enum OesStandardDerivatives : int + { + FragmentShaderDerivativeHintOes = ((int)0x8B8B), + OesStandardDerivatives = ((int)1), + } + + public enum OesStencil1 : int + { + StencilIndex1Oes = ((int)0x8D46), + OesStencil1 = ((int)1), + } + + public enum OesStencil4 : int + { + StencilIndex4Oes = ((int)0x8D47), + OesStencil4 = ((int)1), + } + + public enum OesTexture3D : int + { + TextureBinding3DOes = ((int)0x806A), + Texture3DOes = ((int)0x806F), + TextureWrapROes = ((int)0x8072), + Max3DTextureSizeOes = ((int)0x8073), + Sampler3DOes = ((int)0x8B5F), + FramebufferAttachmentTexture3DZoffsetOes = ((int)0x8CD4), + OesTexture3D = ((int)1), + } + + public enum OesTextureFloat : int + { + OesTextureFloat = ((int)1), + } + + public enum OesTextureFloatLinear : int + { + OesTextureFloatLinear = ((int)1), + } + + public enum OesTextureHalfFloat : int + { + HalfFloatOes = ((int)0x8D61), + OesTextureHalfFloat = ((int)1), + } + + public enum OesTextureHalfFloatLinear : int + { + OesTextureHalfFloatLinear = ((int)1), + } + + public enum OesTextureNpot : int + { + OesTextureNpot = ((int)1), + } + + public enum OesVertexArrayObject : int + { + VertexArrayBindingOes = ((int)0x85B5), + OesVertexArrayObject = ((int)1), + } + + public enum OesVertexHalfFloat : int + { + OesVertexHalfFloat = ((int)1), + } + + public enum OesVertexType1010102 : int + { + UnsignedInt1010102Oes = ((int)0x8DF6), + Int1010102Oes = ((int)0x8DF7), + OesVertexType1010102 = ((int)1), + } + + public enum OpenGlescoreVersions : int + { + EsVersion20 = ((int)1), + } + + public enum PixelFormat : int + { + DepthComponent = ((int)0x1902), + Alpha = ((int)0x1906), + Rgb = ((int)0x1907), + Rgba = ((int)0x1908), + Luminance = ((int)0x1909), + LuminanceAlpha = ((int)0x190A), + } + + public enum PixelInternalFormat : int + { + Alpha = ((int)0X1906), + Rgb = ((int)0X1907), + Rgba = ((int)0X1908), + Luminance = ((int)0X1909), + LuminanceAlpha = ((int)0X190a), + } + + public enum PixelStoreParameter : int + { + UnpackAlignment = ((int)0X0cf5), + PackAlignment = ((int)0X0d05), + } + + public enum PixelType : int + { + UnsignedByte = ((int)0X1401), + UnsignedShort4444 = ((int)0x8033), + UnsignedShort5551 = ((int)0x8034), + UnsignedShort565 = ((int)0x8363), + } + + public enum ProgramParameter : int + { + DeleteStatus = ((int)0X8b80), + LinkStatus = ((int)0X8b82), + ValidateStatus = ((int)0X8b83), + InfoLogLength = ((int)0X8b84), + AttachedShaders = ((int)0X8b85), + ActiveUniforms = ((int)0X8b86), + ActiveUniformMaxLength = ((int)0X8b87), + ActiveAttributes = ((int)0X8b89), + ActiveAttributeMaxLength = ((int)0X8b8a), + } + + public enum QcomDriverControl : int + { + QcomDriverControl = ((int)1), + } + + public enum QcomExtendedGet : int + { + TextureWidthQcom = ((int)0x8BD2), + TextureHeightQcom = ((int)0x8BD3), + TextureDepthQcom = ((int)0x8BD4), + TextureInternalFormatQcom = ((int)0x8BD5), + TextureFormatQcom = ((int)0x8BD6), + TextureTypeQcom = ((int)0x8BD7), + TextureImageValidQcom = ((int)0x8BD8), + TextureNumLevelsQcom = ((int)0x8BD9), + TextureTargetQcom = ((int)0x8BDA), + TextureObjectValidQcom = ((int)0x8BDB), + StateRestore = ((int)0x8BDC), + QcomExtendedGet = ((int)1), + } + + public enum QcomExtendedGet2 : int + { + QcomExtendedGet2 = ((int)1), + } + + public enum QcomPerfmonGlobalMode : int + { + PerfmonGlobalModeQcom = ((int)0x8FA0), + QcomPerfmonGlobalMode = ((int)1), + } + + public enum QcomTiledRendering : int + { + ColorBufferBit0Qcom = ((int)0x00000001), + ColorBufferBit1Qcom = ((int)0x00000002), + ColorBufferBit2Qcom = ((int)0x00000004), + ColorBufferBit3Qcom = ((int)0x00000008), + ColorBufferBit4Qcom = ((int)0x00000010), + ColorBufferBit5Qcom = ((int)0x00000020), + ColorBufferBit6Qcom = ((int)0x00000040), + ColorBufferBit7Qcom = ((int)0x00000080), + DepthBufferBit0Qcom = ((int)0x00000100), + DepthBufferBit1Qcom = ((int)0x00000200), + DepthBufferBit2Qcom = ((int)0x00000400), + DepthBufferBit3Qcom = ((int)0x00000800), + DepthBufferBit4Qcom = ((int)0x00001000), + DepthBufferBit5Qcom = ((int)0x00002000), + DepthBufferBit6Qcom = ((int)0x00004000), + DepthBufferBit7Qcom = ((int)0x00008000), + StencilBufferBit0Qcom = ((int)0x00010000), + StencilBufferBit1Qcom = ((int)0x00020000), + StencilBufferBit2Qcom = ((int)0x00040000), + StencilBufferBit3Qcom = ((int)0x00080000), + StencilBufferBit4Qcom = ((int)0x00100000), + StencilBufferBit5Qcom = ((int)0x00200000), + StencilBufferBit6Qcom = ((int)0x00400000), + StencilBufferBit7Qcom = ((int)0x00800000), + MultisampleBufferBit0Qcom = ((int)0x01000000), + MultisampleBufferBit1Qcom = ((int)0x02000000), + MultisampleBufferBit2Qcom = ((int)0x04000000), + MultisampleBufferBit3Qcom = ((int)0x08000000), + MultisampleBufferBit4Qcom = ((int)0x10000000), + MultisampleBufferBit5Qcom = ((int)0x20000000), + MultisampleBufferBit6Qcom = ((int)0x40000000), + MultisampleBufferBit7Qcom = unchecked((int)0x80000000), + QcomTiledRendering = ((int)1), + } + + public enum QcomWriteonlyRendering : int + { + WriteonlyRenderingQcom = ((int)0x8823), + QcomWriteonlyRendering = ((int)1), + } + + public enum ReadFormat : int + { + ImplementationColorReadType = ((int)0x8B9A), + ImplementationColorReadFormat = ((int)0x8B9B), + } + + public enum RenderbufferInternalFormat : int + { + Rgba4 = ((int)0X8056), + Rgb5A1 = ((int)0X8057), + DepthComponent16 = ((int)0X81a5), + StencilIndex8 = ((int)0X8d48), + Rgb565 = ((int)0X8d62), + } + + public enum RenderbufferParameterName : int + { + RenderbufferWidth = ((int)0X8d42), + RenderbufferHeight = ((int)0X8d43), + RenderbufferInternalFormat = ((int)0X8d44), + RenderbufferRedSize = ((int)0X8d50), + RenderbufferGreenSize = ((int)0X8d51), + RenderbufferBlueSize = ((int)0X8d52), + RenderbufferAlphaSize = ((int)0X8d53), + RenderbufferDepthSize = ((int)0X8d54), + RenderbufferStencilSize = ((int)0X8d55), + } + + public enum RenderbufferTarget : int + { + Renderbuffer = ((int)0X8d41), + } + + public enum SeparateBlendFunctions : int + { + ConstantColor = ((int)0x8001), + OneMinusConstantColor = ((int)0x8002), + ConstantAlpha = ((int)0x8003), + OneMinusConstantAlpha = ((int)0x8004), + BlendColor = ((int)0x8005), + BlendDstRgb = ((int)0x80C8), + BlendSrcRgb = ((int)0x80C9), + BlendDstAlpha = ((int)0x80CA), + BlendSrcAlpha = ((int)0x80CB), + } + + public enum ShaderBinary : int + { + ShaderBinaryFormats = ((int)0x8DF8), + NumShaderBinaryFormats = ((int)0x8DF9), + } + + public enum ShaderBinaryFormat : int + { + } + + public enum ShaderParameter : int + { + ShaderType = ((int)0X8b4f), + DeleteStatus = ((int)0X8b80), + CompileStatus = ((int)0X8b81), + InfoLogLength = ((int)0X8b84), + ShaderSourceLength = ((int)0X8b88), + } + + public enum ShaderPrecision : int + { + LowFloat = ((int)0X8df0), + MediumFloat = ((int)0X8df1), + HighFloat = ((int)0X8df2), + LowInt = ((int)0X8df3), + MediumInt = ((int)0X8df4), + HighInt = ((int)0X8df5), + } + + public enum ShaderPrecisionSpecifiedTypes : int + { + LowFloat = ((int)0x8DF0), + MediumFloat = ((int)0x8DF1), + HighFloat = ((int)0x8DF2), + LowInt = ((int)0x8DF3), + MediumInt = ((int)0x8DF4), + HighInt = ((int)0x8DF5), + } + + public enum Shaders : int + { + MaxVertexAttribs = ((int)0x8869), + MaxTextureImageUnits = ((int)0x8872), + FragmentShader = ((int)0x8B30), + VertexShader = ((int)0x8B31), + MaxVertexTextureImageUnits = ((int)0x8B4C), + MaxCombinedTextureImageUnits = ((int)0x8B4D), + ShaderType = ((int)0x8B4F), + DeleteStatus = ((int)0x8B80), + LinkStatus = ((int)0x8B82), + ValidateStatus = ((int)0x8B83), + AttachedShaders = ((int)0x8B85), + ActiveUniforms = ((int)0x8B86), + ActiveUniformMaxLength = ((int)0x8B87), + ActiveAttributes = ((int)0x8B89), + ActiveAttributeMaxLength = ((int)0x8B8A), + ShadingLanguageVersion = ((int)0x8B8C), + CurrentProgram = ((int)0x8B8D), + MaxVertexUniformVectors = ((int)0x8DFB), + MaxVaryingVectors = ((int)0x8DFC), + MaxFragmentUniformVectors = ((int)0x8DFD), + } + + public enum ShaderSource : int + { + CompileStatus = ((int)0x8B81), + InfoLogLength = ((int)0x8B84), + ShaderSourceLength = ((int)0x8B88), + ShaderCompiler = ((int)0x8DFA), + } + + public enum ShaderType : int + { + FragmentShader = ((int)0X8b30), + VertexShader = ((int)0X8b31), + } + + public enum StencilFunction : int + { + Never = ((int)0x0200), + Less = ((int)0x0201), + Equal = ((int)0x0202), + Lequal = ((int)0x0203), + Greater = ((int)0x0204), + Notequal = ((int)0x0205), + Gequal = ((int)0x0206), + Always = ((int)0x0207), + } + + public enum StencilOp : int + { + Zero = ((int)0X0000), + Invert = ((int)0x150A), + Keep = ((int)0x1E00), + Replace = ((int)0x1E01), + Incr = ((int)0x1E02), + Decr = ((int)0x1E03), + IncrWrap = ((int)0x8507), + DecrWrap = ((int)0x8508), + } + + public enum StringName : int + { + Vendor = ((int)0x1F00), + Renderer = ((int)0x1F01), + Version = ((int)0x1F02), + Extensions = ((int)0x1F03), + ShadingLanguageVersion = ((int)0X8b8c), + } + + public enum TextureMagFilter : int + { + Nearest = ((int)0x2600), + Linear = ((int)0x2601), + } + + public enum TextureMinFilter : int + { + Nearest = ((int)0X2600), + Linear = ((int)0X2601), + NearestMipmapNearest = ((int)0x2700), + LinearMipmapNearest = ((int)0x2701), + NearestMipmapLinear = ((int)0x2702), + LinearMipmapLinear = ((int)0x2703), + } + + public enum TextureParameterName : int + { + TextureMagFilter = ((int)0x2800), + TextureMinFilter = ((int)0x2801), + TextureWrapS = ((int)0x2802), + TextureWrapT = ((int)0x2803), + } + + public enum TextureTarget : int + { + Texture2D = ((int)0X0de1), + Texture = ((int)0x1702), + TextureCubeMap = ((int)0x8513), + TextureBindingCubeMap = ((int)0x8514), + TextureCubeMapPositiveX = ((int)0x8515), + TextureCubeMapNegativeX = ((int)0x8516), + TextureCubeMapPositiveY = ((int)0x8517), + TextureCubeMapNegativeY = ((int)0x8518), + TextureCubeMapPositiveZ = ((int)0x8519), + TextureCubeMapNegativeZ = ((int)0x851A), + MaxCubeMapTextureSize = ((int)0x851C), + } + + public enum TextureUnit : int + { + Texture0 = ((int)0x84C0), + Texture1 = ((int)0x84C1), + Texture2 = ((int)0x84C2), + Texture3 = ((int)0x84C3), + Texture4 = ((int)0x84C4), + Texture5 = ((int)0x84C5), + Texture6 = ((int)0x84C6), + Texture7 = ((int)0x84C7), + Texture8 = ((int)0x84C8), + Texture9 = ((int)0x84C9), + Texture10 = ((int)0x84CA), + Texture11 = ((int)0x84CB), + Texture12 = ((int)0x84CC), + Texture13 = ((int)0x84CD), + Texture14 = ((int)0x84CE), + Texture15 = ((int)0x84CF), + Texture16 = ((int)0x84D0), + Texture17 = ((int)0x84D1), + Texture18 = ((int)0x84D2), + Texture19 = ((int)0x84D3), + Texture20 = ((int)0x84D4), + Texture21 = ((int)0x84D5), + Texture22 = ((int)0x84D6), + Texture23 = ((int)0x84D7), + Texture24 = ((int)0x84D8), + Texture25 = ((int)0x84D9), + Texture26 = ((int)0x84DA), + Texture27 = ((int)0x84DB), + Texture28 = ((int)0x84DC), + Texture29 = ((int)0x84DD), + Texture30 = ((int)0x84DE), + Texture31 = ((int)0x84DF), + ActiveTexture = ((int)0x84E0), + } + + public enum TextureWrapMode : int + { + Repeat = ((int)0x2901), + ClampToEdge = ((int)0x812F), + MirroredRepeat = ((int)0x8370), + } + + public enum UniformTypes : int + { + FloatVec2 = ((int)0x8B50), + FloatVec3 = ((int)0x8B51), + FloatVec4 = ((int)0x8B52), + IntVec2 = ((int)0x8B53), + IntVec3 = ((int)0x8B54), + IntVec4 = ((int)0x8B55), + Bool = ((int)0x8B56), + BoolVec2 = ((int)0x8B57), + BoolVec3 = ((int)0x8B58), + BoolVec4 = ((int)0x8B59), + FloatMat2 = ((int)0x8B5A), + FloatMat3 = ((int)0x8B5B), + FloatMat4 = ((int)0x8B5C), + Sampler2D = ((int)0x8B5E), + SamplerCube = ((int)0x8B60), + } + + public enum Unknown : int + { + ExtMultiDrawArrays = ((int)1), + } + + public enum VertexArrays : int + { + VertexAttribArrayEnabled = ((int)0x8622), + VertexAttribArraySize = ((int)0x8623), + VertexAttribArrayStride = ((int)0x8624), + VertexAttribArrayType = ((int)0x8625), + VertexAttribArrayPointer = ((int)0x8645), + VertexAttribArrayNormalized = ((int)0x886A), + VertexAttribArrayBufferBinding = ((int)0x889F), + } + + public enum VertexAttribParameter : int + { + VertexAttribArrayEnabled = ((int)0X8622), + VertexAttribArraySize = ((int)0X8623), + VertexAttribArrayStride = ((int)0X8624), + VertexAttribArrayType = ((int)0X8625), + CurrentVertexAttrib = ((int)0X8626), + VertexAttribArrayNormalized = ((int)0X886a), + VertexAttribArrayBufferBinding = ((int)0X889f), + } + + public enum VertexAttribPointerParameter : int + { + VertexAttribArrayPointer = ((int)0X8645), + } + + public enum VertexAttribPointerType : int + { + Byte = ((int)0X1400), + UnsignedByte = ((int)0X1401), + Short = ((int)0X1402), + UnsignedShort = ((int)0X1403), + Float = ((int)0X1406), + Fixed = ((int)0X140c), + } + + public enum VivshaderBinary : int + { + ShaderBinaryViv = ((int)0x8FC4), + VivShaderBinary = ((int)1), + } + +} diff --git a/src/MiniTK/Graphics/ES20/ErrorHelper.cs b/src/MiniTK/Graphics/ES20/ErrorHelper.cs new file mode 100644 index 0000000..5122573 --- /dev/null +++ b/src/MiniTK/Graphics/ES20/ErrorHelper.cs @@ -0,0 +1,136 @@ +#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; + +/* flibit Changes GraphicsContext stuff to IntPtr, an SDL_GLContext. */ + +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 IntPtr Context; + + #endregion + + #region Constructors + + public ErrorHelper(IntPtr context) + { + if (context == IntPtr.Zero) + throw new GraphicsContextMissingException(); + + Context = 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 (GraphicsContext.ErrorChecking) + { + while ((ErrorCode)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 (GraphicsContext.ErrorChecking) + { + List error_list = ContextErrors[Context]; + error_list.Clear(); + ErrorCode error; + do + { + error = (ErrorCode)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 + + #region IDisposable Members + + public void Dispose() + { + CheckErrors(); + } + + #endregion + } +} diff --git a/src/MiniTK/Graphics/ES20/Helper.cs b/src/MiniTK/Graphics/ES20/Helper.cs new file mode 100644 index 0000000..0b472f4 --- /dev/null +++ b/src/MiniTK/Graphics/ES20/Helper.cs @@ -0,0 +1,445 @@ +#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 + +// flibit added this! +#pragma warning disable 3021 + +using System; +using System.Collections.Generic; +#if !MINIMAL +using System.Drawing; +#endif +using System.Text; + +namespace OpenTK.Graphics.ES20 +{ + /// + /// Provides access to OpenGL ES 2.0 methods. + /// + public sealed partial class GL : GraphicsBindingsBase + { + const string Library = "libGLESv2.dll"; + static readonly object sync_root = new object(); + + #region --- Protected Members --- + + /// + /// Returns a synchronization token unique for the GL class. + /// + protected override object SyncRoot + { + get { return sync_root; } + } + + #endregion + + #region Helper Overloads + +#pragma warning disable 3019 +#pragma warning disable 1591 +#pragma warning disable 1572 +#pragma warning disable 1573 + + // Note: Mono 1.9.1 truncates StringBuilder results (for 'out string' parameters). + // We work around this issue by doubling the StringBuilder capacity. + + #region public static void ClearColor() overloads + + public static void ClearColor(Color color) + { + GL.ClearColor(color.R / 255.0f, color.G / 255.0f, color.B / 255.0f, color.A / 255.0f); + } + + public static void ClearColor(Color4 color) + { + GL.ClearColor(color.R, color.G, color.B, color.A); + } + + #endregion + + #region public static void BlendColor() overloads + + public static void BlendColor(Color color) + { + GL.BlendColor(color.R / 255.0f, color.G / 255.0f, color.B / 255.0f, color.A / 255.0f); + } + + public static void BlendColor(Color4 color) + { + GL.BlendColor(color.R, color.G, color.B, color.A); + } + + #endregion + + #region Uniform + + [CLSCompliant(false)] + public static void Uniform2(int location, ref Vector2 vector) + { + GL.Uniform2(location, vector.X, vector.Y); + } + + [CLSCompliant(false)] + public static void Uniform3(int location, ref Vector3 vector) + { + GL.Uniform3(location, vector.X, vector.Y, vector.Z); + } + + [CLSCompliant(false)] + public static void Uniform4(int location, ref Vector4 vector) + { + GL.Uniform4(location, vector.X, vector.Y, vector.Z, vector.W); + } + + public static void Uniform2(int location, Vector2 vector) + { + GL.Uniform2(location, vector.X, vector.Y); + } + + public static void Uniform3(int location, Vector3 vector) + { + GL.Uniform3(location, vector.X, vector.Y, vector.Z); + } + + public static void Uniform4(int location, Vector4 vector) + { + GL.Uniform4(location, vector.X, vector.Y, vector.Z, vector.W); + } + + public static void Uniform4(int location, Color4 color) + { + GL.Uniform4(location, color.R, color.G, color.B, color.A); + } + + public static void Uniform4(int location, Quaternion quaternion) + { + GL.Uniform4(location, quaternion.X, quaternion.Y, quaternion.Z, quaternion.W); + } + + public static void UniformMatrix4(int location, bool transpose, ref Matrix4 matrix) + { + unsafe + { + fixed (float* matrix_ptr = &matrix.Row0.X) + { + GL.UniformMatrix4(location, 1, transpose, matrix_ptr); + } + } + } + + + #endregion + + #region Shaders + + #region GetActiveAttrib + + public static string GetActiveAttrib(int program, int index, out int size, out ActiveAttribType type) + { + int length; + GetProgram(program, ProgramParameter.ActiveAttributeMaxLength, out length); + StringBuilder sb = new StringBuilder(length == 0 ? 1 : length * 2); + + GetActiveAttrib(program, index, sb.Capacity, out length, out size, out type, sb); + return sb.ToString(); + } + + #endregion + + #region GetActiveUniform + + public static string GetActiveUniform(int program, int uniformIndex, out int size, out ActiveUniformType type) + { + int length; + GetProgram(program, ProgramParameter.ActiveUniformMaxLength, out length); + + StringBuilder sb = new StringBuilder(length == 0 ? 1 : length); + GetActiveUniform(program, uniformIndex, sb.Capacity, out length, out size, out type, sb); + return sb.ToString(); + } + + #endregion + + #region public static void ShaderSource(Int32 shader, System.String @string) + + public static void ShaderSource(Int32 shader, System.String @string) + { + unsafe + { + int length = @string.Length; + GL.ShaderSource((UInt32)shader, 1, new string[] { @string }, &length); + } + } + + #endregion + + #region public static string GetShaderInfoLog(Int32 shader) + + public static string GetShaderInfoLog(Int32 shader) + { + string info; + GetShaderInfoLog(shader, out info); + return info; + } + + #endregion + + #region public static void GetShaderInfoLog(Int32 shader, out string info) + + public static void GetShaderInfoLog(Int32 shader, out string info) + { + unsafe + { + int length; + GL.GetShader(shader, ShaderParameter.InfoLogLength, out length); + if (length == 0) + { + info = String.Empty; + return; + } + StringBuilder sb = new StringBuilder(length * 2); + GL.GetShaderInfoLog((UInt32)shader, sb.Capacity, &length, sb); + info = sb.ToString(); + } + } + + #endregion + + #region public static string GetProgramInfoLog(Int32 program) + + public static string GetProgramInfoLog(Int32 program) + { + string info; + GetProgramInfoLog(program, out info); + return info; + } + + #endregion + + #region public static void GetProgramInfoLog(Int32 program, out string info) + + public static void GetProgramInfoLog(Int32 program, out string info) + { + unsafe + { + int length; + GL.GetProgram(program, ProgramParameter.InfoLogLength, out length); if (length == 0) + { + info = String.Empty; + return; + } + StringBuilder sb = new StringBuilder(length * 2); + GL.GetProgramInfoLog((UInt32)program, sb.Capacity, &length, sb); + info = sb.ToString(); + } + } + + #endregion + + #endregion + + #region public static void VertexAttrib2(Int32 index, ref Vector2 v) + + [CLSCompliant(false)] + public static void VertexAttrib2(Int32 index, ref Vector2 v) + { + GL.VertexAttrib2(index, v.X, v.Y); + } + + #endregion + + #region public static void VertexAttrib3(Int32 index, ref Vector3 v) + + [CLSCompliant(false)] + public static void VertexAttrib3(Int32 index, ref Vector3 v) + { + GL.VertexAttrib3(index, v.X, v.Y, v.Z); + } + + #endregion + + #region public static void VertexAttrib4(Int32 index, ref Vector4 v) + + [CLSCompliant(false)] + public static void VertexAttrib4(Int32 index, ref Vector4 v) + { + GL.VertexAttrib4(index, v.X, v.Y, v.Z, v.W); + } + + #endregion + + #region public static void VertexAttrib2(Int32 index, Vector2 v) + + public static void VertexAttrib2(Int32 index, Vector2 v) + { + GL.VertexAttrib2(index, v.X, v.Y); + } + + #endregion + + #region public static void VertexAttrib3(Int32 index, Vector3 v) + + public static void VertexAttrib3(Int32 index, Vector3 v) + { + GL.VertexAttrib3(index, v.X, v.Y, v.Z); + } + + #endregion + + #region public static void VertexAttrib4(Int32 index, Vector4 v) + + public static void VertexAttrib4(Int32 index, Vector4 v) + { + GL.VertexAttrib4(index, v.X, v.Y, v.Z, v.W); + } + + #endregion + + #region VertexAttribPointer + + public static void VertexAttribPointer(int index, int size, VertexAttribPointerType type, bool normalized, int stride, int offset) + { + VertexAttribPointer(index, size, type, normalized, stride, (IntPtr)offset); + } + + [CLSCompliant(false)] + public static void VertexAttribPointer(uint index, int size, VertexAttribPointerType type, bool normalized, int stride, int offset) + { + VertexAttribPointer(index, size, type, normalized, stride, (IntPtr)offset); + } + + #endregion + + #region DrawElements + + public static void DrawElements(BeginMode mode, int count, DrawElementsType type, int offset) + { + DrawElements(mode, count, type, new IntPtr(offset)); + } + + #endregion + + #region public static int GenTexture() + + public static int GenTexture() + { + int id; + GenTextures(1, out id); + return id; + } + + #endregion + + #region public static void DeleteTexture(int id) + + public static void DeleteTexture(int id) + { + DeleteTextures(1, ref id); + } + + #endregion + + #region Get[Float|Double] + + public static void GetFloat(GetPName pname, out Vector2 vector) + { + unsafe + { + fixed (Vector2* ptr = &vector) + GetFloat(pname, (float*)ptr); + } + } + + public static void GetFloat(GetPName pname, out Vector3 vector) + { + unsafe + { + fixed (Vector3* ptr = &vector) + GetFloat(pname, (float*)ptr); + } + } + + public static void GetFloat(GetPName pname, out Vector4 vector) + { + unsafe + { + fixed (Vector4* ptr = &vector) + GetFloat(pname, (float*)ptr); + } + } + + public static void GetFloat(GetPName pname, out Matrix4 matrix) + { + unsafe + { + fixed (Matrix4* ptr = &matrix) + GetFloat(pname, (float*)ptr); + } + } + + #endregion + + #region Viewport + + public static void Viewport(Size size) + { + GL.Viewport(0, 0, size.Width, size.Height); + } + + public static void Viewport(Point location, Size size) + { + GL.Viewport(location.X, location.Y, size.Width, size.Height); + } + + public static void Viewport(Rectangle rectangle) + { + GL.Viewport(rectangle.X, rectangle.Y, rectangle.Width, rectangle.Height); + } +#if NO_SYSDRAWING + public static void Viewport(OpenTK.Point location, OpenTK.Size size) + { + GL.Viewport(location.X, location.Y, size.Width, size.Height); + } + + public static void Viewport(OpenTK.Rectangle rectangle) + { + GL.Viewport(rectangle.X, rectangle.Y, rectangle.Width, rectangle.Height); + } +#endif + #endregion + +#pragma warning restore 3019 +#pragma warning restore 1591 +#pragma warning restore 1572 +#pragma warning restore 1573 + + #endregion + } +} + +// flibit added this! +#pragma warning restore 3021 \ No newline at end of file diff --git a/src/MiniTK/Graphics/GraphicsBindingsBase.cs b/src/MiniTK/Graphics/GraphicsBindingsBase.cs new file mode 100644 index 0000000..74885cd --- /dev/null +++ b/src/MiniTK/Graphics/GraphicsBindingsBase.cs @@ -0,0 +1,59 @@ +#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 SDL2; + +namespace OpenTK.Graphics +{ + /// + /// Implements BindingsBase for the OpenTK.Graphics namespace (OpenGL and OpenGL|ES). + /// + public abstract class GraphicsBindingsBase : BindingsBase + { + /// + /// Retrieves an unmanaged function pointer to the specified function. + /// + /// + /// A that defines the name of the function. + /// + /// + /// A that contains the address of funcname or IntPtr.Zero, + /// if the function is not supported by the drivers. + /// + /// + /// Note: some drivers are known to return non-zero values for unsupported functions. + /// Typical values include 1 and 2 - inheritors are advised to check for and ignore these + /// values. + /// + protected override IntPtr GetAddress(string funcname) + { + // flibit Muddled With This!!! + return SDL.SDL_GL_GetProcAddress(funcname); + } + } +} diff --git a/src/MiniTK/Graphics/GraphicsContextException.cs b/src/MiniTK/Graphics/GraphicsContextException.cs new file mode 100644 index 0000000..c44d5cf --- /dev/null +++ b/src/MiniTK/Graphics/GraphicsContextException.cs @@ -0,0 +1,21 @@ +using System; +using System.Collections.Generic; +using System.Text; + +namespace OpenTK.Graphics +{ + /// + /// Represents errors related to a GraphicsContext. + /// + public class GraphicsContextException : Exception + { + /// + /// Constructs a new GraphicsContextException. + /// + public GraphicsContextException() : base() { } + /// + /// Constructs a new GraphicsContextException with the given error message. + /// + public GraphicsContextException(string message) : base(message) { } + } +} diff --git a/src/MiniTK/Graphics/GraphicsContextMissingException.cs b/src/MiniTK/Graphics/GraphicsContextMissingException.cs new file mode 100644 index 0000000..8d2102e --- /dev/null +++ b/src/MiniTK/Graphics/GraphicsContextMissingException.cs @@ -0,0 +1,22 @@ +using System; +using System.Collections.Generic; +using System.Text; + +namespace OpenTK.Graphics +{ + /// + /// Thrown when an operation that required GraphicsContext is performed, when no + /// GraphicsContext is current in the calling thread. + /// + public class GraphicsContextMissingException : GraphicsContextException + { + /// + /// Constructs a new GraphicsContextMissingException. + /// + public GraphicsContextMissingException() + : base(String.Format( + "No context is current in the calling thread (ThreadId: {0}).", + System.Threading.Thread.CurrentThread.ManagedThreadId)) + { } + } +} diff --git a/src/MiniTK/Graphics/GraphicsErrorException.cs b/src/MiniTK/Graphics/GraphicsErrorException.cs new file mode 100644 index 0000000..f3eb81a --- /dev/null +++ b/src/MiniTK/Graphics/GraphicsErrorException.cs @@ -0,0 +1,21 @@ +using System; +using System.Collections.Generic; +using System.Text; + +namespace OpenTK.Graphics +{ + /// + /// Identifies a specific OpenGL or OpenGL|ES error. Such exceptions are only thrown + /// when OpenGL or OpenGL|ES automatic error checking is enabled - + /// property. + /// Important: Do *not* catch this exception. Rather, fix the underlying issue that caused the error. + /// + public class GraphicsErrorException : GraphicsException + { + /// + /// Constructs a new GraphicsErrorException instance with the specified error message. + /// + /// + public GraphicsErrorException(string message) : base(message) { } + } +} diff --git a/src/MiniTK/Graphics/GraphicsExceptions.cs b/src/MiniTK/Graphics/GraphicsExceptions.cs new file mode 100644 index 0000000..f53062b --- /dev/null +++ b/src/MiniTK/Graphics/GraphicsExceptions.cs @@ -0,0 +1,24 @@ +#region --- License --- +/* Licensed under the MIT/X11 license. + * Copyright (c) 2006-2008 the OpenTK team. + * This notice may not be removed. + * See license.txt for licensing detailed licensing details. + */ +#endregion + +using System; +using System.Collections.Generic; +using System.Text; + +namespace OpenTK +{ + /// Represents errors related to Graphics operations. + public class GraphicsException : Exception + { + /// Constructs a new GraphicsException. + public GraphicsException() : base() { } + /// Constructs a new GraphicsException with the specified excpetion message. + /// + public GraphicsException(string message) : base(message) { } + } +} diff --git a/src/MiniTK/Graphics/OpenGL/ErrorHelper.cs b/src/MiniTK/Graphics/OpenGL/ErrorHelper.cs new file mode 100644 index 0000000..9331ea7 --- /dev/null +++ b/src/MiniTK/Graphics/OpenGL/ErrorHelper.cs @@ -0,0 +1,136 @@ +#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; + +/* flibit Changes GraphicsContext stuff to IntPtr, an SDL_GLContext. */ + +namespace OpenTK.Graphics.OpenGL +{ + // 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 IntPtr Context; + + #endregion + + #region Constructors + + public ErrorHelper(IntPtr context) + { + if (context == IntPtr.Zero) + throw new GraphicsContextMissingException(); + + Context = 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 (GraphicsContext.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 (GraphicsContext.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 + + #region IDisposable Members + + public void Dispose() + { + CheckErrors(); + } + + #endregion + } +} diff --git a/src/MiniTK/Graphics/OpenGL/GL.cs b/src/MiniTK/Graphics/OpenGL/GL.cs new file mode 100644 index 0000000..c1237e1 --- /dev/null +++ b/src/MiniTK/Graphics/OpenGL/GL.cs @@ -0,0 +1,193995 @@ +// +// The Open Toolkit Library License +// +// Copyright (c) 2006 - 2010 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. +// + +// flibit added this! +#pragma warning disable 3021 + +namespace OpenTK.Graphics.OpenGL +{ + using System; + using System.Text; + using System.Runtime.InteropServices; + #pragma warning disable 3019 + #pragma warning disable 1591 + #pragma warning disable 1572 + #pragma warning disable 1573 + + partial class GL + { + + public static partial class GL_3dfx + { + /// [requires: 3DFX_tbuffer] + [AutoGenerated(Category = "3DFX_tbuffer", Version = "1.2", EntryPoint = "glTbufferMask3DFX")] + public static + void TbufferMask(Int32 mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTbufferMask3DFX((UInt32)mask); + #if DEBUG + } + #endif + } + + /// [requires: 3DFX_tbuffer] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3DFX_tbuffer", Version = "1.2", EntryPoint = "glTbufferMask3DFX")] + public static + void TbufferMask(UInt32 mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTbufferMask3DFX((UInt32)mask); + #if DEBUG + } + #endif + } + + } + + public static partial class Amd + { + /// [requires: AMD_performance_monitor] + [AutoGenerated(Category = "AMD_performance_monitor", Version = "1.2", EntryPoint = "glBeginPerfMonitorAMD")] + public static + void BeginPerfMonitor(Int32 monitor) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBeginPerfMonitorAMD((UInt32)monitor); + #if DEBUG + } + #endif + } + + /// [requires: AMD_performance_monitor] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AMD_performance_monitor", Version = "1.2", EntryPoint = "glBeginPerfMonitorAMD")] + public static + void BeginPerfMonitor(UInt32 monitor) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBeginPerfMonitorAMD((UInt32)monitor); + #if DEBUG + } + #endif + } + + /// [requires: AMD_draw_buffers_blend] + [AutoGenerated(Category = "AMD_draw_buffers_blend", Version = "2.0", EntryPoint = "glBlendEquationIndexedAMD")] + public static + void BlendEquationIndexed(Int32 buf, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBlendEquationIndexedAMD((UInt32)buf, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)mode); + #if DEBUG + } + #endif + } + + /// [requires: AMD_draw_buffers_blend] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AMD_draw_buffers_blend", Version = "2.0", EntryPoint = "glBlendEquationIndexedAMD")] + public static + void BlendEquationIndexed(UInt32 buf, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBlendEquationIndexedAMD((UInt32)buf, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)mode); + #if DEBUG + } + #endif + } + + /// [requires: AMD_draw_buffers_blend] + [AutoGenerated(Category = "AMD_draw_buffers_blend", Version = "2.0", EntryPoint = "glBlendEquationSeparateIndexedAMD")] + public static + void BlendEquationSeparateIndexed(Int32 buf, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend modeRGB, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend modeAlpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBlendEquationSeparateIndexedAMD((UInt32)buf, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)modeRGB, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)modeAlpha); + #if DEBUG + } + #endif + } + + /// [requires: AMD_draw_buffers_blend] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AMD_draw_buffers_blend", Version = "2.0", EntryPoint = "glBlendEquationSeparateIndexedAMD")] + public static + void BlendEquationSeparateIndexed(UInt32 buf, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend modeRGB, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend modeAlpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBlendEquationSeparateIndexedAMD((UInt32)buf, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)modeRGB, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)modeAlpha); + #if DEBUG + } + #endif + } + + /// [requires: AMD_draw_buffers_blend] + [AutoGenerated(Category = "AMD_draw_buffers_blend", Version = "2.0", EntryPoint = "glBlendFuncIndexedAMD")] + public static + void BlendFuncIndexed(Int32 buf, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend src, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend dst) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBlendFuncIndexedAMD((UInt32)buf, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)src, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)dst); + #if DEBUG + } + #endif + } + + /// [requires: AMD_draw_buffers_blend] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AMD_draw_buffers_blend", Version = "2.0", EntryPoint = "glBlendFuncIndexedAMD")] + public static + void BlendFuncIndexed(UInt32 buf, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend src, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend dst) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBlendFuncIndexedAMD((UInt32)buf, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)src, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)dst); + #if DEBUG + } + #endif + } + + /// [requires: AMD_draw_buffers_blend] + [AutoGenerated(Category = "AMD_draw_buffers_blend", Version = "2.0", EntryPoint = "glBlendFuncSeparateIndexedAMD")] + public static + void BlendFuncSeparateIndexed(Int32 buf, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend srcRGB, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend dstRGB, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend srcAlpha, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend dstAlpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBlendFuncSeparateIndexedAMD((UInt32)buf, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)srcRGB, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)dstRGB, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)srcAlpha, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)dstAlpha); + #if DEBUG + } + #endif + } + + /// [requires: AMD_draw_buffers_blend] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AMD_draw_buffers_blend", Version = "2.0", EntryPoint = "glBlendFuncSeparateIndexedAMD")] + public static + void BlendFuncSeparateIndexed(UInt32 buf, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend srcRGB, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend dstRGB, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend srcAlpha, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend dstAlpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBlendFuncSeparateIndexedAMD((UInt32)buf, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)srcRGB, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)dstRGB, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)srcAlpha, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)dstAlpha); + #if DEBUG + } + #endif + } + + /// [requires: AMD_debug_output] + [AutoGenerated(Category = "AMD_debug_output", Version = "4.1", EntryPoint = "glDebugMessageCallbackAMD")] + public static + void DebugMessageCallback(DebugProcAmd callback, [OutAttribute] IntPtr userParam) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDebugMessageCallbackAMD((DebugProcAmd)callback, (IntPtr)userParam); + #if DEBUG + } + #endif + } + + /// [requires: AMD_debug_output] + [AutoGenerated(Category = "AMD_debug_output", Version = "4.1", EntryPoint = "glDebugMessageCallbackAMD")] + public static + void DebugMessageCallback(DebugProcAmd callback, [InAttribute, OutAttribute] T1[] userParam) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle userParam_ptr = GCHandle.Alloc(userParam, GCHandleType.Pinned); + try + { + Delegates.glDebugMessageCallbackAMD((DebugProcAmd)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject()); + } + finally + { + userParam_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: AMD_debug_output] + [AutoGenerated(Category = "AMD_debug_output", Version = "4.1", EntryPoint = "glDebugMessageCallbackAMD")] + public static + void DebugMessageCallback(DebugProcAmd callback, [InAttribute, OutAttribute] T1[,] userParam) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle userParam_ptr = GCHandle.Alloc(userParam, GCHandleType.Pinned); + try + { + Delegates.glDebugMessageCallbackAMD((DebugProcAmd)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject()); + } + finally + { + userParam_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: AMD_debug_output] + [AutoGenerated(Category = "AMD_debug_output", Version = "4.1", EntryPoint = "glDebugMessageCallbackAMD")] + public static + void DebugMessageCallback(DebugProcAmd callback, [InAttribute, OutAttribute] T1[,,] userParam) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle userParam_ptr = GCHandle.Alloc(userParam, GCHandleType.Pinned); + try + { + Delegates.glDebugMessageCallbackAMD((DebugProcAmd)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject()); + } + finally + { + userParam_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: AMD_debug_output] + [AutoGenerated(Category = "AMD_debug_output", Version = "4.1", EntryPoint = "glDebugMessageCallbackAMD")] + public static + void DebugMessageCallback(DebugProcAmd callback, [InAttribute, OutAttribute] ref T1 userParam) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle userParam_ptr = GCHandle.Alloc(userParam, GCHandleType.Pinned); + try + { + Delegates.glDebugMessageCallbackAMD((DebugProcAmd)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject()); + userParam = (T1)userParam_ptr.Target; + } + finally + { + userParam_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: AMD_debug_output] + [AutoGenerated(Category = "AMD_debug_output", Version = "4.1", EntryPoint = "glDebugMessageEnableAMD")] + public static + void DebugMessageEnable(OpenTK.Graphics.OpenGL.AmdDebugOutput category, OpenTK.Graphics.OpenGL.AmdDebugOutput severity, Int32 count, Int32[] ids, bool enabled) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* ids_ptr = ids) + { + Delegates.glDebugMessageEnableAMD((OpenTK.Graphics.OpenGL.AmdDebugOutput)category, (OpenTK.Graphics.OpenGL.AmdDebugOutput)severity, (Int32)count, (UInt32*)ids_ptr, (bool)enabled); + } + } + #if DEBUG + } + #endif + } + + /// [requires: AMD_debug_output] + [AutoGenerated(Category = "AMD_debug_output", Version = "4.1", EntryPoint = "glDebugMessageEnableAMD")] + public static + void DebugMessageEnable(OpenTK.Graphics.OpenGL.AmdDebugOutput category, OpenTK.Graphics.OpenGL.AmdDebugOutput severity, Int32 count, ref Int32 ids, bool enabled) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* ids_ptr = &ids) + { + Delegates.glDebugMessageEnableAMD((OpenTK.Graphics.OpenGL.AmdDebugOutput)category, (OpenTK.Graphics.OpenGL.AmdDebugOutput)severity, (Int32)count, (UInt32*)ids_ptr, (bool)enabled); + } + } + #if DEBUG + } + #endif + } + + /// [requires: AMD_debug_output] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AMD_debug_output", Version = "4.1", EntryPoint = "glDebugMessageEnableAMD")] + public static + unsafe void DebugMessageEnable(OpenTK.Graphics.OpenGL.AmdDebugOutput category, OpenTK.Graphics.OpenGL.AmdDebugOutput severity, Int32 count, Int32* ids, bool enabled) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDebugMessageEnableAMD((OpenTK.Graphics.OpenGL.AmdDebugOutput)category, (OpenTK.Graphics.OpenGL.AmdDebugOutput)severity, (Int32)count, (UInt32*)ids, (bool)enabled); + #if DEBUG + } + #endif + } + + /// [requires: AMD_debug_output] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AMD_debug_output", Version = "4.1", EntryPoint = "glDebugMessageEnableAMD")] + public static + void DebugMessageEnable(OpenTK.Graphics.OpenGL.AmdDebugOutput category, OpenTK.Graphics.OpenGL.AmdDebugOutput severity, Int32 count, UInt32[] ids, bool enabled) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* ids_ptr = ids) + { + Delegates.glDebugMessageEnableAMD((OpenTK.Graphics.OpenGL.AmdDebugOutput)category, (OpenTK.Graphics.OpenGL.AmdDebugOutput)severity, (Int32)count, (UInt32*)ids_ptr, (bool)enabled); + } + } + #if DEBUG + } + #endif + } + + /// [requires: AMD_debug_output] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AMD_debug_output", Version = "4.1", EntryPoint = "glDebugMessageEnableAMD")] + public static + void DebugMessageEnable(OpenTK.Graphics.OpenGL.AmdDebugOutput category, OpenTK.Graphics.OpenGL.AmdDebugOutput severity, Int32 count, ref UInt32 ids, bool enabled) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* ids_ptr = &ids) + { + Delegates.glDebugMessageEnableAMD((OpenTK.Graphics.OpenGL.AmdDebugOutput)category, (OpenTK.Graphics.OpenGL.AmdDebugOutput)severity, (Int32)count, (UInt32*)ids_ptr, (bool)enabled); + } + } + #if DEBUG + } + #endif + } + + /// [requires: AMD_debug_output] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AMD_debug_output", Version = "4.1", EntryPoint = "glDebugMessageEnableAMD")] + public static + unsafe void DebugMessageEnable(OpenTK.Graphics.OpenGL.AmdDebugOutput category, OpenTK.Graphics.OpenGL.AmdDebugOutput severity, Int32 count, UInt32* ids, bool enabled) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDebugMessageEnableAMD((OpenTK.Graphics.OpenGL.AmdDebugOutput)category, (OpenTK.Graphics.OpenGL.AmdDebugOutput)severity, (Int32)count, (UInt32*)ids, (bool)enabled); + #if DEBUG + } + #endif + } + + /// [requires: AMD_debug_output] + [AutoGenerated(Category = "AMD_debug_output", Version = "4.1", EntryPoint = "glDebugMessageInsertAMD")] + public static + void DebugMessageInsert(OpenTK.Graphics.OpenGL.AmdDebugOutput category, OpenTK.Graphics.OpenGL.AmdDebugOutput severity, Int32 id, Int32 length, String buf) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDebugMessageInsertAMD((OpenTK.Graphics.OpenGL.AmdDebugOutput)category, (OpenTK.Graphics.OpenGL.AmdDebugOutput)severity, (UInt32)id, (Int32)length, (String)buf); + #if DEBUG + } + #endif + } + + /// [requires: AMD_debug_output] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AMD_debug_output", Version = "4.1", EntryPoint = "glDebugMessageInsertAMD")] + public static + void DebugMessageInsert(OpenTK.Graphics.OpenGL.AmdDebugOutput category, OpenTK.Graphics.OpenGL.AmdDebugOutput severity, UInt32 id, Int32 length, String buf) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDebugMessageInsertAMD((OpenTK.Graphics.OpenGL.AmdDebugOutput)category, (OpenTK.Graphics.OpenGL.AmdDebugOutput)severity, (UInt32)id, (Int32)length, (String)buf); + #if DEBUG + } + #endif + } + + /// [requires: AMD_name_gen_delete] + [AutoGenerated(Category = "AMD_name_gen_delete", Version = "4.1", EntryPoint = "glDeleteNamesAMD")] + public static + void DeleteNames(OpenTK.Graphics.OpenGL.AmdNameGenDelete identifier, Int32 num, Int32[] names) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* names_ptr = names) + { + Delegates.glDeleteNamesAMD((OpenTK.Graphics.OpenGL.AmdNameGenDelete)identifier, (UInt32)num, (UInt32*)names_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: AMD_name_gen_delete] + [AutoGenerated(Category = "AMD_name_gen_delete", Version = "4.1", EntryPoint = "glDeleteNamesAMD")] + public static + void DeleteNames(OpenTK.Graphics.OpenGL.AmdNameGenDelete identifier, Int32 num, ref Int32 names) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* names_ptr = &names) + { + Delegates.glDeleteNamesAMD((OpenTK.Graphics.OpenGL.AmdNameGenDelete)identifier, (UInt32)num, (UInt32*)names_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: AMD_name_gen_delete] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AMD_name_gen_delete", Version = "4.1", EntryPoint = "glDeleteNamesAMD")] + public static + unsafe void DeleteNames(OpenTK.Graphics.OpenGL.AmdNameGenDelete identifier, Int32 num, Int32* names) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteNamesAMD((OpenTK.Graphics.OpenGL.AmdNameGenDelete)identifier, (UInt32)num, (UInt32*)names); + #if DEBUG + } + #endif + } + + /// [requires: AMD_name_gen_delete] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AMD_name_gen_delete", Version = "4.1", EntryPoint = "glDeleteNamesAMD")] + public static + void DeleteNames(OpenTK.Graphics.OpenGL.AmdNameGenDelete identifier, UInt32 num, UInt32[] names) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* names_ptr = names) + { + Delegates.glDeleteNamesAMD((OpenTK.Graphics.OpenGL.AmdNameGenDelete)identifier, (UInt32)num, (UInt32*)names_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: AMD_name_gen_delete] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AMD_name_gen_delete", Version = "4.1", EntryPoint = "glDeleteNamesAMD")] + public static + void DeleteNames(OpenTK.Graphics.OpenGL.AmdNameGenDelete identifier, UInt32 num, ref UInt32 names) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* names_ptr = &names) + { + Delegates.glDeleteNamesAMD((OpenTK.Graphics.OpenGL.AmdNameGenDelete)identifier, (UInt32)num, (UInt32*)names_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: AMD_name_gen_delete] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AMD_name_gen_delete", Version = "4.1", EntryPoint = "glDeleteNamesAMD")] + public static + unsafe void DeleteNames(OpenTK.Graphics.OpenGL.AmdNameGenDelete identifier, UInt32 num, UInt32* names) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteNamesAMD((OpenTK.Graphics.OpenGL.AmdNameGenDelete)identifier, (UInt32)num, (UInt32*)names); + #if DEBUG + } + #endif + } + + /// [requires: AMD_performance_monitor] + [AutoGenerated(Category = "AMD_performance_monitor", Version = "1.2", EntryPoint = "glDeletePerfMonitorsAMD")] + public static + void DeletePerfMonitors(Int32 n, [OutAttribute] Int32[] monitors) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* monitors_ptr = monitors) + { + Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: AMD_performance_monitor] + [AutoGenerated(Category = "AMD_performance_monitor", Version = "1.2", EntryPoint = "glDeletePerfMonitorsAMD")] + public static + void DeletePerfMonitors(Int32 n, [OutAttribute] out Int32 monitors) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* monitors_ptr = &monitors) + { + Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr); + monitors = *monitors_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: AMD_performance_monitor] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AMD_performance_monitor", Version = "1.2", EntryPoint = "glDeletePerfMonitorsAMD")] + public static + unsafe void DeletePerfMonitors(Int32 n, [OutAttribute] Int32* monitors) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors); + #if DEBUG + } + #endif + } + + /// [requires: AMD_performance_monitor] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AMD_performance_monitor", Version = "1.2", EntryPoint = "glDeletePerfMonitorsAMD")] + public static + void DeletePerfMonitors(Int32 n, [OutAttribute] UInt32[] monitors) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* monitors_ptr = monitors) + { + Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: AMD_performance_monitor] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AMD_performance_monitor", Version = "1.2", EntryPoint = "glDeletePerfMonitorsAMD")] + public static + void DeletePerfMonitors(Int32 n, [OutAttribute] out UInt32 monitors) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* monitors_ptr = &monitors) + { + Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr); + monitors = *monitors_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: AMD_performance_monitor] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AMD_performance_monitor", Version = "1.2", EntryPoint = "glDeletePerfMonitorsAMD")] + public static + unsafe void DeletePerfMonitors(Int32 n, [OutAttribute] UInt32* monitors) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors); + #if DEBUG + } + #endif + } + + /// [requires: AMD_performance_monitor] + [AutoGenerated(Category = "AMD_performance_monitor", Version = "1.2", EntryPoint = "glEndPerfMonitorAMD")] + public static + void EndPerfMonitor(Int32 monitor) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEndPerfMonitorAMD((UInt32)monitor); + #if DEBUG + } + #endif + } + + /// [requires: AMD_performance_monitor] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AMD_performance_monitor", Version = "1.2", EntryPoint = "glEndPerfMonitorAMD")] + public static + void EndPerfMonitor(UInt32 monitor) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEndPerfMonitorAMD((UInt32)monitor); + #if DEBUG + } + #endif + } + + /// [requires: AMD_name_gen_delete] + [AutoGenerated(Category = "AMD_name_gen_delete", Version = "4.1", EntryPoint = "glGenNamesAMD")] + public static + void GenNames(OpenTK.Graphics.OpenGL.AmdNameGenDelete identifier, Int32 num, [OutAttribute] Int32[] names) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* names_ptr = names) + { + Delegates.glGenNamesAMD((OpenTK.Graphics.OpenGL.AmdNameGenDelete)identifier, (UInt32)num, (UInt32*)names_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: AMD_name_gen_delete] + [AutoGenerated(Category = "AMD_name_gen_delete", Version = "4.1", EntryPoint = "glGenNamesAMD")] + public static + void GenNames(OpenTK.Graphics.OpenGL.AmdNameGenDelete identifier, Int32 num, [OutAttribute] out Int32 names) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* names_ptr = &names) + { + Delegates.glGenNamesAMD((OpenTK.Graphics.OpenGL.AmdNameGenDelete)identifier, (UInt32)num, (UInt32*)names_ptr); + names = *names_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: AMD_name_gen_delete] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AMD_name_gen_delete", Version = "4.1", EntryPoint = "glGenNamesAMD")] + public static + unsafe void GenNames(OpenTK.Graphics.OpenGL.AmdNameGenDelete identifier, Int32 num, [OutAttribute] Int32* names) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenNamesAMD((OpenTK.Graphics.OpenGL.AmdNameGenDelete)identifier, (UInt32)num, (UInt32*)names); + #if DEBUG + } + #endif + } + + /// [requires: AMD_name_gen_delete] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AMD_name_gen_delete", Version = "4.1", EntryPoint = "glGenNamesAMD")] + public static + void GenNames(OpenTK.Graphics.OpenGL.AmdNameGenDelete identifier, UInt32 num, [OutAttribute] UInt32[] names) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* names_ptr = names) + { + Delegates.glGenNamesAMD((OpenTK.Graphics.OpenGL.AmdNameGenDelete)identifier, (UInt32)num, (UInt32*)names_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: AMD_name_gen_delete] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AMD_name_gen_delete", Version = "4.1", EntryPoint = "glGenNamesAMD")] + public static + void GenNames(OpenTK.Graphics.OpenGL.AmdNameGenDelete identifier, UInt32 num, [OutAttribute] out UInt32 names) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* names_ptr = &names) + { + Delegates.glGenNamesAMD((OpenTK.Graphics.OpenGL.AmdNameGenDelete)identifier, (UInt32)num, (UInt32*)names_ptr); + names = *names_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: AMD_name_gen_delete] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AMD_name_gen_delete", Version = "4.1", EntryPoint = "glGenNamesAMD")] + public static + unsafe void GenNames(OpenTK.Graphics.OpenGL.AmdNameGenDelete identifier, UInt32 num, [OutAttribute] UInt32* names) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenNamesAMD((OpenTK.Graphics.OpenGL.AmdNameGenDelete)identifier, (UInt32)num, (UInt32*)names); + #if DEBUG + } + #endif + } + + /// [requires: AMD_performance_monitor] + [AutoGenerated(Category = "AMD_performance_monitor", Version = "1.2", EntryPoint = "glGenPerfMonitorsAMD")] + public static + void GenPerfMonitors(Int32 n, [OutAttribute] Int32[] monitors) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* monitors_ptr = monitors) + { + Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: AMD_performance_monitor] + [AutoGenerated(Category = "AMD_performance_monitor", Version = "1.2", EntryPoint = "glGenPerfMonitorsAMD")] + public static + void GenPerfMonitors(Int32 n, [OutAttribute] out Int32 monitors) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* monitors_ptr = &monitors) + { + Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr); + monitors = *monitors_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: AMD_performance_monitor] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AMD_performance_monitor", Version = "1.2", EntryPoint = "glGenPerfMonitorsAMD")] + public static + unsafe void GenPerfMonitors(Int32 n, [OutAttribute] Int32* monitors) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors); + #if DEBUG + } + #endif + } + + /// [requires: AMD_performance_monitor] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AMD_performance_monitor", Version = "1.2", EntryPoint = "glGenPerfMonitorsAMD")] + public static + void GenPerfMonitors(Int32 n, [OutAttribute] 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 + } + + /// [requires: AMD_performance_monitor] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AMD_performance_monitor", Version = "1.2", EntryPoint = "glGenPerfMonitorsAMD")] + public static + void GenPerfMonitors(Int32 n, [OutAttribute] out UInt32 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; + } + } + #if DEBUG + } + #endif + } + + /// [requires: AMD_performance_monitor] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AMD_performance_monitor", Version = "1.2", EntryPoint = "glGenPerfMonitorsAMD")] + public static + unsafe void GenPerfMonitors(Int32 n, [OutAttribute] UInt32* monitors) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors); + #if DEBUG + } + #endif + } + + /// [requires: AMD_debug_output] + [AutoGenerated(Category = "AMD_debug_output", Version = "4.1", EntryPoint = "glGetDebugMessageLogAMD")] + public static + Int32 GetDebugMessageLog(Int32 count, Int32 bufsize, [OutAttribute] OpenTK.Graphics.OpenGL.AmdDebugOutput[] categories, [OutAttribute] Int32[] severities, [OutAttribute] Int32[] ids, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder message) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Graphics.OpenGL.AmdDebugOutput* categories_ptr = categories) + fixed (Int32* severities_ptr = severities) + fixed (Int32* ids_ptr = ids) + fixed (Int32* lengths_ptr = lengths) + { + return Delegates.glGetDebugMessageLogAMD((UInt32)count, (Int32)bufsize, (OpenTK.Graphics.OpenGL.AmdDebugOutput*)categories_ptr, (UInt32*)severities_ptr, (UInt32*)ids_ptr, (Int32*)lengths_ptr, (StringBuilder)message); + } + } + #if DEBUG + } + #endif + } + + /// [requires: AMD_debug_output] + [AutoGenerated(Category = "AMD_debug_output", Version = "4.1", EntryPoint = "glGetDebugMessageLogAMD")] + public static + Int32 GetDebugMessageLog(Int32 count, Int32 bufsize, [OutAttribute] out OpenTK.Graphics.OpenGL.AmdDebugOutput categories, [OutAttribute] out Int32 severities, [OutAttribute] out Int32 ids, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder message) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Graphics.OpenGL.AmdDebugOutput* categories_ptr = &categories) + fixed (Int32* severities_ptr = &severities) + fixed (Int32* ids_ptr = &ids) + fixed (Int32* lengths_ptr = &lengths) + { + Int32 retval = Delegates.glGetDebugMessageLogAMD((UInt32)count, (Int32)bufsize, (OpenTK.Graphics.OpenGL.AmdDebugOutput*)categories_ptr, (UInt32*)severities_ptr, (UInt32*)ids_ptr, (Int32*)lengths_ptr, (StringBuilder)message); + categories = *categories_ptr; + severities = *severities_ptr; + ids = *ids_ptr; + lengths = *lengths_ptr; + return retval; + } + } + #if DEBUG + } + #endif + } + + /// [requires: AMD_debug_output] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AMD_debug_output", Version = "4.1", EntryPoint = "glGetDebugMessageLogAMD")] + public static + unsafe Int32 GetDebugMessageLog(Int32 count, Int32 bufsize, [OutAttribute] OpenTK.Graphics.OpenGL.AmdDebugOutput* categories, [OutAttribute] Int32* severities, [OutAttribute] Int32* ids, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder message) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glGetDebugMessageLogAMD((UInt32)count, (Int32)bufsize, (OpenTK.Graphics.OpenGL.AmdDebugOutput*)categories, (UInt32*)severities, (UInt32*)ids, (Int32*)lengths, (StringBuilder)message); + #if DEBUG + } + #endif + } + + /// [requires: AMD_debug_output] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AMD_debug_output", Version = "4.1", EntryPoint = "glGetDebugMessageLogAMD")] + public static + Int32 GetDebugMessageLog(UInt32 count, Int32 bufsize, [OutAttribute] OpenTK.Graphics.OpenGL.AmdDebugOutput[] categories, [OutAttribute] UInt32[] severities, [OutAttribute] UInt32[] ids, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder message) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Graphics.OpenGL.AmdDebugOutput* categories_ptr = categories) + fixed (UInt32* severities_ptr = severities) + fixed (UInt32* ids_ptr = ids) + fixed (Int32* lengths_ptr = lengths) + { + return Delegates.glGetDebugMessageLogAMD((UInt32)count, (Int32)bufsize, (OpenTK.Graphics.OpenGL.AmdDebugOutput*)categories_ptr, (UInt32*)severities_ptr, (UInt32*)ids_ptr, (Int32*)lengths_ptr, (StringBuilder)message); + } + } + #if DEBUG + } + #endif + } + + /// [requires: AMD_debug_output] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AMD_debug_output", Version = "4.1", EntryPoint = "glGetDebugMessageLogAMD")] + public static + Int32 GetDebugMessageLog(UInt32 count, Int32 bufsize, [OutAttribute] out OpenTK.Graphics.OpenGL.AmdDebugOutput categories, [OutAttribute] out UInt32 severities, [OutAttribute] out UInt32 ids, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder message) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Graphics.OpenGL.AmdDebugOutput* categories_ptr = &categories) + fixed (UInt32* severities_ptr = &severities) + fixed (UInt32* ids_ptr = &ids) + fixed (Int32* lengths_ptr = &lengths) + { + Int32 retval = Delegates.glGetDebugMessageLogAMD((UInt32)count, (Int32)bufsize, (OpenTK.Graphics.OpenGL.AmdDebugOutput*)categories_ptr, (UInt32*)severities_ptr, (UInt32*)ids_ptr, (Int32*)lengths_ptr, (StringBuilder)message); + categories = *categories_ptr; + severities = *severities_ptr; + ids = *ids_ptr; + lengths = *lengths_ptr; + return retval; + } + } + #if DEBUG + } + #endif + } + + /// [requires: AMD_debug_output] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AMD_debug_output", Version = "4.1", EntryPoint = "glGetDebugMessageLogAMD")] + public static + unsafe Int32 GetDebugMessageLog(UInt32 count, Int32 bufsize, [OutAttribute] OpenTK.Graphics.OpenGL.AmdDebugOutput* categories, [OutAttribute] UInt32* severities, [OutAttribute] UInt32* ids, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder message) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glGetDebugMessageLogAMD((UInt32)count, (Int32)bufsize, (OpenTK.Graphics.OpenGL.AmdDebugOutput*)categories, (UInt32*)severities, (UInt32*)ids, (Int32*)lengths, (StringBuilder)message); + #if DEBUG + } + #endif + } + + /// [requires: AMD_performance_monitor] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AMD_performance_monitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterDataAMD")] + public static + unsafe void GetPerfMonitorCounterData(Int32 monitor, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, Int32 dataSize, [OutAttribute] Int32[] data, [OutAttribute] Int32* bytesWritten) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (Int32* data_ptr = data) + { + Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.OpenGL.AmdPerformanceMonitor)pname, (Int32)dataSize, (UInt32*)data_ptr, (Int32*)bytesWritten); + } + #if DEBUG + } + #endif + } + + /// [requires: AMD_performance_monitor] + [AutoGenerated(Category = "AMD_performance_monitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterDataAMD")] + public static + void GetPerfMonitorCounterData(Int32 monitor, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, Int32 dataSize, [OutAttribute] out Int32 data, [OutAttribute] out Int32 bytesWritten) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* data_ptr = &data) + fixed (Int32* bytesWritten_ptr = &bytesWritten) + { + Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.OpenGL.AmdPerformanceMonitor)pname, (Int32)dataSize, (UInt32*)data_ptr, (Int32*)bytesWritten_ptr); + data = *data_ptr; + bytesWritten = *bytesWritten_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: AMD_performance_monitor] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AMD_performance_monitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterDataAMD")] + public static + unsafe void GetPerfMonitorCounterData(Int32 monitor, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, Int32 dataSize, [OutAttribute] Int32* data, [OutAttribute] Int32* bytesWritten) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.OpenGL.AmdPerformanceMonitor)pname, (Int32)dataSize, (UInt32*)data, (Int32*)bytesWritten); + #if DEBUG + } + #endif + } + + /// [requires: AMD_performance_monitor] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AMD_performance_monitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterDataAMD")] + public static + unsafe void GetPerfMonitorCounterData(UInt32 monitor, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, Int32 dataSize, [OutAttribute] UInt32[] data, [OutAttribute] Int32* bytesWritten) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (UInt32* data_ptr = data) + { + Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.OpenGL.AmdPerformanceMonitor)pname, (Int32)dataSize, (UInt32*)data_ptr, (Int32*)bytesWritten); + } + #if DEBUG + } + #endif + } + + /// [requires: AMD_performance_monitor] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AMD_performance_monitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterDataAMD")] + public static + void GetPerfMonitorCounterData(UInt32 monitor, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, Int32 dataSize, [OutAttribute] out UInt32 data, [OutAttribute] out Int32 bytesWritten) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* data_ptr = &data) + fixed (Int32* bytesWritten_ptr = &bytesWritten) + { + Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.OpenGL.AmdPerformanceMonitor)pname, (Int32)dataSize, (UInt32*)data_ptr, (Int32*)bytesWritten_ptr); + data = *data_ptr; + bytesWritten = *bytesWritten_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: AMD_performance_monitor] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AMD_performance_monitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterDataAMD")] + public static + unsafe void GetPerfMonitorCounterData(UInt32 monitor, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, Int32 dataSize, [OutAttribute] UInt32* data, [OutAttribute] Int32* bytesWritten) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.OpenGL.AmdPerformanceMonitor)pname, (Int32)dataSize, (UInt32*)data, (Int32*)bytesWritten); + #if DEBUG + } + #endif + } + + /// [requires: AMD_performance_monitor] + [AutoGenerated(Category = "AMD_performance_monitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] + public static + void GetPerfMonitorCounterInfo(Int32 group, Int32 counter, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, [OutAttribute] IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.OpenGL.AmdPerformanceMonitor)pname, (IntPtr)data); + #if DEBUG + } + #endif + } + + /// [requires: AMD_performance_monitor] + [AutoGenerated(Category = "AMD_performance_monitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] + public static + void GetPerfMonitorCounterInfo(Int32 group, Int32 counter, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, [InAttribute, OutAttribute] 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.OpenGL.AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: AMD_performance_monitor] + [AutoGenerated(Category = "AMD_performance_monitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] + public static + void GetPerfMonitorCounterInfo(Int32 group, Int32 counter, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, [InAttribute, OutAttribute] 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.OpenGL.AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: AMD_performance_monitor] + [AutoGenerated(Category = "AMD_performance_monitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] + public static + void GetPerfMonitorCounterInfo(Int32 group, Int32 counter, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, [InAttribute, OutAttribute] 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.OpenGL.AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: AMD_performance_monitor] + [AutoGenerated(Category = "AMD_performance_monitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] + public static + void GetPerfMonitorCounterInfo(Int32 group, Int32 counter, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, [InAttribute, OutAttribute] 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.OpenGL.AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); + data = (T3)data_ptr.Target; + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: AMD_performance_monitor] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AMD_performance_monitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] + public static + void GetPerfMonitorCounterInfo(UInt32 group, UInt32 counter, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, [OutAttribute] IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.OpenGL.AmdPerformanceMonitor)pname, (IntPtr)data); + #if DEBUG + } + #endif + } + + /// [requires: AMD_performance_monitor] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AMD_performance_monitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] + public static + void GetPerfMonitorCounterInfo(UInt32 group, UInt32 counter, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, [InAttribute, OutAttribute] 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.OpenGL.AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: AMD_performance_monitor] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AMD_performance_monitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] + public static + void GetPerfMonitorCounterInfo(UInt32 group, UInt32 counter, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, [InAttribute, OutAttribute] 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.OpenGL.AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: AMD_performance_monitor] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AMD_performance_monitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] + public static + void GetPerfMonitorCounterInfo(UInt32 group, UInt32 counter, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, [InAttribute, OutAttribute] 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.OpenGL.AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: AMD_performance_monitor] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AMD_performance_monitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] + public static + void GetPerfMonitorCounterInfo(UInt32 group, UInt32 counter, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, [InAttribute, OutAttribute] 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.OpenGL.AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); + data = (T3)data_ptr.Target; + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: AMD_performance_monitor] + [AutoGenerated(Category = "AMD_performance_monitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCountersAMD")] + public static + void GetPerfMonitorCounters(Int32 group, [OutAttribute] out Int32 numCounters, [OutAttribute] out Int32 maxActiveCounters, Int32 counterSize, [OutAttribute] out Int32 counters) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* numCounters_ptr = &numCounters) + fixed (Int32* maxActiveCounters_ptr = &maxActiveCounters) + fixed (Int32* 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 + } + + /// [requires: AMD_performance_monitor] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AMD_performance_monitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCountersAMD")] + public static + unsafe void GetPerfMonitorCounters(Int32 group, [OutAttribute] Int32* numCounters, [OutAttribute] Int32* maxActiveCounters, Int32 counterSize, [OutAttribute] Int32[] 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); + } + #if DEBUG + } + #endif + } + + /// [requires: AMD_performance_monitor] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AMD_performance_monitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCountersAMD")] + public static + unsafe void GetPerfMonitorCounters(Int32 group, [OutAttribute] Int32* numCounters, [OutAttribute] Int32* maxActiveCounters, Int32 counterSize, [OutAttribute] 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 + } + + /// [requires: AMD_performance_monitor] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AMD_performance_monitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCountersAMD")] + public static + void GetPerfMonitorCounters(UInt32 group, [OutAttribute] out Int32 numCounters, [OutAttribute] out Int32 maxActiveCounters, Int32 counterSize, [OutAttribute] 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 + } + + /// [requires: AMD_performance_monitor] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AMD_performance_monitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCountersAMD")] + public static + unsafe void GetPerfMonitorCounters(UInt32 group, [OutAttribute] Int32* numCounters, [OutAttribute] Int32* maxActiveCounters, Int32 counterSize, [OutAttribute] UInt32[] counters) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (UInt32* counters_ptr = counters) + { + Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters, (Int32*)maxActiveCounters, (Int32)counterSize, (UInt32*)counters_ptr); + } + #if DEBUG + } + #endif + } + + /// [requires: AMD_performance_monitor] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AMD_performance_monitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCountersAMD")] + public static + unsafe void GetPerfMonitorCounters(UInt32 group, [OutAttribute] Int32* numCounters, [OutAttribute] Int32* maxActiveCounters, Int32 counterSize, [OutAttribute] UInt32* counters) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters, (Int32*)maxActiveCounters, (Int32)counterSize, (UInt32*)counters); + #if DEBUG + } + #endif + } + + /// [requires: AMD_performance_monitor] + [AutoGenerated(Category = "AMD_performance_monitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterStringAMD")] + public static + void GetPerfMonitorCounterString(Int32 group, Int32 counter, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder counterString) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + { + Delegates.glGetPerfMonitorCounterStringAMD((UInt32)group, (UInt32)counter, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)counterString); + length = *length_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: AMD_performance_monitor] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AMD_performance_monitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterStringAMD")] + public static + unsafe void GetPerfMonitorCounterString(Int32 group, Int32 counter, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder counterString) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPerfMonitorCounterStringAMD((UInt32)group, (UInt32)counter, (Int32)bufSize, (Int32*)length, (StringBuilder)counterString); + #if DEBUG + } + #endif + } + + /// [requires: AMD_performance_monitor] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AMD_performance_monitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterStringAMD")] + public static + void GetPerfMonitorCounterString(UInt32 group, UInt32 counter, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder counterString) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + { + Delegates.glGetPerfMonitorCounterStringAMD((UInt32)group, (UInt32)counter, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)counterString); + length = *length_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: AMD_performance_monitor] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AMD_performance_monitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterStringAMD")] + public static + unsafe void GetPerfMonitorCounterString(UInt32 group, UInt32 counter, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder counterString) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPerfMonitorCounterStringAMD((UInt32)group, (UInt32)counter, (Int32)bufSize, (Int32*)length, (StringBuilder)counterString); + #if DEBUG + } + #endif + } + + /// [requires: AMD_performance_monitor] + [AutoGenerated(Category = "AMD_performance_monitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupsAMD")] + public static + void GetPerfMonitorGroup([OutAttribute] out Int32 numGroups, Int32 groupsSize, [OutAttribute] out Int32 groups) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* numGroups_ptr = &numGroups) + fixed (Int32* groups_ptr = &groups) + { + Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups_ptr, (Int32)groupsSize, (UInt32*)groups_ptr); + numGroups = *numGroups_ptr; + groups = *groups_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: AMD_performance_monitor] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AMD_performance_monitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupsAMD")] + public static + void GetPerfMonitorGroup([OutAttribute] out Int32 numGroups, Int32 groupsSize, [OutAttribute] out UInt32 groups) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* numGroups_ptr = &numGroups) + fixed (UInt32* groups_ptr = &groups) + { + Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups_ptr, (Int32)groupsSize, (UInt32*)groups_ptr); + numGroups = *numGroups_ptr; + groups = *groups_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: AMD_performance_monitor] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AMD_performance_monitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupsAMD")] + public static + unsafe void GetPerfMonitorGroup([OutAttribute] Int32* numGroups, Int32 groupsSize, [OutAttribute] 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 + } + + /// [requires: AMD_performance_monitor] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AMD_performance_monitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupsAMD")] + public static + unsafe void GetPerfMonitorGroup([OutAttribute] Int32* numGroups, Int32 groupsSize, [OutAttribute] Int32* groups) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups, (Int32)groupsSize, (UInt32*)groups); + #if DEBUG + } + #endif + } + + /// [requires: AMD_performance_monitor] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AMD_performance_monitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupsAMD")] + public static + unsafe void GetPerfMonitorGroup([OutAttribute] Int32* numGroups, Int32 groupsSize, [OutAttribute] 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 + } + + /// [requires: AMD_performance_monitor] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AMD_performance_monitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupsAMD")] + public static + unsafe void GetPerfMonitorGroup([OutAttribute] Int32* numGroups, Int32 groupsSize, [OutAttribute] UInt32* groups) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups, (Int32)groupsSize, (UInt32*)groups); + #if DEBUG + } + #endif + } + + /// [requires: AMD_performance_monitor] + [AutoGenerated(Category = "AMD_performance_monitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupStringAMD")] + public static + void GetPerfMonitorGroupString(Int32 group, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] 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, (StringBuilder)groupString); + length = *length_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: AMD_performance_monitor] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AMD_performance_monitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupStringAMD")] + public static + unsafe void GetPerfMonitorGroupString(Int32 group, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder groupString) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPerfMonitorGroupStringAMD((UInt32)group, (Int32)bufSize, (Int32*)length, (StringBuilder)groupString); + #if DEBUG + } + #endif + } + + /// [requires: AMD_performance_monitor] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AMD_performance_monitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupStringAMD")] + public static + void GetPerfMonitorGroupString(UInt32 group, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] 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, (StringBuilder)groupString); + length = *length_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: AMD_performance_monitor] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AMD_performance_monitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupStringAMD")] + public static + unsafe void GetPerfMonitorGroupString(UInt32 group, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder groupString) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPerfMonitorGroupStringAMD((UInt32)group, (Int32)bufSize, (Int32*)length, (StringBuilder)groupString); + #if DEBUG + } + #endif + } + + /// [requires: AMD_name_gen_delete] + [AutoGenerated(Category = "AMD_name_gen_delete", Version = "4.1", EntryPoint = "glIsNameAMD")] + public static + bool IsName(OpenTK.Graphics.OpenGL.AmdNameGenDelete identifier, Int32 name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsNameAMD((OpenTK.Graphics.OpenGL.AmdNameGenDelete)identifier, (UInt32)name); + #if DEBUG + } + #endif + } + + /// [requires: AMD_name_gen_delete] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AMD_name_gen_delete", Version = "4.1", EntryPoint = "glIsNameAMD")] + public static + bool IsName(OpenTK.Graphics.OpenGL.AmdNameGenDelete identifier, UInt32 name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsNameAMD((OpenTK.Graphics.OpenGL.AmdNameGenDelete)identifier, (UInt32)name); + #if DEBUG + } + #endif + } + + /// [requires: AMD_multi_draw_indirect] + [AutoGenerated(Category = "AMD_multi_draw_indirect", Version = "4.0", EntryPoint = "glMultiDrawArraysIndirectAMD")] + public static + void MultiDrawArraysIndirect(OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect mode, IntPtr indirect, Int32 primcount, Int32 stride) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiDrawArraysIndirectAMD((OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect)mode, (IntPtr)indirect, (Int32)primcount, (Int32)stride); + #if DEBUG + } + #endif + } + + /// [requires: AMD_multi_draw_indirect] + [AutoGenerated(Category = "AMD_multi_draw_indirect", Version = "4.0", EntryPoint = "glMultiDrawArraysIndirectAMD")] + public static + void MultiDrawArraysIndirect(OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect mode, [InAttribute, OutAttribute] T1[] indirect, Int32 primcount, Int32 stride) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indirect_ptr = GCHandle.Alloc(indirect, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawArraysIndirectAMD((OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect)mode, (IntPtr)indirect_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)stride); + } + finally + { + indirect_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: AMD_multi_draw_indirect] + [AutoGenerated(Category = "AMD_multi_draw_indirect", Version = "4.0", EntryPoint = "glMultiDrawArraysIndirectAMD")] + public static + void MultiDrawArraysIndirect(OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect mode, [InAttribute, OutAttribute] T1[,] indirect, Int32 primcount, Int32 stride) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indirect_ptr = GCHandle.Alloc(indirect, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawArraysIndirectAMD((OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect)mode, (IntPtr)indirect_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)stride); + } + finally + { + indirect_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: AMD_multi_draw_indirect] + [AutoGenerated(Category = "AMD_multi_draw_indirect", Version = "4.0", EntryPoint = "glMultiDrawArraysIndirectAMD")] + public static + void MultiDrawArraysIndirect(OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect mode, [InAttribute, OutAttribute] T1[,,] indirect, Int32 primcount, Int32 stride) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indirect_ptr = GCHandle.Alloc(indirect, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawArraysIndirectAMD((OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect)mode, (IntPtr)indirect_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)stride); + } + finally + { + indirect_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: AMD_multi_draw_indirect] + [AutoGenerated(Category = "AMD_multi_draw_indirect", Version = "4.0", EntryPoint = "glMultiDrawArraysIndirectAMD")] + public static + void MultiDrawArraysIndirect(OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect mode, [InAttribute, OutAttribute] ref T1 indirect, Int32 primcount, Int32 stride) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indirect_ptr = GCHandle.Alloc(indirect, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawArraysIndirectAMD((OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect)mode, (IntPtr)indirect_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)stride); + indirect = (T1)indirect_ptr.Target; + } + finally + { + indirect_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: AMD_multi_draw_indirect] + [AutoGenerated(Category = "AMD_multi_draw_indirect", Version = "4.0", EntryPoint = "glMultiDrawElementsIndirectAMD")] + public static + void MultiDrawElementsIndirect(OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect mode, OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect type, IntPtr indirect, Int32 primcount, Int32 stride) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiDrawElementsIndirectAMD((OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect)mode, (OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect)type, (IntPtr)indirect, (Int32)primcount, (Int32)stride); + #if DEBUG + } + #endif + } + + /// [requires: AMD_multi_draw_indirect] + [AutoGenerated(Category = "AMD_multi_draw_indirect", Version = "4.0", EntryPoint = "glMultiDrawElementsIndirectAMD")] + public static + void MultiDrawElementsIndirect(OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect mode, OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect type, [InAttribute, OutAttribute] T2[] indirect, Int32 primcount, Int32 stride) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indirect_ptr = GCHandle.Alloc(indirect, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsIndirectAMD((OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect)mode, (OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect)type, (IntPtr)indirect_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)stride); + } + finally + { + indirect_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: AMD_multi_draw_indirect] + [AutoGenerated(Category = "AMD_multi_draw_indirect", Version = "4.0", EntryPoint = "glMultiDrawElementsIndirectAMD")] + public static + void MultiDrawElementsIndirect(OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect mode, OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect type, [InAttribute, OutAttribute] T2[,] indirect, Int32 primcount, Int32 stride) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indirect_ptr = GCHandle.Alloc(indirect, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsIndirectAMD((OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect)mode, (OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect)type, (IntPtr)indirect_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)stride); + } + finally + { + indirect_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: AMD_multi_draw_indirect] + [AutoGenerated(Category = "AMD_multi_draw_indirect", Version = "4.0", EntryPoint = "glMultiDrawElementsIndirectAMD")] + public static + void MultiDrawElementsIndirect(OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect mode, OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect type, [InAttribute, OutAttribute] T2[,,] indirect, Int32 primcount, Int32 stride) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indirect_ptr = GCHandle.Alloc(indirect, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsIndirectAMD((OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect)mode, (OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect)type, (IntPtr)indirect_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)stride); + } + finally + { + indirect_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: AMD_multi_draw_indirect] + [AutoGenerated(Category = "AMD_multi_draw_indirect", Version = "4.0", EntryPoint = "glMultiDrawElementsIndirectAMD")] + public static + void MultiDrawElementsIndirect(OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect mode, OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect type, [InAttribute, OutAttribute] ref T2 indirect, Int32 primcount, Int32 stride) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indirect_ptr = GCHandle.Alloc(indirect, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsIndirectAMD((OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect)mode, (OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect)type, (IntPtr)indirect_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)stride); + indirect = (T2)indirect_ptr.Target; + } + finally + { + indirect_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: AMD_performance_monitor] + [AutoGenerated(Category = "AMD_performance_monitor", Version = "1.2", EntryPoint = "glSelectPerfMonitorCountersAMD")] + public static + void SelectPerfMonitorCounters(Int32 monitor, bool enable, Int32 group, Int32 numCounters, [OutAttribute] 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 + } + + /// [requires: AMD_performance_monitor] + [AutoGenerated(Category = "AMD_performance_monitor", Version = "1.2", EntryPoint = "glSelectPerfMonitorCountersAMD")] + public static + void SelectPerfMonitorCounters(Int32 monitor, bool enable, Int32 group, Int32 numCounters, [OutAttribute] 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); + counterList = *counterList_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: AMD_performance_monitor] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AMD_performance_monitor", Version = "1.2", EntryPoint = "glSelectPerfMonitorCountersAMD")] + public static + unsafe void SelectPerfMonitorCounters(Int32 monitor, bool enable, Int32 group, Int32 numCounters, [OutAttribute] 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 + } + + /// [requires: AMD_performance_monitor] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AMD_performance_monitor", Version = "1.2", EntryPoint = "glSelectPerfMonitorCountersAMD")] + public static + void SelectPerfMonitorCounters(UInt32 monitor, bool enable, UInt32 group, Int32 numCounters, [OutAttribute] 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 + } + + /// [requires: AMD_performance_monitor] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AMD_performance_monitor", Version = "1.2", EntryPoint = "glSelectPerfMonitorCountersAMD")] + public static + void SelectPerfMonitorCounters(UInt32 monitor, bool enable, UInt32 group, Int32 numCounters, [OutAttribute] 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); + counterList = *counterList_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: AMD_performance_monitor] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AMD_performance_monitor", Version = "1.2", EntryPoint = "glSelectPerfMonitorCountersAMD")] + public static + unsafe void SelectPerfMonitorCounters(UInt32 monitor, bool enable, UInt32 group, Int32 numCounters, [OutAttribute] UInt32* counterList) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)counterList); + #if DEBUG + } + #endif + } + + /// [requires: AMD_sample_positions] + [AutoGenerated(Category = "AMD_sample_positions", Version = "3.2", EntryPoint = "glSetMultisamplefvAMD")] + public static + void SetMultisample(OpenTK.Graphics.OpenGL.AmdSamplePositions pname, Int32 index, Single[] val) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* val_ptr = val) + { + Delegates.glSetMultisamplefvAMD((OpenTK.Graphics.OpenGL.AmdSamplePositions)pname, (UInt32)index, (Single*)val_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: AMD_sample_positions] + [AutoGenerated(Category = "AMD_sample_positions", Version = "3.2", EntryPoint = "glSetMultisamplefvAMD")] + public static + void SetMultisample(OpenTK.Graphics.OpenGL.AmdSamplePositions pname, Int32 index, ref Single val) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* val_ptr = &val) + { + Delegates.glSetMultisamplefvAMD((OpenTK.Graphics.OpenGL.AmdSamplePositions)pname, (UInt32)index, (Single*)val_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: AMD_sample_positions] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AMD_sample_positions", Version = "3.2", EntryPoint = "glSetMultisamplefvAMD")] + public static + unsafe void SetMultisample(OpenTK.Graphics.OpenGL.AmdSamplePositions pname, Int32 index, Single* val) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSetMultisamplefvAMD((OpenTK.Graphics.OpenGL.AmdSamplePositions)pname, (UInt32)index, (Single*)val); + #if DEBUG + } + #endif + } + + /// [requires: AMD_sample_positions] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AMD_sample_positions", Version = "3.2", EntryPoint = "glSetMultisamplefvAMD")] + public static + void SetMultisample(OpenTK.Graphics.OpenGL.AmdSamplePositions pname, UInt32 index, Single[] val) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* val_ptr = val) + { + Delegates.glSetMultisamplefvAMD((OpenTK.Graphics.OpenGL.AmdSamplePositions)pname, (UInt32)index, (Single*)val_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: AMD_sample_positions] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AMD_sample_positions", Version = "3.2", EntryPoint = "glSetMultisamplefvAMD")] + public static + void SetMultisample(OpenTK.Graphics.OpenGL.AmdSamplePositions pname, UInt32 index, ref Single val) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* val_ptr = &val) + { + Delegates.glSetMultisamplefvAMD((OpenTK.Graphics.OpenGL.AmdSamplePositions)pname, (UInt32)index, (Single*)val_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: AMD_sample_positions] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AMD_sample_positions", Version = "3.2", EntryPoint = "glSetMultisamplefvAMD")] + public static + unsafe void SetMultisample(OpenTK.Graphics.OpenGL.AmdSamplePositions pname, UInt32 index, Single* val) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSetMultisamplefvAMD((OpenTK.Graphics.OpenGL.AmdSamplePositions)pname, (UInt32)index, (Single*)val); + #if DEBUG + } + #endif + } + + /// [requires: AMD_vertex_shader_tesselator] + [AutoGenerated(Category = "AMD_vertex_shader_tesselator", Version = "2.0", EntryPoint = "glTessellationFactorAMD")] + public static + void TessellationFactor(Single factor) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTessellationFactorAMD((Single)factor); + #if DEBUG + } + #endif + } + + /// [requires: AMD_vertex_shader_tesselator] + [AutoGenerated(Category = "AMD_vertex_shader_tesselator", Version = "2.0", EntryPoint = "glTessellationModeAMD")] + public static + void TessellationMode(OpenTK.Graphics.OpenGL.AmdVertexShaderTesselator mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTessellationModeAMD((OpenTK.Graphics.OpenGL.AmdVertexShaderTesselator)mode); + #if DEBUG + } + #endif + } + + } + + public static partial class Apple + { + + /// [requires: APPLE_vertex_array_object] + /// Bind a vertex array object + /// + /// + /// + /// Specifies the name of the vertex array to bind. + /// + /// + [AutoGenerated(Category = "APPLE_vertex_array_object", 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 + } + + + /// [requires: APPLE_vertex_array_object] + /// Bind a vertex array object + /// + /// + /// + /// Specifies the name of the vertex array to bind. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "APPLE_vertex_array_object", Version = "1.2", EntryPoint = "glBindVertexArrayAPPLE")] + public static + void BindVertexArray(UInt32 array) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindVertexArrayAPPLE((UInt32)array); + #if DEBUG + } + #endif + } + + /// [requires: APPLE_flush_buffer_range] + [AutoGenerated(Category = "APPLE_flush_buffer_range", Version = "1.5", EntryPoint = "glBufferParameteriAPPLE")] + public static + void BufferParameter(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferParameterApple pname, Int32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBufferParameteriAPPLE((OpenTK.Graphics.OpenGL.BufferTarget)target, (OpenTK.Graphics.OpenGL.BufferParameterApple)pname, (Int32)param); + #if DEBUG + } + #endif + } + + /// [requires: APPLE_fence] + [AutoGenerated(Category = "APPLE_fence", Version = "1.2", EntryPoint = "glDeleteFencesAPPLE")] + public static + void DeleteFences(Int32 n, Int32[] fences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* fences_ptr = fences) + { + Delegates.glDeleteFencesAPPLE((Int32)n, (UInt32*)fences_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: APPLE_fence] + [AutoGenerated(Category = "APPLE_fence", Version = "1.2", EntryPoint = "glDeleteFencesAPPLE")] + public static + void DeleteFences(Int32 n, ref Int32 fences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* fences_ptr = &fences) + { + Delegates.glDeleteFencesAPPLE((Int32)n, (UInt32*)fences_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: APPLE_fence] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "APPLE_fence", Version = "1.2", EntryPoint = "glDeleteFencesAPPLE")] + public static + unsafe void DeleteFences(Int32 n, Int32* fences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteFencesAPPLE((Int32)n, (UInt32*)fences); + #if DEBUG + } + #endif + } + + /// [requires: APPLE_fence] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "APPLE_fence", Version = "1.2", EntryPoint = "glDeleteFencesAPPLE")] + public static + void DeleteFences(Int32 n, UInt32[] fences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* fences_ptr = fences) + { + Delegates.glDeleteFencesAPPLE((Int32)n, (UInt32*)fences_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: APPLE_fence] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "APPLE_fence", Version = "1.2", EntryPoint = "glDeleteFencesAPPLE")] + public static + void DeleteFences(Int32 n, ref UInt32 fences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* fences_ptr = &fences) + { + Delegates.glDeleteFencesAPPLE((Int32)n, (UInt32*)fences_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: APPLE_fence] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "APPLE_fence", 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 + } + + + /// [requires: APPLE_vertex_array_object] + /// Delete vertex array objects + /// + /// + /// + /// Specifies the number of vertex array objects to be deleted. + /// + /// + /// + /// + /// Specifies the address of an array containing the n names of the objects to be deleted. + /// + /// + [AutoGenerated(Category = "APPLE_vertex_array_object", 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 + } + + + /// [requires: APPLE_vertex_array_object] + /// Delete vertex array objects + /// + /// + /// + /// Specifies the number of vertex array objects to be deleted. + /// + /// + /// + /// + /// Specifies the address of an array containing the n names of the objects to be deleted. + /// + /// + [AutoGenerated(Category = "APPLE_vertex_array_object", Version = "1.2", EntryPoint = "glDeleteVertexArraysAPPLE")] + public static + void DeleteVertexArrays(Int32 n, ref 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 + } + + + /// [requires: APPLE_vertex_array_object] + /// Delete vertex array objects + /// + /// + /// + /// Specifies the number of vertex array objects to be deleted. + /// + /// + /// + /// + /// Specifies the address of an array containing the n names of the objects to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "APPLE_vertex_array_object", 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 + } + + + /// [requires: APPLE_vertex_array_object] + /// Delete vertex array objects + /// + /// + /// + /// Specifies the number of vertex array objects to be deleted. + /// + /// + /// + /// + /// Specifies the address of an array containing the n names of the objects to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "APPLE_vertex_array_object", Version = "1.2", EntryPoint = "glDeleteVertexArraysAPPLE")] + public static + void DeleteVertexArrays(Int32 n, UInt32[] arrays) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* arrays_ptr = arrays) + { + Delegates.glDeleteVertexArraysAPPLE((Int32)n, (UInt32*)arrays_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: APPLE_vertex_array_object] + /// Delete vertex array objects + /// + /// + /// + /// Specifies the number of vertex array objects to be deleted. + /// + /// + /// + /// + /// Specifies the address of an array containing the n names of the objects to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "APPLE_vertex_array_object", Version = "1.2", EntryPoint = "glDeleteVertexArraysAPPLE")] + public static + void DeleteVertexArrays(Int32 n, ref UInt32 arrays) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* arrays_ptr = &arrays) + { + Delegates.glDeleteVertexArraysAPPLE((Int32)n, (UInt32*)arrays_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: APPLE_vertex_array_object] + /// Delete vertex array objects + /// + /// + /// + /// Specifies the number of vertex array objects to be deleted. + /// + /// + /// + /// + /// Specifies the address of an array containing the n names of the objects to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "APPLE_vertex_array_object", 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 + } + + /// [requires: APPLE_vertex_program_evaluators] + [AutoGenerated(Category = "APPLE_vertex_program_evaluators", Version = "1.5", EntryPoint = "glDisableVertexAttribAPPLE")] + public static + void DisableVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.AppleVertexProgramEvaluators pname) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDisableVertexAttribAPPLE((UInt32)index, (OpenTK.Graphics.OpenGL.AppleVertexProgramEvaluators)pname); + #if DEBUG + } + #endif + } + + /// [requires: APPLE_vertex_program_evaluators] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "APPLE_vertex_program_evaluators", Version = "1.5", EntryPoint = "glDisableVertexAttribAPPLE")] + public static + void DisableVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.AppleVertexProgramEvaluators pname) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDisableVertexAttribAPPLE((UInt32)index, (OpenTK.Graphics.OpenGL.AppleVertexProgramEvaluators)pname); + #if DEBUG + } + #endif + } + + /// [requires: APPLE_element_array] + [AutoGenerated(Category = "APPLE_element_array", Version = "1.2", EntryPoint = "glDrawElementArrayAPPLE")] + public static + void DrawElementArray(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 first, Int32 count) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawElementArrayAPPLE((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)first, (Int32)count); + #if DEBUG + } + #endif + } + + /// [requires: APPLE_element_array] + [AutoGenerated(Category = "APPLE_element_array", Version = "1.2", EntryPoint = "glDrawRangeElementArrayAPPLE")] + public static + void DrawRangeElementArray(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, Int32 first, Int32 count) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawRangeElementArrayAPPLE((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)first, (Int32)count); + #if DEBUG + } + #endif + } + + /// [requires: APPLE_element_array] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "APPLE_element_array", Version = "1.2", EntryPoint = "glDrawRangeElementArrayAPPLE")] + public static + void DrawRangeElementArray(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 first, Int32 count) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawRangeElementArrayAPPLE((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)first, (Int32)count); + #if DEBUG + } + #endif + } + + /// [requires: APPLE_element_array] + [AutoGenerated(Category = "APPLE_element_array", Version = "1.2", EntryPoint = "glElementPointerAPPLE")] + public static + void ElementPointer(OpenTK.Graphics.OpenGL.AppleElementArray type, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glElementPointerAPPLE((OpenTK.Graphics.OpenGL.AppleElementArray)type, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + /// [requires: APPLE_element_array] + [AutoGenerated(Category = "APPLE_element_array", Version = "1.2", EntryPoint = "glElementPointerAPPLE")] + public static + void ElementPointer(OpenTK.Graphics.OpenGL.AppleElementArray type, [InAttribute, OutAttribute] T1[] pointer) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glElementPointerAPPLE((OpenTK.Graphics.OpenGL.AppleElementArray)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: APPLE_element_array] + [AutoGenerated(Category = "APPLE_element_array", Version = "1.2", EntryPoint = "glElementPointerAPPLE")] + public static + void ElementPointer(OpenTK.Graphics.OpenGL.AppleElementArray type, [InAttribute, OutAttribute] T1[,] pointer) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glElementPointerAPPLE((OpenTK.Graphics.OpenGL.AppleElementArray)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: APPLE_element_array] + [AutoGenerated(Category = "APPLE_element_array", Version = "1.2", EntryPoint = "glElementPointerAPPLE")] + public static + void ElementPointer(OpenTK.Graphics.OpenGL.AppleElementArray type, [InAttribute, OutAttribute] T1[,,] pointer) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glElementPointerAPPLE((OpenTK.Graphics.OpenGL.AppleElementArray)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: APPLE_element_array] + [AutoGenerated(Category = "APPLE_element_array", Version = "1.2", EntryPoint = "glElementPointerAPPLE")] + public static + void ElementPointer(OpenTK.Graphics.OpenGL.AppleElementArray type, [InAttribute, OutAttribute] ref T1 pointer) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glElementPointerAPPLE((OpenTK.Graphics.OpenGL.AppleElementArray)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + pointer = (T1)pointer_ptr.Target; + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: APPLE_vertex_program_evaluators] + [AutoGenerated(Category = "APPLE_vertex_program_evaluators", Version = "1.5", EntryPoint = "glEnableVertexAttribAPPLE")] + public static + void EnableVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.AppleVertexProgramEvaluators pname) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEnableVertexAttribAPPLE((UInt32)index, (OpenTK.Graphics.OpenGL.AppleVertexProgramEvaluators)pname); + #if DEBUG + } + #endif + } + + /// [requires: APPLE_vertex_program_evaluators] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "APPLE_vertex_program_evaluators", Version = "1.5", EntryPoint = "glEnableVertexAttribAPPLE")] + public static + void EnableVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.AppleVertexProgramEvaluators pname) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEnableVertexAttribAPPLE((UInt32)index, (OpenTK.Graphics.OpenGL.AppleVertexProgramEvaluators)pname); + #if DEBUG + } + #endif + } + + /// [requires: APPLE_fence] + [AutoGenerated(Category = "APPLE_fence", 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 + } + + /// [requires: APPLE_fence] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "APPLE_fence", Version = "1.2", EntryPoint = "glFinishFenceAPPLE")] + public static + void FinishFence(UInt32 fence) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFinishFenceAPPLE((UInt32)fence); + #if DEBUG + } + #endif + } + + /// [requires: APPLE_fence] + [AutoGenerated(Category = "APPLE_fence", Version = "1.2", EntryPoint = "glFinishObjectAPPLE")] + public static + void FinishObject(OpenTK.Graphics.OpenGL.AppleFence @object, Int32 name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFinishObjectAPPLE((OpenTK.Graphics.OpenGL.AppleFence)@object, (Int32)name); + #if DEBUG + } + #endif + } + + + /// [requires: APPLE_flush_buffer_range] + /// Indicate modifications to a range of a mapped buffer + /// + /// + /// + /// Specifies the target of the flush operation. target must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER. + /// + /// + /// + /// + /// Specifies the start of the buffer subrange, in basic machine units. + /// + /// + /// + /// + /// Specifies the length of the buffer subrange, in basic machine units. + /// + /// + [AutoGenerated(Category = "APPLE_flush_buffer_range", Version = "1.5", EntryPoint = "glFlushMappedBufferRangeAPPLE")] + public static + void FlushMappedBufferRange(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr size) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFlushMappedBufferRangeAPPLE((OpenTK.Graphics.OpenGL.BufferTarget)target, (IntPtr)offset, (IntPtr)size); + #if DEBUG + } + #endif + } + + /// [requires: APPLE_vertex_array_range] + [AutoGenerated(Category = "APPLE_vertex_array_range", Version = "1.2", EntryPoint = "glFlushVertexArrayRangeAPPLE")] + public static + void FlushVertexArrayRange(Int32 length, [OutAttribute] IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFlushVertexArrayRangeAPPLE((Int32)length, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + /// [requires: APPLE_vertex_array_range] + [AutoGenerated(Category = "APPLE_vertex_array_range", Version = "1.2", EntryPoint = "glFlushVertexArrayRangeAPPLE")] + public static + void FlushVertexArrayRange(Int32 length, [InAttribute, OutAttribute] 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 + } + + /// [requires: APPLE_vertex_array_range] + [AutoGenerated(Category = "APPLE_vertex_array_range", Version = "1.2", EntryPoint = "glFlushVertexArrayRangeAPPLE")] + public static + void FlushVertexArrayRange(Int32 length, [InAttribute, OutAttribute] 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 + } + + /// [requires: APPLE_vertex_array_range] + [AutoGenerated(Category = "APPLE_vertex_array_range", Version = "1.2", EntryPoint = "glFlushVertexArrayRangeAPPLE")] + public static + void FlushVertexArrayRange(Int32 length, [InAttribute, OutAttribute] 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 + } + + /// [requires: APPLE_vertex_array_range] + [AutoGenerated(Category = "APPLE_vertex_array_range", Version = "1.2", EntryPoint = "glFlushVertexArrayRangeAPPLE")] + public static + void FlushVertexArrayRange(Int32 length, [InAttribute, OutAttribute] ref 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()); + pointer = (T1)pointer_ptr.Target; + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: APPLE_fence] + [AutoGenerated(Category = "APPLE_fence", Version = "1.2", EntryPoint = "glGenFencesAPPLE")] + public static + void GenFences(Int32 n, [OutAttribute] Int32[] fences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* fences_ptr = fences) + { + Delegates.glGenFencesAPPLE((Int32)n, (UInt32*)fences_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: APPLE_fence] + [AutoGenerated(Category = "APPLE_fence", Version = "1.2", EntryPoint = "glGenFencesAPPLE")] + public static + void GenFences(Int32 n, [OutAttribute] out Int32 fences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* fences_ptr = &fences) + { + Delegates.glGenFencesAPPLE((Int32)n, (UInt32*)fences_ptr); + fences = *fences_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: APPLE_fence] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "APPLE_fence", Version = "1.2", EntryPoint = "glGenFencesAPPLE")] + public static + unsafe void GenFences(Int32 n, [OutAttribute] Int32* fences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenFencesAPPLE((Int32)n, (UInt32*)fences); + #if DEBUG + } + #endif + } + + /// [requires: APPLE_fence] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "APPLE_fence", Version = "1.2", EntryPoint = "glGenFencesAPPLE")] + public static + void GenFences(Int32 n, [OutAttribute] UInt32[] fences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* fences_ptr = fences) + { + Delegates.glGenFencesAPPLE((Int32)n, (UInt32*)fences_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: APPLE_fence] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "APPLE_fence", Version = "1.2", EntryPoint = "glGenFencesAPPLE")] + public static + void GenFences(Int32 n, [OutAttribute] out UInt32 fences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* fences_ptr = &fences) + { + Delegates.glGenFencesAPPLE((Int32)n, (UInt32*)fences_ptr); + fences = *fences_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: APPLE_fence] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "APPLE_fence", Version = "1.2", EntryPoint = "glGenFencesAPPLE")] + public static + unsafe void GenFences(Int32 n, [OutAttribute] UInt32* fences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenFencesAPPLE((Int32)n, (UInt32*)fences); + #if DEBUG + } + #endif + } + + + /// [requires: APPLE_vertex_array_object] + /// Generate vertex array object names + /// + /// + /// + /// Specifies the number of vertex array object names to generate. + /// + /// + /// + /// + /// Specifies an array in which the generated vertex array object names are stored. + /// + /// + [AutoGenerated(Category = "APPLE_vertex_array_object", Version = "1.2", EntryPoint = "glGenVertexArraysAPPLE")] + public static + void GenVertexArrays(Int32 n, [OutAttribute] 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 + } + + + /// [requires: APPLE_vertex_array_object] + /// Generate vertex array object names + /// + /// + /// + /// Specifies the number of vertex array object names to generate. + /// + /// + /// + /// + /// Specifies an array in which the generated vertex array object names are stored. + /// + /// + [AutoGenerated(Category = "APPLE_vertex_array_object", Version = "1.2", EntryPoint = "glGenVertexArraysAPPLE")] + public static + void GenVertexArrays(Int32 n, [OutAttribute] 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 + } + + + /// [requires: APPLE_vertex_array_object] + /// Generate vertex array object names + /// + /// + /// + /// Specifies the number of vertex array object names to generate. + /// + /// + /// + /// + /// Specifies an array in which the generated vertex array object names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "APPLE_vertex_array_object", Version = "1.2", EntryPoint = "glGenVertexArraysAPPLE")] + public static + unsafe void GenVertexArrays(Int32 n, [OutAttribute] Int32* arrays) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenVertexArraysAPPLE((Int32)n, (UInt32*)arrays); + #if DEBUG + } + #endif + } + + + /// [requires: APPLE_vertex_array_object] + /// Generate vertex array object names + /// + /// + /// + /// Specifies the number of vertex array object names to generate. + /// + /// + /// + /// + /// Specifies an array in which the generated vertex array object names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "APPLE_vertex_array_object", Version = "1.2", EntryPoint = "glGenVertexArraysAPPLE")] + public static + void GenVertexArrays(Int32 n, [OutAttribute] UInt32[] arrays) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* arrays_ptr = arrays) + { + Delegates.glGenVertexArraysAPPLE((Int32)n, (UInt32*)arrays_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: APPLE_vertex_array_object] + /// Generate vertex array object names + /// + /// + /// + /// Specifies the number of vertex array object names to generate. + /// + /// + /// + /// + /// Specifies an array in which the generated vertex array object names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "APPLE_vertex_array_object", Version = "1.2", EntryPoint = "glGenVertexArraysAPPLE")] + public static + void GenVertexArrays(Int32 n, [OutAttribute] out UInt32 arrays) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* arrays_ptr = &arrays) + { + Delegates.glGenVertexArraysAPPLE((Int32)n, (UInt32*)arrays_ptr); + arrays = *arrays_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: APPLE_vertex_array_object] + /// Generate vertex array object names + /// + /// + /// + /// Specifies the number of vertex array object names to generate. + /// + /// + /// + /// + /// Specifies an array in which the generated vertex array object names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "APPLE_vertex_array_object", Version = "1.2", EntryPoint = "glGenVertexArraysAPPLE")] + public static + unsafe void GenVertexArrays(Int32 n, [OutAttribute] UInt32* arrays) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenVertexArraysAPPLE((Int32)n, (UInt32*)arrays); + #if DEBUG + } + #endif + } + + /// [requires: APPLE_object_purgeable] + [AutoGenerated(Category = "APPLE_object_purgeable", Version = "1.5", EntryPoint = "glGetObjectParameterivAPPLE")] + public static + void GetObjectParameter(OpenTK.Graphics.OpenGL.AppleObjectPurgeable objectType, Int32 name, OpenTK.Graphics.OpenGL.AppleObjectPurgeable pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetObjectParameterivAPPLE((OpenTK.Graphics.OpenGL.AppleObjectPurgeable)objectType, (UInt32)name, (OpenTK.Graphics.OpenGL.AppleObjectPurgeable)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: APPLE_object_purgeable] + [AutoGenerated(Category = "APPLE_object_purgeable", Version = "1.5", EntryPoint = "glGetObjectParameterivAPPLE")] + public static + void GetObjectParameter(OpenTK.Graphics.OpenGL.AppleObjectPurgeable objectType, Int32 name, OpenTK.Graphics.OpenGL.AppleObjectPurgeable pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetObjectParameterivAPPLE((OpenTK.Graphics.OpenGL.AppleObjectPurgeable)objectType, (UInt32)name, (OpenTK.Graphics.OpenGL.AppleObjectPurgeable)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: APPLE_object_purgeable] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "APPLE_object_purgeable", Version = "1.5", EntryPoint = "glGetObjectParameterivAPPLE")] + public static + unsafe void GetObjectParameter(OpenTK.Graphics.OpenGL.AppleObjectPurgeable objectType, Int32 name, OpenTK.Graphics.OpenGL.AppleObjectPurgeable pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetObjectParameterivAPPLE((OpenTK.Graphics.OpenGL.AppleObjectPurgeable)objectType, (UInt32)name, (OpenTK.Graphics.OpenGL.AppleObjectPurgeable)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: APPLE_object_purgeable] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "APPLE_object_purgeable", Version = "1.5", EntryPoint = "glGetObjectParameterivAPPLE")] + public static + void GetObjectParameter(OpenTK.Graphics.OpenGL.AppleObjectPurgeable objectType, UInt32 name, OpenTK.Graphics.OpenGL.AppleObjectPurgeable pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetObjectParameterivAPPLE((OpenTK.Graphics.OpenGL.AppleObjectPurgeable)objectType, (UInt32)name, (OpenTK.Graphics.OpenGL.AppleObjectPurgeable)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: APPLE_object_purgeable] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "APPLE_object_purgeable", Version = "1.5", EntryPoint = "glGetObjectParameterivAPPLE")] + public static + void GetObjectParameter(OpenTK.Graphics.OpenGL.AppleObjectPurgeable objectType, UInt32 name, OpenTK.Graphics.OpenGL.AppleObjectPurgeable pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetObjectParameterivAPPLE((OpenTK.Graphics.OpenGL.AppleObjectPurgeable)objectType, (UInt32)name, (OpenTK.Graphics.OpenGL.AppleObjectPurgeable)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: APPLE_object_purgeable] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "APPLE_object_purgeable", Version = "1.5", EntryPoint = "glGetObjectParameterivAPPLE")] + public static + unsafe void GetObjectParameter(OpenTK.Graphics.OpenGL.AppleObjectPurgeable objectType, UInt32 name, OpenTK.Graphics.OpenGL.AppleObjectPurgeable pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetObjectParameterivAPPLE((OpenTK.Graphics.OpenGL.AppleObjectPurgeable)objectType, (UInt32)name, (OpenTK.Graphics.OpenGL.AppleObjectPurgeable)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: APPLE_texture_range] + [AutoGenerated(Category = "APPLE_texture_range", Version = "1.2", EntryPoint = "glGetTexParameterPointervAPPLE")] + public static + void GetTexParameterPointer(OpenTK.Graphics.OpenGL.AppleTextureRange target, OpenTK.Graphics.OpenGL.AppleTextureRange pname, [OutAttribute] IntPtr @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTexParameterPointervAPPLE((OpenTK.Graphics.OpenGL.AppleTextureRange)target, (OpenTK.Graphics.OpenGL.AppleTextureRange)pname, (IntPtr)@params); + #if DEBUG + } + #endif + } + + /// [requires: APPLE_texture_range] + [AutoGenerated(Category = "APPLE_texture_range", Version = "1.2", EntryPoint = "glGetTexParameterPointervAPPLE")] + public static + void GetTexParameterPointer(OpenTK.Graphics.OpenGL.AppleTextureRange target, OpenTK.Graphics.OpenGL.AppleTextureRange pname, [InAttribute, OutAttribute] T2[] @params) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetTexParameterPointervAPPLE((OpenTK.Graphics.OpenGL.AppleTextureRange)target, (OpenTK.Graphics.OpenGL.AppleTextureRange)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: APPLE_texture_range] + [AutoGenerated(Category = "APPLE_texture_range", Version = "1.2", EntryPoint = "glGetTexParameterPointervAPPLE")] + public static + void GetTexParameterPointer(OpenTK.Graphics.OpenGL.AppleTextureRange target, OpenTK.Graphics.OpenGL.AppleTextureRange pname, [InAttribute, OutAttribute] T2[,] @params) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetTexParameterPointervAPPLE((OpenTK.Graphics.OpenGL.AppleTextureRange)target, (OpenTK.Graphics.OpenGL.AppleTextureRange)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: APPLE_texture_range] + [AutoGenerated(Category = "APPLE_texture_range", Version = "1.2", EntryPoint = "glGetTexParameterPointervAPPLE")] + public static + void GetTexParameterPointer(OpenTK.Graphics.OpenGL.AppleTextureRange target, OpenTK.Graphics.OpenGL.AppleTextureRange pname, [InAttribute, OutAttribute] T2[,,] @params) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetTexParameterPointervAPPLE((OpenTK.Graphics.OpenGL.AppleTextureRange)target, (OpenTK.Graphics.OpenGL.AppleTextureRange)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: APPLE_texture_range] + [AutoGenerated(Category = "APPLE_texture_range", Version = "1.2", EntryPoint = "glGetTexParameterPointervAPPLE")] + public static + void GetTexParameterPointer(OpenTK.Graphics.OpenGL.AppleTextureRange target, OpenTK.Graphics.OpenGL.AppleTextureRange pname, [InAttribute, OutAttribute] ref T2 @params) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetTexParameterPointervAPPLE((OpenTK.Graphics.OpenGL.AppleTextureRange)target, (OpenTK.Graphics.OpenGL.AppleTextureRange)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + @params = (T2)@params_ptr.Target; + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: APPLE_fence] + [AutoGenerated(Category = "APPLE_fence", Version = "1.2", EntryPoint = "glIsFenceAPPLE")] + public static + bool IsFence(Int32 fence) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsFenceAPPLE((UInt32)fence); + #if DEBUG + } + #endif + } + + /// [requires: APPLE_fence] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "APPLE_fence", Version = "1.2", EntryPoint = "glIsFenceAPPLE")] + public static + bool IsFence(UInt32 fence) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsFenceAPPLE((UInt32)fence); + #if DEBUG + } + #endif + } + + + /// [requires: APPLE_vertex_array_object] + /// Determine if a name corresponds to a vertex array object + /// + /// + /// + /// Specifies a value that may be the name of a vertex array object. + /// + /// + [AutoGenerated(Category = "APPLE_vertex_array_object", Version = "1.2", EntryPoint = "glIsVertexArrayAPPLE")] + public static + bool IsVertexArray(Int32 array) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsVertexArrayAPPLE((UInt32)array); + #if DEBUG + } + #endif + } + + + /// [requires: APPLE_vertex_array_object] + /// Determine if a name corresponds to a vertex array object + /// + /// + /// + /// Specifies a value that may be the name of a vertex array object. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "APPLE_vertex_array_object", Version = "1.2", EntryPoint = "glIsVertexArrayAPPLE")] + public static + bool IsVertexArray(UInt32 array) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsVertexArrayAPPLE((UInt32)array); + #if DEBUG + } + #endif + } + + /// [requires: APPLE_vertex_program_evaluators] + [AutoGenerated(Category = "APPLE_vertex_program_evaluators", Version = "1.5", EntryPoint = "glIsVertexAttribEnabledAPPLE")] + public static + bool IsVertexAttribEnabled(Int32 index, OpenTK.Graphics.OpenGL.AppleVertexProgramEvaluators pname) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsVertexAttribEnabledAPPLE((UInt32)index, (OpenTK.Graphics.OpenGL.AppleVertexProgramEvaluators)pname); + #if DEBUG + } + #endif + } + + /// [requires: APPLE_vertex_program_evaluators] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "APPLE_vertex_program_evaluators", Version = "1.5", EntryPoint = "glIsVertexAttribEnabledAPPLE")] + public static + bool IsVertexAttribEnabled(UInt32 index, OpenTK.Graphics.OpenGL.AppleVertexProgramEvaluators pname) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsVertexAttribEnabledAPPLE((UInt32)index, (OpenTK.Graphics.OpenGL.AppleVertexProgramEvaluators)pname); + #if DEBUG + } + #endif + } + + /// [requires: APPLE_vertex_program_evaluators] + [AutoGenerated(Category = "APPLE_vertex_program_evaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib1dAPPLE")] + public static + 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); + } + } + #if DEBUG + } + #endif + } + + /// [requires: APPLE_vertex_program_evaluators] + [AutoGenerated(Category = "APPLE_vertex_program_evaluators", 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 + } + + /// [requires: APPLE_vertex_program_evaluators] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "APPLE_vertex_program_evaluators", 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 + } + + /// [requires: APPLE_vertex_program_evaluators] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "APPLE_vertex_program_evaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib1dAPPLE")] + public static + void MapVertexAttrib1(UInt32 index, UInt32 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); + } + } + #if DEBUG + } + #endif + } + + /// [requires: APPLE_vertex_program_evaluators] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "APPLE_vertex_program_evaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib1dAPPLE")] + public static + void MapVertexAttrib1(UInt32 index, UInt32 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 + } + + /// [requires: APPLE_vertex_program_evaluators] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "APPLE_vertex_program_evaluators", 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 + } + + /// [requires: APPLE_vertex_program_evaluators] + [AutoGenerated(Category = "APPLE_vertex_program_evaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib1fAPPLE")] + public static + void MapVertexAttrib1(Int32 index, Int32 size, Single u1, Single u2, Int32 stride, Int32 order, Single[] points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* points_ptr = points) + { + Delegates.glMapVertexAttrib1fAPPLE((UInt32)index, (UInt32)size, (Single)u1, (Single)u2, (Int32)stride, (Int32)order, (Single*)points_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: APPLE_vertex_program_evaluators] + [AutoGenerated(Category = "APPLE_vertex_program_evaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib1fAPPLE")] + public static + void MapVertexAttrib1(Int32 index, Int32 size, Single u1, Single u2, Int32 stride, Int32 order, ref Single points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* points_ptr = &points) + { + Delegates.glMapVertexAttrib1fAPPLE((UInt32)index, (UInt32)size, (Single)u1, (Single)u2, (Int32)stride, (Int32)order, (Single*)points_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: APPLE_vertex_program_evaluators] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "APPLE_vertex_program_evaluators", 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 + } + + /// [requires: APPLE_vertex_program_evaluators] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "APPLE_vertex_program_evaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib1fAPPLE")] + public static + void MapVertexAttrib1(UInt32 index, UInt32 size, Single u1, Single u2, Int32 stride, Int32 order, Single[] points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* points_ptr = points) + { + Delegates.glMapVertexAttrib1fAPPLE((UInt32)index, (UInt32)size, (Single)u1, (Single)u2, (Int32)stride, (Int32)order, (Single*)points_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: APPLE_vertex_program_evaluators] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "APPLE_vertex_program_evaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib1fAPPLE")] + public static + void MapVertexAttrib1(UInt32 index, UInt32 size, Single u1, Single u2, Int32 stride, Int32 order, ref Single points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* points_ptr = &points) + { + Delegates.glMapVertexAttrib1fAPPLE((UInt32)index, (UInt32)size, (Single)u1, (Single)u2, (Int32)stride, (Int32)order, (Single*)points_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: APPLE_vertex_program_evaluators] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "APPLE_vertex_program_evaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib1fAPPLE")] + public static + unsafe void MapVertexAttrib1(UInt32 index, UInt32 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 + } + + /// [requires: APPLE_vertex_program_evaluators] + [AutoGenerated(Category = "APPLE_vertex_program_evaluators", 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, 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 + } + + /// [requires: APPLE_vertex_program_evaluators] + [AutoGenerated(Category = "APPLE_vertex_program_evaluators", 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 + } + + /// [requires: APPLE_vertex_program_evaluators] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "APPLE_vertex_program_evaluators", 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) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMapVertexAttrib2dAPPLE((UInt32)index, (UInt32)size, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double*)points); + #if DEBUG + } + #endif + } + + /// [requires: APPLE_vertex_program_evaluators] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "APPLE_vertex_program_evaluators", 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 + } + + /// [requires: APPLE_vertex_program_evaluators] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "APPLE_vertex_program_evaluators", 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, 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 + } + + /// [requires: APPLE_vertex_program_evaluators] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "APPLE_vertex_program_evaluators", 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) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMapVertexAttrib2dAPPLE((UInt32)index, (UInt32)size, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double*)points); + #if DEBUG + } + #endif + } + + /// [requires: APPLE_vertex_program_evaluators] + [AutoGenerated(Category = "APPLE_vertex_program_evaluators", 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, 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 + } + + /// [requires: APPLE_vertex_program_evaluators] + [AutoGenerated(Category = "APPLE_vertex_program_evaluators", 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) + { + #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 + } + + /// [requires: APPLE_vertex_program_evaluators] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "APPLE_vertex_program_evaluators", 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 + } + + /// [requires: APPLE_vertex_program_evaluators] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "APPLE_vertex_program_evaluators", 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 + } + + /// [requires: APPLE_vertex_program_evaluators] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "APPLE_vertex_program_evaluators", 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 + } + + /// [requires: APPLE_vertex_program_evaluators] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "APPLE_vertex_program_evaluators", 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 + } + + /// [requires: APPLE_element_array] + [AutoGenerated(Category = "APPLE_element_array", Version = "1.2", EntryPoint = "glMultiDrawElementArrayAPPLE")] + public static + void MultiDrawElementArray(OpenTK.Graphics.OpenGL.BeginMode mode, Int32[] first, Int32[] count, Int32 primcount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* first_ptr = first) + fixed (Int32* count_ptr = count) + { + Delegates.glMultiDrawElementArrayAPPLE((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); + } + } + #if DEBUG + } + #endif + } + + /// [requires: APPLE_element_array] + [AutoGenerated(Category = "APPLE_element_array", Version = "1.2", EntryPoint = "glMultiDrawElementArrayAPPLE")] + public static + void MultiDrawElementArray(OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 first, ref Int32 count, Int32 primcount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* first_ptr = &first) + fixed (Int32* count_ptr = &count) + { + Delegates.glMultiDrawElementArrayAPPLE((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); + } + } + #if DEBUG + } + #endif + } + + /// [requires: APPLE_element_array] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "APPLE_element_array", Version = "1.2", EntryPoint = "glMultiDrawElementArrayAPPLE")] + public static + unsafe void MultiDrawElementArray(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* first, Int32* count, Int32 primcount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiDrawElementArrayAPPLE((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)first, (Int32*)count, (Int32)primcount); + #if DEBUG + } + #endif + } + + /// [requires: APPLE_element_array] + [AutoGenerated(Category = "APPLE_element_array", Version = "1.2", EntryPoint = "glMultiDrawRangeElementArrayAPPLE")] + public static + void MultiDrawRangeElementArray(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, Int32[] first, Int32[] count, Int32 primcount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* first_ptr = first) + fixed (Int32* count_ptr = count) + { + Delegates.glMultiDrawRangeElementArrayAPPLE((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); + } + } + #if DEBUG + } + #endif + } + + /// [requires: APPLE_element_array] + [AutoGenerated(Category = "APPLE_element_array", Version = "1.2", EntryPoint = "glMultiDrawRangeElementArrayAPPLE")] + public static + void MultiDrawRangeElementArray(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, ref Int32 first, ref Int32 count, Int32 primcount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* first_ptr = &first) + fixed (Int32* count_ptr = &count) + { + Delegates.glMultiDrawRangeElementArrayAPPLE((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); + } + } + #if DEBUG + } + #endif + } + + /// [requires: APPLE_element_array] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "APPLE_element_array", Version = "1.2", EntryPoint = "glMultiDrawRangeElementArrayAPPLE")] + public static + unsafe void MultiDrawRangeElementArray(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, Int32* first, Int32* count, Int32 primcount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiDrawRangeElementArrayAPPLE((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32*)first, (Int32*)count, (Int32)primcount); + #if DEBUG + } + #endif + } + + /// [requires: APPLE_element_array] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "APPLE_element_array", Version = "1.2", EntryPoint = "glMultiDrawRangeElementArrayAPPLE")] + public static + void MultiDrawRangeElementArray(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32[] first, Int32[] count, Int32 primcount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* first_ptr = first) + fixed (Int32* count_ptr = count) + { + Delegates.glMultiDrawRangeElementArrayAPPLE((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); + } + } + #if DEBUG + } + #endif + } + + /// [requires: APPLE_element_array] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "APPLE_element_array", Version = "1.2", EntryPoint = "glMultiDrawRangeElementArrayAPPLE")] + public static + void MultiDrawRangeElementArray(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, ref Int32 first, ref Int32 count, Int32 primcount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* first_ptr = &first) + fixed (Int32* count_ptr = &count) + { + Delegates.glMultiDrawRangeElementArrayAPPLE((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); + } + } + #if DEBUG + } + #endif + } + + /// [requires: APPLE_element_array] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "APPLE_element_array", Version = "1.2", EntryPoint = "glMultiDrawRangeElementArrayAPPLE")] + public static + unsafe void MultiDrawRangeElementArray(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32* first, Int32* count, Int32 primcount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiDrawRangeElementArrayAPPLE((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32*)first, (Int32*)count, (Int32)primcount); + #if DEBUG + } + #endif + } + + /// [requires: APPLE_object_purgeable] + [AutoGenerated(Category = "APPLE_object_purgeable", Version = "1.5", EntryPoint = "glObjectPurgeableAPPLE")] + public static + OpenTK.Graphics.OpenGL.AppleObjectPurgeable ObjectPurgeable(OpenTK.Graphics.OpenGL.AppleObjectPurgeable objectType, Int32 name, OpenTK.Graphics.OpenGL.AppleObjectPurgeable option) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glObjectPurgeableAPPLE((OpenTK.Graphics.OpenGL.AppleObjectPurgeable)objectType, (UInt32)name, (OpenTK.Graphics.OpenGL.AppleObjectPurgeable)option); + #if DEBUG + } + #endif + } + + /// [requires: APPLE_object_purgeable] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "APPLE_object_purgeable", Version = "1.5", EntryPoint = "glObjectPurgeableAPPLE")] + public static + OpenTK.Graphics.OpenGL.AppleObjectPurgeable ObjectPurgeable(OpenTK.Graphics.OpenGL.AppleObjectPurgeable objectType, UInt32 name, OpenTK.Graphics.OpenGL.AppleObjectPurgeable option) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glObjectPurgeableAPPLE((OpenTK.Graphics.OpenGL.AppleObjectPurgeable)objectType, (UInt32)name, (OpenTK.Graphics.OpenGL.AppleObjectPurgeable)option); + #if DEBUG + } + #endif + } + + /// [requires: APPLE_object_purgeable] + [AutoGenerated(Category = "APPLE_object_purgeable", Version = "1.5", EntryPoint = "glObjectUnpurgeableAPPLE")] + public static + OpenTK.Graphics.OpenGL.AppleObjectPurgeable ObjectUnpurgeable(OpenTK.Graphics.OpenGL.AppleObjectPurgeable objectType, Int32 name, OpenTK.Graphics.OpenGL.AppleObjectPurgeable option) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glObjectUnpurgeableAPPLE((OpenTK.Graphics.OpenGL.AppleObjectPurgeable)objectType, (UInt32)name, (OpenTK.Graphics.OpenGL.AppleObjectPurgeable)option); + #if DEBUG + } + #endif + } + + /// [requires: APPLE_object_purgeable] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "APPLE_object_purgeable", Version = "1.5", EntryPoint = "glObjectUnpurgeableAPPLE")] + public static + OpenTK.Graphics.OpenGL.AppleObjectPurgeable ObjectUnpurgeable(OpenTK.Graphics.OpenGL.AppleObjectPurgeable objectType, UInt32 name, OpenTK.Graphics.OpenGL.AppleObjectPurgeable option) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glObjectUnpurgeableAPPLE((OpenTK.Graphics.OpenGL.AppleObjectPurgeable)objectType, (UInt32)name, (OpenTK.Graphics.OpenGL.AppleObjectPurgeable)option); + #if DEBUG + } + #endif + } + + /// [requires: APPLE_fence] + [AutoGenerated(Category = "APPLE_fence", Version = "1.2", EntryPoint = "glSetFenceAPPLE")] + public static + void SetFence(Int32 fence) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSetFenceAPPLE((UInt32)fence); + #if DEBUG + } + #endif + } + + /// [requires: APPLE_fence] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "APPLE_fence", Version = "1.2", EntryPoint = "glSetFenceAPPLE")] + public static + void SetFence(UInt32 fence) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSetFenceAPPLE((UInt32)fence); + #if DEBUG + } + #endif + } + + /// [requires: APPLE_fence] + [AutoGenerated(Category = "APPLE_fence", Version = "1.2", EntryPoint = "glTestFenceAPPLE")] + public static + bool TestFence(Int32 fence) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glTestFenceAPPLE((UInt32)fence); + #if DEBUG + } + #endif + } + + /// [requires: APPLE_fence] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "APPLE_fence", Version = "1.2", EntryPoint = "glTestFenceAPPLE")] + public static + bool TestFence(UInt32 fence) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glTestFenceAPPLE((UInt32)fence); + #if DEBUG + } + #endif + } + + /// [requires: APPLE_fence] + [AutoGenerated(Category = "APPLE_fence", Version = "1.2", EntryPoint = "glTestObjectAPPLE")] + public static + bool TestObject(OpenTK.Graphics.OpenGL.AppleFence @object, Int32 name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glTestObjectAPPLE((OpenTK.Graphics.OpenGL.AppleFence)@object, (UInt32)name); + #if DEBUG + } + #endif + } + + /// [requires: APPLE_fence] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "APPLE_fence", Version = "1.2", EntryPoint = "glTestObjectAPPLE")] + public static + bool TestObject(OpenTK.Graphics.OpenGL.AppleFence @object, UInt32 name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glTestObjectAPPLE((OpenTK.Graphics.OpenGL.AppleFence)@object, (UInt32)name); + #if DEBUG + } + #endif + } + + /// [requires: APPLE_texture_range] + [AutoGenerated(Category = "APPLE_texture_range", Version = "1.2", EntryPoint = "glTextureRangeAPPLE")] + public static + void TextureRange(OpenTK.Graphics.OpenGL.AppleTextureRange target, Int32 length, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureRangeAPPLE((OpenTK.Graphics.OpenGL.AppleTextureRange)target, (Int32)length, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + /// [requires: APPLE_texture_range] + [AutoGenerated(Category = "APPLE_texture_range", Version = "1.2", EntryPoint = "glTextureRangeAPPLE")] + public static + void TextureRange(OpenTK.Graphics.OpenGL.AppleTextureRange target, Int32 length, [InAttribute, OutAttribute] T2[] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glTextureRangeAPPLE((OpenTK.Graphics.OpenGL.AppleTextureRange)target, (Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: APPLE_texture_range] + [AutoGenerated(Category = "APPLE_texture_range", Version = "1.2", EntryPoint = "glTextureRangeAPPLE")] + public static + void TextureRange(OpenTK.Graphics.OpenGL.AppleTextureRange target, Int32 length, [InAttribute, OutAttribute] T2[,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glTextureRangeAPPLE((OpenTK.Graphics.OpenGL.AppleTextureRange)target, (Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: APPLE_texture_range] + [AutoGenerated(Category = "APPLE_texture_range", Version = "1.2", EntryPoint = "glTextureRangeAPPLE")] + public static + void TextureRange(OpenTK.Graphics.OpenGL.AppleTextureRange target, Int32 length, [InAttribute, OutAttribute] T2[,,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glTextureRangeAPPLE((OpenTK.Graphics.OpenGL.AppleTextureRange)target, (Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: APPLE_texture_range] + [AutoGenerated(Category = "APPLE_texture_range", Version = "1.2", EntryPoint = "glTextureRangeAPPLE")] + public static + void TextureRange(OpenTK.Graphics.OpenGL.AppleTextureRange target, Int32 length, [InAttribute, OutAttribute] ref T2 pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glTextureRangeAPPLE((OpenTK.Graphics.OpenGL.AppleTextureRange)target, (Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + pointer = (T2)pointer_ptr.Target; + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: APPLE_vertex_array_range] + [AutoGenerated(Category = "APPLE_vertex_array_range", Version = "1.2", EntryPoint = "glVertexArrayParameteriAPPLE")] + public static + void VertexArrayParameter(OpenTK.Graphics.OpenGL.AppleVertexArrayRange pname, Int32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexArrayParameteriAPPLE((OpenTK.Graphics.OpenGL.AppleVertexArrayRange)pname, (Int32)param); + #if DEBUG + } + #endif + } + + /// [requires: APPLE_vertex_array_range] + [AutoGenerated(Category = "APPLE_vertex_array_range", Version = "1.2", EntryPoint = "glVertexArrayRangeAPPLE")] + public static + void VertexArrayRange(Int32 length, [OutAttribute] IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexArrayRangeAPPLE((Int32)length, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + /// [requires: APPLE_vertex_array_range] + [AutoGenerated(Category = "APPLE_vertex_array_range", Version = "1.2", EntryPoint = "glVertexArrayRangeAPPLE")] + public static + void VertexArrayRange(Int32 length, [InAttribute, OutAttribute] 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 + } + + /// [requires: APPLE_vertex_array_range] + [AutoGenerated(Category = "APPLE_vertex_array_range", Version = "1.2", EntryPoint = "glVertexArrayRangeAPPLE")] + public static + void VertexArrayRange(Int32 length, [InAttribute, OutAttribute] 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 + } + + /// [requires: APPLE_vertex_array_range] + [AutoGenerated(Category = "APPLE_vertex_array_range", Version = "1.2", EntryPoint = "glVertexArrayRangeAPPLE")] + public static + void VertexArrayRange(Int32 length, [InAttribute, OutAttribute] 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 + } + + /// [requires: APPLE_vertex_array_range] + [AutoGenerated(Category = "APPLE_vertex_array_range", Version = "1.2", EntryPoint = "glVertexArrayRangeAPPLE")] + public static + void VertexArrayRange(Int32 length, [InAttribute, OutAttribute] ref 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()); + pointer = (T1)pointer_ptr.Target; + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + } + + public static partial class Arb + { + + /// [requires: ARB_multitexture] + /// Select active texture unit + /// + /// + /// + /// 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_TEXTUREi, where i ranges from 0 (GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS - 1). The initial value is GL_TEXTURE0. + /// + /// + [AutoGenerated(Category = "ARB_multitexture", Version = "1.2", EntryPoint = "glActiveTextureARB")] + public static + void ActiveTexture(OpenTK.Graphics.OpenGL.TextureUnit texture) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glActiveTextureARB((OpenTK.Graphics.OpenGL.TextureUnit)texture); + #if DEBUG + } + #endif + } + + /// [requires: ARB_shader_objects] + [AutoGenerated(Category = "ARB_shader_objects", 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 + } + + /// [requires: ARB_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_shader_objects", Version = "1.2", EntryPoint = "glAttachObjectARB")] + public static + void AttachObject(UInt32 containerObj, UInt32 obj) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glAttachObjectARB((UInt32)containerObj, (UInt32)obj); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_occlusion_query] + /// 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 one of GL_SAMPLES_PASSED, GL_ANY_SAMPLES_PASSED, GL_PRIMITIVES_GENERATED, GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN, or GL_TIME_ELAPSED. + /// + /// + /// + /// + /// Specifies the name of a query object. + /// + /// + [AutoGenerated(Category = "ARB_occlusion_query", Version = "1.5", EntryPoint = "glBeginQueryARB")] + public static + void BeginQuery(OpenTK.Graphics.OpenGL.ArbOcclusionQuery target, Int32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBeginQueryARB((OpenTK.Graphics.OpenGL.ArbOcclusionQuery)target, (UInt32)id); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_occlusion_query] + /// 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 one of GL_SAMPLES_PASSED, GL_ANY_SAMPLES_PASSED, GL_PRIMITIVES_GENERATED, GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN, or GL_TIME_ELAPSED. + /// + /// + /// + /// + /// Specifies the name of a query object. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_occlusion_query", Version = "1.5", EntryPoint = "glBeginQueryARB")] + public static + void BeginQuery(OpenTK.Graphics.OpenGL.ArbOcclusionQuery target, UInt32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBeginQueryARB((OpenTK.Graphics.OpenGL.ArbOcclusionQuery)target, (UInt32)id); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_shader] + /// 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. + /// + /// + [AutoGenerated(Category = "ARB_vertex_shader", 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 + } + + + /// [requires: ARB_vertex_shader] + /// 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 = "ARB_vertex_shader", Version = "1.2", EntryPoint = "glBindAttribLocationARB")] + public static + void BindAttribLocation(UInt32 programObj, UInt32 index, String name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindAttribLocationARB((UInt32)programObj, (UInt32)index, (String)name); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_buffer_object] + /// Bind a named buffer object + /// + /// + /// + /// Specifies the target to which the buffer object is bound. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER. + /// + /// + /// + /// + /// Specifies the name of a buffer object. + /// + /// + [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "1.2", EntryPoint = "glBindBufferARB")] + public static + void BindBuffer(OpenTK.Graphics.OpenGL.BufferTargetArb target, Int32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindBufferARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (UInt32)buffer); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_buffer_object] + /// Bind a named buffer object + /// + /// + /// + /// Specifies the target to which the buffer object is bound. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER. + /// + /// + /// + /// + /// Specifies the name of a buffer object. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "1.2", EntryPoint = "glBindBufferARB")] + public static + void BindBuffer(OpenTK.Graphics.OpenGL.BufferTargetArb target, UInt32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindBufferARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (UInt32)buffer); + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glBindProgramARB")] + public static + void BindProgram(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 program) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindProgramARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)program); + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glBindProgramARB")] + public static + void BindProgram(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 program) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindProgramARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)program); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_draw_buffers_blend] + /// Specify the equation used for both the RGB blend equation and the Alpha blend equation + /// + /// + /// + /// specifies how source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX. + /// + /// + [AutoGenerated(Category = "ARB_draw_buffers_blend", Version = "1.2", EntryPoint = "glBlendEquationiARB")] + public static + void BlendEquation(Int32 buf, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBlendEquationiARB((UInt32)buf, (OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend)mode); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_draw_buffers_blend] + /// Specify the equation used for both the RGB blend equation and the Alpha blend equation + /// + /// + /// + /// specifies how source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_draw_buffers_blend", Version = "1.2", EntryPoint = "glBlendEquationiARB")] + public static + void BlendEquation(UInt32 buf, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBlendEquationiARB((UInt32)buf, (OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend)mode); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_draw_buffers_blend] + /// Set the RGB blend equation and the alpha blend equation separately + /// + /// + /// + /// specifies the RGB blend equation, how the red, green, and blue components of the source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX. + /// + /// + /// + /// + /// specifies the alpha blend equation, how the alpha component of the source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX. + /// + /// + [AutoGenerated(Category = "ARB_draw_buffers_blend", Version = "1.2", EntryPoint = "glBlendEquationSeparateiARB")] + public static + void BlendEquationSeparate(Int32 buf, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend modeRGB, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend modeAlpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBlendEquationSeparateiARB((UInt32)buf, (OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend)modeRGB, (OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend)modeAlpha); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_draw_buffers_blend] + /// Set the RGB blend equation and the alpha blend equation separately + /// + /// + /// + /// specifies the RGB blend equation, how the red, green, and blue components of the source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX. + /// + /// + /// + /// + /// specifies the alpha blend equation, how the alpha component of the source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_draw_buffers_blend", Version = "1.2", EntryPoint = "glBlendEquationSeparateiARB")] + public static + void BlendEquationSeparate(UInt32 buf, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend modeRGB, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend modeAlpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBlendEquationSeparateiARB((UInt32)buf, (OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend)modeRGB, (OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend)modeAlpha); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_draw_buffers_blend] + /// Specify pixel arithmetic + /// + /// + /// + /// Specifies how the red, green, blue, and alpha source blending factors are computed. The initial value is GL_ONE. + /// + /// + /// + /// + /// Specifies how the red, green, blue, and alpha destination blending factors are computed. The following symbolic constants are accepted: GL_ZERO, GL_ONE, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_DST_COLOR, GL_ONE_MINUS_DST_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_DST_ALPHA, GL_ONE_MINUS_DST_ALPHA. GL_CONSTANT_COLOR, GL_ONE_MINUS_CONSTANT_COLOR, GL_CONSTANT_ALPHA, and GL_ONE_MINUS_CONSTANT_ALPHA. The initial value is GL_ZERO. + /// + /// + [AutoGenerated(Category = "ARB_draw_buffers_blend", Version = "1.2", EntryPoint = "glBlendFunciARB")] + public static + void BlendFunc(Int32 buf, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend src, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend dst) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBlendFunciARB((UInt32)buf, (OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend)src, (OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend)dst); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_draw_buffers_blend] + /// Specify pixel arithmetic + /// + /// + /// + /// Specifies how the red, green, blue, and alpha source blending factors are computed. The initial value is GL_ONE. + /// + /// + /// + /// + /// Specifies how the red, green, blue, and alpha destination blending factors are computed. The following symbolic constants are accepted: GL_ZERO, GL_ONE, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_DST_COLOR, GL_ONE_MINUS_DST_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_DST_ALPHA, GL_ONE_MINUS_DST_ALPHA. GL_CONSTANT_COLOR, GL_ONE_MINUS_CONSTANT_COLOR, GL_CONSTANT_ALPHA, and GL_ONE_MINUS_CONSTANT_ALPHA. The initial value is GL_ZERO. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_draw_buffers_blend", Version = "1.2", EntryPoint = "glBlendFunciARB")] + public static + void BlendFunc(UInt32 buf, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend src, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend dst) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBlendFunciARB((UInt32)buf, (OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend)src, (OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend)dst); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_draw_buffers_blend] + /// Specify pixel arithmetic for RGB and alpha components separately + /// + /// + /// + /// Specifies how the red, green, and blue blending factors are computed. The initial value is GL_ONE. + /// + /// + /// + /// + /// Specifies how the red, green, and blue destination blending factors are computed. The initial value is GL_ZERO. + /// + /// + /// + /// + /// Specified how the alpha source blending factor is computed. The initial value is GL_ONE. + /// + /// + /// + /// + /// Specified how the alpha destination blending factor is computed. The initial value is GL_ZERO. + /// + /// + [AutoGenerated(Category = "ARB_draw_buffers_blend", Version = "1.2", EntryPoint = "glBlendFuncSeparateiARB")] + public static + void BlendFuncSeparate(Int32 buf, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend srcRGB, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend dstRGB, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend srcAlpha, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend dstAlpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBlendFuncSeparateiARB((UInt32)buf, (OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend)srcRGB, (OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend)dstRGB, (OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend)srcAlpha, (OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend)dstAlpha); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_draw_buffers_blend] + /// Specify pixel arithmetic for RGB and alpha components separately + /// + /// + /// + /// Specifies how the red, green, and blue blending factors are computed. The initial value is GL_ONE. + /// + /// + /// + /// + /// Specifies how the red, green, and blue destination blending factors are computed. The initial value is GL_ZERO. + /// + /// + /// + /// + /// Specified how the alpha source blending factor is computed. The initial value is GL_ONE. + /// + /// + /// + /// + /// Specified how the alpha destination blending factor is computed. The initial value is GL_ZERO. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_draw_buffers_blend", Version = "1.2", EntryPoint = "glBlendFuncSeparateiARB")] + public static + void BlendFuncSeparate(UInt32 buf, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend srcRGB, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend dstRGB, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend srcAlpha, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend dstAlpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBlendFuncSeparateiARB((UInt32)buf, (OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend)srcRGB, (OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend)dstRGB, (OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend)srcAlpha, (OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend)dstAlpha); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_buffer_object] + /// Creates and initializes a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_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 = "ARB_vertex_buffer_object", Version = "1.2", EntryPoint = "glBufferDataARB")] + public static + void BufferData(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr size, IntPtr data, OpenTK.Graphics.OpenGL.BufferUsageArb usage) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBufferDataARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (IntPtr)size, (IntPtr)data, (OpenTK.Graphics.OpenGL.BufferUsageArb)usage); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_buffer_object] + /// Creates and initializes a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_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 = "ARB_vertex_buffer_object", Version = "1.2", EntryPoint = "glBufferDataARB")] + public static + void BufferData(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr size, [InAttribute, OutAttribute] T2[] data, OpenTK.Graphics.OpenGL.BufferUsageArb usage) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glBufferDataARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.BufferUsageArb)usage); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_buffer_object] + /// Creates and initializes a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_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 = "ARB_vertex_buffer_object", Version = "1.2", EntryPoint = "glBufferDataARB")] + public static + void BufferData(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr size, [InAttribute, OutAttribute] T2[,] data, OpenTK.Graphics.OpenGL.BufferUsageArb usage) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glBufferDataARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.BufferUsageArb)usage); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_buffer_object] + /// Creates and initializes a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_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 = "ARB_vertex_buffer_object", Version = "1.2", EntryPoint = "glBufferDataARB")] + public static + void BufferData(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr size, [InAttribute, OutAttribute] T2[,,] data, OpenTK.Graphics.OpenGL.BufferUsageArb usage) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glBufferDataARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.BufferUsageArb)usage); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_buffer_object] + /// Creates and initializes a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_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 = "ARB_vertex_buffer_object", Version = "1.2", EntryPoint = "glBufferDataARB")] + public static + void BufferData(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr size, [InAttribute, OutAttribute] ref T2 data, OpenTK.Graphics.OpenGL.BufferUsageArb usage) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glBufferDataARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.BufferUsageArb)usage); + data = (T2)data_ptr.Target; + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_buffer_object] + /// Updates a subset of a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_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 = "ARB_vertex_buffer_object", Version = "1.2", EntryPoint = "glBufferSubDataARB")] + public static + void BufferSubData(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr offset, IntPtr size, IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBufferSubDataARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_buffer_object] + /// Updates a subset of a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_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 = "ARB_vertex_buffer_object", Version = "1.2", EntryPoint = "glBufferSubDataARB")] + public static + void BufferSubData(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glBufferSubDataARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_buffer_object] + /// Updates a subset of a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_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 = "ARB_vertex_buffer_object", Version = "1.2", EntryPoint = "glBufferSubDataARB")] + public static + void BufferSubData(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glBufferSubDataARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_buffer_object] + /// Updates a subset of a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_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 = "ARB_vertex_buffer_object", Version = "1.2", EntryPoint = "glBufferSubDataARB")] + public static + void BufferSubData(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,,] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glBufferSubDataARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_buffer_object] + /// Updates a subset of a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_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 = "ARB_vertex_buffer_object", Version = "1.2", EntryPoint = "glBufferSubDataARB")] + public static + void BufferSubData(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] ref T3 data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glBufferSubDataARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + data = (T3)data_ptr.Target; + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_color_buffer_float] + /// Specify whether data read via glReadPixels should be clamped + /// + /// + /// + /// Target for color clamping. target must be GL_CLAMP_READ_COLOR. + /// + /// + /// + /// + /// Specifies whether to apply color clamping. clamp must be GL_TRUE or GL_FALSE. + /// + /// + [AutoGenerated(Category = "ARB_color_buffer_float", Version = "1.5", EntryPoint = "glClampColorARB")] + public static + void ClampColor(OpenTK.Graphics.OpenGL.ArbColorBufferFloat target, OpenTK.Graphics.OpenGL.ArbColorBufferFloat clamp) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glClampColorARB((OpenTK.Graphics.OpenGL.ArbColorBufferFloat)target, (OpenTK.Graphics.OpenGL.ArbColorBufferFloat)clamp); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_multitexture] + /// Select active texture unit + /// + /// + /// + /// 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 = "ARB_multitexture", Version = "1.2", EntryPoint = "glClientActiveTextureARB")] + public static + void ClientActiveTexture(OpenTK.Graphics.OpenGL.TextureUnit texture) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glClientActiveTextureARB((OpenTK.Graphics.OpenGL.TextureUnit)texture); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_shader_objects] + /// Compiles a shader object + /// + /// + /// + /// Specifies the shader object to be compiled. + /// + /// + [AutoGenerated(Category = "ARB_shader_objects", Version = "1.2", EntryPoint = "glCompileShaderARB")] + public static + void CompileShader(Int32 shaderObj) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompileShaderARB((UInt32)shaderObj); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_shader_objects] + /// Compiles a shader object + /// + /// + /// + /// Specifies the shader object to be compiled. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_shader_objects", Version = "1.2", EntryPoint = "glCompileShaderARB")] + public static + void CompileShader(UInt32 shaderObj) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompileShaderARB((UInt32)shaderObj); + #if DEBUG + } + #endif + } + + /// [requires: ARB_shading_language_include] + [AutoGenerated(Category = "ARB_shading_language_include", Version = "1.2", EntryPoint = "glCompileShaderIncludeARB")] + public static + void CompileShaderInclude(Int32 shader, Int32 count, String[] path, Int32[] length) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = length) + { + Delegates.glCompileShaderIncludeARB((UInt32)shader, (Int32)count, (String[])path, (Int32*)length_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_shading_language_include] + [AutoGenerated(Category = "ARB_shading_language_include", Version = "1.2", EntryPoint = "glCompileShaderIncludeARB")] + public static + void CompileShaderInclude(Int32 shader, Int32 count, String[] path, ref Int32 length) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + { + Delegates.glCompileShaderIncludeARB((UInt32)shader, (Int32)count, (String[])path, (Int32*)length_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_shading_language_include] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_shading_language_include", Version = "1.2", EntryPoint = "glCompileShaderIncludeARB")] + public static + unsafe void CompileShaderInclude(Int32 shader, Int32 count, String[] path, Int32* length) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompileShaderIncludeARB((UInt32)shader, (Int32)count, (String[])path, (Int32*)length); + #if DEBUG + } + #endif + } + + /// [requires: ARB_shading_language_include] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_shading_language_include", Version = "1.2", EntryPoint = "glCompileShaderIncludeARB")] + public static + void CompileShaderInclude(UInt32 shader, Int32 count, String[] path, Int32[] length) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = length) + { + Delegates.glCompileShaderIncludeARB((UInt32)shader, (Int32)count, (String[])path, (Int32*)length_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_shading_language_include] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_shading_language_include", Version = "1.2", EntryPoint = "glCompileShaderIncludeARB")] + public static + void CompileShaderInclude(UInt32 shader, Int32 count, String[] path, ref Int32 length) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + { + Delegates.glCompileShaderIncludeARB((UInt32)shader, (Int32)count, (String[])path, (Int32*)length_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_shading_language_include] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_shading_language_include", Version = "1.2", EntryPoint = "glCompileShaderIncludeARB")] + public static + unsafe void CompileShaderInclude(UInt32 shader, Int32 count, String[] path, Int32* length) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompileShaderIncludeARB((UInt32)shader, (Int32)count, (String[])path, (Int32*)length); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_texture_compression] + /// Specify a one-dimensional texture image in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the width of the texture image. All implementations support texture images that are at least 64 texels wide. The height of the 1D texture image is 1. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// 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 = "ARB_texture_compression", Version = "1.2", EntryPoint = "glCompressedTexImage1DARB")] + public static + void CompressedTexImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedTexImage1DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_texture_compression] + /// Specify a one-dimensional texture image in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the width of the texture image. All implementations support texture images that are at least 64 texels wide. The height of the 1D texture image is 1. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// 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 = "ARB_texture_compression", Version = "1.2", EntryPoint = "glCompressedTexImage1DARB")] + public static + void CompressedTexImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T6[] data) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexImage1DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_texture_compression] + /// Specify a one-dimensional texture image in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the width of the texture image. All implementations support texture images that are at least 64 texels wide. The height of the 1D texture image is 1. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// 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 = "ARB_texture_compression", Version = "1.2", EntryPoint = "glCompressedTexImage1DARB")] + public static + void CompressedTexImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T6[,] data) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexImage1DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_texture_compression] + /// Specify a one-dimensional texture image in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the width of the texture image. All implementations support texture images that are at least 64 texels wide. The height of the 1D texture image is 1. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// 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 = "ARB_texture_compression", Version = "1.2", EntryPoint = "glCompressedTexImage1DARB")] + public static + void CompressedTexImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T6[,,] data) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexImage1DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_texture_compression] + /// Specify a one-dimensional texture image in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the width of the texture image. All implementations support texture images that are at least 64 texels wide. The height of the 1D texture image is 1. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// 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 = "ARB_texture_compression", Version = "1.2", EntryPoint = "glCompressedTexImage1DARB")] + public static + void CompressedTexImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T6 data) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexImage1DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + data = (T6)data_ptr.Target; + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_texture_compression] + /// 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_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, 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. 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. 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. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// 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 = "ARB_texture_compression", Version = "1.2", EntryPoint = "glCompressedTexImage2DARB")] + public static + void CompressedTexImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedTexImage2DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_texture_compression] + /// 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_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, 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. 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. 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. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// 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 = "ARB_texture_compression", Version = "1.2", EntryPoint = "glCompressedTexImage2DARB")] + public static + void CompressedTexImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[] data) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexImage2DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_texture_compression] + /// 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_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, 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. 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. 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. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// 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 = "ARB_texture_compression", Version = "1.2", EntryPoint = "glCompressedTexImage2DARB")] + public static + void CompressedTexImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,] data) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexImage2DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_texture_compression] + /// 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_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, 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. 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. 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. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// 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 = "ARB_texture_compression", Version = "1.2", EntryPoint = "glCompressedTexImage2DARB")] + public static + void CompressedTexImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,,] data) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexImage2DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_texture_compression] + /// 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_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, 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. 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. 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. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// 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 = "ARB_texture_compression", Version = "1.2", EntryPoint = "glCompressedTexImage2DARB")] + public static + void CompressedTexImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T7 data) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexImage2DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + data = (T7)data_ptr.Target; + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_texture_compression] + /// Specify a three-dimensional texture image in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D, GL_PROXY_TEXTURE_3D, GL_TEXTURE_2D_ARRAY or GL_PROXY_TEXTURE_2D_ARRAY. + /// + /// + /// + /// + /// 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. All implementations support 3D texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image. All implementations support 3D texture images that are at least 16 texels high. + /// + /// + /// + /// + /// Specifies the depth of the texture image. All implementations support 3D texture images that are at least 16 texels deep. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// 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 = "ARB_texture_compression", Version = "1.2", EntryPoint = "glCompressedTexImage3DARB")] + public static + void CompressedTexImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedTexImage3DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_texture_compression] + /// Specify a three-dimensional texture image in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D, GL_PROXY_TEXTURE_3D, GL_TEXTURE_2D_ARRAY or GL_PROXY_TEXTURE_2D_ARRAY. + /// + /// + /// + /// + /// 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. All implementations support 3D texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image. All implementations support 3D texture images that are at least 16 texels high. + /// + /// + /// + /// + /// Specifies the depth of the texture image. All implementations support 3D texture images that are at least 16 texels deep. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// 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 = "ARB_texture_compression", Version = "1.2", EntryPoint = "glCompressedTexImage3DARB")] + public static + void CompressedTexImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[] data) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexImage3DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_texture_compression] + /// Specify a three-dimensional texture image in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D, GL_PROXY_TEXTURE_3D, GL_TEXTURE_2D_ARRAY or GL_PROXY_TEXTURE_2D_ARRAY. + /// + /// + /// + /// + /// 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. All implementations support 3D texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image. All implementations support 3D texture images that are at least 16 texels high. + /// + /// + /// + /// + /// Specifies the depth of the texture image. All implementations support 3D texture images that are at least 16 texels deep. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// 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 = "ARB_texture_compression", Version = "1.2", EntryPoint = "glCompressedTexImage3DARB")] + public static + void CompressedTexImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[,] data) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexImage3DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_texture_compression] + /// Specify a three-dimensional texture image in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D, GL_PROXY_TEXTURE_3D, GL_TEXTURE_2D_ARRAY or GL_PROXY_TEXTURE_2D_ARRAY. + /// + /// + /// + /// + /// 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. All implementations support 3D texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image. All implementations support 3D texture images that are at least 16 texels high. + /// + /// + /// + /// + /// Specifies the depth of the texture image. All implementations support 3D texture images that are at least 16 texels deep. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// 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 = "ARB_texture_compression", Version = "1.2", EntryPoint = "glCompressedTexImage3DARB")] + public static + void CompressedTexImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[,,] data) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexImage3DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_texture_compression] + /// Specify a three-dimensional texture image in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D, GL_PROXY_TEXTURE_3D, GL_TEXTURE_2D_ARRAY or GL_PROXY_TEXTURE_2D_ARRAY. + /// + /// + /// + /// + /// 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. All implementations support 3D texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image. All implementations support 3D texture images that are at least 16 texels high. + /// + /// + /// + /// + /// Specifies the depth of the texture image. All implementations support 3D texture images that are at least 16 texels deep. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// 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 = "ARB_texture_compression", Version = "1.2", EntryPoint = "glCompressedTexImage3DARB")] + public static + void CompressedTexImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T8 data) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexImage3DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + data = (T8)data_ptr.Target; + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_texture_compression] + /// 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 = "ARB_texture_compression", Version = "1.2", EntryPoint = "glCompressedTexSubImage1DARB")] + public static + void CompressedTexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedTexSubImage1DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_texture_compression] + /// 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 = "ARB_texture_compression", Version = "1.2", EntryPoint = "glCompressedTexSubImage1DARB")] + public static + void CompressedTexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T6[] data) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexSubImage1DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_texture_compression] + /// 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 = "ARB_texture_compression", Version = "1.2", EntryPoint = "glCompressedTexSubImage1DARB")] + public static + void CompressedTexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T6[,] data) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexSubImage1DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_texture_compression] + /// 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 = "ARB_texture_compression", Version = "1.2", EntryPoint = "glCompressedTexSubImage1DARB")] + public static + void CompressedTexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T6[,,] data) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexSubImage1DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_texture_compression] + /// 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 = "ARB_texture_compression", Version = "1.2", EntryPoint = "glCompressedTexSubImage1DARB")] + public static + void CompressedTexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] ref T6 data) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexSubImage1DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + data = (T6)data_ptr.Target; + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_texture_compression] + /// 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 = "ARB_texture_compression", Version = "1.2", EntryPoint = "glCompressedTexSubImage2DARB")] + public static + void CompressedTexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedTexSubImage2DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_texture_compression] + /// 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 = "ARB_texture_compression", Version = "1.2", EntryPoint = "glCompressedTexSubImage2DARB")] + public static + void CompressedTexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T8[] data) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexSubImage2DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_texture_compression] + /// 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 = "ARB_texture_compression", Version = "1.2", EntryPoint = "glCompressedTexSubImage2DARB")] + public static + void CompressedTexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T8[,] data) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexSubImage2DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_texture_compression] + /// 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 = "ARB_texture_compression", Version = "1.2", EntryPoint = "glCompressedTexSubImage2DARB")] + public static + void CompressedTexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T8[,,] data) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexSubImage2DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_texture_compression] + /// 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 = "ARB_texture_compression", Version = "1.2", EntryPoint = "glCompressedTexSubImage2DARB")] + public static + void CompressedTexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] ref T8 data) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexSubImage2DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + data = (T8)data_ptr.Target; + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_texture_compression] + /// 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 = "ARB_texture_compression", Version = "1.2", EntryPoint = "glCompressedTexSubImage3DARB")] + public static + void CompressedTexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedTexSubImage3DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_texture_compression] + /// 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 = "ARB_texture_compression", Version = "1.2", EntryPoint = "glCompressedTexSubImage3DARB")] + public static + void CompressedTexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T10[] data) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexSubImage3DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_texture_compression] + /// 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 = "ARB_texture_compression", Version = "1.2", EntryPoint = "glCompressedTexSubImage3DARB")] + public static + void CompressedTexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T10[,] data) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexSubImage3DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_texture_compression] + /// 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 = "ARB_texture_compression", Version = "1.2", EntryPoint = "glCompressedTexSubImage3DARB")] + public static + void CompressedTexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T10[,,] data) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexSubImage3DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_texture_compression] + /// 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 = "ARB_texture_compression", Version = "1.2", EntryPoint = "glCompressedTexSubImage3DARB")] + public static + void CompressedTexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] ref T10 data) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexSubImage3DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + data = (T10)data_ptr.Target; + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_shader_objects] + [AutoGenerated(Category = "ARB_shader_objects", Version = "1.2", EntryPoint = "glCreateProgramObjectARB")] + public static + Int32 CreateProgramObject() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glCreateProgramObjectARB(); + #if DEBUG + } + #endif + } + + /// [requires: ARB_shader_objects] + [AutoGenerated(Category = "ARB_shader_objects", Version = "1.2", EntryPoint = "glCreateShaderObjectARB")] + public static + Int32 CreateShaderObject(OpenTK.Graphics.OpenGL.ArbShaderObjects shaderType) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glCreateShaderObjectARB((OpenTK.Graphics.OpenGL.ArbShaderObjects)shaderType); + #if DEBUG + } + #endif + } + + /// [requires: ARB_cl_event] + [AutoGenerated(Category = "ARB_cl_event", Version = "4.1", EntryPoint = "glCreateSyncFromCLeventARB")] + public static + IntPtr CreateSyncFromCLevent(IntPtr context, IntPtr @event, Int32 flags) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glCreateSyncFromCLeventARB((IntPtr)context, (IntPtr)@event, (UInt32)flags); + #if DEBUG + } + #endif + } + + /// [requires: ARB_cl_event] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_cl_event", Version = "4.1", EntryPoint = "glCreateSyncFromCLeventARB")] + public static + IntPtr CreateSyncFromCLevent(IntPtr context, IntPtr @event, UInt32 flags) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glCreateSyncFromCLeventARB((IntPtr)context, (IntPtr)@event, (UInt32)flags); + #if DEBUG + } + #endif + } + + /// [requires: ARB_matrix_palette] + [AutoGenerated(Category = "ARB_matrix_palette", Version = "1.1", EntryPoint = "glCurrentPaletteMatrixARB")] + public static + void CurrentPaletteMatrix(Int32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCurrentPaletteMatrixARB((Int32)index); + #if DEBUG + } + #endif + } + + /// [requires: ARB_debug_output] + [AutoGenerated(Category = "ARB_debug_output", Version = "4.1", EntryPoint = "glDebugMessageCallbackARB")] + public static + void DebugMessageCallback(DebugProcArb callback, IntPtr userParam) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDebugMessageCallbackARB((DebugProcArb)callback, (IntPtr)userParam); + #if DEBUG + } + #endif + } + + /// [requires: ARB_debug_output] + [AutoGenerated(Category = "ARB_debug_output", Version = "4.1", EntryPoint = "glDebugMessageCallbackARB")] + public static + void DebugMessageCallback(DebugProcArb callback, [InAttribute, OutAttribute] T1[] userParam) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle userParam_ptr = GCHandle.Alloc(userParam, GCHandleType.Pinned); + try + { + Delegates.glDebugMessageCallbackARB((DebugProcArb)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject()); + } + finally + { + userParam_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_debug_output] + [AutoGenerated(Category = "ARB_debug_output", Version = "4.1", EntryPoint = "glDebugMessageCallbackARB")] + public static + void DebugMessageCallback(DebugProcArb callback, [InAttribute, OutAttribute] T1[,] userParam) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle userParam_ptr = GCHandle.Alloc(userParam, GCHandleType.Pinned); + try + { + Delegates.glDebugMessageCallbackARB((DebugProcArb)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject()); + } + finally + { + userParam_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_debug_output] + [AutoGenerated(Category = "ARB_debug_output", Version = "4.1", EntryPoint = "glDebugMessageCallbackARB")] + public static + void DebugMessageCallback(DebugProcArb callback, [InAttribute, OutAttribute] T1[,,] userParam) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle userParam_ptr = GCHandle.Alloc(userParam, GCHandleType.Pinned); + try + { + Delegates.glDebugMessageCallbackARB((DebugProcArb)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject()); + } + finally + { + userParam_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_debug_output] + [AutoGenerated(Category = "ARB_debug_output", Version = "4.1", EntryPoint = "glDebugMessageCallbackARB")] + public static + void DebugMessageCallback(DebugProcArb callback, [InAttribute, OutAttribute] ref T1 userParam) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle userParam_ptr = GCHandle.Alloc(userParam, GCHandleType.Pinned); + try + { + Delegates.glDebugMessageCallbackARB((DebugProcArb)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject()); + userParam = (T1)userParam_ptr.Target; + } + finally + { + userParam_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_debug_output] + [AutoGenerated(Category = "ARB_debug_output", Version = "4.1", EntryPoint = "glDebugMessageControlARB")] + public static + void DebugMessageControl(OpenTK.Graphics.OpenGL.ArbDebugOutput source, OpenTK.Graphics.OpenGL.ArbDebugOutput type, OpenTK.Graphics.OpenGL.ArbDebugOutput severity, Int32 count, Int32[] ids, bool enabled) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* ids_ptr = ids) + { + Delegates.glDebugMessageControlARB((OpenTK.Graphics.OpenGL.ArbDebugOutput)source, (OpenTK.Graphics.OpenGL.ArbDebugOutput)type, (OpenTK.Graphics.OpenGL.ArbDebugOutput)severity, (Int32)count, (UInt32*)ids_ptr, (bool)enabled); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_debug_output] + [AutoGenerated(Category = "ARB_debug_output", Version = "4.1", EntryPoint = "glDebugMessageControlARB")] + public static + void DebugMessageControl(OpenTK.Graphics.OpenGL.ArbDebugOutput source, OpenTK.Graphics.OpenGL.ArbDebugOutput type, OpenTK.Graphics.OpenGL.ArbDebugOutput severity, Int32 count, ref Int32 ids, bool enabled) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* ids_ptr = &ids) + { + Delegates.glDebugMessageControlARB((OpenTK.Graphics.OpenGL.ArbDebugOutput)source, (OpenTK.Graphics.OpenGL.ArbDebugOutput)type, (OpenTK.Graphics.OpenGL.ArbDebugOutput)severity, (Int32)count, (UInt32*)ids_ptr, (bool)enabled); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_debug_output] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_debug_output", Version = "4.1", EntryPoint = "glDebugMessageControlARB")] + public static + unsafe void DebugMessageControl(OpenTK.Graphics.OpenGL.ArbDebugOutput source, OpenTK.Graphics.OpenGL.ArbDebugOutput type, OpenTK.Graphics.OpenGL.ArbDebugOutput severity, Int32 count, Int32* ids, bool enabled) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDebugMessageControlARB((OpenTK.Graphics.OpenGL.ArbDebugOutput)source, (OpenTK.Graphics.OpenGL.ArbDebugOutput)type, (OpenTK.Graphics.OpenGL.ArbDebugOutput)severity, (Int32)count, (UInt32*)ids, (bool)enabled); + #if DEBUG + } + #endif + } + + /// [requires: ARB_debug_output] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_debug_output", Version = "4.1", EntryPoint = "glDebugMessageControlARB")] + public static + void DebugMessageControl(OpenTK.Graphics.OpenGL.ArbDebugOutput source, OpenTK.Graphics.OpenGL.ArbDebugOutput type, OpenTK.Graphics.OpenGL.ArbDebugOutput severity, Int32 count, UInt32[] ids, bool enabled) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* ids_ptr = ids) + { + Delegates.glDebugMessageControlARB((OpenTK.Graphics.OpenGL.ArbDebugOutput)source, (OpenTK.Graphics.OpenGL.ArbDebugOutput)type, (OpenTK.Graphics.OpenGL.ArbDebugOutput)severity, (Int32)count, (UInt32*)ids_ptr, (bool)enabled); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_debug_output] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_debug_output", Version = "4.1", EntryPoint = "glDebugMessageControlARB")] + public static + void DebugMessageControl(OpenTK.Graphics.OpenGL.ArbDebugOutput source, OpenTK.Graphics.OpenGL.ArbDebugOutput type, OpenTK.Graphics.OpenGL.ArbDebugOutput severity, Int32 count, ref UInt32 ids, bool enabled) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* ids_ptr = &ids) + { + Delegates.glDebugMessageControlARB((OpenTK.Graphics.OpenGL.ArbDebugOutput)source, (OpenTK.Graphics.OpenGL.ArbDebugOutput)type, (OpenTK.Graphics.OpenGL.ArbDebugOutput)severity, (Int32)count, (UInt32*)ids_ptr, (bool)enabled); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_debug_output] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_debug_output", Version = "4.1", EntryPoint = "glDebugMessageControlARB")] + public static + unsafe void DebugMessageControl(OpenTK.Graphics.OpenGL.ArbDebugOutput source, OpenTK.Graphics.OpenGL.ArbDebugOutput type, OpenTK.Graphics.OpenGL.ArbDebugOutput severity, Int32 count, UInt32* ids, bool enabled) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDebugMessageControlARB((OpenTK.Graphics.OpenGL.ArbDebugOutput)source, (OpenTK.Graphics.OpenGL.ArbDebugOutput)type, (OpenTK.Graphics.OpenGL.ArbDebugOutput)severity, (Int32)count, (UInt32*)ids, (bool)enabled); + #if DEBUG + } + #endif + } + + /// [requires: ARB_debug_output] + [AutoGenerated(Category = "ARB_debug_output", Version = "4.1", EntryPoint = "glDebugMessageInsertARB")] + public static + void DebugMessageInsert(OpenTK.Graphics.OpenGL.ArbDebugOutput source, OpenTK.Graphics.OpenGL.ArbDebugOutput type, Int32 id, OpenTK.Graphics.OpenGL.ArbDebugOutput severity, Int32 length, String buf) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDebugMessageInsertARB((OpenTK.Graphics.OpenGL.ArbDebugOutput)source, (OpenTK.Graphics.OpenGL.ArbDebugOutput)type, (UInt32)id, (OpenTK.Graphics.OpenGL.ArbDebugOutput)severity, (Int32)length, (String)buf); + #if DEBUG + } + #endif + } + + /// [requires: ARB_debug_output] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_debug_output", Version = "4.1", EntryPoint = "glDebugMessageInsertARB")] + public static + void DebugMessageInsert(OpenTK.Graphics.OpenGL.ArbDebugOutput source, OpenTK.Graphics.OpenGL.ArbDebugOutput type, UInt32 id, OpenTK.Graphics.OpenGL.ArbDebugOutput severity, Int32 length, String buf) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDebugMessageInsertARB((OpenTK.Graphics.OpenGL.ArbDebugOutput)source, (OpenTK.Graphics.OpenGL.ArbDebugOutput)type, (UInt32)id, (OpenTK.Graphics.OpenGL.ArbDebugOutput)severity, (Int32)length, (String)buf); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_buffer_object] + /// Delete named buffer objects + /// + /// + /// + /// Specifies the number of buffer objects to be deleted. + /// + /// + /// + /// + /// Specifies an array of buffer objects to be deleted. + /// + /// + [AutoGenerated(Category = "ARB_vertex_buffer_object", 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 + } + + + /// [requires: ARB_vertex_buffer_object] + /// Delete named buffer objects + /// + /// + /// + /// Specifies the number of buffer objects to be deleted. + /// + /// + /// + /// + /// Specifies an array of buffer objects to be deleted. + /// + /// + [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "1.2", EntryPoint = "glDeleteBuffersARB")] + public static + void DeleteBuffers(Int32 n, ref 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 + } + + + /// [requires: ARB_vertex_buffer_object] + /// 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 = "ARB_vertex_buffer_object", 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 + } + + + /// [requires: ARB_vertex_buffer_object] + /// 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 = "ARB_vertex_buffer_object", 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 + } + + + /// [requires: ARB_vertex_buffer_object] + /// 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 = "ARB_vertex_buffer_object", Version = "1.2", EntryPoint = "glDeleteBuffersARB")] + public static + void DeleteBuffers(Int32 n, ref 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 + } + + + /// [requires: ARB_vertex_buffer_object] + /// 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 = "ARB_vertex_buffer_object", Version = "1.2", EntryPoint = "glDeleteBuffersARB")] + public static + unsafe void DeleteBuffers(Int32 n, UInt32* buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteBuffersARB((Int32)n, (UInt32*)buffers); + #if DEBUG + } + #endif + } + + /// [requires: ARB_shading_language_include] + [AutoGenerated(Category = "ARB_shading_language_include", Version = "1.2", EntryPoint = "glDeleteNamedStringARB")] + public static + void DeleteNamedString(Int32 namelen, String name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteNamedStringARB((Int32)namelen, (String)name); + #if DEBUG + } + #endif + } + + /// [requires: ARB_shader_objects] + [AutoGenerated(Category = "ARB_shader_objects", 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 + } + + /// [requires: ARB_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_shader_objects", Version = "1.2", EntryPoint = "glDeleteObjectARB")] + public static + void DeleteObject(UInt32 obj) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteObjectARB((UInt32)obj); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_program] + /// Deletes a program object + /// + /// + /// + /// Specifies the program object to be deleted. + /// + /// + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glDeleteProgramsARB")] + public static + void DeleteProgram(Int32 n, 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 + } + + + /// [requires: ARB_vertex_program] + /// Deletes a program object + /// + /// + /// + /// Specifies the program object to be deleted. + /// + /// + [AutoGenerated(Category = "ARB_vertex_program", 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 + } + + + /// [requires: ARB_vertex_program] + /// Deletes a program object + /// + /// + /// + /// Specifies the program object to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", 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 + } + + + /// [requires: ARB_vertex_program] + /// Deletes a program object + /// + /// + /// + /// Specifies the program object to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glDeleteProgramsARB")] + public static + void DeleteProgram(Int32 n, UInt32[] programs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* programs_ptr = programs) + { + Delegates.glDeleteProgramsARB((Int32)n, (UInt32*)programs_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_program] + /// Deletes a program object + /// + /// + /// + /// Specifies the program object to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glDeleteProgramsARB")] + public static + void DeleteProgram(Int32 n, ref UInt32 programs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* programs_ptr = &programs) + { + Delegates.glDeleteProgramsARB((Int32)n, (UInt32*)programs_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_program] + /// Deletes a program object + /// + /// + /// + /// Specifies the program object to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glDeleteProgramsARB")] + public static + unsafe void DeleteProgram(Int32 n, UInt32* programs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteProgramsARB((Int32)n, (UInt32*)programs); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_occlusion_query] + /// Delete named query objects + /// + /// + /// + /// Specifies the number of query objects to be deleted. + /// + /// + /// + /// + /// Specifies an array of query objects to be deleted. + /// + /// + [AutoGenerated(Category = "ARB_occlusion_query", Version = "1.5", EntryPoint = "glDeleteQueriesARB")] + public static + 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); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_occlusion_query] + /// Delete named query objects + /// + /// + /// + /// Specifies the number of query objects to be deleted. + /// + /// + /// + /// + /// Specifies an array of query objects to be deleted. + /// + /// + [AutoGenerated(Category = "ARB_occlusion_query", Version = "1.5", EntryPoint = "glDeleteQueriesARB")] + public static + void DeleteQueries(Int32 n, ref Int32 ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* ids_ptr = &ids) + { + Delegates.glDeleteQueriesARB((Int32)n, (UInt32*)ids_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_occlusion_query] + /// 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 = "ARB_occlusion_query", 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 + } + + + /// [requires: ARB_occlusion_query] + /// 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 = "ARB_occlusion_query", Version = "1.5", EntryPoint = "glDeleteQueriesARB")] + public static + void DeleteQueries(Int32 n, UInt32[] ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* ids_ptr = ids) + { + Delegates.glDeleteQueriesARB((Int32)n, (UInt32*)ids_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_occlusion_query] + /// 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 = "ARB_occlusion_query", Version = "1.5", EntryPoint = "glDeleteQueriesARB")] + public static + void DeleteQueries(Int32 n, ref UInt32 ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* ids_ptr = &ids) + { + Delegates.glDeleteQueriesARB((Int32)n, (UInt32*)ids_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_occlusion_query] + /// 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 = "ARB_occlusion_query", Version = "1.5", EntryPoint = "glDeleteQueriesARB")] + public static + unsafe void DeleteQueries(Int32 n, UInt32* ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteQueriesARB((Int32)n, (UInt32*)ids); + #if DEBUG + } + #endif + } + + /// [requires: ARB_shader_objects] + [AutoGenerated(Category = "ARB_shader_objects", Version = "1.2", EntryPoint = "glDetachObjectARB")] + public static + void DetachObject(Int32 containerObj, Int32 attachedObj) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDetachObjectARB((UInt32)containerObj, (UInt32)attachedObj); + #if DEBUG + } + #endif + } + + /// [requires: ARB_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_shader_objects", Version = "1.2", EntryPoint = "glDetachObjectARB")] + public static + void DetachObject(UInt32 containerObj, UInt32 attachedObj) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDetachObjectARB((UInt32)containerObj, (UInt32)attachedObj); + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glDisableVertexAttribArrayARB")] + public static + void DisableVertexAttribArray(Int32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDisableVertexAttribArrayARB((UInt32)index); + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glDisableVertexAttribArrayARB")] + public static + void DisableVertexAttribArray(UInt32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDisableVertexAttribArrayARB((UInt32)index); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_draw_instanced] + /// Draw multiple instances of a range of elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES GL_LINES_ADJACENCY, GL_LINE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY, GL_TRIANGLE_STRIP_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the starting index in the enabled arrays. + /// + /// + /// + /// + /// Specifies the number of indices to be rendered. + /// + /// + /// + /// + /// Specifies the number of instances of the specified range of indices to be rendered. + /// + /// + [AutoGenerated(Category = "ARB_draw_instanced", Version = "2.0", EntryPoint = "glDrawArraysInstancedARB")] + public static + void DrawArraysInstanced(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 first, Int32 count, Int32 primcount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawArraysInstancedARB((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)first, (Int32)count, (Int32)primcount); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_draw_buffers] + /// 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 = "ARB_draw_buffers", Version = "1.5", EntryPoint = "glDrawBuffersARB")] + public static + void DrawBuffers(Int32 n, OpenTK.Graphics.OpenGL.ArbDrawBuffers[] bufs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Graphics.OpenGL.ArbDrawBuffers* bufs_ptr = bufs) + { + Delegates.glDrawBuffersARB((Int32)n, (OpenTK.Graphics.OpenGL.ArbDrawBuffers*)bufs_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_draw_buffers] + /// 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 = "ARB_draw_buffers", Version = "1.5", EntryPoint = "glDrawBuffersARB")] + public static + void DrawBuffers(Int32 n, ref OpenTK.Graphics.OpenGL.ArbDrawBuffers bufs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Graphics.OpenGL.ArbDrawBuffers* bufs_ptr = &bufs) + { + Delegates.glDrawBuffersARB((Int32)n, (OpenTK.Graphics.OpenGL.ArbDrawBuffers*)bufs_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_draw_buffers] + /// 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 = "ARB_draw_buffers", Version = "1.5", EntryPoint = "glDrawBuffersARB")] + public static + unsafe void DrawBuffers(Int32 n, OpenTK.Graphics.OpenGL.ArbDrawBuffers* bufs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawBuffersARB((Int32)n, (OpenTK.Graphics.OpenGL.ArbDrawBuffers*)bufs); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_draw_instanced] + /// Draw multiple instances of a set of elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the number of instances of the specified range of indices to be rendered. + /// + /// + [AutoGenerated(Category = "ARB_draw_instanced", Version = "2.0", EntryPoint = "glDrawElementsInstancedARB")] + public static + void DrawElementsInstanced(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawElementsInstancedARB((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_draw_instanced] + /// Draw multiple instances of a set of elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the number of instances of the specified range of indices to be rendered. + /// + /// + [AutoGenerated(Category = "ARB_draw_instanced", Version = "2.0", EntryPoint = "glDrawElementsInstancedARB")] + public static + void DrawElementsInstanced(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawElementsInstancedARB((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_draw_instanced] + /// Draw multiple instances of a set of elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the number of instances of the specified range of indices to be rendered. + /// + /// + [AutoGenerated(Category = "ARB_draw_instanced", Version = "2.0", EntryPoint = "glDrawElementsInstancedARB")] + public static + void DrawElementsInstanced(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawElementsInstancedARB((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_draw_instanced] + /// Draw multiple instances of a set of elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the number of instances of the specified range of indices to be rendered. + /// + /// + [AutoGenerated(Category = "ARB_draw_instanced", Version = "2.0", EntryPoint = "glDrawElementsInstancedARB")] + public static + void DrawElementsInstanced(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawElementsInstancedARB((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_draw_instanced] + /// Draw multiple instances of a set of elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the number of instances of the specified range of indices to be rendered. + /// + /// + [AutoGenerated(Category = "ARB_draw_instanced", Version = "2.0", EntryPoint = "glDrawElementsInstancedARB")] + public static + void DrawElementsInstanced(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawElementsInstancedARB((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + indices = (T3)indices_ptr.Target; + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_program] + /// Enable or disable a generic vertex attribute array + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be enabled or disabled. + /// + /// + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glEnableVertexAttribArrayARB")] + public static + void EnableVertexAttribArray(Int32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEnableVertexAttribArrayARB((UInt32)index); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_program] + /// Enable or disable a generic vertex attribute array + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be enabled or disabled. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glEnableVertexAttribArrayARB")] + public static + void EnableVertexAttribArray(UInt32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEnableVertexAttribArrayARB((UInt32)index); + #if DEBUG + } + #endif + } + + /// [requires: ARB_occlusion_query] + [AutoGenerated(Category = "ARB_occlusion_query", Version = "1.5", EntryPoint = "glEndQueryARB")] + public static + void EndQuery(OpenTK.Graphics.OpenGL.ArbOcclusionQuery target) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEndQueryARB((OpenTK.Graphics.OpenGL.ArbOcclusionQuery)target); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_geometry_shader4] + /// Attach a level of a texture object as a logical buffer to the currently bound framebuffer object + /// + /// + /// + /// Specifies the framebuffer target. target must be GL_DRAW_FRAMEBUFFER, GL_READ_FRAMEBUFFER, or GL_FRAMEBUFFER. GL_FRAMEBUFFER is equivalent to GL_DRAW_FRAMEBUFFER. + /// + /// + /// + /// + /// Specifies the attachment point of the framebuffer. attachment must be GL_COLOR_ATTACHMENTi, GL_DEPTH_ATTACHMENT, GL_STENCIL_ATTACHMENT or GL_DEPTH_STENCIL_ATTACHMMENT. + /// + /// + /// + /// + /// Specifies the texture object to attach to the framebuffer attachment point named by attachment. + /// + /// + /// + /// + /// Specifies the mipmap level of texture to attach. + /// + /// + [AutoGenerated(Category = "ARB_geometry_shader4", Version = "3.0", EntryPoint = "glFramebufferTextureARB")] + public static + void FramebufferTexture(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, Int32 texture, Int32 level) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferTextureARB((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_geometry_shader4] + /// Attach a level of a texture object as a logical buffer to the currently bound framebuffer object + /// + /// + /// + /// Specifies the framebuffer target. target must be GL_DRAW_FRAMEBUFFER, GL_READ_FRAMEBUFFER, or GL_FRAMEBUFFER. GL_FRAMEBUFFER is equivalent to GL_DRAW_FRAMEBUFFER. + /// + /// + /// + /// + /// Specifies the attachment point of the framebuffer. attachment must be GL_COLOR_ATTACHMENTi, GL_DEPTH_ATTACHMENT, GL_STENCIL_ATTACHMENT or GL_DEPTH_STENCIL_ATTACHMMENT. + /// + /// + /// + /// + /// Specifies the texture object to attach to the framebuffer attachment point named by attachment. + /// + /// + /// + /// + /// Specifies the mipmap level of texture to attach. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_geometry_shader4", Version = "3.0", EntryPoint = "glFramebufferTextureARB")] + public static + void FramebufferTexture(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferTextureARB((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_geometry_shader4] + /// Attach a face of a cube map texture as a logical buffer to the currently bound framebuffer + /// + /// + /// + /// Specifies the framebuffer target. target must be GL_DRAW_FRAMEBUFFER, GL_READ_FRAMEBUFFER, or GL_FRAMEBUFFER. GL_FRAMEBUFFER is equivalent to GL_DRAW_FRAMEBUFFER. + /// + /// + /// + /// + /// Specifies the attachment point of the framebuffer. attachment must be GL_COLOR_ATTACHMENTi, GL_DEPTH_ATTACHMENT, GL_STENCIL_ATTACHMENT or GL_DEPTH_STENCIL_ATTACHMMENT. + /// + /// + /// + /// + /// Specifies the texture object to attach to the framebuffer attachment point named by attachment. texture must be the name of an existing cube-map texture. + /// + /// + /// + /// + /// Specifies the mipmap level of texture to attach. + /// + /// + /// + /// + /// Specifies the face of texture to attach. + /// + /// + [AutoGenerated(Category = "ARB_geometry_shader4", Version = "3.0", EntryPoint = "glFramebufferTextureFaceARB")] + public static + void FramebufferTextureFace(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, Int32 texture, Int32 level, OpenTK.Graphics.OpenGL.TextureTarget face) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferTextureFaceARB((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (OpenTK.Graphics.OpenGL.TextureTarget)face); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_geometry_shader4] + /// Attach a face of a cube map texture as a logical buffer to the currently bound framebuffer + /// + /// + /// + /// Specifies the framebuffer target. target must be GL_DRAW_FRAMEBUFFER, GL_READ_FRAMEBUFFER, or GL_FRAMEBUFFER. GL_FRAMEBUFFER is equivalent to GL_DRAW_FRAMEBUFFER. + /// + /// + /// + /// + /// Specifies the attachment point of the framebuffer. attachment must be GL_COLOR_ATTACHMENTi, GL_DEPTH_ATTACHMENT, GL_STENCIL_ATTACHMENT or GL_DEPTH_STENCIL_ATTACHMMENT. + /// + /// + /// + /// + /// Specifies the texture object to attach to the framebuffer attachment point named by attachment. texture must be the name of an existing cube-map texture. + /// + /// + /// + /// + /// Specifies the mipmap level of texture to attach. + /// + /// + /// + /// + /// Specifies the face of texture to attach. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_geometry_shader4", Version = "3.0", EntryPoint = "glFramebufferTextureFaceARB")] + public static + void FramebufferTextureFace(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level, OpenTK.Graphics.OpenGL.TextureTarget face) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferTextureFaceARB((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (OpenTK.Graphics.OpenGL.TextureTarget)face); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_geometry_shader4] + /// Attach a single layer of a texture to a framebuffer + /// + /// + /// + /// Specifies the framebuffer target. target must be GL_DRAW_FRAMEBUFFER, GL_READ_FRAMEBUFFER, or GL_FRAMEBUFFER. GL_FRAMEBUFFER is equivalent to GL_DRAW_FRAMEBUFFER. + /// + /// + /// + /// + /// Specifies the attachment point of the framebuffer. attachment must be GL_COLOR_ATTACHMENTi, GL_DEPTH_ATTACHMENT, GL_STENCIL_ATTACHMENT or GL_DEPTH_STENCIL_ATTACHMMENT. + /// + /// + /// + /// + /// Specifies the texture object to attach to the framebuffer attachment point named by attachment. + /// + /// + /// + /// + /// Specifies the mipmap level of texture to attach. + /// + /// + /// + /// + /// Specifies the layer of texture to attach. + /// + /// + [AutoGenerated(Category = "ARB_geometry_shader4", Version = "3.0", EntryPoint = "glFramebufferTextureLayerARB")] + public static + void FramebufferTextureLayer(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, Int32 texture, Int32 level, Int32 layer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferTextureLayerARB((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_geometry_shader4] + /// Attach a single layer of a texture to a framebuffer + /// + /// + /// + /// Specifies the framebuffer target. target must be GL_DRAW_FRAMEBUFFER, GL_READ_FRAMEBUFFER, or GL_FRAMEBUFFER. GL_FRAMEBUFFER is equivalent to GL_DRAW_FRAMEBUFFER. + /// + /// + /// + /// + /// Specifies the attachment point of the framebuffer. attachment must be GL_COLOR_ATTACHMENTi, GL_DEPTH_ATTACHMENT, GL_STENCIL_ATTACHMENT or GL_DEPTH_STENCIL_ATTACHMMENT. + /// + /// + /// + /// + /// Specifies the texture object to attach to the framebuffer attachment point named by attachment. + /// + /// + /// + /// + /// Specifies the mipmap level of texture to attach. + /// + /// + /// + /// + /// Specifies the layer of texture to attach. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_geometry_shader4", Version = "3.0", EntryPoint = "glFramebufferTextureLayerARB")] + public static + void FramebufferTextureLayer(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferTextureLayerARB((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_buffer_object] + /// 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 = "ARB_vertex_buffer_object", Version = "1.2", EntryPoint = "glGenBuffersARB")] + public static + void GenBuffers(Int32 n, [OutAttribute] 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 + } + + + /// [requires: ARB_vertex_buffer_object] + /// 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 = "ARB_vertex_buffer_object", Version = "1.2", EntryPoint = "glGenBuffersARB")] + public static + void GenBuffers(Int32 n, [OutAttribute] 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 + } + + + /// [requires: ARB_vertex_buffer_object] + /// 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 = "ARB_vertex_buffer_object", Version = "1.2", EntryPoint = "glGenBuffersARB")] + public static + unsafe void GenBuffers(Int32 n, [OutAttribute] Int32* buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenBuffersARB((Int32)n, (UInt32*)buffers); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_buffer_object] + /// 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 = "ARB_vertex_buffer_object", Version = "1.2", EntryPoint = "glGenBuffersARB")] + public static + void GenBuffers(Int32 n, [OutAttribute] 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 + } + + + /// [requires: ARB_vertex_buffer_object] + /// 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 = "ARB_vertex_buffer_object", Version = "1.2", EntryPoint = "glGenBuffersARB")] + public static + void GenBuffers(Int32 n, [OutAttribute] out UInt32 buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* buffers_ptr = &buffers) + { + Delegates.glGenBuffersARB((Int32)n, (UInt32*)buffers_ptr); + buffers = *buffers_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_buffer_object] + /// 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 = "ARB_vertex_buffer_object", Version = "1.2", EntryPoint = "glGenBuffersARB")] + public static + unsafe void GenBuffers(Int32 n, [OutAttribute] UInt32* buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenBuffersARB((Int32)n, (UInt32*)buffers); + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glGenProgramsARB")] + public static + void GenProgram(Int32 n, [OutAttribute] 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 + } + #endif + } + + /// [requires: ARB_vertex_program] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glGenProgramsARB")] + public static + void GenProgram(Int32 n, [OutAttribute] out Int32 programs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* programs_ptr = &programs) + { + Delegates.glGenProgramsARB((Int32)n, (UInt32*)programs_ptr); + programs = *programs_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glGenProgramsARB")] + public static + unsafe void GenProgram(Int32 n, [OutAttribute] Int32* programs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenProgramsARB((Int32)n, (UInt32*)programs); + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glGenProgramsARB")] + public static + void GenProgram(Int32 n, [OutAttribute] UInt32[] programs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* programs_ptr = programs) + { + Delegates.glGenProgramsARB((Int32)n, (UInt32*)programs_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glGenProgramsARB")] + public static + void GenProgram(Int32 n, [OutAttribute] out UInt32 programs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* programs_ptr = &programs) + { + Delegates.glGenProgramsARB((Int32)n, (UInt32*)programs_ptr); + programs = *programs_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glGenProgramsARB")] + public static + unsafe void GenProgram(Int32 n, [OutAttribute] UInt32* programs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenProgramsARB((Int32)n, (UInt32*)programs); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_occlusion_query] + /// 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 = "ARB_occlusion_query", Version = "1.5", EntryPoint = "glGenQueriesARB")] + public static + void GenQueries(Int32 n, [OutAttribute] 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 + } + + + /// [requires: ARB_occlusion_query] + /// 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 = "ARB_occlusion_query", Version = "1.5", EntryPoint = "glGenQueriesARB")] + public static + void GenQueries(Int32 n, [OutAttribute] 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 + } + + + /// [requires: ARB_occlusion_query] + /// 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 = "ARB_occlusion_query", Version = "1.5", EntryPoint = "glGenQueriesARB")] + public static + unsafe void GenQueries(Int32 n, [OutAttribute] Int32* ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenQueriesARB((Int32)n, (UInt32*)ids); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_occlusion_query] + /// 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 = "ARB_occlusion_query", Version = "1.5", EntryPoint = "glGenQueriesARB")] + public static + void GenQueries(Int32 n, [OutAttribute] 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 + } + + + /// [requires: ARB_occlusion_query] + /// 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 = "ARB_occlusion_query", Version = "1.5", EntryPoint = "glGenQueriesARB")] + public static + void GenQueries(Int32 n, [OutAttribute] out UInt32 ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* ids_ptr = &ids) + { + Delegates.glGenQueriesARB((Int32)n, (UInt32*)ids_ptr); + ids = *ids_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_occlusion_query] + /// 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 = "ARB_occlusion_query", Version = "1.5", EntryPoint = "glGenQueriesARB")] + public static + unsafe void GenQueries(Int32 n, [OutAttribute] UInt32* ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenQueriesARB((Int32)n, (UInt32*)ids); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_shader] + /// 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 = "ARB_vertex_shader", Version = "1.2", EntryPoint = "glGetActiveAttribARB")] + public static + void GetActiveAttrib(Int32 programObj, Int32 index, Int32 maxLength, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.OpenGL.ArbVertexShader type, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + fixed (Int32* size_ptr = &size) + fixed (OpenTK.Graphics.OpenGL.ArbVertexShader* type_ptr = &type) + { + Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.OpenGL.ArbVertexShader*)type_ptr, (StringBuilder)name); + length = *length_ptr; + size = *size_ptr; + type = *type_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_shader] + /// 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 = "ARB_vertex_shader", Version = "1.2", EntryPoint = "glGetActiveAttribARB")] + public static + unsafe void GetActiveAttrib(Int32 programObj, Int32 index, Int32 maxLength, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.ArbVertexShader* type, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size, (OpenTK.Graphics.OpenGL.ArbVertexShader*)type, (StringBuilder)name); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_shader] + /// 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 = "ARB_vertex_shader", Version = "1.2", EntryPoint = "glGetActiveAttribARB")] + public static + void GetActiveAttrib(UInt32 programObj, UInt32 index, Int32 maxLength, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.OpenGL.ArbVertexShader type, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + fixed (Int32* size_ptr = &size) + fixed (OpenTK.Graphics.OpenGL.ArbVertexShader* type_ptr = &type) + { + Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.OpenGL.ArbVertexShader*)type_ptr, (StringBuilder)name); + length = *length_ptr; + size = *size_ptr; + type = *type_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_shader] + /// 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 = "ARB_vertex_shader", Version = "1.2", EntryPoint = "glGetActiveAttribARB")] + public static + unsafe void GetActiveAttrib(UInt32 programObj, UInt32 index, Int32 maxLength, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.ArbVertexShader* type, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size, (OpenTK.Graphics.OpenGL.ArbVertexShader*)type, (StringBuilder)name); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_shader_objects] + /// 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 = "ARB_shader_objects", Version = "1.2", EntryPoint = "glGetActiveUniformARB")] + public static + void GetActiveUniform(Int32 programObj, Int32 index, Int32 maxLength, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.OpenGL.ArbShaderObjects type, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + fixed (Int32* size_ptr = &size) + fixed (OpenTK.Graphics.OpenGL.ArbShaderObjects* type_ptr = &type) + { + Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.OpenGL.ArbShaderObjects*)type_ptr, (StringBuilder)name); + length = *length_ptr; + size = *size_ptr; + type = *type_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_shader_objects] + /// 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 = "ARB_shader_objects", Version = "1.2", EntryPoint = "glGetActiveUniformARB")] + public static + unsafe void GetActiveUniform(Int32 programObj, Int32 index, Int32 maxLength, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.ArbShaderObjects* type, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size, (OpenTK.Graphics.OpenGL.ArbShaderObjects*)type, (StringBuilder)name); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_shader_objects] + /// 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 = "ARB_shader_objects", Version = "1.2", EntryPoint = "glGetActiveUniformARB")] + public static + void GetActiveUniform(UInt32 programObj, UInt32 index, Int32 maxLength, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.OpenGL.ArbShaderObjects type, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + fixed (Int32* size_ptr = &size) + fixed (OpenTK.Graphics.OpenGL.ArbShaderObjects* type_ptr = &type) + { + Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.OpenGL.ArbShaderObjects*)type_ptr, (StringBuilder)name); + length = *length_ptr; + size = *size_ptr; + type = *type_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_shader_objects] + /// 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 = "ARB_shader_objects", Version = "1.2", EntryPoint = "glGetActiveUniformARB")] + public static + unsafe void GetActiveUniform(UInt32 programObj, UInt32 index, Int32 maxLength, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.ArbShaderObjects* type, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size, (OpenTK.Graphics.OpenGL.ArbShaderObjects*)type, (StringBuilder)name); + #if DEBUG + } + #endif + } + + /// [requires: ARB_shader_objects] + [AutoGenerated(Category = "ARB_shader_objects", Version = "1.2", EntryPoint = "glGetAttachedObjectsARB")] + public static + void GetAttachedObjects(Int32 containerObj, Int32 maxCount, [OutAttribute] out Int32 count, [OutAttribute] out Int32 obj) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = &count) + fixed (Int32* obj_ptr = &obj) + { + Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)obj_ptr); + count = *count_ptr; + obj = *obj_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_shader_objects", Version = "1.2", EntryPoint = "glGetAttachedObjectsARB")] + public static + unsafe void GetAttachedObjects(Int32 containerObj, Int32 maxCount, [OutAttribute] Int32* count, [OutAttribute] Int32[] obj) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (Int32* obj_ptr = obj) + { + Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count, (UInt32*)obj_ptr); + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_shader_objects", Version = "1.2", EntryPoint = "glGetAttachedObjectsARB")] + public static + unsafe void GetAttachedObjects(Int32 containerObj, Int32 maxCount, [OutAttribute] Int32* count, [OutAttribute] Int32* obj) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count, (UInt32*)obj); + #if DEBUG + } + #endif + } + + /// [requires: ARB_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_shader_objects", Version = "1.2", EntryPoint = "glGetAttachedObjectsARB")] + public static + void GetAttachedObjects(UInt32 containerObj, Int32 maxCount, [OutAttribute] out Int32 count, [OutAttribute] out UInt32 obj) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = &count) + fixed (UInt32* obj_ptr = &obj) + { + Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)obj_ptr); + count = *count_ptr; + obj = *obj_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_shader_objects", Version = "1.2", EntryPoint = "glGetAttachedObjectsARB")] + public static + unsafe void GetAttachedObjects(UInt32 containerObj, Int32 maxCount, [OutAttribute] Int32* count, [OutAttribute] 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); + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_shader_objects", Version = "1.2", EntryPoint = "glGetAttachedObjectsARB")] + public static + unsafe void GetAttachedObjects(UInt32 containerObj, Int32 maxCount, [OutAttribute] Int32* count, [OutAttribute] UInt32* obj) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count, (UInt32*)obj); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_shader] + /// Returns the location of an attribute variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Points to a null terminated string containing the name of the attribute variable whose location is to be queried. + /// + /// + [AutoGenerated(Category = "ARB_vertex_shader", Version = "1.2", EntryPoint = "glGetAttribLocationARB")] + public static + Int32 GetAttribLocation(Int32 programObj, String name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glGetAttribLocationARB((UInt32)programObj, (String)name); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_shader] + /// Returns the location of an attribute variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Points to a null terminated string containing the name of the attribute variable whose location is to be queried. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_shader", Version = "1.2", EntryPoint = "glGetAttribLocationARB")] + public static + Int32 GetAttribLocation(UInt32 programObj, String name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glGetAttribLocationARB((UInt32)programObj, (String)name); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_buffer_object] + /// Return parameters of a buffer object + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER. + /// + /// + /// + /// + /// Specifies the symbolic name of a buffer object parameter. Accepted values are GL_BUFFER_ACCESS, GL_BUFFER_MAPPED, GL_BUFFER_SIZE, or GL_BUFFER_USAGE. + /// + /// + /// + /// + /// Returns the requested parameter. + /// + /// + [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "1.2", EntryPoint = "glGetBufferParameterivARB")] + public static + void GetBufferParameter(OpenTK.Graphics.OpenGL.ArbVertexBufferObject target, OpenTK.Graphics.OpenGL.BufferParameterNameArb pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetBufferParameterivARB((OpenTK.Graphics.OpenGL.ArbVertexBufferObject)target, (OpenTK.Graphics.OpenGL.BufferParameterNameArb)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_buffer_object] + /// Return parameters of a buffer object + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER. + /// + /// + /// + /// + /// Specifies the symbolic name of a buffer object parameter. Accepted values are GL_BUFFER_ACCESS, GL_BUFFER_MAPPED, GL_BUFFER_SIZE, or GL_BUFFER_USAGE. + /// + /// + /// + /// + /// Returns the requested parameter. + /// + /// + [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "1.2", EntryPoint = "glGetBufferParameterivARB")] + public static + void GetBufferParameter(OpenTK.Graphics.OpenGL.ArbVertexBufferObject target, OpenTK.Graphics.OpenGL.BufferParameterNameArb pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetBufferParameterivARB((OpenTK.Graphics.OpenGL.ArbVertexBufferObject)target, (OpenTK.Graphics.OpenGL.BufferParameterNameArb)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_buffer_object] + /// Return parameters of a buffer object + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER. + /// + /// + /// + /// + /// Specifies the symbolic name of a buffer object parameter. Accepted values are GL_BUFFER_ACCESS, GL_BUFFER_MAPPED, GL_BUFFER_SIZE, or GL_BUFFER_USAGE. + /// + /// + /// + /// + /// Returns the requested parameter. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "1.2", EntryPoint = "glGetBufferParameterivARB")] + public static + unsafe void GetBufferParameter(OpenTK.Graphics.OpenGL.ArbVertexBufferObject target, OpenTK.Graphics.OpenGL.BufferParameterNameArb pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetBufferParameterivARB((OpenTK.Graphics.OpenGL.ArbVertexBufferObject)target, (OpenTK.Graphics.OpenGL.BufferParameterNameArb)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_buffer_object] + [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "1.2", EntryPoint = "glGetBufferPointervARB")] + public static + void GetBufferPointer(OpenTK.Graphics.OpenGL.ArbVertexBufferObject target, OpenTK.Graphics.OpenGL.BufferPointerNameArb pname, [OutAttribute] IntPtr @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetBufferPointervARB((OpenTK.Graphics.OpenGL.ArbVertexBufferObject)target, (OpenTK.Graphics.OpenGL.BufferPointerNameArb)pname, (IntPtr)@params); + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_buffer_object] + [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "1.2", EntryPoint = "glGetBufferPointervARB")] + public static + void GetBufferPointer(OpenTK.Graphics.OpenGL.ArbVertexBufferObject target, OpenTK.Graphics.OpenGL.BufferPointerNameArb pname, [InAttribute, OutAttribute] T2[] @params) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetBufferPointervARB((OpenTK.Graphics.OpenGL.ArbVertexBufferObject)target, (OpenTK.Graphics.OpenGL.BufferPointerNameArb)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_buffer_object] + [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "1.2", EntryPoint = "glGetBufferPointervARB")] + public static + void GetBufferPointer(OpenTK.Graphics.OpenGL.ArbVertexBufferObject target, OpenTK.Graphics.OpenGL.BufferPointerNameArb pname, [InAttribute, OutAttribute] T2[,] @params) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetBufferPointervARB((OpenTK.Graphics.OpenGL.ArbVertexBufferObject)target, (OpenTK.Graphics.OpenGL.BufferPointerNameArb)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_buffer_object] + [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "1.2", EntryPoint = "glGetBufferPointervARB")] + public static + void GetBufferPointer(OpenTK.Graphics.OpenGL.ArbVertexBufferObject target, OpenTK.Graphics.OpenGL.BufferPointerNameArb pname, [InAttribute, OutAttribute] T2[,,] @params) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetBufferPointervARB((OpenTK.Graphics.OpenGL.ArbVertexBufferObject)target, (OpenTK.Graphics.OpenGL.BufferPointerNameArb)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_buffer_object] + [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "1.2", EntryPoint = "glGetBufferPointervARB")] + public static + void GetBufferPointer(OpenTK.Graphics.OpenGL.ArbVertexBufferObject target, OpenTK.Graphics.OpenGL.BufferPointerNameArb pname, [InAttribute, OutAttribute] ref T2 @params) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetBufferPointervARB((OpenTK.Graphics.OpenGL.ArbVertexBufferObject)target, (OpenTK.Graphics.OpenGL.BufferPointerNameArb)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + @params = (T2)@params_ptr.Target; + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_buffer_object] + /// Returns a subset of a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_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 = "ARB_vertex_buffer_object", Version = "1.2", EntryPoint = "glGetBufferSubDataARB")] + public static + void GetBufferSubData(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr offset, IntPtr size, [OutAttribute] IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetBufferSubDataARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_buffer_object] + /// Returns a subset of a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_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 = "ARB_vertex_buffer_object", Version = "1.2", EntryPoint = "glGetBufferSubDataARB")] + public static + void GetBufferSubData(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetBufferSubDataARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_buffer_object] + /// Returns a subset of a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_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 = "ARB_vertex_buffer_object", Version = "1.2", EntryPoint = "glGetBufferSubDataARB")] + public static + void GetBufferSubData(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetBufferSubDataARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_buffer_object] + /// Returns a subset of a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_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 = "ARB_vertex_buffer_object", Version = "1.2", EntryPoint = "glGetBufferSubDataARB")] + public static + void GetBufferSubData(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,,] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetBufferSubDataARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_buffer_object] + /// Returns a subset of a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_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 = "ARB_vertex_buffer_object", Version = "1.2", EntryPoint = "glGetBufferSubDataARB")] + public static + void GetBufferSubData(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] ref T3 data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetBufferSubDataARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + data = (T3)data_ptr.Target; + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_texture_compression] + /// Return a compressed texture image + /// + /// + /// + /// Specifies which texture is to be obtained. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, and GL_TEXTURE_CUBE_MAP_NEGATIVE_Z are accepted. + /// + /// + /// + /// + /// Specifies the level-of-detail number of the desired image. Level 0 is the base image level. Level is the th mipmap reduction image. + /// + /// + /// + /// + /// Returns the compressed texture image. + /// + /// + [AutoGenerated(Category = "ARB_texture_compression", Version = "1.2", EntryPoint = "glGetCompressedTexImageARB")] + public static + void GetCompressedTexImage(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, [OutAttribute] IntPtr img) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetCompressedTexImageARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (IntPtr)img); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_texture_compression] + /// Return a compressed texture image + /// + /// + /// + /// Specifies which texture is to be obtained. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, and GL_TEXTURE_CUBE_MAP_NEGATIVE_Z are accepted. + /// + /// + /// + /// + /// Specifies the level-of-detail number of the desired image. Level 0 is the base image level. Level is the th mipmap reduction image. + /// + /// + /// + /// + /// Returns the compressed texture image. + /// + /// + [AutoGenerated(Category = "ARB_texture_compression", Version = "1.2", EntryPoint = "glGetCompressedTexImageARB")] + public static + void GetCompressedTexImage(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, [InAttribute, OutAttribute] T2[] img) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); + try + { + Delegates.glGetCompressedTexImageARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (IntPtr)img_ptr.AddrOfPinnedObject()); + } + finally + { + img_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_texture_compression] + /// Return a compressed texture image + /// + /// + /// + /// Specifies which texture is to be obtained. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, and GL_TEXTURE_CUBE_MAP_NEGATIVE_Z are accepted. + /// + /// + /// + /// + /// Specifies the level-of-detail number of the desired image. Level 0 is the base image level. Level is the th mipmap reduction image. + /// + /// + /// + /// + /// Returns the compressed texture image. + /// + /// + [AutoGenerated(Category = "ARB_texture_compression", Version = "1.2", EntryPoint = "glGetCompressedTexImageARB")] + public static + void GetCompressedTexImage(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, [InAttribute, OutAttribute] T2[,] img) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); + try + { + Delegates.glGetCompressedTexImageARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (IntPtr)img_ptr.AddrOfPinnedObject()); + } + finally + { + img_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_texture_compression] + /// Return a compressed texture image + /// + /// + /// + /// Specifies which texture is to be obtained. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, and GL_TEXTURE_CUBE_MAP_NEGATIVE_Z are accepted. + /// + /// + /// + /// + /// Specifies the level-of-detail number of the desired image. Level 0 is the base image level. Level is the th mipmap reduction image. + /// + /// + /// + /// + /// Returns the compressed texture image. + /// + /// + [AutoGenerated(Category = "ARB_texture_compression", Version = "1.2", EntryPoint = "glGetCompressedTexImageARB")] + public static + void GetCompressedTexImage(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, [InAttribute, OutAttribute] T2[,,] img) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); + try + { + Delegates.glGetCompressedTexImageARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (IntPtr)img_ptr.AddrOfPinnedObject()); + } + finally + { + img_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_texture_compression] + /// Return a compressed texture image + /// + /// + /// + /// Specifies which texture is to be obtained. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, and GL_TEXTURE_CUBE_MAP_NEGATIVE_Z are accepted. + /// + /// + /// + /// + /// Specifies the level-of-detail number of the desired image. Level 0 is the base image level. Level is the th mipmap reduction image. + /// + /// + /// + /// + /// Returns the compressed texture image. + /// + /// + [AutoGenerated(Category = "ARB_texture_compression", Version = "1.2", EntryPoint = "glGetCompressedTexImageARB")] + public static + void GetCompressedTexImage(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, [InAttribute, OutAttribute] ref T2 img) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); + try + { + Delegates.glGetCompressedTexImageARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (IntPtr)img_ptr.AddrOfPinnedObject()); + img = (T2)img_ptr.Target; + } + finally + { + img_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_debug_output] + [AutoGenerated(Category = "ARB_debug_output", Version = "4.1", EntryPoint = "glGetDebugMessageLogARB")] + public static + Int32 GetDebugMessageLog(Int32 count, Int32 bufsize, [OutAttribute] OpenTK.Graphics.OpenGL.ArbDebugOutput[] sources, [OutAttribute] OpenTK.Graphics.OpenGL.ArbDebugOutput[] types, [OutAttribute] Int32[] ids, [OutAttribute] OpenTK.Graphics.OpenGL.ArbDebugOutput[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Graphics.OpenGL.ArbDebugOutput* sources_ptr = sources) + fixed (OpenTK.Graphics.OpenGL.ArbDebugOutput* types_ptr = types) + fixed (Int32* ids_ptr = ids) + fixed (OpenTK.Graphics.OpenGL.ArbDebugOutput* severities_ptr = severities) + fixed (Int32* lengths_ptr = lengths) + { + return Delegates.glGetDebugMessageLogARB((UInt32)count, (Int32)bufsize, (OpenTK.Graphics.OpenGL.ArbDebugOutput*)sources_ptr, (OpenTK.Graphics.OpenGL.ArbDebugOutput*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.OpenGL.ArbDebugOutput*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_debug_output] + [AutoGenerated(Category = "ARB_debug_output", Version = "4.1", EntryPoint = "glGetDebugMessageLogARB")] + public static + Int32 GetDebugMessageLog(Int32 count, Int32 bufsize, [OutAttribute] out OpenTK.Graphics.OpenGL.ArbDebugOutput sources, [OutAttribute] out OpenTK.Graphics.OpenGL.ArbDebugOutput types, [OutAttribute] out Int32 ids, [OutAttribute] out OpenTK.Graphics.OpenGL.ArbDebugOutput severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Graphics.OpenGL.ArbDebugOutput* sources_ptr = &sources) + fixed (OpenTK.Graphics.OpenGL.ArbDebugOutput* types_ptr = &types) + fixed (Int32* ids_ptr = &ids) + fixed (OpenTK.Graphics.OpenGL.ArbDebugOutput* severities_ptr = &severities) + fixed (Int32* lengths_ptr = &lengths) + { + Int32 retval = Delegates.glGetDebugMessageLogARB((UInt32)count, (Int32)bufsize, (OpenTK.Graphics.OpenGL.ArbDebugOutput*)sources_ptr, (OpenTK.Graphics.OpenGL.ArbDebugOutput*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.OpenGL.ArbDebugOutput*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog); + sources = *sources_ptr; + types = *types_ptr; + ids = *ids_ptr; + severities = *severities_ptr; + lengths = *lengths_ptr; + return retval; + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_debug_output] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_debug_output", Version = "4.1", EntryPoint = "glGetDebugMessageLogARB")] + public static + unsafe Int32 GetDebugMessageLog(Int32 count, Int32 bufsize, [OutAttribute] OpenTK.Graphics.OpenGL.ArbDebugOutput* sources, [OutAttribute] OpenTK.Graphics.OpenGL.ArbDebugOutput* types, [OutAttribute] Int32* ids, [OutAttribute] OpenTK.Graphics.OpenGL.ArbDebugOutput* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glGetDebugMessageLogARB((UInt32)count, (Int32)bufsize, (OpenTK.Graphics.OpenGL.ArbDebugOutput*)sources, (OpenTK.Graphics.OpenGL.ArbDebugOutput*)types, (UInt32*)ids, (OpenTK.Graphics.OpenGL.ArbDebugOutput*)severities, (Int32*)lengths, (StringBuilder)messageLog); + #if DEBUG + } + #endif + } + + /// [requires: ARB_debug_output] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_debug_output", Version = "4.1", EntryPoint = "glGetDebugMessageLogARB")] + public static + Int32 GetDebugMessageLog(UInt32 count, Int32 bufsize, [OutAttribute] OpenTK.Graphics.OpenGL.ArbDebugOutput[] sources, [OutAttribute] OpenTK.Graphics.OpenGL.ArbDebugOutput[] types, [OutAttribute] UInt32[] ids, [OutAttribute] OpenTK.Graphics.OpenGL.ArbDebugOutput[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Graphics.OpenGL.ArbDebugOutput* sources_ptr = sources) + fixed (OpenTK.Graphics.OpenGL.ArbDebugOutput* types_ptr = types) + fixed (UInt32* ids_ptr = ids) + fixed (OpenTK.Graphics.OpenGL.ArbDebugOutput* severities_ptr = severities) + fixed (Int32* lengths_ptr = lengths) + { + return Delegates.glGetDebugMessageLogARB((UInt32)count, (Int32)bufsize, (OpenTK.Graphics.OpenGL.ArbDebugOutput*)sources_ptr, (OpenTK.Graphics.OpenGL.ArbDebugOutput*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.OpenGL.ArbDebugOutput*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_debug_output] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_debug_output", Version = "4.1", EntryPoint = "glGetDebugMessageLogARB")] + public static + Int32 GetDebugMessageLog(UInt32 count, Int32 bufsize, [OutAttribute] out OpenTK.Graphics.OpenGL.ArbDebugOutput sources, [OutAttribute] out OpenTK.Graphics.OpenGL.ArbDebugOutput types, [OutAttribute] out UInt32 ids, [OutAttribute] out OpenTK.Graphics.OpenGL.ArbDebugOutput severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Graphics.OpenGL.ArbDebugOutput* sources_ptr = &sources) + fixed (OpenTK.Graphics.OpenGL.ArbDebugOutput* types_ptr = &types) + fixed (UInt32* ids_ptr = &ids) + fixed (OpenTK.Graphics.OpenGL.ArbDebugOutput* severities_ptr = &severities) + fixed (Int32* lengths_ptr = &lengths) + { + Int32 retval = Delegates.glGetDebugMessageLogARB((UInt32)count, (Int32)bufsize, (OpenTK.Graphics.OpenGL.ArbDebugOutput*)sources_ptr, (OpenTK.Graphics.OpenGL.ArbDebugOutput*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.OpenGL.ArbDebugOutput*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog); + sources = *sources_ptr; + types = *types_ptr; + ids = *ids_ptr; + severities = *severities_ptr; + lengths = *lengths_ptr; + return retval; + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_debug_output] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_debug_output", Version = "4.1", EntryPoint = "glGetDebugMessageLogARB")] + public static + unsafe Int32 GetDebugMessageLog(UInt32 count, Int32 bufsize, [OutAttribute] OpenTK.Graphics.OpenGL.ArbDebugOutput* sources, [OutAttribute] OpenTK.Graphics.OpenGL.ArbDebugOutput* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.OpenGL.ArbDebugOutput* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glGetDebugMessageLogARB((UInt32)count, (Int32)bufsize, (OpenTK.Graphics.OpenGL.ArbDebugOutput*)sources, (OpenTK.Graphics.OpenGL.ArbDebugOutput*)types, (UInt32*)ids, (OpenTK.Graphics.OpenGL.ArbDebugOutput*)severities, (Int32*)lengths, (StringBuilder)messageLog); + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetGraphicsResetStatusARB")] + public static + OpenTK.Graphics.OpenGL.ArbRobustness GetGraphicsResetStatus() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glGetGraphicsResetStatusARB(); + #if DEBUG + } + #endif + } + + /// [requires: ARB_shader_objects] + [AutoGenerated(Category = "ARB_shader_objects", Version = "1.2", EntryPoint = "glGetHandleARB")] + public static + Int32 GetHandle(OpenTK.Graphics.OpenGL.ArbShaderObjects pname) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glGetHandleARB((OpenTK.Graphics.OpenGL.ArbShaderObjects)pname); + #if DEBUG + } + #endif + } + + /// [requires: ARB_shader_objects] + [AutoGenerated(Category = "ARB_shader_objects", Version = "1.2", EntryPoint = "glGetInfoLogARB")] + public static + void GetInfoLog(Int32 obj, Int32 maxLength, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infoLog) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + { + Delegates.glGetInfoLogARB((UInt32)obj, (Int32)maxLength, (Int32*)length_ptr, (StringBuilder)infoLog); + length = *length_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_shader_objects", Version = "1.2", EntryPoint = "glGetInfoLogARB")] + public static + unsafe void GetInfoLog(Int32 obj, Int32 maxLength, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetInfoLogARB((UInt32)obj, (Int32)maxLength, (Int32*)length, (StringBuilder)infoLog); + #if DEBUG + } + #endif + } + + /// [requires: ARB_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_shader_objects", Version = "1.2", EntryPoint = "glGetInfoLogARB")] + public static + void GetInfoLog(UInt32 obj, Int32 maxLength, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infoLog) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + { + Delegates.glGetInfoLogARB((UInt32)obj, (Int32)maxLength, (Int32*)length_ptr, (StringBuilder)infoLog); + length = *length_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_shader_objects", Version = "1.2", EntryPoint = "glGetInfoLogARB")] + public static + unsafe void GetInfoLog(UInt32 obj, Int32 maxLength, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetInfoLogARB((UInt32)obj, (Int32)maxLength, (Int32*)length, (StringBuilder)infoLog); + #if DEBUG + } + #endif + } + + /// [requires: ARB_shading_language_include] + [AutoGenerated(Category = "ARB_shading_language_include", Version = "1.2", EntryPoint = "glGetNamedStringARB")] + public static + void GetNamedString(Int32 namelen, String name, Int32 bufSize, [OutAttribute] out Int32 stringlen, [OutAttribute] StringBuilder @string) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* stringlen_ptr = &stringlen) + { + Delegates.glGetNamedStringARB((Int32)namelen, (String)name, (Int32)bufSize, (Int32*)stringlen_ptr, (StringBuilder)@string); + stringlen = *stringlen_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_shading_language_include] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_shading_language_include", Version = "1.2", EntryPoint = "glGetNamedStringARB")] + public static + unsafe void GetNamedString(Int32 namelen, String name, Int32 bufSize, [OutAttribute] Int32* stringlen, [OutAttribute] StringBuilder @string) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetNamedStringARB((Int32)namelen, (String)name, (Int32)bufSize, (Int32*)stringlen, (StringBuilder)@string); + #if DEBUG + } + #endif + } + + /// [requires: ARB_shading_language_include] + [AutoGenerated(Category = "ARB_shading_language_include", Version = "1.2", EntryPoint = "glGetNamedStringivARB")] + public static + void GetNamedString(Int32 namelen, String name, OpenTK.Graphics.OpenGL.ArbShadingLanguageInclude pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetNamedStringivARB((Int32)namelen, (String)name, (OpenTK.Graphics.OpenGL.ArbShadingLanguageInclude)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_shading_language_include] + [AutoGenerated(Category = "ARB_shading_language_include", Version = "1.2", EntryPoint = "glGetNamedStringivARB")] + public static + void GetNamedString(Int32 namelen, String name, OpenTK.Graphics.OpenGL.ArbShadingLanguageInclude pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetNamedStringivARB((Int32)namelen, (String)name, (OpenTK.Graphics.OpenGL.ArbShadingLanguageInclude)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_shading_language_include] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_shading_language_include", Version = "1.2", EntryPoint = "glGetNamedStringivARB")] + public static + unsafe void GetNamedString(Int32 namelen, String name, OpenTK.Graphics.OpenGL.ArbShadingLanguageInclude pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetNamedStringivARB((Int32)namelen, (String)name, (OpenTK.Graphics.OpenGL.ArbShadingLanguageInclude)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnColorTableARB")] + public static + void GetnColorTable(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [OutAttribute] IntPtr table) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetnColorTableARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)table); + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnColorTableARB")] + public static + void GetnColorTable(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [InAttribute, OutAttribute] T4[] table) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); + try + { + Delegates.glGetnColorTableARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)table_ptr.AddrOfPinnedObject()); + } + finally + { + table_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnColorTableARB")] + public static + void GetnColorTable(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [InAttribute, OutAttribute] T4[,] table) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); + try + { + Delegates.glGetnColorTableARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)table_ptr.AddrOfPinnedObject()); + } + finally + { + table_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnColorTableARB")] + public static + void GetnColorTable(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [InAttribute, OutAttribute] T4[,,] table) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); + try + { + Delegates.glGetnColorTableARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)table_ptr.AddrOfPinnedObject()); + } + finally + { + table_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnColorTableARB")] + public static + void GetnColorTable(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [InAttribute, OutAttribute] ref T4 table) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); + try + { + Delegates.glGetnColorTableARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)table_ptr.AddrOfPinnedObject()); + table = (T4)table_ptr.Target; + } + finally + { + table_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnCompressedTexImageARB")] + public static + void GetnCompressedTexImage(OpenTK.Graphics.OpenGL.ArbRobustness target, Int32 lod, Int32 bufSize, [OutAttribute] IntPtr img) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetnCompressedTexImageARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (Int32)lod, (Int32)bufSize, (IntPtr)img); + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnCompressedTexImageARB")] + public static + void GetnCompressedTexImage(OpenTK.Graphics.OpenGL.ArbRobustness target, Int32 lod, Int32 bufSize, [InAttribute, OutAttribute] T3[] img) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); + try + { + Delegates.glGetnCompressedTexImageARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (Int32)lod, (Int32)bufSize, (IntPtr)img_ptr.AddrOfPinnedObject()); + } + finally + { + img_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnCompressedTexImageARB")] + public static + void GetnCompressedTexImage(OpenTK.Graphics.OpenGL.ArbRobustness target, Int32 lod, Int32 bufSize, [InAttribute, OutAttribute] T3[,] img) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); + try + { + Delegates.glGetnCompressedTexImageARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (Int32)lod, (Int32)bufSize, (IntPtr)img_ptr.AddrOfPinnedObject()); + } + finally + { + img_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnCompressedTexImageARB")] + public static + void GetnCompressedTexImage(OpenTK.Graphics.OpenGL.ArbRobustness target, Int32 lod, Int32 bufSize, [InAttribute, OutAttribute] T3[,,] img) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); + try + { + Delegates.glGetnCompressedTexImageARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (Int32)lod, (Int32)bufSize, (IntPtr)img_ptr.AddrOfPinnedObject()); + } + finally + { + img_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnCompressedTexImageARB")] + public static + void GetnCompressedTexImage(OpenTK.Graphics.OpenGL.ArbRobustness target, Int32 lod, Int32 bufSize, [InAttribute, OutAttribute] ref T3 img) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); + try + { + Delegates.glGetnCompressedTexImageARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (Int32)lod, (Int32)bufSize, (IntPtr)img_ptr.AddrOfPinnedObject()); + img = (T3)img_ptr.Target; + } + finally + { + img_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnConvolutionFilterARB")] + public static + void GetnConvolutionFilter(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [OutAttribute] IntPtr image) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetnConvolutionFilterARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)image); + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnConvolutionFilterARB")] + public static + void GetnConvolutionFilter(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [InAttribute, OutAttribute] T4[] image) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glGetnConvolutionFilterARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)image_ptr.AddrOfPinnedObject()); + } + finally + { + image_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnConvolutionFilterARB")] + public static + void GetnConvolutionFilter(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [InAttribute, OutAttribute] T4[,] image) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glGetnConvolutionFilterARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)image_ptr.AddrOfPinnedObject()); + } + finally + { + image_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnConvolutionFilterARB")] + public static + void GetnConvolutionFilter(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [InAttribute, OutAttribute] T4[,,] image) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glGetnConvolutionFilterARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)image_ptr.AddrOfPinnedObject()); + } + finally + { + image_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnConvolutionFilterARB")] + public static + void GetnConvolutionFilter(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [InAttribute, OutAttribute] ref T4 image) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glGetnConvolutionFilterARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)image_ptr.AddrOfPinnedObject()); + image = (T4)image_ptr.Target; + } + finally + { + image_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnHistogramARB")] + public static + void GetnHistogram(OpenTK.Graphics.OpenGL.ArbRobustness target, bool reset, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [OutAttribute] IntPtr values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetnHistogramARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (bool)reset, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)values); + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnHistogramARB")] + public static + void GetnHistogram(OpenTK.Graphics.OpenGL.ArbRobustness target, bool reset, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [InAttribute, OutAttribute] T5[] values) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); + try + { + Delegates.glGetnHistogramARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (bool)reset, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)values_ptr.AddrOfPinnedObject()); + } + finally + { + values_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnHistogramARB")] + public static + void GetnHistogram(OpenTK.Graphics.OpenGL.ArbRobustness target, bool reset, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [InAttribute, OutAttribute] T5[,] values) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); + try + { + Delegates.glGetnHistogramARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (bool)reset, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)values_ptr.AddrOfPinnedObject()); + } + finally + { + values_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnHistogramARB")] + public static + void GetnHistogram(OpenTK.Graphics.OpenGL.ArbRobustness target, bool reset, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [InAttribute, OutAttribute] T5[,,] values) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); + try + { + Delegates.glGetnHistogramARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (bool)reset, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)values_ptr.AddrOfPinnedObject()); + } + finally + { + values_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnHistogramARB")] + public static + void GetnHistogram(OpenTK.Graphics.OpenGL.ArbRobustness target, bool reset, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [InAttribute, OutAttribute] ref T5 values) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); + try + { + Delegates.glGetnHistogramARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (bool)reset, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)values_ptr.AddrOfPinnedObject()); + values = (T5)values_ptr.Target; + } + finally + { + values_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnMapdvARB")] + public static + void GetnMap(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness query, Int32 bufSize, [OutAttribute] Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glGetnMapdvARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)query, (Int32)bufSize, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnMapdvARB")] + public static + void GetnMap(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness query, Int32 bufSize, [OutAttribute] out Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glGetnMapdvARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)query, (Int32)bufSize, (Double*)v_ptr); + v = *v_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnMapdvARB")] + public static + unsafe void GetnMap(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness query, Int32 bufSize, [OutAttribute] Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetnMapdvARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)query, (Int32)bufSize, (Double*)v); + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnMapfvARB")] + public static + void GetnMap(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness query, Int32 bufSize, [OutAttribute] Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glGetnMapfvARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)query, (Int32)bufSize, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnMapfvARB")] + public static + void GetnMap(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness query, Int32 bufSize, [OutAttribute] out Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glGetnMapfvARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)query, (Int32)bufSize, (Single*)v_ptr); + v = *v_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnMapfvARB")] + public static + unsafe void GetnMap(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness query, Int32 bufSize, [OutAttribute] Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetnMapfvARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)query, (Int32)bufSize, (Single*)v); + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnMapivARB")] + public static + void GetnMap(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness query, Int32 bufSize, [OutAttribute] Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glGetnMapivARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)query, (Int32)bufSize, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnMapivARB")] + public static + void GetnMap(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness query, Int32 bufSize, [OutAttribute] out Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glGetnMapivARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)query, (Int32)bufSize, (Int32*)v_ptr); + v = *v_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnMapivARB")] + public static + unsafe void GetnMap(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness query, Int32 bufSize, [OutAttribute] Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetnMapivARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)query, (Int32)bufSize, (Int32*)v); + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnMinmaxARB")] + public static + void GetnMinmax(OpenTK.Graphics.OpenGL.ArbRobustness target, bool reset, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [OutAttribute] IntPtr values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetnMinmaxARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (bool)reset, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)values); + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnMinmaxARB")] + public static + void GetnMinmax(OpenTK.Graphics.OpenGL.ArbRobustness target, bool reset, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [InAttribute, OutAttribute] T5[] values) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); + try + { + Delegates.glGetnMinmaxARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (bool)reset, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)values_ptr.AddrOfPinnedObject()); + } + finally + { + values_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnMinmaxARB")] + public static + void GetnMinmax(OpenTK.Graphics.OpenGL.ArbRobustness target, bool reset, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [InAttribute, OutAttribute] T5[,] values) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); + try + { + Delegates.glGetnMinmaxARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (bool)reset, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)values_ptr.AddrOfPinnedObject()); + } + finally + { + values_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnMinmaxARB")] + public static + void GetnMinmax(OpenTK.Graphics.OpenGL.ArbRobustness target, bool reset, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [InAttribute, OutAttribute] T5[,,] values) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); + try + { + Delegates.glGetnMinmaxARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (bool)reset, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)values_ptr.AddrOfPinnedObject()); + } + finally + { + values_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnMinmaxARB")] + public static + void GetnMinmax(OpenTK.Graphics.OpenGL.ArbRobustness target, bool reset, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [InAttribute, OutAttribute] ref T5 values) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); + try + { + Delegates.glGetnMinmaxARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (bool)reset, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)values_ptr.AddrOfPinnedObject()); + values = (T5)values_ptr.Target; + } + finally + { + values_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnPixelMapfvARB")] + public static + void GetnPixelMap(OpenTK.Graphics.OpenGL.ArbRobustness map, Int32 bufSize, [OutAttribute] Single[] values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* values_ptr = values) + { + Delegates.glGetnPixelMapfvARB((OpenTK.Graphics.OpenGL.ArbRobustness)map, (Int32)bufSize, (Single*)values_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnPixelMapfvARB")] + public static + void GetnPixelMap(OpenTK.Graphics.OpenGL.ArbRobustness map, Int32 bufSize, [OutAttribute] out Single values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* values_ptr = &values) + { + Delegates.glGetnPixelMapfvARB((OpenTK.Graphics.OpenGL.ArbRobustness)map, (Int32)bufSize, (Single*)values_ptr); + values = *values_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnPixelMapfvARB")] + public static + unsafe void GetnPixelMap(OpenTK.Graphics.OpenGL.ArbRobustness map, Int32 bufSize, [OutAttribute] Single* values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetnPixelMapfvARB((OpenTK.Graphics.OpenGL.ArbRobustness)map, (Int32)bufSize, (Single*)values); + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnPixelMapuivARB")] + public static + void GetnPixelMap(OpenTK.Graphics.OpenGL.ArbRobustness map, Int32 bufSize, [OutAttribute] Int32[] values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* values_ptr = values) + { + Delegates.glGetnPixelMapuivARB((OpenTK.Graphics.OpenGL.ArbRobustness)map, (Int32)bufSize, (UInt32*)values_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnPixelMapuivARB")] + public static + void GetnPixelMap(OpenTK.Graphics.OpenGL.ArbRobustness map, Int32 bufSize, [OutAttribute] out Int32 values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* values_ptr = &values) + { + Delegates.glGetnPixelMapuivARB((OpenTK.Graphics.OpenGL.ArbRobustness)map, (Int32)bufSize, (UInt32*)values_ptr); + values = *values_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnPixelMapuivARB")] + public static + unsafe void GetnPixelMap(OpenTK.Graphics.OpenGL.ArbRobustness map, Int32 bufSize, [OutAttribute] Int32* values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetnPixelMapuivARB((OpenTK.Graphics.OpenGL.ArbRobustness)map, (Int32)bufSize, (UInt32*)values); + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnPixelMapuivARB")] + public static + void GetnPixelMap(OpenTK.Graphics.OpenGL.ArbRobustness map, Int32 bufSize, [OutAttribute] UInt32[] values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* values_ptr = values) + { + Delegates.glGetnPixelMapuivARB((OpenTK.Graphics.OpenGL.ArbRobustness)map, (Int32)bufSize, (UInt32*)values_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnPixelMapuivARB")] + public static + void GetnPixelMap(OpenTK.Graphics.OpenGL.ArbRobustness map, Int32 bufSize, [OutAttribute] out UInt32 values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* values_ptr = &values) + { + Delegates.glGetnPixelMapuivARB((OpenTK.Graphics.OpenGL.ArbRobustness)map, (Int32)bufSize, (UInt32*)values_ptr); + values = *values_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnPixelMapuivARB")] + public static + unsafe void GetnPixelMap(OpenTK.Graphics.OpenGL.ArbRobustness map, Int32 bufSize, [OutAttribute] UInt32* values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetnPixelMapuivARB((OpenTK.Graphics.OpenGL.ArbRobustness)map, (Int32)bufSize, (UInt32*)values); + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnPixelMapusvARB")] + public static + void GetnPixelMap(OpenTK.Graphics.OpenGL.ArbRobustness map, Int32 bufSize, [OutAttribute] Int16[] values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* values_ptr = values) + { + Delegates.glGetnPixelMapusvARB((OpenTK.Graphics.OpenGL.ArbRobustness)map, (Int32)bufSize, (UInt16*)values_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnPixelMapusvARB")] + public static + void GetnPixelMap(OpenTK.Graphics.OpenGL.ArbRobustness map, Int32 bufSize, [OutAttribute] out Int16 values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* values_ptr = &values) + { + Delegates.glGetnPixelMapusvARB((OpenTK.Graphics.OpenGL.ArbRobustness)map, (Int32)bufSize, (UInt16*)values_ptr); + values = *values_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnPixelMapusvARB")] + public static + unsafe void GetnPixelMap(OpenTK.Graphics.OpenGL.ArbRobustness map, Int32 bufSize, [OutAttribute] Int16* values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetnPixelMapusvARB((OpenTK.Graphics.OpenGL.ArbRobustness)map, (Int32)bufSize, (UInt16*)values); + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnPixelMapusvARB")] + public static + void GetnPixelMap(OpenTK.Graphics.OpenGL.ArbRobustness map, Int32 bufSize, [OutAttribute] UInt16[] values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt16* values_ptr = values) + { + Delegates.glGetnPixelMapusvARB((OpenTK.Graphics.OpenGL.ArbRobustness)map, (Int32)bufSize, (UInt16*)values_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnPixelMapusvARB")] + public static + void GetnPixelMap(OpenTK.Graphics.OpenGL.ArbRobustness map, Int32 bufSize, [OutAttribute] out UInt16 values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt16* values_ptr = &values) + { + Delegates.glGetnPixelMapusvARB((OpenTK.Graphics.OpenGL.ArbRobustness)map, (Int32)bufSize, (UInt16*)values_ptr); + values = *values_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnPixelMapusvARB")] + public static + unsafe void GetnPixelMap(OpenTK.Graphics.OpenGL.ArbRobustness map, Int32 bufSize, [OutAttribute] UInt16* values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetnPixelMapusvARB((OpenTK.Graphics.OpenGL.ArbRobustness)map, (Int32)bufSize, (UInt16*)values); + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnPolygonStippleARB")] + public static + void GetnPolygonStipple(Int32 bufSize, [OutAttribute] Byte[] pattern) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* pattern_ptr = pattern) + { + Delegates.glGetnPolygonStippleARB((Int32)bufSize, (Byte*)pattern_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnPolygonStippleARB")] + public static + void GetnPolygonStipple(Int32 bufSize, [OutAttribute] out Byte pattern) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* pattern_ptr = &pattern) + { + Delegates.glGetnPolygonStippleARB((Int32)bufSize, (Byte*)pattern_ptr); + pattern = *pattern_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnPolygonStippleARB")] + public static + unsafe void GetnPolygonStipple(Int32 bufSize, [OutAttribute] Byte* pattern) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetnPolygonStippleARB((Int32)bufSize, (Byte*)pattern); + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnSeparableFilterARB")] + public static + void GetnSeparableFilter(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 rowBufSize, [OutAttribute] IntPtr row, Int32 columnBufSize, [OutAttribute] IntPtr column, [OutAttribute] IntPtr span) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetnSeparableFilterARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)rowBufSize, (IntPtr)row, (Int32)columnBufSize, (IntPtr)column, (IntPtr)span); + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnSeparableFilterARB")] + public static + void GetnSeparableFilter(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 rowBufSize, [OutAttribute] IntPtr row, Int32 columnBufSize, [OutAttribute] IntPtr column, [InAttribute, OutAttribute] T7[] span) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetnSeparableFilterARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)rowBufSize, (IntPtr)row, (Int32)columnBufSize, (IntPtr)column, (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnSeparableFilterARB")] + public static + void GetnSeparableFilter(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 rowBufSize, [OutAttribute] IntPtr row, Int32 columnBufSize, [OutAttribute] IntPtr column, [InAttribute, OutAttribute] T7[,] span) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetnSeparableFilterARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)rowBufSize, (IntPtr)row, (Int32)columnBufSize, (IntPtr)column, (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnSeparableFilterARB")] + public static + void GetnSeparableFilter(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 rowBufSize, [OutAttribute] IntPtr row, Int32 columnBufSize, [OutAttribute] IntPtr column, [InAttribute, OutAttribute] T7[,,] span) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetnSeparableFilterARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)rowBufSize, (IntPtr)row, (Int32)columnBufSize, (IntPtr)column, (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnSeparableFilterARB")] + public static + void GetnSeparableFilter(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 rowBufSize, [OutAttribute] IntPtr row, Int32 columnBufSize, [OutAttribute] IntPtr column, [InAttribute, OutAttribute] ref T7 span) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetnSeparableFilterARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)rowBufSize, (IntPtr)row, (Int32)columnBufSize, (IntPtr)column, (IntPtr)span_ptr.AddrOfPinnedObject()); + span = (T7)span_ptr.Target; + } + finally + { + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnSeparableFilterARB")] + public static + void GetnSeparableFilter(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 rowBufSize, [OutAttribute] IntPtr row, Int32 columnBufSize, [InAttribute, OutAttribute] T6[] column, [InAttribute, OutAttribute] T7[,,] span) + where T6 : struct + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetnSeparableFilterARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)rowBufSize, (IntPtr)row, (Int32)columnBufSize, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + column_ptr.Free(); + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnSeparableFilterARB")] + public static + void GetnSeparableFilter(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 rowBufSize, [OutAttribute] IntPtr row, Int32 columnBufSize, [InAttribute, OutAttribute] T6[,] column, [InAttribute, OutAttribute] T7[,,] span) + where T6 : struct + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetnSeparableFilterARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)rowBufSize, (IntPtr)row, (Int32)columnBufSize, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + column_ptr.Free(); + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnSeparableFilterARB")] + public static + void GetnSeparableFilter(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 rowBufSize, [OutAttribute] IntPtr row, Int32 columnBufSize, [InAttribute, OutAttribute] T6[,,] column, [InAttribute, OutAttribute] T7[,,] span) + where T6 : struct + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetnSeparableFilterARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)rowBufSize, (IntPtr)row, (Int32)columnBufSize, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + column_ptr.Free(); + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnSeparableFilterARB")] + public static + void GetnSeparableFilter(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 rowBufSize, [OutAttribute] IntPtr row, Int32 columnBufSize, [InAttribute, OutAttribute] ref T6 column, [InAttribute, OutAttribute] T7[,,] span) + where T6 : struct + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetnSeparableFilterARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)rowBufSize, (IntPtr)row, (Int32)columnBufSize, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + column = (T6)column_ptr.Target; + } + finally + { + column_ptr.Free(); + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnSeparableFilterARB")] + public static + void GetnSeparableFilter(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 rowBufSize, [InAttribute, OutAttribute] T4[] row, Int32 columnBufSize, [InAttribute, OutAttribute] T6[,,] column, [InAttribute, OutAttribute] T7[,,] span) + where T4 : struct + where T6 : struct + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetnSeparableFilterARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)rowBufSize, (IntPtr)row_ptr.AddrOfPinnedObject(), (Int32)columnBufSize, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + row_ptr.Free(); + column_ptr.Free(); + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnSeparableFilterARB")] + public static + void GetnSeparableFilter(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 rowBufSize, [InAttribute, OutAttribute] T4[,] row, Int32 columnBufSize, [InAttribute, OutAttribute] T6[,,] column, [InAttribute, OutAttribute] T7[,,] span) + where T4 : struct + where T6 : struct + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetnSeparableFilterARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)rowBufSize, (IntPtr)row_ptr.AddrOfPinnedObject(), (Int32)columnBufSize, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + row_ptr.Free(); + column_ptr.Free(); + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnSeparableFilterARB")] + public static + void GetnSeparableFilter(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 rowBufSize, [InAttribute, OutAttribute] T4[,,] row, Int32 columnBufSize, [InAttribute, OutAttribute] T6[,,] column, [InAttribute, OutAttribute] T7[,,] span) + where T4 : struct + where T6 : struct + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetnSeparableFilterARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)rowBufSize, (IntPtr)row_ptr.AddrOfPinnedObject(), (Int32)columnBufSize, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + row_ptr.Free(); + column_ptr.Free(); + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnSeparableFilterARB")] + public static + void GetnSeparableFilter(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 rowBufSize, [InAttribute, OutAttribute] ref T4 row, Int32 columnBufSize, [InAttribute, OutAttribute] T6[,,] column, [InAttribute, OutAttribute] T7[,,] span) + where T4 : struct + where T6 : struct + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetnSeparableFilterARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)rowBufSize, (IntPtr)row_ptr.AddrOfPinnedObject(), (Int32)columnBufSize, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + row = (T4)row_ptr.Target; + } + finally + { + row_ptr.Free(); + column_ptr.Free(); + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnTexImageARB")] + public static + void GetnTexImage(OpenTK.Graphics.OpenGL.ArbRobustness target, Int32 level, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [OutAttribute] IntPtr img) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetnTexImageARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (Int32)level, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)img); + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnTexImageARB")] + public static + void GetnTexImage(OpenTK.Graphics.OpenGL.ArbRobustness target, Int32 level, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [InAttribute, OutAttribute] T5[] img) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); + try + { + Delegates.glGetnTexImageARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (Int32)level, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)img_ptr.AddrOfPinnedObject()); + } + finally + { + img_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnTexImageARB")] + public static + void GetnTexImage(OpenTK.Graphics.OpenGL.ArbRobustness target, Int32 level, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [InAttribute, OutAttribute] T5[,] img) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); + try + { + Delegates.glGetnTexImageARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (Int32)level, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)img_ptr.AddrOfPinnedObject()); + } + finally + { + img_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnTexImageARB")] + public static + void GetnTexImage(OpenTK.Graphics.OpenGL.ArbRobustness target, Int32 level, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [InAttribute, OutAttribute] T5[,,] img) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); + try + { + Delegates.glGetnTexImageARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (Int32)level, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)img_ptr.AddrOfPinnedObject()); + } + finally + { + img_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnTexImageARB")] + public static + void GetnTexImage(OpenTK.Graphics.OpenGL.ArbRobustness target, Int32 level, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [InAttribute, OutAttribute] ref T5 img) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); + try + { + Delegates.glGetnTexImageARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (Int32)level, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)img_ptr.AddrOfPinnedObject()); + img = (T5)img_ptr.Target; + } + finally + { + img_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnUniformdvARB")] + public static + void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] Double[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = @params) + { + Delegates.glGetnUniformdvARB((UInt32)program, (Int32)location, (Int32)bufSize, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnUniformdvARB")] + public static + void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] out Double @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = &@params) + { + Delegates.glGetnUniformdvARB((UInt32)program, (Int32)location, (Int32)bufSize, (Double*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnUniformdvARB")] + public static + unsafe void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetnUniformdvARB((UInt32)program, (Int32)location, (Int32)bufSize, (Double*)@params); + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnUniformdvARB")] + public static + void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Double[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = @params) + { + Delegates.glGetnUniformdvARB((UInt32)program, (Int32)location, (Int32)bufSize, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnUniformdvARB")] + public static + void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] out Double @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = &@params) + { + Delegates.glGetnUniformdvARB((UInt32)program, (Int32)location, (Int32)bufSize, (Double*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnUniformdvARB")] + public static + unsafe void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetnUniformdvARB((UInt32)program, (Int32)location, (Int32)bufSize, (Double*)@params); + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnUniformfvARB")] + public static + void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetnUniformfvARB((UInt32)program, (Int32)location, (Int32)bufSize, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnUniformfvARB")] + public static + void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetnUniformfvARB((UInt32)program, (Int32)location, (Int32)bufSize, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnUniformfvARB")] + public static + unsafe void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetnUniformfvARB((UInt32)program, (Int32)location, (Int32)bufSize, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnUniformfvARB")] + public static + void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetnUniformfvARB((UInt32)program, (Int32)location, (Int32)bufSize, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnUniformfvARB")] + public static + void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetnUniformfvARB((UInt32)program, (Int32)location, (Int32)bufSize, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnUniformfvARB")] + public static + unsafe void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetnUniformfvARB((UInt32)program, (Int32)location, (Int32)bufSize, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnUniformivARB")] + public static + void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetnUniformivARB((UInt32)program, (Int32)location, (Int32)bufSize, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnUniformivARB")] + public static + void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetnUniformivARB((UInt32)program, (Int32)location, (Int32)bufSize, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnUniformivARB")] + public static + unsafe void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetnUniformivARB((UInt32)program, (Int32)location, (Int32)bufSize, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnUniformivARB")] + public static + void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetnUniformivARB((UInt32)program, (Int32)location, (Int32)bufSize, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnUniformivARB")] + public static + void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetnUniformivARB((UInt32)program, (Int32)location, (Int32)bufSize, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnUniformivARB")] + public static + unsafe void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetnUniformivARB((UInt32)program, (Int32)location, (Int32)bufSize, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnUniformuivARB")] + public static + void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] UInt32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = @params) + { + Delegates.glGetnUniformuivARB((UInt32)program, (Int32)location, (Int32)bufSize, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnUniformuivARB")] + public static + void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] out UInt32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = &@params) + { + Delegates.glGetnUniformuivARB((UInt32)program, (Int32)location, (Int32)bufSize, (UInt32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glGetnUniformuivARB")] + public static + unsafe void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] UInt32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetnUniformuivARB((UInt32)program, (Int32)location, (Int32)bufSize, (UInt32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: ARB_shader_objects] + [AutoGenerated(Category = "ARB_shader_objects", Version = "1.2", EntryPoint = "glGetObjectParameterfvARB")] + public static + void GetObjectParameter(Int32 obj, OpenTK.Graphics.OpenGL.ArbShaderObjects pname, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetObjectParameterfvARB((UInt32)obj, (OpenTK.Graphics.OpenGL.ArbShaderObjects)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_shader_objects] + [AutoGenerated(Category = "ARB_shader_objects", Version = "1.2", EntryPoint = "glGetObjectParameterfvARB")] + public static + void GetObjectParameter(Int32 obj, OpenTK.Graphics.OpenGL.ArbShaderObjects pname, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetObjectParameterfvARB((UInt32)obj, (OpenTK.Graphics.OpenGL.ArbShaderObjects)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_shader_objects", Version = "1.2", EntryPoint = "glGetObjectParameterfvARB")] + public static + unsafe void GetObjectParameter(Int32 obj, OpenTK.Graphics.OpenGL.ArbShaderObjects pname, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetObjectParameterfvARB((UInt32)obj, (OpenTK.Graphics.OpenGL.ArbShaderObjects)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: ARB_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_shader_objects", Version = "1.2", EntryPoint = "glGetObjectParameterfvARB")] + public static + void GetObjectParameter(UInt32 obj, OpenTK.Graphics.OpenGL.ArbShaderObjects pname, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetObjectParameterfvARB((UInt32)obj, (OpenTK.Graphics.OpenGL.ArbShaderObjects)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_shader_objects", Version = "1.2", EntryPoint = "glGetObjectParameterfvARB")] + public static + void GetObjectParameter(UInt32 obj, OpenTK.Graphics.OpenGL.ArbShaderObjects pname, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetObjectParameterfvARB((UInt32)obj, (OpenTK.Graphics.OpenGL.ArbShaderObjects)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_shader_objects", Version = "1.2", EntryPoint = "glGetObjectParameterfvARB")] + public static + unsafe void GetObjectParameter(UInt32 obj, OpenTK.Graphics.OpenGL.ArbShaderObjects pname, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetObjectParameterfvARB((UInt32)obj, (OpenTK.Graphics.OpenGL.ArbShaderObjects)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: ARB_shader_objects] + [AutoGenerated(Category = "ARB_shader_objects", Version = "1.2", EntryPoint = "glGetObjectParameterivARB")] + public static + void GetObjectParameter(Int32 obj, OpenTK.Graphics.OpenGL.ArbShaderObjects pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetObjectParameterivARB((UInt32)obj, (OpenTK.Graphics.OpenGL.ArbShaderObjects)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_shader_objects] + [AutoGenerated(Category = "ARB_shader_objects", Version = "1.2", EntryPoint = "glGetObjectParameterivARB")] + public static + void GetObjectParameter(Int32 obj, OpenTK.Graphics.OpenGL.ArbShaderObjects pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetObjectParameterivARB((UInt32)obj, (OpenTK.Graphics.OpenGL.ArbShaderObjects)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_shader_objects", Version = "1.2", EntryPoint = "glGetObjectParameterivARB")] + public static + unsafe void GetObjectParameter(Int32 obj, OpenTK.Graphics.OpenGL.ArbShaderObjects pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetObjectParameterivARB((UInt32)obj, (OpenTK.Graphics.OpenGL.ArbShaderObjects)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: ARB_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_shader_objects", Version = "1.2", EntryPoint = "glGetObjectParameterivARB")] + public static + void GetObjectParameter(UInt32 obj, OpenTK.Graphics.OpenGL.ArbShaderObjects pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetObjectParameterivARB((UInt32)obj, (OpenTK.Graphics.OpenGL.ArbShaderObjects)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_shader_objects", Version = "1.2", EntryPoint = "glGetObjectParameterivARB")] + public static + void GetObjectParameter(UInt32 obj, OpenTK.Graphics.OpenGL.ArbShaderObjects pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetObjectParameterivARB((UInt32)obj, (OpenTK.Graphics.OpenGL.ArbShaderObjects)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_shader_objects", Version = "1.2", EntryPoint = "glGetObjectParameterivARB")] + public static + unsafe void GetObjectParameter(UInt32 obj, OpenTK.Graphics.OpenGL.ArbShaderObjects pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetObjectParameterivARB((UInt32)obj, (OpenTK.Graphics.OpenGL.ArbShaderObjects)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glGetProgramEnvParameterdvARB")] + public static + void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, Int32 index, [OutAttribute] Double[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = @params) + { + Delegates.glGetProgramEnvParameterdvARB((OpenTK.Graphics.OpenGL.ArbVertexProgram)target, (UInt32)index, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glGetProgramEnvParameterdvARB")] + public static + void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, Int32 index, [OutAttribute] out Double @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = &@params) + { + Delegates.glGetProgramEnvParameterdvARB((OpenTK.Graphics.OpenGL.ArbVertexProgram)target, (UInt32)index, (Double*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glGetProgramEnvParameterdvARB")] + public static + unsafe void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, Int32 index, [OutAttribute] Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramEnvParameterdvARB((OpenTK.Graphics.OpenGL.ArbVertexProgram)target, (UInt32)index, (Double*)@params); + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glGetProgramEnvParameterdvARB")] + public static + void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, UInt32 index, [OutAttribute] Double[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = @params) + { + Delegates.glGetProgramEnvParameterdvARB((OpenTK.Graphics.OpenGL.ArbVertexProgram)target, (UInt32)index, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glGetProgramEnvParameterdvARB")] + public static + void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, UInt32 index, [OutAttribute] out Double @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = &@params) + { + Delegates.glGetProgramEnvParameterdvARB((OpenTK.Graphics.OpenGL.ArbVertexProgram)target, (UInt32)index, (Double*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glGetProgramEnvParameterdvARB")] + public static + unsafe void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, UInt32 index, [OutAttribute] Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramEnvParameterdvARB((OpenTK.Graphics.OpenGL.ArbVertexProgram)target, (UInt32)index, (Double*)@params); + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glGetProgramEnvParameterfvARB")] + public static + void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, Int32 index, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetProgramEnvParameterfvARB((OpenTK.Graphics.OpenGL.ArbVertexProgram)target, (UInt32)index, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glGetProgramEnvParameterfvARB")] + public static + void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, Int32 index, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetProgramEnvParameterfvARB((OpenTK.Graphics.OpenGL.ArbVertexProgram)target, (UInt32)index, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glGetProgramEnvParameterfvARB")] + public static + unsafe void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, Int32 index, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramEnvParameterfvARB((OpenTK.Graphics.OpenGL.ArbVertexProgram)target, (UInt32)index, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glGetProgramEnvParameterfvARB")] + public static + void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, UInt32 index, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetProgramEnvParameterfvARB((OpenTK.Graphics.OpenGL.ArbVertexProgram)target, (UInt32)index, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glGetProgramEnvParameterfvARB")] + public static + void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, UInt32 index, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetProgramEnvParameterfvARB((OpenTK.Graphics.OpenGL.ArbVertexProgram)target, (UInt32)index, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glGetProgramEnvParameterfvARB")] + public static + unsafe void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, UInt32 index, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramEnvParameterfvARB((OpenTK.Graphics.OpenGL.ArbVertexProgram)target, (UInt32)index, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_program] + /// Returns a parameter from a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_BLOCKS, GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH, GL_ACTIVE_UNIFORM_MAX_LENGTH, GL_PROGRAM_BINARY_LENGTH, GL_TRANSFORM_FEEDBACK_BUFFER_MODE, GL_TRANSFORM_FEEDBACK_VARYINGS, GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH, GL_GEOMETRY_VERTICES_OUT, GL_GEOMETRY_INPUT_TYPE, and GL_GEOMETRY_OUTPUT_TYPE. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glGetProgramivARB")] + public static + void GetProgram(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetProgramivARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_program] + /// Returns a parameter from a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_BLOCKS, GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH, GL_ACTIVE_UNIFORM_MAX_LENGTH, GL_PROGRAM_BINARY_LENGTH, GL_TRANSFORM_FEEDBACK_BUFFER_MODE, GL_TRANSFORM_FEEDBACK_VARYINGS, GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH, GL_GEOMETRY_VERTICES_OUT, GL_GEOMETRY_INPUT_TYPE, and GL_GEOMETRY_OUTPUT_TYPE. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glGetProgramivARB")] + public static + unsafe void GetProgram(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramivARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glGetProgramLocalParameterdvARB")] + public static + void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, Int32 index, [OutAttribute] Double[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = @params) + { + Delegates.glGetProgramLocalParameterdvARB((OpenTK.Graphics.OpenGL.ArbVertexProgram)target, (UInt32)index, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glGetProgramLocalParameterdvARB")] + public static + void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, Int32 index, [OutAttribute] out Double @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = &@params) + { + Delegates.glGetProgramLocalParameterdvARB((OpenTK.Graphics.OpenGL.ArbVertexProgram)target, (UInt32)index, (Double*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glGetProgramLocalParameterdvARB")] + public static + unsafe void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, Int32 index, [OutAttribute] Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramLocalParameterdvARB((OpenTK.Graphics.OpenGL.ArbVertexProgram)target, (UInt32)index, (Double*)@params); + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glGetProgramLocalParameterdvARB")] + public static + void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, UInt32 index, [OutAttribute] Double[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = @params) + { + Delegates.glGetProgramLocalParameterdvARB((OpenTK.Graphics.OpenGL.ArbVertexProgram)target, (UInt32)index, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glGetProgramLocalParameterdvARB")] + public static + void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, UInt32 index, [OutAttribute] out Double @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = &@params) + { + Delegates.glGetProgramLocalParameterdvARB((OpenTK.Graphics.OpenGL.ArbVertexProgram)target, (UInt32)index, (Double*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glGetProgramLocalParameterdvARB")] + public static + unsafe void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, UInt32 index, [OutAttribute] Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramLocalParameterdvARB((OpenTK.Graphics.OpenGL.ArbVertexProgram)target, (UInt32)index, (Double*)@params); + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glGetProgramLocalParameterfvARB")] + public static + void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, Int32 index, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetProgramLocalParameterfvARB((OpenTK.Graphics.OpenGL.ArbVertexProgram)target, (UInt32)index, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glGetProgramLocalParameterfvARB")] + public static + void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, Int32 index, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetProgramLocalParameterfvARB((OpenTK.Graphics.OpenGL.ArbVertexProgram)target, (UInt32)index, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glGetProgramLocalParameterfvARB")] + public static + unsafe void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, Int32 index, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramLocalParameterfvARB((OpenTK.Graphics.OpenGL.ArbVertexProgram)target, (UInt32)index, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glGetProgramLocalParameterfvARB")] + public static + void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, UInt32 index, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetProgramLocalParameterfvARB((OpenTK.Graphics.OpenGL.ArbVertexProgram)target, (UInt32)index, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glGetProgramLocalParameterfvARB")] + public static + void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, UInt32 index, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetProgramLocalParameterfvARB((OpenTK.Graphics.OpenGL.ArbVertexProgram)target, (UInt32)index, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glGetProgramLocalParameterfvARB")] + public static + unsafe void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, UInt32 index, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramLocalParameterfvARB((OpenTK.Graphics.OpenGL.ArbVertexProgram)target, (UInt32)index, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glGetProgramStringARB")] + public static + void GetProgramString(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] IntPtr @string) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramStringARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (IntPtr)@string); + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glGetProgramStringARB")] + public static + void GetProgramString(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [InAttribute, OutAttribute] T2[] @string) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glGetProgramStringARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); + } + finally + { + @string_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glGetProgramStringARB")] + public static + void GetProgramString(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [InAttribute, OutAttribute] T2[,] @string) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glGetProgramStringARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); + } + finally + { + @string_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glGetProgramStringARB")] + public static + void GetProgramString(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [InAttribute, OutAttribute] T2[,,] @string) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glGetProgramStringARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); + } + finally + { + @string_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glGetProgramStringARB")] + public static + void GetProgramString(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [InAttribute, OutAttribute] ref T2 @string) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glGetProgramStringARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); + @string = (T2)@string_ptr.Target; + } + finally + { + @string_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_occlusion_query] + [AutoGenerated(Category = "ARB_occlusion_query", Version = "1.5", EntryPoint = "glGetQueryivARB")] + public static + void GetQuery(OpenTK.Graphics.OpenGL.ArbOcclusionQuery target, OpenTK.Graphics.OpenGL.ArbOcclusionQuery pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetQueryivARB((OpenTK.Graphics.OpenGL.ArbOcclusionQuery)target, (OpenTK.Graphics.OpenGL.ArbOcclusionQuery)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_occlusion_query] + [AutoGenerated(Category = "ARB_occlusion_query", Version = "1.5", EntryPoint = "glGetQueryivARB")] + public static + void GetQuery(OpenTK.Graphics.OpenGL.ArbOcclusionQuery target, OpenTK.Graphics.OpenGL.ArbOcclusionQuery pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetQueryivARB((OpenTK.Graphics.OpenGL.ArbOcclusionQuery)target, (OpenTK.Graphics.OpenGL.ArbOcclusionQuery)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_occlusion_query] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_occlusion_query", Version = "1.5", EntryPoint = "glGetQueryivARB")] + public static + unsafe void GetQuery(OpenTK.Graphics.OpenGL.ArbOcclusionQuery target, OpenTK.Graphics.OpenGL.ArbOcclusionQuery pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetQueryivARB((OpenTK.Graphics.OpenGL.ArbOcclusionQuery)target, (OpenTK.Graphics.OpenGL.ArbOcclusionQuery)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_occlusion_query] + /// 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 = "ARB_occlusion_query", Version = "1.5", EntryPoint = "glGetQueryObjectivARB")] + public static + void GetQueryObject(Int32 id, OpenTK.Graphics.OpenGL.ArbOcclusionQuery pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetQueryObjectivARB((UInt32)id, (OpenTK.Graphics.OpenGL.ArbOcclusionQuery)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_occlusion_query] + /// 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 = "ARB_occlusion_query", Version = "1.5", EntryPoint = "glGetQueryObjectivARB")] + public static + void GetQueryObject(Int32 id, OpenTK.Graphics.OpenGL.ArbOcclusionQuery pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetQueryObjectivARB((UInt32)id, (OpenTK.Graphics.OpenGL.ArbOcclusionQuery)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_occlusion_query] + /// 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 = "ARB_occlusion_query", Version = "1.5", EntryPoint = "glGetQueryObjectivARB")] + public static + unsafe void GetQueryObject(Int32 id, OpenTK.Graphics.OpenGL.ArbOcclusionQuery pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetQueryObjectivARB((UInt32)id, (OpenTK.Graphics.OpenGL.ArbOcclusionQuery)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_occlusion_query] + /// 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 = "ARB_occlusion_query", Version = "1.5", EntryPoint = "glGetQueryObjectivARB")] + public static + void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL.ArbOcclusionQuery pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetQueryObjectivARB((UInt32)id, (OpenTK.Graphics.OpenGL.ArbOcclusionQuery)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_occlusion_query] + /// 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 = "ARB_occlusion_query", Version = "1.5", EntryPoint = "glGetQueryObjectivARB")] + public static + void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL.ArbOcclusionQuery pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetQueryObjectivARB((UInt32)id, (OpenTK.Graphics.OpenGL.ArbOcclusionQuery)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_occlusion_query] + /// 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 = "ARB_occlusion_query", Version = "1.5", EntryPoint = "glGetQueryObjectivARB")] + public static + unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL.ArbOcclusionQuery pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetQueryObjectivARB((UInt32)id, (OpenTK.Graphics.OpenGL.ArbOcclusionQuery)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_occlusion_query] + /// 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 = "ARB_occlusion_query", Version = "1.5", EntryPoint = "glGetQueryObjectuivARB")] + public static + void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL.ArbOcclusionQuery pname, [OutAttribute] UInt32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = @params) + { + Delegates.glGetQueryObjectuivARB((UInt32)id, (OpenTK.Graphics.OpenGL.ArbOcclusionQuery)pname, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_occlusion_query] + /// 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 = "ARB_occlusion_query", Version = "1.5", EntryPoint = "glGetQueryObjectuivARB")] + public static + void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL.ArbOcclusionQuery pname, [OutAttribute] out UInt32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = &@params) + { + Delegates.glGetQueryObjectuivARB((UInt32)id, (OpenTK.Graphics.OpenGL.ArbOcclusionQuery)pname, (UInt32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_occlusion_query] + /// 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 = "ARB_occlusion_query", Version = "1.5", EntryPoint = "glGetQueryObjectuivARB")] + public static + unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL.ArbOcclusionQuery pname, [OutAttribute] UInt32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetQueryObjectuivARB((UInt32)id, (OpenTK.Graphics.OpenGL.ArbOcclusionQuery)pname, (UInt32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_shader_objects] + /// Returns the source code string from a shader object + /// + /// + /// + /// Specifies the shader object to be queried. + /// + /// + /// + /// + /// Specifies the size of the character buffer for storing the returned source code string. + /// + /// + /// + /// + /// Returns the length of the string returned in source (excluding the null terminator). + /// + /// + /// + /// + /// Specifies an array of characters that is used to return the source code string. + /// + /// + [AutoGenerated(Category = "ARB_shader_objects", Version = "1.2", EntryPoint = "glGetShaderSourceARB")] + public static + void GetShaderSource(Int32 obj, Int32 maxLength, [OutAttribute] out Int32 length, [OutAttribute] 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, (StringBuilder)source); + length = *length_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_shader_objects] + /// Returns the source code string from a shader object + /// + /// + /// + /// Specifies the shader object to be queried. + /// + /// + /// + /// + /// Specifies the size of the character buffer for storing the returned source code string. + /// + /// + /// + /// + /// Returns the length of the string returned in source (excluding the null terminator). + /// + /// + /// + /// + /// Specifies an array of characters that is used to return the source code string. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_shader_objects", Version = "1.2", EntryPoint = "glGetShaderSourceARB")] + public static + unsafe void GetShaderSource(Int32 obj, Int32 maxLength, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetShaderSourceARB((UInt32)obj, (Int32)maxLength, (Int32*)length, (StringBuilder)source); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_shader_objects] + /// Returns the source code string from a shader object + /// + /// + /// + /// Specifies the shader object to be queried. + /// + /// + /// + /// + /// Specifies the size of the character buffer for storing the returned source code string. + /// + /// + /// + /// + /// Returns the length of the string returned in source (excluding the null terminator). + /// + /// + /// + /// + /// Specifies an array of characters that is used to return the source code string. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_shader_objects", Version = "1.2", EntryPoint = "glGetShaderSourceARB")] + public static + void GetShaderSource(UInt32 obj, Int32 maxLength, [OutAttribute] out Int32 length, [OutAttribute] 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, (StringBuilder)source); + length = *length_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_shader_objects] + /// Returns the source code string from a shader object + /// + /// + /// + /// Specifies the shader object to be queried. + /// + /// + /// + /// + /// Specifies the size of the character buffer for storing the returned source code string. + /// + /// + /// + /// + /// Returns the length of the string returned in source (excluding the null terminator). + /// + /// + /// + /// + /// Specifies an array of characters that is used to return the source code string. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_shader_objects", Version = "1.2", EntryPoint = "glGetShaderSourceARB")] + public static + unsafe void GetShaderSource(UInt32 obj, Int32 maxLength, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetShaderSourceARB((UInt32)obj, (Int32)maxLength, (Int32*)length, (StringBuilder)source); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_shader_objects] + /// 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 = "ARB_shader_objects", Version = "1.2", EntryPoint = "glGetUniformfvARB")] + public static + void GetUniform(Int32 programObj, Int32 location, [OutAttribute] 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 + } + + + /// [requires: ARB_shader_objects] + /// 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 = "ARB_shader_objects", Version = "1.2", EntryPoint = "glGetUniformfvARB")] + public static + void GetUniform(Int32 programObj, Int32 location, [OutAttribute] 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); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_shader_objects] + /// 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 = "ARB_shader_objects", Version = "1.2", EntryPoint = "glGetUniformfvARB")] + public static + unsafe void GetUniform(Int32 programObj, Int32 location, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetUniformfvARB((UInt32)programObj, (Int32)location, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_shader_objects] + /// 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 = "ARB_shader_objects", Version = "1.2", EntryPoint = "glGetUniformfvARB")] + public static + void GetUniform(UInt32 programObj, Int32 location, [OutAttribute] 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 + } + + + /// [requires: ARB_shader_objects] + /// 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 = "ARB_shader_objects", Version = "1.2", EntryPoint = "glGetUniformfvARB")] + public static + void GetUniform(UInt32 programObj, Int32 location, [OutAttribute] 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); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_shader_objects] + /// 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 = "ARB_shader_objects", Version = "1.2", EntryPoint = "glGetUniformfvARB")] + public static + unsafe void GetUniform(UInt32 programObj, Int32 location, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetUniformfvARB((UInt32)programObj, (Int32)location, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_shader_objects] + /// 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 = "ARB_shader_objects", Version = "1.2", EntryPoint = "glGetUniformivARB")] + public static + void GetUniform(Int32 programObj, Int32 location, [OutAttribute] 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 + } + + + /// [requires: ARB_shader_objects] + /// 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 = "ARB_shader_objects", Version = "1.2", EntryPoint = "glGetUniformivARB")] + public static + void GetUniform(Int32 programObj, Int32 location, [OutAttribute] 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 + } + + + /// [requires: ARB_shader_objects] + /// 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 = "ARB_shader_objects", Version = "1.2", EntryPoint = "glGetUniformivARB")] + public static + unsafe void GetUniform(Int32 programObj, Int32 location, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetUniformivARB((UInt32)programObj, (Int32)location, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_shader_objects] + /// 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 = "ARB_shader_objects", Version = "1.2", EntryPoint = "glGetUniformivARB")] + public static + void GetUniform(UInt32 programObj, Int32 location, [OutAttribute] 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 + } + + + /// [requires: ARB_shader_objects] + /// 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 = "ARB_shader_objects", Version = "1.2", EntryPoint = "glGetUniformivARB")] + public static + void GetUniform(UInt32 programObj, Int32 location, [OutAttribute] 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 + } + + + /// [requires: ARB_shader_objects] + /// 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 = "ARB_shader_objects", Version = "1.2", EntryPoint = "glGetUniformivARB")] + public static + unsafe void GetUniform(UInt32 programObj, Int32 location, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetUniformivARB((UInt32)programObj, (Int32)location, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_shader_objects] + /// Returns the location of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Points to a null terminated string containing the name of the uniform variable whose location is to be queried. + /// + /// + [AutoGenerated(Category = "ARB_shader_objects", Version = "1.2", EntryPoint = "glGetUniformLocationARB")] + public static + Int32 GetUniformLocation(Int32 programObj, String name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glGetUniformLocationARB((UInt32)programObj, (String)name); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_shader_objects] + /// Returns the location of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Points to a null terminated string containing the name of the uniform variable whose location is to be queried. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_shader_objects", Version = "1.2", EntryPoint = "glGetUniformLocationARB")] + public static + Int32 GetUniformLocation(UInt32 programObj, String name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glGetUniformLocationARB((UInt32)programObj, (String)name); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_program] + /// 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, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glGetVertexAttribdvARB")] + public static + void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] Double[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = @params) + { + Delegates.glGetVertexAttribdvARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_program] + /// 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, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glGetVertexAttribdvARB")] + public static + void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] out Double @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = &@params) + { + Delegates.glGetVertexAttribdvARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (Double*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_program] + /// 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, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glGetVertexAttribdvARB")] + public static + unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribdvARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (Double*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_program] + /// 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, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glGetVertexAttribdvARB")] + public static + void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] Double[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = @params) + { + Delegates.glGetVertexAttribdvARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_program] + /// 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, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glGetVertexAttribdvARB")] + public static + void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] out Double @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = &@params) + { + Delegates.glGetVertexAttribdvARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (Double*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_program] + /// 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, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glGetVertexAttribdvARB")] + public static + unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribdvARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (Double*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_program] + /// 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, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glGetVertexAttribfvARB")] + public static + void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetVertexAttribfvARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_program] + /// 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, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glGetVertexAttribfvARB")] + public static + void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetVertexAttribfvARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_program] + /// 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, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glGetVertexAttribfvARB")] + public static + unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribfvARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_program] + /// 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, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glGetVertexAttribfvARB")] + public static + void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetVertexAttribfvARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_program] + /// 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, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glGetVertexAttribfvARB")] + public static + void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetVertexAttribfvARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_program] + /// 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, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glGetVertexAttribfvARB")] + public static + unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribfvARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_program] + /// 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, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glGetVertexAttribivARB")] + public static + void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetVertexAttribivARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_program] + /// 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, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glGetVertexAttribivARB")] + public static + void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetVertexAttribivARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_program] + /// 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, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glGetVertexAttribivARB")] + public static + unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribivARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_program] + /// 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, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glGetVertexAttribivARB")] + public static + void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetVertexAttribivARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_program] + /// 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, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glGetVertexAttribivARB")] + public static + void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetVertexAttribivARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_program] + /// 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, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glGetVertexAttribivARB")] + public static + unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribivARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glGetVertexAttribPointervARB")] + public static + void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb pname, [OutAttribute] IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribPointervARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb)pname, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glGetVertexAttribPointervARB")] + public static + void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb pname, [InAttribute, OutAttribute] T2[] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribPointervARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glGetVertexAttribPointervARB")] + public static + void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb pname, [InAttribute, OutAttribute] T2[,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribPointervARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glGetVertexAttribPointervARB")] + public static + void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb pname, [InAttribute, OutAttribute] T2[,,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribPointervARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glGetVertexAttribPointervARB")] + public static + void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb pname, [InAttribute, OutAttribute] ref T2 pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribPointervARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + pointer = (T2)pointer_ptr.Target; + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glGetVertexAttribPointervARB")] + public static + void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb pname, [OutAttribute] IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribPointervARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb)pname, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glGetVertexAttribPointervARB")] + public static + void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb pname, [InAttribute, OutAttribute] T2[] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribPointervARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glGetVertexAttribPointervARB")] + public static + void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb pname, [InAttribute, OutAttribute] T2[,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribPointervARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glGetVertexAttribPointervARB")] + public static + void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb pname, [InAttribute, OutAttribute] T2[,,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribPointervARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glGetVertexAttribPointervARB")] + public static + void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb pname, [InAttribute, OutAttribute] ref T2 pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribPointervARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + pointer = (T2)pointer_ptr.Target; + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_buffer_object] + /// Determine if a name corresponds to a buffer object + /// + /// + /// + /// Specifies a value that may be the name of a buffer object. + /// + /// + [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "1.2", EntryPoint = "glIsBufferARB")] + public static + bool IsBuffer(Int32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsBufferARB((UInt32)buffer); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_buffer_object] + /// Determine if a name corresponds to a buffer object + /// + /// + /// + /// Specifies a value that may be the name of a buffer object. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "1.2", EntryPoint = "glIsBufferARB")] + public static + bool IsBuffer(UInt32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsBufferARB((UInt32)buffer); + #if DEBUG + } + #endif + } + + /// [requires: ARB_shading_language_include] + [AutoGenerated(Category = "ARB_shading_language_include", Version = "1.2", EntryPoint = "glIsNamedStringARB")] + public static + bool IsNamedString(Int32 namelen, String name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsNamedStringARB((Int32)namelen, (String)name); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_program] + /// Determines if a name corresponds to a program object + /// + /// + /// + /// Specifies a potential program object. + /// + /// + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glIsProgramARB")] + public static + bool IsProgram(Int32 program) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsProgramARB((UInt32)program); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_program] + /// Determines if a name corresponds to a program object + /// + /// + /// + /// Specifies a potential program object. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glIsProgramARB")] + public static + bool IsProgram(UInt32 program) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsProgramARB((UInt32)program); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_occlusion_query] + /// Determine if a name corresponds to a query object + /// + /// + /// + /// Specifies a value that may be the name of a query object. + /// + /// + [AutoGenerated(Category = "ARB_occlusion_query", Version = "1.5", EntryPoint = "glIsQueryARB")] + public static + bool IsQuery(Int32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsQueryARB((UInt32)id); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_occlusion_query] + /// Determine if a name corresponds to a query object + /// + /// + /// + /// Specifies a value that may be the name of a query object. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_occlusion_query", Version = "1.5", EntryPoint = "glIsQueryARB")] + public static + bool IsQuery(UInt32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsQueryARB((UInt32)id); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_shader_objects] + /// Links a program object + /// + /// + /// + /// Specifies the handle of the program object to be linked. + /// + /// + [AutoGenerated(Category = "ARB_shader_objects", Version = "1.2", EntryPoint = "glLinkProgramARB")] + public static + void LinkProgram(Int32 programObj) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLinkProgramARB((UInt32)programObj); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_shader_objects] + /// Links a program object + /// + /// + /// + /// Specifies the handle of the program object to be linked. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_shader_objects", Version = "1.2", EntryPoint = "glLinkProgramARB")] + public static + void LinkProgram(UInt32 programObj) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLinkProgramARB((UInt32)programObj); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_transpose_matrix] + /// 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 = "ARB_transpose_matrix", Version = "1.2", EntryPoint = "glLoadTransposeMatrixdARB")] + public static + void LoadTransposeMatrix(Double[] m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* m_ptr = m) + { + Delegates.glLoadTransposeMatrixdARB((Double*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_transpose_matrix] + /// 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 = "ARB_transpose_matrix", Version = "1.2", EntryPoint = "glLoadTransposeMatrixdARB")] + public static + void LoadTransposeMatrix(ref Double m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* m_ptr = &m) + { + Delegates.glLoadTransposeMatrixdARB((Double*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_transpose_matrix] + /// Replace the current matrix with the specified row-major ordered matrix + /// + /// + /// + /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 row-major matrix. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_transpose_matrix", 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 + } + + + /// [requires: ARB_transpose_matrix] + /// 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 = "ARB_transpose_matrix", 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 + } + + + /// [requires: ARB_transpose_matrix] + /// 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 = "ARB_transpose_matrix", Version = "1.2", EntryPoint = "glLoadTransposeMatrixfARB")] + public static + void LoadTransposeMatrix(ref Single m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* m_ptr = &m) + { + Delegates.glLoadTransposeMatrixfARB((Single*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_transpose_matrix] + /// Replace the current matrix with the specified row-major ordered matrix + /// + /// + /// + /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 row-major matrix. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_transpose_matrix", Version = "1.2", EntryPoint = "glLoadTransposeMatrixfARB")] + public static + unsafe void LoadTransposeMatrix(Single* m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLoadTransposeMatrixfARB((Single*)m); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_buffer_object] + /// Map a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object being mapped. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER or GL_UNIFORM_BUFFER. + /// + /// + /// + /// + /// 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 = "ARB_vertex_buffer_object", Version = "1.2", EntryPoint = "glMapBufferARB")] + public static + unsafe IntPtr MapBuffer(OpenTK.Graphics.OpenGL.BufferTargetArb target, OpenTK.Graphics.OpenGL.ArbVertexBufferObject access) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glMapBufferARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (OpenTK.Graphics.OpenGL.ArbVertexBufferObject)access); + #if DEBUG + } + #endif + } + + /// [requires: ARB_matrix_palette] + [AutoGenerated(Category = "ARB_matrix_palette", Version = "1.1", EntryPoint = "glMatrixIndexPointerARB")] + public static + void MatrixIndexPointer(Int32 size, OpenTK.Graphics.OpenGL.ArbMatrixPalette type, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMatrixIndexPointerARB((Int32)size, (OpenTK.Graphics.OpenGL.ArbMatrixPalette)type, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + /// [requires: ARB_matrix_palette] + [AutoGenerated(Category = "ARB_matrix_palette", Version = "1.1", EntryPoint = "glMatrixIndexPointerARB")] + public static + void MatrixIndexPointer(Int32 size, OpenTK.Graphics.OpenGL.ArbMatrixPalette type, Int32 stride, [InAttribute, OutAttribute] T3[] pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glMatrixIndexPointerARB((Int32)size, (OpenTK.Graphics.OpenGL.ArbMatrixPalette)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_matrix_palette] + [AutoGenerated(Category = "ARB_matrix_palette", Version = "1.1", EntryPoint = "glMatrixIndexPointerARB")] + public static + void MatrixIndexPointer(Int32 size, OpenTK.Graphics.OpenGL.ArbMatrixPalette type, Int32 stride, [InAttribute, OutAttribute] T3[,] pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glMatrixIndexPointerARB((Int32)size, (OpenTK.Graphics.OpenGL.ArbMatrixPalette)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_matrix_palette] + [AutoGenerated(Category = "ARB_matrix_palette", Version = "1.1", EntryPoint = "glMatrixIndexPointerARB")] + public static + void MatrixIndexPointer(Int32 size, OpenTK.Graphics.OpenGL.ArbMatrixPalette type, Int32 stride, [InAttribute, OutAttribute] T3[,,] pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glMatrixIndexPointerARB((Int32)size, (OpenTK.Graphics.OpenGL.ArbMatrixPalette)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_matrix_palette] + [AutoGenerated(Category = "ARB_matrix_palette", Version = "1.1", EntryPoint = "glMatrixIndexPointerARB")] + public static + void MatrixIndexPointer(Int32 size, OpenTK.Graphics.OpenGL.ArbMatrixPalette type, Int32 stride, [InAttribute, OutAttribute] ref T3 pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glMatrixIndexPointerARB((Int32)size, (OpenTK.Graphics.OpenGL.ArbMatrixPalette)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + pointer = (T3)pointer_ptr.Target; + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_matrix_palette] + [AutoGenerated(Category = "ARB_matrix_palette", 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 + } + + /// [requires: ARB_matrix_palette] + [AutoGenerated(Category = "ARB_matrix_palette", Version = "1.1", EntryPoint = "glMatrixIndexubvARB")] + public static + void MatrixIndex(Int32 size, ref 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 + } + + /// [requires: ARB_matrix_palette] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_matrix_palette", Version = "1.1", EntryPoint = "glMatrixIndexubvARB")] + public static + unsafe void MatrixIndex(Int32 size, Byte* indices) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMatrixIndexubvARB((Int32)size, (Byte*)indices); + #if DEBUG + } + #endif + } + + /// [requires: ARB_matrix_palette] + [AutoGenerated(Category = "ARB_matrix_palette", 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 + } + + /// [requires: ARB_matrix_palette] + [AutoGenerated(Category = "ARB_matrix_palette", Version = "1.1", EntryPoint = "glMatrixIndexuivARB")] + public static + void MatrixIndex(Int32 size, ref 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 + } + + /// [requires: ARB_matrix_palette] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_matrix_palette", 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 + } + + /// [requires: ARB_matrix_palette] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_matrix_palette", Version = "1.1", EntryPoint = "glMatrixIndexuivARB")] + public static + void MatrixIndex(Int32 size, UInt32[] indices) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* indices_ptr = indices) + { + Delegates.glMatrixIndexuivARB((Int32)size, (UInt32*)indices_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_matrix_palette] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_matrix_palette", Version = "1.1", EntryPoint = "glMatrixIndexuivARB")] + public static + void MatrixIndex(Int32 size, ref UInt32 indices) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* indices_ptr = &indices) + { + Delegates.glMatrixIndexuivARB((Int32)size, (UInt32*)indices_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_matrix_palette] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_matrix_palette", 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 + } + + /// [requires: ARB_matrix_palette] + [AutoGenerated(Category = "ARB_matrix_palette", Version = "1.1", EntryPoint = "glMatrixIndexusvARB")] + public static + void MatrixIndex(Int32 size, Int16[] indices) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* indices_ptr = indices) + { + Delegates.glMatrixIndexusvARB((Int32)size, (UInt16*)indices_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_matrix_palette] + [AutoGenerated(Category = "ARB_matrix_palette", Version = "1.1", EntryPoint = "glMatrixIndexusvARB")] + public static + void MatrixIndex(Int32 size, ref Int16 indices) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* indices_ptr = &indices) + { + Delegates.glMatrixIndexusvARB((Int32)size, (UInt16*)indices_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_matrix_palette] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_matrix_palette", Version = "1.1", EntryPoint = "glMatrixIndexusvARB")] + public static + unsafe void MatrixIndex(Int32 size, Int16* indices) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMatrixIndexusvARB((Int32)size, (UInt16*)indices); + #if DEBUG + } + #endif + } + + /// [requires: ARB_matrix_palette] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_matrix_palette", Version = "1.1", EntryPoint = "glMatrixIndexusvARB")] + public static + void MatrixIndex(Int32 size, UInt16[] indices) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt16* indices_ptr = indices) + { + Delegates.glMatrixIndexusvARB((Int32)size, (UInt16*)indices_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_matrix_palette] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_matrix_palette", Version = "1.1", EntryPoint = "glMatrixIndexusvARB")] + public static + void MatrixIndex(Int32 size, ref UInt16 indices) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt16* indices_ptr = &indices) + { + Delegates.glMatrixIndexusvARB((Int32)size, (UInt16*)indices_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_matrix_palette] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_matrix_palette", Version = "1.1", EntryPoint = "glMatrixIndexusvARB")] + public static + unsafe void MatrixIndex(Int32 size, UInt16* indices) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMatrixIndexusvARB((Int32)size, (UInt16*)indices); + #if DEBUG + } + #endif + } + + /// [requires: ARB_sample_shading] + [AutoGenerated(Category = "ARB_sample_shading", Version = "1.2", EntryPoint = "glMinSampleShadingARB")] + public static + void MinSampleShading(Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMinSampleShadingARB((Single)value); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_multitexture] + /// 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 = "ARB_multitexture", Version = "1.2", EntryPoint = "glMultiTexCoord1dARB")] + public static + void MultiTexCoord1(OpenTK.Graphics.OpenGL.TextureUnit target, Double s) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord1dARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double)s); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_multitexture] + /// 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 = "ARB_multitexture", Version = "1.2", EntryPoint = "glMultiTexCoord1dvARB")] + public static + unsafe void MultiTexCoord1(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord1dvARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double*)v); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_multitexture] + /// 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 = "ARB_multitexture", Version = "1.2", EntryPoint = "glMultiTexCoord1fARB")] + public static + void MultiTexCoord1(OpenTK.Graphics.OpenGL.TextureUnit target, Single s) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord1fARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single)s); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_multitexture] + /// 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 = "ARB_multitexture", Version = "1.2", EntryPoint = "glMultiTexCoord1fvARB")] + public static + unsafe void MultiTexCoord1(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord1fvARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single*)v); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_multitexture] + /// 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 = "ARB_multitexture", Version = "1.2", EntryPoint = "glMultiTexCoord1iARB")] + public static + void MultiTexCoord1(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord1iARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32)s); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_multitexture] + /// 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 = "ARB_multitexture", Version = "1.2", EntryPoint = "glMultiTexCoord1ivARB")] + public static + unsafe void MultiTexCoord1(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord1ivARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32*)v); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_multitexture] + /// 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 = "ARB_multitexture", Version = "1.2", EntryPoint = "glMultiTexCoord1sARB")] + public static + void MultiTexCoord1(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord1sARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16)s); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_multitexture] + /// 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 = "ARB_multitexture", Version = "1.2", EntryPoint = "glMultiTexCoord1svARB")] + public static + unsafe void MultiTexCoord1(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord1svARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16*)v); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_multitexture] + /// 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 = "ARB_multitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2dARB")] + public static + void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Double s, Double t) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord2dARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double)s, (Double)t); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_multitexture] + /// 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 = "ARB_multitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2dvARB")] + public static + void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glMultiTexCoord2dvARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_multitexture] + /// 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 = "ARB_multitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2dvARB")] + public static + void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glMultiTexCoord2dvARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_multitexture] + /// 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 = "ARB_multitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2dvARB")] + public static + unsafe void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord2dvARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double*)v); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_multitexture] + /// 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 = "ARB_multitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2fARB")] + public static + void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Single s, Single t) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord2fARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single)s, (Single)t); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_multitexture] + /// 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 = "ARB_multitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2fvARB")] + public static + void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glMultiTexCoord2fvARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_multitexture] + /// 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 = "ARB_multitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2fvARB")] + public static + void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glMultiTexCoord2fvARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_multitexture] + /// 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 = "ARB_multitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2fvARB")] + public static + unsafe void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord2fvARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single*)v); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_multitexture] + /// 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 = "ARB_multitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2iARB")] + public static + void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s, Int32 t) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord2iARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32)s, (Int32)t); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_multitexture] + /// 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 = "ARB_multitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2ivARB")] + public static + void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glMultiTexCoord2ivARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_multitexture] + /// 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 = "ARB_multitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2ivARB")] + public static + void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glMultiTexCoord2ivARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_multitexture] + /// 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 = "ARB_multitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2ivARB")] + public static + unsafe void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord2ivARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32*)v); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_multitexture] + /// 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 = "ARB_multitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2sARB")] + public static + void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s, Int16 t) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord2sARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16)s, (Int16)t); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_multitexture] + /// 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 = "ARB_multitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2svARB")] + public static + void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glMultiTexCoord2svARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_multitexture] + /// 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 = "ARB_multitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2svARB")] + public static + void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glMultiTexCoord2svARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_multitexture] + /// 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 = "ARB_multitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2svARB")] + public static + unsafe void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord2svARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16*)v); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_multitexture] + /// 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 = "ARB_multitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3dARB")] + public static + void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Double s, Double t, Double r) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord3dARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double)s, (Double)t, (Double)r); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_multitexture] + /// 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 = "ARB_multitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3dvARB")] + public static + void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glMultiTexCoord3dvARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_multitexture] + /// 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 = "ARB_multitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3dvARB")] + public static + void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glMultiTexCoord3dvARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_multitexture] + /// 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 = "ARB_multitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3dvARB")] + public static + unsafe void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord3dvARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double*)v); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_multitexture] + /// 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 = "ARB_multitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3fARB")] + public static + void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Single s, Single t, Single r) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord3fARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single)s, (Single)t, (Single)r); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_multitexture] + /// 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 = "ARB_multitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3fvARB")] + public static + void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glMultiTexCoord3fvARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_multitexture] + /// 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 = "ARB_multitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3fvARB")] + public static + void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glMultiTexCoord3fvARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_multitexture] + /// 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 = "ARB_multitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3fvARB")] + public static + unsafe void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord3fvARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single*)v); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_multitexture] + /// 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 = "ARB_multitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3iARB")] + public static + void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s, Int32 t, Int32 r) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord3iARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32)s, (Int32)t, (Int32)r); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_multitexture] + /// 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 = "ARB_multitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3ivARB")] + public static + void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glMultiTexCoord3ivARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_multitexture] + /// 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 = "ARB_multitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3ivARB")] + public static + void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glMultiTexCoord3ivARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_multitexture] + /// 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 = "ARB_multitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3ivARB")] + public static + unsafe void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord3ivARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32*)v); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_multitexture] + /// 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 = "ARB_multitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3sARB")] + public static + void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s, Int16 t, Int16 r) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord3sARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16)s, (Int16)t, (Int16)r); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_multitexture] + /// 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 = "ARB_multitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3svARB")] + public static + void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glMultiTexCoord3svARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_multitexture] + /// 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 = "ARB_multitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3svARB")] + public static + void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glMultiTexCoord3svARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_multitexture] + /// 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 = "ARB_multitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3svARB")] + public static + unsafe void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord3svARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16*)v); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_multitexture] + /// 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 = "ARB_multitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4dARB")] + public static + void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Double s, Double t, Double r, Double q) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord4dARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double)s, (Double)t, (Double)r, (Double)q); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_multitexture] + /// 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 = "ARB_multitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4dvARB")] + public static + void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glMultiTexCoord4dvARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_multitexture] + /// 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 = "ARB_multitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4dvARB")] + public static + void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glMultiTexCoord4dvARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_multitexture] + /// 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 = "ARB_multitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4dvARB")] + public static + unsafe void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord4dvARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double*)v); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_multitexture] + /// 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 = "ARB_multitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4fARB")] + public static + void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Single s, Single t, Single r, Single q) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord4fARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single)s, (Single)t, (Single)r, (Single)q); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_multitexture] + /// 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 = "ARB_multitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4fvARB")] + public static + void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glMultiTexCoord4fvARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_multitexture] + /// 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 = "ARB_multitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4fvARB")] + public static + void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glMultiTexCoord4fvARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_multitexture] + /// 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 = "ARB_multitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4fvARB")] + public static + unsafe void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord4fvARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single*)v); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_multitexture] + /// 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 = "ARB_multitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4iARB")] + public static + void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s, Int32 t, Int32 r, Int32 q) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord4iARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32)s, (Int32)t, (Int32)r, (Int32)q); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_multitexture] + /// 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 = "ARB_multitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4ivARB")] + public static + void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glMultiTexCoord4ivARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_multitexture] + /// 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 = "ARB_multitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4ivARB")] + public static + void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glMultiTexCoord4ivARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_multitexture] + /// 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 = "ARB_multitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4ivARB")] + public static + unsafe void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord4ivARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32*)v); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_multitexture] + /// 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 = "ARB_multitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4sARB")] + public static + void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s, Int16 t, Int16 r, Int16 q) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord4sARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16)s, (Int16)t, (Int16)r, (Int16)q); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_multitexture] + /// 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 = "ARB_multitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4svARB")] + public static + void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glMultiTexCoord4svARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_multitexture] + /// 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 = "ARB_multitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4svARB")] + public static + void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glMultiTexCoord4svARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_multitexture] + /// 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 = "ARB_multitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4svARB")] + public static + unsafe void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord4svARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16*)v); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_transpose_matrix] + /// 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 = "ARB_transpose_matrix", Version = "1.2", EntryPoint = "glMultTransposeMatrixdARB")] + public static + void MultTransposeMatrix(Double[] m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* m_ptr = m) + { + Delegates.glMultTransposeMatrixdARB((Double*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_transpose_matrix] + /// 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 = "ARB_transpose_matrix", Version = "1.2", EntryPoint = "glMultTransposeMatrixdARB")] + public static + void MultTransposeMatrix(ref Double m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* m_ptr = &m) + { + Delegates.glMultTransposeMatrixdARB((Double*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_transpose_matrix] + /// 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. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_transpose_matrix", 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 + } + + + /// [requires: ARB_transpose_matrix] + /// 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 = "ARB_transpose_matrix", 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 + } + + + /// [requires: ARB_transpose_matrix] + /// 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 = "ARB_transpose_matrix", Version = "1.2", EntryPoint = "glMultTransposeMatrixfARB")] + public static + void MultTransposeMatrix(ref Single m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* m_ptr = &m) + { + Delegates.glMultTransposeMatrixfARB((Single*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_transpose_matrix] + /// 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. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_transpose_matrix", Version = "1.2", EntryPoint = "glMultTransposeMatrixfARB")] + public static + unsafe void MultTransposeMatrix(Single* m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultTransposeMatrixfARB((Single*)m); + #if DEBUG + } + #endif + } + + /// [requires: ARB_shading_language_include] + [AutoGenerated(Category = "ARB_shading_language_include", Version = "1.2", EntryPoint = "glNamedStringARB")] + public static + void NamedString(OpenTK.Graphics.OpenGL.ArbShadingLanguageInclude type, Int32 namelen, String name, Int32 stringlen, String @string) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedStringARB((OpenTK.Graphics.OpenGL.ArbShadingLanguageInclude)type, (Int32)namelen, (String)name, (Int32)stringlen, (String)@string); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_point_parameters] + /// Specify point parameters + /// + /// + /// + /// Specifies a single-valued point parameter. GL_POINT_FADE_THRESHOLD_SIZE, and GL_POINT_SPRITE_COORD_ORIGIN are accepted. + /// + /// + /// + /// + /// Specifies the value that pname will be set to. + /// + /// + [AutoGenerated(Category = "ARB_point_parameters", Version = "1.0", EntryPoint = "glPointParameterfARB")] + public static + void PointParameter(OpenTK.Graphics.OpenGL.ArbPointParameters pname, Single param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPointParameterfARB((OpenTK.Graphics.OpenGL.ArbPointParameters)pname, (Single)param); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_point_parameters] + /// Specify point parameters + /// + /// + /// + /// Specifies a single-valued point parameter. GL_POINT_FADE_THRESHOLD_SIZE, and GL_POINT_SPRITE_COORD_ORIGIN are accepted. + /// + /// + /// + /// + /// Specifies the value that pname will be set to. + /// + /// + [AutoGenerated(Category = "ARB_point_parameters", Version = "1.0", EntryPoint = "glPointParameterfvARB")] + public static + void PointParameter(OpenTK.Graphics.OpenGL.ArbPointParameters pname, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glPointParameterfvARB((OpenTK.Graphics.OpenGL.ArbPointParameters)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_point_parameters] + /// Specify point parameters + /// + /// + /// + /// Specifies a single-valued point parameter. GL_POINT_FADE_THRESHOLD_SIZE, and GL_POINT_SPRITE_COORD_ORIGIN are accepted. + /// + /// + /// + /// + /// Specifies the value that pname will be set to. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_point_parameters", Version = "1.0", EntryPoint = "glPointParameterfvARB")] + public static + unsafe void PointParameter(OpenTK.Graphics.OpenGL.ArbPointParameters pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPointParameterfvARB((OpenTK.Graphics.OpenGL.ArbPointParameters)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glProgramEnvParameter4dARB")] + public static + void ProgramEnvParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, Double x, Double y, Double z, Double w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramEnvParameter4dARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glProgramEnvParameter4dARB")] + public static + void ProgramEnvParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Double x, Double y, Double z, Double w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramEnvParameter4dARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glProgramEnvParameter4dvARB")] + public static + void ProgramEnvParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, Double[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = @params) + { + Delegates.glProgramEnvParameter4dvARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glProgramEnvParameter4dvARB")] + public static + void ProgramEnvParameter4(OpenTK.Graphics.OpenGL.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.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glProgramEnvParameter4dvARB")] + public static + unsafe void ProgramEnvParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramEnvParameter4dvARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params); + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glProgramEnvParameter4dvARB")] + public static + void ProgramEnvParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Double[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = @params) + { + Delegates.glProgramEnvParameter4dvARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glProgramEnvParameter4dvARB")] + public static + void ProgramEnvParameter4(OpenTK.Graphics.OpenGL.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.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glProgramEnvParameter4dvARB")] + public static + unsafe void ProgramEnvParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramEnvParameter4dvARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params); + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glProgramEnvParameter4fARB")] + public static + void ProgramEnvParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, Single x, Single y, Single z, Single w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramEnvParameter4fARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glProgramEnvParameter4fARB")] + public static + void ProgramEnvParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Single x, Single y, Single z, Single w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramEnvParameter4fARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glProgramEnvParameter4fvARB")] + public static + void ProgramEnvParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glProgramEnvParameter4fvARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glProgramEnvParameter4fvARB")] + public static + void ProgramEnvParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, ref Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glProgramEnvParameter4fvARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glProgramEnvParameter4fvARB")] + public static + unsafe void ProgramEnvParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramEnvParameter4fvARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glProgramEnvParameter4fvARB")] + public static + void ProgramEnvParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glProgramEnvParameter4fvARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glProgramEnvParameter4fvARB")] + public static + void ProgramEnvParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, ref Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glProgramEnvParameter4fvARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glProgramEnvParameter4fvARB")] + public static + unsafe void ProgramEnvParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramEnvParameter4fvARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glProgramLocalParameter4dARB")] + public static + void ProgramLocalParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, Double x, Double y, Double z, Double w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramLocalParameter4dARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glProgramLocalParameter4dARB")] + public static + void ProgramLocalParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Double x, Double y, Double z, Double w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramLocalParameter4dARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glProgramLocalParameter4dvARB")] + public static + void ProgramLocalParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, Double[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = @params) + { + Delegates.glProgramLocalParameter4dvARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glProgramLocalParameter4dvARB")] + public static + void ProgramLocalParameter4(OpenTK.Graphics.OpenGL.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.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glProgramLocalParameter4dvARB")] + public static + unsafe void ProgramLocalParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramLocalParameter4dvARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params); + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glProgramLocalParameter4dvARB")] + public static + void ProgramLocalParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Double[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = @params) + { + Delegates.glProgramLocalParameter4dvARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glProgramLocalParameter4dvARB")] + public static + void ProgramLocalParameter4(OpenTK.Graphics.OpenGL.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.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glProgramLocalParameter4dvARB")] + public static + unsafe void ProgramLocalParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramLocalParameter4dvARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params); + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glProgramLocalParameter4fARB")] + public static + void ProgramLocalParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, Single x, Single y, Single z, Single w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramLocalParameter4fARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glProgramLocalParameter4fARB")] + public static + void ProgramLocalParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Single x, Single y, Single z, Single w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramLocalParameter4fARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glProgramLocalParameter4fvARB")] + public static + void ProgramLocalParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glProgramLocalParameter4fvARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glProgramLocalParameter4fvARB")] + public static + void ProgramLocalParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, ref Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glProgramLocalParameter4fvARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glProgramLocalParameter4fvARB")] + public static + unsafe void ProgramLocalParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramLocalParameter4fvARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glProgramLocalParameter4fvARB")] + public static + void ProgramLocalParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glProgramLocalParameter4fvARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glProgramLocalParameter4fvARB")] + public static + void ProgramLocalParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, ref Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glProgramLocalParameter4fvARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glProgramLocalParameter4fvARB")] + public static + unsafe void ProgramLocalParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramLocalParameter4fvARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_geometry_shader4] + /// Specify a parameter for a program object + /// + /// + /// + /// Specifies the name of a program object whose parameter to modify. + /// + /// + /// + /// + /// Specifies the name of the parameter to modify. + /// + /// + /// + /// + /// Specifies the new value of the parameter specified by pname for program. + /// + /// + [AutoGenerated(Category = "ARB_geometry_shader4", Version = "3.0", EntryPoint = "glProgramParameteriARB")] + public static + void ProgramParameter(Int32 program, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, Int32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramParameteriARB((UInt32)program, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (Int32)value); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_geometry_shader4] + /// Specify a parameter for a program object + /// + /// + /// + /// Specifies the name of a program object whose parameter to modify. + /// + /// + /// + /// + /// Specifies the name of the parameter to modify. + /// + /// + /// + /// + /// Specifies the new value of the parameter specified by pname for program. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_geometry_shader4", Version = "3.0", EntryPoint = "glProgramParameteriARB")] + public static + void ProgramParameter(UInt32 program, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, Int32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramParameteriARB((UInt32)program, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (Int32)value); + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glProgramStringARB")] + public static + void ProgramString(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.ArbVertexProgram format, Int32 len, IntPtr @string) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramStringARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (OpenTK.Graphics.OpenGL.ArbVertexProgram)format, (Int32)len, (IntPtr)@string); + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glProgramStringARB")] + public static + void ProgramString(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.ArbVertexProgram format, Int32 len, [InAttribute, OutAttribute] T3[] @string) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glProgramStringARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (OpenTK.Graphics.OpenGL.ArbVertexProgram)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); + } + finally + { + @string_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glProgramStringARB")] + public static + void ProgramString(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.ArbVertexProgram format, Int32 len, [InAttribute, OutAttribute] T3[,] @string) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glProgramStringARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (OpenTK.Graphics.OpenGL.ArbVertexProgram)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); + } + finally + { + @string_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glProgramStringARB")] + public static + void ProgramString(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.ArbVertexProgram format, Int32 len, [InAttribute, OutAttribute] T3[,,] @string) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glProgramStringARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (OpenTK.Graphics.OpenGL.ArbVertexProgram)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); + } + finally + { + @string_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glProgramStringARB")] + public static + void ProgramString(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.ArbVertexProgram format, Int32 len, [InAttribute, OutAttribute] ref T3 @string) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glProgramStringARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (OpenTK.Graphics.OpenGL.ArbVertexProgram)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); + @string = (T3)@string_ptr.Target; + } + finally + { + @string_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glReadnPixelsARB")] + public static + void ReadnPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [OutAttribute] IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReadnPixelsARB((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)data); + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glReadnPixelsARB")] + public static + void ReadnPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [InAttribute, OutAttribute] T7[] data) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glReadnPixelsARB((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glReadnPixelsARB")] + public static + void ReadnPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [InAttribute, OutAttribute] T7[,] data) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glReadnPixelsARB((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glReadnPixelsARB")] + public static + void ReadnPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [InAttribute, OutAttribute] T7[,,] data) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glReadnPixelsARB((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_robustness] + [AutoGenerated(Category = "ARB_robustness", Version = "4.1", EntryPoint = "glReadnPixelsARB")] + public static + void ReadnPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [InAttribute, OutAttribute] ref T7 data) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glReadnPixelsARB((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + data = (T7)data_ptr.Target; + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_multisample] + /// Specify multisample coverage parameters + /// + /// + /// + /// Specify a single floating-point sample coverage value. The value is clamped to the range [0 ,1]. The initial value is 1.0. + /// + /// + /// + /// + /// 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 = "ARB_multisample", Version = "1.2", EntryPoint = "glSampleCoverageARB")] + public static + void SampleCoverage(Single value, bool invert) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSampleCoverageARB((Single)value, (bool)invert); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_shader_objects] + /// 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 = "ARB_shader_objects", Version = "1.2", EntryPoint = "glShaderSourceARB")] + public static + void ShaderSource(Int32 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 + } + + + /// [requires: ARB_shader_objects] + /// 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 = "ARB_shader_objects", 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 + } + + + /// [requires: ARB_shader_objects] + /// 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 = "ARB_shader_objects", 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 + } + + + /// [requires: ARB_shader_objects] + /// 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 = "ARB_shader_objects", Version = "1.2", EntryPoint = "glShaderSourceARB")] + public static + unsafe void ShaderSource(UInt32 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 + } + + + /// [requires: ARB_texture_buffer_object] + /// Attach the storage for a buffer object to the active buffer texture + /// + /// + /// + /// Specifies the target of the operation and must be GL_TEXTURE_BUFFER. + /// + /// + /// + /// + /// Specifies the internal format of the data in the store belonging to buffer. + /// + /// + /// + /// + /// Specifies the name of the buffer object whose storage to attach to the active buffer texture. + /// + /// + [AutoGenerated(Category = "ARB_texture_buffer_object", Version = "3.0", EntryPoint = "glTexBufferARB")] + public static + void TexBuffer(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.ArbTextureBufferObject internalformat, Int32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexBufferARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.ArbTextureBufferObject)internalformat, (UInt32)buffer); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_texture_buffer_object] + /// Attach the storage for a buffer object to the active buffer texture + /// + /// + /// + /// Specifies the target of the operation and must be GL_TEXTURE_BUFFER. + /// + /// + /// + /// + /// Specifies the internal format of the data in the store belonging to buffer. + /// + /// + /// + /// + /// Specifies the name of the buffer object whose storage to attach to the active buffer texture. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_texture_buffer_object", Version = "3.0", EntryPoint = "glTexBufferARB")] + public static + void TexBuffer(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.ArbTextureBufferObject internalformat, UInt32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexBufferARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.ArbTextureBufferObject)internalformat, (UInt32)buffer); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_shader_objects] + /// 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 = "ARB_shader_objects", Version = "1.2", EntryPoint = "glUniform1fARB")] + public static + void Uniform1(Int32 location, Single v0) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform1fARB((Int32)location, (Single)v0); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_shader_objects] + /// 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 = "ARB_shader_objects", Version = "1.2", EntryPoint = "glUniform1fvARB")] + public static + void Uniform1(Int32 location, Int32 count, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glUniform1fvARB((Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_shader_objects] + /// 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 = "ARB_shader_objects", Version = "1.2", EntryPoint = "glUniform1fvARB")] + public static + void Uniform1(Int32 location, Int32 count, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glUniform1fvARB((Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_shader_objects] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_shader_objects", 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 + } + + + /// [requires: ARB_shader_objects] + /// 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 = "ARB_shader_objects", Version = "1.2", EntryPoint = "glUniform1iARB")] + public static + void Uniform1(Int32 location, Int32 v0) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform1iARB((Int32)location, (Int32)v0); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_shader_objects] + /// 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 = "ARB_shader_objects", Version = "1.2", EntryPoint = "glUniform1ivARB")] + public static + void Uniform1(Int32 location, Int32 count, Int32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = value) + { + Delegates.glUniform1ivARB((Int32)location, (Int32)count, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_shader_objects] + /// 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 = "ARB_shader_objects", Version = "1.2", EntryPoint = "glUniform1ivARB")] + public static + void Uniform1(Int32 location, Int32 count, ref Int32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = &value) + { + Delegates.glUniform1ivARB((Int32)location, (Int32)count, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_shader_objects] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_shader_objects", 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 + } + + + /// [requires: ARB_shader_objects] + /// 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 = "ARB_shader_objects", Version = "1.2", EntryPoint = "glUniform2fARB")] + public static + void Uniform2(Int32 location, Single v0, Single v1) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform2fARB((Int32)location, (Single)v0, (Single)v1); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_shader_objects] + /// 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 = "ARB_shader_objects", 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 + } + + + /// [requires: ARB_shader_objects] + /// 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 = "ARB_shader_objects", Version = "1.2", EntryPoint = "glUniform2fvARB")] + public static + void Uniform2(Int32 location, Int32 count, ref 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 + } + + + /// [requires: ARB_shader_objects] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_shader_objects", Version = "1.2", EntryPoint = "glUniform2fvARB")] + public static + unsafe void Uniform2(Int32 location, Int32 count, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform2fvARB((Int32)location, (Int32)count, (Single*)value); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_shader_objects] + /// 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 = "ARB_shader_objects", Version = "1.2", EntryPoint = "glUniform2iARB")] + public static + void Uniform2(Int32 location, Int32 v0, Int32 v1) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform2iARB((Int32)location, (Int32)v0, (Int32)v1); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_shader_objects] + /// 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 = "ARB_shader_objects", Version = "1.2", EntryPoint = "glUniform2ivARB")] + public static + void Uniform2(Int32 location, Int32 count, Int32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = value) + { + Delegates.glUniform2ivARB((Int32)location, (Int32)count, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_shader_objects] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_shader_objects", Version = "1.2", EntryPoint = "glUniform2ivARB")] + public static + unsafe void Uniform2(Int32 location, Int32 count, Int32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform2ivARB((Int32)location, (Int32)count, (Int32*)value); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_shader_objects] + /// 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 = "ARB_shader_objects", Version = "1.2", EntryPoint = "glUniform3fARB")] + public static + void Uniform3(Int32 location, Single v0, Single v1, Single v2) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform3fARB((Int32)location, (Single)v0, (Single)v1, (Single)v2); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_shader_objects] + /// 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 = "ARB_shader_objects", 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 + } + + + /// [requires: ARB_shader_objects] + /// 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 = "ARB_shader_objects", Version = "1.2", EntryPoint = "glUniform3fvARB")] + public static + void Uniform3(Int32 location, Int32 count, ref 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 + } + + + /// [requires: ARB_shader_objects] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_shader_objects", Version = "1.2", EntryPoint = "glUniform3fvARB")] + public static + unsafe void Uniform3(Int32 location, Int32 count, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform3fvARB((Int32)location, (Int32)count, (Single*)value); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_shader_objects] + /// 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 = "ARB_shader_objects", Version = "1.2", EntryPoint = "glUniform3iARB")] + public static + void Uniform3(Int32 location, Int32 v0, Int32 v1, Int32 v2) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform3iARB((Int32)location, (Int32)v0, (Int32)v1, (Int32)v2); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_shader_objects] + /// 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 = "ARB_shader_objects", Version = "1.2", EntryPoint = "glUniform3ivARB")] + public static + void Uniform3(Int32 location, Int32 count, Int32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = value) + { + Delegates.glUniform3ivARB((Int32)location, (Int32)count, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_shader_objects] + /// 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 = "ARB_shader_objects", Version = "1.2", EntryPoint = "glUniform3ivARB")] + public static + void Uniform3(Int32 location, Int32 count, ref 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); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_shader_objects] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_shader_objects", Version = "1.2", EntryPoint = "glUniform3ivARB")] + public static + unsafe void Uniform3(Int32 location, Int32 count, Int32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform3ivARB((Int32)location, (Int32)count, (Int32*)value); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_shader_objects] + /// 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 = "ARB_shader_objects", Version = "1.2", EntryPoint = "glUniform4fARB")] + public static + void Uniform4(Int32 location, Single v0, Single v1, Single v2, Single v3) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform4fARB((Int32)location, (Single)v0, (Single)v1, (Single)v2, (Single)v3); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_shader_objects] + /// 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 = "ARB_shader_objects", 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 + } + + + /// [requires: ARB_shader_objects] + /// 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 = "ARB_shader_objects", Version = "1.2", EntryPoint = "glUniform4fvARB")] + public static + void Uniform4(Int32 location, Int32 count, ref 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 + } + + + /// [requires: ARB_shader_objects] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_shader_objects", 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 + } + + + /// [requires: ARB_shader_objects] + /// 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 = "ARB_shader_objects", Version = "1.2", EntryPoint = "glUniform4iARB")] + public static + void Uniform4(Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform4iARB((Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, (Int32)v3); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_shader_objects] + /// 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 = "ARB_shader_objects", Version = "1.2", EntryPoint = "glUniform4ivARB")] + public static + void Uniform4(Int32 location, Int32 count, Int32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = value) + { + Delegates.glUniform4ivARB((Int32)location, (Int32)count, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_shader_objects] + /// 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 = "ARB_shader_objects", Version = "1.2", EntryPoint = "glUniform4ivARB")] + public static + void Uniform4(Int32 location, Int32 count, ref Int32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = &value) + { + Delegates.glUniform4ivARB((Int32)location, (Int32)count, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_shader_objects] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_shader_objects", Version = "1.2", EntryPoint = "glUniform4ivARB")] + public static + unsafe void Uniform4(Int32 location, Int32 count, Int32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform4ivARB((Int32)location, (Int32)count, (Int32*)value); + #if DEBUG + } + #endif + } + + /// [requires: ARB_shader_objects] + [AutoGenerated(Category = "ARB_shader_objects", 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 + } + + /// [requires: ARB_shader_objects] + [AutoGenerated(Category = "ARB_shader_objects", Version = "1.2", EntryPoint = "glUniformMatrix2fvARB")] + public static + void UniformMatrix2(Int32 location, Int32 count, bool transpose, ref 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 + } + + /// [requires: ARB_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_shader_objects", Version = "1.2", EntryPoint = "glUniformMatrix2fvARB")] + public static + unsafe void UniformMatrix2(Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniformMatrix2fvARB((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + /// [requires: ARB_shader_objects] + [AutoGenerated(Category = "ARB_shader_objects", Version = "1.2", EntryPoint = "glUniformMatrix3fvARB")] + public static + void UniformMatrix3(Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glUniformMatrix3fvARB((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_shader_objects] + [AutoGenerated(Category = "ARB_shader_objects", Version = "1.2", EntryPoint = "glUniformMatrix3fvARB")] + public static + void UniformMatrix3(Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glUniformMatrix3fvARB((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_shader_objects", 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 + } + + /// [requires: ARB_shader_objects] + [AutoGenerated(Category = "ARB_shader_objects", Version = "1.2", EntryPoint = "glUniformMatrix4fvARB")] + public static + void UniformMatrix4(Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glUniformMatrix4fvARB((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_shader_objects] + [AutoGenerated(Category = "ARB_shader_objects", Version = "1.2", EntryPoint = "glUniformMatrix4fvARB")] + public static + void UniformMatrix4(Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glUniformMatrix4fvARB((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_shader_objects", 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 + } + + /// [requires: ARB_vertex_buffer_object] + [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "1.2", EntryPoint = "glUnmapBufferARB")] + public static + bool UnmapBuffer(OpenTK.Graphics.OpenGL.BufferTargetArb target) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glUnmapBufferARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target); + #if DEBUG + } + #endif + } + + /// [requires: ARB_shader_objects] + [AutoGenerated(Category = "ARB_shader_objects", 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 + } + + /// [requires: ARB_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_shader_objects", Version = "1.2", EntryPoint = "glUseProgramObjectARB")] + public static + void UseProgramObject(UInt32 programObj) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUseProgramObjectARB((UInt32)programObj); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_shader_objects] + /// Validates a program object + /// + /// + /// + /// Specifies the handle of the program object to be validated. + /// + /// + [AutoGenerated(Category = "ARB_shader_objects", Version = "1.2", EntryPoint = "glValidateProgramARB")] + public static + void ValidateProgram(Int32 programObj) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glValidateProgramARB((UInt32)programObj); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_shader_objects] + /// Validates a program object + /// + /// + /// + /// Specifies the handle of the program object to be validated. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_shader_objects", Version = "1.2", EntryPoint = "glValidateProgramARB")] + public static + void ValidateProgram(UInt32 programObj) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glValidateProgramARB((UInt32)programObj); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib1dARB")] + public static + void VertexAttrib1(Int32 index, Double x) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib1dARB((UInt32)index, (Double)x); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib1dARB")] + public static + void VertexAttrib1(UInt32 index, Double x) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib1dARB((UInt32)index, (Double)x); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib1dvARB")] + public static + unsafe void VertexAttrib1(Int32 index, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib1dvARB((UInt32)index, (Double*)v); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", 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 + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", 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 + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib1fARB")] + public static + void VertexAttrib1(UInt32 index, Single x) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib1fARB((UInt32)index, (Single)x); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib1fvARB")] + public static + unsafe void VertexAttrib1(Int32 index, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib1fvARB((UInt32)index, (Single*)v); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", 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 + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", 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 + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib1sARB")] + public static + void VertexAttrib1(UInt32 index, Int16 x) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib1sARB((UInt32)index, (Int16)x); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib1svARB")] + public static + unsafe void VertexAttrib1(Int32 index, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib1svARB((UInt32)index, (Int16*)v); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", 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 + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib2dARB")] + public static + void VertexAttrib2(Int32 index, Double x, Double y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib2dARB((UInt32)index, (Double)x, (Double)y); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib2dARB")] + public static + void VertexAttrib2(UInt32 index, Double x, Double y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib2dARB((UInt32)index, (Double)x, (Double)y); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", 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 + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib2dvARB")] + public static + void VertexAttrib2(Int32 index, ref 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 + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib2dvARB")] + public static + unsafe void VertexAttrib2(Int32 index, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib2dvARB((UInt32)index, (Double*)v); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib2dvARB")] + public static + void VertexAttrib2(UInt32 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 + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib2dvARB")] + public static + void VertexAttrib2(UInt32 index, ref 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 + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", 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 + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib2fARB")] + public static + void VertexAttrib2(Int32 index, Single x, Single y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib2fARB((UInt32)index, (Single)x, (Single)y); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib2fARB")] + public static + void VertexAttrib2(UInt32 index, Single x, Single y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib2fARB((UInt32)index, (Single)x, (Single)y); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib2fvARB")] + public static + 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); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib2fvARB")] + public static + void VertexAttrib2(Int32 index, ref 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 + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", 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 + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", 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 + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib2fvARB")] + public static + void VertexAttrib2(UInt32 index, ref 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 + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", 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 + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib2sARB")] + public static + void VertexAttrib2(Int32 index, Int16 x, Int16 y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib2sARB((UInt32)index, (Int16)x, (Int16)y); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib2sARB")] + public static + void VertexAttrib2(UInt32 index, Int16 x, Int16 y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib2sARB((UInt32)index, (Int16)x, (Int16)y); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib2svARB")] + public static + void VertexAttrib2(Int32 index, 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 + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", 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 + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib2svARB")] + public static + unsafe void VertexAttrib2(Int32 index, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib2svARB((UInt32)index, (Int16*)v); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib2svARB")] + public static + void VertexAttrib2(UInt32 index, 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 + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib2svARB")] + public static + void VertexAttrib2(UInt32 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 + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", 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 + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", 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 + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib3dARB")] + public static + void VertexAttrib3(UInt32 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 + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", 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 + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib3dvARB")] + public static + void VertexAttrib3(Int32 index, ref 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 + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", 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 + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib3dvARB")] + public static + void VertexAttrib3(UInt32 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 + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib3dvARB")] + public static + void VertexAttrib3(UInt32 index, ref 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 + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib3dvARB")] + public static + unsafe void VertexAttrib3(UInt32 index, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib3dvARB((UInt32)index, (Double*)v); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib3fARB")] + public static + void VertexAttrib3(Int32 index, Single x, Single y, Single z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib3fARB((UInt32)index, (Single)x, (Single)y, (Single)z); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib3fARB")] + public static + void VertexAttrib3(UInt32 index, Single x, Single y, Single z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib3fARB((UInt32)index, (Single)x, (Single)y, (Single)z); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib3fvARB")] + public static + void VertexAttrib3(Int32 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 + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib3fvARB")] + public static + void VertexAttrib3(Int32 index, ref 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 + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib3fvARB")] + public static + unsafe void VertexAttrib3(Int32 index, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib3fvARB((UInt32)index, (Single*)v); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", 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 + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib3fvARB")] + public static + void VertexAttrib3(UInt32 index, ref 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 + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", 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 + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib3sARB")] + public static + void VertexAttrib3(Int32 index, Int16 x, Int16 y, Int16 z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib3sARB((UInt32)index, (Int16)x, (Int16)y, (Int16)z); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib3sARB")] + public static + void VertexAttrib3(UInt32 index, Int16 x, Int16 y, Int16 z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib3sARB((UInt32)index, (Int16)x, (Int16)y, (Int16)z); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", 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 + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib3svARB")] + public static + void VertexAttrib3(Int32 index, ref 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 + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", 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 + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib3svARB")] + public static + void VertexAttrib3(UInt32 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 + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib3svARB")] + public static + void VertexAttrib3(UInt32 index, ref 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 + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib3svARB")] + public static + unsafe void VertexAttrib3(UInt32 index, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib3svARB((UInt32)index, (Int16*)v); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib4bvARB")] + public static + void VertexAttrib4(UInt32 index, SByte[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (SByte* v_ptr = v) + { + Delegates.glVertexAttrib4bvARB((UInt32)index, (SByte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib4bvARB")] + public static + void VertexAttrib4(UInt32 index, ref SByte v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (SByte* v_ptr = &v) + { + Delegates.glVertexAttrib4bvARB((UInt32)index, (SByte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", 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 + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib4dARB")] + public static + void VertexAttrib4(Int32 index, Double x, Double y, Double z, Double w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4dARB((UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib4dARB")] + public static + void VertexAttrib4(UInt32 index, Double x, Double y, Double z, Double w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4dARB((UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", 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 + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib4dvARB")] + public static + void VertexAttrib4(Int32 index, ref 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 + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", 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 + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib4dvARB")] + public static + void VertexAttrib4(UInt32 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 + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib4dvARB")] + public static + void VertexAttrib4(UInt32 index, ref 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 + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib4dvARB")] + public static + unsafe void VertexAttrib4(UInt32 index, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4dvARB((UInt32)index, (Double*)v); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib4fARB")] + public static + void VertexAttrib4(Int32 index, Single x, Single y, Single z, Single w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4fARB((UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib4fARB")] + public static + void VertexAttrib4(UInt32 index, Single x, Single y, Single z, Single w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4fARB((UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib4fvARB")] + public static + void VertexAttrib4(Int32 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 + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib4fvARB")] + public static + void VertexAttrib4(Int32 index, ref 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 + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib4fvARB")] + public static + unsafe void VertexAttrib4(Int32 index, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4fvARB((UInt32)index, (Single*)v); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", 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 + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib4fvARB")] + public static + void VertexAttrib4(UInt32 index, ref 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 + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", 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 + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib4ivARB")] + public static + void VertexAttrib4(Int32 index, 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 + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", 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 + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib4ivARB")] + public static + unsafe void VertexAttrib4(Int32 index, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4ivARB((UInt32)index, (Int32*)v); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib4ivARB")] + public static + void VertexAttrib4(UInt32 index, 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 + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib4ivARB")] + public static + void VertexAttrib4(UInt32 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 + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", 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 + } + + /// [requires: ARB_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib4NbvARB")] + public static + void VertexAttrib4N(UInt32 index, SByte[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (SByte* v_ptr = v) + { + Delegates.glVertexAttrib4NbvARB((UInt32)index, (SByte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib4NbvARB")] + public static + void VertexAttrib4N(UInt32 index, ref SByte v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (SByte* v_ptr = &v) + { + Delegates.glVertexAttrib4NbvARB((UInt32)index, (SByte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", 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 + } + + /// [requires: ARB_vertex_program] + [AutoGenerated(Category = "ARB_vertex_program", 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 + } + + /// [requires: ARB_vertex_program] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib4NivARB")] + public static + void VertexAttrib4N(Int32 index, ref 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 + } + + /// [requires: ARB_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", 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 + } + + /// [requires: ARB_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib4NivARB")] + public static + void VertexAttrib4N(UInt32 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 + } + + /// [requires: ARB_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib4NivARB")] + public static + void VertexAttrib4N(UInt32 index, ref 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 + } + + /// [requires: ARB_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib4NivARB")] + public static + unsafe void VertexAttrib4N(UInt32 index, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4NivARB((UInt32)index, (Int32*)v); + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [AutoGenerated(Category = "ARB_vertex_program", 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 + } + + /// [requires: ARB_vertex_program] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib4NsvARB")] + public static + void VertexAttrib4N(Int32 index, ref 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 + } + + /// [requires: ARB_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", 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 + } + + /// [requires: ARB_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib4NsvARB")] + public static + void VertexAttrib4N(UInt32 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 + } + + /// [requires: ARB_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib4NsvARB")] + public static + void VertexAttrib4N(UInt32 index, ref 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 + } + + /// [requires: ARB_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib4NsvARB")] + public static + unsafe void VertexAttrib4N(UInt32 index, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4NsvARB((UInt32)index, (Int16*)v); + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib4NubARB")] + public static + void VertexAttrib4N(Int32 index, Byte x, Byte y, Byte z, Byte w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4NubARB((UInt32)index, (Byte)x, (Byte)y, (Byte)z, (Byte)w); + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib4NubARB")] + public static + void VertexAttrib4N(UInt32 index, Byte x, Byte y, Byte z, Byte w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4NubARB((UInt32)index, (Byte)x, (Byte)y, (Byte)z, (Byte)w); + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [AutoGenerated(Category = "ARB_vertex_program", 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 + } + + /// [requires: ARB_vertex_program] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib4NubvARB")] + public static + void VertexAttrib4N(Int32 index, ref 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 + } + + /// [requires: ARB_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", 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 + } + + /// [requires: ARB_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib4NubvARB")] + public static + void VertexAttrib4N(UInt32 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 + } + + /// [requires: ARB_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib4NubvARB")] + public static + void VertexAttrib4N(UInt32 index, ref 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 + } + + /// [requires: ARB_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib4NubvARB")] + public static + unsafe void VertexAttrib4N(UInt32 index, Byte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4NubvARB((UInt32)index, (Byte*)v); + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", 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 + } + + /// [requires: ARB_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib4NuivARB")] + public static + void VertexAttrib4N(UInt32 index, ref 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 + } + + /// [requires: ARB_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib4NuivARB")] + public static + unsafe void VertexAttrib4N(UInt32 index, UInt32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4NuivARB((UInt32)index, (UInt32*)v); + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib4NusvARB")] + public static + void VertexAttrib4N(UInt32 index, UInt16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt16* v_ptr = v) + { + Delegates.glVertexAttrib4NusvARB((UInt32)index, (UInt16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib4NusvARB")] + public static + void VertexAttrib4N(UInt32 index, ref UInt16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt16* v_ptr = &v) + { + Delegates.glVertexAttrib4NusvARB((UInt32)index, (UInt16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", 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 + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", 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 + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib4sARB")] + public static + void VertexAttrib4(UInt32 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 + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", 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 + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib4svARB")] + public static + void VertexAttrib4(Int32 index, ref 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 + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", 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 + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib4svARB")] + public static + void VertexAttrib4(UInt32 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 + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib4svARB")] + public static + void VertexAttrib4(UInt32 index, ref 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 + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib4svARB")] + public static + unsafe void VertexAttrib4(UInt32 index, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4svARB((UInt32)index, (Int16*)v); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", 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 + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", 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 + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", 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 + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib4ubvARB")] + public static + void VertexAttrib4(UInt32 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 + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib4ubvARB")] + public static + void VertexAttrib4(UInt32 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 + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", 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 + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", 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 + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib4uivARB")] + public static + void VertexAttrib4(UInt32 index, ref 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 + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib4uivARB")] + public static + unsafe void VertexAttrib4(UInt32 index, UInt32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4uivARB((UInt32)index, (UInt32*)v); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", 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 + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib4usvARB")] + public static + void VertexAttrib4(UInt32 index, ref 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 + } + + + /// [requires: ARB_vertex_program] + /// 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 = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttrib4usvARB")] + public static + unsafe void VertexAttrib4(UInt32 index, UInt16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4usvARB((UInt32)index, (UInt16*)v); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_instanced_arrays] + /// Modify the rate at which generic vertex attributes advance during instanced rendering + /// + /// + /// + /// Specify the index of the generic vertex attribute. + /// + /// + /// + /// + /// Specify the number of instances that will pass between updates of the generic attribute at slot index. + /// + /// + [AutoGenerated(Category = "ARB_instanced_arrays", Version = "2.0", EntryPoint = "glVertexAttribDivisorARB")] + public static + void VertexAttribDivisor(Int32 index, Int32 divisor) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribDivisorARB((UInt32)index, (UInt32)divisor); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_instanced_arrays] + /// Modify the rate at which generic vertex attributes advance during instanced rendering + /// + /// + /// + /// Specify the index of the generic vertex attribute. + /// + /// + /// + /// + /// Specify the number of instances that will pass between updates of the generic attribute at slot index. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_instanced_arrays", Version = "2.0", EntryPoint = "glVertexAttribDivisorARB")] + public static + void VertexAttribDivisor(UInt32 index, UInt32 divisor) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribDivisorARB((UInt32)index, (UInt32)divisor); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_program] + /// 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, 4. Additionally, the symbolic constant GL_BGRA is accepted by glVertexAttribPointer. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. The symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, and GL_UNSIGNED_INT are accepted by both functions. Additionally GL_HALF_FLOAT, GL_FLOAT, GL_DOUBLE, GL_FIXED, GL_INT_2_10_10_10_REV, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted by glVertexAttribPointer. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// For glVertexAttribPointer, 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 offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the GL_ARRAY_BUFFER target. The initial value is 0. + /// + /// + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttribPointerARB")] + public static + void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_program] + /// 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, 4. Additionally, the symbolic constant GL_BGRA is accepted by glVertexAttribPointer. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. The symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, and GL_UNSIGNED_INT are accepted by both functions. Additionally GL_HALF_FLOAT, GL_FLOAT, GL_DOUBLE, GL_FIXED, GL_INT_2_10_10_10_REV, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted by glVertexAttribPointer. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// For glVertexAttribPointer, 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 offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the GL_ARRAY_BUFFER target. The initial value is 0. + /// + /// + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttribPointerARB")] + public static + void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, [InAttribute, OutAttribute] 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.OpenGL.VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_program] + /// 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, 4. Additionally, the symbolic constant GL_BGRA is accepted by glVertexAttribPointer. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. The symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, and GL_UNSIGNED_INT are accepted by both functions. Additionally GL_HALF_FLOAT, GL_FLOAT, GL_DOUBLE, GL_FIXED, GL_INT_2_10_10_10_REV, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted by glVertexAttribPointer. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// For glVertexAttribPointer, 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 offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the GL_ARRAY_BUFFER target. The initial value is 0. + /// + /// + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttribPointerARB")] + public static + void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, [InAttribute, OutAttribute] 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.OpenGL.VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_program] + /// 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, 4. Additionally, the symbolic constant GL_BGRA is accepted by glVertexAttribPointer. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. The symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, and GL_UNSIGNED_INT are accepted by both functions. Additionally GL_HALF_FLOAT, GL_FLOAT, GL_DOUBLE, GL_FIXED, GL_INT_2_10_10_10_REV, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted by glVertexAttribPointer. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// For glVertexAttribPointer, 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 offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the GL_ARRAY_BUFFER target. The initial value is 0. + /// + /// + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttribPointerARB")] + public static + void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, [InAttribute, OutAttribute] 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.OpenGL.VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_program] + /// 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, 4. Additionally, the symbolic constant GL_BGRA is accepted by glVertexAttribPointer. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. The symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, and GL_UNSIGNED_INT are accepted by both functions. Additionally GL_HALF_FLOAT, GL_FLOAT, GL_DOUBLE, GL_FIXED, GL_INT_2_10_10_10_REV, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted by glVertexAttribPointer. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// For glVertexAttribPointer, 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 offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the GL_ARRAY_BUFFER target. The initial value is 0. + /// + /// + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttribPointerARB")] + public static + void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, [InAttribute, OutAttribute] ref 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.OpenGL.VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + pointer = (T5)pointer_ptr.Target; + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_program] + /// 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, 4. Additionally, the symbolic constant GL_BGRA is accepted by glVertexAttribPointer. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. The symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, and GL_UNSIGNED_INT are accepted by both functions. Additionally GL_HALF_FLOAT, GL_FLOAT, GL_DOUBLE, GL_FIXED, GL_INT_2_10_10_10_REV, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted by glVertexAttribPointer. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// For glVertexAttribPointer, 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 offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the GL_ARRAY_BUFFER target. The initial value is 0. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttribPointerARB")] + public static + void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_program] + /// 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, 4. Additionally, the symbolic constant GL_BGRA is accepted by glVertexAttribPointer. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. The symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, and GL_UNSIGNED_INT are accepted by both functions. Additionally GL_HALF_FLOAT, GL_FLOAT, GL_DOUBLE, GL_FIXED, GL_INT_2_10_10_10_REV, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted by glVertexAttribPointer. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// For glVertexAttribPointer, 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 offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the GL_ARRAY_BUFFER target. The initial value is 0. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttribPointerARB")] + public static + void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, [InAttribute, OutAttribute] 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.OpenGL.VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_program] + /// 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, 4. Additionally, the symbolic constant GL_BGRA is accepted by glVertexAttribPointer. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. The symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, and GL_UNSIGNED_INT are accepted by both functions. Additionally GL_HALF_FLOAT, GL_FLOAT, GL_DOUBLE, GL_FIXED, GL_INT_2_10_10_10_REV, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted by glVertexAttribPointer. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// For glVertexAttribPointer, 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 offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the GL_ARRAY_BUFFER target. The initial value is 0. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttribPointerARB")] + public static + void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, [InAttribute, OutAttribute] 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.OpenGL.VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_program] + /// 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, 4. Additionally, the symbolic constant GL_BGRA is accepted by glVertexAttribPointer. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. The symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, and GL_UNSIGNED_INT are accepted by both functions. Additionally GL_HALF_FLOAT, GL_FLOAT, GL_DOUBLE, GL_FIXED, GL_INT_2_10_10_10_REV, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted by glVertexAttribPointer. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// For glVertexAttribPointer, 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 offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the GL_ARRAY_BUFFER target. The initial value is 0. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttribPointerARB")] + public static + void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, [InAttribute, OutAttribute] 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.OpenGL.VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_vertex_program] + /// 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, 4. Additionally, the symbolic constant GL_BGRA is accepted by glVertexAttribPointer. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. The symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, and GL_UNSIGNED_INT are accepted by both functions. Additionally GL_HALF_FLOAT, GL_FLOAT, GL_DOUBLE, GL_FIXED, GL_INT_2_10_10_10_REV, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted by glVertexAttribPointer. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// For glVertexAttribPointer, 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 offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the GL_ARRAY_BUFFER target. The initial value is 0. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_program", Version = "1.3", EntryPoint = "glVertexAttribPointerARB")] + public static + void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, [InAttribute, OutAttribute] ref 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.OpenGL.VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + pointer = (T5)pointer_ptr.Target; + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_blend] + [AutoGenerated(Category = "ARB_vertex_blend", Version = "1.1", EntryPoint = "glVertexBlendARB")] + public static + void VertexBlend(Int32 count) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexBlendARB((Int32)count); + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_blend] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_blend", Version = "1.1", EntryPoint = "glWeightbvARB")] + public static + void Weight(Int32 size, 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 + } + + /// [requires: ARB_vertex_blend] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_blend", 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 + } + + /// [requires: ARB_vertex_blend] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_blend", Version = "1.1", EntryPoint = "glWeightbvARB")] + public static + unsafe void Weight(Int32 size, SByte* weights) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWeightbvARB((Int32)size, (SByte*)weights); + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_blend] + [AutoGenerated(Category = "ARB_vertex_blend", Version = "1.1", EntryPoint = "glWeightdvARB")] + public static + void Weight(Int32 size, Double[] weights) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* weights_ptr = weights) + { + Delegates.glWeightdvARB((Int32)size, (Double*)weights_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_blend] + [AutoGenerated(Category = "ARB_vertex_blend", Version = "1.1", EntryPoint = "glWeightdvARB")] + public static + void Weight(Int32 size, ref Double weights) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* weights_ptr = &weights) + { + Delegates.glWeightdvARB((Int32)size, (Double*)weights_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_blend] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_blend", 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 + } + + /// [requires: ARB_vertex_blend] + [AutoGenerated(Category = "ARB_vertex_blend", 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 + } + + /// [requires: ARB_vertex_blend] + [AutoGenerated(Category = "ARB_vertex_blend", Version = "1.1", EntryPoint = "glWeightfvARB")] + public static + void Weight(Int32 size, ref 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 + } + + /// [requires: ARB_vertex_blend] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_blend", Version = "1.1", EntryPoint = "glWeightfvARB")] + public static + unsafe void Weight(Int32 size, Single* weights) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWeightfvARB((Int32)size, (Single*)weights); + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_blend] + [AutoGenerated(Category = "ARB_vertex_blend", Version = "1.1", EntryPoint = "glWeightivARB")] + public static + void Weight(Int32 size, Int32[] weights) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* weights_ptr = weights) + { + Delegates.glWeightivARB((Int32)size, (Int32*)weights_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_blend] + [AutoGenerated(Category = "ARB_vertex_blend", Version = "1.1", EntryPoint = "glWeightivARB")] + public static + void Weight(Int32 size, ref Int32 weights) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* weights_ptr = &weights) + { + Delegates.glWeightivARB((Int32)size, (Int32*)weights_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_blend] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_blend", 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 + } + + /// [requires: ARB_vertex_blend] + [AutoGenerated(Category = "ARB_vertex_blend", Version = "1.1", EntryPoint = "glWeightPointerARB")] + public static + void WeightPointer(Int32 size, OpenTK.Graphics.OpenGL.ArbVertexBlend type, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWeightPointerARB((Int32)size, (OpenTK.Graphics.OpenGL.ArbVertexBlend)type, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_blend] + [AutoGenerated(Category = "ARB_vertex_blend", Version = "1.1", EntryPoint = "glWeightPointerARB")] + public static + void WeightPointer(Int32 size, OpenTK.Graphics.OpenGL.ArbVertexBlend type, Int32 stride, [InAttribute, OutAttribute] 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.OpenGL.ArbVertexBlend)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_blend] + [AutoGenerated(Category = "ARB_vertex_blend", Version = "1.1", EntryPoint = "glWeightPointerARB")] + public static + void WeightPointer(Int32 size, OpenTK.Graphics.OpenGL.ArbVertexBlend type, Int32 stride, [InAttribute, OutAttribute] 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.OpenGL.ArbVertexBlend)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_blend] + [AutoGenerated(Category = "ARB_vertex_blend", Version = "1.1", EntryPoint = "glWeightPointerARB")] + public static + void WeightPointer(Int32 size, OpenTK.Graphics.OpenGL.ArbVertexBlend type, Int32 stride, [InAttribute, OutAttribute] 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.OpenGL.ArbVertexBlend)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_blend] + [AutoGenerated(Category = "ARB_vertex_blend", Version = "1.1", EntryPoint = "glWeightPointerARB")] + public static + void WeightPointer(Int32 size, OpenTK.Graphics.OpenGL.ArbVertexBlend type, Int32 stride, [InAttribute, OutAttribute] 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.OpenGL.ArbVertexBlend)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + pointer = (T3)pointer_ptr.Target; + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_blend] + [AutoGenerated(Category = "ARB_vertex_blend", Version = "1.1", EntryPoint = "glWeightsvARB")] + public static + void Weight(Int32 size, Int16[] weights) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* weights_ptr = weights) + { + Delegates.glWeightsvARB((Int32)size, (Int16*)weights_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_blend] + [AutoGenerated(Category = "ARB_vertex_blend", Version = "1.1", EntryPoint = "glWeightsvARB")] + public static + void Weight(Int32 size, ref Int16 weights) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* weights_ptr = &weights) + { + Delegates.glWeightsvARB((Int32)size, (Int16*)weights_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_blend] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_blend", 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 + } + + /// [requires: ARB_vertex_blend] + [AutoGenerated(Category = "ARB_vertex_blend", Version = "1.1", EntryPoint = "glWeightubvARB")] + public static + void Weight(Int32 size, 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 + } + + /// [requires: ARB_vertex_blend] + [AutoGenerated(Category = "ARB_vertex_blend", 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 + } + + /// [requires: ARB_vertex_blend] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_blend", Version = "1.1", EntryPoint = "glWeightubvARB")] + public static + unsafe void Weight(Int32 size, Byte* weights) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWeightubvARB((Int32)size, (Byte*)weights); + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_blend] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_blend", Version = "1.1", EntryPoint = "glWeightuivARB")] + public static + void Weight(Int32 size, UInt32[] weights) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* weights_ptr = weights) + { + Delegates.glWeightuivARB((Int32)size, (UInt32*)weights_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_blend] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_blend", Version = "1.1", EntryPoint = "glWeightuivARB")] + public static + void Weight(Int32 size, ref UInt32 weights) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* weights_ptr = &weights) + { + Delegates.glWeightuivARB((Int32)size, (UInt32*)weights_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_blend] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_blend", Version = "1.1", EntryPoint = "glWeightuivARB")] + public static + unsafe void Weight(Int32 size, UInt32* weights) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWeightuivARB((Int32)size, (UInt32*)weights); + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_blend] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_blend", Version = "1.1", EntryPoint = "glWeightusvARB")] + public static + void Weight(Int32 size, UInt16[] weights) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt16* weights_ptr = weights) + { + Delegates.glWeightusvARB((Int32)size, (UInt16*)weights_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_blend] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_blend", Version = "1.1", EntryPoint = "glWeightusvARB")] + public static + void Weight(Int32 size, ref UInt16 weights) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt16* weights_ptr = &weights) + { + Delegates.glWeightusvARB((Int32)size, (UInt16*)weights_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_blend] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_blend", 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 + } + + + /// [requires: ARB_window_pos] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "ARB_window_pos", Version = "1.0", EntryPoint = "glWindowPos2dARB")] + public static + void WindowPos2(Double x, Double y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos2dARB((Double)x, (Double)y); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_window_pos] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "ARB_window_pos", Version = "1.0", EntryPoint = "glWindowPos2dvARB")] + public static + void WindowPos2(Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glWindowPos2dvARB((Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_window_pos] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "ARB_window_pos", 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 + } + + + /// [requires: ARB_window_pos] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_window_pos", Version = "1.0", EntryPoint = "glWindowPos2dvARB")] + public static + unsafe void WindowPos2(Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos2dvARB((Double*)v); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_window_pos] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "ARB_window_pos", Version = "1.0", EntryPoint = "glWindowPos2fARB")] + public static + void WindowPos2(Single x, Single y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos2fARB((Single)x, (Single)y); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_window_pos] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "ARB_window_pos", Version = "1.0", EntryPoint = "glWindowPos2fvARB")] + public static + void WindowPos2(Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glWindowPos2fvARB((Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_window_pos] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "ARB_window_pos", Version = "1.0", EntryPoint = "glWindowPos2fvARB")] + public static + void WindowPos2(ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glWindowPos2fvARB((Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_window_pos] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_window_pos", 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 + } + + + /// [requires: ARB_window_pos] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "ARB_window_pos", Version = "1.0", EntryPoint = "glWindowPos2iARB")] + public static + void WindowPos2(Int32 x, Int32 y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos2iARB((Int32)x, (Int32)y); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_window_pos] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "ARB_window_pos", Version = "1.0", EntryPoint = "glWindowPos2ivARB")] + public static + void WindowPos2(Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glWindowPos2ivARB((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_window_pos] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "ARB_window_pos", 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 + } + + + /// [requires: ARB_window_pos] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_window_pos", Version = "1.0", EntryPoint = "glWindowPos2ivARB")] + public static + unsafe void WindowPos2(Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos2ivARB((Int32*)v); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_window_pos] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "ARB_window_pos", Version = "1.0", EntryPoint = "glWindowPos2sARB")] + public static + void WindowPos2(Int16 x, Int16 y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos2sARB((Int16)x, (Int16)y); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_window_pos] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "ARB_window_pos", Version = "1.0", EntryPoint = "glWindowPos2svARB")] + public static + void WindowPos2(Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glWindowPos2svARB((Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_window_pos] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "ARB_window_pos", 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 + } + + + /// [requires: ARB_window_pos] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_window_pos", Version = "1.0", EntryPoint = "glWindowPos2svARB")] + public static + unsafe void WindowPos2(Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos2svARB((Int16*)v); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_window_pos] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "ARB_window_pos", Version = "1.0", EntryPoint = "glWindowPos3dARB")] + public static + void WindowPos3(Double x, Double y, Double z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos3dARB((Double)x, (Double)y, (Double)z); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_window_pos] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "ARB_window_pos", Version = "1.0", EntryPoint = "glWindowPos3dvARB")] + public static + void WindowPos3(Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glWindowPos3dvARB((Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_window_pos] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "ARB_window_pos", 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 + } + + + /// [requires: ARB_window_pos] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_window_pos", Version = "1.0", EntryPoint = "glWindowPos3dvARB")] + public static + unsafe void WindowPos3(Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos3dvARB((Double*)v); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_window_pos] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "ARB_window_pos", Version = "1.0", EntryPoint = "glWindowPos3fARB")] + public static + void WindowPos3(Single x, Single y, Single z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos3fARB((Single)x, (Single)y, (Single)z); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_window_pos] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "ARB_window_pos", Version = "1.0", EntryPoint = "glWindowPos3fvARB")] + public static + void WindowPos3(Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glWindowPos3fvARB((Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_window_pos] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "ARB_window_pos", Version = "1.0", EntryPoint = "glWindowPos3fvARB")] + public static + void WindowPos3(ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glWindowPos3fvARB((Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_window_pos] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_window_pos", 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 + } + + + /// [requires: ARB_window_pos] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "ARB_window_pos", Version = "1.0", EntryPoint = "glWindowPos3iARB")] + public static + void WindowPos3(Int32 x, Int32 y, Int32 z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos3iARB((Int32)x, (Int32)y, (Int32)z); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_window_pos] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "ARB_window_pos", Version = "1.0", EntryPoint = "glWindowPos3ivARB")] + public static + void WindowPos3(Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glWindowPos3ivARB((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_window_pos] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "ARB_window_pos", 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 + } + + + /// [requires: ARB_window_pos] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_window_pos", Version = "1.0", EntryPoint = "glWindowPos3ivARB")] + public static + unsafe void WindowPos3(Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos3ivARB((Int32*)v); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_window_pos] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "ARB_window_pos", Version = "1.0", EntryPoint = "glWindowPos3sARB")] + public static + void WindowPos3(Int16 x, Int16 y, Int16 z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos3sARB((Int16)x, (Int16)y, (Int16)z); + #if DEBUG + } + #endif + } + + + /// [requires: ARB_window_pos] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "ARB_window_pos", Version = "1.0", EntryPoint = "glWindowPos3svARB")] + public static + void WindowPos3(Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glWindowPos3svARB((Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ARB_window_pos] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "ARB_window_pos", 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 + } + + + /// [requires: ARB_window_pos] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_window_pos", Version = "1.0", EntryPoint = "glWindowPos3svARB")] + public static + unsafe void WindowPos3(Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos3svARB((Int16*)v); + #if DEBUG + } + #endif + } + + } + + public static partial class Ati + { + /// [requires: ATI_fragment_shader] + [AutoGenerated(Category = "ATI_fragment_shader", Version = "1.2", EntryPoint = "glAlphaFragmentOp1ATI")] + public static + void AlphaFragmentOp1(OpenTK.Graphics.OpenGL.AtiFragmentShader op, Int32 dst, Int32 dstMod, Int32 arg1, Int32 arg1Rep, Int32 arg1Mod) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glAlphaFragmentOp1ATI((OpenTK.Graphics.OpenGL.AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod); + #if DEBUG + } + #endif + } + + /// [requires: ATI_fragment_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ATI_fragment_shader", Version = "1.2", EntryPoint = "glAlphaFragmentOp1ATI")] + public static + void AlphaFragmentOp1(OpenTK.Graphics.OpenGL.AtiFragmentShader op, UInt32 dst, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glAlphaFragmentOp1ATI((OpenTK.Graphics.OpenGL.AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod); + #if DEBUG + } + #endif + } + + /// [requires: ATI_fragment_shader] + [AutoGenerated(Category = "ATI_fragment_shader", Version = "1.2", EntryPoint = "glAlphaFragmentOp2ATI")] + public static + void AlphaFragmentOp2(OpenTK.Graphics.OpenGL.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.OpenGL.AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, (UInt32)arg2, (UInt32)arg2Rep, (UInt32)arg2Mod); + #if DEBUG + } + #endif + } + + /// [requires: ATI_fragment_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ATI_fragment_shader", Version = "1.2", EntryPoint = "glAlphaFragmentOp2ATI")] + public static + void AlphaFragmentOp2(OpenTK.Graphics.OpenGL.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.OpenGL.AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, (UInt32)arg2, (UInt32)arg2Rep, (UInt32)arg2Mod); + #if DEBUG + } + #endif + } + + /// [requires: ATI_fragment_shader] + [AutoGenerated(Category = "ATI_fragment_shader", Version = "1.2", EntryPoint = "glAlphaFragmentOp3ATI")] + public static + void AlphaFragmentOp3(OpenTK.Graphics.OpenGL.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.OpenGL.AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, (UInt32)arg2, (UInt32)arg2Rep, (UInt32)arg2Mod, (UInt32)arg3, (UInt32)arg3Rep, (UInt32)arg3Mod); + #if DEBUG + } + #endif + } + + /// [requires: ATI_fragment_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ATI_fragment_shader", Version = "1.2", EntryPoint = "glAlphaFragmentOp3ATI")] + public static + void AlphaFragmentOp3(OpenTK.Graphics.OpenGL.AtiFragmentShader op, UInt32 dst, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod, UInt32 arg3, UInt32 arg3Rep, UInt32 arg3Mod) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glAlphaFragmentOp3ATI((OpenTK.Graphics.OpenGL.AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, (UInt32)arg2, (UInt32)arg2Rep, (UInt32)arg2Mod, (UInt32)arg3, (UInt32)arg3Rep, (UInt32)arg3Mod); + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_array_object] + [AutoGenerated(Category = "ATI_vertex_array_object", Version = "1.2", EntryPoint = "glArrayObjectATI")] + public static + void ArrayObject(OpenTK.Graphics.OpenGL.EnableCap array, Int32 size, OpenTK.Graphics.OpenGL.AtiVertexArrayObject type, Int32 stride, Int32 buffer, Int32 offset) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glArrayObjectATI((OpenTK.Graphics.OpenGL.EnableCap)array, (Int32)size, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)type, (Int32)stride, (UInt32)buffer, (UInt32)offset); + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_array_object] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ATI_vertex_array_object", Version = "1.2", EntryPoint = "glArrayObjectATI")] + public static + void ArrayObject(OpenTK.Graphics.OpenGL.EnableCap array, Int32 size, OpenTK.Graphics.OpenGL.AtiVertexArrayObject type, Int32 stride, UInt32 buffer, UInt32 offset) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glArrayObjectATI((OpenTK.Graphics.OpenGL.EnableCap)array, (Int32)size, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)type, (Int32)stride, (UInt32)buffer, (UInt32)offset); + #if DEBUG + } + #endif + } + + /// [requires: ATI_fragment_shader] + [AutoGenerated(Category = "ATI_fragment_shader", Version = "1.2", EntryPoint = "glBeginFragmentShaderATI")] + public static + void BeginFragmentShader() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBeginFragmentShaderATI(); + #if DEBUG + } + #endif + } + + /// [requires: ATI_fragment_shader] + [AutoGenerated(Category = "ATI_fragment_shader", 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 + } + + /// [requires: ATI_fragment_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ATI_fragment_shader", Version = "1.2", EntryPoint = "glBindFragmentShaderATI")] + public static + void BindFragmentShader(UInt32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindFragmentShaderATI((UInt32)id); + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_streams] + [AutoGenerated(Category = "ATI_vertex_streams", Version = "1.2", EntryPoint = "glClientActiveVertexStreamATI")] + public static + void ClientActiveVertexStream(OpenTK.Graphics.OpenGL.AtiVertexStreams stream) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glClientActiveVertexStreamATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream); + #if DEBUG + } + #endif + } + + /// [requires: ATI_fragment_shader] + [AutoGenerated(Category = "ATI_fragment_shader", Version = "1.2", EntryPoint = "glColorFragmentOp1ATI")] + public static + void ColorFragmentOp1(OpenTK.Graphics.OpenGL.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.OpenGL.AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMask, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod); + #if DEBUG + } + #endif + } + + /// [requires: ATI_fragment_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ATI_fragment_shader", Version = "1.2", EntryPoint = "glColorFragmentOp1ATI")] + public static + void ColorFragmentOp1(OpenTK.Graphics.OpenGL.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.OpenGL.AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMask, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod); + #if DEBUG + } + #endif + } + + /// [requires: ATI_fragment_shader] + [AutoGenerated(Category = "ATI_fragment_shader", Version = "1.2", EntryPoint = "glColorFragmentOp2ATI")] + public static + void ColorFragmentOp2(OpenTK.Graphics.OpenGL.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.OpenGL.AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMask, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, (UInt32)arg2, (UInt32)arg2Rep, (UInt32)arg2Mod); + #if DEBUG + } + #endif + } + + /// [requires: ATI_fragment_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ATI_fragment_shader", Version = "1.2", EntryPoint = "glColorFragmentOp2ATI")] + public static + void ColorFragmentOp2(OpenTK.Graphics.OpenGL.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.OpenGL.AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMask, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, (UInt32)arg2, (UInt32)arg2Rep, (UInt32)arg2Mod); + #if DEBUG + } + #endif + } + + /// [requires: ATI_fragment_shader] + [AutoGenerated(Category = "ATI_fragment_shader", Version = "1.2", EntryPoint = "glColorFragmentOp3ATI")] + public static + void ColorFragmentOp3(OpenTK.Graphics.OpenGL.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.OpenGL.AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMask, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, (UInt32)arg2, (UInt32)arg2Rep, (UInt32)arg2Mod, (UInt32)arg3, (UInt32)arg3Rep, (UInt32)arg3Mod); + #if DEBUG + } + #endif + } + + /// [requires: ATI_fragment_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ATI_fragment_shader", Version = "1.2", EntryPoint = "glColorFragmentOp3ATI")] + public static + void ColorFragmentOp3(OpenTK.Graphics.OpenGL.AtiFragmentShader op, UInt32 dst, UInt32 dstMask, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod, UInt32 arg3, UInt32 arg3Rep, UInt32 arg3Mod) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColorFragmentOp3ATI((OpenTK.Graphics.OpenGL.AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMask, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, (UInt32)arg2, (UInt32)arg2Rep, (UInt32)arg2Mod, (UInt32)arg3, (UInt32)arg3Rep, (UInt32)arg3Mod); + #if DEBUG + } + #endif + } + + /// [requires: ATI_fragment_shader] + [AutoGenerated(Category = "ATI_fragment_shader", 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 + } + + /// [requires: ATI_fragment_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ATI_fragment_shader", Version = "1.2", EntryPoint = "glDeleteFragmentShaderATI")] + public static + void DeleteFragmentShader(UInt32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteFragmentShaderATI((UInt32)id); + #if DEBUG + } + #endif + } + + + /// [requires: ATI_draw_buffers] + /// 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 = "ATI_draw_buffers", Version = "1.2", EntryPoint = "glDrawBuffersATI")] + public static + void DrawBuffers(Int32 n, OpenTK.Graphics.OpenGL.AtiDrawBuffers[] bufs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Graphics.OpenGL.AtiDrawBuffers* bufs_ptr = bufs) + { + Delegates.glDrawBuffersATI((Int32)n, (OpenTK.Graphics.OpenGL.AtiDrawBuffers*)bufs_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ATI_draw_buffers] + /// 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 = "ATI_draw_buffers", Version = "1.2", EntryPoint = "glDrawBuffersATI")] + public static + void DrawBuffers(Int32 n, ref OpenTK.Graphics.OpenGL.AtiDrawBuffers bufs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Graphics.OpenGL.AtiDrawBuffers* bufs_ptr = &bufs) + { + Delegates.glDrawBuffersATI((Int32)n, (OpenTK.Graphics.OpenGL.AtiDrawBuffers*)bufs_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: ATI_draw_buffers] + /// 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 = "ATI_draw_buffers", Version = "1.2", EntryPoint = "glDrawBuffersATI")] + public static + unsafe void DrawBuffers(Int32 n, OpenTK.Graphics.OpenGL.AtiDrawBuffers* bufs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawBuffersATI((Int32)n, (OpenTK.Graphics.OpenGL.AtiDrawBuffers*)bufs); + #if DEBUG + } + #endif + } + + /// [requires: ATI_element_array] + [AutoGenerated(Category = "ATI_element_array", Version = "1.2", EntryPoint = "glDrawElementArrayATI")] + public static + void DrawElementArray(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawElementArrayATI((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)count); + #if DEBUG + } + #endif + } + + /// [requires: ATI_element_array] + [AutoGenerated(Category = "ATI_element_array", Version = "1.2", EntryPoint = "glDrawRangeElementArrayATI")] + public static + void DrawRangeElementArray(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, Int32 count) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawRangeElementArrayATI((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count); + #if DEBUG + } + #endif + } + + /// [requires: ATI_element_array] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ATI_element_array", Version = "1.2", EntryPoint = "glDrawRangeElementArrayATI")] + public static + void DrawRangeElementArray(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 count) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawRangeElementArrayATI((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count); + #if DEBUG + } + #endif + } + + /// [requires: ATI_element_array] + [AutoGenerated(Category = "ATI_element_array", Version = "1.2", EntryPoint = "glElementPointerATI")] + public static + void ElementPointer(OpenTK.Graphics.OpenGL.AtiElementArray type, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glElementPointerATI((OpenTK.Graphics.OpenGL.AtiElementArray)type, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + /// [requires: ATI_element_array] + [AutoGenerated(Category = "ATI_element_array", Version = "1.2", EntryPoint = "glElementPointerATI")] + public static + void ElementPointer(OpenTK.Graphics.OpenGL.AtiElementArray type, [InAttribute, OutAttribute] T1[] pointer) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glElementPointerATI((OpenTK.Graphics.OpenGL.AtiElementArray)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ATI_element_array] + [AutoGenerated(Category = "ATI_element_array", Version = "1.2", EntryPoint = "glElementPointerATI")] + public static + void ElementPointer(OpenTK.Graphics.OpenGL.AtiElementArray type, [InAttribute, OutAttribute] T1[,] pointer) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glElementPointerATI((OpenTK.Graphics.OpenGL.AtiElementArray)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ATI_element_array] + [AutoGenerated(Category = "ATI_element_array", Version = "1.2", EntryPoint = "glElementPointerATI")] + public static + void ElementPointer(OpenTK.Graphics.OpenGL.AtiElementArray type, [InAttribute, OutAttribute] T1[,,] pointer) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glElementPointerATI((OpenTK.Graphics.OpenGL.AtiElementArray)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ATI_element_array] + [AutoGenerated(Category = "ATI_element_array", Version = "1.2", EntryPoint = "glElementPointerATI")] + public static + void ElementPointer(OpenTK.Graphics.OpenGL.AtiElementArray type, [InAttribute, OutAttribute] ref T1 pointer) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glElementPointerATI((OpenTK.Graphics.OpenGL.AtiElementArray)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + pointer = (T1)pointer_ptr.Target; + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ATI_fragment_shader] + [AutoGenerated(Category = "ATI_fragment_shader", Version = "1.2", EntryPoint = "glEndFragmentShaderATI")] + public static + void EndFragmentShader() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEndFragmentShaderATI(); + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_array_object] + [AutoGenerated(Category = "ATI_vertex_array_object", Version = "1.2", EntryPoint = "glFreeObjectBufferATI")] + public static + void FreeObjectBuffer(Int32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFreeObjectBufferATI((UInt32)buffer); + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_array_object] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ATI_vertex_array_object", Version = "1.2", EntryPoint = "glFreeObjectBufferATI")] + public static + void FreeObjectBuffer(UInt32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFreeObjectBufferATI((UInt32)buffer); + #if DEBUG + } + #endif + } + + /// [requires: ATI_fragment_shader] + [AutoGenerated(Category = "ATI_fragment_shader", Version = "1.2", EntryPoint = "glGenFragmentShadersATI")] + public static + Int32 GenFragmentShaders(Int32 range) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glGenFragmentShadersATI((UInt32)range); + #if DEBUG + } + #endif + } + + /// [requires: ATI_fragment_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ATI_fragment_shader", Version = "1.2", EntryPoint = "glGenFragmentShadersATI")] + public static + Int32 GenFragmentShaders(UInt32 range) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glGenFragmentShadersATI((UInt32)range); + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_array_object] + [AutoGenerated(Category = "ATI_vertex_array_object", Version = "1.2", EntryPoint = "glGetArrayObjectfvATI")] + public static + void GetArrayObject(OpenTK.Graphics.OpenGL.EnableCap array, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetArrayObjectfvATI((OpenTK.Graphics.OpenGL.EnableCap)array, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_array_object] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ATI_vertex_array_object", Version = "1.2", EntryPoint = "glGetArrayObjectfvATI")] + public static + unsafe void GetArrayObject(OpenTK.Graphics.OpenGL.EnableCap array, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetArrayObjectfvATI((OpenTK.Graphics.OpenGL.EnableCap)array, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_array_object] + [AutoGenerated(Category = "ATI_vertex_array_object", Version = "1.2", EntryPoint = "glGetArrayObjectivATI")] + public static + void GetArrayObject(OpenTK.Graphics.OpenGL.EnableCap array, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetArrayObjectivATI((OpenTK.Graphics.OpenGL.EnableCap)array, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_array_object] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ATI_vertex_array_object", Version = "1.2", EntryPoint = "glGetArrayObjectivATI")] + public static + unsafe void GetArrayObject(OpenTK.Graphics.OpenGL.EnableCap array, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetArrayObjectivATI((OpenTK.Graphics.OpenGL.EnableCap)array, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_array_object] + [AutoGenerated(Category = "ATI_vertex_array_object", Version = "1.2", EntryPoint = "glGetObjectBufferfvATI")] + public static + void GetObjectBuffer(Int32 buffer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetObjectBufferfvATI((UInt32)buffer, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_array_object] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ATI_vertex_array_object", Version = "1.2", EntryPoint = "glGetObjectBufferfvATI")] + public static + unsafe void GetObjectBuffer(Int32 buffer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetObjectBufferfvATI((UInt32)buffer, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_array_object] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ATI_vertex_array_object", Version = "1.2", EntryPoint = "glGetObjectBufferfvATI")] + public static + void GetObjectBuffer(UInt32 buffer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetObjectBufferfvATI((UInt32)buffer, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_array_object] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ATI_vertex_array_object", Version = "1.2", EntryPoint = "glGetObjectBufferfvATI")] + public static + unsafe void GetObjectBuffer(UInt32 buffer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetObjectBufferfvATI((UInt32)buffer, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_array_object] + [AutoGenerated(Category = "ATI_vertex_array_object", Version = "1.2", EntryPoint = "glGetObjectBufferivATI")] + public static + void GetObjectBuffer(Int32 buffer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetObjectBufferivATI((UInt32)buffer, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_array_object] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ATI_vertex_array_object", Version = "1.2", EntryPoint = "glGetObjectBufferivATI")] + public static + unsafe void GetObjectBuffer(Int32 buffer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetObjectBufferivATI((UInt32)buffer, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_array_object] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ATI_vertex_array_object", Version = "1.2", EntryPoint = "glGetObjectBufferivATI")] + public static + void GetObjectBuffer(UInt32 buffer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetObjectBufferivATI((UInt32)buffer, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_array_object] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ATI_vertex_array_object", Version = "1.2", EntryPoint = "glGetObjectBufferivATI")] + public static + unsafe void GetObjectBuffer(UInt32 buffer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetObjectBufferivATI((UInt32)buffer, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: ATI_envmap_bumpmap] + [AutoGenerated(Category = "ATI_envmap_bumpmap", Version = "1.2", EntryPoint = "glGetTexBumpParameterfvATI")] + public static + void GetTexBumpParameter(OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap pname, [OutAttribute] Single[] param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* param_ptr = param) + { + Delegates.glGetTexBumpParameterfvATI((OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap)pname, (Single*)param_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ATI_envmap_bumpmap] + [AutoGenerated(Category = "ATI_envmap_bumpmap", Version = "1.2", EntryPoint = "glGetTexBumpParameterfvATI")] + public static + void GetTexBumpParameter(OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap pname, [OutAttribute] out Single param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* param_ptr = ¶m) + { + Delegates.glGetTexBumpParameterfvATI((OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap)pname, (Single*)param_ptr); + param = *param_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: ATI_envmap_bumpmap] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ATI_envmap_bumpmap", Version = "1.2", EntryPoint = "glGetTexBumpParameterfvATI")] + public static + unsafe void GetTexBumpParameter(OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap pname, [OutAttribute] Single* param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTexBumpParameterfvATI((OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap)pname, (Single*)param); + #if DEBUG + } + #endif + } + + /// [requires: ATI_envmap_bumpmap] + [AutoGenerated(Category = "ATI_envmap_bumpmap", Version = "1.2", EntryPoint = "glGetTexBumpParameterivATI")] + public static + void GetTexBumpParameter(OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap pname, [OutAttribute] Int32[] param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* param_ptr = param) + { + Delegates.glGetTexBumpParameterivATI((OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap)pname, (Int32*)param_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ATI_envmap_bumpmap] + [AutoGenerated(Category = "ATI_envmap_bumpmap", Version = "1.2", EntryPoint = "glGetTexBumpParameterivATI")] + public static + void GetTexBumpParameter(OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap pname, [OutAttribute] out Int32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* param_ptr = ¶m) + { + Delegates.glGetTexBumpParameterivATI((OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap)pname, (Int32*)param_ptr); + param = *param_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: ATI_envmap_bumpmap] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ATI_envmap_bumpmap", Version = "1.2", EntryPoint = "glGetTexBumpParameterivATI")] + public static + unsafe void GetTexBumpParameter(OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap pname, [OutAttribute] Int32* param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTexBumpParameterivATI((OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap)pname, (Int32*)param); + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_array_object] + [AutoGenerated(Category = "ATI_vertex_array_object", Version = "1.2", EntryPoint = "glGetVariantArrayObjectfvATI")] + public static + void GetVariantArrayObject(Int32 id, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetVariantArrayObjectfvATI((UInt32)id, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_array_object] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ATI_vertex_array_object", Version = "1.2", EntryPoint = "glGetVariantArrayObjectfvATI")] + public static + unsafe void GetVariantArrayObject(Int32 id, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVariantArrayObjectfvATI((UInt32)id, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_array_object] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ATI_vertex_array_object", Version = "1.2", EntryPoint = "glGetVariantArrayObjectfvATI")] + public static + void GetVariantArrayObject(UInt32 id, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetVariantArrayObjectfvATI((UInt32)id, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_array_object] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ATI_vertex_array_object", Version = "1.2", EntryPoint = "glGetVariantArrayObjectfvATI")] + public static + unsafe void GetVariantArrayObject(UInt32 id, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVariantArrayObjectfvATI((UInt32)id, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_array_object] + [AutoGenerated(Category = "ATI_vertex_array_object", Version = "1.2", EntryPoint = "glGetVariantArrayObjectivATI")] + public static + void GetVariantArrayObject(Int32 id, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetVariantArrayObjectivATI((UInt32)id, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_array_object] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ATI_vertex_array_object", Version = "1.2", EntryPoint = "glGetVariantArrayObjectivATI")] + public static + unsafe void GetVariantArrayObject(Int32 id, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVariantArrayObjectivATI((UInt32)id, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_array_object] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ATI_vertex_array_object", Version = "1.2", EntryPoint = "glGetVariantArrayObjectivATI")] + public static + void GetVariantArrayObject(UInt32 id, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetVariantArrayObjectivATI((UInt32)id, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_array_object] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ATI_vertex_array_object", Version = "1.2", EntryPoint = "glGetVariantArrayObjectivATI")] + public static + unsafe void GetVariantArrayObject(UInt32 id, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVariantArrayObjectivATI((UInt32)id, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_attrib_array_object] + [AutoGenerated(Category = "ATI_vertex_attrib_array_object", Version = "1.2", EntryPoint = "glGetVertexAttribArrayObjectfvATI")] + public static + void GetVertexAttribArrayObject(Int32 index, OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject pname, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetVertexAttribArrayObjectfvATI((UInt32)index, (OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_attrib_array_object] + [AutoGenerated(Category = "ATI_vertex_attrib_array_object", Version = "1.2", EntryPoint = "glGetVertexAttribArrayObjectfvATI")] + public static + void GetVertexAttribArrayObject(Int32 index, OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject pname, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetVertexAttribArrayObjectfvATI((UInt32)index, (OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_attrib_array_object] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ATI_vertex_attrib_array_object", Version = "1.2", EntryPoint = "glGetVertexAttribArrayObjectfvATI")] + public static + unsafe void GetVertexAttribArrayObject(Int32 index, OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject pname, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribArrayObjectfvATI((UInt32)index, (OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_attrib_array_object] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ATI_vertex_attrib_array_object", Version = "1.2", EntryPoint = "glGetVertexAttribArrayObjectfvATI")] + public static + void GetVertexAttribArrayObject(UInt32 index, OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject pname, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetVertexAttribArrayObjectfvATI((UInt32)index, (OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_attrib_array_object] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ATI_vertex_attrib_array_object", Version = "1.2", EntryPoint = "glGetVertexAttribArrayObjectfvATI")] + public static + void GetVertexAttribArrayObject(UInt32 index, OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject pname, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetVertexAttribArrayObjectfvATI((UInt32)index, (OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_attrib_array_object] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ATI_vertex_attrib_array_object", Version = "1.2", EntryPoint = "glGetVertexAttribArrayObjectfvATI")] + public static + unsafe void GetVertexAttribArrayObject(UInt32 index, OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject pname, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribArrayObjectfvATI((UInt32)index, (OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_attrib_array_object] + [AutoGenerated(Category = "ATI_vertex_attrib_array_object", Version = "1.2", EntryPoint = "glGetVertexAttribArrayObjectivATI")] + public static + void GetVertexAttribArrayObject(Int32 index, OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetVertexAttribArrayObjectivATI((UInt32)index, (OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_attrib_array_object] + [AutoGenerated(Category = "ATI_vertex_attrib_array_object", Version = "1.2", EntryPoint = "glGetVertexAttribArrayObjectivATI")] + public static + void GetVertexAttribArrayObject(Int32 index, OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetVertexAttribArrayObjectivATI((UInt32)index, (OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_attrib_array_object] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ATI_vertex_attrib_array_object", Version = "1.2", EntryPoint = "glGetVertexAttribArrayObjectivATI")] + public static + unsafe void GetVertexAttribArrayObject(Int32 index, OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribArrayObjectivATI((UInt32)index, (OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_attrib_array_object] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ATI_vertex_attrib_array_object", Version = "1.2", EntryPoint = "glGetVertexAttribArrayObjectivATI")] + public static + void GetVertexAttribArrayObject(UInt32 index, OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetVertexAttribArrayObjectivATI((UInt32)index, (OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_attrib_array_object] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ATI_vertex_attrib_array_object", Version = "1.2", EntryPoint = "glGetVertexAttribArrayObjectivATI")] + public static + void GetVertexAttribArrayObject(UInt32 index, OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetVertexAttribArrayObjectivATI((UInt32)index, (OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_attrib_array_object] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ATI_vertex_attrib_array_object", Version = "1.2", EntryPoint = "glGetVertexAttribArrayObjectivATI")] + public static + unsafe void GetVertexAttribArrayObject(UInt32 index, OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribArrayObjectivATI((UInt32)index, (OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_array_object] + [AutoGenerated(Category = "ATI_vertex_array_object", Version = "1.2", EntryPoint = "glIsObjectBufferATI")] + public static + bool IsObjectBuffer(Int32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsObjectBufferATI((UInt32)buffer); + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_array_object] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ATI_vertex_array_object", Version = "1.2", EntryPoint = "glIsObjectBufferATI")] + public static + bool IsObjectBuffer(UInt32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsObjectBufferATI((UInt32)buffer); + #if DEBUG + } + #endif + } + + /// [requires: ATI_map_object_buffer] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ATI_map_object_buffer", Version = "1.2", EntryPoint = "glMapObjectBufferATI")] + public static + unsafe IntPtr MapObjectBuffer(Int32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glMapObjectBufferATI((UInt32)buffer); + #if DEBUG + } + #endif + } + + /// [requires: ATI_map_object_buffer] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ATI_map_object_buffer", Version = "1.2", EntryPoint = "glMapObjectBufferATI")] + public static + unsafe IntPtr MapObjectBuffer(UInt32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glMapObjectBufferATI((UInt32)buffer); + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_array_object] + [AutoGenerated(Category = "ATI_vertex_array_object", Version = "1.2", EntryPoint = "glNewObjectBufferATI")] + public static + Int32 NewObjectBuffer(Int32 size, IntPtr pointer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject usage) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glNewObjectBufferATI((Int32)size, (IntPtr)pointer, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)usage); + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_array_object] + [AutoGenerated(Category = "ATI_vertex_array_object", Version = "1.2", EntryPoint = "glNewObjectBufferATI")] + public static + Int32 NewObjectBuffer(Int32 size, [InAttribute, OutAttribute] T1[] pointer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject usage) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + return Delegates.glNewObjectBufferATI((Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)usage); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_array_object] + [AutoGenerated(Category = "ATI_vertex_array_object", Version = "1.2", EntryPoint = "glNewObjectBufferATI")] + public static + Int32 NewObjectBuffer(Int32 size, [InAttribute, OutAttribute] T1[,] pointer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject usage) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + return Delegates.glNewObjectBufferATI((Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)usage); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_array_object] + [AutoGenerated(Category = "ATI_vertex_array_object", Version = "1.2", EntryPoint = "glNewObjectBufferATI")] + public static + Int32 NewObjectBuffer(Int32 size, [InAttribute, OutAttribute] T1[,,] pointer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject usage) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + return Delegates.glNewObjectBufferATI((Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)usage); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_array_object] + [AutoGenerated(Category = "ATI_vertex_array_object", Version = "1.2", EntryPoint = "glNewObjectBufferATI")] + public static + Int32 NewObjectBuffer(Int32 size, [InAttribute, OutAttribute] ref T1 pointer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject usage) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Int32 retval = Delegates.glNewObjectBufferATI((Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)usage); + pointer = (T1)pointer_ptr.Target; + return retval; + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_streams] + [AutoGenerated(Category = "ATI_vertex_streams", Version = "1.2", EntryPoint = "glNormalStream3bATI")] + public static + void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Byte nx, Byte ny, Byte nz) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormalStream3bATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (SByte)nx, (SByte)ny, (SByte)nz); + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_streams] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ATI_vertex_streams", Version = "1.2", EntryPoint = "glNormalStream3bATI")] + public static + void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, SByte nx, SByte ny, SByte nz) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormalStream3bATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (SByte)nx, (SByte)ny, (SByte)nz); + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_streams] + [AutoGenerated(Category = "ATI_vertex_streams", Version = "1.2", EntryPoint = "glNormalStream3bvATI")] + public static + void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Byte[] coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* coords_ptr = coords) + { + Delegates.glNormalStream3bvATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (SByte*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_streams] + [AutoGenerated(Category = "ATI_vertex_streams", Version = "1.2", EntryPoint = "glNormalStream3bvATI")] + public static + void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, ref Byte coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* coords_ptr = &coords) + { + Delegates.glNormalStream3bvATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (SByte*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_streams] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ATI_vertex_streams", Version = "1.2", EntryPoint = "glNormalStream3bvATI")] + public static + unsafe void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Byte* coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormalStream3bvATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (SByte*)coords); + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_streams] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ATI_vertex_streams", Version = "1.2", EntryPoint = "glNormalStream3bvATI")] + public static + void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, SByte[] coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (SByte* coords_ptr = coords) + { + Delegates.glNormalStream3bvATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (SByte*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_streams] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ATI_vertex_streams", Version = "1.2", EntryPoint = "glNormalStream3bvATI")] + public static + void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, ref SByte coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (SByte* coords_ptr = &coords) + { + Delegates.glNormalStream3bvATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (SByte*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_streams] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ATI_vertex_streams", Version = "1.2", EntryPoint = "glNormalStream3bvATI")] + public static + unsafe void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, SByte* coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormalStream3bvATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (SByte*)coords); + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_streams] + [AutoGenerated(Category = "ATI_vertex_streams", Version = "1.2", EntryPoint = "glNormalStream3dATI")] + public static + void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double nx, Double ny, Double nz) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormalStream3dATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Double)nx, (Double)ny, (Double)nz); + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_streams] + [AutoGenerated(Category = "ATI_vertex_streams", Version = "1.2", EntryPoint = "glNormalStream3dvATI")] + public static + void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double[] coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* coords_ptr = coords) + { + Delegates.glNormalStream3dvATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Double*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_streams] + [AutoGenerated(Category = "ATI_vertex_streams", Version = "1.2", EntryPoint = "glNormalStream3dvATI")] + public static + void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, ref Double coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* coords_ptr = &coords) + { + Delegates.glNormalStream3dvATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Double*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_streams] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ATI_vertex_streams", Version = "1.2", EntryPoint = "glNormalStream3dvATI")] + public static + unsafe void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double* coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormalStream3dvATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Double*)coords); + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_streams] + [AutoGenerated(Category = "ATI_vertex_streams", Version = "1.2", EntryPoint = "glNormalStream3fATI")] + public static + void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single nx, Single ny, Single nz) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormalStream3fATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Single)nx, (Single)ny, (Single)nz); + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_streams] + [AutoGenerated(Category = "ATI_vertex_streams", Version = "1.2", EntryPoint = "glNormalStream3fvATI")] + public static + void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single[] coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* coords_ptr = coords) + { + Delegates.glNormalStream3fvATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Single*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_streams] + [AutoGenerated(Category = "ATI_vertex_streams", Version = "1.2", EntryPoint = "glNormalStream3fvATI")] + public static + void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, ref Single coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* coords_ptr = &coords) + { + Delegates.glNormalStream3fvATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Single*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_streams] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ATI_vertex_streams", Version = "1.2", EntryPoint = "glNormalStream3fvATI")] + public static + unsafe void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single* coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormalStream3fvATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Single*)coords); + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_streams] + [AutoGenerated(Category = "ATI_vertex_streams", Version = "1.2", EntryPoint = "glNormalStream3iATI")] + public static + void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32 nx, Int32 ny, Int32 nz) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormalStream3iATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int32)nx, (Int32)ny, (Int32)nz); + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_streams] + [AutoGenerated(Category = "ATI_vertex_streams", Version = "1.2", EntryPoint = "glNormalStream3ivATI")] + public static + void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32[] coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* coords_ptr = coords) + { + Delegates.glNormalStream3ivATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int32*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_streams] + [AutoGenerated(Category = "ATI_vertex_streams", Version = "1.2", EntryPoint = "glNormalStream3ivATI")] + public static + void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, ref Int32 coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* coords_ptr = &coords) + { + Delegates.glNormalStream3ivATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int32*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_streams] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ATI_vertex_streams", Version = "1.2", EntryPoint = "glNormalStream3ivATI")] + public static + unsafe void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32* coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormalStream3ivATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int32*)coords); + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_streams] + [AutoGenerated(Category = "ATI_vertex_streams", Version = "1.2", EntryPoint = "glNormalStream3sATI")] + public static + void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16 nx, Int16 ny, Int16 nz) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormalStream3sATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int16)nx, (Int16)ny, (Int16)nz); + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_streams] + [AutoGenerated(Category = "ATI_vertex_streams", Version = "1.2", EntryPoint = "glNormalStream3svATI")] + public static + void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16[] coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* coords_ptr = coords) + { + Delegates.glNormalStream3svATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int16*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_streams] + [AutoGenerated(Category = "ATI_vertex_streams", Version = "1.2", EntryPoint = "glNormalStream3svATI")] + public static + void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, ref Int16 coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* coords_ptr = &coords) + { + Delegates.glNormalStream3svATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int16*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_streams] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ATI_vertex_streams", Version = "1.2", EntryPoint = "glNormalStream3svATI")] + public static + unsafe void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16* coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormalStream3svATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int16*)coords); + #if DEBUG + } + #endif + } + + /// [requires: ATI_fragment_shader] + [AutoGenerated(Category = "ATI_fragment_shader", Version = "1.2", EntryPoint = "glPassTexCoordATI")] + public static + void PassTexCoord(Int32 dst, Int32 coord, OpenTK.Graphics.OpenGL.AtiFragmentShader swizzle) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPassTexCoordATI((UInt32)dst, (UInt32)coord, (OpenTK.Graphics.OpenGL.AtiFragmentShader)swizzle); + #if DEBUG + } + #endif + } + + /// [requires: ATI_fragment_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ATI_fragment_shader", Version = "1.2", EntryPoint = "glPassTexCoordATI")] + public static + void PassTexCoord(UInt32 dst, UInt32 coord, OpenTK.Graphics.OpenGL.AtiFragmentShader swizzle) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPassTexCoordATI((UInt32)dst, (UInt32)coord, (OpenTK.Graphics.OpenGL.AtiFragmentShader)swizzle); + #if DEBUG + } + #endif + } + + /// [requires: ATI_pn_triangles] + [AutoGenerated(Category = "ATI_pn_triangles", Version = "1.2", EntryPoint = "glPNTrianglesfATI")] + public static + void PNTriangles(OpenTK.Graphics.OpenGL.AtiPnTriangles pname, Single param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPNTrianglesfATI((OpenTK.Graphics.OpenGL.AtiPnTriangles)pname, (Single)param); + #if DEBUG + } + #endif + } + + /// [requires: ATI_pn_triangles] + [AutoGenerated(Category = "ATI_pn_triangles", Version = "1.2", EntryPoint = "glPNTrianglesiATI")] + public static + void PNTriangles(OpenTK.Graphics.OpenGL.AtiPnTriangles pname, Int32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPNTrianglesiATI((OpenTK.Graphics.OpenGL.AtiPnTriangles)pname, (Int32)param); + #if DEBUG + } + #endif + } + + /// [requires: ATI_fragment_shader] + [AutoGenerated(Category = "ATI_fragment_shader", Version = "1.2", EntryPoint = "glSampleMapATI")] + public static + void SampleMap(Int32 dst, Int32 interp, OpenTK.Graphics.OpenGL.AtiFragmentShader swizzle) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSampleMapATI((UInt32)dst, (UInt32)interp, (OpenTK.Graphics.OpenGL.AtiFragmentShader)swizzle); + #if DEBUG + } + #endif + } + + /// [requires: ATI_fragment_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ATI_fragment_shader", Version = "1.2", EntryPoint = "glSampleMapATI")] + public static + void SampleMap(UInt32 dst, UInt32 interp, OpenTK.Graphics.OpenGL.AtiFragmentShader swizzle) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSampleMapATI((UInt32)dst, (UInt32)interp, (OpenTK.Graphics.OpenGL.AtiFragmentShader)swizzle); + #if DEBUG + } + #endif + } + + /// [requires: ATI_fragment_shader] + [AutoGenerated(Category = "ATI_fragment_shader", Version = "1.2", EntryPoint = "glSetFragmentShaderConstantATI")] + public static + void SetFragmentShaderConstant(Int32 dst, 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 + } + + /// [requires: ATI_fragment_shader] + [AutoGenerated(Category = "ATI_fragment_shader", 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 + } + + /// [requires: ATI_fragment_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ATI_fragment_shader", Version = "1.2", EntryPoint = "glSetFragmentShaderConstantATI")] + public static + unsafe void SetFragmentShaderConstant(Int32 dst, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSetFragmentShaderConstantATI((UInt32)dst, (Single*)value); + #if DEBUG + } + #endif + } + + /// [requires: ATI_fragment_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ATI_fragment_shader", Version = "1.2", EntryPoint = "glSetFragmentShaderConstantATI")] + public static + void SetFragmentShaderConstant(UInt32 dst, 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 + } + + /// [requires: ATI_fragment_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ATI_fragment_shader", Version = "1.2", EntryPoint = "glSetFragmentShaderConstantATI")] + public static + void SetFragmentShaderConstant(UInt32 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 + } + + /// [requires: ATI_fragment_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ATI_fragment_shader", Version = "1.2", EntryPoint = "glSetFragmentShaderConstantATI")] + public static + unsafe void SetFragmentShaderConstant(UInt32 dst, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSetFragmentShaderConstantATI((UInt32)dst, (Single*)value); + #if DEBUG + } + #endif + } + + + /// [requires: ATI_separate_stencil] + /// 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 = "ATI_separate_stencil", Version = "1.2", EntryPoint = "glStencilFuncSeparateATI")] + public static + void StencilFuncSeparate(OpenTK.Graphics.OpenGL.StencilFunction frontfunc, OpenTK.Graphics.OpenGL.StencilFunction backfunc, Int32 @ref, Int32 mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glStencilFuncSeparateATI((OpenTK.Graphics.OpenGL.StencilFunction)frontfunc, (OpenTK.Graphics.OpenGL.StencilFunction)backfunc, (Int32)@ref, (UInt32)mask); + #if DEBUG + } + #endif + } + + + /// [requires: ATI_separate_stencil] + /// 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 = "ATI_separate_stencil", Version = "1.2", EntryPoint = "glStencilFuncSeparateATI")] + public static + void StencilFuncSeparate(OpenTK.Graphics.OpenGL.StencilFunction frontfunc, OpenTK.Graphics.OpenGL.StencilFunction backfunc, Int32 @ref, UInt32 mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glStencilFuncSeparateATI((OpenTK.Graphics.OpenGL.StencilFunction)frontfunc, (OpenTK.Graphics.OpenGL.StencilFunction)backfunc, (Int32)@ref, (UInt32)mask); + #if DEBUG + } + #endif + } + + + /// [requires: ATI_separate_stencil] + /// Set front and/or back stencil test actions + /// + /// + /// + /// 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 action to take when the stencil test fails. Eight symbolic constants are accepted: GL_KEEP, GL_ZERO, GL_REPLACE, GL_INCR, GL_INCR_WRAP, GL_DECR, GL_DECR_WRAP, and GL_INVERT. The initial value is GL_KEEP. + /// + /// + /// + /// + /// Specifies the stencil action when the stencil test passes, but the depth test fails. dpfail accepts the same symbolic constants as sfail. The initial value is GL_KEEP. + /// + /// + /// + /// + /// 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 = "ATI_separate_stencil", Version = "1.2", EntryPoint = "glStencilOpSeparateATI")] + public static + void StencilOpSeparate(OpenTK.Graphics.OpenGL.AtiSeparateStencil face, OpenTK.Graphics.OpenGL.StencilOp sfail, OpenTK.Graphics.OpenGL.StencilOp dpfail, OpenTK.Graphics.OpenGL.StencilOp dppass) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glStencilOpSeparateATI((OpenTK.Graphics.OpenGL.AtiSeparateStencil)face, (OpenTK.Graphics.OpenGL.StencilOp)sfail, (OpenTK.Graphics.OpenGL.StencilOp)dpfail, (OpenTK.Graphics.OpenGL.StencilOp)dppass); + #if DEBUG + } + #endif + } + + /// [requires: ATI_envmap_bumpmap] + [AutoGenerated(Category = "ATI_envmap_bumpmap", Version = "1.2", EntryPoint = "glTexBumpParameterfvATI")] + public static + void TexBumpParameter(OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap pname, Single[] param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* param_ptr = param) + { + Delegates.glTexBumpParameterfvATI((OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap)pname, (Single*)param_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ATI_envmap_bumpmap] + [AutoGenerated(Category = "ATI_envmap_bumpmap", Version = "1.2", EntryPoint = "glTexBumpParameterfvATI")] + public static + void TexBumpParameter(OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap pname, ref Single param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* param_ptr = ¶m) + { + Delegates.glTexBumpParameterfvATI((OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap)pname, (Single*)param_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ATI_envmap_bumpmap] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ATI_envmap_bumpmap", Version = "1.2", EntryPoint = "glTexBumpParameterfvATI")] + public static + unsafe void TexBumpParameter(OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap pname, Single* param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexBumpParameterfvATI((OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap)pname, (Single*)param); + #if DEBUG + } + #endif + } + + /// [requires: ATI_envmap_bumpmap] + [AutoGenerated(Category = "ATI_envmap_bumpmap", Version = "1.2", EntryPoint = "glTexBumpParameterivATI")] + public static + void TexBumpParameter(OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap pname, Int32[] param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* param_ptr = param) + { + Delegates.glTexBumpParameterivATI((OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap)pname, (Int32*)param_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ATI_envmap_bumpmap] + [AutoGenerated(Category = "ATI_envmap_bumpmap", Version = "1.2", EntryPoint = "glTexBumpParameterivATI")] + public static + void TexBumpParameter(OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap pname, ref Int32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* param_ptr = ¶m) + { + Delegates.glTexBumpParameterivATI((OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap)pname, (Int32*)param_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ATI_envmap_bumpmap] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ATI_envmap_bumpmap", Version = "1.2", EntryPoint = "glTexBumpParameterivATI")] + public static + unsafe void TexBumpParameter(OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap pname, Int32* param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexBumpParameterivATI((OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap)pname, (Int32*)param); + #if DEBUG + } + #endif + } + + /// [requires: ATI_map_object_buffer] + [AutoGenerated(Category = "ATI_map_object_buffer", Version = "1.2", EntryPoint = "glUnmapObjectBufferATI")] + public static + void UnmapObjectBuffer(Int32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUnmapObjectBufferATI((UInt32)buffer); + #if DEBUG + } + #endif + } + + /// [requires: ATI_map_object_buffer] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ATI_map_object_buffer", Version = "1.2", EntryPoint = "glUnmapObjectBufferATI")] + public static + void UnmapObjectBuffer(UInt32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUnmapObjectBufferATI((UInt32)buffer); + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_array_object] + [AutoGenerated(Category = "ATI_vertex_array_object", Version = "1.2", EntryPoint = "glUpdateObjectBufferATI")] + public static + void UpdateObjectBuffer(Int32 buffer, Int32 offset, Int32 size, IntPtr pointer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject preserve) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)preserve); + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_array_object] + [AutoGenerated(Category = "ATI_vertex_array_object", Version = "1.2", EntryPoint = "glUpdateObjectBufferATI")] + public static + void UpdateObjectBuffer(Int32 buffer, Int32 offset, Int32 size, [InAttribute, OutAttribute] T3[] pointer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject preserve) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)preserve); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_array_object] + [AutoGenerated(Category = "ATI_vertex_array_object", Version = "1.2", EntryPoint = "glUpdateObjectBufferATI")] + public static + void UpdateObjectBuffer(Int32 buffer, Int32 offset, Int32 size, [InAttribute, OutAttribute] T3[,] pointer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject preserve) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)preserve); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_array_object] + [AutoGenerated(Category = "ATI_vertex_array_object", Version = "1.2", EntryPoint = "glUpdateObjectBufferATI")] + public static + void UpdateObjectBuffer(Int32 buffer, Int32 offset, Int32 size, [InAttribute, OutAttribute] T3[,,] pointer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject preserve) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)preserve); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_array_object] + [AutoGenerated(Category = "ATI_vertex_array_object", Version = "1.2", EntryPoint = "glUpdateObjectBufferATI")] + public static + void UpdateObjectBuffer(Int32 buffer, Int32 offset, Int32 size, [InAttribute, OutAttribute] ref T3 pointer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject preserve) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)preserve); + pointer = (T3)pointer_ptr.Target; + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_array_object] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ATI_vertex_array_object", Version = "1.2", EntryPoint = "glUpdateObjectBufferATI")] + public static + void UpdateObjectBuffer(UInt32 buffer, UInt32 offset, Int32 size, IntPtr pointer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject preserve) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)preserve); + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_array_object] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ATI_vertex_array_object", Version = "1.2", EntryPoint = "glUpdateObjectBufferATI")] + public static + void UpdateObjectBuffer(UInt32 buffer, UInt32 offset, Int32 size, [InAttribute, OutAttribute] T3[] pointer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject preserve) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)preserve); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_array_object] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ATI_vertex_array_object", Version = "1.2", EntryPoint = "glUpdateObjectBufferATI")] + public static + void UpdateObjectBuffer(UInt32 buffer, UInt32 offset, Int32 size, [InAttribute, OutAttribute] T3[,] pointer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject preserve) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)preserve); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_array_object] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ATI_vertex_array_object", Version = "1.2", EntryPoint = "glUpdateObjectBufferATI")] + public static + void UpdateObjectBuffer(UInt32 buffer, UInt32 offset, Int32 size, [InAttribute, OutAttribute] T3[,,] pointer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject preserve) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)preserve); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_array_object] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ATI_vertex_array_object", Version = "1.2", EntryPoint = "glUpdateObjectBufferATI")] + public static + void UpdateObjectBuffer(UInt32 buffer, UInt32 offset, Int32 size, [InAttribute, OutAttribute] ref T3 pointer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject preserve) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)preserve); + pointer = (T3)pointer_ptr.Target; + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_array_object] + [AutoGenerated(Category = "ATI_vertex_array_object", Version = "1.2", EntryPoint = "glVariantArrayObjectATI")] + public static + void VariantArrayObject(Int32 id, OpenTK.Graphics.OpenGL.AtiVertexArrayObject type, Int32 stride, Int32 buffer, Int32 offset) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVariantArrayObjectATI((UInt32)id, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)type, (Int32)stride, (UInt32)buffer, (UInt32)offset); + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_array_object] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ATI_vertex_array_object", Version = "1.2", EntryPoint = "glVariantArrayObjectATI")] + public static + void VariantArrayObject(UInt32 id, OpenTK.Graphics.OpenGL.AtiVertexArrayObject type, Int32 stride, UInt32 buffer, UInt32 offset) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVariantArrayObjectATI((UInt32)id, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)type, (Int32)stride, (UInt32)buffer, (UInt32)offset); + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_attrib_array_object] + [AutoGenerated(Category = "ATI_vertex_attrib_array_object", Version = "1.2", EntryPoint = "glVertexAttribArrayObjectATI")] + public static + void VertexAttribArrayObject(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject type, bool normalized, Int32 stride, Int32 buffer, Int32 offset) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribArrayObjectATI((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject)type, (bool)normalized, (Int32)stride, (UInt32)buffer, (UInt32)offset); + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_attrib_array_object] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ATI_vertex_attrib_array_object", Version = "1.2", EntryPoint = "glVertexAttribArrayObjectATI")] + public static + void VertexAttribArrayObject(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject type, bool normalized, Int32 stride, UInt32 buffer, UInt32 offset) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribArrayObjectATI((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject)type, (bool)normalized, (Int32)stride, (UInt32)buffer, (UInt32)offset); + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_streams] + [AutoGenerated(Category = "ATI_vertex_streams", Version = "1.2", EntryPoint = "glVertexBlendEnvfATI")] + public static + void VertexBlendEnv(OpenTK.Graphics.OpenGL.AtiVertexStreams pname, Single param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexBlendEnvfATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)pname, (Single)param); + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_streams] + [AutoGenerated(Category = "ATI_vertex_streams", Version = "1.2", EntryPoint = "glVertexBlendEnviATI")] + public static + void VertexBlendEnv(OpenTK.Graphics.OpenGL.AtiVertexStreams pname, Int32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexBlendEnviATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)pname, (Int32)param); + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_streams] + [AutoGenerated(Category = "ATI_vertex_streams", Version = "1.2", EntryPoint = "glVertexStream1dATI")] + public static + void VertexStream1(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double x) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexStream1dATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Double)x); + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_streams] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ATI_vertex_streams", Version = "1.2", EntryPoint = "glVertexStream1dvATI")] + public static + unsafe void VertexStream1(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double* coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexStream1dvATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Double*)coords); + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_streams] + [AutoGenerated(Category = "ATI_vertex_streams", Version = "1.2", EntryPoint = "glVertexStream1fATI")] + public static + void VertexStream1(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single x) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexStream1fATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Single)x); + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_streams] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ATI_vertex_streams", Version = "1.2", EntryPoint = "glVertexStream1fvATI")] + public static + unsafe void VertexStream1(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single* coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexStream1fvATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Single*)coords); + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_streams] + [AutoGenerated(Category = "ATI_vertex_streams", Version = "1.2", EntryPoint = "glVertexStream1iATI")] + public static + void VertexStream1(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32 x) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexStream1iATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int32)x); + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_streams] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ATI_vertex_streams", Version = "1.2", EntryPoint = "glVertexStream1ivATI")] + public static + unsafe void VertexStream1(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32* coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexStream1ivATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int32*)coords); + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_streams] + [AutoGenerated(Category = "ATI_vertex_streams", Version = "1.2", EntryPoint = "glVertexStream1sATI")] + public static + void VertexStream1(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16 x) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexStream1sATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int16)x); + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_streams] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ATI_vertex_streams", Version = "1.2", EntryPoint = "glVertexStream1svATI")] + public static + unsafe void VertexStream1(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16* coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexStream1svATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int16*)coords); + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_streams] + [AutoGenerated(Category = "ATI_vertex_streams", Version = "1.2", EntryPoint = "glVertexStream2dATI")] + public static + void VertexStream2(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double x, Double y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexStream2dATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Double)x, (Double)y); + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_streams] + [AutoGenerated(Category = "ATI_vertex_streams", Version = "1.2", EntryPoint = "glVertexStream2dvATI")] + public static + void VertexStream2(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double[] coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* coords_ptr = coords) + { + Delegates.glVertexStream2dvATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Double*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_streams] + [AutoGenerated(Category = "ATI_vertex_streams", Version = "1.2", EntryPoint = "glVertexStream2dvATI")] + public static + void VertexStream2(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, ref Double coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* coords_ptr = &coords) + { + Delegates.glVertexStream2dvATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Double*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_streams] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ATI_vertex_streams", Version = "1.2", EntryPoint = "glVertexStream2dvATI")] + public static + unsafe void VertexStream2(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double* coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexStream2dvATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Double*)coords); + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_streams] + [AutoGenerated(Category = "ATI_vertex_streams", Version = "1.2", EntryPoint = "glVertexStream2fATI")] + public static + void VertexStream2(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single x, Single y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexStream2fATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Single)x, (Single)y); + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_streams] + [AutoGenerated(Category = "ATI_vertex_streams", Version = "1.2", EntryPoint = "glVertexStream2fvATI")] + public static + void VertexStream2(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single[] coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* coords_ptr = coords) + { + Delegates.glVertexStream2fvATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Single*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_streams] + [AutoGenerated(Category = "ATI_vertex_streams", Version = "1.2", EntryPoint = "glVertexStream2fvATI")] + public static + void VertexStream2(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, ref Single coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* coords_ptr = &coords) + { + Delegates.glVertexStream2fvATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Single*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_streams] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ATI_vertex_streams", Version = "1.2", EntryPoint = "glVertexStream2fvATI")] + public static + unsafe void VertexStream2(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single* coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexStream2fvATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Single*)coords); + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_streams] + [AutoGenerated(Category = "ATI_vertex_streams", Version = "1.2", EntryPoint = "glVertexStream2iATI")] + public static + void VertexStream2(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32 x, Int32 y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexStream2iATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int32)x, (Int32)y); + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_streams] + [AutoGenerated(Category = "ATI_vertex_streams", Version = "1.2", EntryPoint = "glVertexStream2ivATI")] + public static + void VertexStream2(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32[] coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* coords_ptr = coords) + { + Delegates.glVertexStream2ivATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int32*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_streams] + [AutoGenerated(Category = "ATI_vertex_streams", Version = "1.2", EntryPoint = "glVertexStream2ivATI")] + public static + void VertexStream2(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, ref Int32 coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* coords_ptr = &coords) + { + Delegates.glVertexStream2ivATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int32*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_streams] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ATI_vertex_streams", Version = "1.2", EntryPoint = "glVertexStream2ivATI")] + public static + unsafe void VertexStream2(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32* coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexStream2ivATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int32*)coords); + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_streams] + [AutoGenerated(Category = "ATI_vertex_streams", Version = "1.2", EntryPoint = "glVertexStream2sATI")] + public static + void VertexStream2(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16 x, Int16 y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexStream2sATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int16)x, (Int16)y); + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_streams] + [AutoGenerated(Category = "ATI_vertex_streams", Version = "1.2", EntryPoint = "glVertexStream2svATI")] + public static + void VertexStream2(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16[] coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* coords_ptr = coords) + { + Delegates.glVertexStream2svATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int16*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_streams] + [AutoGenerated(Category = "ATI_vertex_streams", Version = "1.2", EntryPoint = "glVertexStream2svATI")] + public static + void VertexStream2(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, ref Int16 coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* coords_ptr = &coords) + { + Delegates.glVertexStream2svATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int16*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_streams] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ATI_vertex_streams", Version = "1.2", EntryPoint = "glVertexStream2svATI")] + public static + unsafe void VertexStream2(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16* coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexStream2svATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int16*)coords); + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_streams] + [AutoGenerated(Category = "ATI_vertex_streams", Version = "1.2", EntryPoint = "glVertexStream3dATI")] + public static + void VertexStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double x, Double y, Double z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexStream3dATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Double)x, (Double)y, (Double)z); + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_streams] + [AutoGenerated(Category = "ATI_vertex_streams", Version = "1.2", EntryPoint = "glVertexStream3dvATI")] + public static + void VertexStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double[] coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* coords_ptr = coords) + { + Delegates.glVertexStream3dvATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Double*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_streams] + [AutoGenerated(Category = "ATI_vertex_streams", Version = "1.2", EntryPoint = "glVertexStream3dvATI")] + public static + void VertexStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, ref Double coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* coords_ptr = &coords) + { + Delegates.glVertexStream3dvATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Double*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_streams] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ATI_vertex_streams", Version = "1.2", EntryPoint = "glVertexStream3dvATI")] + public static + unsafe void VertexStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double* coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexStream3dvATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Double*)coords); + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_streams] + [AutoGenerated(Category = "ATI_vertex_streams", Version = "1.2", EntryPoint = "glVertexStream3fATI")] + public static + void VertexStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single x, Single y, Single z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexStream3fATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Single)x, (Single)y, (Single)z); + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_streams] + [AutoGenerated(Category = "ATI_vertex_streams", Version = "1.2", EntryPoint = "glVertexStream3fvATI")] + public static + void VertexStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single[] coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* coords_ptr = coords) + { + Delegates.glVertexStream3fvATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Single*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_streams] + [AutoGenerated(Category = "ATI_vertex_streams", Version = "1.2", EntryPoint = "glVertexStream3fvATI")] + public static + void VertexStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, ref Single coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* coords_ptr = &coords) + { + Delegates.glVertexStream3fvATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Single*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_streams] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ATI_vertex_streams", Version = "1.2", EntryPoint = "glVertexStream3fvATI")] + public static + unsafe void VertexStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single* coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexStream3fvATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Single*)coords); + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_streams] + [AutoGenerated(Category = "ATI_vertex_streams", Version = "1.2", EntryPoint = "glVertexStream3iATI")] + public static + void VertexStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32 x, Int32 y, Int32 z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexStream3iATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int32)x, (Int32)y, (Int32)z); + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_streams] + [AutoGenerated(Category = "ATI_vertex_streams", Version = "1.2", EntryPoint = "glVertexStream3ivATI")] + public static + void VertexStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32[] coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* coords_ptr = coords) + { + Delegates.glVertexStream3ivATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int32*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_streams] + [AutoGenerated(Category = "ATI_vertex_streams", Version = "1.2", EntryPoint = "glVertexStream3ivATI")] + public static + void VertexStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, ref Int32 coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* coords_ptr = &coords) + { + Delegates.glVertexStream3ivATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int32*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_streams] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ATI_vertex_streams", Version = "1.2", EntryPoint = "glVertexStream3ivATI")] + public static + unsafe void VertexStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32* coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexStream3ivATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int32*)coords); + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_streams] + [AutoGenerated(Category = "ATI_vertex_streams", Version = "1.2", EntryPoint = "glVertexStream3sATI")] + public static + void VertexStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16 x, Int16 y, Int16 z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexStream3sATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int16)x, (Int16)y, (Int16)z); + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_streams] + [AutoGenerated(Category = "ATI_vertex_streams", Version = "1.2", EntryPoint = "glVertexStream3svATI")] + public static + void VertexStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16[] coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* coords_ptr = coords) + { + Delegates.glVertexStream3svATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int16*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_streams] + [AutoGenerated(Category = "ATI_vertex_streams", Version = "1.2", EntryPoint = "glVertexStream3svATI")] + public static + void VertexStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, ref Int16 coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* coords_ptr = &coords) + { + Delegates.glVertexStream3svATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int16*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_streams] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ATI_vertex_streams", Version = "1.2", EntryPoint = "glVertexStream3svATI")] + public static + unsafe void VertexStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16* coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexStream3svATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int16*)coords); + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_streams] + [AutoGenerated(Category = "ATI_vertex_streams", Version = "1.2", EntryPoint = "glVertexStream4dATI")] + public static + void VertexStream4(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double x, Double y, Double z, Double w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexStream4dATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Double)x, (Double)y, (Double)z, (Double)w); + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_streams] + [AutoGenerated(Category = "ATI_vertex_streams", Version = "1.2", EntryPoint = "glVertexStream4dvATI")] + public static + void VertexStream4(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double[] coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* coords_ptr = coords) + { + Delegates.glVertexStream4dvATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Double*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_streams] + [AutoGenerated(Category = "ATI_vertex_streams", Version = "1.2", EntryPoint = "glVertexStream4dvATI")] + public static + void VertexStream4(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, ref Double coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* coords_ptr = &coords) + { + Delegates.glVertexStream4dvATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Double*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_streams] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ATI_vertex_streams", Version = "1.2", EntryPoint = "glVertexStream4dvATI")] + public static + unsafe void VertexStream4(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double* coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexStream4dvATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Double*)coords); + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_streams] + [AutoGenerated(Category = "ATI_vertex_streams", Version = "1.2", EntryPoint = "glVertexStream4fATI")] + public static + void VertexStream4(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single x, Single y, Single z, Single w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexStream4fATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Single)x, (Single)y, (Single)z, (Single)w); + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_streams] + [AutoGenerated(Category = "ATI_vertex_streams", Version = "1.2", EntryPoint = "glVertexStream4fvATI")] + public static + void VertexStream4(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single[] coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* coords_ptr = coords) + { + Delegates.glVertexStream4fvATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Single*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_streams] + [AutoGenerated(Category = "ATI_vertex_streams", Version = "1.2", EntryPoint = "glVertexStream4fvATI")] + public static + void VertexStream4(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, ref Single coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* coords_ptr = &coords) + { + Delegates.glVertexStream4fvATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Single*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_streams] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ATI_vertex_streams", Version = "1.2", EntryPoint = "glVertexStream4fvATI")] + public static + unsafe void VertexStream4(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single* coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexStream4fvATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Single*)coords); + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_streams] + [AutoGenerated(Category = "ATI_vertex_streams", Version = "1.2", EntryPoint = "glVertexStream4iATI")] + public static + void VertexStream4(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32 x, Int32 y, Int32 z, Int32 w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexStream4iATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int32)x, (Int32)y, (Int32)z, (Int32)w); + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_streams] + [AutoGenerated(Category = "ATI_vertex_streams", Version = "1.2", EntryPoint = "glVertexStream4ivATI")] + public static + void VertexStream4(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32[] coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* coords_ptr = coords) + { + Delegates.glVertexStream4ivATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int32*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_streams] + [AutoGenerated(Category = "ATI_vertex_streams", Version = "1.2", EntryPoint = "glVertexStream4ivATI")] + public static + void VertexStream4(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, ref Int32 coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* coords_ptr = &coords) + { + Delegates.glVertexStream4ivATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int32*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_streams] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ATI_vertex_streams", Version = "1.2", EntryPoint = "glVertexStream4ivATI")] + public static + unsafe void VertexStream4(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32* coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexStream4ivATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int32*)coords); + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_streams] + [AutoGenerated(Category = "ATI_vertex_streams", Version = "1.2", EntryPoint = "glVertexStream4sATI")] + public static + void VertexStream4(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16 x, Int16 y, Int16 z, Int16 w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexStream4sATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int16)x, (Int16)y, (Int16)z, (Int16)w); + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_streams] + [AutoGenerated(Category = "ATI_vertex_streams", Version = "1.2", EntryPoint = "glVertexStream4svATI")] + public static + void VertexStream4(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16[] coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* coords_ptr = coords) + { + Delegates.glVertexStream4svATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int16*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_streams] + [AutoGenerated(Category = "ATI_vertex_streams", Version = "1.2", EntryPoint = "glVertexStream4svATI")] + public static + void VertexStream4(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, ref Int16 coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* coords_ptr = &coords) + { + Delegates.glVertexStream4svATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int16*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ATI_vertex_streams] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ATI_vertex_streams", Version = "1.2", EntryPoint = "glVertexStream4svATI")] + public static + unsafe void VertexStream4(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16* coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexStream4svATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int16*)coords); + #if DEBUG + } + #endif + } + + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Operate on the accumulation buffer + /// + /// + /// + /// Specifies the accumulation buffer operation. Symbolic constants GL_ACCUM, GL_LOAD, GL_ADD, GL_MULT, and GL_RETURN are accepted. + /// + /// + /// + /// + /// Specifies a floating-point value used in the accumulation buffer operation. op determines how value is used. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glAccum")] + public static + void Accum(OpenTK.Graphics.OpenGL.AccumOp op, Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glAccum((OpenTK.Graphics.OpenGL.AccumOp)op, (Single)value); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Set the active program object for a program pipeline object + /// + /// + /// + /// Specifies the program pipeline object to set the active program object for. + /// + /// + /// + /// + /// Specifies the program object to set as the active program pipeline object pipeline. + /// + /// + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glActiveShaderProgram")] + public static + void ActiveShaderProgram(Int32 pipeline, Int32 program) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glActiveShaderProgram((UInt32)pipeline, (UInt32)program); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Set the active program object for a program pipeline object + /// + /// + /// + /// Specifies the program pipeline object to set the active program object for. + /// + /// + /// + /// + /// Specifies the program object to set as the active program pipeline object pipeline. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glActiveShaderProgram")] + public static + void ActiveShaderProgram(UInt32 pipeline, UInt32 program) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glActiveShaderProgram((UInt32)pipeline, (UInt32)program); + #if DEBUG + } + #endif + } + + + /// [requires: v1.3] + /// Select active texture unit + /// + /// + /// + /// 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_TEXTUREi, where i ranges from 0 (GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS - 1). The initial value is GL_TEXTURE0. + /// + /// + [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glActiveTexture")] + public static + void ActiveTexture(OpenTK.Graphics.OpenGL.TextureUnit texture) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glActiveTexture((OpenTK.Graphics.OpenGL.TextureUnit)texture); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify the alpha test function + /// + /// + /// + /// Specifies the alpha comparison function. Symbolic constants GL_NEVER, GL_LESS, GL_EQUAL, GL_LEQUAL, GL_GREATER, GL_NOTEQUAL, GL_GEQUAL, and GL_ALWAYS are accepted. The initial value is GL_ALWAYS. + /// + /// + /// + /// + /// Specifies the reference value that incoming alpha values are compared to. This value is clamped to the range [0,1], where 0 represents the lowest possible alpha value and 1 the highest possible value. The initial reference value is 0. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glAlphaFunc")] + public static + void AlphaFunc(OpenTK.Graphics.OpenGL.AlphaFunction func, Single @ref) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glAlphaFunc((OpenTK.Graphics.OpenGL.AlphaFunction)func, (Single)@ref); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1][deprecated: v3.1] + /// Determine if textures are loaded in texture memory + /// + /// + /// + /// Specifies the number of textures to be queried. + /// + /// + /// + /// + /// Specifies an array containing the names of the textures to be queried. + /// + /// + /// + /// + /// Specifies an array in which the texture residence status is returned. The residence status of a texture named by an element of textures is returned in the corresponding element of residences. + /// + /// + [AutoGenerated(Category = "VERSION_1_1_DEPRECATED", Version = "1.1", EntryPoint = "glAreTexturesResident")] + public static + bool AreTexturesResident(Int32 n, Int32[] textures, [OutAttribute] bool[] residences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* textures_ptr = textures) + fixed (bool* residences_ptr = residences) + { + return Delegates.glAreTexturesResident((Int32)n, (UInt32*)textures_ptr, (bool*)residences_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1][deprecated: v3.1] + /// Determine if textures are loaded in texture memory + /// + /// + /// + /// Specifies the number of textures to be queried. + /// + /// + /// + /// + /// Specifies an array containing the names of the textures to be queried. + /// + /// + /// + /// + /// Specifies an array in which the texture residence status is returned. The residence status of a texture named by an element of textures is returned in the corresponding element of residences. + /// + /// + [AutoGenerated(Category = "VERSION_1_1_DEPRECATED", Version = "1.1", EntryPoint = "glAreTexturesResident")] + public static + bool AreTexturesResident(Int32 n, ref Int32 textures, [OutAttribute] out bool residences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* textures_ptr = &textures) + fixed (bool* residences_ptr = &residences) + { + bool retval = Delegates.glAreTexturesResident((Int32)n, (UInt32*)textures_ptr, (bool*)residences_ptr); + residences = *residences_ptr; + return retval; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1][deprecated: v3.1] + /// Determine if textures are loaded in texture memory + /// + /// + /// + /// Specifies the number of textures to be queried. + /// + /// + /// + /// + /// Specifies an array containing the names of the textures to be queried. + /// + /// + /// + /// + /// Specifies an array in which the texture residence status is returned. The residence status of a texture named by an element of textures is returned in the corresponding element of residences. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_1_DEPRECATED", Version = "1.1", EntryPoint = "glAreTexturesResident")] + public static + unsafe bool AreTexturesResident(Int32 n, Int32* textures, [OutAttribute] bool* residences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glAreTexturesResident((Int32)n, (UInt32*)textures, (bool*)residences); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1][deprecated: v3.1] + /// Determine if textures are loaded in texture memory + /// + /// + /// + /// Specifies the number of textures to be queried. + /// + /// + /// + /// + /// Specifies an array containing the names of the textures to be queried. + /// + /// + /// + /// + /// Specifies an array in which the texture residence status is returned. The residence status of a texture named by an element of textures is returned in the corresponding element of residences. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_1_DEPRECATED", Version = "1.1", EntryPoint = "glAreTexturesResident")] + public static + bool AreTexturesResident(Int32 n, UInt32[] textures, [OutAttribute] bool[] residences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* textures_ptr = textures) + fixed (bool* residences_ptr = residences) + { + return Delegates.glAreTexturesResident((Int32)n, (UInt32*)textures_ptr, (bool*)residences_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1][deprecated: v3.1] + /// Determine if textures are loaded in texture memory + /// + /// + /// + /// Specifies the number of textures to be queried. + /// + /// + /// + /// + /// Specifies an array containing the names of the textures to be queried. + /// + /// + /// + /// + /// Specifies an array in which the texture residence status is returned. The residence status of a texture named by an element of textures is returned in the corresponding element of residences. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_1_DEPRECATED", Version = "1.1", EntryPoint = "glAreTexturesResident")] + public static + bool AreTexturesResident(Int32 n, ref UInt32 textures, [OutAttribute] out bool residences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* textures_ptr = &textures) + fixed (bool* residences_ptr = &residences) + { + bool retval = Delegates.glAreTexturesResident((Int32)n, (UInt32*)textures_ptr, (bool*)residences_ptr); + residences = *residences_ptr; + return retval; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1][deprecated: v3.1] + /// Determine if textures are loaded in texture memory + /// + /// + /// + /// Specifies the number of textures to be queried. + /// + /// + /// + /// + /// Specifies an array containing the names of the textures to be queried. + /// + /// + /// + /// + /// Specifies an array in which the texture residence status is returned. The residence status of a texture named by an element of textures is returned in the corresponding element of residences. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_1_DEPRECATED", Version = "1.1", EntryPoint = "glAreTexturesResident")] + public static + unsafe bool AreTexturesResident(Int32 n, UInt32* textures, [OutAttribute] bool* residences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glAreTexturesResident((Int32)n, (UInt32*)textures, (bool*)residences); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1][deprecated: v3.1] + /// Render a vertex using the specified vertex array element + /// + /// + /// + /// Specifies an index into the enabled vertex data arrays. + /// + /// + [AutoGenerated(Category = "VERSION_1_1_DEPRECATED", Version = "1.1", EntryPoint = "glArrayElement")] + public static + void ArrayElement(Int32 i) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glArrayElement((Int32)i); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// Attaches a shader object to a program object + /// + /// + /// + /// Specifies the program object to which a shader object will be attached. + /// + /// + /// + /// + /// Specifies the shader object that is to be attached. + /// + /// + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glAttachShader")] + public static + void AttachShader(Int32 program, Int32 shader) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glAttachShader((UInt32)program, (UInt32)shader); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// Attaches a shader object to a program object + /// + /// + /// + /// Specifies the program object to which a shader object will be attached. + /// + /// + /// + /// + /// Specifies the shader object that is to be attached. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glAttachShader")] + public static + void AttachShader(UInt32 program, UInt32 shader) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glAttachShader((UInt32)program, (UInt32)shader); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Delimit the vertices of a primitive or a group of like primitives + /// + /// + /// + /// Specifies the primitive or primitives that will be created from vertices presented between glBegin and the subsequent glEnd. Ten symbolic constants are accepted: GL_POINTS, GL_LINES, GL_LINE_STRIP, GL_LINE_LOOP, GL_TRIANGLES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_QUADS, GL_QUAD_STRIP, and GL_POLYGON. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glBegin")] + public static + void Begin(OpenTK.Graphics.OpenGL.BeginMode mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + // flibit changed this! + GraphicsContext.ErrorChecking = false; + #endif + Delegates.glBegin((OpenTK.Graphics.OpenGL.BeginMode)mode); + #if DEBUG + } + #endif + } + + + /// [requires: v3.0] + /// Start conditional rendering + /// + /// + /// + /// Specifies the name of an occlusion query object whose results are used to determine if the rendering commands are discarded. + /// + /// + /// + /// + /// Specifies how glBeginConditionalRender interprets the results of the occlusion query. + /// + /// + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glBeginConditionalRender")] + public static + void BeginConditionalRender(Int32 id, OpenTK.Graphics.OpenGL.ConditionalRenderType mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBeginConditionalRender((UInt32)id, (OpenTK.Graphics.OpenGL.ConditionalRenderType)mode); + #if DEBUG + } + #endif + } + + + /// [requires: v3.0] + /// Start conditional rendering + /// + /// + /// + /// Specifies the name of an occlusion query object whose results are used to determine if the rendering commands are discarded. + /// + /// + /// + /// + /// Specifies how glBeginConditionalRender interprets the results of the occlusion query. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glBeginConditionalRender")] + public static + void BeginConditionalRender(UInt32 id, OpenTK.Graphics.OpenGL.ConditionalRenderType mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBeginConditionalRender((UInt32)id, (OpenTK.Graphics.OpenGL.ConditionalRenderType)mode); + #if DEBUG + } + #endif + } + + + /// [requires: v1.5] + /// 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 one of GL_SAMPLES_PASSED, GL_ANY_SAMPLES_PASSED, GL_PRIMITIVES_GENERATED, GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN, or GL_TIME_ELAPSED. + /// + /// + /// + /// + /// Specifies the name of a query object. + /// + /// + [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glBeginQuery")] + public static + void BeginQuery(OpenTK.Graphics.OpenGL.QueryTarget target, Int32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBeginQuery((OpenTK.Graphics.OpenGL.QueryTarget)target, (UInt32)id); + #if DEBUG + } + #endif + } + + + /// [requires: v1.5] + /// 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 one of GL_SAMPLES_PASSED, GL_ANY_SAMPLES_PASSED, GL_PRIMITIVES_GENERATED, GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN, or GL_TIME_ELAPSED. + /// + /// + /// + /// + /// Specifies the name of a query object. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glBeginQuery")] + public static + void BeginQuery(OpenTK.Graphics.OpenGL.QueryTarget target, UInt32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBeginQuery((OpenTK.Graphics.OpenGL.QueryTarget)target, (UInt32)id); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_transform_feedback3] + /// Delimit the boundaries of a query object on an indexed target + /// + /// + /// + /// Specifies the target type of query object established between glBeginQueryIndexed and the subsequent glEndQueryIndexed. The symbolic constant must be one of GL_SAMPLES_PASSED, GL_ANY_SAMPLES_PASSED, GL_PRIMITIVES_GENERATED, GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN, or GL_TIME_ELAPSED. + /// + /// + /// + /// + /// Specifies the index of the query target upon which to begin the query. + /// + /// + /// + /// + /// Specifies the name of a query object. + /// + /// + [AutoGenerated(Category = "ARB_transform_feedback3", Version = "1.2", EntryPoint = "glBeginQueryIndexed")] + public static + void BeginQueryIndexed(OpenTK.Graphics.OpenGL.QueryTarget target, Int32 index, Int32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBeginQueryIndexed((OpenTK.Graphics.OpenGL.QueryTarget)target, (UInt32)index, (UInt32)id); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_transform_feedback3] + /// Delimit the boundaries of a query object on an indexed target + /// + /// + /// + /// Specifies the target type of query object established between glBeginQueryIndexed and the subsequent glEndQueryIndexed. The symbolic constant must be one of GL_SAMPLES_PASSED, GL_ANY_SAMPLES_PASSED, GL_PRIMITIVES_GENERATED, GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN, or GL_TIME_ELAPSED. + /// + /// + /// + /// + /// Specifies the index of the query target upon which to begin the query. + /// + /// + /// + /// + /// Specifies the name of a query object. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_transform_feedback3", Version = "1.2", EntryPoint = "glBeginQueryIndexed")] + public static + void BeginQueryIndexed(OpenTK.Graphics.OpenGL.QueryTarget target, UInt32 index, UInt32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBeginQueryIndexed((OpenTK.Graphics.OpenGL.QueryTarget)target, (UInt32)index, (UInt32)id); + #if DEBUG + } + #endif + } + + + /// [requires: v3.0] + /// Start transform feedback operation + /// + /// + /// + /// Specify the output type of the primitives that will be recorded into the buffer objects that are bound for transform feedback. + /// + /// + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glBeginTransformFeedback")] + public static + void BeginTransformFeedback(OpenTK.Graphics.OpenGL.BeginFeedbackMode primitiveMode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBeginTransformFeedback((OpenTK.Graphics.OpenGL.BeginFeedbackMode)primitiveMode); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// 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. + /// + /// + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glBindAttribLocation")] + public static + void BindAttribLocation(Int32 program, Int32 index, String name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindAttribLocation((UInt32)program, (UInt32)index, (String)name); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glBindAttribLocation")] + public static + void BindAttribLocation(UInt32 program, UInt32 index, String name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindAttribLocation((UInt32)program, (UInt32)index, (String)name); + #if DEBUG + } + #endif + } + + + /// [requires: v1.5] + /// Bind a named buffer object + /// + /// + /// + /// Specifies the target to which the buffer object is bound. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER. + /// + /// + /// + /// + /// Specifies the name of a buffer object. + /// + /// + [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glBindBuffer")] + public static + void BindBuffer(OpenTK.Graphics.OpenGL.BufferTarget target, Int32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindBuffer((OpenTK.Graphics.OpenGL.BufferTarget)target, (UInt32)buffer); + #if DEBUG + } + #endif + } + + + /// [requires: v1.5] + /// Bind a named buffer object + /// + /// + /// + /// Specifies the target to which the buffer object is bound. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER. + /// + /// + /// + /// + /// Specifies the name of a buffer object. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glBindBuffer")] + public static + void BindBuffer(OpenTK.Graphics.OpenGL.BufferTarget target, UInt32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindBuffer((OpenTK.Graphics.OpenGL.BufferTarget)target, (UInt32)buffer); + #if DEBUG + } + #endif + } + + + /// [requires: v3.0] + /// Bind a buffer object to an indexed buffer target + /// + /// + /// + /// Specify the target of the bind operation. target must be either GL_TRANSFORM_FEEDBACK_BUFFER or GL_UNIFORM_BUFFER. + /// + /// + /// + /// + /// Specify the index of the binding point within the array specified by target. + /// + /// + /// + /// + /// The name of a buffer object to bind to the specified binding point. + /// + /// + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glBindBufferBase")] + public static + void BindBufferBase(OpenTK.Graphics.OpenGL.BufferTarget target, Int32 index, Int32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindBufferBase((OpenTK.Graphics.OpenGL.BufferTarget)target, (UInt32)index, (UInt32)buffer); + #if DEBUG + } + #endif + } + + + /// [requires: v3.0] + /// Bind a buffer object to an indexed buffer target + /// + /// + /// + /// Specify the target of the bind operation. target must be either GL_TRANSFORM_FEEDBACK_BUFFER or GL_UNIFORM_BUFFER. + /// + /// + /// + /// + /// Specify the index of the binding point within the array specified by target. + /// + /// + /// + /// + /// The name of a buffer object to bind to the specified binding point. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glBindBufferBase")] + public static + void BindBufferBase(OpenTK.Graphics.OpenGL.BufferTarget target, UInt32 index, UInt32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindBufferBase((OpenTK.Graphics.OpenGL.BufferTarget)target, (UInt32)index, (UInt32)buffer); + #if DEBUG + } + #endif + } + + + /// [requires: v3.0] + /// Bind a range within a buffer object to an indexed buffer target + /// + /// + /// + /// Specify the target of the bind operation. target must be either GL_TRANSFORM_FEEDBACK_BUFFER or GL_UNIFORM_BUFFER. + /// + /// + /// + /// + /// Specify the index of the binding point within the array specified by target. + /// + /// + /// + /// + /// The name of a buffer object to bind to the specified binding point. + /// + /// + /// + /// + /// The starting offset in basic machine units into the buffer object buffer. + /// + /// + /// + /// + /// The amount of data in machine units that can be read from the buffet object while used as an indexed target. + /// + /// + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glBindBufferRange")] + public static + void BindBufferRange(OpenTK.Graphics.OpenGL.BufferTarget target, Int32 index, Int32 buffer, IntPtr offset, IntPtr size) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindBufferRange((OpenTK.Graphics.OpenGL.BufferTarget)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size); + #if DEBUG + } + #endif + } + + + /// [requires: v3.0] + /// Bind a range within a buffer object to an indexed buffer target + /// + /// + /// + /// Specify the target of the bind operation. target must be either GL_TRANSFORM_FEEDBACK_BUFFER or GL_UNIFORM_BUFFER. + /// + /// + /// + /// + /// Specify the index of the binding point within the array specified by target. + /// + /// + /// + /// + /// The name of a buffer object to bind to the specified binding point. + /// + /// + /// + /// + /// The starting offset in basic machine units into the buffer object buffer. + /// + /// + /// + /// + /// The amount of data in machine units that can be read from the buffet object while used as an indexed target. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glBindBufferRange")] + public static + void BindBufferRange(OpenTK.Graphics.OpenGL.BufferTarget target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindBufferRange((OpenTK.Graphics.OpenGL.BufferTarget)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size); + #if DEBUG + } + #endif + } + + + /// [requires: v3.0] + /// Bind a user-defined varying out variable to a fragment shader color number + /// + /// + /// + /// The name of the program containing varying out variable whose binding to modify + /// + /// + /// + /// + /// The color number to bind the user-defined varying out variable to + /// + /// + /// + /// + /// The name of the user-defined varying out variable whose binding to modify + /// + /// + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glBindFragDataLocation")] + public static + void BindFragDataLocation(Int32 program, Int32 color, String name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindFragDataLocation((UInt32)program, (UInt32)color, (String)name); + #if DEBUG + } + #endif + } + + + /// [requires: v3.0] + /// Bind a user-defined varying out variable to a fragment shader color number + /// + /// + /// + /// The name of the program containing varying out variable whose binding to modify + /// + /// + /// + /// + /// The color number to bind the user-defined varying out variable to + /// + /// + /// + /// + /// The name of the user-defined varying out variable whose binding to modify + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glBindFragDataLocation")] + public static + void BindFragDataLocation(UInt32 program, UInt32 color, String name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindFragDataLocation((UInt32)program, (UInt32)color, (String)name); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_blend_func_extended] + /// Bind a user-defined varying out variable to a fragment shader color number and index + /// + /// + /// + /// The name of the program containing varying out variable whose binding to modify + /// + /// + /// + /// + /// The color number to bind the user-defined varying out variable to + /// + /// + /// + /// + /// The index of the color input to bind the user-defined varying out variable to + /// + /// + /// + /// + /// The name of the user-defined varying out variable whose binding to modify + /// + /// + [AutoGenerated(Category = "ARB_blend_func_extended", Version = "1.2", EntryPoint = "glBindFragDataLocationIndexed")] + public static + void BindFragDataLocationIndexed(Int32 program, Int32 colorNumber, Int32 index, String name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindFragDataLocationIndexed((UInt32)program, (UInt32)colorNumber, (UInt32)index, (String)name); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_blend_func_extended] + /// Bind a user-defined varying out variable to a fragment shader color number and index + /// + /// + /// + /// The name of the program containing varying out variable whose binding to modify + /// + /// + /// + /// + /// The color number to bind the user-defined varying out variable to + /// + /// + /// + /// + /// The index of the color input to bind the user-defined varying out variable to + /// + /// + /// + /// + /// The name of the user-defined varying out variable whose binding to modify + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_blend_func_extended", Version = "1.2", EntryPoint = "glBindFragDataLocationIndexed")] + public static + void BindFragDataLocationIndexed(UInt32 program, UInt32 colorNumber, UInt32 index, String name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindFragDataLocationIndexed((UInt32)program, (UInt32)colorNumber, (UInt32)index, (String)name); + #if DEBUG + } + #endif + } + + + /// [requires: v3.0 and ARB_framebuffer_object] + /// Bind a framebuffer to a framebuffer target + /// + /// + /// + /// Specifies the framebuffer target of the binding operation. + /// + /// + /// + /// + /// Specifies the name of the framebuffer object to bind. + /// + /// + [AutoGenerated(Category = "ARB_framebuffer_object", Version = "3.0", EntryPoint = "glBindFramebuffer")] + public static + void BindFramebuffer(OpenTK.Graphics.OpenGL.FramebufferTarget target, Int32 framebuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindFramebuffer((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (UInt32)framebuffer); + #if DEBUG + } + #endif + } + + + /// [requires: v3.0 and ARB_framebuffer_object] + /// Bind a framebuffer to a framebuffer target + /// + /// + /// + /// Specifies the framebuffer target of the binding operation. + /// + /// + /// + /// + /// Specifies the name of the framebuffer object to bind. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_framebuffer_object", Version = "3.0", EntryPoint = "glBindFramebuffer")] + public static + void BindFramebuffer(OpenTK.Graphics.OpenGL.FramebufferTarget target, UInt32 framebuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindFramebuffer((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (UInt32)framebuffer); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Bind a program pipeline to the current context + /// + /// + /// + /// Specifies the name of the pipeline object to bind to the context. + /// + /// + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glBindProgramPipeline")] + public static + void BindProgramPipeline(Int32 pipeline) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindProgramPipeline((UInt32)pipeline); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Bind a program pipeline to the current context + /// + /// + /// + /// Specifies the name of the pipeline object to bind to the context. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glBindProgramPipeline")] + public static + void BindProgramPipeline(UInt32 pipeline) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindProgramPipeline((UInt32)pipeline); + #if DEBUG + } + #endif + } + + + /// [requires: v3.0 and ARB_framebuffer_object] + /// Bind a renderbuffer to a renderbuffer target + /// + /// + /// + /// Specifies the renderbuffer target of the binding operation. target must be GL_RENDERBUFFER. + /// + /// + /// + /// + /// Specifies the name of the renderbuffer object to bind. + /// + /// + [AutoGenerated(Category = "ARB_framebuffer_object", Version = "3.0", EntryPoint = "glBindRenderbuffer")] + public static + void BindRenderbuffer(OpenTK.Graphics.OpenGL.RenderbufferTarget target, Int32 renderbuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindRenderbuffer((OpenTK.Graphics.OpenGL.RenderbufferTarget)target, (UInt32)renderbuffer); + #if DEBUG + } + #endif + } + + + /// [requires: v3.0 and ARB_framebuffer_object] + /// Bind a renderbuffer to a renderbuffer target + /// + /// + /// + /// Specifies the renderbuffer target of the binding operation. target must be GL_RENDERBUFFER. + /// + /// + /// + /// + /// Specifies the name of the renderbuffer object to bind. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_framebuffer_object", Version = "3.0", EntryPoint = "glBindRenderbuffer")] + public static + void BindRenderbuffer(OpenTK.Graphics.OpenGL.RenderbufferTarget target, UInt32 renderbuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindRenderbuffer((OpenTK.Graphics.OpenGL.RenderbufferTarget)target, (UInt32)renderbuffer); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_sampler_objects] + /// Bind a named sampler to a texturing target + /// + /// + /// + /// Specifies the index of the texture unit to which the sampler is bound. + /// + /// + /// + /// + /// Specifies the name of a sampler. + /// + /// + [AutoGenerated(Category = "ARB_sampler_objects", Version = "1.2", EntryPoint = "glBindSampler")] + public static + void BindSampler(Int32 unit, Int32 sampler) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindSampler((UInt32)unit, (UInt32)sampler); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_sampler_objects] + /// Bind a named sampler to a texturing target + /// + /// + /// + /// Specifies the index of the texture unit to which the sampler is bound. + /// + /// + /// + /// + /// Specifies the name of a sampler. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_sampler_objects", Version = "1.2", EntryPoint = "glBindSampler")] + public static + void BindSampler(UInt32 unit, UInt32 sampler) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindSampler((UInt32)unit, (UInt32)sampler); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1] + /// Bind a named texture to a texturing target + /// + /// + /// + /// Specifies the target to which the texture is bound. Must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, or GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, GL_TEXTURE_CUBE_MAP, GL_TEXTURE_2D_MULTISAMPLE or GL_TEXTURE_2D_MULTISAMPLE_ARRAY. + /// + /// + /// + /// + /// Specifies the name of a texture. + /// + /// + [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glBindTexture")] + public static + void BindTexture(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 texture) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindTexture((OpenTK.Graphics.OpenGL.TextureTarget)target, (UInt32)texture); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1] + /// Bind a named texture to a texturing target + /// + /// + /// + /// Specifies the target to which the texture is bound. Must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, or GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, GL_TEXTURE_CUBE_MAP, GL_TEXTURE_2D_MULTISAMPLE or GL_TEXTURE_2D_MULTISAMPLE_ARRAY. + /// + /// + /// + /// + /// Specifies the name of a texture. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glBindTexture")] + public static + void BindTexture(OpenTK.Graphics.OpenGL.TextureTarget target, UInt32 texture) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindTexture((OpenTK.Graphics.OpenGL.TextureTarget)target, (UInt32)texture); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_transform_feedback2] + /// Bind a transform feedback object + /// + /// + /// + /// Specifies the target to which to bind the transform feedback object id. target must be GL_TRANSFORM_FEEDBACK. + /// + /// + /// + /// + /// Specifies the name of a transform feedback object reserved by glGenTransformFeedbacks. + /// + /// + [AutoGenerated(Category = "ARB_transform_feedback2", Version = "1.2", EntryPoint = "glBindTransformFeedback")] + public static + void BindTransformFeedback(OpenTK.Graphics.OpenGL.TransformFeedbackTarget target, Int32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindTransformFeedback((OpenTK.Graphics.OpenGL.TransformFeedbackTarget)target, (UInt32)id); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_transform_feedback2] + /// Bind a transform feedback object + /// + /// + /// + /// Specifies the target to which to bind the transform feedback object id. target must be GL_TRANSFORM_FEEDBACK. + /// + /// + /// + /// + /// Specifies the name of a transform feedback object reserved by glGenTransformFeedbacks. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_transform_feedback2", Version = "1.2", EntryPoint = "glBindTransformFeedback")] + public static + void BindTransformFeedback(OpenTK.Graphics.OpenGL.TransformFeedbackTarget target, UInt32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindTransformFeedback((OpenTK.Graphics.OpenGL.TransformFeedbackTarget)target, (UInt32)id); + #if DEBUG + } + #endif + } + + + /// [requires: v3.0 and ARB_vertex_array_object] + /// Bind a vertex array object + /// + /// + /// + /// Specifies the name of the vertex array to bind. + /// + /// + [AutoGenerated(Category = "ARB_vertex_array_object", Version = "3.0", EntryPoint = "glBindVertexArray")] + public static + void BindVertexArray(Int32 array) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindVertexArray((UInt32)array); + #if DEBUG + } + #endif + } + + + /// [requires: v3.0 and ARB_vertex_array_object] + /// Bind a vertex array object + /// + /// + /// + /// Specifies the name of the vertex array to bind. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_array_object", Version = "3.0", EntryPoint = "glBindVertexArray")] + public static + void BindVertexArray(UInt32 array) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindVertexArray((UInt32)array); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Draw a bitmap + /// + /// + /// + /// Specify the pixel width and height of the bitmap image. + /// + /// + /// + /// + /// Specify the location of the origin in the bitmap image. The origin is measured from the lower left corner of the bitmap, with right and up being the positive axes. + /// + /// + /// + /// + /// Specify the x and y offsets to be added to the current raster position after the bitmap is drawn. + /// + /// + /// + /// + /// Specifies the address of the bitmap image. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glBitmap")] + public static + void Bitmap(Int32 width, Int32 height, Single xorig, Single yorig, Single xmove, Single ymove, Byte[] bitmap) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* bitmap_ptr = bitmap) + { + Delegates.glBitmap((Int32)width, (Int32)height, (Single)xorig, (Single)yorig, (Single)xmove, (Single)ymove, (Byte*)bitmap_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Draw a bitmap + /// + /// + /// + /// Specify the pixel width and height of the bitmap image. + /// + /// + /// + /// + /// Specify the location of the origin in the bitmap image. The origin is measured from the lower left corner of the bitmap, with right and up being the positive axes. + /// + /// + /// + /// + /// Specify the x and y offsets to be added to the current raster position after the bitmap is drawn. + /// + /// + /// + /// + /// Specifies the address of the bitmap image. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glBitmap")] + public static + void Bitmap(Int32 width, Int32 height, Single xorig, Single yorig, Single xmove, Single ymove, ref Byte bitmap) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* bitmap_ptr = &bitmap) + { + Delegates.glBitmap((Int32)width, (Int32)height, (Single)xorig, (Single)yorig, (Single)xmove, (Single)ymove, (Byte*)bitmap_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Draw a bitmap + /// + /// + /// + /// Specify the pixel width and height of the bitmap image. + /// + /// + /// + /// + /// Specify the location of the origin in the bitmap image. The origin is measured from the lower left corner of the bitmap, with right and up being the positive axes. + /// + /// + /// + /// + /// Specify the x and y offsets to be added to the current raster position after the bitmap is drawn. + /// + /// + /// + /// + /// Specifies the address of the bitmap image. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glBitmap")] + public static + unsafe void Bitmap(Int32 width, Int32 height, Single xorig, Single yorig, Single xmove, Single ymove, Byte* bitmap) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBitmap((Int32)width, (Int32)height, (Single)xorig, (Single)yorig, (Single)xmove, (Single)ymove, (Byte*)bitmap); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2] + /// Set the blend color + /// + /// + /// + /// specify the components of GL_BLEND_COLOR + /// + /// + [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glBlendColor")] + public static + void BlendColor(Single red, Single green, Single blue, Single alpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBlendColor((Single)red, (Single)green, (Single)blue, (Single)alpha); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2] + /// Specify the equation used for both the RGB blend equation and the Alpha blend equation + /// + /// + /// + /// specifies how source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX. + /// + /// + [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glBlendEquation")] + public static + void BlendEquation(OpenTK.Graphics.OpenGL.BlendEquationMode mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBlendEquation((OpenTK.Graphics.OpenGL.BlendEquationMode)mode); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2] + /// Specify the equation used for both the RGB blend equation and the Alpha blend equation + /// + /// + /// + /// specifies how source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX. + /// + /// + [AutoGenerated(Category = "VERSION_4_0", Version = "1.2", EntryPoint = "glBlendEquationi")] + public static + void BlendEquation(Int32 buf, OpenTK.Graphics.OpenGL.Version40 mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBlendEquationi((UInt32)buf, (OpenTK.Graphics.OpenGL.Version40)mode); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2] + /// Specify the equation used for both the RGB blend equation and the Alpha blend equation + /// + /// + /// + /// specifies how source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_4_0", Version = "1.2", EntryPoint = "glBlendEquationi")] + public static + void BlendEquation(UInt32 buf, OpenTK.Graphics.OpenGL.Version40 mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBlendEquationi((UInt32)buf, (OpenTK.Graphics.OpenGL.Version40)mode); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// Set the RGB blend equation and the alpha blend equation separately + /// + /// + /// + /// specifies the RGB blend equation, how the red, green, and blue components of the source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX. + /// + /// + /// + /// + /// specifies the alpha blend equation, how the alpha component of the source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX. + /// + /// + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glBlendEquationSeparate")] + public static + void BlendEquationSeparate(OpenTK.Graphics.OpenGL.BlendEquationMode modeRGB, OpenTK.Graphics.OpenGL.BlendEquationMode modeAlpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBlendEquationSeparate((OpenTK.Graphics.OpenGL.BlendEquationMode)modeRGB, (OpenTK.Graphics.OpenGL.BlendEquationMode)modeAlpha); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2] + /// Set the RGB blend equation and the alpha blend equation separately + /// + /// + /// + /// specifies the RGB blend equation, how the red, green, and blue components of the source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX. + /// + /// + /// + /// + /// specifies the alpha blend equation, how the alpha component of the source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX. + /// + /// + [AutoGenerated(Category = "VERSION_4_0", Version = "1.2", EntryPoint = "glBlendEquationSeparatei")] + public static + void BlendEquationSeparate(Int32 buf, OpenTK.Graphics.OpenGL.BlendEquationMode modeRGB, OpenTK.Graphics.OpenGL.BlendEquationMode modeAlpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBlendEquationSeparatei((UInt32)buf, (OpenTK.Graphics.OpenGL.BlendEquationMode)modeRGB, (OpenTK.Graphics.OpenGL.BlendEquationMode)modeAlpha); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2] + /// Set the RGB blend equation and the alpha blend equation separately + /// + /// + /// + /// specifies the RGB blend equation, how the red, green, and blue components of the source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX. + /// + /// + /// + /// + /// specifies the alpha blend equation, how the alpha component of the source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_4_0", Version = "1.2", EntryPoint = "glBlendEquationSeparatei")] + public static + void BlendEquationSeparate(UInt32 buf, OpenTK.Graphics.OpenGL.BlendEquationMode modeRGB, OpenTK.Graphics.OpenGL.BlendEquationMode modeAlpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBlendEquationSeparatei((UInt32)buf, (OpenTK.Graphics.OpenGL.BlendEquationMode)modeRGB, (OpenTK.Graphics.OpenGL.BlendEquationMode)modeAlpha); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0] + /// Specify pixel arithmetic + /// + /// + /// + /// Specifies how the red, green, blue, and alpha source blending factors are computed. The initial value is GL_ONE. + /// + /// + /// + /// + /// Specifies how the red, green, blue, and alpha destination blending factors are computed. The following symbolic constants are accepted: GL_ZERO, GL_ONE, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_DST_COLOR, GL_ONE_MINUS_DST_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_DST_ALPHA, GL_ONE_MINUS_DST_ALPHA. GL_CONSTANT_COLOR, GL_ONE_MINUS_CONSTANT_COLOR, GL_CONSTANT_ALPHA, and GL_ONE_MINUS_CONSTANT_ALPHA. The initial value is GL_ZERO. + /// + /// + [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glBlendFunc")] + public static + void BlendFunc(OpenTK.Graphics.OpenGL.BlendingFactorSrc sfactor, OpenTK.Graphics.OpenGL.BlendingFactorDest dfactor) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBlendFunc((OpenTK.Graphics.OpenGL.BlendingFactorSrc)sfactor, (OpenTK.Graphics.OpenGL.BlendingFactorDest)dfactor); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2] + /// Specify pixel arithmetic + /// + /// + /// + /// Specifies how the red, green, blue, and alpha source blending factors are computed. The initial value is GL_ONE. + /// + /// + /// + /// + /// Specifies how the red, green, blue, and alpha destination blending factors are computed. The following symbolic constants are accepted: GL_ZERO, GL_ONE, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_DST_COLOR, GL_ONE_MINUS_DST_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_DST_ALPHA, GL_ONE_MINUS_DST_ALPHA. GL_CONSTANT_COLOR, GL_ONE_MINUS_CONSTANT_COLOR, GL_CONSTANT_ALPHA, and GL_ONE_MINUS_CONSTANT_ALPHA. The initial value is GL_ZERO. + /// + /// + [AutoGenerated(Category = "VERSION_4_0", Version = "1.2", EntryPoint = "glBlendFunci")] + public static + void BlendFunc(Int32 buf, OpenTK.Graphics.OpenGL.Version40 src, OpenTK.Graphics.OpenGL.Version40 dst) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBlendFunci((UInt32)buf, (OpenTK.Graphics.OpenGL.Version40)src, (OpenTK.Graphics.OpenGL.Version40)dst); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2] + /// Specify pixel arithmetic + /// + /// + /// + /// Specifies how the red, green, blue, and alpha source blending factors are computed. The initial value is GL_ONE. + /// + /// + /// + /// + /// Specifies how the red, green, blue, and alpha destination blending factors are computed. The following symbolic constants are accepted: GL_ZERO, GL_ONE, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_DST_COLOR, GL_ONE_MINUS_DST_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_DST_ALPHA, GL_ONE_MINUS_DST_ALPHA. GL_CONSTANT_COLOR, GL_ONE_MINUS_CONSTANT_COLOR, GL_CONSTANT_ALPHA, and GL_ONE_MINUS_CONSTANT_ALPHA. The initial value is GL_ZERO. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_4_0", Version = "1.2", EntryPoint = "glBlendFunci")] + public static + void BlendFunc(UInt32 buf, OpenTK.Graphics.OpenGL.Version40 src, OpenTK.Graphics.OpenGL.Version40 dst) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBlendFunci((UInt32)buf, (OpenTK.Graphics.OpenGL.Version40)src, (OpenTK.Graphics.OpenGL.Version40)dst); + #if DEBUG + } + #endif + } + + + /// [requires: v1.4] + /// Specify pixel arithmetic for RGB and alpha components separately + /// + /// + /// + /// Specifies how the red, green, and blue blending factors are computed. The initial value is GL_ONE. + /// + /// + /// + /// + /// Specifies how the red, green, and blue destination blending factors are computed. The initial value is GL_ZERO. + /// + /// + /// + /// + /// Specified how the alpha source blending factor is computed. The initial value is GL_ONE. + /// + /// + /// + /// + /// Specified how the alpha destination blending factor is computed. The initial value is GL_ZERO. + /// + /// + [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glBlendFuncSeparate")] + public static + void BlendFuncSeparate(OpenTK.Graphics.OpenGL.BlendingFactorSrc sfactorRGB, OpenTK.Graphics.OpenGL.BlendingFactorDest dfactorRGB, OpenTK.Graphics.OpenGL.BlendingFactorSrc sfactorAlpha, OpenTK.Graphics.OpenGL.BlendingFactorDest dfactorAlpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBlendFuncSeparate((OpenTK.Graphics.OpenGL.BlendingFactorSrc)sfactorRGB, (OpenTK.Graphics.OpenGL.BlendingFactorDest)dfactorRGB, (OpenTK.Graphics.OpenGL.BlendingFactorSrc)sfactorAlpha, (OpenTK.Graphics.OpenGL.BlendingFactorDest)dfactorAlpha); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2] + /// Specify pixel arithmetic for RGB and alpha components separately + /// + /// + /// + /// Specifies how the red, green, and blue blending factors are computed. The initial value is GL_ONE. + /// + /// + /// + /// + /// Specifies how the red, green, and blue destination blending factors are computed. The initial value is GL_ZERO. + /// + /// + /// + /// + /// Specified how the alpha source blending factor is computed. The initial value is GL_ONE. + /// + /// + /// + /// + /// Specified how the alpha destination blending factor is computed. The initial value is GL_ZERO. + /// + /// + [AutoGenerated(Category = "VERSION_4_0", Version = "1.2", EntryPoint = "glBlendFuncSeparatei")] + public static + void BlendFuncSeparate(Int32 buf, OpenTK.Graphics.OpenGL.Version40 srcRGB, OpenTK.Graphics.OpenGL.Version40 dstRGB, OpenTK.Graphics.OpenGL.Version40 srcAlpha, OpenTK.Graphics.OpenGL.Version40 dstAlpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBlendFuncSeparatei((UInt32)buf, (OpenTK.Graphics.OpenGL.Version40)srcRGB, (OpenTK.Graphics.OpenGL.Version40)dstRGB, (OpenTK.Graphics.OpenGL.Version40)srcAlpha, (OpenTK.Graphics.OpenGL.Version40)dstAlpha); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2] + /// Specify pixel arithmetic for RGB and alpha components separately + /// + /// + /// + /// Specifies how the red, green, and blue blending factors are computed. The initial value is GL_ONE. + /// + /// + /// + /// + /// Specifies how the red, green, and blue destination blending factors are computed. The initial value is GL_ZERO. + /// + /// + /// + /// + /// Specified how the alpha source blending factor is computed. The initial value is GL_ONE. + /// + /// + /// + /// + /// Specified how the alpha destination blending factor is computed. The initial value is GL_ZERO. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_4_0", Version = "1.2", EntryPoint = "glBlendFuncSeparatei")] + public static + void BlendFuncSeparate(UInt32 buf, OpenTK.Graphics.OpenGL.Version40 srcRGB, OpenTK.Graphics.OpenGL.Version40 dstRGB, OpenTK.Graphics.OpenGL.Version40 srcAlpha, OpenTK.Graphics.OpenGL.Version40 dstAlpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBlendFuncSeparatei((UInt32)buf, (OpenTK.Graphics.OpenGL.Version40)srcRGB, (OpenTK.Graphics.OpenGL.Version40)dstRGB, (OpenTK.Graphics.OpenGL.Version40)srcAlpha, (OpenTK.Graphics.OpenGL.Version40)dstAlpha); + #if DEBUG + } + #endif + } + + + /// [requires: v3.0 and ARB_framebuffer_object] + /// Copy a block of pixels from the read framebuffer to the draw framebuffer + /// + /// + /// + /// Specify the bounds of the source rectangle within the read buffer of the read framebuffer. + /// + /// + /// + /// + /// Specify the bounds of the destination rectangle within the write buffer of the write framebuffer. + /// + /// + /// + /// + /// The bitwise OR of the flags indicating which buffers are to be copied. The allowed flags are GL_COLOR_BUFFER_BIT, GL_DEPTH_BUFFER_BIT and GL_STENCIL_BUFFER_BIT. + /// + /// + /// + /// + /// Specifies the interpolation to be applied if the image is stretched. Must be GL_NEAREST or GL_LINEAR. + /// + /// + [AutoGenerated(Category = "ARB_framebuffer_object", Version = "3.0", EntryPoint = "glBlitFramebuffer")] + public static + void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.OpenGL.ClearBufferMask mask, OpenTK.Graphics.OpenGL.BlitFramebufferFilter filter) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBlitFramebuffer((Int32)srcX0, (Int32)srcY0, (Int32)srcX1, (Int32)srcY1, (Int32)dstX0, (Int32)dstY0, (Int32)dstX1, (Int32)dstY1, (OpenTK.Graphics.OpenGL.ClearBufferMask)mask, (OpenTK.Graphics.OpenGL.BlitFramebufferFilter)filter); + #if DEBUG + } + #endif + } + + + /// [requires: v1.5] + /// Creates and initializes a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_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 = "VERSION_1_5", Version = "1.5", EntryPoint = "glBufferData")] + public static + void BufferData(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr size, IntPtr data, OpenTK.Graphics.OpenGL.BufferUsageHint usage) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBufferData((OpenTK.Graphics.OpenGL.BufferTarget)target, (IntPtr)size, (IntPtr)data, (OpenTK.Graphics.OpenGL.BufferUsageHint)usage); + #if DEBUG + } + #endif + } + + + /// [requires: v1.5] + /// Creates and initializes a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_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 = "VERSION_1_5", Version = "1.5", EntryPoint = "glBufferData")] + public static + void BufferData(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr size, [InAttribute, OutAttribute] T2[] data, OpenTK.Graphics.OpenGL.BufferUsageHint usage) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glBufferData((OpenTK.Graphics.OpenGL.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.BufferUsageHint)usage); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.5] + /// Creates and initializes a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_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 = "VERSION_1_5", Version = "1.5", EntryPoint = "glBufferData")] + public static + void BufferData(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr size, [InAttribute, OutAttribute] T2[,] data, OpenTK.Graphics.OpenGL.BufferUsageHint usage) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glBufferData((OpenTK.Graphics.OpenGL.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.BufferUsageHint)usage); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.5] + /// Creates and initializes a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_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 = "VERSION_1_5", Version = "1.5", EntryPoint = "glBufferData")] + public static + void BufferData(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr size, [InAttribute, OutAttribute] T2[,,] data, OpenTK.Graphics.OpenGL.BufferUsageHint usage) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glBufferData((OpenTK.Graphics.OpenGL.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.BufferUsageHint)usage); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.5] + /// Creates and initializes a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_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 = "VERSION_1_5", Version = "1.5", EntryPoint = "glBufferData")] + public static + void BufferData(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr size, [InAttribute, OutAttribute] ref T2 data, OpenTK.Graphics.OpenGL.BufferUsageHint usage) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glBufferData((OpenTK.Graphics.OpenGL.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.BufferUsageHint)usage); + data = (T2)data_ptr.Target; + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.5] + /// Updates a subset of a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_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 = "VERSION_1_5", Version = "1.5", EntryPoint = "glBufferSubData")] + public static + void BufferSubData(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr size, IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBufferSubData((OpenTK.Graphics.OpenGL.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data); + #if DEBUG + } + #endif + } + + + /// [requires: v1.5] + /// Updates a subset of a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_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 = "VERSION_1_5", Version = "1.5", EntryPoint = "glBufferSubData")] + public static + void BufferSubData(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glBufferSubData((OpenTK.Graphics.OpenGL.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.5] + /// Updates a subset of a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_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 = "VERSION_1_5", Version = "1.5", EntryPoint = "glBufferSubData")] + public static + void BufferSubData(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glBufferSubData((OpenTK.Graphics.OpenGL.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.5] + /// Updates a subset of a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_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 = "VERSION_1_5", Version = "1.5", EntryPoint = "glBufferSubData")] + public static + void BufferSubData(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,,] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glBufferSubData((OpenTK.Graphics.OpenGL.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.5] + /// Updates a subset of a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_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 = "VERSION_1_5", Version = "1.5", EntryPoint = "glBufferSubData")] + public static + void BufferSubData(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] ref T3 data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glBufferSubData((OpenTK.Graphics.OpenGL.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + data = (T3)data_ptr.Target; + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Execute a display list + /// + /// + /// + /// Specifies the integer name of the display list to be executed. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glCallList")] + public static + void CallList(Int32 list) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCallList((UInt32)list); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Execute a display list + /// + /// + /// + /// Specifies the integer name of the display list to be executed. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glCallList")] + public static + void CallList(UInt32 list) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCallList((UInt32)list); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Execute a list of display lists + /// + /// + /// + /// Specifies the number of display lists to be executed. + /// + /// + /// + /// + /// Specifies the type of values in lists. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, GL_2_BYTES, GL_3_BYTES, and GL_4_BYTES are accepted. + /// + /// + /// + /// + /// Specifies the address of an array of name offsets in the display list. The pointer type is void because the offsets can be bytes, shorts, ints, or floats, depending on the value of type. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glCallLists")] + public static + void CallLists(Int32 n, OpenTK.Graphics.OpenGL.ListNameType type, IntPtr lists) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCallLists((Int32)n, (OpenTK.Graphics.OpenGL.ListNameType)type, (IntPtr)lists); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Execute a list of display lists + /// + /// + /// + /// Specifies the number of display lists to be executed. + /// + /// + /// + /// + /// Specifies the type of values in lists. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, GL_2_BYTES, GL_3_BYTES, and GL_4_BYTES are accepted. + /// + /// + /// + /// + /// Specifies the address of an array of name offsets in the display list. The pointer type is void because the offsets can be bytes, shorts, ints, or floats, depending on the value of type. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glCallLists")] + public static + void CallLists(Int32 n, OpenTK.Graphics.OpenGL.ListNameType type, [InAttribute, OutAttribute] T2[] lists) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle lists_ptr = GCHandle.Alloc(lists, GCHandleType.Pinned); + try + { + Delegates.glCallLists((Int32)n, (OpenTK.Graphics.OpenGL.ListNameType)type, (IntPtr)lists_ptr.AddrOfPinnedObject()); + } + finally + { + lists_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Execute a list of display lists + /// + /// + /// + /// Specifies the number of display lists to be executed. + /// + /// + /// + /// + /// Specifies the type of values in lists. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, GL_2_BYTES, GL_3_BYTES, and GL_4_BYTES are accepted. + /// + /// + /// + /// + /// Specifies the address of an array of name offsets in the display list. The pointer type is void because the offsets can be bytes, shorts, ints, or floats, depending on the value of type. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glCallLists")] + public static + void CallLists(Int32 n, OpenTK.Graphics.OpenGL.ListNameType type, [InAttribute, OutAttribute] T2[,] lists) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle lists_ptr = GCHandle.Alloc(lists, GCHandleType.Pinned); + try + { + Delegates.glCallLists((Int32)n, (OpenTK.Graphics.OpenGL.ListNameType)type, (IntPtr)lists_ptr.AddrOfPinnedObject()); + } + finally + { + lists_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Execute a list of display lists + /// + /// + /// + /// Specifies the number of display lists to be executed. + /// + /// + /// + /// + /// Specifies the type of values in lists. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, GL_2_BYTES, GL_3_BYTES, and GL_4_BYTES are accepted. + /// + /// + /// + /// + /// Specifies the address of an array of name offsets in the display list. The pointer type is void because the offsets can be bytes, shorts, ints, or floats, depending on the value of type. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glCallLists")] + public static + void CallLists(Int32 n, OpenTK.Graphics.OpenGL.ListNameType type, [InAttribute, OutAttribute] T2[,,] lists) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle lists_ptr = GCHandle.Alloc(lists, GCHandleType.Pinned); + try + { + Delegates.glCallLists((Int32)n, (OpenTK.Graphics.OpenGL.ListNameType)type, (IntPtr)lists_ptr.AddrOfPinnedObject()); + } + finally + { + lists_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Execute a list of display lists + /// + /// + /// + /// Specifies the number of display lists to be executed. + /// + /// + /// + /// + /// Specifies the type of values in lists. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, GL_2_BYTES, GL_3_BYTES, and GL_4_BYTES are accepted. + /// + /// + /// + /// + /// Specifies the address of an array of name offsets in the display list. The pointer type is void because the offsets can be bytes, shorts, ints, or floats, depending on the value of type. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glCallLists")] + public static + void CallLists(Int32 n, OpenTK.Graphics.OpenGL.ListNameType type, [InAttribute, OutAttribute] ref T2 lists) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle lists_ptr = GCHandle.Alloc(lists, GCHandleType.Pinned); + try + { + Delegates.glCallLists((Int32)n, (OpenTK.Graphics.OpenGL.ListNameType)type, (IntPtr)lists_ptr.AddrOfPinnedObject()); + lists = (T2)lists_ptr.Target; + } + finally + { + lists_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v3.0 and ARB_framebuffer_object] + /// Check the completeness status of a framebuffer + /// + /// + /// + /// Specify the target of the framebuffer completeness check. + /// + /// + [AutoGenerated(Category = "ARB_framebuffer_object", Version = "3.0", EntryPoint = "glCheckFramebufferStatus")] + public static + OpenTK.Graphics.OpenGL.FramebufferErrorCode CheckFramebufferStatus(OpenTK.Graphics.OpenGL.FramebufferTarget target) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glCheckFramebufferStatus((OpenTK.Graphics.OpenGL.FramebufferTarget)target); + #if DEBUG + } + #endif + } + + + /// [requires: v3.0] + /// Specify whether data read via glReadPixels should be clamped + /// + /// + /// + /// Target for color clamping. target must be GL_CLAMP_READ_COLOR. + /// + /// + /// + /// + /// Specifies whether to apply color clamping. clamp must be GL_TRUE or GL_FALSE. + /// + /// + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glClampColor")] + public static + void ClampColor(OpenTK.Graphics.OpenGL.ClampColorTarget target, OpenTK.Graphics.OpenGL.ClampColorMode clamp) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glClampColor((OpenTK.Graphics.OpenGL.ClampColorTarget)target, (OpenTK.Graphics.OpenGL.ClampColorMode)clamp); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0] + /// Clear buffers to preset values + /// + /// + /// + /// Bitwise OR of masks that indicate the buffers to be cleared. The three masks are GL_COLOR_BUFFER_BIT, GL_DEPTH_BUFFER_BIT, and GL_STENCIL_BUFFER_BIT. + /// + /// + [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glClear")] + public static + void Clear(OpenTK.Graphics.OpenGL.ClearBufferMask mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glClear((OpenTK.Graphics.OpenGL.ClearBufferMask)mask); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify clear values for the accumulation buffer + /// + /// + /// + /// Specify the red, green, blue, and alpha values used when the accumulation buffer is cleared. The initial values are all 0. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glClearAccum")] + public static + void ClearAccum(Single red, Single green, Single blue, Single alpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glClearAccum((Single)red, (Single)green, (Single)blue, (Single)alpha); + #if DEBUG + } + #endif + } + + + /// [requires: v3.0] + /// Clear individual buffers of the currently bound draw framebuffer + /// + /// + /// + /// Specify the buffer to clear. + /// + /// + /// + /// + /// Specify a particular draw buffer to clear. + /// + /// + /// + /// + /// For color buffers, a pointer to a four-element vector specifying R, G, B and A values to clear the buffer to. For depth buffers, a pointer to a single depth value to clear the buffer to. For stencil buffers, a pointer to a single stencil value to clear the buffer to. + /// + /// + /// + /// + /// The value to clear a depth render buffer to. + /// + /// + /// + /// + /// The value to clear a stencil render buffer to. + /// + /// + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferfi")] + public static + void ClearBuffer(OpenTK.Graphics.OpenGL.ClearBuffer buffer, Int32 drawbuffer, Single depth, Int32 stencil) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glClearBufferfi((OpenTK.Graphics.OpenGL.ClearBuffer)buffer, (Int32)drawbuffer, (Single)depth, (Int32)stencil); + #if DEBUG + } + #endif + } + + + /// [requires: v3.0] + /// Clear individual buffers of the currently bound draw framebuffer + /// + /// + /// + /// Specify the buffer to clear. + /// + /// + /// + /// + /// Specify a particular draw buffer to clear. + /// + /// + /// + /// + /// For color buffers, a pointer to a four-element vector specifying R, G, B and A values to clear the buffer to. For depth buffers, a pointer to a single depth value to clear the buffer to. For stencil buffers, a pointer to a single stencil value to clear the buffer to. + /// + /// + /// + /// + /// The value to clear a depth render buffer to. + /// + /// + /// + /// + /// The value to clear a stencil render buffer to. + /// + /// + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferfv")] + public static + void ClearBuffer(OpenTK.Graphics.OpenGL.ClearBuffer buffer, Int32 drawbuffer, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glClearBufferfv((OpenTK.Graphics.OpenGL.ClearBuffer)buffer, (Int32)drawbuffer, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v3.0] + /// Clear individual buffers of the currently bound draw framebuffer + /// + /// + /// + /// Specify the buffer to clear. + /// + /// + /// + /// + /// Specify a particular draw buffer to clear. + /// + /// + /// + /// + /// For color buffers, a pointer to a four-element vector specifying R, G, B and A values to clear the buffer to. For depth buffers, a pointer to a single depth value to clear the buffer to. For stencil buffers, a pointer to a single stencil value to clear the buffer to. + /// + /// + /// + /// + /// The value to clear a depth render buffer to. + /// + /// + /// + /// + /// The value to clear a stencil render buffer to. + /// + /// + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferfv")] + public static + void ClearBuffer(OpenTK.Graphics.OpenGL.ClearBuffer buffer, Int32 drawbuffer, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glClearBufferfv((OpenTK.Graphics.OpenGL.ClearBuffer)buffer, (Int32)drawbuffer, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v3.0] + /// Clear individual buffers of the currently bound draw framebuffer + /// + /// + /// + /// Specify the buffer to clear. + /// + /// + /// + /// + /// Specify a particular draw buffer to clear. + /// + /// + /// + /// + /// For color buffers, a pointer to a four-element vector specifying R, G, B and A values to clear the buffer to. For depth buffers, a pointer to a single depth value to clear the buffer to. For stencil buffers, a pointer to a single stencil value to clear the buffer to. + /// + /// + /// + /// + /// The value to clear a depth render buffer to. + /// + /// + /// + /// + /// The value to clear a stencil render buffer to. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferfv")] + public static + unsafe void ClearBuffer(OpenTK.Graphics.OpenGL.ClearBuffer buffer, Int32 drawbuffer, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glClearBufferfv((OpenTK.Graphics.OpenGL.ClearBuffer)buffer, (Int32)drawbuffer, (Single*)value); + #if DEBUG + } + #endif + } + + + /// [requires: v3.0] + /// Clear individual buffers of the currently bound draw framebuffer + /// + /// + /// + /// Specify the buffer to clear. + /// + /// + /// + /// + /// Specify a particular draw buffer to clear. + /// + /// + /// + /// + /// For color buffers, a pointer to a four-element vector specifying R, G, B and A values to clear the buffer to. For depth buffers, a pointer to a single depth value to clear the buffer to. For stencil buffers, a pointer to a single stencil value to clear the buffer to. + /// + /// + /// + /// + /// The value to clear a depth render buffer to. + /// + /// + /// + /// + /// The value to clear a stencil render buffer to. + /// + /// + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferiv")] + public static + void ClearBuffer(OpenTK.Graphics.OpenGL.ClearBuffer buffer, Int32 drawbuffer, Int32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = value) + { + Delegates.glClearBufferiv((OpenTK.Graphics.OpenGL.ClearBuffer)buffer, (Int32)drawbuffer, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v3.0] + /// Clear individual buffers of the currently bound draw framebuffer + /// + /// + /// + /// Specify the buffer to clear. + /// + /// + /// + /// + /// Specify a particular draw buffer to clear. + /// + /// + /// + /// + /// For color buffers, a pointer to a four-element vector specifying R, G, B and A values to clear the buffer to. For depth buffers, a pointer to a single depth value to clear the buffer to. For stencil buffers, a pointer to a single stencil value to clear the buffer to. + /// + /// + /// + /// + /// The value to clear a depth render buffer to. + /// + /// + /// + /// + /// The value to clear a stencil render buffer to. + /// + /// + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferiv")] + public static + void ClearBuffer(OpenTK.Graphics.OpenGL.ClearBuffer buffer, Int32 drawbuffer, ref Int32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = &value) + { + Delegates.glClearBufferiv((OpenTK.Graphics.OpenGL.ClearBuffer)buffer, (Int32)drawbuffer, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v3.0] + /// Clear individual buffers of the currently bound draw framebuffer + /// + /// + /// + /// Specify the buffer to clear. + /// + /// + /// + /// + /// Specify a particular draw buffer to clear. + /// + /// + /// + /// + /// For color buffers, a pointer to a four-element vector specifying R, G, B and A values to clear the buffer to. For depth buffers, a pointer to a single depth value to clear the buffer to. For stencil buffers, a pointer to a single stencil value to clear the buffer to. + /// + /// + /// + /// + /// The value to clear a depth render buffer to. + /// + /// + /// + /// + /// The value to clear a stencil render buffer to. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferiv")] + public static + unsafe void ClearBuffer(OpenTK.Graphics.OpenGL.ClearBuffer buffer, Int32 drawbuffer, Int32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glClearBufferiv((OpenTK.Graphics.OpenGL.ClearBuffer)buffer, (Int32)drawbuffer, (Int32*)value); + #if DEBUG + } + #endif + } + + + /// [requires: v3.0] + /// Clear individual buffers of the currently bound draw framebuffer + /// + /// + /// + /// Specify the buffer to clear. + /// + /// + /// + /// + /// Specify a particular draw buffer to clear. + /// + /// + /// + /// + /// For color buffers, a pointer to a four-element vector specifying R, G, B and A values to clear the buffer to. For depth buffers, a pointer to a single depth value to clear the buffer to. For stencil buffers, a pointer to a single stencil value to clear the buffer to. + /// + /// + /// + /// + /// The value to clear a depth render buffer to. + /// + /// + /// + /// + /// The value to clear a stencil render buffer to. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferuiv")] + public static + void ClearBuffer(OpenTK.Graphics.OpenGL.ClearBuffer buffer, Int32 drawbuffer, UInt32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* value_ptr = value) + { + Delegates.glClearBufferuiv((OpenTK.Graphics.OpenGL.ClearBuffer)buffer, (Int32)drawbuffer, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v3.0] + /// Clear individual buffers of the currently bound draw framebuffer + /// + /// + /// + /// Specify the buffer to clear. + /// + /// + /// + /// + /// Specify a particular draw buffer to clear. + /// + /// + /// + /// + /// For color buffers, a pointer to a four-element vector specifying R, G, B and A values to clear the buffer to. For depth buffers, a pointer to a single depth value to clear the buffer to. For stencil buffers, a pointer to a single stencil value to clear the buffer to. + /// + /// + /// + /// + /// The value to clear a depth render buffer to. + /// + /// + /// + /// + /// The value to clear a stencil render buffer to. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferuiv")] + public static + void ClearBuffer(OpenTK.Graphics.OpenGL.ClearBuffer buffer, Int32 drawbuffer, ref UInt32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* value_ptr = &value) + { + Delegates.glClearBufferuiv((OpenTK.Graphics.OpenGL.ClearBuffer)buffer, (Int32)drawbuffer, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v3.0] + /// Clear individual buffers of the currently bound draw framebuffer + /// + /// + /// + /// Specify the buffer to clear. + /// + /// + /// + /// + /// Specify a particular draw buffer to clear. + /// + /// + /// + /// + /// For color buffers, a pointer to a four-element vector specifying R, G, B and A values to clear the buffer to. For depth buffers, a pointer to a single depth value to clear the buffer to. For stencil buffers, a pointer to a single stencil value to clear the buffer to. + /// + /// + /// + /// + /// The value to clear a depth render buffer to. + /// + /// + /// + /// + /// The value to clear a stencil render buffer to. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferuiv")] + public static + unsafe void ClearBuffer(OpenTK.Graphics.OpenGL.ClearBuffer buffer, Int32 drawbuffer, UInt32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glClearBufferuiv((OpenTK.Graphics.OpenGL.ClearBuffer)buffer, (Int32)drawbuffer, (UInt32*)value); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0] + /// Specify clear values for the color buffers + /// + /// + /// + /// Specify the red, green, blue, and alpha values used when the color buffers are cleared. The initial values are all 0. + /// + /// + [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glClearColor")] + public static + void ClearColor(Single red, Single green, Single blue, Single alpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glClearColor((Single)red, (Single)green, (Single)blue, (Single)alpha); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0] + /// Specify the clear value for the depth buffer + /// + /// + /// + /// Specifies the depth value used when the depth buffer is cleared. The initial value is 1. + /// + /// + [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glClearDepth")] + public static + void ClearDepth(Double depth) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glClearDepth((Double)depth); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_ES2_compatibility] + /// Specify the clear value for the depth buffer + /// + /// + /// + /// Specifies the depth value used when the depth buffer is cleared. The initial value is 1. + /// + /// + [AutoGenerated(Category = "ARB_ES2_compatibility", Version = "4.1", EntryPoint = "glClearDepthf")] + public static + void ClearDepth(Single d) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glClearDepthf((Single)d); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify the clear value for the color index buffers + /// + /// + /// + /// Specifies the index used when the color index buffers are cleared. The initial value is 0. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glClearIndex")] + public static + void ClearIndex(Single c) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glClearIndex((Single)c); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0] + /// Specify the clear value for the stencil buffer + /// + /// + /// + /// Specifies the index used when the stencil buffer is cleared. The initial value is 0. + /// + /// + [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glClearStencil")] + public static + void ClearStencil(Int32 s) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glClearStencil((Int32)s); + #if DEBUG + } + #endif + } + + + /// [requires: v1.3][deprecated: v3.1] + /// Select active texture unit + /// + /// + /// + /// 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 = "VERSION_1_3_DEPRECATED", Version = "1.3", EntryPoint = "glClientActiveTexture")] + public static + void ClientActiveTexture(OpenTK.Graphics.OpenGL.TextureUnit texture) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glClientActiveTexture((OpenTK.Graphics.OpenGL.TextureUnit)texture); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_sync] + /// Block and wait for a sync object to become signaled + /// + /// + /// + /// The sync object whose status to wait on. + /// + /// + /// + /// + /// A bitfield controlling the command flushing behavior. flags may be GL_SYNC_FLUSH_COMMANDS_BIT. + /// + /// + [AutoGenerated(Category = "ARB_sync", Version = "1.2", EntryPoint = "glClientWaitSync")] + public static + OpenTK.Graphics.OpenGL.ArbSync ClientWaitSync(IntPtr sync, Int32 flags, Int64 timeout) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glClientWaitSync((IntPtr)sync, (UInt32)flags, (UInt64)timeout); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_sync] + /// Block and wait for a sync object to become signaled + /// + /// + /// + /// The sync object whose status to wait on. + /// + /// + /// + /// + /// A bitfield controlling the command flushing behavior. flags may be GL_SYNC_FLUSH_COMMANDS_BIT. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_sync", Version = "1.2", EntryPoint = "glClientWaitSync")] + public static + OpenTK.Graphics.OpenGL.ArbSync ClientWaitSync(IntPtr sync, UInt32 flags, UInt64 timeout) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glClientWaitSync((IntPtr)sync, (UInt32)flags, (UInt64)timeout); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify a plane against which all geometry is clipped + /// + /// + /// + /// Specifies which clipping plane is being positioned. Symbolic names of the form GL_CLIP_PLANEi, where i is an integer between 0 and GL_MAX_CLIP_PLANES - 1, are accepted. + /// + /// + /// + /// + /// Specifies the address of an array of four double-precision floating-point values. These values are interpreted as a plane equation. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glClipPlane")] + public static + void ClipPlane(OpenTK.Graphics.OpenGL.ClipPlaneName plane, Double[] equation) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* equation_ptr = equation) + { + Delegates.glClipPlane((OpenTK.Graphics.OpenGL.ClipPlaneName)plane, (Double*)equation_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify a plane against which all geometry is clipped + /// + /// + /// + /// Specifies which clipping plane is being positioned. Symbolic names of the form GL_CLIP_PLANEi, where i is an integer between 0 and GL_MAX_CLIP_PLANES - 1, are accepted. + /// + /// + /// + /// + /// Specifies the address of an array of four double-precision floating-point values. These values are interpreted as a plane equation. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glClipPlane")] + public static + void ClipPlane(OpenTK.Graphics.OpenGL.ClipPlaneName plane, ref Double equation) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* equation_ptr = &equation) + { + Delegates.glClipPlane((OpenTK.Graphics.OpenGL.ClipPlaneName)plane, (Double*)equation_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify a plane against which all geometry is clipped + /// + /// + /// + /// Specifies which clipping plane is being positioned. Symbolic names of the form GL_CLIP_PLANEi, where i is an integer between 0 and GL_MAX_CLIP_PLANES - 1, are accepted. + /// + /// + /// + /// + /// Specifies the address of an array of four double-precision floating-point values. These values are interpreted as a plane equation. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glClipPlane")] + public static + unsafe void ClipPlane(OpenTK.Graphics.OpenGL.ClipPlaneName plane, Double* equation) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glClipPlane((OpenTK.Graphics.OpenGL.ClipPlaneName)plane, (Double*)equation); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glColor3b")] + public static + void Color3(SByte red, SByte green, SByte blue) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor3b((SByte)red, (SByte)green, (SByte)blue); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glColor3bv")] + public static + void Color3(SByte[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (SByte* v_ptr = v) + { + Delegates.glColor3bv((SByte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glColor3bv")] + public static + void Color3(ref SByte v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (SByte* v_ptr = &v) + { + Delegates.glColor3bv((SByte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glColor3bv")] + public static + unsafe void Color3(SByte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor3bv((SByte*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glColor3d")] + public static + void Color3(Double red, Double green, Double blue) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor3d((Double)red, (Double)green, (Double)blue); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glColor3dv")] + public static + void Color3(Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glColor3dv((Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glColor3dv")] + public static + void Color3(ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glColor3dv((Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glColor3dv")] + public static + unsafe void Color3(Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor3dv((Double*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glColor3f")] + public static + void Color3(Single red, Single green, Single blue) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor3f((Single)red, (Single)green, (Single)blue); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glColor3fv")] + public static + void Color3(Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glColor3fv((Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glColor3fv")] + public static + void Color3(ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glColor3fv((Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glColor3fv")] + public static + unsafe void Color3(Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor3fv((Single*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glColor3i")] + public static + void Color3(Int32 red, Int32 green, Int32 blue) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor3i((Int32)red, (Int32)green, (Int32)blue); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glColor3iv")] + public static + void Color3(Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glColor3iv((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glColor3iv")] + public static + void Color3(ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glColor3iv((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glColor3iv")] + public static + unsafe void Color3(Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor3iv((Int32*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glColor3s")] + public static + void Color3(Int16 red, Int16 green, Int16 blue) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor3s((Int16)red, (Int16)green, (Int16)blue); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glColor3sv")] + public static + void Color3(Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glColor3sv((Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glColor3sv")] + public static + void Color3(ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glColor3sv((Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glColor3sv")] + public static + unsafe void Color3(Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor3sv((Int16*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glColor3ub")] + public static + void Color3(Byte red, Byte green, Byte blue) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor3ub((Byte)red, (Byte)green, (Byte)blue); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glColor3ubv")] + public static + void Color3(Byte[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = v) + { + Delegates.glColor3ubv((Byte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glColor3ubv")] + public static + void Color3(ref Byte v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = &v) + { + Delegates.glColor3ubv((Byte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glColor3ubv")] + public static + unsafe void Color3(Byte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor3ubv((Byte*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glColor3ui")] + public static + void Color3(UInt32 red, UInt32 green, UInt32 blue) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor3ui((UInt32)red, (UInt32)green, (UInt32)blue); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glColor3uiv")] + public static + void Color3(UInt32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* v_ptr = v) + { + Delegates.glColor3uiv((UInt32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glColor3uiv")] + public static + void Color3(ref UInt32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* v_ptr = &v) + { + Delegates.glColor3uiv((UInt32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glColor3uiv")] + public static + unsafe void Color3(UInt32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor3uiv((UInt32*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glColor3us")] + public static + void Color3(UInt16 red, UInt16 green, UInt16 blue) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor3us((UInt16)red, (UInt16)green, (UInt16)blue); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glColor3usv")] + public static + void Color3(UInt16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt16* v_ptr = v) + { + Delegates.glColor3usv((UInt16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glColor3usv")] + public static + void Color3(ref UInt16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt16* v_ptr = &v) + { + Delegates.glColor3usv((UInt16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glColor3usv")] + public static + unsafe void Color3(UInt16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor3usv((UInt16*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glColor4b")] + public static + void Color4(SByte red, SByte green, SByte blue, SByte alpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor4b((SByte)red, (SByte)green, (SByte)blue, (SByte)alpha); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glColor4bv")] + public static + void Color4(SByte[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (SByte* v_ptr = v) + { + Delegates.glColor4bv((SByte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glColor4bv")] + public static + void Color4(ref SByte v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (SByte* v_ptr = &v) + { + Delegates.glColor4bv((SByte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glColor4bv")] + public static + unsafe void Color4(SByte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor4bv((SByte*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glColor4d")] + public static + void Color4(Double red, Double green, Double blue, Double alpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor4d((Double)red, (Double)green, (Double)blue, (Double)alpha); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glColor4dv")] + public static + void Color4(Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glColor4dv((Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glColor4dv")] + public static + void Color4(ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glColor4dv((Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glColor4dv")] + public static + unsafe void Color4(Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor4dv((Double*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glColor4f")] + public static + void Color4(Single red, Single green, Single blue, Single alpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor4f((Single)red, (Single)green, (Single)blue, (Single)alpha); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glColor4fv")] + public static + void Color4(Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glColor4fv((Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glColor4fv")] + public static + void Color4(ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glColor4fv((Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glColor4fv")] + public static + unsafe void Color4(Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor4fv((Single*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glColor4i")] + public static + void Color4(Int32 red, Int32 green, Int32 blue, Int32 alpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor4i((Int32)red, (Int32)green, (Int32)blue, (Int32)alpha); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glColor4iv")] + public static + void Color4(Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glColor4iv((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glColor4iv")] + public static + void Color4(ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glColor4iv((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glColor4iv")] + public static + unsafe void Color4(Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor4iv((Int32*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glColor4s")] + public static + void Color4(Int16 red, Int16 green, Int16 blue, Int16 alpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor4s((Int16)red, (Int16)green, (Int16)blue, (Int16)alpha); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glColor4sv")] + public static + void Color4(Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glColor4sv((Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glColor4sv")] + public static + void Color4(ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glColor4sv((Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glColor4sv")] + public static + unsafe void Color4(Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor4sv((Int16*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glColor4ub")] + public static + void Color4(Byte red, Byte green, Byte blue, Byte alpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor4ub((Byte)red, (Byte)green, (Byte)blue, (Byte)alpha); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glColor4ubv")] + public static + void Color4(Byte[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = v) + { + Delegates.glColor4ubv((Byte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glColor4ubv")] + public static + void Color4(ref Byte v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = &v) + { + Delegates.glColor4ubv((Byte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glColor4ubv")] + public static + unsafe void Color4(Byte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor4ubv((Byte*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glColor4ui")] + public static + void Color4(UInt32 red, UInt32 green, UInt32 blue, UInt32 alpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor4ui((UInt32)red, (UInt32)green, (UInt32)blue, (UInt32)alpha); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glColor4uiv")] + public static + void Color4(UInt32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* v_ptr = v) + { + Delegates.glColor4uiv((UInt32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glColor4uiv")] + public static + void Color4(ref UInt32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* v_ptr = &v) + { + Delegates.glColor4uiv((UInt32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glColor4uiv")] + public static + unsafe void Color4(UInt32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor4uiv((UInt32*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glColor4us")] + public static + void Color4(UInt16 red, UInt16 green, UInt16 blue, UInt16 alpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor4us((UInt16)red, (UInt16)green, (UInt16)blue, (UInt16)alpha); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glColor4usv")] + public static + void Color4(UInt16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt16* v_ptr = v) + { + Delegates.glColor4usv((UInt16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glColor4usv")] + public static + void Color4(ref UInt16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt16* v_ptr = &v) + { + Delegates.glColor4usv((UInt16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glColor4usv")] + public static + unsafe void Color4(UInt16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor4usv((UInt16*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0] + /// Enable and disable writing of frame buffer color components + /// + /// + /// + /// Specify whether red, green, blue, and alpha can or cannot be written into the frame buffer. The initial values are all GL_TRUE, indicating that the color components can be written. + /// + /// + [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColorMask")] + public static + void ColorMask(bool red, bool green, bool blue, bool alpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColorMask((bool)red, (bool)green, (bool)blue, (bool)alpha); + #if DEBUG + } + #endif + } + + + /// [requires: v3.0] + /// Enable and disable writing of frame buffer color components + /// + /// + /// + /// Specify whether red, green, blue, and alpha can or cannot be written into the frame buffer. The initial values are all GL_TRUE, indicating that the color components can be written. + /// + /// + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glColorMaski")] + public static + void ColorMask(Int32 index, bool r, bool g, bool b, bool a) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColorMaski((UInt32)index, (bool)r, (bool)g, (bool)b, (bool)a); + #if DEBUG + } + #endif + } + + + /// [requires: v3.0] + /// Enable and disable writing of frame buffer color components + /// + /// + /// + /// Specify whether red, green, blue, and alpha can or cannot be written into the frame buffer. The initial values are all GL_TRUE, indicating that the color components can be written. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glColorMaski")] + public static + void ColorMask(UInt32 index, bool r, bool g, bool b, bool a) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColorMaski((UInt32)index, (bool)r, (bool)g, (bool)b, (bool)a); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Cause a material color to track the current color + /// + /// + /// + /// Specifies whether front, back, or both front and back material parameters should track the current color. Accepted values are GL_FRONT, GL_BACK, and GL_FRONT_AND_BACK. The initial value is GL_FRONT_AND_BACK. + /// + /// + /// + /// + /// Specifies which of several material parameters track the current color. Accepted values are GL_EMISSION, GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, and GL_AMBIENT_AND_DIFFUSE. The initial value is GL_AMBIENT_AND_DIFFUSE. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glColorMaterial")] + public static + void ColorMaterial(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.ColorMaterialParameter mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColorMaterial((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.ColorMaterialParameter)mode); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glColorP3ui")] + public static + void ColorP3(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32 color) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColorP3ui((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)color); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glColorP3ui")] + public static + void ColorP3(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 color) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColorP3ui((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)color); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glColorP3uiv")] + public static + unsafe void ColorP3(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32* color) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColorP3uiv((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)color); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glColorP3uiv")] + public static + unsafe void ColorP3(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* color) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColorP3uiv((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)color); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glColorP4ui")] + public static + void ColorP4(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32 color) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColorP4ui((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)color); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glColorP4ui")] + public static + void ColorP4(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 color) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColorP4ui((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)color); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glColorP4uiv")] + public static + unsafe void ColorP4(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32* color) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColorP4uiv((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)color); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glColorP4uiv")] + public static + unsafe void ColorP4(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* color) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColorP4uiv((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)color); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1][deprecated: v3.1] + /// Define an array of colors + /// + /// + /// + /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "VERSION_1_1_DEPRECATED", Version = "1.1", EntryPoint = "glColorPointer")] + public static + void ColorPointer(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColorPointer((Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1][deprecated: v3.1] + /// Define an array of colors + /// + /// + /// + /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "VERSION_1_1_DEPRECATED", Version = "1.1", EntryPoint = "glColorPointer")] + public static + void ColorPointer(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[] pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glColorPointer((Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1][deprecated: v3.1] + /// Define an array of colors + /// + /// + /// + /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "VERSION_1_1_DEPRECATED", Version = "1.1", EntryPoint = "glColorPointer")] + public static + void ColorPointer(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[,] pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glColorPointer((Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1][deprecated: v3.1] + /// Define an array of colors + /// + /// + /// + /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "VERSION_1_1_DEPRECATED", Version = "1.1", EntryPoint = "glColorPointer")] + public static + void ColorPointer(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[,,] pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glColorPointer((Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1][deprecated: v3.1] + /// Define an array of colors + /// + /// + /// + /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "VERSION_1_1_DEPRECATED", Version = "1.1", EntryPoint = "glColorPointer")] + public static + void ColorPointer(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, [InAttribute, OutAttribute] ref T3 pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glColorPointer((Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + pointer = (T3)pointer_ptr.Target; + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Respecify a portion of a color table + /// + /// + /// + /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The starting index of the portion of the color table to be replaced. + /// + /// + /// + /// + /// The number of table entries to replace. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to replace the specified region of the color table. + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glColorSubTable")] + public static + void ColorSubTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColorSubTable((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (Int32)start, (Int32)count, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Respecify a portion of a color table + /// + /// + /// + /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The starting index of the portion of the color table to be replaced. + /// + /// + /// + /// + /// The number of table entries to replace. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to replace the specified region of the color table. + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glColorSubTable")] + public static + void ColorSubTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[] data) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glColorSubTable((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (Int32)start, (Int32)count, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Respecify a portion of a color table + /// + /// + /// + /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The starting index of the portion of the color table to be replaced. + /// + /// + /// + /// + /// The number of table entries to replace. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to replace the specified region of the color table. + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glColorSubTable")] + public static + void ColorSubTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[,] data) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glColorSubTable((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (Int32)start, (Int32)count, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Respecify a portion of a color table + /// + /// + /// + /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The starting index of the portion of the color table to be replaced. + /// + /// + /// + /// + /// The number of table entries to replace. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to replace the specified region of the color table. + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glColorSubTable")] + public static + void ColorSubTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[,,] data) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glColorSubTable((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (Int32)start, (Int32)count, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Respecify a portion of a color table + /// + /// + /// + /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The starting index of the portion of the color table to be replaced. + /// + /// + /// + /// + /// The number of table entries to replace. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to replace the specified region of the color table. + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glColorSubTable")] + public static + void ColorSubTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T5 data) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glColorSubTable((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (Int32)start, (Int32)count, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); + data = (T5)data_ptr.Target; + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Define a color lookup table + /// + /// + /// + /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The internal format of the color table. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, and GL_RGBA16. + /// + /// + /// + /// + /// The number of entries in the color lookup table specified by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glColorTable")] + public static + void ColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr table) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColorTable((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Define a color lookup table + /// + /// + /// + /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The internal format of the color table. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, and GL_RGBA16. + /// + /// + /// + /// + /// The number of entries in the color lookup table specified by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glColorTable")] + public static + void ColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[] table) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); + try + { + Delegates.glColorTable((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + } + finally + { + table_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Define a color lookup table + /// + /// + /// + /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The internal format of the color table. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, and GL_RGBA16. + /// + /// + /// + /// + /// The number of entries in the color lookup table specified by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glColorTable")] + public static + void ColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[,] table) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); + try + { + Delegates.glColorTable((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + } + finally + { + table_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Define a color lookup table + /// + /// + /// + /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The internal format of the color table. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, and GL_RGBA16. + /// + /// + /// + /// + /// The number of entries in the color lookup table specified by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glColorTable")] + public static + void ColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[,,] table) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); + try + { + Delegates.glColorTable((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + } + finally + { + table_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Define a color lookup table + /// + /// + /// + /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The internal format of the color table. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, and GL_RGBA16. + /// + /// + /// + /// + /// The number of entries in the color lookup table specified by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glColorTable")] + public static + void ColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T5 table) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); + try + { + Delegates.glColorTable((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + table = (T5)table_ptr.Target; + } + finally + { + table_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Set color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a texture color lookup table parameter. Must be one of GL_COLOR_TABLE_SCALE or GL_COLOR_TABLE_BIAS. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameters are stored. + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glColorTableParameterfv")] + public static + void ColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.ColorTableParameterPName pname, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glColorTableParameterfv((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.ColorTableParameterPName)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Set color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a texture color lookup table parameter. Must be one of GL_COLOR_TABLE_SCALE or GL_COLOR_TABLE_BIAS. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameters are stored. + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glColorTableParameterfv")] + public static + void ColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.ColorTableParameterPName pname, ref Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glColorTableParameterfv((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.ColorTableParameterPName)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Set color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a texture color lookup table parameter. Must be one of GL_COLOR_TABLE_SCALE or GL_COLOR_TABLE_BIAS. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameters are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glColorTableParameterfv")] + public static + unsafe void ColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.ColorTableParameterPName pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColorTableParameterfv((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.ColorTableParameterPName)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Set color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a texture color lookup table parameter. Must be one of GL_COLOR_TABLE_SCALE or GL_COLOR_TABLE_BIAS. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameters are stored. + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glColorTableParameteriv")] + public static + void ColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.ColorTableParameterPName pname, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glColorTableParameteriv((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.ColorTableParameterPName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Set color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a texture color lookup table parameter. Must be one of GL_COLOR_TABLE_SCALE or GL_COLOR_TABLE_BIAS. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameters are stored. + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glColorTableParameteriv")] + public static + void ColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.ColorTableParameterPName pname, ref Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glColorTableParameteriv((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.ColorTableParameterPName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Set color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a texture color lookup table parameter. Must be one of GL_COLOR_TABLE_SCALE or GL_COLOR_TABLE_BIAS. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameters are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glColorTableParameteriv")] + public static + unsafe void ColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.ColorTableParameterPName pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColorTableParameteriv((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.ColorTableParameterPName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// Compiles a shader object + /// + /// + /// + /// Specifies the shader object to be compiled. + /// + /// + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glCompileShader")] + public static + void CompileShader(Int32 shader) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompileShader((UInt32)shader); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// Compiles a shader object + /// + /// + /// + /// Specifies the shader object to be compiled. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glCompileShader")] + public static + void CompileShader(UInt32 shader) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompileShader((UInt32)shader); + #if DEBUG + } + #endif + } + + + /// [requires: v1.3] + /// Specify a one-dimensional texture image in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the width of the texture image. All implementations support texture images that are at least 64 texels wide. The height of the 1D texture image is 1. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// 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 = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexImage1D")] + public static + void CompressedTexImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedTexImage1D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data); + #if DEBUG + } + #endif + } + + + /// [requires: v1.3] + /// Specify a one-dimensional texture image in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the width of the texture image. All implementations support texture images that are at least 64 texels wide. The height of the 1D texture image is 1. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// 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 = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexImage1D")] + public static + void CompressedTexImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T6[] data) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexImage1D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.3] + /// Specify a one-dimensional texture image in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the width of the texture image. All implementations support texture images that are at least 64 texels wide. The height of the 1D texture image is 1. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// 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 = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexImage1D")] + public static + void CompressedTexImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T6[,] data) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexImage1D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.3] + /// Specify a one-dimensional texture image in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the width of the texture image. All implementations support texture images that are at least 64 texels wide. The height of the 1D texture image is 1. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// 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 = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexImage1D")] + public static + void CompressedTexImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T6[,,] data) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexImage1D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.3] + /// Specify a one-dimensional texture image in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the width of the texture image. All implementations support texture images that are at least 64 texels wide. The height of the 1D texture image is 1. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// 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 = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexImage1D")] + public static + void CompressedTexImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T6 data) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexImage1D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + data = (T6)data_ptr.Target; + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.3] + /// 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_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, 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. 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. 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. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// 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 = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexImage2D")] + public static + void CompressedTexImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedTexImage2D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data); + #if DEBUG + } + #endif + } + + + /// [requires: v1.3] + /// 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_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, 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. 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. 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. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// 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 = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexImage2D")] + public static + void CompressedTexImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[] data) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexImage2D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.3] + /// 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_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, 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. 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. 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. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// 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 = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexImage2D")] + public static + void CompressedTexImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,] data) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexImage2D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.3] + /// 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_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, 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. 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. 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. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// 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 = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexImage2D")] + public static + void CompressedTexImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,,] data) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexImage2D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.3] + /// 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_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, 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. 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. 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. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// 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 = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexImage2D")] + public static + void CompressedTexImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T7 data) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexImage2D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + data = (T7)data_ptr.Target; + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.3] + /// Specify a three-dimensional texture image in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D, GL_PROXY_TEXTURE_3D, GL_TEXTURE_2D_ARRAY or GL_PROXY_TEXTURE_2D_ARRAY. + /// + /// + /// + /// + /// 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. All implementations support 3D texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image. All implementations support 3D texture images that are at least 16 texels high. + /// + /// + /// + /// + /// Specifies the depth of the texture image. All implementations support 3D texture images that are at least 16 texels deep. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// 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 = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexImage3D")] + public static + void CompressedTexImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedTexImage3D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data); + #if DEBUG + } + #endif + } + + + /// [requires: v1.3] + /// Specify a three-dimensional texture image in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D, GL_PROXY_TEXTURE_3D, GL_TEXTURE_2D_ARRAY or GL_PROXY_TEXTURE_2D_ARRAY. + /// + /// + /// + /// + /// 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. All implementations support 3D texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image. All implementations support 3D texture images that are at least 16 texels high. + /// + /// + /// + /// + /// Specifies the depth of the texture image. All implementations support 3D texture images that are at least 16 texels deep. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// 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 = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexImage3D")] + public static + void CompressedTexImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[] data) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexImage3D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.3] + /// Specify a three-dimensional texture image in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D, GL_PROXY_TEXTURE_3D, GL_TEXTURE_2D_ARRAY or GL_PROXY_TEXTURE_2D_ARRAY. + /// + /// + /// + /// + /// 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. All implementations support 3D texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image. All implementations support 3D texture images that are at least 16 texels high. + /// + /// + /// + /// + /// Specifies the depth of the texture image. All implementations support 3D texture images that are at least 16 texels deep. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// 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 = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexImage3D")] + public static + void CompressedTexImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[,] data) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexImage3D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.3] + /// Specify a three-dimensional texture image in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D, GL_PROXY_TEXTURE_3D, GL_TEXTURE_2D_ARRAY or GL_PROXY_TEXTURE_2D_ARRAY. + /// + /// + /// + /// + /// 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. All implementations support 3D texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image. All implementations support 3D texture images that are at least 16 texels high. + /// + /// + /// + /// + /// Specifies the depth of the texture image. All implementations support 3D texture images that are at least 16 texels deep. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// 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 = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexImage3D")] + public static + void CompressedTexImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[,,] data) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexImage3D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.3] + /// Specify a three-dimensional texture image in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D, GL_PROXY_TEXTURE_3D, GL_TEXTURE_2D_ARRAY or GL_PROXY_TEXTURE_2D_ARRAY. + /// + /// + /// + /// + /// 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. All implementations support 3D texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image. All implementations support 3D texture images that are at least 16 texels high. + /// + /// + /// + /// + /// Specifies the depth of the texture image. All implementations support 3D texture images that are at least 16 texels deep. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// 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 = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexImage3D")] + public static + void CompressedTexImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T8 data) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexImage3D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + data = (T8)data_ptr.Target; + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.3] + /// 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 = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexSubImage1D")] + public static + void CompressedTexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedTexSubImage1D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data); + #if DEBUG + } + #endif + } + + + /// [requires: v1.3] + /// 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 = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexSubImage1D")] + public static + void CompressedTexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T6[] data) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexSubImage1D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.3] + /// 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 = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexSubImage1D")] + public static + void CompressedTexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T6[,] data) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexSubImage1D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.3] + /// 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 = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexSubImage1D")] + public static + void CompressedTexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T6[,,] data) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexSubImage1D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.3] + /// 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 = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexSubImage1D")] + public static + void CompressedTexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] ref T6 data) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexSubImage1D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + data = (T6)data_ptr.Target; + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.3] + /// 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 = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexSubImage2D")] + public static + void CompressedTexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data); + #if DEBUG + } + #endif + } + + + /// [requires: v1.3] + /// 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 = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexSubImage2D")] + public static + void CompressedTexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T8[] data) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.3] + /// 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 = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexSubImage2D")] + public static + void CompressedTexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T8[,] data) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.3] + /// 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 = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexSubImage2D")] + public static + void CompressedTexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T8[,,] data) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.3] + /// 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 = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexSubImage2D")] + public static + void CompressedTexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] ref T8 data) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + data = (T8)data_ptr.Target; + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.3] + /// 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 = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexSubImage3D")] + public static + void CompressedTexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedTexSubImage3D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data); + #if DEBUG + } + #endif + } + + + /// [requires: v1.3] + /// 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 = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexSubImage3D")] + public static + void CompressedTexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T10[] data) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexSubImage3D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.3] + /// 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 = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexSubImage3D")] + public static + void CompressedTexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T10[,] data) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexSubImage3D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.3] + /// 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 = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexSubImage3D")] + public static + void CompressedTexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T10[,,] data) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexSubImage3D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.3] + /// 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 = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexSubImage3D")] + public static + void CompressedTexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] ref T10 data) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexSubImage3D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + data = (T10)data_ptr.Target; + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Define a one-dimensional convolution filter + /// + /// + /// + /// Must be GL_CONVOLUTION_1D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The width of the pixel array referenced by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_INTENSITY, GL_RGB, and GL_RGBA. + /// + /// + /// + /// + /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the convolution filter kernel. + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glConvolutionFilter1D")] + public static + void ConvolutionFilter1D(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr image) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glConvolutionFilter1D((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Define a one-dimensional convolution filter + /// + /// + /// + /// Must be GL_CONVOLUTION_1D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The width of the pixel array referenced by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_INTENSITY, GL_RGB, and GL_RGBA. + /// + /// + /// + /// + /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the convolution filter kernel. + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glConvolutionFilter1D")] + public static + void ConvolutionFilter1D(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[] image) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glConvolutionFilter1D((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + } + finally + { + image_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Define a one-dimensional convolution filter + /// + /// + /// + /// Must be GL_CONVOLUTION_1D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The width of the pixel array referenced by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_INTENSITY, GL_RGB, and GL_RGBA. + /// + /// + /// + /// + /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the convolution filter kernel. + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glConvolutionFilter1D")] + public static + void ConvolutionFilter1D(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[,] image) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glConvolutionFilter1D((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + } + finally + { + image_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Define a one-dimensional convolution filter + /// + /// + /// + /// Must be GL_CONVOLUTION_1D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The width of the pixel array referenced by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_INTENSITY, GL_RGB, and GL_RGBA. + /// + /// + /// + /// + /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the convolution filter kernel. + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glConvolutionFilter1D")] + public static + void ConvolutionFilter1D(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[,,] image) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glConvolutionFilter1D((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + } + finally + { + image_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Define a one-dimensional convolution filter + /// + /// + /// + /// Must be GL_CONVOLUTION_1D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The width of the pixel array referenced by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_INTENSITY, GL_RGB, and GL_RGBA. + /// + /// + /// + /// + /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the convolution filter kernel. + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glConvolutionFilter1D")] + public static + void ConvolutionFilter1D(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T5 image) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glConvolutionFilter1D((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + image = (T5)image_ptr.Target; + } + finally + { + image_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Define a two-dimensional convolution filter + /// + /// + /// + /// Must be GL_CONVOLUTION_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The width of the pixel array referenced by data. + /// + /// + /// + /// + /// The height of the pixel array referenced by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a two-dimensional array of pixel data that is processed to build the convolution filter kernel. + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glConvolutionFilter2D")] + public static + void ConvolutionFilter2D(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr image) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glConvolutionFilter2D((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Define a two-dimensional convolution filter + /// + /// + /// + /// Must be GL_CONVOLUTION_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The width of the pixel array referenced by data. + /// + /// + /// + /// + /// The height of the pixel array referenced by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a two-dimensional array of pixel data that is processed to build the convolution filter kernel. + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glConvolutionFilter2D")] + public static + void ConvolutionFilter2D(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[] image) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glConvolutionFilter2D((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + } + finally + { + image_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Define a two-dimensional convolution filter + /// + /// + /// + /// Must be GL_CONVOLUTION_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The width of the pixel array referenced by data. + /// + /// + /// + /// + /// The height of the pixel array referenced by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a two-dimensional array of pixel data that is processed to build the convolution filter kernel. + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glConvolutionFilter2D")] + public static + void ConvolutionFilter2D(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[,] image) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glConvolutionFilter2D((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + } + finally + { + image_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Define a two-dimensional convolution filter + /// + /// + /// + /// Must be GL_CONVOLUTION_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The width of the pixel array referenced by data. + /// + /// + /// + /// + /// The height of the pixel array referenced by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a two-dimensional array of pixel data that is processed to build the convolution filter kernel. + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glConvolutionFilter2D")] + public static + void ConvolutionFilter2D(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[,,] image) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glConvolutionFilter2D((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + } + finally + { + image_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Define a two-dimensional convolution filter + /// + /// + /// + /// Must be GL_CONVOLUTION_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The width of the pixel array referenced by data. + /// + /// + /// + /// + /// The height of the pixel array referenced by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a two-dimensional array of pixel data that is processed to build the convolution filter kernel. + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glConvolutionFilter2D")] + public static + void ConvolutionFilter2D(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T6 image) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glConvolutionFilter2D((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + image = (T6)image_ptr.Target; + } + finally + { + image_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Set convolution parameters + /// + /// + /// + /// The target for the convolution parameter. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The parameter to be set. Must be GL_CONVOLUTION_BORDER_MODE. + /// + /// + /// + /// + /// The parameter value. Must be one of GL_REDUCE, GL_CONSTANT_BORDER, GL_REPLICATE_BORDER. + /// + /// + /// + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glConvolutionParameterf")] + public static + void ConvolutionParameter(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.ConvolutionParameter pname, Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glConvolutionParameterf((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.ConvolutionParameter)pname, (Single)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Set convolution parameters + /// + /// + /// + /// The target for the convolution parameter. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The parameter to be set. Must be GL_CONVOLUTION_BORDER_MODE. + /// + /// + /// + /// + /// The parameter value. Must be one of GL_REDUCE, GL_CONSTANT_BORDER, GL_REPLICATE_BORDER. + /// + /// + /// + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glConvolutionParameterfv")] + public static + void ConvolutionParameter(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.ConvolutionParameter pname, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glConvolutionParameterfv((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.ConvolutionParameter)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Set convolution parameters + /// + /// + /// + /// The target for the convolution parameter. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The parameter to be set. Must be GL_CONVOLUTION_BORDER_MODE. + /// + /// + /// + /// + /// The parameter value. Must be one of GL_REDUCE, GL_CONSTANT_BORDER, GL_REPLICATE_BORDER. + /// + /// + /// + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glConvolutionParameterfv")] + public static + unsafe void ConvolutionParameter(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.ConvolutionParameter pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glConvolutionParameterfv((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.ConvolutionParameter)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Set convolution parameters + /// + /// + /// + /// The target for the convolution parameter. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The parameter to be set. Must be GL_CONVOLUTION_BORDER_MODE. + /// + /// + /// + /// + /// The parameter value. Must be one of GL_REDUCE, GL_CONSTANT_BORDER, GL_REPLICATE_BORDER. + /// + /// + /// + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glConvolutionParameteri")] + public static + void ConvolutionParameter(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.ConvolutionParameter pname, Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glConvolutionParameteri((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.ConvolutionParameter)pname, (Int32)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Set convolution parameters + /// + /// + /// + /// The target for the convolution parameter. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The parameter to be set. Must be GL_CONVOLUTION_BORDER_MODE. + /// + /// + /// + /// + /// The parameter value. Must be one of GL_REDUCE, GL_CONSTANT_BORDER, GL_REPLICATE_BORDER. + /// + /// + /// + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glConvolutionParameteriv")] + public static + void ConvolutionParameter(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.ConvolutionParameter pname, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glConvolutionParameteriv((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.ConvolutionParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Set convolution parameters + /// + /// + /// + /// The target for the convolution parameter. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The parameter to be set. Must be GL_CONVOLUTION_BORDER_MODE. + /// + /// + /// + /// + /// The parameter value. Must be one of GL_REDUCE, GL_CONSTANT_BORDER, GL_REPLICATE_BORDER. + /// + /// + /// + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glConvolutionParameteriv")] + public static + unsafe void ConvolutionParameter(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.ConvolutionParameter pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glConvolutionParameteriv((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.ConvolutionParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v3.0 and ARB_copy_buffer] + /// Copy part of the data store of a buffer object to the data store of another buffer object + /// + /// + /// + /// Specifies the target from whose data store data should be read. + /// + /// + /// + /// + /// Specifies the target to whose data store data should be written. + /// + /// + /// + /// + /// Specifies the offset, in basic machine units, within the data store of readtarget from which data should be read. + /// + /// + /// + /// + /// Specifies the offset, in basic machine units, within the data store of writetarget to which data should be written. + /// + /// + /// + /// + /// Specifies the size, in basic machine units, of the data to be copied from readtarget to writetarget. + /// + /// + [AutoGenerated(Category = "ARB_copy_buffer", Version = "3.0", EntryPoint = "glCopyBufferSubData")] + public static + void CopyBufferSubData(OpenTK.Graphics.OpenGL.BufferTarget readTarget, OpenTK.Graphics.OpenGL.BufferTarget writeTarget, IntPtr readOffset, IntPtr writeOffset, IntPtr size) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCopyBufferSubData((OpenTK.Graphics.OpenGL.BufferTarget)readTarget, (OpenTK.Graphics.OpenGL.BufferTarget)writeTarget, (IntPtr)readOffset, (IntPtr)writeOffset, (IntPtr)size); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Respecify a portion of a color table + /// + /// + /// + /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The starting index of the portion of the color table to be replaced. + /// + /// + /// + /// + /// The window coordinates of the left corner of the row of pixels to be copied. + /// + /// + /// + /// + /// The number of table entries to replace. + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glCopyColorSubTable")] + public static + void CopyColorSubTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, Int32 start, Int32 x, Int32 y, Int32 width) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCopyColorSubTable((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (Int32)start, (Int32)x, (Int32)y, (Int32)width); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Copy pixels into a color table + /// + /// + /// + /// The color table target. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The internal storage format of the texture image. Must be one of the following symbolic constants: GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The x coordinate of the lower-left corner of the pixel rectangle to be transferred to the color table. + /// + /// + /// + /// + /// The y coordinate of the lower-left corner of the pixel rectangle to be transferred to the color table. + /// + /// + /// + /// + /// The width of the pixel rectangle. + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glCopyColorTable")] + public static + void CopyColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCopyColorTable((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Copy pixels into a one-dimensional convolution filter + /// + /// + /// + /// Must be GL_CONVOLUTION_1D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The window space coordinates of the lower-left coordinate of the pixel array to copy. + /// + /// + /// + /// + /// The width of the pixel array to copy. + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glCopyConvolutionFilter1D")] + public static + void CopyConvolutionFilter1D(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCopyConvolutionFilter1D((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Copy pixels into a two-dimensional convolution filter + /// + /// + /// + /// Must be GL_CONVOLUTION_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The window space coordinates of the lower-left coordinate of the pixel array to copy. + /// + /// + /// + /// + /// The width of the pixel array to copy. + /// + /// + /// + /// + /// The height of the pixel array to copy. + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glCopyConvolutionFilter2D")] + public static + void CopyConvolutionFilter2D(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCopyConvolutionFilter2D((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Copy pixels in the frame buffer + /// + /// + /// + /// Specify the window coordinates of the lower left corner of the rectangular region of pixels to be copied. + /// + /// + /// + /// + /// Specify the dimensions of the rectangular region of pixels to be copied. Both must be nonnegative. + /// + /// + /// + /// + /// Specifies whether color values, depth values, or stencil values are to be copied. Symbolic constants GL_COLOR, GL_DEPTH, and GL_STENCIL are accepted. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glCopyPixels")] + public static + void CopyPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelCopyType type) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCopyPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelCopyType)type); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1] + /// Copy pixels into a 1D texture image + /// + /// + /// + /// 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 the internal format of the texture. Must be one of the following symbolic constants: GL_COMPRESSED_RED, GL_COMPRESSED_RG, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA. GL_COMPRESSED_SRGB, GL_COMPRESSED_SRGB_ALPHA. GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_RED, GL_RG, GL_RGB, GL_R3_G3_B2, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. + /// + /// + /// + /// + /// Specify the window coordinates of the left corner of the row of pixels to be copied. + /// + /// + /// + /// + /// Specifies the width of the texture image. Must be 0 or 2 sup n + 2 ( border ) for some integer . The height of the texture image is 1. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glCopyTexImage1D")] + public static + void CopyTexImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 border) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCopyTexImage1D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)border); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1] + /// Copy pixels into a 2D texture image + /// + /// + /// + /// 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 the internal format of the texture. Must be one of the following symbolic constants: GL_COMPRESSED_RED, GL_COMPRESSED_RG, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA. GL_COMPRESSED_SRGB, GL_COMPRESSED_SRGB_ALPHA. GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_RED, GL_RG, GL_RGB, GL_R3_G3_B2, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. + /// + /// + /// + /// + /// Specify the window coordinates of the lower left corner of the rectangular region of pixels to be copied. + /// + /// + /// + /// + /// Specifies the width of the texture image. Must be 0 or 2 sup n + 2 ( border ) for some integer . + /// + /// + /// + /// + /// Specifies the height of the texture image. Must be 0 or 2 sup m + 2 ( border ) for some integer . + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glCopyTexImage2D")] + public static + void CopyTexImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCopyTexImage2D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1] + /// Copy a one-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the texel offset within the texture array. + /// + /// + /// + /// + /// Specify the window coordinates of the left corner of the row of pixels to be copied. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glCopyTexSubImage1D")] + public static + void CopyTexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCopyTexSubImage1D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)x, (Int32)y, (Int32)width); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1] + /// Copy a two-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specify the window coordinates of the lower left corner of the rectangular region of pixels to be copied. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glCopyTexSubImage2D")] + public static + void CopyTexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCopyTexSubImage2D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2] + /// Copy a three-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the z direction within the texture array. + /// + /// + /// + /// + /// Specify the window coordinates of the lower left corner of the rectangular region of pixels to be copied. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glCopyTexSubImage3D")] + public static + void CopyTexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCopyTexSubImage3D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// Creates a program object + /// + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glCreateProgram")] + public static + Int32 CreateProgram() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glCreateProgram(); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// Creates a shader object + /// + /// + /// + /// Specifies the type of shader to be created. Must be one of GL_VERTEX_SHADER, GL_TESS_CONTROL_SHADER, GL_TESS_EVALUATION_SHADER, GL_GEOMETRY_SHADER, or GL_FRAGMENT_SHADER. + /// + /// + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glCreateShader")] + public static + Int32 CreateShader(OpenTK.Graphics.OpenGL.ShaderType type) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glCreateShader((OpenTK.Graphics.OpenGL.ShaderType)type); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Create a stand-alone program from an array of null-terminated source code strings + /// + /// + /// + /// Specifies the type of shader to create. + /// + /// + /// + /// + /// Specifies the number of source code strings in the array strings. + /// + /// + /// + /// + /// Specifies the address of an array of pointers to source code strings from which to create the program object. + /// + /// + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glCreateShaderProgramv")] + public static + Int32 CreateShaderProgram(OpenTK.Graphics.OpenGL.ShaderType type, Int32 count, String[] strings) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glCreateShaderProgramv((OpenTK.Graphics.OpenGL.ShaderType)type, (Int32)count, (String[])strings); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0] + /// Specify whether front- or back-facing facets can be culled + /// + /// + /// + /// Specifies whether front- or back-facing facets are candidates for culling. Symbolic constants GL_FRONT, GL_BACK, and GL_FRONT_AND_BACK are accepted. The initial value is GL_BACK. + /// + /// + [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glCullFace")] + public static + void CullFace(OpenTK.Graphics.OpenGL.CullFaceMode mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCullFace((OpenTK.Graphics.OpenGL.CullFaceMode)mode); + #if DEBUG + } + #endif + } + + + /// [requires: v1.5] + /// Delete named buffer objects + /// + /// + /// + /// Specifies the number of buffer objects to be deleted. + /// + /// + /// + /// + /// Specifies an array of buffer objects to be deleted. + /// + /// + [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glDeleteBuffers")] + public static + void DeleteBuffers(Int32 n, Int32[] buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* buffers_ptr = buffers) + { + Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.5] + /// Delete named buffer objects + /// + /// + /// + /// Specifies the number of buffer objects to be deleted. + /// + /// + /// + /// + /// Specifies an array of buffer objects to be deleted. + /// + /// + [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glDeleteBuffers")] + public static + void DeleteBuffers(Int32 n, ref Int32 buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* buffers_ptr = &buffers) + { + Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.5] + /// 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 = "VERSION_1_5", Version = "1.5", EntryPoint = "glDeleteBuffers")] + public static + unsafe void DeleteBuffers(Int32 n, Int32* buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers); + #if DEBUG + } + #endif + } + + + /// [requires: v1.5] + /// 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 = "VERSION_1_5", Version = "1.5", EntryPoint = "glDeleteBuffers")] + public static + void DeleteBuffers(Int32 n, UInt32[] buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* buffers_ptr = buffers) + { + Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.5] + /// 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 = "VERSION_1_5", Version = "1.5", EntryPoint = "glDeleteBuffers")] + public static + void DeleteBuffers(Int32 n, ref UInt32 buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* buffers_ptr = &buffers) + { + Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.5] + /// 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 = "VERSION_1_5", Version = "1.5", EntryPoint = "glDeleteBuffers")] + public static + unsafe void DeleteBuffers(Int32 n, UInt32* buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers); + #if DEBUG + } + #endif + } + + + /// [requires: v3.0 and ARB_framebuffer_object] + /// Delete framebuffer objects + /// + /// + /// + /// Specifies the number of framebuffer objects to be deleted. + /// + /// + /// + /// + /// A pointer to an array containing n framebuffer objects to be deleted. + /// + /// + [AutoGenerated(Category = "ARB_framebuffer_object", Version = "3.0", EntryPoint = "glDeleteFramebuffers")] + public static + void DeleteFramebuffers(Int32 n, Int32[] framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* framebuffers_ptr = framebuffers) + { + Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v3.0 and ARB_framebuffer_object] + /// Delete framebuffer objects + /// + /// + /// + /// Specifies the number of framebuffer objects to be deleted. + /// + /// + /// + /// + /// A pointer to an array containing n framebuffer objects to be deleted. + /// + /// + [AutoGenerated(Category = "ARB_framebuffer_object", Version = "3.0", EntryPoint = "glDeleteFramebuffers")] + public static + void DeleteFramebuffers(Int32 n, ref Int32 framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* framebuffers_ptr = &framebuffers) + { + Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v3.0 and ARB_framebuffer_object] + /// Delete framebuffer objects + /// + /// + /// + /// Specifies the number of framebuffer objects to be deleted. + /// + /// + /// + /// + /// A pointer to an array containing n framebuffer objects to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_framebuffer_object", Version = "3.0", EntryPoint = "glDeleteFramebuffers")] + public static + unsafe void DeleteFramebuffers(Int32 n, Int32* framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers); + #if DEBUG + } + #endif + } + + + /// [requires: v3.0 and ARB_framebuffer_object] + /// Delete framebuffer objects + /// + /// + /// + /// Specifies the number of framebuffer objects to be deleted. + /// + /// + /// + /// + /// A pointer to an array containing n framebuffer objects to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_framebuffer_object", Version = "3.0", EntryPoint = "glDeleteFramebuffers")] + public static + void DeleteFramebuffers(Int32 n, UInt32[] framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* framebuffers_ptr = framebuffers) + { + Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v3.0 and ARB_framebuffer_object] + /// Delete framebuffer objects + /// + /// + /// + /// Specifies the number of framebuffer objects to be deleted. + /// + /// + /// + /// + /// A pointer to an array containing n framebuffer objects to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_framebuffer_object", Version = "3.0", EntryPoint = "glDeleteFramebuffers")] + public static + void DeleteFramebuffers(Int32 n, ref UInt32 framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* framebuffers_ptr = &framebuffers) + { + Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v3.0 and ARB_framebuffer_object] + /// Delete framebuffer objects + /// + /// + /// + /// Specifies the number of framebuffer objects to be deleted. + /// + /// + /// + /// + /// A pointer to an array containing n framebuffer objects to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_framebuffer_object", Version = "3.0", EntryPoint = "glDeleteFramebuffers")] + public static + unsafe void DeleteFramebuffers(Int32 n, UInt32* framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Delete a contiguous group of display lists + /// + /// + /// + /// Specifies the integer name of the first display list to delete. + /// + /// + /// + /// + /// Specifies the number of display lists to delete. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glDeleteLists")] + public static + void DeleteLists(Int32 list, Int32 range) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteLists((UInt32)list, (Int32)range); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Delete a contiguous group of display lists + /// + /// + /// + /// Specifies the integer name of the first display list to delete. + /// + /// + /// + /// + /// Specifies the number of display lists to delete. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glDeleteLists")] + public static + void DeleteLists(UInt32 list, Int32 range) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteLists((UInt32)list, (Int32)range); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// Deletes a program object + /// + /// + /// + /// Specifies the program object to be deleted. + /// + /// + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteProgram")] + public static + void DeleteProgram(Int32 program) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteProgram((UInt32)program); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// Deletes a program object + /// + /// + /// + /// Specifies the program object to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteProgram")] + public static + void DeleteProgram(UInt32 program) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteProgram((UInt32)program); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Delete program pipeline objects + /// + /// + /// + /// Specifies the number of program pipeline objects to delete. + /// + /// + /// + /// + /// Specifies an array of names of program pipeline objects to delete. + /// + /// + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glDeleteProgramPipelines")] + public static + void DeleteProgramPipelines(Int32 n, Int32[] pipelines) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* pipelines_ptr = pipelines) + { + Delegates.glDeleteProgramPipelines((Int32)n, (UInt32*)pipelines_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Delete program pipeline objects + /// + /// + /// + /// Specifies the number of program pipeline objects to delete. + /// + /// + /// + /// + /// Specifies an array of names of program pipeline objects to delete. + /// + /// + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glDeleteProgramPipelines")] + public static + void DeleteProgramPipelines(Int32 n, ref Int32 pipelines) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* pipelines_ptr = &pipelines) + { + Delegates.glDeleteProgramPipelines((Int32)n, (UInt32*)pipelines_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Delete program pipeline objects + /// + /// + /// + /// Specifies the number of program pipeline objects to delete. + /// + /// + /// + /// + /// Specifies an array of names of program pipeline objects to delete. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glDeleteProgramPipelines")] + public static + unsafe void DeleteProgramPipelines(Int32 n, Int32* pipelines) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteProgramPipelines((Int32)n, (UInt32*)pipelines); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Delete program pipeline objects + /// + /// + /// + /// Specifies the number of program pipeline objects to delete. + /// + /// + /// + /// + /// Specifies an array of names of program pipeline objects to delete. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glDeleteProgramPipelines")] + public static + void DeleteProgramPipelines(Int32 n, UInt32[] pipelines) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* pipelines_ptr = pipelines) + { + Delegates.glDeleteProgramPipelines((Int32)n, (UInt32*)pipelines_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Delete program pipeline objects + /// + /// + /// + /// Specifies the number of program pipeline objects to delete. + /// + /// + /// + /// + /// Specifies an array of names of program pipeline objects to delete. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glDeleteProgramPipelines")] + public static + void DeleteProgramPipelines(Int32 n, ref UInt32 pipelines) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* pipelines_ptr = &pipelines) + { + Delegates.glDeleteProgramPipelines((Int32)n, (UInt32*)pipelines_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Delete program pipeline objects + /// + /// + /// + /// Specifies the number of program pipeline objects to delete. + /// + /// + /// + /// + /// Specifies an array of names of program pipeline objects to delete. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glDeleteProgramPipelines")] + public static + unsafe void DeleteProgramPipelines(Int32 n, UInt32* pipelines) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteProgramPipelines((Int32)n, (UInt32*)pipelines); + #if DEBUG + } + #endif + } + + + /// [requires: v1.5] + /// Delete named query objects + /// + /// + /// + /// Specifies the number of query objects to be deleted. + /// + /// + /// + /// + /// Specifies an array of query objects to be deleted. + /// + /// + [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glDeleteQueries")] + public static + void DeleteQueries(Int32 n, Int32[] ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* ids_ptr = ids) + { + Delegates.glDeleteQueries((Int32)n, (UInt32*)ids_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.5] + /// Delete named query objects + /// + /// + /// + /// Specifies the number of query objects to be deleted. + /// + /// + /// + /// + /// Specifies an array of query objects to be deleted. + /// + /// + [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glDeleteQueries")] + public static + void DeleteQueries(Int32 n, ref Int32 ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* ids_ptr = &ids) + { + Delegates.glDeleteQueries((Int32)n, (UInt32*)ids_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.5] + /// 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 = "VERSION_1_5", Version = "1.5", EntryPoint = "glDeleteQueries")] + public static + unsafe void DeleteQueries(Int32 n, Int32* ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteQueries((Int32)n, (UInt32*)ids); + #if DEBUG + } + #endif + } + + + /// [requires: v1.5] + /// 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 = "VERSION_1_5", Version = "1.5", EntryPoint = "glDeleteQueries")] + public static + void DeleteQueries(Int32 n, UInt32[] ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* ids_ptr = ids) + { + Delegates.glDeleteQueries((Int32)n, (UInt32*)ids_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.5] + /// 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 = "VERSION_1_5", Version = "1.5", EntryPoint = "glDeleteQueries")] + public static + void DeleteQueries(Int32 n, ref UInt32 ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* ids_ptr = &ids) + { + Delegates.glDeleteQueries((Int32)n, (UInt32*)ids_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.5] + /// 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 = "VERSION_1_5", Version = "1.5", EntryPoint = "glDeleteQueries")] + public static + unsafe void DeleteQueries(Int32 n, UInt32* ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteQueries((Int32)n, (UInt32*)ids); + #if DEBUG + } + #endif + } + + + /// [requires: v3.0 and ARB_framebuffer_object] + /// Delete renderbuffer objects + /// + /// + /// + /// Specifies the number of renderbuffer objects to be deleted. + /// + /// + /// + /// + /// A pointer to an array containing n renderbuffer objects to be deleted. + /// + /// + [AutoGenerated(Category = "ARB_framebuffer_object", Version = "3.0", EntryPoint = "glDeleteRenderbuffers")] + public static + void DeleteRenderbuffers(Int32 n, Int32[] renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* renderbuffers_ptr = renderbuffers) + { + Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v3.0 and ARB_framebuffer_object] + /// Delete renderbuffer objects + /// + /// + /// + /// Specifies the number of renderbuffer objects to be deleted. + /// + /// + /// + /// + /// A pointer to an array containing n renderbuffer objects to be deleted. + /// + /// + [AutoGenerated(Category = "ARB_framebuffer_object", Version = "3.0", EntryPoint = "glDeleteRenderbuffers")] + public static + void DeleteRenderbuffers(Int32 n, ref Int32 renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* renderbuffers_ptr = &renderbuffers) + { + Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v3.0 and ARB_framebuffer_object] + /// Delete renderbuffer objects + /// + /// + /// + /// Specifies the number of renderbuffer objects to be deleted. + /// + /// + /// + /// + /// A pointer to an array containing n renderbuffer objects to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_framebuffer_object", Version = "3.0", EntryPoint = "glDeleteRenderbuffers")] + public static + unsafe void DeleteRenderbuffers(Int32 n, Int32* renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers); + #if DEBUG + } + #endif + } + + + /// [requires: v3.0 and ARB_framebuffer_object] + /// Delete renderbuffer objects + /// + /// + /// + /// Specifies the number of renderbuffer objects to be deleted. + /// + /// + /// + /// + /// A pointer to an array containing n renderbuffer objects to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_framebuffer_object", Version = "3.0", EntryPoint = "glDeleteRenderbuffers")] + public static + void DeleteRenderbuffers(Int32 n, UInt32[] renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* renderbuffers_ptr = renderbuffers) + { + Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v3.0 and ARB_framebuffer_object] + /// Delete renderbuffer objects + /// + /// + /// + /// Specifies the number of renderbuffer objects to be deleted. + /// + /// + /// + /// + /// A pointer to an array containing n renderbuffer objects to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_framebuffer_object", Version = "3.0", EntryPoint = "glDeleteRenderbuffers")] + public static + void DeleteRenderbuffers(Int32 n, ref UInt32 renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* renderbuffers_ptr = &renderbuffers) + { + Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v3.0 and ARB_framebuffer_object] + /// Delete renderbuffer objects + /// + /// + /// + /// Specifies the number of renderbuffer objects to be deleted. + /// + /// + /// + /// + /// A pointer to an array containing n renderbuffer objects to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_framebuffer_object", Version = "3.0", EntryPoint = "glDeleteRenderbuffers")] + public static + unsafe void DeleteRenderbuffers(Int32 n, UInt32* renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_sampler_objects] + /// Delete named sampler objects + /// + /// + /// + /// Specifies the number of sampler objects to be deleted. + /// + /// + /// + /// + /// Specifies an array of sampler objects to be deleted. + /// + /// + [AutoGenerated(Category = "ARB_sampler_objects", Version = "1.2", EntryPoint = "glDeleteSamplers")] + public static + void DeleteSamplers(Int32 count, Int32[] samplers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* samplers_ptr = samplers) + { + Delegates.glDeleteSamplers((Int32)count, (UInt32*)samplers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_sampler_objects] + /// Delete named sampler objects + /// + /// + /// + /// Specifies the number of sampler objects to be deleted. + /// + /// + /// + /// + /// Specifies an array of sampler objects to be deleted. + /// + /// + [AutoGenerated(Category = "ARB_sampler_objects", Version = "1.2", EntryPoint = "glDeleteSamplers")] + public static + void DeleteSamplers(Int32 count, ref Int32 samplers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* samplers_ptr = &samplers) + { + Delegates.glDeleteSamplers((Int32)count, (UInt32*)samplers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_sampler_objects] + /// Delete named sampler objects + /// + /// + /// + /// Specifies the number of sampler objects to be deleted. + /// + /// + /// + /// + /// Specifies an array of sampler objects to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_sampler_objects", Version = "1.2", EntryPoint = "glDeleteSamplers")] + public static + unsafe void DeleteSamplers(Int32 count, Int32* samplers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteSamplers((Int32)count, (UInt32*)samplers); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_sampler_objects] + /// Delete named sampler objects + /// + /// + /// + /// Specifies the number of sampler objects to be deleted. + /// + /// + /// + /// + /// Specifies an array of sampler objects to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_sampler_objects", Version = "1.2", EntryPoint = "glDeleteSamplers")] + public static + void DeleteSamplers(Int32 count, UInt32[] samplers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* samplers_ptr = samplers) + { + Delegates.glDeleteSamplers((Int32)count, (UInt32*)samplers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_sampler_objects] + /// Delete named sampler objects + /// + /// + /// + /// Specifies the number of sampler objects to be deleted. + /// + /// + /// + /// + /// Specifies an array of sampler objects to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_sampler_objects", Version = "1.2", EntryPoint = "glDeleteSamplers")] + public static + void DeleteSamplers(Int32 count, ref UInt32 samplers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* samplers_ptr = &samplers) + { + Delegates.glDeleteSamplers((Int32)count, (UInt32*)samplers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_sampler_objects] + /// Delete named sampler objects + /// + /// + /// + /// Specifies the number of sampler objects to be deleted. + /// + /// + /// + /// + /// Specifies an array of sampler objects to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_sampler_objects", Version = "1.2", EntryPoint = "glDeleteSamplers")] + public static + unsafe void DeleteSamplers(Int32 count, UInt32* samplers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteSamplers((Int32)count, (UInt32*)samplers); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// Deletes a shader object + /// + /// + /// + /// Specifies the shader object to be deleted. + /// + /// + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteShader")] + public static + void DeleteShader(Int32 shader) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteShader((UInt32)shader); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// Deletes a shader object + /// + /// + /// + /// Specifies the shader object to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteShader")] + public static + void DeleteShader(UInt32 shader) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteShader((UInt32)shader); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_sync] + /// Delete a sync object + /// + /// + /// + /// The sync object to be deleted. + /// + /// + [AutoGenerated(Category = "ARB_sync", Version = "1.2", EntryPoint = "glDeleteSync")] + public static + void DeleteSync(IntPtr sync) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteSync((IntPtr)sync); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1] + /// Delete named textures + /// + /// + /// + /// Specifies the number of textures to be deleted. + /// + /// + /// + /// + /// Specifies an array of textures to be deleted. + /// + /// + [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDeleteTextures")] + public static + void DeleteTextures(Int32 n, Int32[] textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* textures_ptr = textures) + { + Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1] + /// Delete named textures + /// + /// + /// + /// Specifies the number of textures to be deleted. + /// + /// + /// + /// + /// Specifies an array of textures to be deleted. + /// + /// + [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDeleteTextures")] + public static + void DeleteTextures(Int32 n, ref Int32 textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* textures_ptr = &textures) + { + Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1] + /// Delete named textures + /// + /// + /// + /// Specifies the number of textures to be deleted. + /// + /// + /// + /// + /// Specifies an array of textures to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDeleteTextures")] + public static + unsafe void DeleteTextures(Int32 n, Int32* textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteTextures((Int32)n, (UInt32*)textures); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1] + /// Delete named textures + /// + /// + /// + /// Specifies the number of textures to be deleted. + /// + /// + /// + /// + /// Specifies an array of textures to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDeleteTextures")] + public static + void DeleteTextures(Int32 n, UInt32[] textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* textures_ptr = textures) + { + Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1] + /// Delete named textures + /// + /// + /// + /// Specifies the number of textures to be deleted. + /// + /// + /// + /// + /// Specifies an array of textures to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDeleteTextures")] + public static + void DeleteTextures(Int32 n, ref UInt32 textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* textures_ptr = &textures) + { + Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1] + /// Delete named textures + /// + /// + /// + /// Specifies the number of textures to be deleted. + /// + /// + /// + /// + /// Specifies an array of textures to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDeleteTextures")] + public static + unsafe void DeleteTextures(Int32 n, UInt32* textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteTextures((Int32)n, (UInt32*)textures); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_transform_feedback2] + /// Delete transform feedback objects + /// + /// + /// + /// Specifies the number of transform feedback objects to delete. + /// + /// + /// + /// + /// Specifies an array of names of transform feedback objects to delete. + /// + /// + [AutoGenerated(Category = "ARB_transform_feedback2", Version = "1.2", EntryPoint = "glDeleteTransformFeedbacks")] + public static + void DeleteTransformFeedback(Int32 n, Int32[] ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* ids_ptr = ids) + { + Delegates.glDeleteTransformFeedbacks((Int32)n, (UInt32*)ids_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_transform_feedback2] + /// Delete transform feedback objects + /// + /// + /// + /// Specifies the number of transform feedback objects to delete. + /// + /// + /// + /// + /// Specifies an array of names of transform feedback objects to delete. + /// + /// + [AutoGenerated(Category = "ARB_transform_feedback2", Version = "1.2", EntryPoint = "glDeleteTransformFeedbacks")] + public static + void DeleteTransformFeedback(Int32 n, ref Int32 ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* ids_ptr = &ids) + { + Delegates.glDeleteTransformFeedbacks((Int32)n, (UInt32*)ids_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_transform_feedback2] + /// Delete transform feedback objects + /// + /// + /// + /// Specifies the number of transform feedback objects to delete. + /// + /// + /// + /// + /// Specifies an array of names of transform feedback objects to delete. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_transform_feedback2", Version = "1.2", EntryPoint = "glDeleteTransformFeedbacks")] + public static + unsafe void DeleteTransformFeedback(Int32 n, Int32* ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteTransformFeedbacks((Int32)n, (UInt32*)ids); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_transform_feedback2] + /// Delete transform feedback objects + /// + /// + /// + /// Specifies the number of transform feedback objects to delete. + /// + /// + /// + /// + /// Specifies an array of names of transform feedback objects to delete. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_transform_feedback2", Version = "1.2", EntryPoint = "glDeleteTransformFeedbacks")] + public static + void DeleteTransformFeedback(Int32 n, UInt32[] ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* ids_ptr = ids) + { + Delegates.glDeleteTransformFeedbacks((Int32)n, (UInt32*)ids_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_transform_feedback2] + /// Delete transform feedback objects + /// + /// + /// + /// Specifies the number of transform feedback objects to delete. + /// + /// + /// + /// + /// Specifies an array of names of transform feedback objects to delete. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_transform_feedback2", Version = "1.2", EntryPoint = "glDeleteTransformFeedbacks")] + public static + void DeleteTransformFeedback(Int32 n, ref UInt32 ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* ids_ptr = &ids) + { + Delegates.glDeleteTransformFeedbacks((Int32)n, (UInt32*)ids_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_transform_feedback2] + /// Delete transform feedback objects + /// + /// + /// + /// Specifies the number of transform feedback objects to delete. + /// + /// + /// + /// + /// Specifies an array of names of transform feedback objects to delete. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_transform_feedback2", Version = "1.2", EntryPoint = "glDeleteTransformFeedbacks")] + public static + unsafe void DeleteTransformFeedback(Int32 n, UInt32* ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteTransformFeedbacks((Int32)n, (UInt32*)ids); + #if DEBUG + } + #endif + } + + + /// [requires: v3.0 and ARB_vertex_array_object] + /// Delete vertex array objects + /// + /// + /// + /// Specifies the number of vertex array objects to be deleted. + /// + /// + /// + /// + /// Specifies the address of an array containing the n names of the objects to be deleted. + /// + /// + [AutoGenerated(Category = "ARB_vertex_array_object", Version = "3.0", EntryPoint = "glDeleteVertexArrays")] + public static + void DeleteVertexArrays(Int32 n, Int32[] arrays) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* arrays_ptr = arrays) + { + Delegates.glDeleteVertexArrays((Int32)n, (UInt32*)arrays_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v3.0 and ARB_vertex_array_object] + /// Delete vertex array objects + /// + /// + /// + /// Specifies the number of vertex array objects to be deleted. + /// + /// + /// + /// + /// Specifies the address of an array containing the n names of the objects to be deleted. + /// + /// + [AutoGenerated(Category = "ARB_vertex_array_object", Version = "3.0", EntryPoint = "glDeleteVertexArrays")] + public static + void DeleteVertexArrays(Int32 n, ref Int32 arrays) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* arrays_ptr = &arrays) + { + Delegates.glDeleteVertexArrays((Int32)n, (UInt32*)arrays_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v3.0 and ARB_vertex_array_object] + /// Delete vertex array objects + /// + /// + /// + /// Specifies the number of vertex array objects to be deleted. + /// + /// + /// + /// + /// Specifies the address of an array containing the n names of the objects to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_array_object", Version = "3.0", EntryPoint = "glDeleteVertexArrays")] + public static + unsafe void DeleteVertexArrays(Int32 n, Int32* arrays) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteVertexArrays((Int32)n, (UInt32*)arrays); + #if DEBUG + } + #endif + } + + + /// [requires: v3.0 and ARB_vertex_array_object] + /// Delete vertex array objects + /// + /// + /// + /// Specifies the number of vertex array objects to be deleted. + /// + /// + /// + /// + /// Specifies the address of an array containing the n names of the objects to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_array_object", Version = "3.0", EntryPoint = "glDeleteVertexArrays")] + public static + void DeleteVertexArrays(Int32 n, UInt32[] arrays) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* arrays_ptr = arrays) + { + Delegates.glDeleteVertexArrays((Int32)n, (UInt32*)arrays_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v3.0 and ARB_vertex_array_object] + /// Delete vertex array objects + /// + /// + /// + /// Specifies the number of vertex array objects to be deleted. + /// + /// + /// + /// + /// Specifies the address of an array containing the n names of the objects to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_array_object", Version = "3.0", EntryPoint = "glDeleteVertexArrays")] + public static + void DeleteVertexArrays(Int32 n, ref UInt32 arrays) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* arrays_ptr = &arrays) + { + Delegates.glDeleteVertexArrays((Int32)n, (UInt32*)arrays_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v3.0 and ARB_vertex_array_object] + /// Delete vertex array objects + /// + /// + /// + /// Specifies the number of vertex array objects to be deleted. + /// + /// + /// + /// + /// Specifies the address of an array containing the n names of the objects to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_array_object", Version = "3.0", EntryPoint = "glDeleteVertexArrays")] + public static + unsafe void DeleteVertexArrays(Int32 n, UInt32* arrays) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteVertexArrays((Int32)n, (UInt32*)arrays); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0] + /// Specify the value used for depth buffer comparisons + /// + /// + /// + /// Specifies the depth comparison function. Symbolic constants GL_NEVER, GL_LESS, GL_EQUAL, GL_LEQUAL, GL_GREATER, GL_NOTEQUAL, GL_GEQUAL, and GL_ALWAYS are accepted. The initial value is GL_LESS. + /// + /// + [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glDepthFunc")] + public static + void DepthFunc(OpenTK.Graphics.OpenGL.DepthFunction func) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDepthFunc((OpenTK.Graphics.OpenGL.DepthFunction)func); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0] + /// Enable or disable writing into the depth buffer + /// + /// + /// + /// Specifies whether the depth buffer is enabled for writing. If flag is GL_FALSE, depth buffer writing is disabled. Otherwise, it is enabled. Initially, depth buffer writing is enabled. + /// + /// + [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glDepthMask")] + public static + void DepthMask(bool flag) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDepthMask((bool)flag); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0] + /// Specify mapping of depth values from normalized device coordinates to window coordinates + /// + /// + /// + /// Specifies the mapping of the near clipping plane to window coordinates. The initial value is 0. + /// + /// + /// + /// + /// Specifies the mapping of the far clipping plane to window coordinates. The initial value is 1. + /// + /// + [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glDepthRange")] + public static + void DepthRange(Double near, Double far) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDepthRange((Double)near, (Double)far); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_viewport_array] + /// Specify mapping of depth values from normalized device coordinates to window coordinates for a specified set of viewports + /// + /// + /// + /// Specifies the index of the first viewport whose depth range to update. + /// + /// + /// + /// + /// Specifies the number of viewports whose depth range to update. + /// + /// + /// + /// + /// Specifies the address of an array containing the near and far values for the depth range of each modified viewport. + /// + /// + [AutoGenerated(Category = "ARB_viewport_array", Version = "4.1", EntryPoint = "glDepthRangeArrayv")] + public static + void DepthRangeArray(Int32 first, Int32 count, Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glDepthRangeArrayv((UInt32)first, (Int32)count, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_viewport_array] + /// Specify mapping of depth values from normalized device coordinates to window coordinates for a specified set of viewports + /// + /// + /// + /// Specifies the index of the first viewport whose depth range to update. + /// + /// + /// + /// + /// Specifies the number of viewports whose depth range to update. + /// + /// + /// + /// + /// Specifies the address of an array containing the near and far values for the depth range of each modified viewport. + /// + /// + [AutoGenerated(Category = "ARB_viewport_array", Version = "4.1", EntryPoint = "glDepthRangeArrayv")] + public static + void DepthRangeArray(Int32 first, Int32 count, ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glDepthRangeArrayv((UInt32)first, (Int32)count, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_viewport_array] + /// Specify mapping of depth values from normalized device coordinates to window coordinates for a specified set of viewports + /// + /// + /// + /// Specifies the index of the first viewport whose depth range to update. + /// + /// + /// + /// + /// Specifies the number of viewports whose depth range to update. + /// + /// + /// + /// + /// Specifies the address of an array containing the near and far values for the depth range of each modified viewport. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_viewport_array", Version = "4.1", EntryPoint = "glDepthRangeArrayv")] + public static + unsafe void DepthRangeArray(Int32 first, Int32 count, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDepthRangeArrayv((UInt32)first, (Int32)count, (Double*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_viewport_array] + /// Specify mapping of depth values from normalized device coordinates to window coordinates for a specified set of viewports + /// + /// + /// + /// Specifies the index of the first viewport whose depth range to update. + /// + /// + /// + /// + /// Specifies the number of viewports whose depth range to update. + /// + /// + /// + /// + /// Specifies the address of an array containing the near and far values for the depth range of each modified viewport. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_viewport_array", Version = "4.1", EntryPoint = "glDepthRangeArrayv")] + public static + void DepthRangeArray(UInt32 first, Int32 count, Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glDepthRangeArrayv((UInt32)first, (Int32)count, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_viewport_array] + /// Specify mapping of depth values from normalized device coordinates to window coordinates for a specified set of viewports + /// + /// + /// + /// Specifies the index of the first viewport whose depth range to update. + /// + /// + /// + /// + /// Specifies the number of viewports whose depth range to update. + /// + /// + /// + /// + /// Specifies the address of an array containing the near and far values for the depth range of each modified viewport. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_viewport_array", Version = "4.1", EntryPoint = "glDepthRangeArrayv")] + public static + void DepthRangeArray(UInt32 first, Int32 count, ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glDepthRangeArrayv((UInt32)first, (Int32)count, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_viewport_array] + /// Specify mapping of depth values from normalized device coordinates to window coordinates for a specified set of viewports + /// + /// + /// + /// Specifies the index of the first viewport whose depth range to update. + /// + /// + /// + /// + /// Specifies the number of viewports whose depth range to update. + /// + /// + /// + /// + /// Specifies the address of an array containing the near and far values for the depth range of each modified viewport. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_viewport_array", Version = "4.1", EntryPoint = "glDepthRangeArrayv")] + public static + unsafe void DepthRangeArray(UInt32 first, Int32 count, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDepthRangeArrayv((UInt32)first, (Int32)count, (Double*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_ES2_compatibility] + /// Specify mapping of depth values from normalized device coordinates to window coordinates + /// + /// + /// + /// Specifies the mapping of the near clipping plane to window coordinates. The initial value is 0. + /// + /// + /// + /// + /// Specifies the mapping of the far clipping plane to window coordinates. The initial value is 1. + /// + /// + [AutoGenerated(Category = "ARB_ES2_compatibility", Version = "4.1", EntryPoint = "glDepthRangef")] + public static + void DepthRange(Single n, Single f) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDepthRangef((Single)n, (Single)f); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_viewport_array] + /// Specify mapping of depth values from normalized device coordinates to window coordinates for a specified viewport + /// + /// + /// + /// Specifies the index of the viewport whose depth range to update. + /// + /// + /// + /// + /// Specifies the mapping of the near clipping plane to window coordinates. The initial value is 0. + /// + /// + /// + /// + /// Specifies the mapping of the far clipping plane to window coordinates. The initial value is 1. + /// + /// + [AutoGenerated(Category = "ARB_viewport_array", Version = "4.1", EntryPoint = "glDepthRangeIndexed")] + public static + void DepthRangeIndexed(Int32 index, Double n, Double f) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDepthRangeIndexed((UInt32)index, (Double)n, (Double)f); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_viewport_array] + /// Specify mapping of depth values from normalized device coordinates to window coordinates for a specified viewport + /// + /// + /// + /// Specifies the index of the viewport whose depth range to update. + /// + /// + /// + /// + /// Specifies the mapping of the near clipping plane to window coordinates. The initial value is 0. + /// + /// + /// + /// + /// Specifies the mapping of the far clipping plane to window coordinates. The initial value is 1. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_viewport_array", Version = "4.1", EntryPoint = "glDepthRangeIndexed")] + public static + void DepthRangeIndexed(UInt32 index, Double n, Double f) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDepthRangeIndexed((UInt32)index, (Double)n, (Double)f); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// Detaches a shader object from a program object to which it is attached + /// + /// + /// + /// Specifies the program object from which to detach the shader object. + /// + /// + /// + /// + /// Specifies the shader object to be detached. + /// + /// + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glDetachShader")] + public static + void DetachShader(Int32 program, Int32 shader) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDetachShader((UInt32)program, (UInt32)shader); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// Detaches a shader object from a program object to which it is attached + /// + /// + /// + /// Specifies the program object from which to detach the shader object. + /// + /// + /// + /// + /// Specifies the shader object to be detached. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glDetachShader")] + public static + void DetachShader(UInt32 program, UInt32 shader) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDetachShader((UInt32)program, (UInt32)shader); + #if DEBUG + } + #endif + } + + /// [requires: v1.0] + [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glDisable")] + public static + void Disable(OpenTK.Graphics.OpenGL.EnableCap cap) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDisable((OpenTK.Graphics.OpenGL.EnableCap)cap); + #if DEBUG + } + #endif + } + + /// [requires: v1.1][deprecated: v3.1] + [AutoGenerated(Category = "VERSION_1_1_DEPRECATED", Version = "1.1", EntryPoint = "glDisableClientState")] + public static + void DisableClientState(OpenTK.Graphics.OpenGL.ArrayCap array) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDisableClientState((OpenTK.Graphics.OpenGL.ArrayCap)array); + #if DEBUG + } + #endif + } + + /// [requires: v3.0] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glDisablei")] + public static + void Disable(OpenTK.Graphics.OpenGL.IndexedEnableCap target, Int32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDisablei((OpenTK.Graphics.OpenGL.IndexedEnableCap)target, (UInt32)index); + #if DEBUG + } + #endif + } + + /// [requires: v3.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glDisablei")] + public static + void Disable(OpenTK.Graphics.OpenGL.IndexedEnableCap target, UInt32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDisablei((OpenTK.Graphics.OpenGL.IndexedEnableCap)target, (UInt32)index); + #if DEBUG + } + #endif + } + + /// [requires: v2.0] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glDisableVertexAttribArray")] + public static + void DisableVertexAttribArray(Int32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDisableVertexAttribArray((UInt32)index); + #if DEBUG + } + #endif + } + + /// [requires: v2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glDisableVertexAttribArray")] + public static + void DisableVertexAttribArray(UInt32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDisableVertexAttribArray((UInt32)index); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1] + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the starting index in the enabled arrays. + /// + /// + /// + /// + /// Specifies the number of indices to be rendered. + /// + /// + [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDrawArrays")] + public static + void DrawArrays(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 first, Int32 count) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawArrays((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)first, (Int32)count); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_draw_indirect] + /// Render primitives from array data, taking parameters from memory + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY, and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the address of a structure containing the draw parameters. + /// + /// + [AutoGenerated(Category = "ARB_draw_indirect", Version = "1.2", EntryPoint = "glDrawArraysIndirect")] + public static + void DrawArraysIndirect(OpenTK.Graphics.OpenGL.ArbDrawIndirect mode, IntPtr indirect) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawArraysIndirect((OpenTK.Graphics.OpenGL.ArbDrawIndirect)mode, (IntPtr)indirect); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_draw_indirect] + /// Render primitives from array data, taking parameters from memory + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY, and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the address of a structure containing the draw parameters. + /// + /// + [AutoGenerated(Category = "ARB_draw_indirect", Version = "1.2", EntryPoint = "glDrawArraysIndirect")] + public static + void DrawArraysIndirect(OpenTK.Graphics.OpenGL.ArbDrawIndirect mode, [InAttribute, OutAttribute] T1[] indirect) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indirect_ptr = GCHandle.Alloc(indirect, GCHandleType.Pinned); + try + { + Delegates.glDrawArraysIndirect((OpenTK.Graphics.OpenGL.ArbDrawIndirect)mode, (IntPtr)indirect_ptr.AddrOfPinnedObject()); + } + finally + { + indirect_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_draw_indirect] + /// Render primitives from array data, taking parameters from memory + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY, and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the address of a structure containing the draw parameters. + /// + /// + [AutoGenerated(Category = "ARB_draw_indirect", Version = "1.2", EntryPoint = "glDrawArraysIndirect")] + public static + void DrawArraysIndirect(OpenTK.Graphics.OpenGL.ArbDrawIndirect mode, [InAttribute, OutAttribute] T1[,] indirect) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indirect_ptr = GCHandle.Alloc(indirect, GCHandleType.Pinned); + try + { + Delegates.glDrawArraysIndirect((OpenTK.Graphics.OpenGL.ArbDrawIndirect)mode, (IntPtr)indirect_ptr.AddrOfPinnedObject()); + } + finally + { + indirect_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_draw_indirect] + /// Render primitives from array data, taking parameters from memory + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY, and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the address of a structure containing the draw parameters. + /// + /// + [AutoGenerated(Category = "ARB_draw_indirect", Version = "1.2", EntryPoint = "glDrawArraysIndirect")] + public static + void DrawArraysIndirect(OpenTK.Graphics.OpenGL.ArbDrawIndirect mode, [InAttribute, OutAttribute] T1[,,] indirect) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indirect_ptr = GCHandle.Alloc(indirect, GCHandleType.Pinned); + try + { + Delegates.glDrawArraysIndirect((OpenTK.Graphics.OpenGL.ArbDrawIndirect)mode, (IntPtr)indirect_ptr.AddrOfPinnedObject()); + } + finally + { + indirect_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_draw_indirect] + /// Render primitives from array data, taking parameters from memory + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY, and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the address of a structure containing the draw parameters. + /// + /// + [AutoGenerated(Category = "ARB_draw_indirect", Version = "1.2", EntryPoint = "glDrawArraysIndirect")] + public static + void DrawArraysIndirect(OpenTK.Graphics.OpenGL.ArbDrawIndirect mode, [InAttribute, OutAttribute] ref T1 indirect) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indirect_ptr = GCHandle.Alloc(indirect, GCHandleType.Pinned); + try + { + Delegates.glDrawArraysIndirect((OpenTK.Graphics.OpenGL.ArbDrawIndirect)mode, (IntPtr)indirect_ptr.AddrOfPinnedObject()); + indirect = (T1)indirect_ptr.Target; + } + finally + { + indirect_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v3.1] + /// Draw multiple instances of a range of elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES GL_LINES_ADJACENCY, GL_LINE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY, GL_TRIANGLE_STRIP_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the starting index in the enabled arrays. + /// + /// + /// + /// + /// Specifies the number of indices to be rendered. + /// + /// + /// + /// + /// Specifies the number of instances of the specified range of indices to be rendered. + /// + /// + [AutoGenerated(Category = "VERSION_3_1", Version = "3.1", EntryPoint = "glDrawArraysInstanced")] + public static + void DrawArraysInstanced(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 first, Int32 count, Int32 primcount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawArraysInstanced((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)first, (Int32)count, (Int32)primcount); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0] + /// Specify which color buffers are to be drawn into + /// + /// + /// + /// Specifies up to four color buffers to be drawn into. Symbolic constants GL_NONE, GL_FRONT_LEFT, GL_FRONT_RIGHT, GL_BACK_LEFT, GL_BACK_RIGHT, GL_FRONT, GL_BACK, GL_LEFT, GL_RIGHT, and GL_FRONT_AND_BACK are accepted. The initial value is GL_FRONT for single-buffered contexts, and GL_BACK for double-buffered contexts. + /// + /// + [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glDrawBuffer")] + public static + void DrawBuffer(OpenTK.Graphics.OpenGL.DrawBufferMode mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawBuffer((OpenTK.Graphics.OpenGL.DrawBufferMode)mode); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glDrawBuffers")] + public static + void DrawBuffers(Int32 n, OpenTK.Graphics.OpenGL.DrawBuffersEnum[] bufs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Graphics.OpenGL.DrawBuffersEnum* bufs_ptr = bufs) + { + Delegates.glDrawBuffers((Int32)n, (OpenTK.Graphics.OpenGL.DrawBuffersEnum*)bufs_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glDrawBuffers")] + public static + void DrawBuffers(Int32 n, ref OpenTK.Graphics.OpenGL.DrawBuffersEnum bufs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Graphics.OpenGL.DrawBuffersEnum* bufs_ptr = &bufs) + { + Delegates.glDrawBuffers((Int32)n, (OpenTK.Graphics.OpenGL.DrawBuffersEnum*)bufs_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glDrawBuffers")] + public static + unsafe void DrawBuffers(Int32 n, OpenTK.Graphics.OpenGL.DrawBuffersEnum* bufs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawBuffers((Int32)n, (OpenTK.Graphics.OpenGL.DrawBuffersEnum*)bufs); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1] + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDrawElements")] + public static + void DrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawElements((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1] + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDrawElements")] + public static + void DrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawElements((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1] + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDrawElements")] + public static + void DrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawElements((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1] + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDrawElements")] + public static + void DrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawElements((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1] + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDrawElements")] + public static + void DrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawElements((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + indices = (T3)indices_ptr.Target; + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_draw_elements_base_vertex] + /// Render primitives from array data with a per-element offset + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_LINES_ADJACENCY, GL_LINE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY, GL_TRIANGLE_STRIP_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies a constant that should be added to each element of indices when chosing elements from the enabled vertex arrays. + /// + /// + [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "1.2", EntryPoint = "glDrawElementsBaseVertex")] + public static + void DrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 basevertex) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)basevertex); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_draw_elements_base_vertex] + /// Render primitives from array data with a per-element offset + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_LINES_ADJACENCY, GL_LINE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY, GL_TRIANGLE_STRIP_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies a constant that should be added to each element of indices when chosing elements from the enabled vertex arrays. + /// + /// + [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "1.2", EntryPoint = "glDrawElementsBaseVertex")] + public static + void DrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 basevertex) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_draw_elements_base_vertex] + /// Render primitives from array data with a per-element offset + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_LINES_ADJACENCY, GL_LINE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY, GL_TRIANGLE_STRIP_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies a constant that should be added to each element of indices when chosing elements from the enabled vertex arrays. + /// + /// + [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "1.2", EntryPoint = "glDrawElementsBaseVertex")] + public static + void DrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 basevertex) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_draw_elements_base_vertex] + /// Render primitives from array data with a per-element offset + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_LINES_ADJACENCY, GL_LINE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY, GL_TRIANGLE_STRIP_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies a constant that should be added to each element of indices when chosing elements from the enabled vertex arrays. + /// + /// + [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "1.2", EntryPoint = "glDrawElementsBaseVertex")] + public static + void DrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 basevertex) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_draw_elements_base_vertex] + /// Render primitives from array data with a per-element offset + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_LINES_ADJACENCY, GL_LINE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY, GL_TRIANGLE_STRIP_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies a constant that should be added to each element of indices when chosing elements from the enabled vertex arrays. + /// + /// + [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "1.2", EntryPoint = "glDrawElementsBaseVertex")] + public static + void DrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 basevertex) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); + indices = (T3)indices_ptr.Target; + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_draw_indirect] + /// Render indexed primitives from array data, taking parameters from memory + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY, and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the type of data in the buffer bound to the GL_ELEMENT_ARRAY_BUFFER binding. + /// + /// + /// + /// + /// Specifies the address of a structure containing the draw parameters. + /// + /// + [AutoGenerated(Category = "ARB_draw_indirect", Version = "1.2", EntryPoint = "glDrawElementsIndirect")] + public static + void DrawElementsIndirect(OpenTK.Graphics.OpenGL.ArbDrawIndirect mode, OpenTK.Graphics.OpenGL.ArbDrawIndirect type, IntPtr indirect) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawElementsIndirect((OpenTK.Graphics.OpenGL.ArbDrawIndirect)mode, (OpenTK.Graphics.OpenGL.ArbDrawIndirect)type, (IntPtr)indirect); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_draw_indirect] + /// Render indexed primitives from array data, taking parameters from memory + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY, and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the type of data in the buffer bound to the GL_ELEMENT_ARRAY_BUFFER binding. + /// + /// + /// + /// + /// Specifies the address of a structure containing the draw parameters. + /// + /// + [AutoGenerated(Category = "ARB_draw_indirect", Version = "1.2", EntryPoint = "glDrawElementsIndirect")] + public static + void DrawElementsIndirect(OpenTK.Graphics.OpenGL.ArbDrawIndirect mode, OpenTK.Graphics.OpenGL.ArbDrawIndirect type, [InAttribute, OutAttribute] T2[] indirect) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indirect_ptr = GCHandle.Alloc(indirect, GCHandleType.Pinned); + try + { + Delegates.glDrawElementsIndirect((OpenTK.Graphics.OpenGL.ArbDrawIndirect)mode, (OpenTK.Graphics.OpenGL.ArbDrawIndirect)type, (IntPtr)indirect_ptr.AddrOfPinnedObject()); + } + finally + { + indirect_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_draw_indirect] + /// Render indexed primitives from array data, taking parameters from memory + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY, and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the type of data in the buffer bound to the GL_ELEMENT_ARRAY_BUFFER binding. + /// + /// + /// + /// + /// Specifies the address of a structure containing the draw parameters. + /// + /// + [AutoGenerated(Category = "ARB_draw_indirect", Version = "1.2", EntryPoint = "glDrawElementsIndirect")] + public static + void DrawElementsIndirect(OpenTK.Graphics.OpenGL.ArbDrawIndirect mode, OpenTK.Graphics.OpenGL.ArbDrawIndirect type, [InAttribute, OutAttribute] T2[,] indirect) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indirect_ptr = GCHandle.Alloc(indirect, GCHandleType.Pinned); + try + { + Delegates.glDrawElementsIndirect((OpenTK.Graphics.OpenGL.ArbDrawIndirect)mode, (OpenTK.Graphics.OpenGL.ArbDrawIndirect)type, (IntPtr)indirect_ptr.AddrOfPinnedObject()); + } + finally + { + indirect_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_draw_indirect] + /// Render indexed primitives from array data, taking parameters from memory + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY, and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the type of data in the buffer bound to the GL_ELEMENT_ARRAY_BUFFER binding. + /// + /// + /// + /// + /// Specifies the address of a structure containing the draw parameters. + /// + /// + [AutoGenerated(Category = "ARB_draw_indirect", Version = "1.2", EntryPoint = "glDrawElementsIndirect")] + public static + void DrawElementsIndirect(OpenTK.Graphics.OpenGL.ArbDrawIndirect mode, OpenTK.Graphics.OpenGL.ArbDrawIndirect type, [InAttribute, OutAttribute] T2[,,] indirect) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indirect_ptr = GCHandle.Alloc(indirect, GCHandleType.Pinned); + try + { + Delegates.glDrawElementsIndirect((OpenTK.Graphics.OpenGL.ArbDrawIndirect)mode, (OpenTK.Graphics.OpenGL.ArbDrawIndirect)type, (IntPtr)indirect_ptr.AddrOfPinnedObject()); + } + finally + { + indirect_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_draw_indirect] + /// Render indexed primitives from array data, taking parameters from memory + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY, and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the type of data in the buffer bound to the GL_ELEMENT_ARRAY_BUFFER binding. + /// + /// + /// + /// + /// Specifies the address of a structure containing the draw parameters. + /// + /// + [AutoGenerated(Category = "ARB_draw_indirect", Version = "1.2", EntryPoint = "glDrawElementsIndirect")] + public static + void DrawElementsIndirect(OpenTK.Graphics.OpenGL.ArbDrawIndirect mode, OpenTK.Graphics.OpenGL.ArbDrawIndirect type, [InAttribute, OutAttribute] ref T2 indirect) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indirect_ptr = GCHandle.Alloc(indirect, GCHandleType.Pinned); + try + { + Delegates.glDrawElementsIndirect((OpenTK.Graphics.OpenGL.ArbDrawIndirect)mode, (OpenTK.Graphics.OpenGL.ArbDrawIndirect)type, (IntPtr)indirect_ptr.AddrOfPinnedObject()); + indirect = (T2)indirect_ptr.Target; + } + finally + { + indirect_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v3.1] + /// Draw multiple instances of a set of elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the number of instances of the specified range of indices to be rendered. + /// + /// + [AutoGenerated(Category = "VERSION_3_1", Version = "3.1", EntryPoint = "glDrawElementsInstanced")] + public static + void DrawElementsInstanced(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawElementsInstanced((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); + #if DEBUG + } + #endif + } + + + /// [requires: v3.1] + /// Draw multiple instances of a set of elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the number of instances of the specified range of indices to be rendered. + /// + /// + [AutoGenerated(Category = "VERSION_3_1", Version = "3.1", EntryPoint = "glDrawElementsInstanced")] + public static + void DrawElementsInstanced(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawElementsInstanced((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v3.1] + /// Draw multiple instances of a set of elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the number of instances of the specified range of indices to be rendered. + /// + /// + [AutoGenerated(Category = "VERSION_3_1", Version = "3.1", EntryPoint = "glDrawElementsInstanced")] + public static + void DrawElementsInstanced(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawElementsInstanced((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v3.1] + /// Draw multiple instances of a set of elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the number of instances of the specified range of indices to be rendered. + /// + /// + [AutoGenerated(Category = "VERSION_3_1", Version = "3.1", EntryPoint = "glDrawElementsInstanced")] + public static + void DrawElementsInstanced(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawElementsInstanced((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v3.1] + /// Draw multiple instances of a set of elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the number of instances of the specified range of indices to be rendered. + /// + /// + [AutoGenerated(Category = "VERSION_3_1", Version = "3.1", EntryPoint = "glDrawElementsInstanced")] + public static + void DrawElementsInstanced(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawElementsInstanced((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + indices = (T3)indices_ptr.Target; + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_draw_elements_base_vertex] + /// Render multiple instances of a set of primitives from array data with a per-element offset + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_LINES_ADJACENCY, GL_LINE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY, GL_TRIANGLE_STRIP_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the number of instances of the indexed geometry that should be drawn. + /// + /// + /// + /// + /// Specifies a constant that should be added to each element of indices when chosing elements from the enabled vertex arrays. + /// + /// + [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "1.2", EntryPoint = "glDrawElementsInstancedBaseVertex")] + public static + void DrawElementsInstancedBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount, Int32 basevertex) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawElementsInstancedBaseVertex((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)primcount, (Int32)basevertex); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_draw_elements_base_vertex] + /// Render multiple instances of a set of primitives from array data with a per-element offset + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_LINES_ADJACENCY, GL_LINE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY, GL_TRIANGLE_STRIP_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the number of instances of the indexed geometry that should be drawn. + /// + /// + /// + /// + /// Specifies a constant that should be added to each element of indices when chosing elements from the enabled vertex arrays. + /// + /// + [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "1.2", EntryPoint = "glDrawElementsInstancedBaseVertex")] + public static + void DrawElementsInstancedBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount, Int32 basevertex) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawElementsInstancedBaseVertex((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)basevertex); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_draw_elements_base_vertex] + /// Render multiple instances of a set of primitives from array data with a per-element offset + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_LINES_ADJACENCY, GL_LINE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY, GL_TRIANGLE_STRIP_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the number of instances of the indexed geometry that should be drawn. + /// + /// + /// + /// + /// Specifies a constant that should be added to each element of indices when chosing elements from the enabled vertex arrays. + /// + /// + [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "1.2", EntryPoint = "glDrawElementsInstancedBaseVertex")] + public static + void DrawElementsInstancedBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount, Int32 basevertex) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawElementsInstancedBaseVertex((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)basevertex); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_draw_elements_base_vertex] + /// Render multiple instances of a set of primitives from array data with a per-element offset + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_LINES_ADJACENCY, GL_LINE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY, GL_TRIANGLE_STRIP_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the number of instances of the indexed geometry that should be drawn. + /// + /// + /// + /// + /// Specifies a constant that should be added to each element of indices when chosing elements from the enabled vertex arrays. + /// + /// + [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "1.2", EntryPoint = "glDrawElementsInstancedBaseVertex")] + public static + void DrawElementsInstancedBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount, Int32 basevertex) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawElementsInstancedBaseVertex((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)basevertex); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_draw_elements_base_vertex] + /// Render multiple instances of a set of primitives from array data with a per-element offset + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_LINES_ADJACENCY, GL_LINE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY, GL_TRIANGLE_STRIP_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the number of instances of the indexed geometry that should be drawn. + /// + /// + /// + /// + /// Specifies a constant that should be added to each element of indices when chosing elements from the enabled vertex arrays. + /// + /// + [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "1.2", EntryPoint = "glDrawElementsInstancedBaseVertex")] + public static + void DrawElementsInstancedBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount, Int32 basevertex) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawElementsInstancedBaseVertex((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)basevertex); + indices = (T3)indices_ptr.Target; + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Write a block of pixels to the frame buffer + /// + /// + /// + /// Specify the dimensions of the pixel rectangle to be written into the frame buffer. + /// + /// + /// + /// + /// Specifies the format of the pixel data. Symbolic constants GL_COLOR_INDEX, GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA are accepted. + /// + /// + /// + /// + /// Specifies the data type for data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Specifies a pointer to the pixel data. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glDrawPixels")] + public static + void DrawPixels(Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawPixels((Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Write a block of pixels to the frame buffer + /// + /// + /// + /// Specify the dimensions of the pixel rectangle to be written into the frame buffer. + /// + /// + /// + /// + /// Specifies the format of the pixel data. Symbolic constants GL_COLOR_INDEX, GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA are accepted. + /// + /// + /// + /// + /// Specifies the data type for data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Specifies a pointer to the pixel data. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glDrawPixels")] + public static + void DrawPixels(Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[] pixels) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glDrawPixels((Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Write a block of pixels to the frame buffer + /// + /// + /// + /// Specify the dimensions of the pixel rectangle to be written into the frame buffer. + /// + /// + /// + /// + /// Specifies the format of the pixel data. Symbolic constants GL_COLOR_INDEX, GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA are accepted. + /// + /// + /// + /// + /// Specifies the data type for data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Specifies a pointer to the pixel data. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glDrawPixels")] + public static + void DrawPixels(Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[,] pixels) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glDrawPixels((Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Write a block of pixels to the frame buffer + /// + /// + /// + /// Specify the dimensions of the pixel rectangle to be written into the frame buffer. + /// + /// + /// + /// + /// Specifies the format of the pixel data. Symbolic constants GL_COLOR_INDEX, GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA are accepted. + /// + /// + /// + /// + /// Specifies the data type for data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Specifies a pointer to the pixel data. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glDrawPixels")] + public static + void DrawPixels(Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[,,] pixels) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glDrawPixels((Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Write a block of pixels to the frame buffer + /// + /// + /// + /// Specify the dimensions of the pixel rectangle to be written into the frame buffer. + /// + /// + /// + /// + /// Specifies the format of the pixel data. Symbolic constants GL_COLOR_INDEX, GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA are accepted. + /// + /// + /// + /// + /// Specifies the data type for data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Specifies a pointer to the pixel data. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glDrawPixels")] + public static + void DrawPixels(Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T4 pixels) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glDrawPixels((Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + pixels = (T4)pixels_ptr.Target; + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2] + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the minimum array index contained in indices. + /// + /// + /// + /// + /// Specifies the maximum array index contained in indices. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glDrawRangeElements")] + public static + void DrawRangeElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawRangeElements((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2] + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the minimum array index contained in indices. + /// + /// + /// + /// + /// Specifies the maximum array index contained in indices. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glDrawRangeElements")] + public static + void DrawRangeElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[] indices) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawRangeElements((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2] + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the minimum array index contained in indices. + /// + /// + /// + /// + /// Specifies the maximum array index contained in indices. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glDrawRangeElements")] + public static + void DrawRangeElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[,] indices) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawRangeElements((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2] + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the minimum array index contained in indices. + /// + /// + /// + /// + /// Specifies the maximum array index contained in indices. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glDrawRangeElements")] + public static + void DrawRangeElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[,,] indices) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawRangeElements((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2] + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the minimum array index contained in indices. + /// + /// + /// + /// + /// Specifies the maximum array index contained in indices. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glDrawRangeElements")] + public static + void DrawRangeElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T5 indices) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawRangeElements((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + indices = (T5)indices_ptr.Target; + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2] + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the minimum array index contained in indices. + /// + /// + /// + /// + /// Specifies the maximum array index contained in indices. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glDrawRangeElements")] + public static + void DrawRangeElements(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawRangeElements((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2] + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the minimum array index contained in indices. + /// + /// + /// + /// + /// Specifies the maximum array index contained in indices. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glDrawRangeElements")] + public static + void DrawRangeElements(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[] indices) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawRangeElements((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2] + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the minimum array index contained in indices. + /// + /// + /// + /// + /// Specifies the maximum array index contained in indices. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glDrawRangeElements")] + public static + void DrawRangeElements(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[,] indices) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawRangeElements((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2] + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the minimum array index contained in indices. + /// + /// + /// + /// + /// Specifies the maximum array index contained in indices. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glDrawRangeElements")] + public static + void DrawRangeElements(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[,,] indices) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawRangeElements((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2] + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the minimum array index contained in indices. + /// + /// + /// + /// + /// Specifies the maximum array index contained in indices. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glDrawRangeElements")] + public static + void DrawRangeElements(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T5 indices) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawRangeElements((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + indices = (T5)indices_ptr.Target; + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_draw_elements_base_vertex] + /// Render primitives from array data with a per-element offset + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_LINES_ADJACENCY, GL_LINE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY, GL_TRIANGLE_STRIP_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the minimum array index contained in indices. + /// + /// + /// + /// + /// Specifies the maximum array index contained in indices. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies a constant that should be added to each element of indices when chosing elements from the enabled vertex arrays. + /// + /// + [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "1.2", EntryPoint = "glDrawRangeElementsBaseVertex")] + public static + void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 basevertex) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)basevertex); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_draw_elements_base_vertex] + /// Render primitives from array data with a per-element offset + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_LINES_ADJACENCY, GL_LINE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY, GL_TRIANGLE_STRIP_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the minimum array index contained in indices. + /// + /// + /// + /// + /// Specifies the maximum array index contained in indices. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies a constant that should be added to each element of indices when chosing elements from the enabled vertex arrays. + /// + /// + [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "1.2", EntryPoint = "glDrawRangeElementsBaseVertex")] + public static + void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[] indices, Int32 basevertex) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_draw_elements_base_vertex] + /// Render primitives from array data with a per-element offset + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_LINES_ADJACENCY, GL_LINE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY, GL_TRIANGLE_STRIP_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the minimum array index contained in indices. + /// + /// + /// + /// + /// Specifies the maximum array index contained in indices. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies a constant that should be added to each element of indices when chosing elements from the enabled vertex arrays. + /// + /// + [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "1.2", EntryPoint = "glDrawRangeElementsBaseVertex")] + public static + void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[,] indices, Int32 basevertex) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_draw_elements_base_vertex] + /// Render primitives from array data with a per-element offset + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_LINES_ADJACENCY, GL_LINE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY, GL_TRIANGLE_STRIP_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the minimum array index contained in indices. + /// + /// + /// + /// + /// Specifies the maximum array index contained in indices. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies a constant that should be added to each element of indices when chosing elements from the enabled vertex arrays. + /// + /// + [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "1.2", EntryPoint = "glDrawRangeElementsBaseVertex")] + public static + void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[,,] indices, Int32 basevertex) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_draw_elements_base_vertex] + /// Render primitives from array data with a per-element offset + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_LINES_ADJACENCY, GL_LINE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY, GL_TRIANGLE_STRIP_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the minimum array index contained in indices. + /// + /// + /// + /// + /// Specifies the maximum array index contained in indices. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies a constant that should be added to each element of indices when chosing elements from the enabled vertex arrays. + /// + /// + [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "1.2", EntryPoint = "glDrawRangeElementsBaseVertex")] + public static + void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T5 indices, Int32 basevertex) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); + indices = (T5)indices_ptr.Target; + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_draw_elements_base_vertex] + /// Render primitives from array data with a per-element offset + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_LINES_ADJACENCY, GL_LINE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY, GL_TRIANGLE_STRIP_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the minimum array index contained in indices. + /// + /// + /// + /// + /// Specifies the maximum array index contained in indices. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies a constant that should be added to each element of indices when chosing elements from the enabled vertex arrays. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "1.2", EntryPoint = "glDrawRangeElementsBaseVertex")] + public static + void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 basevertex) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)basevertex); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_draw_elements_base_vertex] + /// Render primitives from array data with a per-element offset + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_LINES_ADJACENCY, GL_LINE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY, GL_TRIANGLE_STRIP_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the minimum array index contained in indices. + /// + /// + /// + /// + /// Specifies the maximum array index contained in indices. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies a constant that should be added to each element of indices when chosing elements from the enabled vertex arrays. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "1.2", EntryPoint = "glDrawRangeElementsBaseVertex")] + public static + void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[] indices, Int32 basevertex) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_draw_elements_base_vertex] + /// Render primitives from array data with a per-element offset + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_LINES_ADJACENCY, GL_LINE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY, GL_TRIANGLE_STRIP_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the minimum array index contained in indices. + /// + /// + /// + /// + /// Specifies the maximum array index contained in indices. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies a constant that should be added to each element of indices when chosing elements from the enabled vertex arrays. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "1.2", EntryPoint = "glDrawRangeElementsBaseVertex")] + public static + void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[,] indices, Int32 basevertex) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_draw_elements_base_vertex] + /// Render primitives from array data with a per-element offset + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_LINES_ADJACENCY, GL_LINE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY, GL_TRIANGLE_STRIP_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the minimum array index contained in indices. + /// + /// + /// + /// + /// Specifies the maximum array index contained in indices. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies a constant that should be added to each element of indices when chosing elements from the enabled vertex arrays. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "1.2", EntryPoint = "glDrawRangeElementsBaseVertex")] + public static + void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[,,] indices, Int32 basevertex) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_draw_elements_base_vertex] + /// Render primitives from array data with a per-element offset + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_LINES_ADJACENCY, GL_LINE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY, GL_TRIANGLE_STRIP_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the minimum array index contained in indices. + /// + /// + /// + /// + /// Specifies the maximum array index contained in indices. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies a constant that should be added to each element of indices when chosing elements from the enabled vertex arrays. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "1.2", EntryPoint = "glDrawRangeElementsBaseVertex")] + public static + void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T5 indices, Int32 basevertex) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); + indices = (T5)indices_ptr.Target; + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_transform_feedback2] + /// Render primitives using a count derived from a transform feedback object + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY, and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the name of a transform feedback object from which to retrieve a primitive count. + /// + /// + [AutoGenerated(Category = "ARB_transform_feedback2", Version = "1.2", EntryPoint = "glDrawTransformFeedback")] + public static + void DrawTransformFeedback(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawTransformFeedback((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)id); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_transform_feedback2] + /// Render primitives using a count derived from a transform feedback object + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY, and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the name of a transform feedback object from which to retrieve a primitive count. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_transform_feedback2", Version = "1.2", EntryPoint = "glDrawTransformFeedback")] + public static + void DrawTransformFeedback(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawTransformFeedback((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)id); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_transform_feedback3] + /// Render primitives using a count derived from a specifed stream of a transform feedback object + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY, and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the name of a transform feedback object from which to retrieve a primitive count. + /// + /// + /// + /// + /// Specifies the index of the transform feedback stream from which to retrieve a primitive count. + /// + /// + [AutoGenerated(Category = "ARB_transform_feedback3", Version = "1.2", EntryPoint = "glDrawTransformFeedbackStream")] + public static + void DrawTransformFeedbackStream(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 id, Int32 stream) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawTransformFeedbackStream((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)id, (UInt32)stream); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_transform_feedback3] + /// Render primitives using a count derived from a specifed stream of a transform feedback object + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY, and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the name of a transform feedback object from which to retrieve a primitive count. + /// + /// + /// + /// + /// Specifies the index of the transform feedback stream from which to retrieve a primitive count. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_transform_feedback3", Version = "1.2", EntryPoint = "glDrawTransformFeedbackStream")] + public static + void DrawTransformFeedbackStream(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 id, UInt32 stream) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawTransformFeedbackStream((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)id, (UInt32)stream); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Flag edges as either boundary or nonboundary + /// + /// + /// + /// Specifies the current edge flag value, either GL_TRUE or GL_FALSE. The initial value is GL_TRUE. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glEdgeFlag")] + public static + void EdgeFlag(bool flag) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEdgeFlag((bool)flag); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1][deprecated: v3.1] + /// Define an array of edge flags + /// + /// + /// + /// Specifies the byte offset between consecutive edge flags. If stride is 0, the edge flags are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first edge flag in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "VERSION_1_1_DEPRECATED", Version = "1.1", EntryPoint = "glEdgeFlagPointer")] + public static + void EdgeFlagPointer(Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEdgeFlagPointer((Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1][deprecated: v3.1] + /// Define an array of edge flags + /// + /// + /// + /// Specifies the byte offset between consecutive edge flags. If stride is 0, the edge flags are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first edge flag in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "VERSION_1_1_DEPRECATED", Version = "1.1", EntryPoint = "glEdgeFlagPointer")] + public static + void EdgeFlagPointer(Int32 stride, [InAttribute, OutAttribute] T1[] pointer) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glEdgeFlagPointer((Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1][deprecated: v3.1] + /// Define an array of edge flags + /// + /// + /// + /// Specifies the byte offset between consecutive edge flags. If stride is 0, the edge flags are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first edge flag in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "VERSION_1_1_DEPRECATED", Version = "1.1", EntryPoint = "glEdgeFlagPointer")] + public static + void EdgeFlagPointer(Int32 stride, [InAttribute, OutAttribute] T1[,] pointer) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glEdgeFlagPointer((Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1][deprecated: v3.1] + /// Define an array of edge flags + /// + /// + /// + /// Specifies the byte offset between consecutive edge flags. If stride is 0, the edge flags are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first edge flag in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "VERSION_1_1_DEPRECATED", Version = "1.1", EntryPoint = "glEdgeFlagPointer")] + public static + void EdgeFlagPointer(Int32 stride, [InAttribute, OutAttribute] T1[,,] pointer) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glEdgeFlagPointer((Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1][deprecated: v3.1] + /// Define an array of edge flags + /// + /// + /// + /// Specifies the byte offset between consecutive edge flags. If stride is 0, the edge flags are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first edge flag in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "VERSION_1_1_DEPRECATED", Version = "1.1", EntryPoint = "glEdgeFlagPointer")] + public static + void EdgeFlagPointer(Int32 stride, [InAttribute, OutAttribute] ref T1 pointer) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glEdgeFlagPointer((Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + pointer = (T1)pointer_ptr.Target; + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Flag edges as either boundary or nonboundary + /// + /// + /// + /// Specifies the current edge flag value, either GL_TRUE or GL_FALSE. The initial value is GL_TRUE. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glEdgeFlagv")] + public static + unsafe void EdgeFlag(bool* flag) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEdgeFlagv((bool*)flag); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0] + /// Enable or disable server-side GL capabilities + /// + /// + /// + /// Specifies a symbolic constant indicating a GL capability. + /// + /// + [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glEnable")] + public static + void Enable(OpenTK.Graphics.OpenGL.EnableCap cap) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEnable((OpenTK.Graphics.OpenGL.EnableCap)cap); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1][deprecated: v3.1] + /// Enable or disable client-side capability + /// + /// + /// + /// Specifies the capability to enable. Symbolic constants GL_COLOR_ARRAY, GL_EDGE_FLAG_ARRAY, GL_FOG_COORD_ARRAY, GL_INDEX_ARRAY, GL_NORMAL_ARRAY, GL_SECONDARY_COLOR_ARRAY, GL_TEXTURE_COORD_ARRAY, and GL_VERTEX_ARRAY are accepted. + /// + /// + [AutoGenerated(Category = "VERSION_1_1_DEPRECATED", Version = "1.1", EntryPoint = "glEnableClientState")] + public static + void EnableClientState(OpenTK.Graphics.OpenGL.ArrayCap array) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEnableClientState((OpenTK.Graphics.OpenGL.ArrayCap)array); + #if DEBUG + } + #endif + } + + + /// [requires: v3.0] + /// Enable or disable server-side GL capabilities + /// + /// + /// + /// Specifies a symbolic constant indicating a GL capability. + /// + /// + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glEnablei")] + public static + void Enable(OpenTK.Graphics.OpenGL.IndexedEnableCap target, Int32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEnablei((OpenTK.Graphics.OpenGL.IndexedEnableCap)target, (UInt32)index); + #if DEBUG + } + #endif + } + + + /// [requires: v3.0] + /// Enable or disable server-side GL capabilities + /// + /// + /// + /// Specifies a symbolic constant indicating a GL capability. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glEnablei")] + public static + void Enable(OpenTK.Graphics.OpenGL.IndexedEnableCap target, UInt32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEnablei((OpenTK.Graphics.OpenGL.IndexedEnableCap)target, (UInt32)index); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// Enable or disable a generic vertex attribute array + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be enabled or disabled. + /// + /// + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glEnableVertexAttribArray")] + public static + void EnableVertexAttribArray(Int32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEnableVertexAttribArray((UInt32)index); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// Enable or disable a generic vertex attribute array + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be enabled or disabled. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glEnableVertexAttribArray")] + public static + void EnableVertexAttribArray(UInt32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEnableVertexAttribArray((UInt32)index); + #if DEBUG + } + #endif + } + + /// [requires: v1.0][deprecated: v3.1] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glEnd")] + public static + void End() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEnd(); + #if DEBUG + // flibit changed this! + GraphicsContext.ErrorChecking = true; + } + #endif + } + + /// [requires: v3.0] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glEndConditionalRender")] + public static + void EndConditionalRender() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEndConditionalRender(); + #if DEBUG + } + #endif + } + + /// [requires: v1.0][deprecated: v3.1] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glEndList")] + public static + void EndList() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEndList(); + #if DEBUG + } + #endif + } + + /// [requires: v1.5] + [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glEndQuery")] + public static + void EndQuery(OpenTK.Graphics.OpenGL.QueryTarget target) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEndQuery((OpenTK.Graphics.OpenGL.QueryTarget)target); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_transform_feedback3] + [AutoGenerated(Category = "ARB_transform_feedback3", Version = "1.2", EntryPoint = "glEndQueryIndexed")] + public static + void EndQueryIndexed(OpenTK.Graphics.OpenGL.QueryTarget target, Int32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEndQueryIndexed((OpenTK.Graphics.OpenGL.QueryTarget)target, (UInt32)index); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_transform_feedback3] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_transform_feedback3", Version = "1.2", EntryPoint = "glEndQueryIndexed")] + public static + void EndQueryIndexed(OpenTK.Graphics.OpenGL.QueryTarget target, UInt32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEndQueryIndexed((OpenTK.Graphics.OpenGL.QueryTarget)target, (UInt32)index); + #if DEBUG + } + #endif + } + + /// [requires: v3.0] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glEndTransformFeedback")] + public static + void EndTransformFeedback() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEndTransformFeedback(); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Evaluate enabled one- and two-dimensional maps + /// + /// + /// + /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap1 or glMap2 command. + /// + /// + /// + /// + /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap2 command. This argument is not present in a glEvalCoord1 command. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glEvalCoord1d")] + public static + void EvalCoord1(Double u) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEvalCoord1d((Double)u); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Evaluate enabled one- and two-dimensional maps + /// + /// + /// + /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap1 or glMap2 command. + /// + /// + /// + /// + /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap2 command. This argument is not present in a glEvalCoord1 command. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glEvalCoord1dv")] + public static + unsafe void EvalCoord1(Double* u) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEvalCoord1dv((Double*)u); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Evaluate enabled one- and two-dimensional maps + /// + /// + /// + /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap1 or glMap2 command. + /// + /// + /// + /// + /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap2 command. This argument is not present in a glEvalCoord1 command. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glEvalCoord1f")] + public static + void EvalCoord1(Single u) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEvalCoord1f((Single)u); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Evaluate enabled one- and two-dimensional maps + /// + /// + /// + /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap1 or glMap2 command. + /// + /// + /// + /// + /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap2 command. This argument is not present in a glEvalCoord1 command. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glEvalCoord1fv")] + public static + unsafe void EvalCoord1(Single* u) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEvalCoord1fv((Single*)u); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Evaluate enabled one- and two-dimensional maps + /// + /// + /// + /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap1 or glMap2 command. + /// + /// + /// + /// + /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap2 command. This argument is not present in a glEvalCoord1 command. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glEvalCoord2d")] + public static + void EvalCoord2(Double u, Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEvalCoord2d((Double)u, (Double)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Evaluate enabled one- and two-dimensional maps + /// + /// + /// + /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap1 or glMap2 command. + /// + /// + /// + /// + /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap2 command. This argument is not present in a glEvalCoord1 command. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glEvalCoord2dv")] + public static + void EvalCoord2(Double[] u) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* u_ptr = u) + { + Delegates.glEvalCoord2dv((Double*)u_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Evaluate enabled one- and two-dimensional maps + /// + /// + /// + /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap1 or glMap2 command. + /// + /// + /// + /// + /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap2 command. This argument is not present in a glEvalCoord1 command. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glEvalCoord2dv")] + public static + void EvalCoord2(ref Double u) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* u_ptr = &u) + { + Delegates.glEvalCoord2dv((Double*)u_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Evaluate enabled one- and two-dimensional maps + /// + /// + /// + /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap1 or glMap2 command. + /// + /// + /// + /// + /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap2 command. This argument is not present in a glEvalCoord1 command. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glEvalCoord2dv")] + public static + unsafe void EvalCoord2(Double* u) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEvalCoord2dv((Double*)u); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Evaluate enabled one- and two-dimensional maps + /// + /// + /// + /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap1 or glMap2 command. + /// + /// + /// + /// + /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap2 command. This argument is not present in a glEvalCoord1 command. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glEvalCoord2f")] + public static + void EvalCoord2(Single u, Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEvalCoord2f((Single)u, (Single)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Evaluate enabled one- and two-dimensional maps + /// + /// + /// + /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap1 or glMap2 command. + /// + /// + /// + /// + /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap2 command. This argument is not present in a glEvalCoord1 command. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glEvalCoord2fv")] + public static + void EvalCoord2(Single[] u) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* u_ptr = u) + { + Delegates.glEvalCoord2fv((Single*)u_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Evaluate enabled one- and two-dimensional maps + /// + /// + /// + /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap1 or glMap2 command. + /// + /// + /// + /// + /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap2 command. This argument is not present in a glEvalCoord1 command. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glEvalCoord2fv")] + public static + void EvalCoord2(ref Single u) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* u_ptr = &u) + { + Delegates.glEvalCoord2fv((Single*)u_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Evaluate enabled one- and two-dimensional maps + /// + /// + /// + /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap1 or glMap2 command. + /// + /// + /// + /// + /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap2 command. This argument is not present in a glEvalCoord1 command. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glEvalCoord2fv")] + public static + unsafe void EvalCoord2(Single* u) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEvalCoord2fv((Single*)u); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Compute a one- or two-dimensional grid of points or lines + /// + /// + /// + /// In glEvalMesh1, specifies whether to compute a one-dimensional mesh of points or lines. Symbolic constants GL_POINT and GL_LINE are accepted. + /// + /// + /// + /// + /// Specify the first and last integer values for grid domain variable . + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glEvalMesh1")] + public static + void EvalMesh1(OpenTK.Graphics.OpenGL.MeshMode1 mode, Int32 i1, Int32 i2) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEvalMesh1((OpenTK.Graphics.OpenGL.MeshMode1)mode, (Int32)i1, (Int32)i2); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Compute a one- or two-dimensional grid of points or lines + /// + /// + /// + /// In glEvalMesh1, specifies whether to compute a one-dimensional mesh of points or lines. Symbolic constants GL_POINT and GL_LINE are accepted. + /// + /// + /// + /// + /// Specify the first and last integer values for grid domain variable . + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glEvalMesh2")] + public static + void EvalMesh2(OpenTK.Graphics.OpenGL.MeshMode2 mode, Int32 i1, Int32 i2, Int32 j1, Int32 j2) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEvalMesh2((OpenTK.Graphics.OpenGL.MeshMode2)mode, (Int32)i1, (Int32)i2, (Int32)j1, (Int32)j2); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Generate and evaluate a single point in a mesh + /// + /// + /// + /// Specifies the integer value for grid domain variable . + /// + /// + /// + /// + /// Specifies the integer value for grid domain variable (glEvalPoint2 only). + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glEvalPoint1")] + public static + void EvalPoint1(Int32 i) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEvalPoint1((Int32)i); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Generate and evaluate a single point in a mesh + /// + /// + /// + /// Specifies the integer value for grid domain variable . + /// + /// + /// + /// + /// Specifies the integer value for grid domain variable (glEvalPoint2 only). + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glEvalPoint2")] + public static + void EvalPoint2(Int32 i, Int32 j) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEvalPoint2((Int32)i, (Int32)j); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Controls feedback mode + /// + /// + /// + /// Specifies the maximum number of values that can be written into buffer. + /// + /// + /// + /// + /// Specifies a symbolic constant that describes the information that will be returned for each vertex. GL_2D, GL_3D, GL_3D_COLOR, GL_3D_COLOR_TEXTURE, and GL_4D_COLOR_TEXTURE are accepted. + /// + /// + /// + /// + /// Returns the feedback data. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glFeedbackBuffer")] + public static + void FeedbackBuffer(Int32 size, OpenTK.Graphics.OpenGL.FeedbackType type, [OutAttribute] Single[] buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* buffer_ptr = buffer) + { + Delegates.glFeedbackBuffer((Int32)size, (OpenTK.Graphics.OpenGL.FeedbackType)type, (Single*)buffer_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Controls feedback mode + /// + /// + /// + /// Specifies the maximum number of values that can be written into buffer. + /// + /// + /// + /// + /// Specifies a symbolic constant that describes the information that will be returned for each vertex. GL_2D, GL_3D, GL_3D_COLOR, GL_3D_COLOR_TEXTURE, and GL_4D_COLOR_TEXTURE are accepted. + /// + /// + /// + /// + /// Returns the feedback data. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glFeedbackBuffer")] + public static + void FeedbackBuffer(Int32 size, OpenTK.Graphics.OpenGL.FeedbackType type, [OutAttribute] out Single buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* buffer_ptr = &buffer) + { + Delegates.glFeedbackBuffer((Int32)size, (OpenTK.Graphics.OpenGL.FeedbackType)type, (Single*)buffer_ptr); + buffer = *buffer_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Controls feedback mode + /// + /// + /// + /// Specifies the maximum number of values that can be written into buffer. + /// + /// + /// + /// + /// Specifies a symbolic constant that describes the information that will be returned for each vertex. GL_2D, GL_3D, GL_3D_COLOR, GL_3D_COLOR_TEXTURE, and GL_4D_COLOR_TEXTURE are accepted. + /// + /// + /// + /// + /// Returns the feedback data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glFeedbackBuffer")] + public static + unsafe void FeedbackBuffer(Int32 size, OpenTK.Graphics.OpenGL.FeedbackType type, [OutAttribute] Single* buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFeedbackBuffer((Int32)size, (OpenTK.Graphics.OpenGL.FeedbackType)type, (Single*)buffer); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_sync] + /// Create a new sync object and insert it into the GL command stream + /// + /// + /// + /// Specifies the condition that must be met to set the sync object's state to signaled. condition must be GL_SYNC_GPU_COMMANDS_COMPLETE. + /// + /// + /// + /// + /// Specifies a bitwise combination of flags controlling the behavior of the sync object. No flags are presently defined for this operation and flags must be zero. flags is a placeholder for anticipated future extensions of fence sync object capabilities. + /// + /// + [AutoGenerated(Category = "ARB_sync", Version = "1.2", EntryPoint = "glFenceSync")] + public static + IntPtr FenceSync(OpenTK.Graphics.OpenGL.ArbSync condition, Int32 flags) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glFenceSync((OpenTK.Graphics.OpenGL.ArbSync)condition, (UInt32)flags); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_sync] + /// Create a new sync object and insert it into the GL command stream + /// + /// + /// + /// Specifies the condition that must be met to set the sync object's state to signaled. condition must be GL_SYNC_GPU_COMMANDS_COMPLETE. + /// + /// + /// + /// + /// Specifies a bitwise combination of flags controlling the behavior of the sync object. No flags are presently defined for this operation and flags must be zero. flags is a placeholder for anticipated future extensions of fence sync object capabilities. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_sync", Version = "1.2", EntryPoint = "glFenceSync")] + public static + IntPtr FenceSync(OpenTK.Graphics.OpenGL.ArbSync condition, UInt32 flags) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glFenceSync((OpenTK.Graphics.OpenGL.ArbSync)condition, (UInt32)flags); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0] + /// Block until all GL execution is complete + /// + [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glFinish")] + public static + void Finish() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFinish(); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0] + /// Force execution of GL commands in finite time + /// + [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glFlush")] + public static + void Flush() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFlush(); + #if DEBUG + } + #endif + } + + + /// [requires: v3.0 and ARB_map_buffer_range] + /// Indicate modifications to a range of a mapped buffer + /// + /// + /// + /// Specifies the target of the flush operation. target must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER. + /// + /// + /// + /// + /// Specifies the start of the buffer subrange, in basic machine units. + /// + /// + /// + /// + /// Specifies the length of the buffer subrange, in basic machine units. + /// + /// + [AutoGenerated(Category = "ARB_map_buffer_range", Version = "3.0", EntryPoint = "glFlushMappedBufferRange")] + public static + void FlushMappedBufferRange(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr length) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFlushMappedBufferRange((OpenTK.Graphics.OpenGL.BufferTarget)target, (IntPtr)offset, (IntPtr)length); + #if DEBUG + } + #endif + } + + + /// [requires: v1.4][deprecated: v3.1] + /// Set the current fog coordinates + /// + /// + /// + /// Specify the fog distance. + /// + /// + [AutoGenerated(Category = "VERSION_1_4_DEPRECATED", Version = "1.4", EntryPoint = "glFogCoordd")] + public static + void FogCoord(Double coord) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFogCoordd((Double)coord); + #if DEBUG + } + #endif + } + + + /// [requires: v1.4][deprecated: v3.1] + /// Set the current fog coordinates + /// + /// + /// + /// Specify the fog distance. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_4_DEPRECATED", Version = "1.4", EntryPoint = "glFogCoorddv")] + public static + unsafe void FogCoord(Double* coord) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFogCoorddv((Double*)coord); + #if DEBUG + } + #endif + } + + + /// [requires: v1.4][deprecated: v3.1] + /// Set the current fog coordinates + /// + /// + /// + /// Specify the fog distance. + /// + /// + [AutoGenerated(Category = "VERSION_1_4_DEPRECATED", Version = "1.4", EntryPoint = "glFogCoordf")] + public static + void FogCoord(Single coord) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFogCoordf((Single)coord); + #if DEBUG + } + #endif + } + + + /// [requires: v1.4][deprecated: v3.1] + /// Set the current fog coordinates + /// + /// + /// + /// Specify the fog distance. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_4_DEPRECATED", Version = "1.4", EntryPoint = "glFogCoordfv")] + public static + unsafe void FogCoord(Single* coord) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFogCoordfv((Single*)coord); + #if DEBUG + } + #endif + } + + + /// [requires: v1.4][deprecated: v3.1] + /// Define an array of fog coordinates + /// + /// + /// + /// Specifies the data type of each fog coordinate. Symbolic constants GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive fog coordinates. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first fog coordinate in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "VERSION_1_4_DEPRECATED", Version = "1.4", EntryPoint = "glFogCoordPointer")] + public static + void FogCoordPointer(OpenTK.Graphics.OpenGL.FogPointerType type, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFogCoordPointer((OpenTK.Graphics.OpenGL.FogPointerType)type, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + + /// [requires: v1.4][deprecated: v3.1] + /// Define an array of fog coordinates + /// + /// + /// + /// Specifies the data type of each fog coordinate. Symbolic constants GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive fog coordinates. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first fog coordinate in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "VERSION_1_4_DEPRECATED", Version = "1.4", EntryPoint = "glFogCoordPointer")] + public static + void FogCoordPointer(OpenTK.Graphics.OpenGL.FogPointerType type, Int32 stride, [InAttribute, OutAttribute] T2[] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glFogCoordPointer((OpenTK.Graphics.OpenGL.FogPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.4][deprecated: v3.1] + /// Define an array of fog coordinates + /// + /// + /// + /// Specifies the data type of each fog coordinate. Symbolic constants GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive fog coordinates. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first fog coordinate in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "VERSION_1_4_DEPRECATED", Version = "1.4", EntryPoint = "glFogCoordPointer")] + public static + void FogCoordPointer(OpenTK.Graphics.OpenGL.FogPointerType type, Int32 stride, [InAttribute, OutAttribute] T2[,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glFogCoordPointer((OpenTK.Graphics.OpenGL.FogPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.4][deprecated: v3.1] + /// Define an array of fog coordinates + /// + /// + /// + /// Specifies the data type of each fog coordinate. Symbolic constants GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive fog coordinates. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first fog coordinate in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "VERSION_1_4_DEPRECATED", Version = "1.4", EntryPoint = "glFogCoordPointer")] + public static + void FogCoordPointer(OpenTK.Graphics.OpenGL.FogPointerType type, Int32 stride, [InAttribute, OutAttribute] T2[,,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glFogCoordPointer((OpenTK.Graphics.OpenGL.FogPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.4][deprecated: v3.1] + /// Define an array of fog coordinates + /// + /// + /// + /// Specifies the data type of each fog coordinate. Symbolic constants GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive fog coordinates. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first fog coordinate in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "VERSION_1_4_DEPRECATED", Version = "1.4", EntryPoint = "glFogCoordPointer")] + public static + void FogCoordPointer(OpenTK.Graphics.OpenGL.FogPointerType type, Int32 stride, [InAttribute, OutAttribute] ref T2 pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glFogCoordPointer((OpenTK.Graphics.OpenGL.FogPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + pointer = (T2)pointer_ptr.Target; + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify fog parameters + /// + /// + /// + /// Specifies a single-valued fog parameter. GL_FOG_MODE, GL_FOG_DENSITY, GL_FOG_START, GL_FOG_END, GL_FOG_INDEX, and GL_FOG_COORD_SRC are accepted. + /// + /// + /// + /// + /// Specifies the value that pname will be set to. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glFogf")] + public static + void Fog(OpenTK.Graphics.OpenGL.FogParameter pname, Single param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFogf((OpenTK.Graphics.OpenGL.FogParameter)pname, (Single)param); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify fog parameters + /// + /// + /// + /// Specifies a single-valued fog parameter. GL_FOG_MODE, GL_FOG_DENSITY, GL_FOG_START, GL_FOG_END, GL_FOG_INDEX, and GL_FOG_COORD_SRC are accepted. + /// + /// + /// + /// + /// Specifies the value that pname will be set to. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glFogfv")] + public static + void Fog(OpenTK.Graphics.OpenGL.FogParameter pname, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glFogfv((OpenTK.Graphics.OpenGL.FogParameter)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify fog parameters + /// + /// + /// + /// Specifies a single-valued fog parameter. GL_FOG_MODE, GL_FOG_DENSITY, GL_FOG_START, GL_FOG_END, GL_FOG_INDEX, and GL_FOG_COORD_SRC are accepted. + /// + /// + /// + /// + /// Specifies the value that pname will be set to. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glFogfv")] + public static + unsafe void Fog(OpenTK.Graphics.OpenGL.FogParameter pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFogfv((OpenTK.Graphics.OpenGL.FogParameter)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify fog parameters + /// + /// + /// + /// Specifies a single-valued fog parameter. GL_FOG_MODE, GL_FOG_DENSITY, GL_FOG_START, GL_FOG_END, GL_FOG_INDEX, and GL_FOG_COORD_SRC are accepted. + /// + /// + /// + /// + /// Specifies the value that pname will be set to. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glFogi")] + public static + void Fog(OpenTK.Graphics.OpenGL.FogParameter pname, Int32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFogi((OpenTK.Graphics.OpenGL.FogParameter)pname, (Int32)param); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify fog parameters + /// + /// + /// + /// Specifies a single-valued fog parameter. GL_FOG_MODE, GL_FOG_DENSITY, GL_FOG_START, GL_FOG_END, GL_FOG_INDEX, and GL_FOG_COORD_SRC are accepted. + /// + /// + /// + /// + /// Specifies the value that pname will be set to. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glFogiv")] + public static + void Fog(OpenTK.Graphics.OpenGL.FogParameter pname, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glFogiv((OpenTK.Graphics.OpenGL.FogParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify fog parameters + /// + /// + /// + /// Specifies a single-valued fog parameter. GL_FOG_MODE, GL_FOG_DENSITY, GL_FOG_START, GL_FOG_END, GL_FOG_INDEX, and GL_FOG_COORD_SRC are accepted. + /// + /// + /// + /// + /// Specifies the value that pname will be set to. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glFogiv")] + public static + unsafe void Fog(OpenTK.Graphics.OpenGL.FogParameter pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFogiv((OpenTK.Graphics.OpenGL.FogParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v3.0 and ARB_framebuffer_object] + /// Attach a renderbuffer as a logical buffer to the currently bound framebuffer object + /// + /// + /// + /// Specifies the framebuffer target. target must be GL_DRAW_FRAMEBUFFER, GL_READ_FRAMEBUFFER, or GL_FRAMEBUFFER. GL_FRAMEBUFFER is equivalent to GL_DRAW_FRAMEBUFFER. + /// + /// + /// + /// + /// Specifies the attachment point of the framebuffer. + /// + /// + /// + /// + /// Specifies the renderbuffer target and must be GL_RENDERBUFFER. + /// + /// + /// + /// + /// Specifies the name of an existing renderbuffer object of type renderbuffertarget to attach. + /// + /// + [AutoGenerated(Category = "ARB_framebuffer_object", Version = "3.0", EntryPoint = "glFramebufferRenderbuffer")] + public static + void FramebufferRenderbuffer(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.RenderbufferTarget renderbuffertarget, Int32 renderbuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferRenderbuffer((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer); + #if DEBUG + } + #endif + } + + + /// [requires: v3.0 and ARB_framebuffer_object] + /// Attach a renderbuffer as a logical buffer to the currently bound framebuffer object + /// + /// + /// + /// Specifies the framebuffer target. target must be GL_DRAW_FRAMEBUFFER, GL_READ_FRAMEBUFFER, or GL_FRAMEBUFFER. GL_FRAMEBUFFER is equivalent to GL_DRAW_FRAMEBUFFER. + /// + /// + /// + /// + /// Specifies the attachment point of the framebuffer. + /// + /// + /// + /// + /// Specifies the renderbuffer target and must be GL_RENDERBUFFER. + /// + /// + /// + /// + /// Specifies the name of an existing renderbuffer object of type renderbuffertarget to attach. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_framebuffer_object", Version = "3.0", EntryPoint = "glFramebufferRenderbuffer")] + public static + void FramebufferRenderbuffer(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferRenderbuffer((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2] + /// Attach a level of a texture object as a logical buffer to the currently bound framebuffer object + /// + /// + /// + /// Specifies the framebuffer target. target must be GL_DRAW_FRAMEBUFFER, GL_READ_FRAMEBUFFER, or GL_FRAMEBUFFER. GL_FRAMEBUFFER is equivalent to GL_DRAW_FRAMEBUFFER. + /// + /// + /// + /// + /// Specifies the attachment point of the framebuffer. attachment must be GL_COLOR_ATTACHMENTi, GL_DEPTH_ATTACHMENT, GL_STENCIL_ATTACHMENT or GL_DEPTH_STENCIL_ATTACHMMENT. + /// + /// + /// + /// + /// Specifies the texture object to attach to the framebuffer attachment point named by attachment. + /// + /// + /// + /// + /// Specifies the mipmap level of texture to attach. + /// + /// + [AutoGenerated(Category = "VERSION_3_2", Version = "1.2", EntryPoint = "glFramebufferTexture")] + public static + void FramebufferTexture(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, Int32 texture, Int32 level) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferTexture((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2] + /// Attach a level of a texture object as a logical buffer to the currently bound framebuffer object + /// + /// + /// + /// Specifies the framebuffer target. target must be GL_DRAW_FRAMEBUFFER, GL_READ_FRAMEBUFFER, or GL_FRAMEBUFFER. GL_FRAMEBUFFER is equivalent to GL_DRAW_FRAMEBUFFER. + /// + /// + /// + /// + /// Specifies the attachment point of the framebuffer. attachment must be GL_COLOR_ATTACHMENTi, GL_DEPTH_ATTACHMENT, GL_STENCIL_ATTACHMENT or GL_DEPTH_STENCIL_ATTACHMMENT. + /// + /// + /// + /// + /// Specifies the texture object to attach to the framebuffer attachment point named by attachment. + /// + /// + /// + /// + /// Specifies the mipmap level of texture to attach. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_2", Version = "1.2", EntryPoint = "glFramebufferTexture")] + public static + void FramebufferTexture(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferTexture((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level); + #if DEBUG + } + #endif + } + + /// [requires: v3.0 and ARB_framebuffer_object] + [AutoGenerated(Category = "ARB_framebuffer_object", Version = "3.0", EntryPoint = "glFramebufferTexture1D")] + public static + void FramebufferTexture1D(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, Int32 texture, Int32 level) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferTexture1D((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.TextureTarget)textarget, (UInt32)texture, (Int32)level); + #if DEBUG + } + #endif + } + + /// [requires: v3.0 and ARB_framebuffer_object] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_framebuffer_object", Version = "3.0", EntryPoint = "glFramebufferTexture1D")] + public static + void FramebufferTexture1D(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferTexture1D((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.TextureTarget)textarget, (UInt32)texture, (Int32)level); + #if DEBUG + } + #endif + } + + /// [requires: v3.0 and ARB_framebuffer_object] + [AutoGenerated(Category = "ARB_framebuffer_object", Version = "3.0", EntryPoint = "glFramebufferTexture2D")] + public static + void FramebufferTexture2D(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, Int32 texture, Int32 level) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferTexture2D((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.TextureTarget)textarget, (UInt32)texture, (Int32)level); + #if DEBUG + } + #endif + } + + /// [requires: v3.0 and ARB_framebuffer_object] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_framebuffer_object", Version = "3.0", EntryPoint = "glFramebufferTexture2D")] + public static + void FramebufferTexture2D(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferTexture2D((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.TextureTarget)textarget, (UInt32)texture, (Int32)level); + #if DEBUG + } + #endif + } + + /// [requires: v3.0 and ARB_framebuffer_object] + [AutoGenerated(Category = "ARB_framebuffer_object", Version = "3.0", EntryPoint = "glFramebufferTexture3D")] + public static + void FramebufferTexture3D(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, Int32 texture, Int32 level, Int32 zoffset) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferTexture3D((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.TextureTarget)textarget, (UInt32)texture, (Int32)level, (Int32)zoffset); + #if DEBUG + } + #endif + } + + /// [requires: v3.0 and ARB_framebuffer_object] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_framebuffer_object", Version = "3.0", EntryPoint = "glFramebufferTexture3D")] + public static + void FramebufferTexture3D(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level, Int32 zoffset) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferTexture3D((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.TextureTarget)textarget, (UInt32)texture, (Int32)level, (Int32)zoffset); + #if DEBUG + } + #endif + } + + + /// [requires: v3.0 and ARB_framebuffer_object] + /// Attach a single layer of a texture to a framebuffer + /// + /// + /// + /// Specifies the framebuffer target. target must be GL_DRAW_FRAMEBUFFER, GL_READ_FRAMEBUFFER, or GL_FRAMEBUFFER. GL_FRAMEBUFFER is equivalent to GL_DRAW_FRAMEBUFFER. + /// + /// + /// + /// + /// Specifies the attachment point of the framebuffer. attachment must be GL_COLOR_ATTACHMENTi, GL_DEPTH_ATTACHMENT, GL_STENCIL_ATTACHMENT or GL_DEPTH_STENCIL_ATTACHMMENT. + /// + /// + /// + /// + /// Specifies the texture object to attach to the framebuffer attachment point named by attachment. + /// + /// + /// + /// + /// Specifies the mipmap level of texture to attach. + /// + /// + /// + /// + /// Specifies the layer of texture to attach. + /// + /// + [AutoGenerated(Category = "ARB_framebuffer_object", Version = "3.0", EntryPoint = "glFramebufferTextureLayer")] + public static + void FramebufferTextureLayer(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, Int32 texture, Int32 level, Int32 layer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferTextureLayer((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer); + #if DEBUG + } + #endif + } + + + /// [requires: v3.0 and ARB_framebuffer_object] + /// Attach a single layer of a texture to a framebuffer + /// + /// + /// + /// Specifies the framebuffer target. target must be GL_DRAW_FRAMEBUFFER, GL_READ_FRAMEBUFFER, or GL_FRAMEBUFFER. GL_FRAMEBUFFER is equivalent to GL_DRAW_FRAMEBUFFER. + /// + /// + /// + /// + /// Specifies the attachment point of the framebuffer. attachment must be GL_COLOR_ATTACHMENTi, GL_DEPTH_ATTACHMENT, GL_STENCIL_ATTACHMENT or GL_DEPTH_STENCIL_ATTACHMMENT. + /// + /// + /// + /// + /// Specifies the texture object to attach to the framebuffer attachment point named by attachment. + /// + /// + /// + /// + /// Specifies the mipmap level of texture to attach. + /// + /// + /// + /// + /// Specifies the layer of texture to attach. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_framebuffer_object", Version = "3.0", EntryPoint = "glFramebufferTextureLayer")] + public static + void FramebufferTextureLayer(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferTextureLayer((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0] + /// Define front- and back-facing polygons + /// + /// + /// + /// Specifies the orientation of front-facing polygons. GL_CW and GL_CCW are accepted. The initial value is GL_CCW. + /// + /// + [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glFrontFace")] + public static + void FrontFace(OpenTK.Graphics.OpenGL.FrontFaceDirection mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFrontFace((OpenTK.Graphics.OpenGL.FrontFaceDirection)mode); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Multiply the current matrix by a perspective matrix + /// + /// + /// + /// Specify the coordinates for the left and right vertical clipping planes. + /// + /// + /// + /// + /// Specify the coordinates for the bottom and top horizontal clipping planes. + /// + /// + /// + /// + /// Specify the distances to the near and far depth clipping planes. Both distances must be positive. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glFrustum")] + public static + void Frustum(Double left, Double right, Double bottom, Double top, Double zNear, Double zFar) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFrustum((Double)left, (Double)right, (Double)bottom, (Double)top, (Double)zNear, (Double)zFar); + #if DEBUG + } + #endif + } + + + /// [requires: v1.5] + /// 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 = "VERSION_1_5", Version = "1.5", EntryPoint = "glGenBuffers")] + public static + void GenBuffers(Int32 n, [OutAttribute] Int32[] buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* buffers_ptr = buffers) + { + Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.5] + /// 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 = "VERSION_1_5", Version = "1.5", EntryPoint = "glGenBuffers")] + public static + void GenBuffers(Int32 n, [OutAttribute] out Int32 buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* buffers_ptr = &buffers) + { + Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr); + buffers = *buffers_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.5] + /// 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 = "VERSION_1_5", Version = "1.5", EntryPoint = "glGenBuffers")] + public static + unsafe void GenBuffers(Int32 n, [OutAttribute] Int32* buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenBuffers((Int32)n, (UInt32*)buffers); + #if DEBUG + } + #endif + } + + + /// [requires: v1.5] + /// 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 = "VERSION_1_5", Version = "1.5", EntryPoint = "glGenBuffers")] + public static + void GenBuffers(Int32 n, [OutAttribute] UInt32[] buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* buffers_ptr = buffers) + { + Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.5] + /// 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 = "VERSION_1_5", Version = "1.5", EntryPoint = "glGenBuffers")] + public static + void GenBuffers(Int32 n, [OutAttribute] out UInt32 buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* buffers_ptr = &buffers) + { + Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr); + buffers = *buffers_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.5] + /// 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 = "VERSION_1_5", Version = "1.5", EntryPoint = "glGenBuffers")] + public static + unsafe void GenBuffers(Int32 n, [OutAttribute] UInt32* buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenBuffers((Int32)n, (UInt32*)buffers); + #if DEBUG + } + #endif + } + + + /// [requires: v3.0 and ARB_framebuffer_object] + /// Generate mipmaps for a specified texture target + /// + /// + /// + /// Specifies the target to which the texture whose mimaps to generate is bound. target must be GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY or GL_TEXTURE_CUBE_MAP. + /// + /// + [AutoGenerated(Category = "ARB_framebuffer_object", Version = "3.0", EntryPoint = "glGenerateMipmap")] + public static + void GenerateMipmap(OpenTK.Graphics.OpenGL.GenerateMipmapTarget target) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenerateMipmap((OpenTK.Graphics.OpenGL.GenerateMipmapTarget)target); + #if DEBUG + } + #endif + } + + + /// [requires: v3.0 and ARB_framebuffer_object] + /// Generate framebuffer object names + /// + /// + /// + /// Specifies the number of framebuffer object names to generate. + /// + /// + /// + /// + /// Specifies an array in which the generated framebuffer object names are stored. + /// + /// + [AutoGenerated(Category = "ARB_framebuffer_object", Version = "3.0", EntryPoint = "glGenFramebuffers")] + public static + void GenFramebuffers(Int32 n, [OutAttribute] Int32[] framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* framebuffers_ptr = framebuffers) + { + Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v3.0 and ARB_framebuffer_object] + /// Generate framebuffer object names + /// + /// + /// + /// Specifies the number of framebuffer object names to generate. + /// + /// + /// + /// + /// Specifies an array in which the generated framebuffer object names are stored. + /// + /// + [AutoGenerated(Category = "ARB_framebuffer_object", Version = "3.0", EntryPoint = "glGenFramebuffers")] + public static + void GenFramebuffers(Int32 n, [OutAttribute] out Int32 framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* framebuffers_ptr = &framebuffers) + { + Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); + framebuffers = *framebuffers_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v3.0 and ARB_framebuffer_object] + /// Generate framebuffer object names + /// + /// + /// + /// Specifies the number of framebuffer object names to generate. + /// + /// + /// + /// + /// Specifies an array in which the generated framebuffer object names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_framebuffer_object", Version = "3.0", EntryPoint = "glGenFramebuffers")] + public static + unsafe void GenFramebuffers(Int32 n, [OutAttribute] Int32* framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers); + #if DEBUG + } + #endif + } + + + /// [requires: v3.0 and ARB_framebuffer_object] + /// Generate framebuffer object names + /// + /// + /// + /// Specifies the number of framebuffer object names to generate. + /// + /// + /// + /// + /// Specifies an array in which the generated framebuffer object names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_framebuffer_object", Version = "3.0", EntryPoint = "glGenFramebuffers")] + public static + void GenFramebuffers(Int32 n, [OutAttribute] UInt32[] framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* framebuffers_ptr = framebuffers) + { + Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v3.0 and ARB_framebuffer_object] + /// Generate framebuffer object names + /// + /// + /// + /// Specifies the number of framebuffer object names to generate. + /// + /// + /// + /// + /// Specifies an array in which the generated framebuffer object names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_framebuffer_object", Version = "3.0", EntryPoint = "glGenFramebuffers")] + public static + void GenFramebuffers(Int32 n, [OutAttribute] out UInt32 framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* framebuffers_ptr = &framebuffers) + { + Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); + framebuffers = *framebuffers_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v3.0 and ARB_framebuffer_object] + /// Generate framebuffer object names + /// + /// + /// + /// Specifies the number of framebuffer object names to generate. + /// + /// + /// + /// + /// Specifies an array in which the generated framebuffer object names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_framebuffer_object", Version = "3.0", EntryPoint = "glGenFramebuffers")] + public static + unsafe void GenFramebuffers(Int32 n, [OutAttribute] UInt32* framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Generate a contiguous set of empty display lists + /// + /// + /// + /// Specifies the number of contiguous empty display lists to be generated. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glGenLists")] + public static + Int32 GenLists(Int32 range) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glGenLists((Int32)range); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Reserve program pipeline object names + /// + /// + /// + /// Specifies the number of program pipeline object names to reserve. + /// + /// + /// + /// + /// Specifies an array of into which the reserved names will be written. + /// + /// + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glGenProgramPipelines")] + public static + void GenProgramPipelines(Int32 n, [OutAttribute] Int32[] pipelines) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* pipelines_ptr = pipelines) + { + Delegates.glGenProgramPipelines((Int32)n, (UInt32*)pipelines_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Reserve program pipeline object names + /// + /// + /// + /// Specifies the number of program pipeline object names to reserve. + /// + /// + /// + /// + /// Specifies an array of into which the reserved names will be written. + /// + /// + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glGenProgramPipelines")] + public static + void GenProgramPipelines(Int32 n, [OutAttribute] out Int32 pipelines) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* pipelines_ptr = &pipelines) + { + Delegates.glGenProgramPipelines((Int32)n, (UInt32*)pipelines_ptr); + pipelines = *pipelines_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Reserve program pipeline object names + /// + /// + /// + /// Specifies the number of program pipeline object names to reserve. + /// + /// + /// + /// + /// Specifies an array of into which the reserved names will be written. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glGenProgramPipelines")] + public static + unsafe void GenProgramPipelines(Int32 n, [OutAttribute] Int32* pipelines) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenProgramPipelines((Int32)n, (UInt32*)pipelines); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Reserve program pipeline object names + /// + /// + /// + /// Specifies the number of program pipeline object names to reserve. + /// + /// + /// + /// + /// Specifies an array of into which the reserved names will be written. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glGenProgramPipelines")] + public static + void GenProgramPipelines(Int32 n, [OutAttribute] UInt32[] pipelines) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* pipelines_ptr = pipelines) + { + Delegates.glGenProgramPipelines((Int32)n, (UInt32*)pipelines_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Reserve program pipeline object names + /// + /// + /// + /// Specifies the number of program pipeline object names to reserve. + /// + /// + /// + /// + /// Specifies an array of into which the reserved names will be written. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glGenProgramPipelines")] + public static + void GenProgramPipelines(Int32 n, [OutAttribute] out UInt32 pipelines) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* pipelines_ptr = &pipelines) + { + Delegates.glGenProgramPipelines((Int32)n, (UInt32*)pipelines_ptr); + pipelines = *pipelines_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Reserve program pipeline object names + /// + /// + /// + /// Specifies the number of program pipeline object names to reserve. + /// + /// + /// + /// + /// Specifies an array of into which the reserved names will be written. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glGenProgramPipelines")] + public static + unsafe void GenProgramPipelines(Int32 n, [OutAttribute] UInt32* pipelines) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenProgramPipelines((Int32)n, (UInt32*)pipelines); + #if DEBUG + } + #endif + } + + + /// [requires: v1.5] + /// 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 = "VERSION_1_5", Version = "1.5", EntryPoint = "glGenQueries")] + public static + void GenQueries(Int32 n, [OutAttribute] Int32[] ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* ids_ptr = ids) + { + Delegates.glGenQueries((Int32)n, (UInt32*)ids_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.5] + /// 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 = "VERSION_1_5", Version = "1.5", EntryPoint = "glGenQueries")] + public static + void GenQueries(Int32 n, [OutAttribute] out Int32 ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* ids_ptr = &ids) + { + Delegates.glGenQueries((Int32)n, (UInt32*)ids_ptr); + ids = *ids_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.5] + /// 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 = "VERSION_1_5", Version = "1.5", EntryPoint = "glGenQueries")] + public static + unsafe void GenQueries(Int32 n, [OutAttribute] Int32* ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenQueries((Int32)n, (UInt32*)ids); + #if DEBUG + } + #endif + } + + + /// [requires: v1.5] + /// 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 = "VERSION_1_5", Version = "1.5", EntryPoint = "glGenQueries")] + public static + void GenQueries(Int32 n, [OutAttribute] UInt32[] ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* ids_ptr = ids) + { + Delegates.glGenQueries((Int32)n, (UInt32*)ids_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.5] + /// 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 = "VERSION_1_5", Version = "1.5", EntryPoint = "glGenQueries")] + public static + void GenQueries(Int32 n, [OutAttribute] out UInt32 ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* ids_ptr = &ids) + { + Delegates.glGenQueries((Int32)n, (UInt32*)ids_ptr); + ids = *ids_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.5] + /// 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 = "VERSION_1_5", Version = "1.5", EntryPoint = "glGenQueries")] + public static + unsafe void GenQueries(Int32 n, [OutAttribute] UInt32* ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenQueries((Int32)n, (UInt32*)ids); + #if DEBUG + } + #endif + } + + + /// [requires: v3.0 and ARB_framebuffer_object] + /// Generate renderbuffer object names + /// + /// + /// + /// Specifies the number of renderbuffer object names to generate. + /// + /// + /// + /// + /// Specifies an array in which the generated renderbuffer object names are stored. + /// + /// + [AutoGenerated(Category = "ARB_framebuffer_object", Version = "3.0", EntryPoint = "glGenRenderbuffers")] + public static + void GenRenderbuffers(Int32 n, [OutAttribute] Int32[] renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* renderbuffers_ptr = renderbuffers) + { + Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v3.0 and ARB_framebuffer_object] + /// Generate renderbuffer object names + /// + /// + /// + /// Specifies the number of renderbuffer object names to generate. + /// + /// + /// + /// + /// Specifies an array in which the generated renderbuffer object names are stored. + /// + /// + [AutoGenerated(Category = "ARB_framebuffer_object", Version = "3.0", EntryPoint = "glGenRenderbuffers")] + public static + void GenRenderbuffers(Int32 n, [OutAttribute] out Int32 renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* renderbuffers_ptr = &renderbuffers) + { + Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); + renderbuffers = *renderbuffers_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v3.0 and ARB_framebuffer_object] + /// Generate renderbuffer object names + /// + /// + /// + /// Specifies the number of renderbuffer object names to generate. + /// + /// + /// + /// + /// Specifies an array in which the generated renderbuffer object names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_framebuffer_object", Version = "3.0", EntryPoint = "glGenRenderbuffers")] + public static + unsafe void GenRenderbuffers(Int32 n, [OutAttribute] Int32* renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers); + #if DEBUG + } + #endif + } + + + /// [requires: v3.0 and ARB_framebuffer_object] + /// Generate renderbuffer object names + /// + /// + /// + /// Specifies the number of renderbuffer object names to generate. + /// + /// + /// + /// + /// Specifies an array in which the generated renderbuffer object names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_framebuffer_object", Version = "3.0", EntryPoint = "glGenRenderbuffers")] + public static + void GenRenderbuffers(Int32 n, [OutAttribute] UInt32[] renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* renderbuffers_ptr = renderbuffers) + { + Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v3.0 and ARB_framebuffer_object] + /// Generate renderbuffer object names + /// + /// + /// + /// Specifies the number of renderbuffer object names to generate. + /// + /// + /// + /// + /// Specifies an array in which the generated renderbuffer object names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_framebuffer_object", Version = "3.0", EntryPoint = "glGenRenderbuffers")] + public static + void GenRenderbuffers(Int32 n, [OutAttribute] out UInt32 renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* renderbuffers_ptr = &renderbuffers) + { + Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); + renderbuffers = *renderbuffers_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v3.0 and ARB_framebuffer_object] + /// Generate renderbuffer object names + /// + /// + /// + /// Specifies the number of renderbuffer object names to generate. + /// + /// + /// + /// + /// Specifies an array in which the generated renderbuffer object names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_framebuffer_object", Version = "3.0", EntryPoint = "glGenRenderbuffers")] + public static + unsafe void GenRenderbuffers(Int32 n, [OutAttribute] UInt32* renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_sampler_objects] + /// Generate sampler object names + /// + /// + /// + /// Specifies the number of sampler object names to generate. + /// + /// + /// + /// + /// Specifies an array in which the generated sampler object names are stored. + /// + /// + [AutoGenerated(Category = "ARB_sampler_objects", Version = "1.2", EntryPoint = "glGenSamplers")] + public static + void GenSamplers(Int32 count, [OutAttribute] Int32[] samplers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* samplers_ptr = samplers) + { + Delegates.glGenSamplers((Int32)count, (UInt32*)samplers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_sampler_objects] + /// Generate sampler object names + /// + /// + /// + /// Specifies the number of sampler object names to generate. + /// + /// + /// + /// + /// Specifies an array in which the generated sampler object names are stored. + /// + /// + [AutoGenerated(Category = "ARB_sampler_objects", Version = "1.2", EntryPoint = "glGenSamplers")] + public static + void GenSamplers(Int32 count, [OutAttribute] out Int32 samplers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* samplers_ptr = &samplers) + { + Delegates.glGenSamplers((Int32)count, (UInt32*)samplers_ptr); + samplers = *samplers_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_sampler_objects] + /// Generate sampler object names + /// + /// + /// + /// Specifies the number of sampler object names to generate. + /// + /// + /// + /// + /// Specifies an array in which the generated sampler object names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_sampler_objects", Version = "1.2", EntryPoint = "glGenSamplers")] + public static + unsafe void GenSamplers(Int32 count, [OutAttribute] Int32* samplers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenSamplers((Int32)count, (UInt32*)samplers); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_sampler_objects] + /// Generate sampler object names + /// + /// + /// + /// Specifies the number of sampler object names to generate. + /// + /// + /// + /// + /// Specifies an array in which the generated sampler object names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_sampler_objects", Version = "1.2", EntryPoint = "glGenSamplers")] + public static + void GenSamplers(Int32 count, [OutAttribute] UInt32[] samplers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* samplers_ptr = samplers) + { + Delegates.glGenSamplers((Int32)count, (UInt32*)samplers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_sampler_objects] + /// Generate sampler object names + /// + /// + /// + /// Specifies the number of sampler object names to generate. + /// + /// + /// + /// + /// Specifies an array in which the generated sampler object names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_sampler_objects", Version = "1.2", EntryPoint = "glGenSamplers")] + public static + void GenSamplers(Int32 count, [OutAttribute] out UInt32 samplers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* samplers_ptr = &samplers) + { + Delegates.glGenSamplers((Int32)count, (UInt32*)samplers_ptr); + samplers = *samplers_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_sampler_objects] + /// Generate sampler object names + /// + /// + /// + /// Specifies the number of sampler object names to generate. + /// + /// + /// + /// + /// Specifies an array in which the generated sampler object names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_sampler_objects", Version = "1.2", EntryPoint = "glGenSamplers")] + public static + unsafe void GenSamplers(Int32 count, [OutAttribute] UInt32* samplers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenSamplers((Int32)count, (UInt32*)samplers); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1] + /// Generate texture names + /// + /// + /// + /// Specifies the number of texture names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated texture names are stored. + /// + /// + [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glGenTextures")] + public static + void GenTextures(Int32 n, [OutAttribute] Int32[] textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* textures_ptr = textures) + { + Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1] + /// Generate texture names + /// + /// + /// + /// Specifies the number of texture names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated texture names are stored. + /// + /// + [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glGenTextures")] + public static + void GenTextures(Int32 n, [OutAttribute] out Int32 textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* textures_ptr = &textures) + { + Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr); + textures = *textures_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1] + /// Generate texture names + /// + /// + /// + /// Specifies the number of texture names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated texture names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glGenTextures")] + public static + unsafe void GenTextures(Int32 n, [OutAttribute] Int32* textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenTextures((Int32)n, (UInt32*)textures); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1] + /// Generate texture names + /// + /// + /// + /// Specifies the number of texture names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated texture names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glGenTextures")] + public static + void GenTextures(Int32 n, [OutAttribute] UInt32[] textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* textures_ptr = textures) + { + Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1] + /// Generate texture names + /// + /// + /// + /// Specifies the number of texture names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated texture names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glGenTextures")] + public static + void GenTextures(Int32 n, [OutAttribute] out UInt32 textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* textures_ptr = &textures) + { + Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr); + textures = *textures_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1] + /// Generate texture names + /// + /// + /// + /// Specifies the number of texture names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated texture names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glGenTextures")] + public static + unsafe void GenTextures(Int32 n, [OutAttribute] UInt32* textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenTextures((Int32)n, (UInt32*)textures); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_transform_feedback2] + /// Reserve transform feedback object names + /// + /// + /// + /// Specifies the number of transform feedback object names to reserve. + /// + /// + /// + /// + /// Specifies an array of into which the reserved names will be written. + /// + /// + [AutoGenerated(Category = "ARB_transform_feedback2", Version = "1.2", EntryPoint = "glGenTransformFeedbacks")] + public static + void GenTransformFeedback(Int32 n, [OutAttribute] Int32[] ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* ids_ptr = ids) + { + Delegates.glGenTransformFeedbacks((Int32)n, (UInt32*)ids_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_transform_feedback2] + /// Reserve transform feedback object names + /// + /// + /// + /// Specifies the number of transform feedback object names to reserve. + /// + /// + /// + /// + /// Specifies an array of into which the reserved names will be written. + /// + /// + [AutoGenerated(Category = "ARB_transform_feedback2", Version = "1.2", EntryPoint = "glGenTransformFeedbacks")] + public static + void GenTransformFeedback(Int32 n, [OutAttribute] out Int32 ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* ids_ptr = &ids) + { + Delegates.glGenTransformFeedbacks((Int32)n, (UInt32*)ids_ptr); + ids = *ids_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_transform_feedback2] + /// Reserve transform feedback object names + /// + /// + /// + /// Specifies the number of transform feedback object names to reserve. + /// + /// + /// + /// + /// Specifies an array of into which the reserved names will be written. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_transform_feedback2", Version = "1.2", EntryPoint = "glGenTransformFeedbacks")] + public static + unsafe void GenTransformFeedback(Int32 n, [OutAttribute] Int32* ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenTransformFeedbacks((Int32)n, (UInt32*)ids); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_transform_feedback2] + /// Reserve transform feedback object names + /// + /// + /// + /// Specifies the number of transform feedback object names to reserve. + /// + /// + /// + /// + /// Specifies an array of into which the reserved names will be written. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_transform_feedback2", Version = "1.2", EntryPoint = "glGenTransformFeedbacks")] + public static + void GenTransformFeedback(Int32 n, [OutAttribute] UInt32[] ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* ids_ptr = ids) + { + Delegates.glGenTransformFeedbacks((Int32)n, (UInt32*)ids_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_transform_feedback2] + /// Reserve transform feedback object names + /// + /// + /// + /// Specifies the number of transform feedback object names to reserve. + /// + /// + /// + /// + /// Specifies an array of into which the reserved names will be written. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_transform_feedback2", Version = "1.2", EntryPoint = "glGenTransformFeedbacks")] + public static + void GenTransformFeedback(Int32 n, [OutAttribute] out UInt32 ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* ids_ptr = &ids) + { + Delegates.glGenTransformFeedbacks((Int32)n, (UInt32*)ids_ptr); + ids = *ids_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_transform_feedback2] + /// Reserve transform feedback object names + /// + /// + /// + /// Specifies the number of transform feedback object names to reserve. + /// + /// + /// + /// + /// Specifies an array of into which the reserved names will be written. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_transform_feedback2", Version = "1.2", EntryPoint = "glGenTransformFeedbacks")] + public static + unsafe void GenTransformFeedback(Int32 n, [OutAttribute] UInt32* ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenTransformFeedbacks((Int32)n, (UInt32*)ids); + #if DEBUG + } + #endif + } + + + /// [requires: v3.0 and ARB_vertex_array_object] + /// Generate vertex array object names + /// + /// + /// + /// Specifies the number of vertex array object names to generate. + /// + /// + /// + /// + /// Specifies an array in which the generated vertex array object names are stored. + /// + /// + [AutoGenerated(Category = "ARB_vertex_array_object", Version = "3.0", EntryPoint = "glGenVertexArrays")] + public static + void GenVertexArrays(Int32 n, [OutAttribute] Int32[] arrays) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* arrays_ptr = arrays) + { + Delegates.glGenVertexArrays((Int32)n, (UInt32*)arrays_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v3.0 and ARB_vertex_array_object] + /// Generate vertex array object names + /// + /// + /// + /// Specifies the number of vertex array object names to generate. + /// + /// + /// + /// + /// Specifies an array in which the generated vertex array object names are stored. + /// + /// + [AutoGenerated(Category = "ARB_vertex_array_object", Version = "3.0", EntryPoint = "glGenVertexArrays")] + public static + void GenVertexArrays(Int32 n, [OutAttribute] out Int32 arrays) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* arrays_ptr = &arrays) + { + Delegates.glGenVertexArrays((Int32)n, (UInt32*)arrays_ptr); + arrays = *arrays_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v3.0 and ARB_vertex_array_object] + /// Generate vertex array object names + /// + /// + /// + /// Specifies the number of vertex array object names to generate. + /// + /// + /// + /// + /// Specifies an array in which the generated vertex array object names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_array_object", Version = "3.0", EntryPoint = "glGenVertexArrays")] + public static + unsafe void GenVertexArrays(Int32 n, [OutAttribute] Int32* arrays) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenVertexArrays((Int32)n, (UInt32*)arrays); + #if DEBUG + } + #endif + } + + + /// [requires: v3.0 and ARB_vertex_array_object] + /// Generate vertex array object names + /// + /// + /// + /// Specifies the number of vertex array object names to generate. + /// + /// + /// + /// + /// Specifies an array in which the generated vertex array object names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_array_object", Version = "3.0", EntryPoint = "glGenVertexArrays")] + public static + void GenVertexArrays(Int32 n, [OutAttribute] UInt32[] arrays) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* arrays_ptr = arrays) + { + Delegates.glGenVertexArrays((Int32)n, (UInt32*)arrays_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v3.0 and ARB_vertex_array_object] + /// Generate vertex array object names + /// + /// + /// + /// Specifies the number of vertex array object names to generate. + /// + /// + /// + /// + /// Specifies an array in which the generated vertex array object names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_array_object", Version = "3.0", EntryPoint = "glGenVertexArrays")] + public static + void GenVertexArrays(Int32 n, [OutAttribute] out UInt32 arrays) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* arrays_ptr = &arrays) + { + Delegates.glGenVertexArrays((Int32)n, (UInt32*)arrays_ptr); + arrays = *arrays_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v3.0 and ARB_vertex_array_object] + /// Generate vertex array object names + /// + /// + /// + /// Specifies the number of vertex array object names to generate. + /// + /// + /// + /// + /// Specifies an array in which the generated vertex array object names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_array_object", Version = "3.0", EntryPoint = "glGenVertexArrays")] + public static + unsafe void GenVertexArrays(Int32 n, [OutAttribute] UInt32* arrays) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenVertexArrays((Int32)n, (UInt32*)arrays); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveAttrib")] + public static + void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.OpenGL.ActiveAttribType type, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + fixed (Int32* size_ptr = &size) + fixed (OpenTK.Graphics.OpenGL.ActiveAttribType* type_ptr = &type) + { + Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.OpenGL.ActiveAttribType*)type_ptr, (StringBuilder)name); + length = *length_ptr; + size = *size_ptr; + type = *type_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveAttrib")] + public static + unsafe void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.ActiveAttribType* type, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.OpenGL.ActiveAttribType*)type, (StringBuilder)name); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveAttrib")] + public static + void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.OpenGL.ActiveAttribType type, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + fixed (Int32* size_ptr = &size) + fixed (OpenTK.Graphics.OpenGL.ActiveAttribType* type_ptr = &type) + { + Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.OpenGL.ActiveAttribType*)type_ptr, (StringBuilder)name); + length = *length_ptr; + size = *size_ptr; + type = *type_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveAttrib")] + public static + unsafe void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.ActiveAttribType* type, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.OpenGL.ActiveAttribType*)type, (StringBuilder)name); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_shader_subroutine] + /// Query the name of an active shader subroutine + /// + /// + /// + /// Specifies the name of the program containing the subroutine. + /// + /// + /// + /// + /// Specifies the shader stage from which to query the subroutine name. + /// + /// + /// + /// + /// Specifies the index of the shader subroutine uniform. + /// + /// + /// + /// + /// Specifies the size of the buffer whose address is given in name. + /// + /// + /// + /// + /// Specifies the address of a variable which is to receive the length of the shader subroutine uniform name. + /// + /// + /// + /// + /// Specifies the address of an array into which the name of the shader subroutine uniform will be written. + /// + /// + [AutoGenerated(Category = "ARB_shader_subroutine", Version = "1.2", EntryPoint = "glGetActiveSubroutineName")] + public static + void GetActiveSubroutineName(Int32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, Int32 index, Int32 bufsize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + { + Delegates.glGetActiveSubroutineName((UInt32)program, (OpenTK.Graphics.OpenGL.ShaderType)shadertype, (UInt32)index, (Int32)bufsize, (Int32*)length_ptr, (StringBuilder)name); + length = *length_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_shader_subroutine] + /// Query the name of an active shader subroutine + /// + /// + /// + /// Specifies the name of the program containing the subroutine. + /// + /// + /// + /// + /// Specifies the shader stage from which to query the subroutine name. + /// + /// + /// + /// + /// Specifies the index of the shader subroutine uniform. + /// + /// + /// + /// + /// Specifies the size of the buffer whose address is given in name. + /// + /// + /// + /// + /// Specifies the address of a variable which is to receive the length of the shader subroutine uniform name. + /// + /// + /// + /// + /// Specifies the address of an array into which the name of the shader subroutine uniform will be written. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_shader_subroutine", Version = "1.2", EntryPoint = "glGetActiveSubroutineName")] + public static + unsafe void GetActiveSubroutineName(Int32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, Int32 index, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetActiveSubroutineName((UInt32)program, (OpenTK.Graphics.OpenGL.ShaderType)shadertype, (UInt32)index, (Int32)bufsize, (Int32*)length, (StringBuilder)name); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_shader_subroutine] + /// Query the name of an active shader subroutine + /// + /// + /// + /// Specifies the name of the program containing the subroutine. + /// + /// + /// + /// + /// Specifies the shader stage from which to query the subroutine name. + /// + /// + /// + /// + /// Specifies the index of the shader subroutine uniform. + /// + /// + /// + /// + /// Specifies the size of the buffer whose address is given in name. + /// + /// + /// + /// + /// Specifies the address of a variable which is to receive the length of the shader subroutine uniform name. + /// + /// + /// + /// + /// Specifies the address of an array into which the name of the shader subroutine uniform will be written. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_shader_subroutine", Version = "1.2", EntryPoint = "glGetActiveSubroutineName")] + public static + void GetActiveSubroutineName(UInt32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, UInt32 index, Int32 bufsize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + { + Delegates.glGetActiveSubroutineName((UInt32)program, (OpenTK.Graphics.OpenGL.ShaderType)shadertype, (UInt32)index, (Int32)bufsize, (Int32*)length_ptr, (StringBuilder)name); + length = *length_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_shader_subroutine] + /// Query the name of an active shader subroutine + /// + /// + /// + /// Specifies the name of the program containing the subroutine. + /// + /// + /// + /// + /// Specifies the shader stage from which to query the subroutine name. + /// + /// + /// + /// + /// Specifies the index of the shader subroutine uniform. + /// + /// + /// + /// + /// Specifies the size of the buffer whose address is given in name. + /// + /// + /// + /// + /// Specifies the address of a variable which is to receive the length of the shader subroutine uniform name. + /// + /// + /// + /// + /// Specifies the address of an array into which the name of the shader subroutine uniform will be written. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_shader_subroutine", Version = "1.2", EntryPoint = "glGetActiveSubroutineName")] + public static + unsafe void GetActiveSubroutineName(UInt32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, UInt32 index, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetActiveSubroutineName((UInt32)program, (OpenTK.Graphics.OpenGL.ShaderType)shadertype, (UInt32)index, (Int32)bufsize, (Int32*)length, (StringBuilder)name); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_shader_subroutine] + /// Query a property of an active shader subroutine uniform + /// + /// + /// + /// Specifies the name of the program containing the subroutine. + /// + /// + /// + /// + /// Specifies the shader stage from which to query for the subroutine parameter. shadertype must be one of GL_VERTEX_SHADER, GL_TESS_CONTROL_SHADER, GL_TESS_EVALUATION_SHADER, GL_GEOMETRY_SHADER or GL_FRAGMENT_SHADER. + /// + /// + /// + /// + /// Specifies the index of the shader subroutine uniform. + /// + /// + /// + /// + /// Specifies the parameter of the shader subroutine uniform to query. pname must be GL_NUM_COMPATIBLE_SUBROUTINES, GL_COMPATIBLE_SUBROUTINES, GL_UNIFORM_SIZE or GL_UNIFORM_NAME_LENGTH. + /// + /// + /// + /// + /// Specifies the address of a into which the queried value or values will be placed. + /// + /// + [AutoGenerated(Category = "ARB_shader_subroutine", Version = "1.2", EntryPoint = "glGetActiveSubroutineUniformiv")] + public static + void GetActiveSubroutineUniform(Int32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, Int32 index, OpenTK.Graphics.OpenGL.ActiveSubroutineUniformParameter pname, [OutAttribute] Int32[] values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* values_ptr = values) + { + Delegates.glGetActiveSubroutineUniformiv((UInt32)program, (OpenTK.Graphics.OpenGL.ShaderType)shadertype, (UInt32)index, (OpenTK.Graphics.OpenGL.ActiveSubroutineUniformParameter)pname, (Int32*)values_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_shader_subroutine] + /// Query a property of an active shader subroutine uniform + /// + /// + /// + /// Specifies the name of the program containing the subroutine. + /// + /// + /// + /// + /// Specifies the shader stage from which to query for the subroutine parameter. shadertype must be one of GL_VERTEX_SHADER, GL_TESS_CONTROL_SHADER, GL_TESS_EVALUATION_SHADER, GL_GEOMETRY_SHADER or GL_FRAGMENT_SHADER. + /// + /// + /// + /// + /// Specifies the index of the shader subroutine uniform. + /// + /// + /// + /// + /// Specifies the parameter of the shader subroutine uniform to query. pname must be GL_NUM_COMPATIBLE_SUBROUTINES, GL_COMPATIBLE_SUBROUTINES, GL_UNIFORM_SIZE or GL_UNIFORM_NAME_LENGTH. + /// + /// + /// + /// + /// Specifies the address of a into which the queried value or values will be placed. + /// + /// + [AutoGenerated(Category = "ARB_shader_subroutine", Version = "1.2", EntryPoint = "glGetActiveSubroutineUniformiv")] + public static + void GetActiveSubroutineUniform(Int32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, Int32 index, OpenTK.Graphics.OpenGL.ActiveSubroutineUniformParameter pname, [OutAttribute] out Int32 values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* values_ptr = &values) + { + Delegates.glGetActiveSubroutineUniformiv((UInt32)program, (OpenTK.Graphics.OpenGL.ShaderType)shadertype, (UInt32)index, (OpenTK.Graphics.OpenGL.ActiveSubroutineUniformParameter)pname, (Int32*)values_ptr); + values = *values_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_shader_subroutine] + /// Query a property of an active shader subroutine uniform + /// + /// + /// + /// Specifies the name of the program containing the subroutine. + /// + /// + /// + /// + /// Specifies the shader stage from which to query for the subroutine parameter. shadertype must be one of GL_VERTEX_SHADER, GL_TESS_CONTROL_SHADER, GL_TESS_EVALUATION_SHADER, GL_GEOMETRY_SHADER or GL_FRAGMENT_SHADER. + /// + /// + /// + /// + /// Specifies the index of the shader subroutine uniform. + /// + /// + /// + /// + /// Specifies the parameter of the shader subroutine uniform to query. pname must be GL_NUM_COMPATIBLE_SUBROUTINES, GL_COMPATIBLE_SUBROUTINES, GL_UNIFORM_SIZE or GL_UNIFORM_NAME_LENGTH. + /// + /// + /// + /// + /// Specifies the address of a into which the queried value or values will be placed. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_shader_subroutine", Version = "1.2", EntryPoint = "glGetActiveSubroutineUniformiv")] + public static + unsafe void GetActiveSubroutineUniform(Int32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, Int32 index, OpenTK.Graphics.OpenGL.ActiveSubroutineUniformParameter pname, [OutAttribute] Int32* values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetActiveSubroutineUniformiv((UInt32)program, (OpenTK.Graphics.OpenGL.ShaderType)shadertype, (UInt32)index, (OpenTK.Graphics.OpenGL.ActiveSubroutineUniformParameter)pname, (Int32*)values); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_shader_subroutine] + /// Query a property of an active shader subroutine uniform + /// + /// + /// + /// Specifies the name of the program containing the subroutine. + /// + /// + /// + /// + /// Specifies the shader stage from which to query for the subroutine parameter. shadertype must be one of GL_VERTEX_SHADER, GL_TESS_CONTROL_SHADER, GL_TESS_EVALUATION_SHADER, GL_GEOMETRY_SHADER or GL_FRAGMENT_SHADER. + /// + /// + /// + /// + /// Specifies the index of the shader subroutine uniform. + /// + /// + /// + /// + /// Specifies the parameter of the shader subroutine uniform to query. pname must be GL_NUM_COMPATIBLE_SUBROUTINES, GL_COMPATIBLE_SUBROUTINES, GL_UNIFORM_SIZE or GL_UNIFORM_NAME_LENGTH. + /// + /// + /// + /// + /// Specifies the address of a into which the queried value or values will be placed. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_shader_subroutine", Version = "1.2", EntryPoint = "glGetActiveSubroutineUniformiv")] + public static + void GetActiveSubroutineUniform(UInt32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, UInt32 index, OpenTK.Graphics.OpenGL.ActiveSubroutineUniformParameter pname, [OutAttribute] Int32[] values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* values_ptr = values) + { + Delegates.glGetActiveSubroutineUniformiv((UInt32)program, (OpenTK.Graphics.OpenGL.ShaderType)shadertype, (UInt32)index, (OpenTK.Graphics.OpenGL.ActiveSubroutineUniformParameter)pname, (Int32*)values_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_shader_subroutine] + /// Query a property of an active shader subroutine uniform + /// + /// + /// + /// Specifies the name of the program containing the subroutine. + /// + /// + /// + /// + /// Specifies the shader stage from which to query for the subroutine parameter. shadertype must be one of GL_VERTEX_SHADER, GL_TESS_CONTROL_SHADER, GL_TESS_EVALUATION_SHADER, GL_GEOMETRY_SHADER or GL_FRAGMENT_SHADER. + /// + /// + /// + /// + /// Specifies the index of the shader subroutine uniform. + /// + /// + /// + /// + /// Specifies the parameter of the shader subroutine uniform to query. pname must be GL_NUM_COMPATIBLE_SUBROUTINES, GL_COMPATIBLE_SUBROUTINES, GL_UNIFORM_SIZE or GL_UNIFORM_NAME_LENGTH. + /// + /// + /// + /// + /// Specifies the address of a into which the queried value or values will be placed. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_shader_subroutine", Version = "1.2", EntryPoint = "glGetActiveSubroutineUniformiv")] + public static + void GetActiveSubroutineUniform(UInt32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, UInt32 index, OpenTK.Graphics.OpenGL.ActiveSubroutineUniformParameter pname, [OutAttribute] out Int32 values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* values_ptr = &values) + { + Delegates.glGetActiveSubroutineUniformiv((UInt32)program, (OpenTK.Graphics.OpenGL.ShaderType)shadertype, (UInt32)index, (OpenTK.Graphics.OpenGL.ActiveSubroutineUniformParameter)pname, (Int32*)values_ptr); + values = *values_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_shader_subroutine] + /// Query a property of an active shader subroutine uniform + /// + /// + /// + /// Specifies the name of the program containing the subroutine. + /// + /// + /// + /// + /// Specifies the shader stage from which to query for the subroutine parameter. shadertype must be one of GL_VERTEX_SHADER, GL_TESS_CONTROL_SHADER, GL_TESS_EVALUATION_SHADER, GL_GEOMETRY_SHADER or GL_FRAGMENT_SHADER. + /// + /// + /// + /// + /// Specifies the index of the shader subroutine uniform. + /// + /// + /// + /// + /// Specifies the parameter of the shader subroutine uniform to query. pname must be GL_NUM_COMPATIBLE_SUBROUTINES, GL_COMPATIBLE_SUBROUTINES, GL_UNIFORM_SIZE or GL_UNIFORM_NAME_LENGTH. + /// + /// + /// + /// + /// Specifies the address of a into which the queried value or values will be placed. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_shader_subroutine", Version = "1.2", EntryPoint = "glGetActiveSubroutineUniformiv")] + public static + unsafe void GetActiveSubroutineUniform(UInt32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, UInt32 index, OpenTK.Graphics.OpenGL.ActiveSubroutineUniformParameter pname, [OutAttribute] Int32* values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetActiveSubroutineUniformiv((UInt32)program, (OpenTK.Graphics.OpenGL.ShaderType)shadertype, (UInt32)index, (OpenTK.Graphics.OpenGL.ActiveSubroutineUniformParameter)pname, (Int32*)values); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_shader_subroutine] + /// Query the name of an active shader subroutine uniform + /// + /// + /// + /// Specifies the name of the program containing the subroutine. + /// + /// + /// + /// + /// Specifies the shader stage from which to query for the subroutine parameter. shadertype must be one of GL_VERTEX_SHADER, GL_TESS_CONTROL_SHADER, GL_TESS_EVALUATION_SHADER, GL_GEOMETRY_SHADER or GL_FRAGMENT_SHADER. + /// + /// + /// + /// + /// Specifies the index of the shader subroutine uniform. + /// + /// + /// + /// + /// Specifies the size of the buffer whose address is given in name. + /// + /// + /// + /// + /// Specifies the address of a variable into which is written the number of characters copied into name. + /// + /// + /// + /// + /// Specifies the address of a buffer that will receive the name of the specified shader subroutine uniform. + /// + /// + [AutoGenerated(Category = "ARB_shader_subroutine", Version = "1.2", EntryPoint = "glGetActiveSubroutineUniformName")] + public static + void GetActiveSubroutineUniformName(Int32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, Int32 index, Int32 bufsize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + { + Delegates.glGetActiveSubroutineUniformName((UInt32)program, (OpenTK.Graphics.OpenGL.ShaderType)shadertype, (UInt32)index, (Int32)bufsize, (Int32*)length_ptr, (StringBuilder)name); + length = *length_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_shader_subroutine] + /// Query the name of an active shader subroutine uniform + /// + /// + /// + /// Specifies the name of the program containing the subroutine. + /// + /// + /// + /// + /// Specifies the shader stage from which to query for the subroutine parameter. shadertype must be one of GL_VERTEX_SHADER, GL_TESS_CONTROL_SHADER, GL_TESS_EVALUATION_SHADER, GL_GEOMETRY_SHADER or GL_FRAGMENT_SHADER. + /// + /// + /// + /// + /// Specifies the index of the shader subroutine uniform. + /// + /// + /// + /// + /// Specifies the size of the buffer whose address is given in name. + /// + /// + /// + /// + /// Specifies the address of a variable into which is written the number of characters copied into name. + /// + /// + /// + /// + /// Specifies the address of a buffer that will receive the name of the specified shader subroutine uniform. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_shader_subroutine", Version = "1.2", EntryPoint = "glGetActiveSubroutineUniformName")] + public static + unsafe void GetActiveSubroutineUniformName(Int32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, Int32 index, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetActiveSubroutineUniformName((UInt32)program, (OpenTK.Graphics.OpenGL.ShaderType)shadertype, (UInt32)index, (Int32)bufsize, (Int32*)length, (StringBuilder)name); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_shader_subroutine] + /// Query the name of an active shader subroutine uniform + /// + /// + /// + /// Specifies the name of the program containing the subroutine. + /// + /// + /// + /// + /// Specifies the shader stage from which to query for the subroutine parameter. shadertype must be one of GL_VERTEX_SHADER, GL_TESS_CONTROL_SHADER, GL_TESS_EVALUATION_SHADER, GL_GEOMETRY_SHADER or GL_FRAGMENT_SHADER. + /// + /// + /// + /// + /// Specifies the index of the shader subroutine uniform. + /// + /// + /// + /// + /// Specifies the size of the buffer whose address is given in name. + /// + /// + /// + /// + /// Specifies the address of a variable into which is written the number of characters copied into name. + /// + /// + /// + /// + /// Specifies the address of a buffer that will receive the name of the specified shader subroutine uniform. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_shader_subroutine", Version = "1.2", EntryPoint = "glGetActiveSubroutineUniformName")] + public static + void GetActiveSubroutineUniformName(UInt32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, UInt32 index, Int32 bufsize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + { + Delegates.glGetActiveSubroutineUniformName((UInt32)program, (OpenTK.Graphics.OpenGL.ShaderType)shadertype, (UInt32)index, (Int32)bufsize, (Int32*)length_ptr, (StringBuilder)name); + length = *length_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_shader_subroutine] + /// Query the name of an active shader subroutine uniform + /// + /// + /// + /// Specifies the name of the program containing the subroutine. + /// + /// + /// + /// + /// Specifies the shader stage from which to query for the subroutine parameter. shadertype must be one of GL_VERTEX_SHADER, GL_TESS_CONTROL_SHADER, GL_TESS_EVALUATION_SHADER, GL_GEOMETRY_SHADER or GL_FRAGMENT_SHADER. + /// + /// + /// + /// + /// Specifies the index of the shader subroutine uniform. + /// + /// + /// + /// + /// Specifies the size of the buffer whose address is given in name. + /// + /// + /// + /// + /// Specifies the address of a variable into which is written the number of characters copied into name. + /// + /// + /// + /// + /// Specifies the address of a buffer that will receive the name of the specified shader subroutine uniform. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_shader_subroutine", Version = "1.2", EntryPoint = "glGetActiveSubroutineUniformName")] + public static + unsafe void GetActiveSubroutineUniformName(UInt32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, UInt32 index, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetActiveSubroutineUniformName((UInt32)program, (OpenTK.Graphics.OpenGL.ShaderType)shadertype, (UInt32)index, (Int32)bufsize, (Int32*)length, (StringBuilder)name); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveUniform")] + public static + void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.OpenGL.ActiveUniformType type, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + fixed (Int32* size_ptr = &size) + fixed (OpenTK.Graphics.OpenGL.ActiveUniformType* type_ptr = &type) + { + Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.OpenGL.ActiveUniformType*)type_ptr, (StringBuilder)name); + length = *length_ptr; + size = *size_ptr; + type = *type_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveUniform")] + public static + unsafe void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.ActiveUniformType* type, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.OpenGL.ActiveUniformType*)type, (StringBuilder)name); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveUniform")] + public static + void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.OpenGL.ActiveUniformType type, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + fixed (Int32* size_ptr = &size) + fixed (OpenTK.Graphics.OpenGL.ActiveUniformType* type_ptr = &type) + { + Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.OpenGL.ActiveUniformType*)type_ptr, (StringBuilder)name); + length = *length_ptr; + size = *size_ptr; + type = *type_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveUniform")] + public static + unsafe void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.ActiveUniformType* type, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.OpenGL.ActiveUniformType*)type, (StringBuilder)name); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and ARB_uniform_buffer_object] + /// Query information about an active uniform block + /// + /// + /// + /// Specifies the name of a program containing the uniform block. + /// + /// + /// + /// + /// Specifies the index of the uniform block within program. + /// + /// + /// + /// + /// Specifies the name of the parameter to query. + /// + /// + /// + /// + /// Specifies the address of a variable to receive the result of the query. + /// + /// + [AutoGenerated(Category = "ARB_uniform_buffer_object", Version = "2.0", EntryPoint = "glGetActiveUniformBlockiv")] + public static + void GetActiveUniformBlock(Int32 program, Int32 uniformBlockIndex, OpenTK.Graphics.OpenGL.ActiveUniformBlockParameter pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetActiveUniformBlockiv((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.OpenGL.ActiveUniformBlockParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and ARB_uniform_buffer_object] + /// Query information about an active uniform block + /// + /// + /// + /// Specifies the name of a program containing the uniform block. + /// + /// + /// + /// + /// Specifies the index of the uniform block within program. + /// + /// + /// + /// + /// Specifies the name of the parameter to query. + /// + /// + /// + /// + /// Specifies the address of a variable to receive the result of the query. + /// + /// + [AutoGenerated(Category = "ARB_uniform_buffer_object", Version = "2.0", EntryPoint = "glGetActiveUniformBlockiv")] + public static + void GetActiveUniformBlock(Int32 program, Int32 uniformBlockIndex, OpenTK.Graphics.OpenGL.ActiveUniformBlockParameter pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetActiveUniformBlockiv((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.OpenGL.ActiveUniformBlockParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and ARB_uniform_buffer_object] + /// Query information about an active uniform block + /// + /// + /// + /// Specifies the name of a program containing the uniform block. + /// + /// + /// + /// + /// Specifies the index of the uniform block within program. + /// + /// + /// + /// + /// Specifies the name of the parameter to query. + /// + /// + /// + /// + /// Specifies the address of a variable to receive the result of the query. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_uniform_buffer_object", Version = "2.0", EntryPoint = "glGetActiveUniformBlockiv")] + public static + unsafe void GetActiveUniformBlock(Int32 program, Int32 uniformBlockIndex, OpenTK.Graphics.OpenGL.ActiveUniformBlockParameter pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetActiveUniformBlockiv((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.OpenGL.ActiveUniformBlockParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and ARB_uniform_buffer_object] + /// Query information about an active uniform block + /// + /// + /// + /// Specifies the name of a program containing the uniform block. + /// + /// + /// + /// + /// Specifies the index of the uniform block within program. + /// + /// + /// + /// + /// Specifies the name of the parameter to query. + /// + /// + /// + /// + /// Specifies the address of a variable to receive the result of the query. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_uniform_buffer_object", Version = "2.0", EntryPoint = "glGetActiveUniformBlockiv")] + public static + void GetActiveUniformBlock(UInt32 program, UInt32 uniformBlockIndex, OpenTK.Graphics.OpenGL.ActiveUniformBlockParameter pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetActiveUniformBlockiv((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.OpenGL.ActiveUniformBlockParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and ARB_uniform_buffer_object] + /// Query information about an active uniform block + /// + /// + /// + /// Specifies the name of a program containing the uniform block. + /// + /// + /// + /// + /// Specifies the index of the uniform block within program. + /// + /// + /// + /// + /// Specifies the name of the parameter to query. + /// + /// + /// + /// + /// Specifies the address of a variable to receive the result of the query. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_uniform_buffer_object", Version = "2.0", EntryPoint = "glGetActiveUniformBlockiv")] + public static + void GetActiveUniformBlock(UInt32 program, UInt32 uniformBlockIndex, OpenTK.Graphics.OpenGL.ActiveUniformBlockParameter pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetActiveUniformBlockiv((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.OpenGL.ActiveUniformBlockParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and ARB_uniform_buffer_object] + /// Query information about an active uniform block + /// + /// + /// + /// Specifies the name of a program containing the uniform block. + /// + /// + /// + /// + /// Specifies the index of the uniform block within program. + /// + /// + /// + /// + /// Specifies the name of the parameter to query. + /// + /// + /// + /// + /// Specifies the address of a variable to receive the result of the query. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_uniform_buffer_object", Version = "2.0", EntryPoint = "glGetActiveUniformBlockiv")] + public static + unsafe void GetActiveUniformBlock(UInt32 program, UInt32 uniformBlockIndex, OpenTK.Graphics.OpenGL.ActiveUniformBlockParameter pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetActiveUniformBlockiv((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.OpenGL.ActiveUniformBlockParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and ARB_uniform_buffer_object] + /// Retrieve the name of an active uniform block + /// + /// + /// + /// Specifies the name of a program containing the uniform block. + /// + /// + /// + /// + /// Specifies the index of the uniform block within program. + /// + /// + /// + /// + /// Specifies the size of the buffer addressed by uniformBlockName. + /// + /// + /// + /// + /// Specifies the address of a variable to receive the number of characters that were written to uniformBlockName. + /// + /// + /// + /// + /// Specifies the address an array of characters to receive the name of the uniform block at uniformBlockIndex. + /// + /// + [AutoGenerated(Category = "ARB_uniform_buffer_object", Version = "2.0", EntryPoint = "glGetActiveUniformBlockName")] + public static + void GetActiveUniformBlockName(Int32 program, Int32 uniformBlockIndex, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder uniformBlockName) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + { + Delegates.glGetActiveUniformBlockName((UInt32)program, (UInt32)uniformBlockIndex, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)uniformBlockName); + length = *length_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and ARB_uniform_buffer_object] + /// Retrieve the name of an active uniform block + /// + /// + /// + /// Specifies the name of a program containing the uniform block. + /// + /// + /// + /// + /// Specifies the index of the uniform block within program. + /// + /// + /// + /// + /// Specifies the size of the buffer addressed by uniformBlockName. + /// + /// + /// + /// + /// Specifies the address of a variable to receive the number of characters that were written to uniformBlockName. + /// + /// + /// + /// + /// Specifies the address an array of characters to receive the name of the uniform block at uniformBlockIndex. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_uniform_buffer_object", Version = "2.0", EntryPoint = "glGetActiveUniformBlockName")] + public static + unsafe void GetActiveUniformBlockName(Int32 program, Int32 uniformBlockIndex, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder uniformBlockName) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetActiveUniformBlockName((UInt32)program, (UInt32)uniformBlockIndex, (Int32)bufSize, (Int32*)length, (StringBuilder)uniformBlockName); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and ARB_uniform_buffer_object] + /// Retrieve the name of an active uniform block + /// + /// + /// + /// Specifies the name of a program containing the uniform block. + /// + /// + /// + /// + /// Specifies the index of the uniform block within program. + /// + /// + /// + /// + /// Specifies the size of the buffer addressed by uniformBlockName. + /// + /// + /// + /// + /// Specifies the address of a variable to receive the number of characters that were written to uniformBlockName. + /// + /// + /// + /// + /// Specifies the address an array of characters to receive the name of the uniform block at uniformBlockIndex. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_uniform_buffer_object", Version = "2.0", EntryPoint = "glGetActiveUniformBlockName")] + public static + void GetActiveUniformBlockName(UInt32 program, UInt32 uniformBlockIndex, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder uniformBlockName) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + { + Delegates.glGetActiveUniformBlockName((UInt32)program, (UInt32)uniformBlockIndex, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)uniformBlockName); + length = *length_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and ARB_uniform_buffer_object] + /// Retrieve the name of an active uniform block + /// + /// + /// + /// Specifies the name of a program containing the uniform block. + /// + /// + /// + /// + /// Specifies the index of the uniform block within program. + /// + /// + /// + /// + /// Specifies the size of the buffer addressed by uniformBlockName. + /// + /// + /// + /// + /// Specifies the address of a variable to receive the number of characters that were written to uniformBlockName. + /// + /// + /// + /// + /// Specifies the address an array of characters to receive the name of the uniform block at uniformBlockIndex. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_uniform_buffer_object", Version = "2.0", EntryPoint = "glGetActiveUniformBlockName")] + public static + unsafe void GetActiveUniformBlockName(UInt32 program, UInt32 uniformBlockIndex, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder uniformBlockName) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetActiveUniformBlockName((UInt32)program, (UInt32)uniformBlockIndex, (Int32)bufSize, (Int32*)length, (StringBuilder)uniformBlockName); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and ARB_uniform_buffer_object] + /// Query the name of an active uniform + /// + /// + /// + /// Specifies the program containing the active uniform index uniformIndex. + /// + /// + /// + /// + /// Specifies the index of the active uniform whose name to query. + /// + /// + /// + /// + /// Specifies the size of the buffer, in units of GLchar, of the buffer whose address is specified in uniformName. + /// + /// + /// + /// + /// Specifies the address of a variable that will receive the number of characters that were or would have been written to the buffer addressed by uniformName. + /// + /// + /// + /// + /// Specifies the address of a buffer into which the GL will place the name of the active uniform at uniformIndex within program. + /// + /// + [AutoGenerated(Category = "ARB_uniform_buffer_object", Version = "2.0", EntryPoint = "glGetActiveUniformName")] + public static + void GetActiveUniformName(Int32 program, Int32 uniformIndex, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder uniformName) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + { + Delegates.glGetActiveUniformName((UInt32)program, (UInt32)uniformIndex, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)uniformName); + length = *length_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and ARB_uniform_buffer_object] + /// Query the name of an active uniform + /// + /// + /// + /// Specifies the program containing the active uniform index uniformIndex. + /// + /// + /// + /// + /// Specifies the index of the active uniform whose name to query. + /// + /// + /// + /// + /// Specifies the size of the buffer, in units of GLchar, of the buffer whose address is specified in uniformName. + /// + /// + /// + /// + /// Specifies the address of a variable that will receive the number of characters that were or would have been written to the buffer addressed by uniformName. + /// + /// + /// + /// + /// Specifies the address of a buffer into which the GL will place the name of the active uniform at uniformIndex within program. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_uniform_buffer_object", Version = "2.0", EntryPoint = "glGetActiveUniformName")] + public static + unsafe void GetActiveUniformName(Int32 program, Int32 uniformIndex, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder uniformName) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetActiveUniformName((UInt32)program, (UInt32)uniformIndex, (Int32)bufSize, (Int32*)length, (StringBuilder)uniformName); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and ARB_uniform_buffer_object] + /// Query the name of an active uniform + /// + /// + /// + /// Specifies the program containing the active uniform index uniformIndex. + /// + /// + /// + /// + /// Specifies the index of the active uniform whose name to query. + /// + /// + /// + /// + /// Specifies the size of the buffer, in units of GLchar, of the buffer whose address is specified in uniformName. + /// + /// + /// + /// + /// Specifies the address of a variable that will receive the number of characters that were or would have been written to the buffer addressed by uniformName. + /// + /// + /// + /// + /// Specifies the address of a buffer into which the GL will place the name of the active uniform at uniformIndex within program. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_uniform_buffer_object", Version = "2.0", EntryPoint = "glGetActiveUniformName")] + public static + void GetActiveUniformName(UInt32 program, UInt32 uniformIndex, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder uniformName) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + { + Delegates.glGetActiveUniformName((UInt32)program, (UInt32)uniformIndex, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)uniformName); + length = *length_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and ARB_uniform_buffer_object] + /// Query the name of an active uniform + /// + /// + /// + /// Specifies the program containing the active uniform index uniformIndex. + /// + /// + /// + /// + /// Specifies the index of the active uniform whose name to query. + /// + /// + /// + /// + /// Specifies the size of the buffer, in units of GLchar, of the buffer whose address is specified in uniformName. + /// + /// + /// + /// + /// Specifies the address of a variable that will receive the number of characters that were or would have been written to the buffer addressed by uniformName. + /// + /// + /// + /// + /// Specifies the address of a buffer into which the GL will place the name of the active uniform at uniformIndex within program. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_uniform_buffer_object", Version = "2.0", EntryPoint = "glGetActiveUniformName")] + public static + unsafe void GetActiveUniformName(UInt32 program, UInt32 uniformIndex, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder uniformName) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetActiveUniformName((UInt32)program, (UInt32)uniformIndex, (Int32)bufSize, (Int32*)length, (StringBuilder)uniformName); + #if DEBUG + } + #endif + } + + /// [requires: v2.0 and ARB_uniform_buffer_object] + [AutoGenerated(Category = "ARB_uniform_buffer_object", Version = "2.0", EntryPoint = "glGetActiveUniformsiv")] + public static + void GetActiveUniforms(Int32 program, Int32 uniformCount, Int32[] uniformIndices, OpenTK.Graphics.OpenGL.ActiveUniformParameter pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* uniformIndices_ptr = uniformIndices) + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices_ptr, (OpenTK.Graphics.OpenGL.ActiveUniformParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v2.0 and ARB_uniform_buffer_object] + [AutoGenerated(Category = "ARB_uniform_buffer_object", Version = "2.0", EntryPoint = "glGetActiveUniformsiv")] + public static + void GetActiveUniforms(Int32 program, Int32 uniformCount, ref Int32 uniformIndices, OpenTK.Graphics.OpenGL.ActiveUniformParameter pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* uniformIndices_ptr = &uniformIndices) + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices_ptr, (OpenTK.Graphics.OpenGL.ActiveUniformParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: v2.0 and ARB_uniform_buffer_object] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_uniform_buffer_object", Version = "2.0", EntryPoint = "glGetActiveUniformsiv")] + public static + unsafe void GetActiveUniforms(Int32 program, Int32 uniformCount, Int32* uniformIndices, OpenTK.Graphics.OpenGL.ActiveUniformParameter pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices, (OpenTK.Graphics.OpenGL.ActiveUniformParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: v2.0 and ARB_uniform_buffer_object] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_uniform_buffer_object", Version = "2.0", EntryPoint = "glGetActiveUniformsiv")] + public static + void GetActiveUniforms(UInt32 program, Int32 uniformCount, UInt32[] uniformIndices, OpenTK.Graphics.OpenGL.ActiveUniformParameter pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* uniformIndices_ptr = uniformIndices) + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices_ptr, (OpenTK.Graphics.OpenGL.ActiveUniformParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v2.0 and ARB_uniform_buffer_object] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_uniform_buffer_object", Version = "2.0", EntryPoint = "glGetActiveUniformsiv")] + public static + void GetActiveUniforms(UInt32 program, Int32 uniformCount, ref UInt32 uniformIndices, OpenTK.Graphics.OpenGL.ActiveUniformParameter pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* uniformIndices_ptr = &uniformIndices) + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices_ptr, (OpenTK.Graphics.OpenGL.ActiveUniformParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: v2.0 and ARB_uniform_buffer_object] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_uniform_buffer_object", Version = "2.0", EntryPoint = "glGetActiveUniformsiv")] + public static + unsafe void GetActiveUniforms(UInt32 program, Int32 uniformCount, UInt32* uniformIndices, OpenTK.Graphics.OpenGL.ActiveUniformParameter pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices, (OpenTK.Graphics.OpenGL.ActiveUniformParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// Returns the handles of the shader objects attached to a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the size of the array for storing the returned object names. + /// + /// + /// + /// + /// Returns the number of names actually returned in objects. + /// + /// + /// + /// + /// Specifies an array that is used to return the names of attached shader objects. + /// + /// + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttachedShaders")] + public static + void GetAttachedShaders(Int32 program, Int32 maxCount, [OutAttribute] out Int32 count, [OutAttribute] out Int32 obj) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = &count) + fixed (Int32* obj_ptr = &obj) + { + Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)obj_ptr); + count = *count_ptr; + obj = *obj_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// Returns the handles of the shader objects attached to a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the size of the array for storing the returned object names. + /// + /// + /// + /// + /// Returns the number of names actually returned in objects. + /// + /// + /// + /// + /// Specifies an array that is used to return the names of attached shader objects. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttachedShaders")] + public static + unsafe void GetAttachedShaders(Int32 program, Int32 maxCount, [OutAttribute] Int32* count, [OutAttribute] Int32[] obj) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (Int32* obj_ptr = obj) + { + Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count, (UInt32*)obj_ptr); + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// Returns the handles of the shader objects attached to a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the size of the array for storing the returned object names. + /// + /// + /// + /// + /// Returns the number of names actually returned in objects. + /// + /// + /// + /// + /// Specifies an array that is used to return the names of attached shader objects. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttachedShaders")] + public static + unsafe void GetAttachedShaders(Int32 program, Int32 maxCount, [OutAttribute] Int32* count, [OutAttribute] Int32* obj) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count, (UInt32*)obj); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// Returns the handles of the shader objects attached to a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the size of the array for storing the returned object names. + /// + /// + /// + /// + /// Returns the number of names actually returned in objects. + /// + /// + /// + /// + /// Specifies an array that is used to return the names of attached shader objects. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttachedShaders")] + public static + void GetAttachedShaders(UInt32 program, Int32 maxCount, [OutAttribute] out Int32 count, [OutAttribute] out UInt32 obj) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = &count) + fixed (UInt32* obj_ptr = &obj) + { + Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)obj_ptr); + count = *count_ptr; + obj = *obj_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// Returns the handles of the shader objects attached to a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the size of the array for storing the returned object names. + /// + /// + /// + /// + /// Returns the number of names actually returned in objects. + /// + /// + /// + /// + /// Specifies an array that is used to return the names of attached shader objects. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttachedShaders")] + public static + unsafe void GetAttachedShaders(UInt32 program, Int32 maxCount, [OutAttribute] Int32* count, [OutAttribute] UInt32[] obj) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (UInt32* obj_ptr = obj) + { + Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count, (UInt32*)obj_ptr); + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// Returns the handles of the shader objects attached to a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the size of the array for storing the returned object names. + /// + /// + /// + /// + /// Returns the number of names actually returned in objects. + /// + /// + /// + /// + /// Specifies an array that is used to return the names of attached shader objects. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttachedShaders")] + public static + unsafe void GetAttachedShaders(UInt32 program, Int32 maxCount, [OutAttribute] Int32* count, [OutAttribute] UInt32* obj) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count, (UInt32*)obj); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// Returns the location of an attribute variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Points to a null terminated string containing the name of the attribute variable whose location is to be queried. + /// + /// + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttribLocation")] + public static + Int32 GetAttribLocation(Int32 program, String name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glGetAttribLocation((UInt32)program, (String)name); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// Returns the location of an attribute variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Points to a null terminated string containing the name of the attribute variable whose location is to be queried. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttribLocation")] + public static + Int32 GetAttribLocation(UInt32 program, String name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glGetAttribLocation((UInt32)program, (String)name); + #if DEBUG + } + #endif + } + + /// [requires: v3.0] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetBooleani_v")] + public static + void GetBoolean(OpenTK.Graphics.OpenGL.GetIndexedPName target, Int32 index, [OutAttribute] bool[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (bool* data_ptr = data) + { + Delegates.glGetBooleani_v((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (bool*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v3.0] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetBooleani_v")] + public static + void GetBoolean(OpenTK.Graphics.OpenGL.GetIndexedPName target, Int32 index, [OutAttribute] out bool data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (bool* data_ptr = &data) + { + Delegates.glGetBooleani_v((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (bool*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: v3.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetBooleani_v")] + public static + unsafe void GetBoolean(OpenTK.Graphics.OpenGL.GetIndexedPName target, Int32 index, [OutAttribute] bool* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetBooleani_v((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (bool*)data); + #if DEBUG + } + #endif + } + + /// [requires: v3.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetBooleani_v")] + public static + void GetBoolean(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] bool[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (bool* data_ptr = data) + { + Delegates.glGetBooleani_v((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (bool*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v3.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetBooleani_v")] + public static + void GetBoolean(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] out bool data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (bool* data_ptr = &data) + { + Delegates.glGetBooleani_v((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (bool*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: v3.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetBooleani_v")] + public static + unsafe void GetBoolean(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] bool* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetBooleani_v((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (bool*)data); + #if DEBUG + } + #endif + } + + /// [requires: v1.0] + [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetBooleanv")] + public static + void GetBoolean(OpenTK.Graphics.OpenGL.GetPName pname, [OutAttribute] bool[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (bool* @params_ptr = @params) + { + Delegates.glGetBooleanv((OpenTK.Graphics.OpenGL.GetPName)pname, (bool*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v1.0] + [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetBooleanv")] + public static + void GetBoolean(OpenTK.Graphics.OpenGL.GetPName pname, [OutAttribute] out bool @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (bool* @params_ptr = &@params) + { + Delegates.glGetBooleanv((OpenTK.Graphics.OpenGL.GetPName)pname, (bool*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: v1.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetBooleanv")] + public static + unsafe void GetBoolean(OpenTK.Graphics.OpenGL.GetPName pname, [OutAttribute] bool* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetBooleanv((OpenTK.Graphics.OpenGL.GetPName)pname, (bool*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v3.2] + /// Return parameters of a buffer object + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER. + /// + /// + /// + /// + /// Specifies the symbolic name of a buffer object parameter. Accepted values are GL_BUFFER_ACCESS, GL_BUFFER_MAPPED, GL_BUFFER_SIZE, or GL_BUFFER_USAGE. + /// + /// + /// + /// + /// Returns the requested parameter. + /// + /// + [AutoGenerated(Category = "VERSION_3_2", Version = "3.2", EntryPoint = "glGetBufferParameteri64v")] + public static + void GetBufferParameter(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferParameterName pname, [OutAttribute] Int64[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* @params_ptr = @params) + { + Delegates.glGetBufferParameteri64v((OpenTK.Graphics.OpenGL.BufferTarget)target, (OpenTK.Graphics.OpenGL.BufferParameterName)pname, (Int64*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v3.2] + /// Return parameters of a buffer object + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER. + /// + /// + /// + /// + /// Specifies the symbolic name of a buffer object parameter. Accepted values are GL_BUFFER_ACCESS, GL_BUFFER_MAPPED, GL_BUFFER_SIZE, or GL_BUFFER_USAGE. + /// + /// + /// + /// + /// Returns the requested parameter. + /// + /// + [AutoGenerated(Category = "VERSION_3_2", Version = "3.2", EntryPoint = "glGetBufferParameteri64v")] + public static + void GetBufferParameter(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferParameterName pname, [OutAttribute] out Int64 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* @params_ptr = &@params) + { + Delegates.glGetBufferParameteri64v((OpenTK.Graphics.OpenGL.BufferTarget)target, (OpenTK.Graphics.OpenGL.BufferParameterName)pname, (Int64*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v3.2] + /// Return parameters of a buffer object + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER. + /// + /// + /// + /// + /// Specifies the symbolic name of a buffer object parameter. Accepted values are GL_BUFFER_ACCESS, GL_BUFFER_MAPPED, GL_BUFFER_SIZE, or GL_BUFFER_USAGE. + /// + /// + /// + /// + /// Returns the requested parameter. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_2", Version = "3.2", EntryPoint = "glGetBufferParameteri64v")] + public static + unsafe void GetBufferParameter(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferParameterName pname, [OutAttribute] Int64* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetBufferParameteri64v((OpenTK.Graphics.OpenGL.BufferTarget)target, (OpenTK.Graphics.OpenGL.BufferParameterName)pname, (Int64*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.5] + /// Return parameters of a buffer object + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the symbolic name of a buffer object parameter. Accepted values are GL_BUFFER_ACCESS, GL_BUFFER_MAPPED, GL_BUFFER_SIZE, or GL_BUFFER_USAGE. + /// + /// + /// + /// + /// Returns the requested parameter. + /// + /// + [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetBufferParameteriv")] + public static + void GetBufferParameter(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferParameterName pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetBufferParameteriv((OpenTK.Graphics.OpenGL.BufferTarget)target, (OpenTK.Graphics.OpenGL.BufferParameterName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.5] + /// Return parameters of a buffer object + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the symbolic name of a buffer object parameter. Accepted values are GL_BUFFER_ACCESS, GL_BUFFER_MAPPED, GL_BUFFER_SIZE, or GL_BUFFER_USAGE. + /// + /// + /// + /// + /// Returns the requested parameter. + /// + /// + [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetBufferParameteriv")] + public static + void GetBufferParameter(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferParameterName pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetBufferParameteriv((OpenTK.Graphics.OpenGL.BufferTarget)target, (OpenTK.Graphics.OpenGL.BufferParameterName)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.5] + /// Return parameters of a buffer object + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the symbolic name of a buffer object parameter. Accepted values are GL_BUFFER_ACCESS, GL_BUFFER_MAPPED, GL_BUFFER_SIZE, or GL_BUFFER_USAGE. + /// + /// + /// + /// + /// Returns the requested parameter. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetBufferParameteriv")] + public static + unsafe void GetBufferParameter(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferParameterName pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetBufferParameteriv((OpenTK.Graphics.OpenGL.BufferTarget)target, (OpenTK.Graphics.OpenGL.BufferParameterName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.5] + /// Return the pointer to a mapped buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER. + /// + /// + /// + /// + /// Specifies the pointer to be returned. The symbolic constant must be GL_BUFFER_MAP_POINTER. + /// + /// + /// + /// + /// Returns the pointer value specified by pname. + /// + /// + [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetBufferPointerv")] + public static + void GetBufferPointer(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferPointer pname, [OutAttribute] IntPtr @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetBufferPointerv((OpenTK.Graphics.OpenGL.BufferTarget)target, (OpenTK.Graphics.OpenGL.BufferPointer)pname, (IntPtr)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.5] + /// Return the pointer to a mapped buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER. + /// + /// + /// + /// + /// Specifies the pointer to be returned. The symbolic constant must be GL_BUFFER_MAP_POINTER. + /// + /// + /// + /// + /// Returns the pointer value specified by pname. + /// + /// + [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetBufferPointerv")] + public static + void GetBufferPointer(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferPointer pname, [InAttribute, OutAttribute] T2[] @params) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetBufferPointerv((OpenTK.Graphics.OpenGL.BufferTarget)target, (OpenTK.Graphics.OpenGL.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.5] + /// Return the pointer to a mapped buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER. + /// + /// + /// + /// + /// Specifies the pointer to be returned. The symbolic constant must be GL_BUFFER_MAP_POINTER. + /// + /// + /// + /// + /// Returns the pointer value specified by pname. + /// + /// + [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetBufferPointerv")] + public static + void GetBufferPointer(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferPointer pname, [InAttribute, OutAttribute] T2[,] @params) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetBufferPointerv((OpenTK.Graphics.OpenGL.BufferTarget)target, (OpenTK.Graphics.OpenGL.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.5] + /// Return the pointer to a mapped buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER. + /// + /// + /// + /// + /// Specifies the pointer to be returned. The symbolic constant must be GL_BUFFER_MAP_POINTER. + /// + /// + /// + /// + /// Returns the pointer value specified by pname. + /// + /// + [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetBufferPointerv")] + public static + void GetBufferPointer(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferPointer pname, [InAttribute, OutAttribute] T2[,,] @params) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetBufferPointerv((OpenTK.Graphics.OpenGL.BufferTarget)target, (OpenTK.Graphics.OpenGL.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.5] + /// Return the pointer to a mapped buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER. + /// + /// + /// + /// + /// Specifies the pointer to be returned. The symbolic constant must be GL_BUFFER_MAP_POINTER. + /// + /// + /// + /// + /// Returns the pointer value specified by pname. + /// + /// + [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetBufferPointerv")] + public static + void GetBufferPointer(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferPointer pname, [InAttribute, OutAttribute] ref T2 @params) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetBufferPointerv((OpenTK.Graphics.OpenGL.BufferTarget)target, (OpenTK.Graphics.OpenGL.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + @params = (T2)@params_ptr.Target; + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.5] + /// Returns a subset of a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_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 = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetBufferSubData")] + public static + void GetBufferSubData(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr size, [OutAttribute] IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetBufferSubData((OpenTK.Graphics.OpenGL.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data); + #if DEBUG + } + #endif + } + + + /// [requires: v1.5] + /// Returns a subset of a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_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 = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetBufferSubData")] + public static + void GetBufferSubData(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetBufferSubData((OpenTK.Graphics.OpenGL.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.5] + /// Returns a subset of a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_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 = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetBufferSubData")] + public static + void GetBufferSubData(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetBufferSubData((OpenTK.Graphics.OpenGL.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.5] + /// Returns a subset of a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_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 = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetBufferSubData")] + public static + void GetBufferSubData(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,,] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetBufferSubData((OpenTK.Graphics.OpenGL.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.5] + /// Returns a subset of a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_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 = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetBufferSubData")] + public static + void GetBufferSubData(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] ref T3 data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetBufferSubData((OpenTK.Graphics.OpenGL.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + data = (T3)data_ptr.Target; + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Return the coefficients of the specified clipping plane + /// + /// + /// + /// Specifies a clipping plane. The number of clipping planes depends on the implementation, but at least six clipping planes are supported. They are identified by symbolic names of the form GL_CLIP_PLANE where i ranges from 0 to the value of GL_MAX_CLIP_PLANES - 1. + /// + /// + /// + /// + /// Returns four double-precision values that are the coefficients of the plane equation of plane in eye coordinates. The initial value is (0, 0, 0, 0). + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glGetClipPlane")] + public static + void GetClipPlane(OpenTK.Graphics.OpenGL.ClipPlaneName plane, [OutAttribute] Double[] equation) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* equation_ptr = equation) + { + Delegates.glGetClipPlane((OpenTK.Graphics.OpenGL.ClipPlaneName)plane, (Double*)equation_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Return the coefficients of the specified clipping plane + /// + /// + /// + /// Specifies a clipping plane. The number of clipping planes depends on the implementation, but at least six clipping planes are supported. They are identified by symbolic names of the form GL_CLIP_PLANE where i ranges from 0 to the value of GL_MAX_CLIP_PLANES - 1. + /// + /// + /// + /// + /// Returns four double-precision values that are the coefficients of the plane equation of plane in eye coordinates. The initial value is (0, 0, 0, 0). + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glGetClipPlane")] + public static + void GetClipPlane(OpenTK.Graphics.OpenGL.ClipPlaneName plane, [OutAttribute] out Double equation) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* equation_ptr = &equation) + { + Delegates.glGetClipPlane((OpenTK.Graphics.OpenGL.ClipPlaneName)plane, (Double*)equation_ptr); + equation = *equation_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Return the coefficients of the specified clipping plane + /// + /// + /// + /// Specifies a clipping plane. The number of clipping planes depends on the implementation, but at least six clipping planes are supported. They are identified by symbolic names of the form GL_CLIP_PLANE where i ranges from 0 to the value of GL_MAX_CLIP_PLANES - 1. + /// + /// + /// + /// + /// Returns four double-precision values that are the coefficients of the plane equation of plane in eye coordinates. The initial value is (0, 0, 0, 0). + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glGetClipPlane")] + public static + unsafe void GetClipPlane(OpenTK.Graphics.OpenGL.ClipPlaneName plane, [OutAttribute] Double* equation) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetClipPlane((OpenTK.Graphics.OpenGL.ClipPlaneName)plane, (Double*)equation); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Retrieve contents of a color lookup table + /// + /// + /// + /// Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The format of the pixel data in table. The possible values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in table. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glGetColorTable")] + public static + void GetColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr table) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetColorTable((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Retrieve contents of a color lookup table + /// + /// + /// + /// Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The format of the pixel data in table. The possible values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in table. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glGetColorTable")] + public static + void GetColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[] table) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); + try + { + Delegates.glGetColorTable((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + } + finally + { + table_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Retrieve contents of a color lookup table + /// + /// + /// + /// Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The format of the pixel data in table. The possible values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in table. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glGetColorTable")] + public static + void GetColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[,] table) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); + try + { + Delegates.glGetColorTable((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + } + finally + { + table_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Retrieve contents of a color lookup table + /// + /// + /// + /// Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The format of the pixel data in table. The possible values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in table. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glGetColorTable")] + public static + void GetColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[,,] table) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); + try + { + Delegates.glGetColorTable((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + } + finally + { + table_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Retrieve contents of a color lookup table + /// + /// + /// + /// Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The format of the pixel data in table. The possible values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in table. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glGetColorTable")] + public static + void GetColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T3 table) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); + try + { + Delegates.glGetColorTable((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + table = (T3)table_ptr.Target; + } + finally + { + table_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Get color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a color lookup table parameter. Must be one of GL_COLOR_TABLE_BIAS, GL_COLOR_TABLE_SCALE, GL_COLOR_TABLE_FORMAT, GL_COLOR_TABLE_WIDTH, GL_COLOR_TABLE_RED_SIZE, GL_COLOR_TABLE_GREEN_SIZE, GL_COLOR_TABLE_BLUE_SIZE, GL_COLOR_TABLE_ALPHA_SIZE, GL_COLOR_TABLE_LUMINANCE_SIZE, or GL_COLOR_TABLE_INTENSITY_SIZE. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameter will be stored. + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glGetColorTableParameterfv")] + public static + void GetColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.GetColorTableParameterPName pname, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetColorTableParameterfv((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.GetColorTableParameterPName)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Get color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a color lookup table parameter. Must be one of GL_COLOR_TABLE_BIAS, GL_COLOR_TABLE_SCALE, GL_COLOR_TABLE_FORMAT, GL_COLOR_TABLE_WIDTH, GL_COLOR_TABLE_RED_SIZE, GL_COLOR_TABLE_GREEN_SIZE, GL_COLOR_TABLE_BLUE_SIZE, GL_COLOR_TABLE_ALPHA_SIZE, GL_COLOR_TABLE_LUMINANCE_SIZE, or GL_COLOR_TABLE_INTENSITY_SIZE. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameter will be stored. + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glGetColorTableParameterfv")] + public static + void GetColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.GetColorTableParameterPName pname, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetColorTableParameterfv((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.GetColorTableParameterPName)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Get color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a color lookup table parameter. Must be one of GL_COLOR_TABLE_BIAS, GL_COLOR_TABLE_SCALE, GL_COLOR_TABLE_FORMAT, GL_COLOR_TABLE_WIDTH, GL_COLOR_TABLE_RED_SIZE, GL_COLOR_TABLE_GREEN_SIZE, GL_COLOR_TABLE_BLUE_SIZE, GL_COLOR_TABLE_ALPHA_SIZE, GL_COLOR_TABLE_LUMINANCE_SIZE, or GL_COLOR_TABLE_INTENSITY_SIZE. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameter will be stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glGetColorTableParameterfv")] + public static + unsafe void GetColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.GetColorTableParameterPName pname, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetColorTableParameterfv((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.GetColorTableParameterPName)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Get color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a color lookup table parameter. Must be one of GL_COLOR_TABLE_BIAS, GL_COLOR_TABLE_SCALE, GL_COLOR_TABLE_FORMAT, GL_COLOR_TABLE_WIDTH, GL_COLOR_TABLE_RED_SIZE, GL_COLOR_TABLE_GREEN_SIZE, GL_COLOR_TABLE_BLUE_SIZE, GL_COLOR_TABLE_ALPHA_SIZE, GL_COLOR_TABLE_LUMINANCE_SIZE, or GL_COLOR_TABLE_INTENSITY_SIZE. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameter will be stored. + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glGetColorTableParameteriv")] + public static + void GetColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.GetColorTableParameterPName pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetColorTableParameteriv((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.GetColorTableParameterPName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Get color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a color lookup table parameter. Must be one of GL_COLOR_TABLE_BIAS, GL_COLOR_TABLE_SCALE, GL_COLOR_TABLE_FORMAT, GL_COLOR_TABLE_WIDTH, GL_COLOR_TABLE_RED_SIZE, GL_COLOR_TABLE_GREEN_SIZE, GL_COLOR_TABLE_BLUE_SIZE, GL_COLOR_TABLE_ALPHA_SIZE, GL_COLOR_TABLE_LUMINANCE_SIZE, or GL_COLOR_TABLE_INTENSITY_SIZE. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameter will be stored. + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glGetColorTableParameteriv")] + public static + void GetColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.GetColorTableParameterPName pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetColorTableParameteriv((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.GetColorTableParameterPName)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Get color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a color lookup table parameter. Must be one of GL_COLOR_TABLE_BIAS, GL_COLOR_TABLE_SCALE, GL_COLOR_TABLE_FORMAT, GL_COLOR_TABLE_WIDTH, GL_COLOR_TABLE_RED_SIZE, GL_COLOR_TABLE_GREEN_SIZE, GL_COLOR_TABLE_BLUE_SIZE, GL_COLOR_TABLE_ALPHA_SIZE, GL_COLOR_TABLE_LUMINANCE_SIZE, or GL_COLOR_TABLE_INTENSITY_SIZE. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameter will be stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glGetColorTableParameteriv")] + public static + unsafe void GetColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.GetColorTableParameterPName pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetColorTableParameteriv((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.GetColorTableParameterPName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.3] + /// Return a compressed texture image + /// + /// + /// + /// Specifies which texture is to be obtained. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, and GL_TEXTURE_CUBE_MAP_NEGATIVE_Z are accepted. + /// + /// + /// + /// + /// Specifies the level-of-detail number of the desired image. Level 0 is the base image level. Level is the th mipmap reduction image. + /// + /// + /// + /// + /// Returns the compressed texture image. + /// + /// + [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glGetCompressedTexImage")] + public static + void GetCompressedTexImage(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, [OutAttribute] IntPtr img) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetCompressedTexImage((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (IntPtr)img); + #if DEBUG + } + #endif + } + + + /// [requires: v1.3] + /// Return a compressed texture image + /// + /// + /// + /// Specifies which texture is to be obtained. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, and GL_TEXTURE_CUBE_MAP_NEGATIVE_Z are accepted. + /// + /// + /// + /// + /// Specifies the level-of-detail number of the desired image. Level 0 is the base image level. Level is the th mipmap reduction image. + /// + /// + /// + /// + /// Returns the compressed texture image. + /// + /// + [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glGetCompressedTexImage")] + public static + void GetCompressedTexImage(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, [InAttribute, OutAttribute] T2[] img) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); + try + { + Delegates.glGetCompressedTexImage((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (IntPtr)img_ptr.AddrOfPinnedObject()); + } + finally + { + img_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.3] + /// Return a compressed texture image + /// + /// + /// + /// Specifies which texture is to be obtained. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, and GL_TEXTURE_CUBE_MAP_NEGATIVE_Z are accepted. + /// + /// + /// + /// + /// Specifies the level-of-detail number of the desired image. Level 0 is the base image level. Level is the th mipmap reduction image. + /// + /// + /// + /// + /// Returns the compressed texture image. + /// + /// + [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glGetCompressedTexImage")] + public static + void GetCompressedTexImage(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, [InAttribute, OutAttribute] T2[,] img) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); + try + { + Delegates.glGetCompressedTexImage((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (IntPtr)img_ptr.AddrOfPinnedObject()); + } + finally + { + img_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.3] + /// Return a compressed texture image + /// + /// + /// + /// Specifies which texture is to be obtained. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, and GL_TEXTURE_CUBE_MAP_NEGATIVE_Z are accepted. + /// + /// + /// + /// + /// Specifies the level-of-detail number of the desired image. Level 0 is the base image level. Level is the th mipmap reduction image. + /// + /// + /// + /// + /// Returns the compressed texture image. + /// + /// + [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glGetCompressedTexImage")] + public static + void GetCompressedTexImage(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, [InAttribute, OutAttribute] T2[,,] img) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); + try + { + Delegates.glGetCompressedTexImage((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (IntPtr)img_ptr.AddrOfPinnedObject()); + } + finally + { + img_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.3] + /// Return a compressed texture image + /// + /// + /// + /// Specifies which texture is to be obtained. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, and GL_TEXTURE_CUBE_MAP_NEGATIVE_Z are accepted. + /// + /// + /// + /// + /// Specifies the level-of-detail number of the desired image. Level 0 is the base image level. Level is the th mipmap reduction image. + /// + /// + /// + /// + /// Returns the compressed texture image. + /// + /// + [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glGetCompressedTexImage")] + public static + void GetCompressedTexImage(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, [InAttribute, OutAttribute] ref T2 img) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); + try + { + Delegates.glGetCompressedTexImage((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (IntPtr)img_ptr.AddrOfPinnedObject()); + img = (T2)img_ptr.Target; + } + finally + { + img_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Get current 1D or 2D convolution filter kernel + /// + /// + /// + /// The filter to be retrieved. Must be one of GL_CONVOLUTION_1D or GL_CONVOLUTION_2D. + /// + /// + /// + /// + /// Format of the output image. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output image. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the output image. + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glGetConvolutionFilter")] + public static + void GetConvolutionFilter(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr image) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetConvolutionFilter((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Get current 1D or 2D convolution filter kernel + /// + /// + /// + /// The filter to be retrieved. Must be one of GL_CONVOLUTION_1D or GL_CONVOLUTION_2D. + /// + /// + /// + /// + /// Format of the output image. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output image. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the output image. + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glGetConvolutionFilter")] + public static + void GetConvolutionFilter(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[] image) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glGetConvolutionFilter((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + } + finally + { + image_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Get current 1D or 2D convolution filter kernel + /// + /// + /// + /// The filter to be retrieved. Must be one of GL_CONVOLUTION_1D or GL_CONVOLUTION_2D. + /// + /// + /// + /// + /// Format of the output image. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output image. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the output image. + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glGetConvolutionFilter")] + public static + void GetConvolutionFilter(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[,] image) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glGetConvolutionFilter((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + } + finally + { + image_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Get current 1D or 2D convolution filter kernel + /// + /// + /// + /// The filter to be retrieved. Must be one of GL_CONVOLUTION_1D or GL_CONVOLUTION_2D. + /// + /// + /// + /// + /// Format of the output image. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output image. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the output image. + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glGetConvolutionFilter")] + public static + void GetConvolutionFilter(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[,,] image) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glGetConvolutionFilter((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + } + finally + { + image_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Get current 1D or 2D convolution filter kernel + /// + /// + /// + /// The filter to be retrieved. Must be one of GL_CONVOLUTION_1D or GL_CONVOLUTION_2D. + /// + /// + /// + /// + /// Format of the output image. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output image. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the output image. + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glGetConvolutionFilter")] + public static + void GetConvolutionFilter(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T3 image) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glGetConvolutionFilter((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + image = (T3)image_ptr.Target; + } + finally + { + image_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Get convolution parameters + /// + /// + /// + /// The filter whose parameters are to be retrieved. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The parameter to be retrieved. Must be one of GL_CONVOLUTION_BORDER_MODE, GL_CONVOLUTION_BORDER_COLOR, GL_CONVOLUTION_FILTER_SCALE, GL_CONVOLUTION_FILTER_BIAS, GL_CONVOLUTION_FORMAT, GL_CONVOLUTION_WIDTH, GL_CONVOLUTION_HEIGHT, GL_MAX_CONVOLUTION_WIDTH, or GL_MAX_CONVOLUTION_HEIGHT. + /// + /// + /// + /// + /// Pointer to storage for the parameters to be retrieved. + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glGetConvolutionParameterfv")] + public static + void GetConvolutionParameter(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.GetConvolutionParameterPName pname, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetConvolutionParameterfv((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.GetConvolutionParameterPName)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Get convolution parameters + /// + /// + /// + /// The filter whose parameters are to be retrieved. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The parameter to be retrieved. Must be one of GL_CONVOLUTION_BORDER_MODE, GL_CONVOLUTION_BORDER_COLOR, GL_CONVOLUTION_FILTER_SCALE, GL_CONVOLUTION_FILTER_BIAS, GL_CONVOLUTION_FORMAT, GL_CONVOLUTION_WIDTH, GL_CONVOLUTION_HEIGHT, GL_MAX_CONVOLUTION_WIDTH, or GL_MAX_CONVOLUTION_HEIGHT. + /// + /// + /// + /// + /// Pointer to storage for the parameters to be retrieved. + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glGetConvolutionParameterfv")] + public static + void GetConvolutionParameter(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.GetConvolutionParameterPName pname, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetConvolutionParameterfv((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.GetConvolutionParameterPName)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Get convolution parameters + /// + /// + /// + /// The filter whose parameters are to be retrieved. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The parameter to be retrieved. Must be one of GL_CONVOLUTION_BORDER_MODE, GL_CONVOLUTION_BORDER_COLOR, GL_CONVOLUTION_FILTER_SCALE, GL_CONVOLUTION_FILTER_BIAS, GL_CONVOLUTION_FORMAT, GL_CONVOLUTION_WIDTH, GL_CONVOLUTION_HEIGHT, GL_MAX_CONVOLUTION_WIDTH, or GL_MAX_CONVOLUTION_HEIGHT. + /// + /// + /// + /// + /// Pointer to storage for the parameters to be retrieved. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glGetConvolutionParameterfv")] + public static + unsafe void GetConvolutionParameter(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.GetConvolutionParameterPName pname, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetConvolutionParameterfv((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.GetConvolutionParameterPName)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Get convolution parameters + /// + /// + /// + /// The filter whose parameters are to be retrieved. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The parameter to be retrieved. Must be one of GL_CONVOLUTION_BORDER_MODE, GL_CONVOLUTION_BORDER_COLOR, GL_CONVOLUTION_FILTER_SCALE, GL_CONVOLUTION_FILTER_BIAS, GL_CONVOLUTION_FORMAT, GL_CONVOLUTION_WIDTH, GL_CONVOLUTION_HEIGHT, GL_MAX_CONVOLUTION_WIDTH, or GL_MAX_CONVOLUTION_HEIGHT. + /// + /// + /// + /// + /// Pointer to storage for the parameters to be retrieved. + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glGetConvolutionParameteriv")] + public static + void GetConvolutionParameter(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.GetConvolutionParameterPName pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetConvolutionParameteriv((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.GetConvolutionParameterPName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Get convolution parameters + /// + /// + /// + /// The filter whose parameters are to be retrieved. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The parameter to be retrieved. Must be one of GL_CONVOLUTION_BORDER_MODE, GL_CONVOLUTION_BORDER_COLOR, GL_CONVOLUTION_FILTER_SCALE, GL_CONVOLUTION_FILTER_BIAS, GL_CONVOLUTION_FORMAT, GL_CONVOLUTION_WIDTH, GL_CONVOLUTION_HEIGHT, GL_MAX_CONVOLUTION_WIDTH, or GL_MAX_CONVOLUTION_HEIGHT. + /// + /// + /// + /// + /// Pointer to storage for the parameters to be retrieved. + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glGetConvolutionParameteriv")] + public static + void GetConvolutionParameter(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.GetConvolutionParameterPName pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetConvolutionParameteriv((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.GetConvolutionParameterPName)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Get convolution parameters + /// + /// + /// + /// The filter whose parameters are to be retrieved. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The parameter to be retrieved. Must be one of GL_CONVOLUTION_BORDER_MODE, GL_CONVOLUTION_BORDER_COLOR, GL_CONVOLUTION_FILTER_SCALE, GL_CONVOLUTION_FILTER_BIAS, GL_CONVOLUTION_FORMAT, GL_CONVOLUTION_WIDTH, GL_CONVOLUTION_HEIGHT, GL_MAX_CONVOLUTION_WIDTH, or GL_MAX_CONVOLUTION_HEIGHT. + /// + /// + /// + /// + /// Pointer to storage for the parameters to be retrieved. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glGetConvolutionParameteriv")] + public static + unsafe void GetConvolutionParameter(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.GetConvolutionParameterPName pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetConvolutionParameteriv((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.GetConvolutionParameterPName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_viewport_array] + [AutoGenerated(Category = "ARB_viewport_array", Version = "4.1", EntryPoint = "glGetDoublei_v")] + public static + void GetDouble(OpenTK.Graphics.OpenGL.GetIndexedPName target, Int32 index, [OutAttribute] Double[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* data_ptr = data) + { + Delegates.glGetDoublei_v((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Double*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_viewport_array] + [AutoGenerated(Category = "ARB_viewport_array", Version = "4.1", EntryPoint = "glGetDoublei_v")] + public static + void GetDouble(OpenTK.Graphics.OpenGL.GetIndexedPName target, Int32 index, [OutAttribute] out Double data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* data_ptr = &data) + { + Delegates.glGetDoublei_v((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Double*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_viewport_array] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_viewport_array", Version = "4.1", EntryPoint = "glGetDoublei_v")] + public static + unsafe void GetDouble(OpenTK.Graphics.OpenGL.GetIndexedPName target, Int32 index, [OutAttribute] Double* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetDoublei_v((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Double*)data); + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_viewport_array] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_viewport_array", Version = "4.1", EntryPoint = "glGetDoublei_v")] + public static + void GetDouble(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] Double[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* data_ptr = data) + { + Delegates.glGetDoublei_v((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Double*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_viewport_array] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_viewport_array", Version = "4.1", EntryPoint = "glGetDoublei_v")] + public static + void GetDouble(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] out Double data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* data_ptr = &data) + { + Delegates.glGetDoublei_v((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Double*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_viewport_array] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_viewport_array", Version = "4.1", EntryPoint = "glGetDoublei_v")] + public static + unsafe void GetDouble(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] Double* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetDoublei_v((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Double*)data); + #if DEBUG + } + #endif + } + + /// [requires: v1.0] + [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetDoublev")] + public static + void GetDouble(OpenTK.Graphics.OpenGL.GetPName pname, [OutAttribute] Double[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = @params) + { + Delegates.glGetDoublev((OpenTK.Graphics.OpenGL.GetPName)pname, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v1.0] + [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetDoublev")] + public static + void GetDouble(OpenTK.Graphics.OpenGL.GetPName pname, [OutAttribute] out Double @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = &@params) + { + Delegates.glGetDoublev((OpenTK.Graphics.OpenGL.GetPName)pname, (Double*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: v1.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetDoublev")] + public static + unsafe void GetDouble(OpenTK.Graphics.OpenGL.GetPName pname, [OutAttribute] Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetDoublev((OpenTK.Graphics.OpenGL.GetPName)pname, (Double*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0] + /// Return error information + /// + [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetError")] + public static + OpenTK.Graphics.OpenGL.ErrorCode GetError() + { + return Delegates.glGetError(); + } + + /// [requires: v4.1 and ARB_viewport_array] + [AutoGenerated(Category = "ARB_viewport_array", Version = "4.1", EntryPoint = "glGetFloati_v")] + public static + void GetFloat(OpenTK.Graphics.OpenGL.GetIndexedPName target, Int32 index, [OutAttribute] Single[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* data_ptr = data) + { + Delegates.glGetFloati_v((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Single*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_viewport_array] + [AutoGenerated(Category = "ARB_viewport_array", Version = "4.1", EntryPoint = "glGetFloati_v")] + public static + void GetFloat(OpenTK.Graphics.OpenGL.GetIndexedPName target, Int32 index, [OutAttribute] out Single data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* data_ptr = &data) + { + Delegates.glGetFloati_v((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Single*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_viewport_array] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_viewport_array", Version = "4.1", EntryPoint = "glGetFloati_v")] + public static + unsafe void GetFloat(OpenTK.Graphics.OpenGL.GetIndexedPName target, Int32 index, [OutAttribute] Single* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetFloati_v((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Single*)data); + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_viewport_array] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_viewport_array", Version = "4.1", EntryPoint = "glGetFloati_v")] + public static + void GetFloat(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] Single[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* data_ptr = data) + { + Delegates.glGetFloati_v((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Single*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_viewport_array] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_viewport_array", Version = "4.1", EntryPoint = "glGetFloati_v")] + public static + void GetFloat(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] out Single data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* data_ptr = &data) + { + Delegates.glGetFloati_v((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Single*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_viewport_array] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_viewport_array", Version = "4.1", EntryPoint = "glGetFloati_v")] + public static + unsafe void GetFloat(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] Single* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetFloati_v((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Single*)data); + #if DEBUG + } + #endif + } + + /// [requires: v1.0] + [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetFloatv")] + public static + void GetFloat(OpenTK.Graphics.OpenGL.GetPName pname, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetFloatv((OpenTK.Graphics.OpenGL.GetPName)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v1.0] + [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetFloatv")] + public static + void GetFloat(OpenTK.Graphics.OpenGL.GetPName pname, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetFloatv((OpenTK.Graphics.OpenGL.GetPName)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: v1.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetFloatv")] + public static + unsafe void GetFloat(OpenTK.Graphics.OpenGL.GetPName pname, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetFloatv((OpenTK.Graphics.OpenGL.GetPName)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_blend_func_extended] + /// Query the bindings of color indices to user-defined varying out variables + /// + /// + /// + /// The name of the program containing varying out variable whose binding to query + /// + /// + /// + /// + /// The name of the user-defined varying out variable whose index to query + /// + /// + [AutoGenerated(Category = "ARB_blend_func_extended", Version = "1.2", EntryPoint = "glGetFragDataIndex")] + public static + Int32 GetFragDataIndex(Int32 program, String name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glGetFragDataIndex((UInt32)program, (String)name); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_blend_func_extended] + /// Query the bindings of color indices to user-defined varying out variables + /// + /// + /// + /// The name of the program containing varying out variable whose binding to query + /// + /// + /// + /// + /// The name of the user-defined varying out variable whose index to query + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_blend_func_extended", Version = "1.2", EntryPoint = "glGetFragDataIndex")] + public static + Int32 GetFragDataIndex(UInt32 program, String name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glGetFragDataIndex((UInt32)program, (String)name); + #if DEBUG + } + #endif + } + + + /// [requires: v3.0] + /// Query the bindings of color numbers to user-defined varying out variables + /// + /// + /// + /// The name of the program containing varying out variable whose binding to query + /// + /// + /// + /// + /// The name of the user-defined varying out variable whose binding to query + /// + /// + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetFragDataLocation")] + public static + Int32 GetFragDataLocation(Int32 program, String name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glGetFragDataLocation((UInt32)program, (String)name); + #if DEBUG + } + #endif + } + + + /// [requires: v3.0] + /// Query the bindings of color numbers to user-defined varying out variables + /// + /// + /// + /// The name of the program containing varying out variable whose binding to query + /// + /// + /// + /// + /// The name of the user-defined varying out variable whose binding to query + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetFragDataLocation")] + public static + Int32 GetFragDataLocation(UInt32 program, String name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glGetFragDataLocation((UInt32)program, (String)name); + #if DEBUG + } + #endif + } + + + /// [requires: v3.0 and ARB_framebuffer_object] + /// Retrieve information about attachments of a bound framebuffer object + /// + /// + /// + /// Specifies the target of the query operation. + /// + /// + /// + /// + /// Specifies the attachment within target + /// + /// + /// + /// + /// Specifies the parameter of attachment to query. + /// + /// + /// + /// + /// Specifies the address of a variable receive the value of pname for attachment. + /// + /// + [AutoGenerated(Category = "ARB_framebuffer_object", Version = "3.0", EntryPoint = "glGetFramebufferAttachmentParameteriv")] + public static + void GetFramebufferAttachmentParameter(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.FramebufferParameterName pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetFramebufferAttachmentParameteriv((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.FramebufferParameterName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v3.0 and ARB_framebuffer_object] + /// Retrieve information about attachments of a bound framebuffer object + /// + /// + /// + /// Specifies the target of the query operation. + /// + /// + /// + /// + /// Specifies the attachment within target + /// + /// + /// + /// + /// Specifies the parameter of attachment to query. + /// + /// + /// + /// + /// Specifies the address of a variable receive the value of pname for attachment. + /// + /// + [AutoGenerated(Category = "ARB_framebuffer_object", Version = "3.0", EntryPoint = "glGetFramebufferAttachmentParameteriv")] + public static + void GetFramebufferAttachmentParameter(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.FramebufferParameterName pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetFramebufferAttachmentParameteriv((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.FramebufferParameterName)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v3.0 and ARB_framebuffer_object] + /// Retrieve information about attachments of a bound framebuffer object + /// + /// + /// + /// Specifies the target of the query operation. + /// + /// + /// + /// + /// Specifies the attachment within target + /// + /// + /// + /// + /// Specifies the parameter of attachment to query. + /// + /// + /// + /// + /// Specifies the address of a variable receive the value of pname for attachment. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_framebuffer_object", Version = "3.0", EntryPoint = "glGetFramebufferAttachmentParameteriv")] + public static + unsafe void GetFramebufferAttachmentParameter(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.FramebufferParameterName pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetFramebufferAttachmentParameteriv((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.FramebufferParameterName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Get histogram table + /// + /// + /// + /// Must be GL_HISTOGRAM. + /// + /// + /// + /// + /// If GL_TRUE, each component counter that is actually returned is reset to zero. (Other counters are unaffected.) If GL_FALSE, none of the counters in the histogram table is modified. + /// + /// + /// + /// + /// The format of values to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of values to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// A pointer to storage for the returned histogram table. + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glGetHistogram")] + public static + void GetHistogram(OpenTK.Graphics.OpenGL.HistogramTarget target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetHistogram((OpenTK.Graphics.OpenGL.HistogramTarget)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Get histogram table + /// + /// + /// + /// Must be GL_HISTOGRAM. + /// + /// + /// + /// + /// If GL_TRUE, each component counter that is actually returned is reset to zero. (Other counters are unaffected.) If GL_FALSE, none of the counters in the histogram table is modified. + /// + /// + /// + /// + /// The format of values to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of values to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// A pointer to storage for the returned histogram table. + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glGetHistogram")] + public static + void GetHistogram(OpenTK.Graphics.OpenGL.HistogramTarget target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[] values) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); + try + { + Delegates.glGetHistogram((OpenTK.Graphics.OpenGL.HistogramTarget)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); + } + finally + { + values_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Get histogram table + /// + /// + /// + /// Must be GL_HISTOGRAM. + /// + /// + /// + /// + /// If GL_TRUE, each component counter that is actually returned is reset to zero. (Other counters are unaffected.) If GL_FALSE, none of the counters in the histogram table is modified. + /// + /// + /// + /// + /// The format of values to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of values to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// A pointer to storage for the returned histogram table. + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glGetHistogram")] + public static + void GetHistogram(OpenTK.Graphics.OpenGL.HistogramTarget target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[,] values) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); + try + { + Delegates.glGetHistogram((OpenTK.Graphics.OpenGL.HistogramTarget)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); + } + finally + { + values_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Get histogram table + /// + /// + /// + /// Must be GL_HISTOGRAM. + /// + /// + /// + /// + /// If GL_TRUE, each component counter that is actually returned is reset to zero. (Other counters are unaffected.) If GL_FALSE, none of the counters in the histogram table is modified. + /// + /// + /// + /// + /// The format of values to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of values to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// A pointer to storage for the returned histogram table. + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glGetHistogram")] + public static + void GetHistogram(OpenTK.Graphics.OpenGL.HistogramTarget target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[,,] values) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); + try + { + Delegates.glGetHistogram((OpenTK.Graphics.OpenGL.HistogramTarget)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); + } + finally + { + values_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Get histogram table + /// + /// + /// + /// Must be GL_HISTOGRAM. + /// + /// + /// + /// + /// If GL_TRUE, each component counter that is actually returned is reset to zero. (Other counters are unaffected.) If GL_FALSE, none of the counters in the histogram table is modified. + /// + /// + /// + /// + /// The format of values to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of values to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// A pointer to storage for the returned histogram table. + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glGetHistogram")] + public static + void GetHistogram(OpenTK.Graphics.OpenGL.HistogramTarget target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T4 values) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); + try + { + Delegates.glGetHistogram((OpenTK.Graphics.OpenGL.HistogramTarget)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); + values = (T4)values_ptr.Target; + } + finally + { + values_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Get histogram parameters + /// + /// + /// + /// Must be one of GL_HISTOGRAM or GL_PROXY_HISTOGRAM. + /// + /// + /// + /// + /// The name of the parameter to be retrieved. Must be one of GL_HISTOGRAM_WIDTH, GL_HISTOGRAM_FORMAT, GL_HISTOGRAM_RED_SIZE, GL_HISTOGRAM_GREEN_SIZE, GL_HISTOGRAM_BLUE_SIZE, GL_HISTOGRAM_ALPHA_SIZE, GL_HISTOGRAM_LUMINANCE_SIZE, or GL_HISTOGRAM_SINK. + /// + /// + /// + /// + /// Pointer to storage for the returned values. + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glGetHistogramParameterfv")] + public static + void GetHistogramParameter(OpenTK.Graphics.OpenGL.HistogramTarget target, OpenTK.Graphics.OpenGL.GetHistogramParameterPName pname, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetHistogramParameterfv((OpenTK.Graphics.OpenGL.HistogramTarget)target, (OpenTK.Graphics.OpenGL.GetHistogramParameterPName)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Get histogram parameters + /// + /// + /// + /// Must be one of GL_HISTOGRAM or GL_PROXY_HISTOGRAM. + /// + /// + /// + /// + /// The name of the parameter to be retrieved. Must be one of GL_HISTOGRAM_WIDTH, GL_HISTOGRAM_FORMAT, GL_HISTOGRAM_RED_SIZE, GL_HISTOGRAM_GREEN_SIZE, GL_HISTOGRAM_BLUE_SIZE, GL_HISTOGRAM_ALPHA_SIZE, GL_HISTOGRAM_LUMINANCE_SIZE, or GL_HISTOGRAM_SINK. + /// + /// + /// + /// + /// Pointer to storage for the returned values. + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glGetHistogramParameterfv")] + public static + void GetHistogramParameter(OpenTK.Graphics.OpenGL.HistogramTarget target, OpenTK.Graphics.OpenGL.GetHistogramParameterPName pname, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetHistogramParameterfv((OpenTK.Graphics.OpenGL.HistogramTarget)target, (OpenTK.Graphics.OpenGL.GetHistogramParameterPName)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Get histogram parameters + /// + /// + /// + /// Must be one of GL_HISTOGRAM or GL_PROXY_HISTOGRAM. + /// + /// + /// + /// + /// The name of the parameter to be retrieved. Must be one of GL_HISTOGRAM_WIDTH, GL_HISTOGRAM_FORMAT, GL_HISTOGRAM_RED_SIZE, GL_HISTOGRAM_GREEN_SIZE, GL_HISTOGRAM_BLUE_SIZE, GL_HISTOGRAM_ALPHA_SIZE, GL_HISTOGRAM_LUMINANCE_SIZE, or GL_HISTOGRAM_SINK. + /// + /// + /// + /// + /// Pointer to storage for the returned values. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glGetHistogramParameterfv")] + public static + unsafe void GetHistogramParameter(OpenTK.Graphics.OpenGL.HistogramTarget target, OpenTK.Graphics.OpenGL.GetHistogramParameterPName pname, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetHistogramParameterfv((OpenTK.Graphics.OpenGL.HistogramTarget)target, (OpenTK.Graphics.OpenGL.GetHistogramParameterPName)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Get histogram parameters + /// + /// + /// + /// Must be one of GL_HISTOGRAM or GL_PROXY_HISTOGRAM. + /// + /// + /// + /// + /// The name of the parameter to be retrieved. Must be one of GL_HISTOGRAM_WIDTH, GL_HISTOGRAM_FORMAT, GL_HISTOGRAM_RED_SIZE, GL_HISTOGRAM_GREEN_SIZE, GL_HISTOGRAM_BLUE_SIZE, GL_HISTOGRAM_ALPHA_SIZE, GL_HISTOGRAM_LUMINANCE_SIZE, or GL_HISTOGRAM_SINK. + /// + /// + /// + /// + /// Pointer to storage for the returned values. + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glGetHistogramParameteriv")] + public static + void GetHistogramParameter(OpenTK.Graphics.OpenGL.HistogramTarget target, OpenTK.Graphics.OpenGL.GetHistogramParameterPName pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetHistogramParameteriv((OpenTK.Graphics.OpenGL.HistogramTarget)target, (OpenTK.Graphics.OpenGL.GetHistogramParameterPName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Get histogram parameters + /// + /// + /// + /// Must be one of GL_HISTOGRAM or GL_PROXY_HISTOGRAM. + /// + /// + /// + /// + /// The name of the parameter to be retrieved. Must be one of GL_HISTOGRAM_WIDTH, GL_HISTOGRAM_FORMAT, GL_HISTOGRAM_RED_SIZE, GL_HISTOGRAM_GREEN_SIZE, GL_HISTOGRAM_BLUE_SIZE, GL_HISTOGRAM_ALPHA_SIZE, GL_HISTOGRAM_LUMINANCE_SIZE, or GL_HISTOGRAM_SINK. + /// + /// + /// + /// + /// Pointer to storage for the returned values. + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glGetHistogramParameteriv")] + public static + void GetHistogramParameter(OpenTK.Graphics.OpenGL.HistogramTarget target, OpenTK.Graphics.OpenGL.GetHistogramParameterPName pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetHistogramParameteriv((OpenTK.Graphics.OpenGL.HistogramTarget)target, (OpenTK.Graphics.OpenGL.GetHistogramParameterPName)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Get histogram parameters + /// + /// + /// + /// Must be one of GL_HISTOGRAM or GL_PROXY_HISTOGRAM. + /// + /// + /// + /// + /// The name of the parameter to be retrieved. Must be one of GL_HISTOGRAM_WIDTH, GL_HISTOGRAM_FORMAT, GL_HISTOGRAM_RED_SIZE, GL_HISTOGRAM_GREEN_SIZE, GL_HISTOGRAM_BLUE_SIZE, GL_HISTOGRAM_ALPHA_SIZE, GL_HISTOGRAM_LUMINANCE_SIZE, or GL_HISTOGRAM_SINK. + /// + /// + /// + /// + /// Pointer to storage for the returned values. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glGetHistogramParameteriv")] + public static + unsafe void GetHistogramParameter(OpenTK.Graphics.OpenGL.HistogramTarget target, OpenTK.Graphics.OpenGL.GetHistogramParameterPName pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetHistogramParameteriv((OpenTK.Graphics.OpenGL.HistogramTarget)target, (OpenTK.Graphics.OpenGL.GetHistogramParameterPName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: v3.2] + [AutoGenerated(Category = "VERSION_3_2", Version = "3.2", EntryPoint = "glGetInteger64i_v")] + public static + void GetInteger(OpenTK.Graphics.OpenGL.GetIndexedPName target, Int32 index, [OutAttribute] Int64[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* data_ptr = data) + { + Delegates.glGetInteger64i_v((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Int64*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v3.2] + [AutoGenerated(Category = "VERSION_3_2", Version = "3.2", EntryPoint = "glGetInteger64i_v")] + public static + void GetInteger(OpenTK.Graphics.OpenGL.GetIndexedPName target, Int32 index, [OutAttribute] out Int64 data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* data_ptr = &data) + { + Delegates.glGetInteger64i_v((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Int64*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: v3.2] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_2", Version = "3.2", EntryPoint = "glGetInteger64i_v")] + public static + unsafe void GetInteger(OpenTK.Graphics.OpenGL.GetIndexedPName target, Int32 index, [OutAttribute] Int64* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetInteger64i_v((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Int64*)data); + #if DEBUG + } + #endif + } + + /// [requires: v3.2] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_2", Version = "3.2", EntryPoint = "glGetInteger64i_v")] + public static + void GetInteger(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] Int64[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* data_ptr = data) + { + Delegates.glGetInteger64i_v((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Int64*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v3.2] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_2", Version = "3.2", EntryPoint = "glGetInteger64i_v")] + public static + void GetInteger(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] out Int64 data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* data_ptr = &data) + { + Delegates.glGetInteger64i_v((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Int64*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: v3.2] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_2", Version = "3.2", EntryPoint = "glGetInteger64i_v")] + public static + unsafe void GetInteger(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] Int64* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetInteger64i_v((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Int64*)data); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_sync] + [AutoGenerated(Category = "ARB_sync", Version = "1.2", EntryPoint = "glGetInteger64v")] + public static + void GetInteger64(OpenTK.Graphics.OpenGL.ArbSync pname, [OutAttribute] Int64[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* @params_ptr = @params) + { + Delegates.glGetInteger64v((OpenTK.Graphics.OpenGL.ArbSync)pname, (Int64*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_sync] + [AutoGenerated(Category = "ARB_sync", Version = "1.2", EntryPoint = "glGetInteger64v")] + public static + void GetInteger64(OpenTK.Graphics.OpenGL.ArbSync pname, [OutAttribute] out Int64 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* @params_ptr = &@params) + { + Delegates.glGetInteger64v((OpenTK.Graphics.OpenGL.ArbSync)pname, (Int64*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_sync] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_sync", Version = "1.2", EntryPoint = "glGetInteger64v")] + public static + unsafe void GetInteger64(OpenTK.Graphics.OpenGL.ArbSync pname, [OutAttribute] Int64* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetInteger64v((OpenTK.Graphics.OpenGL.ArbSync)pname, (Int64*)@params); + #if DEBUG + } + #endif + } + + /// [requires: v3.0] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetIntegeri_v")] + public static + void GetInteger(OpenTK.Graphics.OpenGL.GetIndexedPName target, Int32 index, [OutAttribute] Int32[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* data_ptr = data) + { + Delegates.glGetIntegeri_v((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Int32*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v3.0] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetIntegeri_v")] + public static + void GetInteger(OpenTK.Graphics.OpenGL.GetIndexedPName target, Int32 index, [OutAttribute] out Int32 data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* data_ptr = &data) + { + Delegates.glGetIntegeri_v((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Int32*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: v3.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetIntegeri_v")] + public static + unsafe void GetInteger(OpenTK.Graphics.OpenGL.GetIndexedPName target, Int32 index, [OutAttribute] Int32* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetIntegeri_v((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Int32*)data); + #if DEBUG + } + #endif + } + + /// [requires: v3.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetIntegeri_v")] + public static + void GetInteger(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] Int32[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* data_ptr = data) + { + Delegates.glGetIntegeri_v((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Int32*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v3.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetIntegeri_v")] + public static + void GetInteger(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] out Int32 data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* data_ptr = &data) + { + Delegates.glGetIntegeri_v((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Int32*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: v3.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetIntegeri_v")] + public static + unsafe void GetInteger(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] Int32* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetIntegeri_v((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Int32*)data); + #if DEBUG + } + #endif + } + + /// [requires: v1.0] + [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetIntegerv")] + public static + void GetInteger(OpenTK.Graphics.OpenGL.GetPName pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetIntegerv((OpenTK.Graphics.OpenGL.GetPName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v1.0] + [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetIntegerv")] + public static + void GetInteger(OpenTK.Graphics.OpenGL.GetPName pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetIntegerv((OpenTK.Graphics.OpenGL.GetPName)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: v1.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetIntegerv")] + public static + unsafe void GetInteger(OpenTK.Graphics.OpenGL.GetPName pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetIntegerv((OpenTK.Graphics.OpenGL.GetPName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Return light source parameter values + /// + /// + /// + /// Specifies a light source. The number of possible lights depends on the implementation, but at least eight lights are supported. They are identified by symbolic names of the form GL_LIGHT where ranges from 0 to the value of GL_MAX_LIGHTS - 1. + /// + /// + /// + /// + /// Specifies a light source parameter for light. Accepted symbolic names are GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_POSITION, GL_SPOT_DIRECTION, GL_SPOT_EXPONENT, GL_SPOT_CUTOFF, GL_CONSTANT_ATTENUATION, GL_LINEAR_ATTENUATION, and GL_QUADRATIC_ATTENUATION. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glGetLightfv")] + public static + void GetLight(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetLightfv((OpenTK.Graphics.OpenGL.LightName)light, (OpenTK.Graphics.OpenGL.LightParameter)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Return light source parameter values + /// + /// + /// + /// Specifies a light source. The number of possible lights depends on the implementation, but at least eight lights are supported. They are identified by symbolic names of the form GL_LIGHT where ranges from 0 to the value of GL_MAX_LIGHTS - 1. + /// + /// + /// + /// + /// Specifies a light source parameter for light. Accepted symbolic names are GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_POSITION, GL_SPOT_DIRECTION, GL_SPOT_EXPONENT, GL_SPOT_CUTOFF, GL_CONSTANT_ATTENUATION, GL_LINEAR_ATTENUATION, and GL_QUADRATIC_ATTENUATION. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glGetLightfv")] + public static + void GetLight(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetLightfv((OpenTK.Graphics.OpenGL.LightName)light, (OpenTK.Graphics.OpenGL.LightParameter)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Return light source parameter values + /// + /// + /// + /// Specifies a light source. The number of possible lights depends on the implementation, but at least eight lights are supported. They are identified by symbolic names of the form GL_LIGHT where ranges from 0 to the value of GL_MAX_LIGHTS - 1. + /// + /// + /// + /// + /// Specifies a light source parameter for light. Accepted symbolic names are GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_POSITION, GL_SPOT_DIRECTION, GL_SPOT_EXPONENT, GL_SPOT_CUTOFF, GL_CONSTANT_ATTENUATION, GL_LINEAR_ATTENUATION, and GL_QUADRATIC_ATTENUATION. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glGetLightfv")] + public static + unsafe void GetLight(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetLightfv((OpenTK.Graphics.OpenGL.LightName)light, (OpenTK.Graphics.OpenGL.LightParameter)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Return light source parameter values + /// + /// + /// + /// Specifies a light source. The number of possible lights depends on the implementation, but at least eight lights are supported. They are identified by symbolic names of the form GL_LIGHT where ranges from 0 to the value of GL_MAX_LIGHTS - 1. + /// + /// + /// + /// + /// Specifies a light source parameter for light. Accepted symbolic names are GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_POSITION, GL_SPOT_DIRECTION, GL_SPOT_EXPONENT, GL_SPOT_CUTOFF, GL_CONSTANT_ATTENUATION, GL_LINEAR_ATTENUATION, and GL_QUADRATIC_ATTENUATION. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glGetLightiv")] + public static + void GetLight(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetLightiv((OpenTK.Graphics.OpenGL.LightName)light, (OpenTK.Graphics.OpenGL.LightParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Return light source parameter values + /// + /// + /// + /// Specifies a light source. The number of possible lights depends on the implementation, but at least eight lights are supported. They are identified by symbolic names of the form GL_LIGHT where ranges from 0 to the value of GL_MAX_LIGHTS - 1. + /// + /// + /// + /// + /// Specifies a light source parameter for light. Accepted symbolic names are GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_POSITION, GL_SPOT_DIRECTION, GL_SPOT_EXPONENT, GL_SPOT_CUTOFF, GL_CONSTANT_ATTENUATION, GL_LINEAR_ATTENUATION, and GL_QUADRATIC_ATTENUATION. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glGetLightiv")] + public static + void GetLight(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetLightiv((OpenTK.Graphics.OpenGL.LightName)light, (OpenTK.Graphics.OpenGL.LightParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Return light source parameter values + /// + /// + /// + /// Specifies a light source. The number of possible lights depends on the implementation, but at least eight lights are supported. They are identified by symbolic names of the form GL_LIGHT where ranges from 0 to the value of GL_MAX_LIGHTS - 1. + /// + /// + /// + /// + /// Specifies a light source parameter for light. Accepted symbolic names are GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_POSITION, GL_SPOT_DIRECTION, GL_SPOT_EXPONENT, GL_SPOT_CUTOFF, GL_CONSTANT_ATTENUATION, GL_LINEAR_ATTENUATION, and GL_QUADRATIC_ATTENUATION. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glGetLightiv")] + public static + unsafe void GetLight(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetLightiv((OpenTK.Graphics.OpenGL.LightName)light, (OpenTK.Graphics.OpenGL.LightParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Return evaluator parameters + /// + /// + /// + /// Specifies the symbolic name of a map. Accepted values are GL_MAP1_COLOR_4, GL_MAP1_INDEX, GL_MAP1_NORMAL, GL_MAP1_TEXTURE_COORD_1, GL_MAP1_TEXTURE_COORD_2, GL_MAP1_TEXTURE_COORD_3, GL_MAP1_TEXTURE_COORD_4, GL_MAP1_VERTEX_3, GL_MAP1_VERTEX_4, GL_MAP2_COLOR_4, GL_MAP2_INDEX, GL_MAP2_NORMAL, GL_MAP2_TEXTURE_COORD_1, GL_MAP2_TEXTURE_COORD_2, GL_MAP2_TEXTURE_COORD_3, GL_MAP2_TEXTURE_COORD_4, GL_MAP2_VERTEX_3, and GL_MAP2_VERTEX_4. + /// + /// + /// + /// + /// Specifies which parameter to return. Symbolic names GL_COEFF, GL_ORDER, and GL_DOMAIN are accepted. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glGetMapdv")] + public static + void GetMap(OpenTK.Graphics.OpenGL.MapTarget target, OpenTK.Graphics.OpenGL.GetMapQuery query, [OutAttribute] Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glGetMapdv((OpenTK.Graphics.OpenGL.MapTarget)target, (OpenTK.Graphics.OpenGL.GetMapQuery)query, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Return evaluator parameters + /// + /// + /// + /// Specifies the symbolic name of a map. Accepted values are GL_MAP1_COLOR_4, GL_MAP1_INDEX, GL_MAP1_NORMAL, GL_MAP1_TEXTURE_COORD_1, GL_MAP1_TEXTURE_COORD_2, GL_MAP1_TEXTURE_COORD_3, GL_MAP1_TEXTURE_COORD_4, GL_MAP1_VERTEX_3, GL_MAP1_VERTEX_4, GL_MAP2_COLOR_4, GL_MAP2_INDEX, GL_MAP2_NORMAL, GL_MAP2_TEXTURE_COORD_1, GL_MAP2_TEXTURE_COORD_2, GL_MAP2_TEXTURE_COORD_3, GL_MAP2_TEXTURE_COORD_4, GL_MAP2_VERTEX_3, and GL_MAP2_VERTEX_4. + /// + /// + /// + /// + /// Specifies which parameter to return. Symbolic names GL_COEFF, GL_ORDER, and GL_DOMAIN are accepted. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glGetMapdv")] + public static + void GetMap(OpenTK.Graphics.OpenGL.MapTarget target, OpenTK.Graphics.OpenGL.GetMapQuery query, [OutAttribute] out Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glGetMapdv((OpenTK.Graphics.OpenGL.MapTarget)target, (OpenTK.Graphics.OpenGL.GetMapQuery)query, (Double*)v_ptr); + v = *v_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Return evaluator parameters + /// + /// + /// + /// Specifies the symbolic name of a map. Accepted values are GL_MAP1_COLOR_4, GL_MAP1_INDEX, GL_MAP1_NORMAL, GL_MAP1_TEXTURE_COORD_1, GL_MAP1_TEXTURE_COORD_2, GL_MAP1_TEXTURE_COORD_3, GL_MAP1_TEXTURE_COORD_4, GL_MAP1_VERTEX_3, GL_MAP1_VERTEX_4, GL_MAP2_COLOR_4, GL_MAP2_INDEX, GL_MAP2_NORMAL, GL_MAP2_TEXTURE_COORD_1, GL_MAP2_TEXTURE_COORD_2, GL_MAP2_TEXTURE_COORD_3, GL_MAP2_TEXTURE_COORD_4, GL_MAP2_VERTEX_3, and GL_MAP2_VERTEX_4. + /// + /// + /// + /// + /// Specifies which parameter to return. Symbolic names GL_COEFF, GL_ORDER, and GL_DOMAIN are accepted. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glGetMapdv")] + public static + unsafe void GetMap(OpenTK.Graphics.OpenGL.MapTarget target, OpenTK.Graphics.OpenGL.GetMapQuery query, [OutAttribute] Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMapdv((OpenTK.Graphics.OpenGL.MapTarget)target, (OpenTK.Graphics.OpenGL.GetMapQuery)query, (Double*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Return evaluator parameters + /// + /// + /// + /// Specifies the symbolic name of a map. Accepted values are GL_MAP1_COLOR_4, GL_MAP1_INDEX, GL_MAP1_NORMAL, GL_MAP1_TEXTURE_COORD_1, GL_MAP1_TEXTURE_COORD_2, GL_MAP1_TEXTURE_COORD_3, GL_MAP1_TEXTURE_COORD_4, GL_MAP1_VERTEX_3, GL_MAP1_VERTEX_4, GL_MAP2_COLOR_4, GL_MAP2_INDEX, GL_MAP2_NORMAL, GL_MAP2_TEXTURE_COORD_1, GL_MAP2_TEXTURE_COORD_2, GL_MAP2_TEXTURE_COORD_3, GL_MAP2_TEXTURE_COORD_4, GL_MAP2_VERTEX_3, and GL_MAP2_VERTEX_4. + /// + /// + /// + /// + /// Specifies which parameter to return. Symbolic names GL_COEFF, GL_ORDER, and GL_DOMAIN are accepted. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glGetMapfv")] + public static + void GetMap(OpenTK.Graphics.OpenGL.MapTarget target, OpenTK.Graphics.OpenGL.GetMapQuery query, [OutAttribute] Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glGetMapfv((OpenTK.Graphics.OpenGL.MapTarget)target, (OpenTK.Graphics.OpenGL.GetMapQuery)query, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Return evaluator parameters + /// + /// + /// + /// Specifies the symbolic name of a map. Accepted values are GL_MAP1_COLOR_4, GL_MAP1_INDEX, GL_MAP1_NORMAL, GL_MAP1_TEXTURE_COORD_1, GL_MAP1_TEXTURE_COORD_2, GL_MAP1_TEXTURE_COORD_3, GL_MAP1_TEXTURE_COORD_4, GL_MAP1_VERTEX_3, GL_MAP1_VERTEX_4, GL_MAP2_COLOR_4, GL_MAP2_INDEX, GL_MAP2_NORMAL, GL_MAP2_TEXTURE_COORD_1, GL_MAP2_TEXTURE_COORD_2, GL_MAP2_TEXTURE_COORD_3, GL_MAP2_TEXTURE_COORD_4, GL_MAP2_VERTEX_3, and GL_MAP2_VERTEX_4. + /// + /// + /// + /// + /// Specifies which parameter to return. Symbolic names GL_COEFF, GL_ORDER, and GL_DOMAIN are accepted. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glGetMapfv")] + public static + void GetMap(OpenTK.Graphics.OpenGL.MapTarget target, OpenTK.Graphics.OpenGL.GetMapQuery query, [OutAttribute] out Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glGetMapfv((OpenTK.Graphics.OpenGL.MapTarget)target, (OpenTK.Graphics.OpenGL.GetMapQuery)query, (Single*)v_ptr); + v = *v_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Return evaluator parameters + /// + /// + /// + /// Specifies the symbolic name of a map. Accepted values are GL_MAP1_COLOR_4, GL_MAP1_INDEX, GL_MAP1_NORMAL, GL_MAP1_TEXTURE_COORD_1, GL_MAP1_TEXTURE_COORD_2, GL_MAP1_TEXTURE_COORD_3, GL_MAP1_TEXTURE_COORD_4, GL_MAP1_VERTEX_3, GL_MAP1_VERTEX_4, GL_MAP2_COLOR_4, GL_MAP2_INDEX, GL_MAP2_NORMAL, GL_MAP2_TEXTURE_COORD_1, GL_MAP2_TEXTURE_COORD_2, GL_MAP2_TEXTURE_COORD_3, GL_MAP2_TEXTURE_COORD_4, GL_MAP2_VERTEX_3, and GL_MAP2_VERTEX_4. + /// + /// + /// + /// + /// Specifies which parameter to return. Symbolic names GL_COEFF, GL_ORDER, and GL_DOMAIN are accepted. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glGetMapfv")] + public static + unsafe void GetMap(OpenTK.Graphics.OpenGL.MapTarget target, OpenTK.Graphics.OpenGL.GetMapQuery query, [OutAttribute] Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMapfv((OpenTK.Graphics.OpenGL.MapTarget)target, (OpenTK.Graphics.OpenGL.GetMapQuery)query, (Single*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Return evaluator parameters + /// + /// + /// + /// Specifies the symbolic name of a map. Accepted values are GL_MAP1_COLOR_4, GL_MAP1_INDEX, GL_MAP1_NORMAL, GL_MAP1_TEXTURE_COORD_1, GL_MAP1_TEXTURE_COORD_2, GL_MAP1_TEXTURE_COORD_3, GL_MAP1_TEXTURE_COORD_4, GL_MAP1_VERTEX_3, GL_MAP1_VERTEX_4, GL_MAP2_COLOR_4, GL_MAP2_INDEX, GL_MAP2_NORMAL, GL_MAP2_TEXTURE_COORD_1, GL_MAP2_TEXTURE_COORD_2, GL_MAP2_TEXTURE_COORD_3, GL_MAP2_TEXTURE_COORD_4, GL_MAP2_VERTEX_3, and GL_MAP2_VERTEX_4. + /// + /// + /// + /// + /// Specifies which parameter to return. Symbolic names GL_COEFF, GL_ORDER, and GL_DOMAIN are accepted. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glGetMapiv")] + public static + void GetMap(OpenTK.Graphics.OpenGL.MapTarget target, OpenTK.Graphics.OpenGL.GetMapQuery query, [OutAttribute] Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glGetMapiv((OpenTK.Graphics.OpenGL.MapTarget)target, (OpenTK.Graphics.OpenGL.GetMapQuery)query, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Return evaluator parameters + /// + /// + /// + /// Specifies the symbolic name of a map. Accepted values are GL_MAP1_COLOR_4, GL_MAP1_INDEX, GL_MAP1_NORMAL, GL_MAP1_TEXTURE_COORD_1, GL_MAP1_TEXTURE_COORD_2, GL_MAP1_TEXTURE_COORD_3, GL_MAP1_TEXTURE_COORD_4, GL_MAP1_VERTEX_3, GL_MAP1_VERTEX_4, GL_MAP2_COLOR_4, GL_MAP2_INDEX, GL_MAP2_NORMAL, GL_MAP2_TEXTURE_COORD_1, GL_MAP2_TEXTURE_COORD_2, GL_MAP2_TEXTURE_COORD_3, GL_MAP2_TEXTURE_COORD_4, GL_MAP2_VERTEX_3, and GL_MAP2_VERTEX_4. + /// + /// + /// + /// + /// Specifies which parameter to return. Symbolic names GL_COEFF, GL_ORDER, and GL_DOMAIN are accepted. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glGetMapiv")] + public static + void GetMap(OpenTK.Graphics.OpenGL.MapTarget target, OpenTK.Graphics.OpenGL.GetMapQuery query, [OutAttribute] out Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glGetMapiv((OpenTK.Graphics.OpenGL.MapTarget)target, (OpenTK.Graphics.OpenGL.GetMapQuery)query, (Int32*)v_ptr); + v = *v_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Return evaluator parameters + /// + /// + /// + /// Specifies the symbolic name of a map. Accepted values are GL_MAP1_COLOR_4, GL_MAP1_INDEX, GL_MAP1_NORMAL, GL_MAP1_TEXTURE_COORD_1, GL_MAP1_TEXTURE_COORD_2, GL_MAP1_TEXTURE_COORD_3, GL_MAP1_TEXTURE_COORD_4, GL_MAP1_VERTEX_3, GL_MAP1_VERTEX_4, GL_MAP2_COLOR_4, GL_MAP2_INDEX, GL_MAP2_NORMAL, GL_MAP2_TEXTURE_COORD_1, GL_MAP2_TEXTURE_COORD_2, GL_MAP2_TEXTURE_COORD_3, GL_MAP2_TEXTURE_COORD_4, GL_MAP2_VERTEX_3, and GL_MAP2_VERTEX_4. + /// + /// + /// + /// + /// Specifies which parameter to return. Symbolic names GL_COEFF, GL_ORDER, and GL_DOMAIN are accepted. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glGetMapiv")] + public static + unsafe void GetMap(OpenTK.Graphics.OpenGL.MapTarget target, OpenTK.Graphics.OpenGL.GetMapQuery query, [OutAttribute] Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMapiv((OpenTK.Graphics.OpenGL.MapTarget)target, (OpenTK.Graphics.OpenGL.GetMapQuery)query, (Int32*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Return material parameters + /// + /// + /// + /// Specifies which of the two materials is being queried. GL_FRONT or GL_BACK are accepted, representing the front and back materials, respectively. + /// + /// + /// + /// + /// Specifies the material parameter to return. GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_EMISSION, GL_SHININESS, and GL_COLOR_INDEXES are accepted. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glGetMaterialfv")] + public static + void GetMaterial(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetMaterialfv((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Return material parameters + /// + /// + /// + /// Specifies which of the two materials is being queried. GL_FRONT or GL_BACK are accepted, representing the front and back materials, respectively. + /// + /// + /// + /// + /// Specifies the material parameter to return. GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_EMISSION, GL_SHININESS, and GL_COLOR_INDEXES are accepted. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glGetMaterialfv")] + public static + void GetMaterial(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetMaterialfv((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Return material parameters + /// + /// + /// + /// Specifies which of the two materials is being queried. GL_FRONT or GL_BACK are accepted, representing the front and back materials, respectively. + /// + /// + /// + /// + /// Specifies the material parameter to return. GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_EMISSION, GL_SHININESS, and GL_COLOR_INDEXES are accepted. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glGetMaterialfv")] + public static + unsafe void GetMaterial(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMaterialfv((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Return material parameters + /// + /// + /// + /// Specifies which of the two materials is being queried. GL_FRONT or GL_BACK are accepted, representing the front and back materials, respectively. + /// + /// + /// + /// + /// Specifies the material parameter to return. GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_EMISSION, GL_SHININESS, and GL_COLOR_INDEXES are accepted. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glGetMaterialiv")] + public static + void GetMaterial(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetMaterialiv((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Return material parameters + /// + /// + /// + /// Specifies which of the two materials is being queried. GL_FRONT or GL_BACK are accepted, representing the front and back materials, respectively. + /// + /// + /// + /// + /// Specifies the material parameter to return. GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_EMISSION, GL_SHININESS, and GL_COLOR_INDEXES are accepted. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glGetMaterialiv")] + public static + void GetMaterial(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetMaterialiv((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Return material parameters + /// + /// + /// + /// Specifies which of the two materials is being queried. GL_FRONT or GL_BACK are accepted, representing the front and back materials, respectively. + /// + /// + /// + /// + /// Specifies the material parameter to return. GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_EMISSION, GL_SHININESS, and GL_COLOR_INDEXES are accepted. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glGetMaterialiv")] + public static + unsafe void GetMaterial(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMaterialiv((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Get minimum and maximum pixel values + /// + /// + /// + /// Must be GL_MINMAX. + /// + /// + /// + /// + /// If GL_TRUE, all entries in the minmax table that are actually returned are reset to their initial values. (Other entries are unaltered.) If GL_FALSE, the minmax table is unaltered. + /// + /// + /// + /// + /// The format of the data to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the data to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// A pointer to storage for the returned values. + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glGetMinmax")] + public static + void GetMinmax(OpenTK.Graphics.OpenGL.MinmaxTarget target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMinmax((OpenTK.Graphics.OpenGL.MinmaxTarget)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Get minimum and maximum pixel values + /// + /// + /// + /// Must be GL_MINMAX. + /// + /// + /// + /// + /// If GL_TRUE, all entries in the minmax table that are actually returned are reset to their initial values. (Other entries are unaltered.) If GL_FALSE, the minmax table is unaltered. + /// + /// + /// + /// + /// The format of the data to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the data to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// A pointer to storage for the returned values. + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glGetMinmax")] + public static + void GetMinmax(OpenTK.Graphics.OpenGL.MinmaxTarget target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[] values) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); + try + { + Delegates.glGetMinmax((OpenTK.Graphics.OpenGL.MinmaxTarget)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); + } + finally + { + values_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Get minimum and maximum pixel values + /// + /// + /// + /// Must be GL_MINMAX. + /// + /// + /// + /// + /// If GL_TRUE, all entries in the minmax table that are actually returned are reset to their initial values. (Other entries are unaltered.) If GL_FALSE, the minmax table is unaltered. + /// + /// + /// + /// + /// The format of the data to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the data to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// A pointer to storage for the returned values. + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glGetMinmax")] + public static + void GetMinmax(OpenTK.Graphics.OpenGL.MinmaxTarget target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[,] values) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); + try + { + Delegates.glGetMinmax((OpenTK.Graphics.OpenGL.MinmaxTarget)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); + } + finally + { + values_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Get minimum and maximum pixel values + /// + /// + /// + /// Must be GL_MINMAX. + /// + /// + /// + /// + /// If GL_TRUE, all entries in the minmax table that are actually returned are reset to their initial values. (Other entries are unaltered.) If GL_FALSE, the minmax table is unaltered. + /// + /// + /// + /// + /// The format of the data to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the data to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// A pointer to storage for the returned values. + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glGetMinmax")] + public static + void GetMinmax(OpenTK.Graphics.OpenGL.MinmaxTarget target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[,,] values) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); + try + { + Delegates.glGetMinmax((OpenTK.Graphics.OpenGL.MinmaxTarget)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); + } + finally + { + values_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Get minimum and maximum pixel values + /// + /// + /// + /// Must be GL_MINMAX. + /// + /// + /// + /// + /// If GL_TRUE, all entries in the minmax table that are actually returned are reset to their initial values. (Other entries are unaltered.) If GL_FALSE, the minmax table is unaltered. + /// + /// + /// + /// + /// The format of the data to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the data to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// A pointer to storage for the returned values. + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glGetMinmax")] + public static + void GetMinmax(OpenTK.Graphics.OpenGL.MinmaxTarget target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T4 values) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); + try + { + Delegates.glGetMinmax((OpenTK.Graphics.OpenGL.MinmaxTarget)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); + values = (T4)values_ptr.Target; + } + finally + { + values_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Get minmax parameters + /// + /// + /// + /// Must be GL_MINMAX. + /// + /// + /// + /// + /// The parameter to be retrieved. Must be one of GL_MINMAX_FORMAT or GL_MINMAX_SINK. + /// + /// + /// + /// + /// A pointer to storage for the retrieved parameters. + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glGetMinmaxParameterfv")] + public static + void GetMinmaxParameter(OpenTK.Graphics.OpenGL.MinmaxTarget target, OpenTK.Graphics.OpenGL.GetMinmaxParameterPName pname, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetMinmaxParameterfv((OpenTK.Graphics.OpenGL.MinmaxTarget)target, (OpenTK.Graphics.OpenGL.GetMinmaxParameterPName)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Get minmax parameters + /// + /// + /// + /// Must be GL_MINMAX. + /// + /// + /// + /// + /// The parameter to be retrieved. Must be one of GL_MINMAX_FORMAT or GL_MINMAX_SINK. + /// + /// + /// + /// + /// A pointer to storage for the retrieved parameters. + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glGetMinmaxParameterfv")] + public static + void GetMinmaxParameter(OpenTK.Graphics.OpenGL.MinmaxTarget target, OpenTK.Graphics.OpenGL.GetMinmaxParameterPName pname, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetMinmaxParameterfv((OpenTK.Graphics.OpenGL.MinmaxTarget)target, (OpenTK.Graphics.OpenGL.GetMinmaxParameterPName)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Get minmax parameters + /// + /// + /// + /// Must be GL_MINMAX. + /// + /// + /// + /// + /// The parameter to be retrieved. Must be one of GL_MINMAX_FORMAT or GL_MINMAX_SINK. + /// + /// + /// + /// + /// A pointer to storage for the retrieved parameters. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glGetMinmaxParameterfv")] + public static + unsafe void GetMinmaxParameter(OpenTK.Graphics.OpenGL.MinmaxTarget target, OpenTK.Graphics.OpenGL.GetMinmaxParameterPName pname, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMinmaxParameterfv((OpenTK.Graphics.OpenGL.MinmaxTarget)target, (OpenTK.Graphics.OpenGL.GetMinmaxParameterPName)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Get minmax parameters + /// + /// + /// + /// Must be GL_MINMAX. + /// + /// + /// + /// + /// The parameter to be retrieved. Must be one of GL_MINMAX_FORMAT or GL_MINMAX_SINK. + /// + /// + /// + /// + /// A pointer to storage for the retrieved parameters. + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glGetMinmaxParameteriv")] + public static + void GetMinmaxParameter(OpenTK.Graphics.OpenGL.MinmaxTarget target, OpenTK.Graphics.OpenGL.GetMinmaxParameterPName pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetMinmaxParameteriv((OpenTK.Graphics.OpenGL.MinmaxTarget)target, (OpenTK.Graphics.OpenGL.GetMinmaxParameterPName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Get minmax parameters + /// + /// + /// + /// Must be GL_MINMAX. + /// + /// + /// + /// + /// The parameter to be retrieved. Must be one of GL_MINMAX_FORMAT or GL_MINMAX_SINK. + /// + /// + /// + /// + /// A pointer to storage for the retrieved parameters. + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glGetMinmaxParameteriv")] + public static + void GetMinmaxParameter(OpenTK.Graphics.OpenGL.MinmaxTarget target, OpenTK.Graphics.OpenGL.GetMinmaxParameterPName pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetMinmaxParameteriv((OpenTK.Graphics.OpenGL.MinmaxTarget)target, (OpenTK.Graphics.OpenGL.GetMinmaxParameterPName)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Get minmax parameters + /// + /// + /// + /// Must be GL_MINMAX. + /// + /// + /// + /// + /// The parameter to be retrieved. Must be one of GL_MINMAX_FORMAT or GL_MINMAX_SINK. + /// + /// + /// + /// + /// A pointer to storage for the retrieved parameters. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glGetMinmaxParameteriv")] + public static + unsafe void GetMinmaxParameter(OpenTK.Graphics.OpenGL.MinmaxTarget target, OpenTK.Graphics.OpenGL.GetMinmaxParameterPName pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMinmaxParameteriv((OpenTK.Graphics.OpenGL.MinmaxTarget)target, (OpenTK.Graphics.OpenGL.GetMinmaxParameterPName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_texture_multisample] + /// Retrieve the location of a sample + /// + /// + /// + /// Specifies the sample parameter name. pname must be GL_SAMPLE_POSITION. + /// + /// + /// + /// + /// Specifies the index of the sample whose position to query. + /// + /// + /// + /// + /// Specifies the address of an array to receive the position of the sample. + /// + /// + [AutoGenerated(Category = "ARB_texture_multisample", Version = "1.2", EntryPoint = "glGetMultisamplefv")] + public static + void GetMultisample(OpenTK.Graphics.OpenGL.GetMultisamplePName pname, Int32 index, [OutAttribute] Single[] val) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* val_ptr = val) + { + Delegates.glGetMultisamplefv((OpenTK.Graphics.OpenGL.GetMultisamplePName)pname, (UInt32)index, (Single*)val_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_texture_multisample] + /// Retrieve the location of a sample + /// + /// + /// + /// Specifies the sample parameter name. pname must be GL_SAMPLE_POSITION. + /// + /// + /// + /// + /// Specifies the index of the sample whose position to query. + /// + /// + /// + /// + /// Specifies the address of an array to receive the position of the sample. + /// + /// + [AutoGenerated(Category = "ARB_texture_multisample", Version = "1.2", EntryPoint = "glGetMultisamplefv")] + public static + void GetMultisample(OpenTK.Graphics.OpenGL.GetMultisamplePName pname, Int32 index, [OutAttribute] out Single val) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* val_ptr = &val) + { + Delegates.glGetMultisamplefv((OpenTK.Graphics.OpenGL.GetMultisamplePName)pname, (UInt32)index, (Single*)val_ptr); + val = *val_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_texture_multisample] + /// Retrieve the location of a sample + /// + /// + /// + /// Specifies the sample parameter name. pname must be GL_SAMPLE_POSITION. + /// + /// + /// + /// + /// Specifies the index of the sample whose position to query. + /// + /// + /// + /// + /// Specifies the address of an array to receive the position of the sample. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_texture_multisample", Version = "1.2", EntryPoint = "glGetMultisamplefv")] + public static + unsafe void GetMultisample(OpenTK.Graphics.OpenGL.GetMultisamplePName pname, Int32 index, [OutAttribute] Single* val) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMultisamplefv((OpenTK.Graphics.OpenGL.GetMultisamplePName)pname, (UInt32)index, (Single*)val); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_texture_multisample] + /// Retrieve the location of a sample + /// + /// + /// + /// Specifies the sample parameter name. pname must be GL_SAMPLE_POSITION. + /// + /// + /// + /// + /// Specifies the index of the sample whose position to query. + /// + /// + /// + /// + /// Specifies the address of an array to receive the position of the sample. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_texture_multisample", Version = "1.2", EntryPoint = "glGetMultisamplefv")] + public static + void GetMultisample(OpenTK.Graphics.OpenGL.GetMultisamplePName pname, UInt32 index, [OutAttribute] Single[] val) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* val_ptr = val) + { + Delegates.glGetMultisamplefv((OpenTK.Graphics.OpenGL.GetMultisamplePName)pname, (UInt32)index, (Single*)val_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_texture_multisample] + /// Retrieve the location of a sample + /// + /// + /// + /// Specifies the sample parameter name. pname must be GL_SAMPLE_POSITION. + /// + /// + /// + /// + /// Specifies the index of the sample whose position to query. + /// + /// + /// + /// + /// Specifies the address of an array to receive the position of the sample. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_texture_multisample", Version = "1.2", EntryPoint = "glGetMultisamplefv")] + public static + void GetMultisample(OpenTK.Graphics.OpenGL.GetMultisamplePName pname, UInt32 index, [OutAttribute] out Single val) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* val_ptr = &val) + { + Delegates.glGetMultisamplefv((OpenTK.Graphics.OpenGL.GetMultisamplePName)pname, (UInt32)index, (Single*)val_ptr); + val = *val_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_texture_multisample] + /// Retrieve the location of a sample + /// + /// + /// + /// Specifies the sample parameter name. pname must be GL_SAMPLE_POSITION. + /// + /// + /// + /// + /// Specifies the index of the sample whose position to query. + /// + /// + /// + /// + /// Specifies the address of an array to receive the position of the sample. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_texture_multisample", Version = "1.2", EntryPoint = "glGetMultisamplefv")] + public static + unsafe void GetMultisample(OpenTK.Graphics.OpenGL.GetMultisamplePName pname, UInt32 index, [OutAttribute] Single* val) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMultisamplefv((OpenTK.Graphics.OpenGL.GetMultisamplePName)pname, (UInt32)index, (Single*)val); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Return the specified pixel map + /// + /// + /// + /// Specifies the name of the pixel map to return. Accepted values are GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, and GL_PIXEL_MAP_A_TO_A. + /// + /// + /// + /// + /// Returns the pixel map contents. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glGetPixelMapfv")] + public static + void GetPixelMap(OpenTK.Graphics.OpenGL.PixelMap map, [OutAttribute] Single[] values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* values_ptr = values) + { + Delegates.glGetPixelMapfv((OpenTK.Graphics.OpenGL.PixelMap)map, (Single*)values_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Return the specified pixel map + /// + /// + /// + /// Specifies the name of the pixel map to return. Accepted values are GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, and GL_PIXEL_MAP_A_TO_A. + /// + /// + /// + /// + /// Returns the pixel map contents. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glGetPixelMapfv")] + public static + void GetPixelMap(OpenTK.Graphics.OpenGL.PixelMap map, [OutAttribute] out Single values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* values_ptr = &values) + { + Delegates.glGetPixelMapfv((OpenTK.Graphics.OpenGL.PixelMap)map, (Single*)values_ptr); + values = *values_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Return the specified pixel map + /// + /// + /// + /// Specifies the name of the pixel map to return. Accepted values are GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, and GL_PIXEL_MAP_A_TO_A. + /// + /// + /// + /// + /// Returns the pixel map contents. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glGetPixelMapfv")] + public static + unsafe void GetPixelMap(OpenTK.Graphics.OpenGL.PixelMap map, [OutAttribute] Single* values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPixelMapfv((OpenTK.Graphics.OpenGL.PixelMap)map, (Single*)values); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Return the specified pixel map + /// + /// + /// + /// Specifies the name of the pixel map to return. Accepted values are GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, and GL_PIXEL_MAP_A_TO_A. + /// + /// + /// + /// + /// Returns the pixel map contents. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glGetPixelMapuiv")] + public static + void GetPixelMap(OpenTK.Graphics.OpenGL.PixelMap map, [OutAttribute] Int32[] values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* values_ptr = values) + { + Delegates.glGetPixelMapuiv((OpenTK.Graphics.OpenGL.PixelMap)map, (UInt32*)values_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Return the specified pixel map + /// + /// + /// + /// Specifies the name of the pixel map to return. Accepted values are GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, and GL_PIXEL_MAP_A_TO_A. + /// + /// + /// + /// + /// Returns the pixel map contents. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glGetPixelMapuiv")] + public static + void GetPixelMap(OpenTK.Graphics.OpenGL.PixelMap map, [OutAttribute] out Int32 values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* values_ptr = &values) + { + Delegates.glGetPixelMapuiv((OpenTK.Graphics.OpenGL.PixelMap)map, (UInt32*)values_ptr); + values = *values_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Return the specified pixel map + /// + /// + /// + /// Specifies the name of the pixel map to return. Accepted values are GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, and GL_PIXEL_MAP_A_TO_A. + /// + /// + /// + /// + /// Returns the pixel map contents. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glGetPixelMapuiv")] + public static + unsafe void GetPixelMap(OpenTK.Graphics.OpenGL.PixelMap map, [OutAttribute] Int32* values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPixelMapuiv((OpenTK.Graphics.OpenGL.PixelMap)map, (UInt32*)values); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Return the specified pixel map + /// + /// + /// + /// Specifies the name of the pixel map to return. Accepted values are GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, and GL_PIXEL_MAP_A_TO_A. + /// + /// + /// + /// + /// Returns the pixel map contents. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glGetPixelMapuiv")] + public static + void GetPixelMap(OpenTK.Graphics.OpenGL.PixelMap map, [OutAttribute] UInt32[] values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* values_ptr = values) + { + Delegates.glGetPixelMapuiv((OpenTK.Graphics.OpenGL.PixelMap)map, (UInt32*)values_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Return the specified pixel map + /// + /// + /// + /// Specifies the name of the pixel map to return. Accepted values are GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, and GL_PIXEL_MAP_A_TO_A. + /// + /// + /// + /// + /// Returns the pixel map contents. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glGetPixelMapuiv")] + public static + void GetPixelMap(OpenTK.Graphics.OpenGL.PixelMap map, [OutAttribute] out UInt32 values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* values_ptr = &values) + { + Delegates.glGetPixelMapuiv((OpenTK.Graphics.OpenGL.PixelMap)map, (UInt32*)values_ptr); + values = *values_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Return the specified pixel map + /// + /// + /// + /// Specifies the name of the pixel map to return. Accepted values are GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, and GL_PIXEL_MAP_A_TO_A. + /// + /// + /// + /// + /// Returns the pixel map contents. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glGetPixelMapuiv")] + public static + unsafe void GetPixelMap(OpenTK.Graphics.OpenGL.PixelMap map, [OutAttribute] UInt32* values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPixelMapuiv((OpenTK.Graphics.OpenGL.PixelMap)map, (UInt32*)values); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Return the specified pixel map + /// + /// + /// + /// Specifies the name of the pixel map to return. Accepted values are GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, and GL_PIXEL_MAP_A_TO_A. + /// + /// + /// + /// + /// Returns the pixel map contents. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glGetPixelMapusv")] + public static + void GetPixelMap(OpenTK.Graphics.OpenGL.PixelMap map, [OutAttribute] Int16[] values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* values_ptr = values) + { + Delegates.glGetPixelMapusv((OpenTK.Graphics.OpenGL.PixelMap)map, (UInt16*)values_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Return the specified pixel map + /// + /// + /// + /// Specifies the name of the pixel map to return. Accepted values are GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, and GL_PIXEL_MAP_A_TO_A. + /// + /// + /// + /// + /// Returns the pixel map contents. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glGetPixelMapusv")] + public static + void GetPixelMap(OpenTK.Graphics.OpenGL.PixelMap map, [OutAttribute] out Int16 values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* values_ptr = &values) + { + Delegates.glGetPixelMapusv((OpenTK.Graphics.OpenGL.PixelMap)map, (UInt16*)values_ptr); + values = *values_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Return the specified pixel map + /// + /// + /// + /// Specifies the name of the pixel map to return. Accepted values are GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, and GL_PIXEL_MAP_A_TO_A. + /// + /// + /// + /// + /// Returns the pixel map contents. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glGetPixelMapusv")] + public static + unsafe void GetPixelMap(OpenTK.Graphics.OpenGL.PixelMap map, [OutAttribute] Int16* values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPixelMapusv((OpenTK.Graphics.OpenGL.PixelMap)map, (UInt16*)values); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Return the specified pixel map + /// + /// + /// + /// Specifies the name of the pixel map to return. Accepted values are GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, and GL_PIXEL_MAP_A_TO_A. + /// + /// + /// + /// + /// Returns the pixel map contents. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glGetPixelMapusv")] + public static + void GetPixelMap(OpenTK.Graphics.OpenGL.PixelMap map, [OutAttribute] UInt16[] values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt16* values_ptr = values) + { + Delegates.glGetPixelMapusv((OpenTK.Graphics.OpenGL.PixelMap)map, (UInt16*)values_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Return the specified pixel map + /// + /// + /// + /// Specifies the name of the pixel map to return. Accepted values are GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, and GL_PIXEL_MAP_A_TO_A. + /// + /// + /// + /// + /// Returns the pixel map contents. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glGetPixelMapusv")] + public static + void GetPixelMap(OpenTK.Graphics.OpenGL.PixelMap map, [OutAttribute] out UInt16 values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt16* values_ptr = &values) + { + Delegates.glGetPixelMapusv((OpenTK.Graphics.OpenGL.PixelMap)map, (UInt16*)values_ptr); + values = *values_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Return the specified pixel map + /// + /// + /// + /// Specifies the name of the pixel map to return. Accepted values are GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, and GL_PIXEL_MAP_A_TO_A. + /// + /// + /// + /// + /// Returns the pixel map contents. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glGetPixelMapusv")] + public static + unsafe void GetPixelMap(OpenTK.Graphics.OpenGL.PixelMap map, [OutAttribute] UInt16* values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPixelMapusv((OpenTK.Graphics.OpenGL.PixelMap)map, (UInt16*)values); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1] + /// Return the address of the specified pointer + /// + /// + /// + /// Specifies the array or buffer pointer to be returned. Symbolic constants GL_COLOR_ARRAY_POINTER, GL_EDGE_FLAG_ARRAY_POINTER, GL_FOG_COORD_ARRAY_POINTER, GL_FEEDBACK_BUFFER_POINTER, GL_INDEX_ARRAY_POINTER, GL_NORMAL_ARRAY_POINTER, GL_SECONDARY_COLOR_ARRAY_POINTER, GL_SELECTION_BUFFER_POINTER, GL_TEXTURE_COORD_ARRAY_POINTER, or GL_VERTEX_ARRAY_POINTER are accepted. + /// + /// + /// + /// + /// Returns the pointer value specified by pname. + /// + /// + [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glGetPointerv")] + public static + void GetPointer(OpenTK.Graphics.OpenGL.GetPointervPName pname, [OutAttribute] IntPtr @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPointerv((OpenTK.Graphics.OpenGL.GetPointervPName)pname, (IntPtr)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1] + /// Return the address of the specified pointer + /// + /// + /// + /// Specifies the array or buffer pointer to be returned. Symbolic constants GL_COLOR_ARRAY_POINTER, GL_EDGE_FLAG_ARRAY_POINTER, GL_FOG_COORD_ARRAY_POINTER, GL_FEEDBACK_BUFFER_POINTER, GL_INDEX_ARRAY_POINTER, GL_NORMAL_ARRAY_POINTER, GL_SECONDARY_COLOR_ARRAY_POINTER, GL_SELECTION_BUFFER_POINTER, GL_TEXTURE_COORD_ARRAY_POINTER, or GL_VERTEX_ARRAY_POINTER are accepted. + /// + /// + /// + /// + /// Returns the pointer value specified by pname. + /// + /// + [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glGetPointerv")] + public static + void GetPointer(OpenTK.Graphics.OpenGL.GetPointervPName pname, [InAttribute, OutAttribute] T1[] @params) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetPointerv((OpenTK.Graphics.OpenGL.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1] + /// Return the address of the specified pointer + /// + /// + /// + /// Specifies the array or buffer pointer to be returned. Symbolic constants GL_COLOR_ARRAY_POINTER, GL_EDGE_FLAG_ARRAY_POINTER, GL_FOG_COORD_ARRAY_POINTER, GL_FEEDBACK_BUFFER_POINTER, GL_INDEX_ARRAY_POINTER, GL_NORMAL_ARRAY_POINTER, GL_SECONDARY_COLOR_ARRAY_POINTER, GL_SELECTION_BUFFER_POINTER, GL_TEXTURE_COORD_ARRAY_POINTER, or GL_VERTEX_ARRAY_POINTER are accepted. + /// + /// + /// + /// + /// Returns the pointer value specified by pname. + /// + /// + [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glGetPointerv")] + public static + void GetPointer(OpenTK.Graphics.OpenGL.GetPointervPName pname, [InAttribute, OutAttribute] T1[,] @params) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetPointerv((OpenTK.Graphics.OpenGL.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1] + /// Return the address of the specified pointer + /// + /// + /// + /// Specifies the array or buffer pointer to be returned. Symbolic constants GL_COLOR_ARRAY_POINTER, GL_EDGE_FLAG_ARRAY_POINTER, GL_FOG_COORD_ARRAY_POINTER, GL_FEEDBACK_BUFFER_POINTER, GL_INDEX_ARRAY_POINTER, GL_NORMAL_ARRAY_POINTER, GL_SECONDARY_COLOR_ARRAY_POINTER, GL_SELECTION_BUFFER_POINTER, GL_TEXTURE_COORD_ARRAY_POINTER, or GL_VERTEX_ARRAY_POINTER are accepted. + /// + /// + /// + /// + /// Returns the pointer value specified by pname. + /// + /// + [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glGetPointerv")] + public static + void GetPointer(OpenTK.Graphics.OpenGL.GetPointervPName pname, [InAttribute, OutAttribute] T1[,,] @params) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetPointerv((OpenTK.Graphics.OpenGL.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1] + /// Return the address of the specified pointer + /// + /// + /// + /// Specifies the array or buffer pointer to be returned. Symbolic constants GL_COLOR_ARRAY_POINTER, GL_EDGE_FLAG_ARRAY_POINTER, GL_FOG_COORD_ARRAY_POINTER, GL_FEEDBACK_BUFFER_POINTER, GL_INDEX_ARRAY_POINTER, GL_NORMAL_ARRAY_POINTER, GL_SECONDARY_COLOR_ARRAY_POINTER, GL_SELECTION_BUFFER_POINTER, GL_TEXTURE_COORD_ARRAY_POINTER, or GL_VERTEX_ARRAY_POINTER are accepted. + /// + /// + /// + /// + /// Returns the pointer value specified by pname. + /// + /// + [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glGetPointerv")] + public static + void GetPointer(OpenTK.Graphics.OpenGL.GetPointervPName pname, [InAttribute, OutAttribute] ref T1 @params) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetPointerv((OpenTK.Graphics.OpenGL.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + @params = (T1)@params_ptr.Target; + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Return the polygon stipple pattern + /// + /// + /// + /// Returns the stipple pattern. The initial value is all 1's. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glGetPolygonStipple")] + public static + void GetPolygonStipple([OutAttribute] Byte[] mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* mask_ptr = mask) + { + Delegates.glGetPolygonStipple((Byte*)mask_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Return the polygon stipple pattern + /// + /// + /// + /// Returns the stipple pattern. The initial value is all 1's. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glGetPolygonStipple")] + public static + void GetPolygonStipple([OutAttribute] out Byte mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* mask_ptr = &mask) + { + Delegates.glGetPolygonStipple((Byte*)mask_ptr); + mask = *mask_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Return the polygon stipple pattern + /// + /// + /// + /// Returns the stipple pattern. The initial value is all 1's. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glGetPolygonStipple")] + public static + unsafe void GetPolygonStipple([OutAttribute] Byte* mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPolygonStipple((Byte*)mask); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_get_program_binary] + /// Return a binary representation of a program object's compiled and linked executable source + /// + /// + /// + /// Specifies the name of a program object whose binary representation to retrieve. + /// + /// + /// + /// + /// Specifies the size of the buffer whose address is given by binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive the number of bytes written into binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive a token indicating the format of the binary data returned by the GL. + /// + /// + /// + /// + /// Specifies the address an array into which the GL will return program's binary representation. + /// + /// + [AutoGenerated(Category = "ARB_get_program_binary", Version = "4.1", EntryPoint = "glGetProgramBinary")] + public static + void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.OpenGL.BinaryFormat binaryFormat, [OutAttribute] IntPtr binary) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + fixed (OpenTK.Graphics.OpenGL.BinaryFormat* binaryFormat_ptr = &binaryFormat) + { + Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.OpenGL.BinaryFormat*)binaryFormat_ptr, (IntPtr)binary); + length = *length_ptr; + binaryFormat = *binaryFormat_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_get_program_binary] + /// Return a binary representation of a program object's compiled and linked executable source + /// + /// + /// + /// Specifies the name of a program object whose binary representation to retrieve. + /// + /// + /// + /// + /// Specifies the size of the buffer whose address is given by binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive the number of bytes written into binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive a token indicating the format of the binary data returned by the GL. + /// + /// + /// + /// + /// Specifies the address an array into which the GL will return program's binary representation. + /// + /// + [AutoGenerated(Category = "ARB_get_program_binary", Version = "4.1", EntryPoint = "glGetProgramBinary")] + public static + void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.OpenGL.BinaryFormat binaryFormat, [InAttribute, OutAttribute] T4[] binary) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + fixed (OpenTK.Graphics.OpenGL.BinaryFormat* binaryFormat_ptr = &binaryFormat) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.OpenGL.BinaryFormat*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); + length = *length_ptr; + binaryFormat = *binaryFormat_ptr; + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_get_program_binary] + /// Return a binary representation of a program object's compiled and linked executable source + /// + /// + /// + /// Specifies the name of a program object whose binary representation to retrieve. + /// + /// + /// + /// + /// Specifies the size of the buffer whose address is given by binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive the number of bytes written into binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive a token indicating the format of the binary data returned by the GL. + /// + /// + /// + /// + /// Specifies the address an array into which the GL will return program's binary representation. + /// + /// + [AutoGenerated(Category = "ARB_get_program_binary", Version = "4.1", EntryPoint = "glGetProgramBinary")] + public static + void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.OpenGL.BinaryFormat binaryFormat, [InAttribute, OutAttribute] T4[,] binary) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + fixed (OpenTK.Graphics.OpenGL.BinaryFormat* binaryFormat_ptr = &binaryFormat) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.OpenGL.BinaryFormat*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); + length = *length_ptr; + binaryFormat = *binaryFormat_ptr; + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_get_program_binary] + /// Return a binary representation of a program object's compiled and linked executable source + /// + /// + /// + /// Specifies the name of a program object whose binary representation to retrieve. + /// + /// + /// + /// + /// Specifies the size of the buffer whose address is given by binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive the number of bytes written into binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive a token indicating the format of the binary data returned by the GL. + /// + /// + /// + /// + /// Specifies the address an array into which the GL will return program's binary representation. + /// + /// + [AutoGenerated(Category = "ARB_get_program_binary", Version = "4.1", EntryPoint = "glGetProgramBinary")] + public static + void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.OpenGL.BinaryFormat binaryFormat, [InAttribute, OutAttribute] T4[,,] binary) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + fixed (OpenTK.Graphics.OpenGL.BinaryFormat* binaryFormat_ptr = &binaryFormat) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.OpenGL.BinaryFormat*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); + length = *length_ptr; + binaryFormat = *binaryFormat_ptr; + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_get_program_binary] + /// Return a binary representation of a program object's compiled and linked executable source + /// + /// + /// + /// Specifies the name of a program object whose binary representation to retrieve. + /// + /// + /// + /// + /// Specifies the size of the buffer whose address is given by binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive the number of bytes written into binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive a token indicating the format of the binary data returned by the GL. + /// + /// + /// + /// + /// Specifies the address an array into which the GL will return program's binary representation. + /// + /// + [AutoGenerated(Category = "ARB_get_program_binary", Version = "4.1", EntryPoint = "glGetProgramBinary")] + public static + void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.OpenGL.BinaryFormat binaryFormat, [InAttribute, OutAttribute] ref T4 binary) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + fixed (OpenTK.Graphics.OpenGL.BinaryFormat* binaryFormat_ptr = &binaryFormat) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.OpenGL.BinaryFormat*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); + length = *length_ptr; + binaryFormat = *binaryFormat_ptr; + binary = (T4)binary_ptr.Target; + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_get_program_binary] + /// Return a binary representation of a program object's compiled and linked executable source + /// + /// + /// + /// Specifies the name of a program object whose binary representation to retrieve. + /// + /// + /// + /// + /// Specifies the size of the buffer whose address is given by binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive the number of bytes written into binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive a token indicating the format of the binary data returned by the GL. + /// + /// + /// + /// + /// Specifies the address an array into which the GL will return program's binary representation. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_get_program_binary", Version = "4.1", EntryPoint = "glGetProgramBinary")] + public static + unsafe void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.OpenGL.BinaryFormat* binaryFormat, [OutAttribute] IntPtr binary) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.OpenGL.BinaryFormat*)binaryFormat, (IntPtr)binary); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_get_program_binary] + /// Return a binary representation of a program object's compiled and linked executable source + /// + /// + /// + /// Specifies the name of a program object whose binary representation to retrieve. + /// + /// + /// + /// + /// Specifies the size of the buffer whose address is given by binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive the number of bytes written into binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive a token indicating the format of the binary data returned by the GL. + /// + /// + /// + /// + /// Specifies the address an array into which the GL will return program's binary representation. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_get_program_binary", Version = "4.1", EntryPoint = "glGetProgramBinary")] + public static + unsafe void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.OpenGL.BinaryFormat* binaryFormat, [InAttribute, OutAttribute] T4[] binary) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.OpenGL.BinaryFormat*)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject()); + } + finally + { + binary_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_get_program_binary] + /// Return a binary representation of a program object's compiled and linked executable source + /// + /// + /// + /// Specifies the name of a program object whose binary representation to retrieve. + /// + /// + /// + /// + /// Specifies the size of the buffer whose address is given by binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive the number of bytes written into binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive a token indicating the format of the binary data returned by the GL. + /// + /// + /// + /// + /// Specifies the address an array into which the GL will return program's binary representation. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_get_program_binary", Version = "4.1", EntryPoint = "glGetProgramBinary")] + public static + unsafe void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.OpenGL.BinaryFormat* binaryFormat, [InAttribute, OutAttribute] T4[,] binary) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.OpenGL.BinaryFormat*)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject()); + } + finally + { + binary_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_get_program_binary] + /// Return a binary representation of a program object's compiled and linked executable source + /// + /// + /// + /// Specifies the name of a program object whose binary representation to retrieve. + /// + /// + /// + /// + /// Specifies the size of the buffer whose address is given by binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive the number of bytes written into binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive a token indicating the format of the binary data returned by the GL. + /// + /// + /// + /// + /// Specifies the address an array into which the GL will return program's binary representation. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_get_program_binary", Version = "4.1", EntryPoint = "glGetProgramBinary")] + public static + unsafe void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.OpenGL.BinaryFormat* binaryFormat, [InAttribute, OutAttribute] T4[,,] binary) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.OpenGL.BinaryFormat*)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject()); + } + finally + { + binary_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_get_program_binary] + /// Return a binary representation of a program object's compiled and linked executable source + /// + /// + /// + /// Specifies the name of a program object whose binary representation to retrieve. + /// + /// + /// + /// + /// Specifies the size of the buffer whose address is given by binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive the number of bytes written into binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive a token indicating the format of the binary data returned by the GL. + /// + /// + /// + /// + /// Specifies the address an array into which the GL will return program's binary representation. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_get_program_binary", Version = "4.1", EntryPoint = "glGetProgramBinary")] + public static + unsafe void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.OpenGL.BinaryFormat* binaryFormat, [InAttribute, OutAttribute] ref T4 binary) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.OpenGL.BinaryFormat*)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject()); + binary = (T4)binary_ptr.Target; + } + finally + { + binary_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_get_program_binary] + /// Return a binary representation of a program object's compiled and linked executable source + /// + /// + /// + /// Specifies the name of a program object whose binary representation to retrieve. + /// + /// + /// + /// + /// Specifies the size of the buffer whose address is given by binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive the number of bytes written into binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive a token indicating the format of the binary data returned by the GL. + /// + /// + /// + /// + /// Specifies the address an array into which the GL will return program's binary representation. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_get_program_binary", Version = "4.1", EntryPoint = "glGetProgramBinary")] + public static + void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.OpenGL.BinaryFormat binaryFormat, [OutAttribute] IntPtr binary) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + fixed (OpenTK.Graphics.OpenGL.BinaryFormat* binaryFormat_ptr = &binaryFormat) + { + Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.OpenGL.BinaryFormat*)binaryFormat_ptr, (IntPtr)binary); + length = *length_ptr; + binaryFormat = *binaryFormat_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_get_program_binary] + /// Return a binary representation of a program object's compiled and linked executable source + /// + /// + /// + /// Specifies the name of a program object whose binary representation to retrieve. + /// + /// + /// + /// + /// Specifies the size of the buffer whose address is given by binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive the number of bytes written into binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive a token indicating the format of the binary data returned by the GL. + /// + /// + /// + /// + /// Specifies the address an array into which the GL will return program's binary representation. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_get_program_binary", Version = "4.1", EntryPoint = "glGetProgramBinary")] + public static + void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.OpenGL.BinaryFormat binaryFormat, [InAttribute, OutAttribute] T4[] binary) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + fixed (OpenTK.Graphics.OpenGL.BinaryFormat* binaryFormat_ptr = &binaryFormat) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.OpenGL.BinaryFormat*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); + length = *length_ptr; + binaryFormat = *binaryFormat_ptr; + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_get_program_binary] + /// Return a binary representation of a program object's compiled and linked executable source + /// + /// + /// + /// Specifies the name of a program object whose binary representation to retrieve. + /// + /// + /// + /// + /// Specifies the size of the buffer whose address is given by binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive the number of bytes written into binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive a token indicating the format of the binary data returned by the GL. + /// + /// + /// + /// + /// Specifies the address an array into which the GL will return program's binary representation. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_get_program_binary", Version = "4.1", EntryPoint = "glGetProgramBinary")] + public static + void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.OpenGL.BinaryFormat binaryFormat, [InAttribute, OutAttribute] T4[,] binary) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + fixed (OpenTK.Graphics.OpenGL.BinaryFormat* binaryFormat_ptr = &binaryFormat) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.OpenGL.BinaryFormat*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); + length = *length_ptr; + binaryFormat = *binaryFormat_ptr; + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_get_program_binary] + /// Return a binary representation of a program object's compiled and linked executable source + /// + /// + /// + /// Specifies the name of a program object whose binary representation to retrieve. + /// + /// + /// + /// + /// Specifies the size of the buffer whose address is given by binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive the number of bytes written into binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive a token indicating the format of the binary data returned by the GL. + /// + /// + /// + /// + /// Specifies the address an array into which the GL will return program's binary representation. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_get_program_binary", Version = "4.1", EntryPoint = "glGetProgramBinary")] + public static + void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.OpenGL.BinaryFormat binaryFormat, [InAttribute, OutAttribute] T4[,,] binary) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + fixed (OpenTK.Graphics.OpenGL.BinaryFormat* binaryFormat_ptr = &binaryFormat) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.OpenGL.BinaryFormat*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); + length = *length_ptr; + binaryFormat = *binaryFormat_ptr; + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_get_program_binary] + /// Return a binary representation of a program object's compiled and linked executable source + /// + /// + /// + /// Specifies the name of a program object whose binary representation to retrieve. + /// + /// + /// + /// + /// Specifies the size of the buffer whose address is given by binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive the number of bytes written into binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive a token indicating the format of the binary data returned by the GL. + /// + /// + /// + /// + /// Specifies the address an array into which the GL will return program's binary representation. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_get_program_binary", Version = "4.1", EntryPoint = "glGetProgramBinary")] + public static + void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.OpenGL.BinaryFormat binaryFormat, [InAttribute, OutAttribute] ref T4 binary) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + fixed (OpenTK.Graphics.OpenGL.BinaryFormat* binaryFormat_ptr = &binaryFormat) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.OpenGL.BinaryFormat*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); + length = *length_ptr; + binaryFormat = *binaryFormat_ptr; + binary = (T4)binary_ptr.Target; + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_get_program_binary] + /// Return a binary representation of a program object's compiled and linked executable source + /// + /// + /// + /// Specifies the name of a program object whose binary representation to retrieve. + /// + /// + /// + /// + /// Specifies the size of the buffer whose address is given by binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive the number of bytes written into binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive a token indicating the format of the binary data returned by the GL. + /// + /// + /// + /// + /// Specifies the address an array into which the GL will return program's binary representation. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_get_program_binary", Version = "4.1", EntryPoint = "glGetProgramBinary")] + public static + unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.OpenGL.BinaryFormat* binaryFormat, [OutAttribute] IntPtr binary) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.OpenGL.BinaryFormat*)binaryFormat, (IntPtr)binary); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_get_program_binary] + /// Return a binary representation of a program object's compiled and linked executable source + /// + /// + /// + /// Specifies the name of a program object whose binary representation to retrieve. + /// + /// + /// + /// + /// Specifies the size of the buffer whose address is given by binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive the number of bytes written into binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive a token indicating the format of the binary data returned by the GL. + /// + /// + /// + /// + /// Specifies the address an array into which the GL will return program's binary representation. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_get_program_binary", Version = "4.1", EntryPoint = "glGetProgramBinary")] + public static + unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.OpenGL.BinaryFormat* binaryFormat, [InAttribute, OutAttribute] T4[] binary) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.OpenGL.BinaryFormat*)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject()); + } + finally + { + binary_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_get_program_binary] + /// Return a binary representation of a program object's compiled and linked executable source + /// + /// + /// + /// Specifies the name of a program object whose binary representation to retrieve. + /// + /// + /// + /// + /// Specifies the size of the buffer whose address is given by binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive the number of bytes written into binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive a token indicating the format of the binary data returned by the GL. + /// + /// + /// + /// + /// Specifies the address an array into which the GL will return program's binary representation. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_get_program_binary", Version = "4.1", EntryPoint = "glGetProgramBinary")] + public static + unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.OpenGL.BinaryFormat* binaryFormat, [InAttribute, OutAttribute] T4[,] binary) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.OpenGL.BinaryFormat*)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject()); + } + finally + { + binary_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_get_program_binary] + /// Return a binary representation of a program object's compiled and linked executable source + /// + /// + /// + /// Specifies the name of a program object whose binary representation to retrieve. + /// + /// + /// + /// + /// Specifies the size of the buffer whose address is given by binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive the number of bytes written into binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive a token indicating the format of the binary data returned by the GL. + /// + /// + /// + /// + /// Specifies the address an array into which the GL will return program's binary representation. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_get_program_binary", Version = "4.1", EntryPoint = "glGetProgramBinary")] + public static + unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.OpenGL.BinaryFormat* binaryFormat, [InAttribute, OutAttribute] T4[,,] binary) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.OpenGL.BinaryFormat*)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject()); + } + finally + { + binary_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_get_program_binary] + /// Return a binary representation of a program object's compiled and linked executable source + /// + /// + /// + /// Specifies the name of a program object whose binary representation to retrieve. + /// + /// + /// + /// + /// Specifies the size of the buffer whose address is given by binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive the number of bytes written into binary. + /// + /// + /// + /// + /// Specifies the address of a variable to receive a token indicating the format of the binary data returned by the GL. + /// + /// + /// + /// + /// Specifies the address an array into which the GL will return program's binary representation. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_get_program_binary", Version = "4.1", EntryPoint = "glGetProgramBinary")] + public static + unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.OpenGL.BinaryFormat* binaryFormat, [InAttribute, OutAttribute] ref T4 binary) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.OpenGL.BinaryFormat*)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject()); + binary = (T4)binary_ptr.Target; + } + finally + { + binary_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// Returns the information log for a program object + /// + /// + /// + /// Specifies the program object whose information log is to be queried. + /// + /// + /// + /// + /// Specifies the size of the character buffer for storing the returned information log. + /// + /// + /// + /// + /// Returns the length of the string returned in infoLog (excluding the null terminator). + /// + /// + /// + /// + /// Specifies an array of characters that is used to return the information log. + /// + /// + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramInfoLog")] + public static + void GetProgramInfoLog(Int32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infoLog) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + { + Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)infoLog); + length = *length_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// Returns the information log for a program object + /// + /// + /// + /// Specifies the program object whose information log is to be queried. + /// + /// + /// + /// + /// Specifies the size of the character buffer for storing the returned information log. + /// + /// + /// + /// + /// Returns the length of the string returned in infoLog (excluding the null terminator). + /// + /// + /// + /// + /// Specifies an array of characters that is used to return the information log. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramInfoLog")] + public static + unsafe void GetProgramInfoLog(Int32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufSize, (Int32*)length, (StringBuilder)infoLog); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// Returns the information log for a program object + /// + /// + /// + /// Specifies the program object whose information log is to be queried. + /// + /// + /// + /// + /// Specifies the size of the character buffer for storing the returned information log. + /// + /// + /// + /// + /// Returns the length of the string returned in infoLog (excluding the null terminator). + /// + /// + /// + /// + /// Specifies an array of characters that is used to return the information log. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramInfoLog")] + public static + void GetProgramInfoLog(UInt32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infoLog) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + { + Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)infoLog); + length = *length_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// Returns the information log for a program object + /// + /// + /// + /// Specifies the program object whose information log is to be queried. + /// + /// + /// + /// + /// Specifies the size of the character buffer for storing the returned information log. + /// + /// + /// + /// + /// Returns the length of the string returned in infoLog (excluding the null terminator). + /// + /// + /// + /// + /// Specifies an array of characters that is used to return the information log. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramInfoLog")] + public static + unsafe void GetProgramInfoLog(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufSize, (Int32*)length, (StringBuilder)infoLog); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// Returns a parameter from a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_BLOCKS, GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH, GL_ACTIVE_UNIFORM_MAX_LENGTH, GL_PROGRAM_BINARY_LENGTH, GL_TRANSFORM_FEEDBACK_BUFFER_MODE, GL_TRANSFORM_FEEDBACK_VARYINGS, GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH, GL_GEOMETRY_VERTICES_OUT, GL_GEOMETRY_INPUT_TYPE, and GL_GEOMETRY_OUTPUT_TYPE. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] + public static + void GetProgram(Int32 program, OpenTK.Graphics.OpenGL.ProgramParameter pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// Returns a parameter from a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_BLOCKS, GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH, GL_ACTIVE_UNIFORM_MAX_LENGTH, GL_PROGRAM_BINARY_LENGTH, GL_TRANSFORM_FEEDBACK_BUFFER_MODE, GL_TRANSFORM_FEEDBACK_VARYINGS, GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH, GL_GEOMETRY_VERTICES_OUT, GL_GEOMETRY_INPUT_TYPE, and GL_GEOMETRY_OUTPUT_TYPE. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] + public static + void GetProgram(Int32 program, OpenTK.Graphics.OpenGL.ProgramParameter pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// Returns a parameter from a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_BLOCKS, GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH, GL_ACTIVE_UNIFORM_MAX_LENGTH, GL_PROGRAM_BINARY_LENGTH, GL_TRANSFORM_FEEDBACK_BUFFER_MODE, GL_TRANSFORM_FEEDBACK_VARYINGS, GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH, GL_GEOMETRY_VERTICES_OUT, GL_GEOMETRY_INPUT_TYPE, and GL_GEOMETRY_OUTPUT_TYPE. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] + public static + unsafe void GetProgram(Int32 program, OpenTK.Graphics.OpenGL.ProgramParameter pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// Returns a parameter from a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_BLOCKS, GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH, GL_ACTIVE_UNIFORM_MAX_LENGTH, GL_PROGRAM_BINARY_LENGTH, GL_TRANSFORM_FEEDBACK_BUFFER_MODE, GL_TRANSFORM_FEEDBACK_VARYINGS, GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH, GL_GEOMETRY_VERTICES_OUT, GL_GEOMETRY_INPUT_TYPE, and GL_GEOMETRY_OUTPUT_TYPE. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] + public static + void GetProgram(UInt32 program, OpenTK.Graphics.OpenGL.ProgramParameter pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// Returns a parameter from a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_BLOCKS, GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH, GL_ACTIVE_UNIFORM_MAX_LENGTH, GL_PROGRAM_BINARY_LENGTH, GL_TRANSFORM_FEEDBACK_BUFFER_MODE, GL_TRANSFORM_FEEDBACK_VARYINGS, GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH, GL_GEOMETRY_VERTICES_OUT, GL_GEOMETRY_INPUT_TYPE, and GL_GEOMETRY_OUTPUT_TYPE. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] + public static + void GetProgram(UInt32 program, OpenTK.Graphics.OpenGL.ProgramParameter pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// Returns a parameter from a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_BLOCKS, GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH, GL_ACTIVE_UNIFORM_MAX_LENGTH, GL_PROGRAM_BINARY_LENGTH, GL_TRANSFORM_FEEDBACK_BUFFER_MODE, GL_TRANSFORM_FEEDBACK_VARYINGS, GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH, GL_GEOMETRY_VERTICES_OUT, GL_GEOMETRY_INPUT_TYPE, and GL_GEOMETRY_OUTPUT_TYPE. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] + public static + unsafe void GetProgram(UInt32 program, OpenTK.Graphics.OpenGL.ProgramParameter pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Retrieve the info log string from a program pipeline object + /// + /// + /// + /// Specifies the name of a program pipeline object from which to retrieve the info log. + /// + /// + /// + /// + /// Specifies the maximum number of characters, including the null terminator, that may be written into infoLog. + /// + /// + /// + /// + /// Specifies the address of a variable into which will be written the number of characters written into infoLog. + /// + /// + /// + /// + /// Specifies the address of an array of characters into which will be written the info log for pipeline. + /// + /// + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glGetProgramPipelineInfoLog")] + public static + void GetProgramPipelineInfoLog(Int32 pipeline, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infoLog) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + { + Delegates.glGetProgramPipelineInfoLog((UInt32)pipeline, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)infoLog); + length = *length_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Retrieve the info log string from a program pipeline object + /// + /// + /// + /// Specifies the name of a program pipeline object from which to retrieve the info log. + /// + /// + /// + /// + /// Specifies the maximum number of characters, including the null terminator, that may be written into infoLog. + /// + /// + /// + /// + /// Specifies the address of a variable into which will be written the number of characters written into infoLog. + /// + /// + /// + /// + /// Specifies the address of an array of characters into which will be written the info log for pipeline. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glGetProgramPipelineInfoLog")] + public static + unsafe void GetProgramPipelineInfoLog(Int32 pipeline, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramPipelineInfoLog((UInt32)pipeline, (Int32)bufSize, (Int32*)length, (StringBuilder)infoLog); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Retrieve the info log string from a program pipeline object + /// + /// + /// + /// Specifies the name of a program pipeline object from which to retrieve the info log. + /// + /// + /// + /// + /// Specifies the maximum number of characters, including the null terminator, that may be written into infoLog. + /// + /// + /// + /// + /// Specifies the address of a variable into which will be written the number of characters written into infoLog. + /// + /// + /// + /// + /// Specifies the address of an array of characters into which will be written the info log for pipeline. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glGetProgramPipelineInfoLog")] + public static + void GetProgramPipelineInfoLog(UInt32 pipeline, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infoLog) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + { + Delegates.glGetProgramPipelineInfoLog((UInt32)pipeline, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)infoLog); + length = *length_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Retrieve the info log string from a program pipeline object + /// + /// + /// + /// Specifies the name of a program pipeline object from which to retrieve the info log. + /// + /// + /// + /// + /// Specifies the maximum number of characters, including the null terminator, that may be written into infoLog. + /// + /// + /// + /// + /// Specifies the address of a variable into which will be written the number of characters written into infoLog. + /// + /// + /// + /// + /// Specifies the address of an array of characters into which will be written the info log for pipeline. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glGetProgramPipelineInfoLog")] + public static + unsafe void GetProgramPipelineInfoLog(UInt32 pipeline, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramPipelineInfoLog((UInt32)pipeline, (Int32)bufSize, (Int32*)length, (StringBuilder)infoLog); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Retrieve properties of a program pipeline object + /// + /// + /// + /// Specifies the name of a program pipeline object whose parameter retrieve. + /// + /// + /// + /// + /// Specifies the name of the parameter to retrieve. + /// + /// + /// + /// + /// Specifies the address of a variable into which will be written the value or values of pname for pipeline. + /// + /// + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glGetProgramPipelineiv")] + public static + void GetProgramPipeline(Int32 pipeline, OpenTK.Graphics.OpenGL.ProgramPipelineParameter pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetProgramPipelineiv((UInt32)pipeline, (OpenTK.Graphics.OpenGL.ProgramPipelineParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Retrieve properties of a program pipeline object + /// + /// + /// + /// Specifies the name of a program pipeline object whose parameter retrieve. + /// + /// + /// + /// + /// Specifies the name of the parameter to retrieve. + /// + /// + /// + /// + /// Specifies the address of a variable into which will be written the value or values of pname for pipeline. + /// + /// + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glGetProgramPipelineiv")] + public static + void GetProgramPipeline(Int32 pipeline, OpenTK.Graphics.OpenGL.ProgramPipelineParameter pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetProgramPipelineiv((UInt32)pipeline, (OpenTK.Graphics.OpenGL.ProgramPipelineParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Retrieve properties of a program pipeline object + /// + /// + /// + /// Specifies the name of a program pipeline object whose parameter retrieve. + /// + /// + /// + /// + /// Specifies the name of the parameter to retrieve. + /// + /// + /// + /// + /// Specifies the address of a variable into which will be written the value or values of pname for pipeline. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glGetProgramPipelineiv")] + public static + unsafe void GetProgramPipeline(Int32 pipeline, OpenTK.Graphics.OpenGL.ProgramPipelineParameter pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramPipelineiv((UInt32)pipeline, (OpenTK.Graphics.OpenGL.ProgramPipelineParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Retrieve properties of a program pipeline object + /// + /// + /// + /// Specifies the name of a program pipeline object whose parameter retrieve. + /// + /// + /// + /// + /// Specifies the name of the parameter to retrieve. + /// + /// + /// + /// + /// Specifies the address of a variable into which will be written the value or values of pname for pipeline. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glGetProgramPipelineiv")] + public static + void GetProgramPipeline(UInt32 pipeline, OpenTK.Graphics.OpenGL.ProgramPipelineParameter pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetProgramPipelineiv((UInt32)pipeline, (OpenTK.Graphics.OpenGL.ProgramPipelineParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Retrieve properties of a program pipeline object + /// + /// + /// + /// Specifies the name of a program pipeline object whose parameter retrieve. + /// + /// + /// + /// + /// Specifies the name of the parameter to retrieve. + /// + /// + /// + /// + /// Specifies the address of a variable into which will be written the value or values of pname for pipeline. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glGetProgramPipelineiv")] + public static + void GetProgramPipeline(UInt32 pipeline, OpenTK.Graphics.OpenGL.ProgramPipelineParameter pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetProgramPipelineiv((UInt32)pipeline, (OpenTK.Graphics.OpenGL.ProgramPipelineParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Retrieve properties of a program pipeline object + /// + /// + /// + /// Specifies the name of a program pipeline object whose parameter retrieve. + /// + /// + /// + /// + /// Specifies the name of the parameter to retrieve. + /// + /// + /// + /// + /// Specifies the address of a variable into which will be written the value or values of pname for pipeline. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glGetProgramPipelineiv")] + public static + unsafe void GetProgramPipeline(UInt32 pipeline, OpenTK.Graphics.OpenGL.ProgramPipelineParameter pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramPipelineiv((UInt32)pipeline, (OpenTK.Graphics.OpenGL.ProgramPipelineParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_shader_subroutine] + /// Retrieve properties of a program object corresponding to a specified shader stage + /// + /// + /// + /// Specifies the name of the program containing shader stage. + /// + /// + /// + /// + /// Specifies the shader stage from which to query for the subroutine parameter. shadertype must be one of GL_VERTEX_SHADER, GL_TESS_CONTROL_SHADER, GL_TESS_EVALUATION_SHADER, GL_GEOMETRY_SHADER or GL_FRAGMENT_SHADER. + /// + /// + /// + /// + /// Specifies the parameter of the shader to query. pname must be GL_ACTIVE_SUBROUTINE_UNIFORMS, GL_ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS, GL_ACTIVE_SUBROUTINES, GL_ACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH, or GL_ACTIVE_SUBROUTINE_MAX_LENGTH. + /// + /// + /// + /// + /// Specifies the address of a variable into which the queried value or values will be placed. + /// + /// + [AutoGenerated(Category = "ARB_shader_subroutine", Version = "1.2", EntryPoint = "glGetProgramStageiv")] + public static + void GetProgramStage(Int32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, OpenTK.Graphics.OpenGL.ProgramStageParameter pname, [OutAttribute] out Int32 values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* values_ptr = &values) + { + Delegates.glGetProgramStageiv((UInt32)program, (OpenTK.Graphics.OpenGL.ShaderType)shadertype, (OpenTK.Graphics.OpenGL.ProgramStageParameter)pname, (Int32*)values_ptr); + values = *values_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_shader_subroutine] + /// Retrieve properties of a program object corresponding to a specified shader stage + /// + /// + /// + /// Specifies the name of the program containing shader stage. + /// + /// + /// + /// + /// Specifies the shader stage from which to query for the subroutine parameter. shadertype must be one of GL_VERTEX_SHADER, GL_TESS_CONTROL_SHADER, GL_TESS_EVALUATION_SHADER, GL_GEOMETRY_SHADER or GL_FRAGMENT_SHADER. + /// + /// + /// + /// + /// Specifies the parameter of the shader to query. pname must be GL_ACTIVE_SUBROUTINE_UNIFORMS, GL_ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS, GL_ACTIVE_SUBROUTINES, GL_ACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH, or GL_ACTIVE_SUBROUTINE_MAX_LENGTH. + /// + /// + /// + /// + /// Specifies the address of a variable into which the queried value or values will be placed. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_shader_subroutine", Version = "1.2", EntryPoint = "glGetProgramStageiv")] + public static + unsafe void GetProgramStage(Int32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, OpenTK.Graphics.OpenGL.ProgramStageParameter pname, [OutAttribute] Int32* values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramStageiv((UInt32)program, (OpenTK.Graphics.OpenGL.ShaderType)shadertype, (OpenTK.Graphics.OpenGL.ProgramStageParameter)pname, (Int32*)values); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_shader_subroutine] + /// Retrieve properties of a program object corresponding to a specified shader stage + /// + /// + /// + /// Specifies the name of the program containing shader stage. + /// + /// + /// + /// + /// Specifies the shader stage from which to query for the subroutine parameter. shadertype must be one of GL_VERTEX_SHADER, GL_TESS_CONTROL_SHADER, GL_TESS_EVALUATION_SHADER, GL_GEOMETRY_SHADER or GL_FRAGMENT_SHADER. + /// + /// + /// + /// + /// Specifies the parameter of the shader to query. pname must be GL_ACTIVE_SUBROUTINE_UNIFORMS, GL_ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS, GL_ACTIVE_SUBROUTINES, GL_ACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH, or GL_ACTIVE_SUBROUTINE_MAX_LENGTH. + /// + /// + /// + /// + /// Specifies the address of a variable into which the queried value or values will be placed. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_shader_subroutine", Version = "1.2", EntryPoint = "glGetProgramStageiv")] + public static + void GetProgramStage(UInt32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, OpenTK.Graphics.OpenGL.ProgramStageParameter pname, [OutAttribute] out Int32 values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* values_ptr = &values) + { + Delegates.glGetProgramStageiv((UInt32)program, (OpenTK.Graphics.OpenGL.ShaderType)shadertype, (OpenTK.Graphics.OpenGL.ProgramStageParameter)pname, (Int32*)values_ptr); + values = *values_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_shader_subroutine] + /// Retrieve properties of a program object corresponding to a specified shader stage + /// + /// + /// + /// Specifies the name of the program containing shader stage. + /// + /// + /// + /// + /// Specifies the shader stage from which to query for the subroutine parameter. shadertype must be one of GL_VERTEX_SHADER, GL_TESS_CONTROL_SHADER, GL_TESS_EVALUATION_SHADER, GL_GEOMETRY_SHADER or GL_FRAGMENT_SHADER. + /// + /// + /// + /// + /// Specifies the parameter of the shader to query. pname must be GL_ACTIVE_SUBROUTINE_UNIFORMS, GL_ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS, GL_ACTIVE_SUBROUTINES, GL_ACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH, or GL_ACTIVE_SUBROUTINE_MAX_LENGTH. + /// + /// + /// + /// + /// Specifies the address of a variable into which the queried value or values will be placed. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_shader_subroutine", Version = "1.2", EntryPoint = "glGetProgramStageiv")] + public static + unsafe void GetProgramStage(UInt32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, OpenTK.Graphics.OpenGL.ProgramStageParameter pname, [OutAttribute] Int32* values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramStageiv((UInt32)program, (OpenTK.Graphics.OpenGL.ShaderType)shadertype, (OpenTK.Graphics.OpenGL.ProgramStageParameter)pname, (Int32*)values); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_transform_feedback3] + /// Return parameters of an indexed query object target + /// + /// + /// + /// Specifies a query object target. Must be GL_SAMPLES_PASSED, GL_ANY_SAMPLES_PASSED, GL_PRIMITIVES_GENERATED, GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN, GL_TIME_ELAPSED, or GL_TIMESTAMP. + /// + /// + /// + /// + /// Specifies the index of the query object target. + /// + /// + /// + /// + /// Specifies the symbolic name of a query object target parameter. Accepted values are GL_CURRENT_QUERY or GL_QUERY_COUNTER_BITS. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "ARB_transform_feedback3", Version = "1.2", EntryPoint = "glGetQueryIndexediv")] + public static + void GetQueryIndexed(OpenTK.Graphics.OpenGL.QueryTarget target, Int32 index, OpenTK.Graphics.OpenGL.GetQueryParam pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetQueryIndexediv((OpenTK.Graphics.OpenGL.QueryTarget)target, (UInt32)index, (OpenTK.Graphics.OpenGL.GetQueryParam)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_transform_feedback3] + /// Return parameters of an indexed query object target + /// + /// + /// + /// Specifies a query object target. Must be GL_SAMPLES_PASSED, GL_ANY_SAMPLES_PASSED, GL_PRIMITIVES_GENERATED, GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN, GL_TIME_ELAPSED, or GL_TIMESTAMP. + /// + /// + /// + /// + /// Specifies the index of the query object target. + /// + /// + /// + /// + /// Specifies the symbolic name of a query object target parameter. Accepted values are GL_CURRENT_QUERY or GL_QUERY_COUNTER_BITS. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "ARB_transform_feedback3", Version = "1.2", EntryPoint = "glGetQueryIndexediv")] + public static + void GetQueryIndexed(OpenTK.Graphics.OpenGL.QueryTarget target, Int32 index, OpenTK.Graphics.OpenGL.GetQueryParam pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetQueryIndexediv((OpenTK.Graphics.OpenGL.QueryTarget)target, (UInt32)index, (OpenTK.Graphics.OpenGL.GetQueryParam)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_transform_feedback3] + /// Return parameters of an indexed query object target + /// + /// + /// + /// Specifies a query object target. Must be GL_SAMPLES_PASSED, GL_ANY_SAMPLES_PASSED, GL_PRIMITIVES_GENERATED, GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN, GL_TIME_ELAPSED, or GL_TIMESTAMP. + /// + /// + /// + /// + /// Specifies the index of the query object target. + /// + /// + /// + /// + /// Specifies the symbolic name of a query object target parameter. Accepted values are GL_CURRENT_QUERY or GL_QUERY_COUNTER_BITS. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_transform_feedback3", Version = "1.2", EntryPoint = "glGetQueryIndexediv")] + public static + unsafe void GetQueryIndexed(OpenTK.Graphics.OpenGL.QueryTarget target, Int32 index, OpenTK.Graphics.OpenGL.GetQueryParam pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetQueryIndexediv((OpenTK.Graphics.OpenGL.QueryTarget)target, (UInt32)index, (OpenTK.Graphics.OpenGL.GetQueryParam)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_transform_feedback3] + /// Return parameters of an indexed query object target + /// + /// + /// + /// Specifies a query object target. Must be GL_SAMPLES_PASSED, GL_ANY_SAMPLES_PASSED, GL_PRIMITIVES_GENERATED, GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN, GL_TIME_ELAPSED, or GL_TIMESTAMP. + /// + /// + /// + /// + /// Specifies the index of the query object target. + /// + /// + /// + /// + /// Specifies the symbolic name of a query object target parameter. Accepted values are GL_CURRENT_QUERY or GL_QUERY_COUNTER_BITS. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_transform_feedback3", Version = "1.2", EntryPoint = "glGetQueryIndexediv")] + public static + void GetQueryIndexed(OpenTK.Graphics.OpenGL.QueryTarget target, UInt32 index, OpenTK.Graphics.OpenGL.GetQueryParam pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetQueryIndexediv((OpenTK.Graphics.OpenGL.QueryTarget)target, (UInt32)index, (OpenTK.Graphics.OpenGL.GetQueryParam)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_transform_feedback3] + /// Return parameters of an indexed query object target + /// + /// + /// + /// Specifies a query object target. Must be GL_SAMPLES_PASSED, GL_ANY_SAMPLES_PASSED, GL_PRIMITIVES_GENERATED, GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN, GL_TIME_ELAPSED, or GL_TIMESTAMP. + /// + /// + /// + /// + /// Specifies the index of the query object target. + /// + /// + /// + /// + /// Specifies the symbolic name of a query object target parameter. Accepted values are GL_CURRENT_QUERY or GL_QUERY_COUNTER_BITS. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_transform_feedback3", Version = "1.2", EntryPoint = "glGetQueryIndexediv")] + public static + void GetQueryIndexed(OpenTK.Graphics.OpenGL.QueryTarget target, UInt32 index, OpenTK.Graphics.OpenGL.GetQueryParam pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetQueryIndexediv((OpenTK.Graphics.OpenGL.QueryTarget)target, (UInt32)index, (OpenTK.Graphics.OpenGL.GetQueryParam)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_transform_feedback3] + /// Return parameters of an indexed query object target + /// + /// + /// + /// Specifies a query object target. Must be GL_SAMPLES_PASSED, GL_ANY_SAMPLES_PASSED, GL_PRIMITIVES_GENERATED, GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN, GL_TIME_ELAPSED, or GL_TIMESTAMP. + /// + /// + /// + /// + /// Specifies the index of the query object target. + /// + /// + /// + /// + /// Specifies the symbolic name of a query object target parameter. Accepted values are GL_CURRENT_QUERY or GL_QUERY_COUNTER_BITS. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_transform_feedback3", Version = "1.2", EntryPoint = "glGetQueryIndexediv")] + public static + unsafe void GetQueryIndexed(OpenTK.Graphics.OpenGL.QueryTarget target, UInt32 index, OpenTK.Graphics.OpenGL.GetQueryParam pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetQueryIndexediv((OpenTK.Graphics.OpenGL.QueryTarget)target, (UInt32)index, (OpenTK.Graphics.OpenGL.GetQueryParam)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.5] + /// Return parameters of a query object target + /// + /// + /// + /// Specifies a query object target. Must be GL_SAMPLES_PASSED, GL_ANY_SAMPLES_PASSED, GL_PRIMITIVES_GENERATED, GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN, GL_TIME_ELAPSED, or GL_TIMESTAMP. + /// + /// + /// + /// + /// Specifies the symbolic name of a query object target parameter. Accepted values are GL_CURRENT_QUERY or GL_QUERY_COUNTER_BITS. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetQueryiv")] + public static + void GetQuery(OpenTK.Graphics.OpenGL.QueryTarget target, OpenTK.Graphics.OpenGL.GetQueryParam pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetQueryiv((OpenTK.Graphics.OpenGL.QueryTarget)target, (OpenTK.Graphics.OpenGL.GetQueryParam)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.5] + /// Return parameters of a query object target + /// + /// + /// + /// Specifies a query object target. Must be GL_SAMPLES_PASSED, GL_ANY_SAMPLES_PASSED, GL_PRIMITIVES_GENERATED, GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN, GL_TIME_ELAPSED, or GL_TIMESTAMP. + /// + /// + /// + /// + /// Specifies the symbolic name of a query object target parameter. Accepted values are GL_CURRENT_QUERY or GL_QUERY_COUNTER_BITS. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetQueryiv")] + public static + void GetQuery(OpenTK.Graphics.OpenGL.QueryTarget target, OpenTK.Graphics.OpenGL.GetQueryParam pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetQueryiv((OpenTK.Graphics.OpenGL.QueryTarget)target, (OpenTK.Graphics.OpenGL.GetQueryParam)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.5] + /// Return parameters of a query object target + /// + /// + /// + /// Specifies a query object target. Must be GL_SAMPLES_PASSED, GL_ANY_SAMPLES_PASSED, GL_PRIMITIVES_GENERATED, GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN, GL_TIME_ELAPSED, or GL_TIMESTAMP. + /// + /// + /// + /// + /// Specifies the symbolic name of a query object target parameter. Accepted values are GL_CURRENT_QUERY or GL_QUERY_COUNTER_BITS. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetQueryiv")] + public static + unsafe void GetQuery(OpenTK.Graphics.OpenGL.QueryTarget target, OpenTK.Graphics.OpenGL.GetQueryParam pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetQueryiv((OpenTK.Graphics.OpenGL.QueryTarget)target, (OpenTK.Graphics.OpenGL.GetQueryParam)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_timer_query] + /// 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 = "ARB_timer_query", Version = "1.2", EntryPoint = "glGetQueryObjecti64v")] + public static + void GetQueryObject(Int32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [OutAttribute] Int64[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* @params_ptr = @params) + { + Delegates.glGetQueryObjecti64v((UInt32)id, (OpenTK.Graphics.OpenGL.GetQueryObjectParam)pname, (Int64*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_timer_query] + /// 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 = "ARB_timer_query", Version = "1.2", EntryPoint = "glGetQueryObjecti64v")] + public static + void GetQueryObject(Int32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [OutAttribute] out Int64 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* @params_ptr = &@params) + { + Delegates.glGetQueryObjecti64v((UInt32)id, (OpenTK.Graphics.OpenGL.GetQueryObjectParam)pname, (Int64*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_timer_query] + /// 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 = "ARB_timer_query", Version = "1.2", EntryPoint = "glGetQueryObjecti64v")] + public static + unsafe void GetQueryObject(Int32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [OutAttribute] Int64* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetQueryObjecti64v((UInt32)id, (OpenTK.Graphics.OpenGL.GetQueryObjectParam)pname, (Int64*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_timer_query] + /// 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 = "ARB_timer_query", Version = "1.2", EntryPoint = "glGetQueryObjecti64v")] + public static + void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [OutAttribute] Int64[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* @params_ptr = @params) + { + Delegates.glGetQueryObjecti64v((UInt32)id, (OpenTK.Graphics.OpenGL.GetQueryObjectParam)pname, (Int64*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_timer_query] + /// 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 = "ARB_timer_query", Version = "1.2", EntryPoint = "glGetQueryObjecti64v")] + public static + void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [OutAttribute] out Int64 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* @params_ptr = &@params) + { + Delegates.glGetQueryObjecti64v((UInt32)id, (OpenTK.Graphics.OpenGL.GetQueryObjectParam)pname, (Int64*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_timer_query] + /// 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 = "ARB_timer_query", Version = "1.2", EntryPoint = "glGetQueryObjecti64v")] + public static + unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [OutAttribute] Int64* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetQueryObjecti64v((UInt32)id, (OpenTK.Graphics.OpenGL.GetQueryObjectParam)pname, (Int64*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.5] + /// 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 = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetQueryObjectiv")] + public static + void GetQueryObject(Int32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetQueryObjectiv((UInt32)id, (OpenTK.Graphics.OpenGL.GetQueryObjectParam)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.5] + /// 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 = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetQueryObjectiv")] + public static + void GetQueryObject(Int32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetQueryObjectiv((UInt32)id, (OpenTK.Graphics.OpenGL.GetQueryObjectParam)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.5] + /// 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 = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetQueryObjectiv")] + public static + unsafe void GetQueryObject(Int32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetQueryObjectiv((UInt32)id, (OpenTK.Graphics.OpenGL.GetQueryObjectParam)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.5] + /// 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 = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetQueryObjectiv")] + public static + void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetQueryObjectiv((UInt32)id, (OpenTK.Graphics.OpenGL.GetQueryObjectParam)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.5] + /// 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 = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetQueryObjectiv")] + public static + void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetQueryObjectiv((UInt32)id, (OpenTK.Graphics.OpenGL.GetQueryObjectParam)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.5] + /// 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 = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetQueryObjectiv")] + public static + unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetQueryObjectiv((UInt32)id, (OpenTK.Graphics.OpenGL.GetQueryObjectParam)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_timer_query] + /// 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 = "ARB_timer_query", Version = "1.2", EntryPoint = "glGetQueryObjectui64v")] + public static + void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [OutAttribute] UInt64[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt64* @params_ptr = @params) + { + Delegates.glGetQueryObjectui64v((UInt32)id, (OpenTK.Graphics.OpenGL.GetQueryObjectParam)pname, (UInt64*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_timer_query] + /// 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 = "ARB_timer_query", Version = "1.2", EntryPoint = "glGetQueryObjectui64v")] + public static + void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [OutAttribute] out UInt64 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt64* @params_ptr = &@params) + { + Delegates.glGetQueryObjectui64v((UInt32)id, (OpenTK.Graphics.OpenGL.GetQueryObjectParam)pname, (UInt64*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_timer_query] + /// 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 = "ARB_timer_query", Version = "1.2", EntryPoint = "glGetQueryObjectui64v")] + public static + unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [OutAttribute] UInt64* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetQueryObjectui64v((UInt32)id, (OpenTK.Graphics.OpenGL.GetQueryObjectParam)pname, (UInt64*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.5] + /// 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 = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetQueryObjectuiv")] + public static + void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [OutAttribute] UInt32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = @params) + { + Delegates.glGetQueryObjectuiv((UInt32)id, (OpenTK.Graphics.OpenGL.GetQueryObjectParam)pname, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.5] + /// 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 = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetQueryObjectuiv")] + public static + void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [OutAttribute] out UInt32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = &@params) + { + Delegates.glGetQueryObjectuiv((UInt32)id, (OpenTK.Graphics.OpenGL.GetQueryObjectParam)pname, (UInt32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.5] + /// 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 = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetQueryObjectuiv")] + public static + unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [OutAttribute] UInt32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetQueryObjectuiv((UInt32)id, (OpenTK.Graphics.OpenGL.GetQueryObjectParam)pname, (UInt32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v3.0 and ARB_framebuffer_object] + /// Retrieve information about a bound renderbuffer object + /// + /// + /// + /// Specifies the target of the query operation. target must be GL_RENDERBUFFER. + /// + /// + /// + /// + /// Specifies the parameter whose value to retrieve from the renderbuffer bound to target. + /// + /// + /// + /// + /// Specifies the address of an array to receive the value of the queried parameter. + /// + /// + [AutoGenerated(Category = "ARB_framebuffer_object", Version = "3.0", EntryPoint = "glGetRenderbufferParameteriv")] + public static + void GetRenderbufferParameter(OpenTK.Graphics.OpenGL.RenderbufferTarget target, OpenTK.Graphics.OpenGL.RenderbufferParameterName pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetRenderbufferParameteriv((OpenTK.Graphics.OpenGL.RenderbufferTarget)target, (OpenTK.Graphics.OpenGL.RenderbufferParameterName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v3.0 and ARB_framebuffer_object] + /// Retrieve information about a bound renderbuffer object + /// + /// + /// + /// Specifies the target of the query operation. target must be GL_RENDERBUFFER. + /// + /// + /// + /// + /// Specifies the parameter whose value to retrieve from the renderbuffer bound to target. + /// + /// + /// + /// + /// Specifies the address of an array to receive the value of the queried parameter. + /// + /// + [AutoGenerated(Category = "ARB_framebuffer_object", Version = "3.0", EntryPoint = "glGetRenderbufferParameteriv")] + public static + void GetRenderbufferParameter(OpenTK.Graphics.OpenGL.RenderbufferTarget target, OpenTK.Graphics.OpenGL.RenderbufferParameterName pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetRenderbufferParameteriv((OpenTK.Graphics.OpenGL.RenderbufferTarget)target, (OpenTK.Graphics.OpenGL.RenderbufferParameterName)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v3.0 and ARB_framebuffer_object] + /// Retrieve information about a bound renderbuffer object + /// + /// + /// + /// Specifies the target of the query operation. target must be GL_RENDERBUFFER. + /// + /// + /// + /// + /// Specifies the parameter whose value to retrieve from the renderbuffer bound to target. + /// + /// + /// + /// + /// Specifies the address of an array to receive the value of the queried parameter. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_framebuffer_object", Version = "3.0", EntryPoint = "glGetRenderbufferParameteriv")] + public static + unsafe void GetRenderbufferParameter(OpenTK.Graphics.OpenGL.RenderbufferTarget target, OpenTK.Graphics.OpenGL.RenderbufferParameterName pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetRenderbufferParameteriv((OpenTK.Graphics.OpenGL.RenderbufferTarget)target, (OpenTK.Graphics.OpenGL.RenderbufferParameterName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_sampler_objects] + /// Return sampler parameter values + /// + /// + /// + /// Specifies name of the sampler object from which to retrieve parameters. + /// + /// + /// + /// + /// Specifies the symbolic name of a sampler parameter. GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_COMPARE_MODE, and GL_TEXTURE_COMPARE_FUNC are accepted. + /// + /// + /// + /// + /// Returns the sampler parameters. + /// + /// + [AutoGenerated(Category = "ARB_sampler_objects", Version = "1.2", EntryPoint = "glGetSamplerParameterfv")] + public static + void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.OpenGL.SamplerParameter pname, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameter)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_sampler_objects] + /// Return sampler parameter values + /// + /// + /// + /// Specifies name of the sampler object from which to retrieve parameters. + /// + /// + /// + /// + /// Specifies the symbolic name of a sampler parameter. GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_COMPARE_MODE, and GL_TEXTURE_COMPARE_FUNC are accepted. + /// + /// + /// + /// + /// Returns the sampler parameters. + /// + /// + [AutoGenerated(Category = "ARB_sampler_objects", Version = "1.2", EntryPoint = "glGetSamplerParameterfv")] + public static + void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.OpenGL.SamplerParameter pname, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameter)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_sampler_objects] + /// Return sampler parameter values + /// + /// + /// + /// Specifies name of the sampler object from which to retrieve parameters. + /// + /// + /// + /// + /// Specifies the symbolic name of a sampler parameter. GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_COMPARE_MODE, and GL_TEXTURE_COMPARE_FUNC are accepted. + /// + /// + /// + /// + /// Returns the sampler parameters. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_sampler_objects", Version = "1.2", EntryPoint = "glGetSamplerParameterfv")] + public static + unsafe void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.OpenGL.SamplerParameter pname, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameter)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_sampler_objects] + /// Return sampler parameter values + /// + /// + /// + /// Specifies name of the sampler object from which to retrieve parameters. + /// + /// + /// + /// + /// Specifies the symbolic name of a sampler parameter. GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_COMPARE_MODE, and GL_TEXTURE_COMPARE_FUNC are accepted. + /// + /// + /// + /// + /// Returns the sampler parameters. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_sampler_objects", Version = "1.2", EntryPoint = "glGetSamplerParameterfv")] + public static + void GetSamplerParameter(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameter pname, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameter)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_sampler_objects] + /// Return sampler parameter values + /// + /// + /// + /// Specifies name of the sampler object from which to retrieve parameters. + /// + /// + /// + /// + /// Specifies the symbolic name of a sampler parameter. GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_COMPARE_MODE, and GL_TEXTURE_COMPARE_FUNC are accepted. + /// + /// + /// + /// + /// Returns the sampler parameters. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_sampler_objects", Version = "1.2", EntryPoint = "glGetSamplerParameterfv")] + public static + void GetSamplerParameter(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameter pname, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameter)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_sampler_objects] + /// Return sampler parameter values + /// + /// + /// + /// Specifies name of the sampler object from which to retrieve parameters. + /// + /// + /// + /// + /// Specifies the symbolic name of a sampler parameter. GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_COMPARE_MODE, and GL_TEXTURE_COMPARE_FUNC are accepted. + /// + /// + /// + /// + /// Returns the sampler parameters. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_sampler_objects", Version = "1.2", EntryPoint = "glGetSamplerParameterfv")] + public static + unsafe void GetSamplerParameter(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameter pname, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameter)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_sampler_objects] + [AutoGenerated(Category = "ARB_sampler_objects", Version = "1.2", EntryPoint = "glGetSamplerParameterIiv")] + public static + void GetSamplerParameterI(Int32 sampler, OpenTK.Graphics.OpenGL.ArbSamplerObjects pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetSamplerParameterIiv((UInt32)sampler, (OpenTK.Graphics.OpenGL.ArbSamplerObjects)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_sampler_objects] + [AutoGenerated(Category = "ARB_sampler_objects", Version = "1.2", EntryPoint = "glGetSamplerParameterIiv")] + public static + void GetSamplerParameterI(Int32 sampler, OpenTK.Graphics.OpenGL.ArbSamplerObjects pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetSamplerParameterIiv((UInt32)sampler, (OpenTK.Graphics.OpenGL.ArbSamplerObjects)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_sampler_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_sampler_objects", Version = "1.2", EntryPoint = "glGetSamplerParameterIiv")] + public static + unsafe void GetSamplerParameterI(Int32 sampler, OpenTK.Graphics.OpenGL.ArbSamplerObjects pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetSamplerParameterIiv((UInt32)sampler, (OpenTK.Graphics.OpenGL.ArbSamplerObjects)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_sampler_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_sampler_objects", Version = "1.2", EntryPoint = "glGetSamplerParameterIiv")] + public static + void GetSamplerParameterI(UInt32 sampler, OpenTK.Graphics.OpenGL.ArbSamplerObjects pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetSamplerParameterIiv((UInt32)sampler, (OpenTK.Graphics.OpenGL.ArbSamplerObjects)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_sampler_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_sampler_objects", Version = "1.2", EntryPoint = "glGetSamplerParameterIiv")] + public static + void GetSamplerParameterI(UInt32 sampler, OpenTK.Graphics.OpenGL.ArbSamplerObjects pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetSamplerParameterIiv((UInt32)sampler, (OpenTK.Graphics.OpenGL.ArbSamplerObjects)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_sampler_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_sampler_objects", Version = "1.2", EntryPoint = "glGetSamplerParameterIiv")] + public static + unsafe void GetSamplerParameterI(UInt32 sampler, OpenTK.Graphics.OpenGL.ArbSamplerObjects pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetSamplerParameterIiv((UInt32)sampler, (OpenTK.Graphics.OpenGL.ArbSamplerObjects)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_sampler_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_sampler_objects", Version = "1.2", EntryPoint = "glGetSamplerParameterIuiv")] + public static + void GetSamplerParameterI(UInt32 sampler, OpenTK.Graphics.OpenGL.ArbSamplerObjects pname, [OutAttribute] UInt32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = @params) + { + Delegates.glGetSamplerParameterIuiv((UInt32)sampler, (OpenTK.Graphics.OpenGL.ArbSamplerObjects)pname, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_sampler_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_sampler_objects", Version = "1.2", EntryPoint = "glGetSamplerParameterIuiv")] + public static + void GetSamplerParameterI(UInt32 sampler, OpenTK.Graphics.OpenGL.ArbSamplerObjects pname, [OutAttribute] out UInt32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = &@params) + { + Delegates.glGetSamplerParameterIuiv((UInt32)sampler, (OpenTK.Graphics.OpenGL.ArbSamplerObjects)pname, (UInt32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_sampler_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_sampler_objects", Version = "1.2", EntryPoint = "glGetSamplerParameterIuiv")] + public static + unsafe void GetSamplerParameterI(UInt32 sampler, OpenTK.Graphics.OpenGL.ArbSamplerObjects pname, [OutAttribute] UInt32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetSamplerParameterIuiv((UInt32)sampler, (OpenTK.Graphics.OpenGL.ArbSamplerObjects)pname, (UInt32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_sampler_objects] + /// Return sampler parameter values + /// + /// + /// + /// Specifies name of the sampler object from which to retrieve parameters. + /// + /// + /// + /// + /// Specifies the symbolic name of a sampler parameter. GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_COMPARE_MODE, and GL_TEXTURE_COMPARE_FUNC are accepted. + /// + /// + /// + /// + /// Returns the sampler parameters. + /// + /// + [AutoGenerated(Category = "ARB_sampler_objects", Version = "1.2", EntryPoint = "glGetSamplerParameteriv")] + public static + void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.OpenGL.SamplerParameter pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_sampler_objects] + /// Return sampler parameter values + /// + /// + /// + /// Specifies name of the sampler object from which to retrieve parameters. + /// + /// + /// + /// + /// Specifies the symbolic name of a sampler parameter. GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_COMPARE_MODE, and GL_TEXTURE_COMPARE_FUNC are accepted. + /// + /// + /// + /// + /// Returns the sampler parameters. + /// + /// + [AutoGenerated(Category = "ARB_sampler_objects", Version = "1.2", EntryPoint = "glGetSamplerParameteriv")] + public static + void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.OpenGL.SamplerParameter pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_sampler_objects] + /// Return sampler parameter values + /// + /// + /// + /// Specifies name of the sampler object from which to retrieve parameters. + /// + /// + /// + /// + /// Specifies the symbolic name of a sampler parameter. GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_COMPARE_MODE, and GL_TEXTURE_COMPARE_FUNC are accepted. + /// + /// + /// + /// + /// Returns the sampler parameters. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_sampler_objects", Version = "1.2", EntryPoint = "glGetSamplerParameteriv")] + public static + unsafe void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.OpenGL.SamplerParameter pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_sampler_objects] + /// Return sampler parameter values + /// + /// + /// + /// Specifies name of the sampler object from which to retrieve parameters. + /// + /// + /// + /// + /// Specifies the symbolic name of a sampler parameter. GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_COMPARE_MODE, and GL_TEXTURE_COMPARE_FUNC are accepted. + /// + /// + /// + /// + /// Returns the sampler parameters. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_sampler_objects", Version = "1.2", EntryPoint = "glGetSamplerParameteriv")] + public static + void GetSamplerParameter(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameter pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_sampler_objects] + /// Return sampler parameter values + /// + /// + /// + /// Specifies name of the sampler object from which to retrieve parameters. + /// + /// + /// + /// + /// Specifies the symbolic name of a sampler parameter. GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_COMPARE_MODE, and GL_TEXTURE_COMPARE_FUNC are accepted. + /// + /// + /// + /// + /// Returns the sampler parameters. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_sampler_objects", Version = "1.2", EntryPoint = "glGetSamplerParameteriv")] + public static + void GetSamplerParameter(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameter pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_sampler_objects] + /// Return sampler parameter values + /// + /// + /// + /// Specifies name of the sampler object from which to retrieve parameters. + /// + /// + /// + /// + /// Specifies the symbolic name of a sampler parameter. GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_COMPARE_MODE, and GL_TEXTURE_COMPARE_FUNC are accepted. + /// + /// + /// + /// + /// Returns the sampler parameters. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_sampler_objects", Version = "1.2", EntryPoint = "glGetSamplerParameteriv")] + public static + unsafe void GetSamplerParameter(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameter pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glGetSeparableFilter")] + public static + void GetSeparableFilter(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [OutAttribute] IntPtr column, [OutAttribute] IntPtr span) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetSeparableFilter((OpenTK.Graphics.OpenGL.SeparableTarget)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glGetSeparableFilter")] + public static + void GetSeparableFilter(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [OutAttribute] IntPtr column, [InAttribute, OutAttribute] T5[] span) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilter((OpenTK.Graphics.OpenGL.SeparableTarget)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glGetSeparableFilter")] + public static + void GetSeparableFilter(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [OutAttribute] IntPtr column, [InAttribute, OutAttribute] T5[,] span) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilter((OpenTK.Graphics.OpenGL.SeparableTarget)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glGetSeparableFilter")] + public static + void GetSeparableFilter(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [OutAttribute] IntPtr column, [InAttribute, OutAttribute] T5[,,] span) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilter((OpenTK.Graphics.OpenGL.SeparableTarget)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glGetSeparableFilter")] + public static + void GetSeparableFilter(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [OutAttribute] IntPtr column, [InAttribute, OutAttribute] ref T5 span) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilter((OpenTK.Graphics.OpenGL.SeparableTarget)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span_ptr.AddrOfPinnedObject()); + span = (T5)span_ptr.Target; + } + finally + { + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glGetSeparableFilter")] + public static + void GetSeparableFilter(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [InAttribute, OutAttribute] T4[] column, [InAttribute, OutAttribute] T5[,,] span) + where T4 : struct + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilter((OpenTK.Graphics.OpenGL.SeparableTarget)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + column_ptr.Free(); + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glGetSeparableFilter")] + public static + void GetSeparableFilter(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [InAttribute, OutAttribute] T4[,] column, [InAttribute, OutAttribute] T5[,,] span) + where T4 : struct + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilter((OpenTK.Graphics.OpenGL.SeparableTarget)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + column_ptr.Free(); + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glGetSeparableFilter")] + public static + void GetSeparableFilter(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [InAttribute, OutAttribute] T4[,,] column, [InAttribute, OutAttribute] T5[,,] span) + where T4 : struct + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilter((OpenTK.Graphics.OpenGL.SeparableTarget)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + column_ptr.Free(); + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glGetSeparableFilter")] + public static + void GetSeparableFilter(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [InAttribute, OutAttribute] ref T4 column, [InAttribute, OutAttribute] T5[,,] span) + where T4 : struct + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilter((OpenTK.Graphics.OpenGL.SeparableTarget)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + column = (T4)column_ptr.Target; + } + finally + { + column_ptr.Free(); + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glGetSeparableFilter")] + public static + void GetSeparableFilter(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[] row, [InAttribute, OutAttribute] T4[,,] column, [InAttribute, OutAttribute] T5[,,] span) + where T3 : struct + where T4 : struct + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilter((OpenTK.Graphics.OpenGL.SeparableTarget)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + row_ptr.Free(); + column_ptr.Free(); + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glGetSeparableFilter")] + public static + void GetSeparableFilter(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[,] row, [InAttribute, OutAttribute] T4[,,] column, [InAttribute, OutAttribute] T5[,,] span) + where T3 : struct + where T4 : struct + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilter((OpenTK.Graphics.OpenGL.SeparableTarget)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + row_ptr.Free(); + column_ptr.Free(); + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glGetSeparableFilter")] + public static + void GetSeparableFilter(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[,,] row, [InAttribute, OutAttribute] T4[,,] column, [InAttribute, OutAttribute] T5[,,] span) + where T3 : struct + where T4 : struct + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilter((OpenTK.Graphics.OpenGL.SeparableTarget)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + row_ptr.Free(); + column_ptr.Free(); + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glGetSeparableFilter")] + public static + void GetSeparableFilter(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T3 row, [InAttribute, OutAttribute] T4[,,] column, [InAttribute, OutAttribute] T5[,,] span) + where T3 : struct + where T4 : struct + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilter((OpenTK.Graphics.OpenGL.SeparableTarget)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + row = (T3)row_ptr.Target; + } + finally + { + row_ptr.Free(); + column_ptr.Free(); + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// Returns the information log for a shader object + /// + /// + /// + /// Specifies the shader object whose information log is to be queried. + /// + /// + /// + /// + /// Specifies the size of the character buffer for storing the returned information log. + /// + /// + /// + /// + /// Returns the length of the string returned in infoLog (excluding the null terminator). + /// + /// + /// + /// + /// Specifies an array of characters that is used to return the information log. + /// + /// + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderInfoLog")] + public static + void GetShaderInfoLog(Int32 shader, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infoLog) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + { + Delegates.glGetShaderInfoLog((UInt32)shader, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)infoLog); + length = *length_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// Returns the information log for a shader object + /// + /// + /// + /// Specifies the shader object whose information log is to be queried. + /// + /// + /// + /// + /// Specifies the size of the character buffer for storing the returned information log. + /// + /// + /// + /// + /// Returns the length of the string returned in infoLog (excluding the null terminator). + /// + /// + /// + /// + /// Specifies an array of characters that is used to return the information log. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderInfoLog")] + public static + unsafe void GetShaderInfoLog(Int32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetShaderInfoLog((UInt32)shader, (Int32)bufSize, (Int32*)length, (StringBuilder)infoLog); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// Returns the information log for a shader object + /// + /// + /// + /// Specifies the shader object whose information log is to be queried. + /// + /// + /// + /// + /// Specifies the size of the character buffer for storing the returned information log. + /// + /// + /// + /// + /// Returns the length of the string returned in infoLog (excluding the null terminator). + /// + /// + /// + /// + /// Specifies an array of characters that is used to return the information log. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderInfoLog")] + public static + void GetShaderInfoLog(UInt32 shader, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infoLog) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + { + Delegates.glGetShaderInfoLog((UInt32)shader, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)infoLog); + length = *length_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// Returns the information log for a shader object + /// + /// + /// + /// Specifies the shader object whose information log is to be queried. + /// + /// + /// + /// + /// Specifies the size of the character buffer for storing the returned information log. + /// + /// + /// + /// + /// Returns the length of the string returned in infoLog (excluding the null terminator). + /// + /// + /// + /// + /// Specifies an array of characters that is used to return the information log. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderInfoLog")] + public static + unsafe void GetShaderInfoLog(UInt32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetShaderInfoLog((UInt32)shader, (Int32)bufSize, (Int32*)length, (StringBuilder)infoLog); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// Returns a parameter from a shader object + /// + /// + /// + /// Specifies the shader object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_SHADER_TYPE, GL_DELETE_STATUS, GL_COMPILE_STATUS, GL_INFO_LOG_LENGTH, GL_SHADER_SOURCE_LENGTH. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")] + public static + void GetShader(Int32 shader, OpenTK.Graphics.OpenGL.ShaderParameter pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.OpenGL.ShaderParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// Returns a parameter from a shader object + /// + /// + /// + /// Specifies the shader object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_SHADER_TYPE, GL_DELETE_STATUS, GL_COMPILE_STATUS, GL_INFO_LOG_LENGTH, GL_SHADER_SOURCE_LENGTH. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")] + public static + void GetShader(Int32 shader, OpenTK.Graphics.OpenGL.ShaderParameter pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.OpenGL.ShaderParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// Returns a parameter from a shader object + /// + /// + /// + /// Specifies the shader object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_SHADER_TYPE, GL_DELETE_STATUS, GL_COMPILE_STATUS, GL_INFO_LOG_LENGTH, GL_SHADER_SOURCE_LENGTH. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")] + public static + unsafe void GetShader(Int32 shader, OpenTK.Graphics.OpenGL.ShaderParameter pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.OpenGL.ShaderParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// Returns a parameter from a shader object + /// + /// + /// + /// Specifies the shader object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_SHADER_TYPE, GL_DELETE_STATUS, GL_COMPILE_STATUS, GL_INFO_LOG_LENGTH, GL_SHADER_SOURCE_LENGTH. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")] + public static + void GetShader(UInt32 shader, OpenTK.Graphics.OpenGL.ShaderParameter pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.OpenGL.ShaderParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// Returns a parameter from a shader object + /// + /// + /// + /// Specifies the shader object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_SHADER_TYPE, GL_DELETE_STATUS, GL_COMPILE_STATUS, GL_INFO_LOG_LENGTH, GL_SHADER_SOURCE_LENGTH. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")] + public static + void GetShader(UInt32 shader, OpenTK.Graphics.OpenGL.ShaderParameter pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.OpenGL.ShaderParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// Returns a parameter from a shader object + /// + /// + /// + /// Specifies the shader object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_SHADER_TYPE, GL_DELETE_STATUS, GL_COMPILE_STATUS, GL_INFO_LOG_LENGTH, GL_SHADER_SOURCE_LENGTH. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")] + public static + unsafe void GetShader(UInt32 shader, OpenTK.Graphics.OpenGL.ShaderParameter pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.OpenGL.ShaderParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_ES2_compatibility] + /// Retrieve the range and precision for numeric formats supported by the shader compiler + /// + /// + /// + /// Specifies the type of shader whose precision to query. shaderType must be GL_VERTEX_SHADER or GL_FRAGMENT_SHADER. + /// + /// + /// + /// + /// Specifies the numeric format whose precision and range to query. + /// + /// + /// + /// + /// Specifies the address of array of two integers into which encodings of the implementation's numeric range are returned. + /// + /// + /// + /// + /// Specifies the address of an integer into which the numeric precision of the implementation is written. + /// + /// + [AutoGenerated(Category = "ARB_ES2_compatibility", Version = "4.1", EntryPoint = "glGetShaderPrecisionFormat")] + public static + void GetShaderPrecisionFormat(OpenTK.Graphics.OpenGL.ShaderType shadertype, OpenTK.Graphics.OpenGL.ShaderPrecisionType precisiontype, [OutAttribute] Int32[] range, [OutAttribute] Int32[] precision) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* range_ptr = range) + fixed (Int32* precision_ptr = precision) + { + Delegates.glGetShaderPrecisionFormat((OpenTK.Graphics.OpenGL.ShaderType)shadertype, (OpenTK.Graphics.OpenGL.ShaderPrecisionType)precisiontype, (Int32*)range_ptr, (Int32*)precision_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_ES2_compatibility] + /// Retrieve the range and precision for numeric formats supported by the shader compiler + /// + /// + /// + /// Specifies the type of shader whose precision to query. shaderType must be GL_VERTEX_SHADER or GL_FRAGMENT_SHADER. + /// + /// + /// + /// + /// Specifies the numeric format whose precision and range to query. + /// + /// + /// + /// + /// Specifies the address of array of two integers into which encodings of the implementation's numeric range are returned. + /// + /// + /// + /// + /// Specifies the address of an integer into which the numeric precision of the implementation is written. + /// + /// + [AutoGenerated(Category = "ARB_ES2_compatibility", Version = "4.1", EntryPoint = "glGetShaderPrecisionFormat")] + public static + void GetShaderPrecisionFormat(OpenTK.Graphics.OpenGL.ShaderType shadertype, OpenTK.Graphics.OpenGL.ShaderPrecisionType precisiontype, [OutAttribute] out Int32 range, [OutAttribute] out Int32 precision) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* range_ptr = &range) + fixed (Int32* precision_ptr = &precision) + { + Delegates.glGetShaderPrecisionFormat((OpenTK.Graphics.OpenGL.ShaderType)shadertype, (OpenTK.Graphics.OpenGL.ShaderPrecisionType)precisiontype, (Int32*)range_ptr, (Int32*)precision_ptr); + range = *range_ptr; + precision = *precision_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_ES2_compatibility] + /// Retrieve the range and precision for numeric formats supported by the shader compiler + /// + /// + /// + /// Specifies the type of shader whose precision to query. shaderType must be GL_VERTEX_SHADER or GL_FRAGMENT_SHADER. + /// + /// + /// + /// + /// Specifies the numeric format whose precision and range to query. + /// + /// + /// + /// + /// Specifies the address of array of two integers into which encodings of the implementation's numeric range are returned. + /// + /// + /// + /// + /// Specifies the address of an integer into which the numeric precision of the implementation is written. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_ES2_compatibility", Version = "4.1", EntryPoint = "glGetShaderPrecisionFormat")] + public static + unsafe void GetShaderPrecisionFormat(OpenTK.Graphics.OpenGL.ShaderType shadertype, OpenTK.Graphics.OpenGL.ShaderPrecisionType precisiontype, [OutAttribute] Int32* range, [OutAttribute] Int32* precision) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetShaderPrecisionFormat((OpenTK.Graphics.OpenGL.ShaderType)shadertype, (OpenTK.Graphics.OpenGL.ShaderPrecisionType)precisiontype, (Int32*)range, (Int32*)precision); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// Returns the source code string from a shader object + /// + /// + /// + /// Specifies the shader object to be queried. + /// + /// + /// + /// + /// Specifies the size of the character buffer for storing the returned source code string. + /// + /// + /// + /// + /// Returns the length of the string returned in source (excluding the null terminator). + /// + /// + /// + /// + /// Specifies an array of characters that is used to return the source code string. + /// + /// + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderSource")] + public static + void GetShaderSource(Int32 shader, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder source) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + { + Delegates.glGetShaderSource((UInt32)shader, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)source); + length = *length_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// Returns the source code string from a shader object + /// + /// + /// + /// Specifies the shader object to be queried. + /// + /// + /// + /// + /// Specifies the size of the character buffer for storing the returned source code string. + /// + /// + /// + /// + /// Returns the length of the string returned in source (excluding the null terminator). + /// + /// + /// + /// + /// Specifies an array of characters that is used to return the source code string. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderSource")] + public static + unsafe void GetShaderSource(Int32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetShaderSource((UInt32)shader, (Int32)bufSize, (Int32*)length, (StringBuilder)source); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// Returns the source code string from a shader object + /// + /// + /// + /// Specifies the shader object to be queried. + /// + /// + /// + /// + /// Specifies the size of the character buffer for storing the returned source code string. + /// + /// + /// + /// + /// Returns the length of the string returned in source (excluding the null terminator). + /// + /// + /// + /// + /// Specifies an array of characters that is used to return the source code string. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderSource")] + public static + void GetShaderSource(UInt32 shader, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder source) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + { + Delegates.glGetShaderSource((UInt32)shader, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)source); + length = *length_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// Returns the source code string from a shader object + /// + /// + /// + /// Specifies the shader object to be queried. + /// + /// + /// + /// + /// Specifies the size of the character buffer for storing the returned source code string. + /// + /// + /// + /// + /// Returns the length of the string returned in source (excluding the null terminator). + /// + /// + /// + /// + /// Specifies an array of characters that is used to return the source code string. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderSource")] + public static + unsafe void GetShaderSource(UInt32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetShaderSource((UInt32)shader, (Int32)bufSize, (Int32*)length, (StringBuilder)source); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0] + /// Return a string describing the current GL connection + /// + /// + /// + /// Specifies a symbolic constant, one of GL_VENDOR, GL_RENDERER, GL_VERSION, or GL_SHADING_LANGUAGE_VERSION. Additionally, glGetStringi accepts the GL_EXTENSIONS token. + /// + /// + /// + /// + /// For glGetStringi, specifies the index of the string to return. + /// + /// + [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetString")] + public static + String GetString(OpenTK.Graphics.OpenGL.StringName name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe { return new string((sbyte*)Delegates.glGetString((OpenTK.Graphics.OpenGL.StringName)name)); } + #if DEBUG + } + #endif + } + + + /// [requires: v3.0] + /// Return a string describing the current GL connection + /// + /// + /// + /// Specifies a symbolic constant, one of GL_VENDOR, GL_RENDERER, GL_VERSION, or GL_SHADING_LANGUAGE_VERSION. Additionally, glGetStringi accepts the GL_EXTENSIONS token. + /// + /// + /// + /// + /// For glGetStringi, specifies the index of the string to return. + /// + /// + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetStringi")] + public static + String GetString(OpenTK.Graphics.OpenGL.StringName name, Int32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe { return new string((sbyte*)Delegates.glGetStringi((OpenTK.Graphics.OpenGL.StringName)name, (UInt32)index)); } + #if DEBUG + } + #endif + } + + + /// [requires: v3.0] + /// Return a string describing the current GL connection + /// + /// + /// + /// Specifies a symbolic constant, one of GL_VENDOR, GL_RENDERER, GL_VERSION, or GL_SHADING_LANGUAGE_VERSION. Additionally, glGetStringi accepts the GL_EXTENSIONS token. + /// + /// + /// + /// + /// For glGetStringi, specifies the index of the string to return. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetStringi")] + public static + String GetString(OpenTK.Graphics.OpenGL.StringName name, UInt32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe { return new string((sbyte*)Delegates.glGetStringi((OpenTK.Graphics.OpenGL.StringName)name, (UInt32)index)); } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_shader_subroutine] + /// Retrieve the index of a subroutine uniform of a given shader stage within a program + /// + /// + /// + /// Specifies the name of the program containing shader stage. + /// + /// + /// + /// + /// Specifies the shader stage from which to query for subroutine uniform index. shadertype must be one of GL_VERTEX_SHADER, GL_TESS_CONTROL_SHADER, GL_TESS_EVALUATION_SHADER, GL_GEOMETRY_SHADER or GL_FRAGMENT_SHADER. + /// + /// + /// + /// + /// Specifies the name of the subroutine uniform whose index to query. + /// + /// + [AutoGenerated(Category = "ARB_shader_subroutine", Version = "1.2", EntryPoint = "glGetSubroutineIndex")] + public static + Int32 GetSubroutineIndex(Int32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, String name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glGetSubroutineIndex((UInt32)program, (OpenTK.Graphics.OpenGL.ShaderType)shadertype, (String)name); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_shader_subroutine] + /// Retrieve the index of a subroutine uniform of a given shader stage within a program + /// + /// + /// + /// Specifies the name of the program containing shader stage. + /// + /// + /// + /// + /// Specifies the shader stage from which to query for subroutine uniform index. shadertype must be one of GL_VERTEX_SHADER, GL_TESS_CONTROL_SHADER, GL_TESS_EVALUATION_SHADER, GL_GEOMETRY_SHADER or GL_FRAGMENT_SHADER. + /// + /// + /// + /// + /// Specifies the name of the subroutine uniform whose index to query. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_shader_subroutine", Version = "1.2", EntryPoint = "glGetSubroutineIndex")] + public static + Int32 GetSubroutineIndex(UInt32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, String name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glGetSubroutineIndex((UInt32)program, (OpenTK.Graphics.OpenGL.ShaderType)shadertype, (String)name); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_shader_subroutine] + /// Retrieve the location of a subroutine uniform of a given shader stage within a program + /// + /// + /// + /// Specifies the name of the program containing shader stage. + /// + /// + /// + /// + /// Specifies the shader stage from which to query for subroutine uniform index. shadertype must be one of GL_VERTEX_SHADER, GL_TESS_CONTROL_SHADER, GL_TESS_EVALUATION_SHADER, GL_GEOMETRY_SHADER or GL_FRAGMENT_SHADER. + /// + /// + /// + /// + /// Specifies the name of the subroutine uniform whose index to query. + /// + /// + [AutoGenerated(Category = "ARB_shader_subroutine", Version = "1.2", EntryPoint = "glGetSubroutineUniformLocation")] + public static + Int32 GetSubroutineUniformLocation(Int32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, String name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glGetSubroutineUniformLocation((UInt32)program, (OpenTK.Graphics.OpenGL.ShaderType)shadertype, (String)name); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_shader_subroutine] + /// Retrieve the location of a subroutine uniform of a given shader stage within a program + /// + /// + /// + /// Specifies the name of the program containing shader stage. + /// + /// + /// + /// + /// Specifies the shader stage from which to query for subroutine uniform index. shadertype must be one of GL_VERTEX_SHADER, GL_TESS_CONTROL_SHADER, GL_TESS_EVALUATION_SHADER, GL_GEOMETRY_SHADER or GL_FRAGMENT_SHADER. + /// + /// + /// + /// + /// Specifies the name of the subroutine uniform whose index to query. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_shader_subroutine", Version = "1.2", EntryPoint = "glGetSubroutineUniformLocation")] + public static + Int32 GetSubroutineUniformLocation(UInt32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, String name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glGetSubroutineUniformLocation((UInt32)program, (OpenTK.Graphics.OpenGL.ShaderType)shadertype, (String)name); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_sync] + /// Query the properties of a sync object + /// + /// + /// + /// Specifies the sync object whose properties to query. + /// + /// + /// + /// + /// Specifies the parameter whose value to retrieve from the sync object specified in sync. + /// + /// + /// + /// + /// Specifies the size of the buffer whose address is given in values. + /// + /// + /// + /// + /// Specifies the address of an variable to receive the number of integers placed in values. + /// + /// + /// + /// + /// Specifies the address of an array to receive the values of the queried parameter. + /// + /// + [AutoGenerated(Category = "ARB_sync", Version = "1.2", EntryPoint = "glGetSynciv")] + public static + void GetSync(IntPtr sync, OpenTK.Graphics.OpenGL.ArbSync pname, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + fixed (Int32* values_ptr = &values) + { + Delegates.glGetSynciv((IntPtr)sync, (OpenTK.Graphics.OpenGL.ArbSync)pname, (Int32)bufSize, (Int32*)length_ptr, (Int32*)values_ptr); + length = *length_ptr; + values = *values_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_sync] + /// Query the properties of a sync object + /// + /// + /// + /// Specifies the sync object whose properties to query. + /// + /// + /// + /// + /// Specifies the parameter whose value to retrieve from the sync object specified in sync. + /// + /// + /// + /// + /// Specifies the size of the buffer whose address is given in values. + /// + /// + /// + /// + /// Specifies the address of an variable to receive the number of integers placed in values. + /// + /// + /// + /// + /// Specifies the address of an array to receive the values of the queried parameter. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_sync", Version = "1.2", EntryPoint = "glGetSynciv")] + public static + unsafe void GetSync(IntPtr sync, OpenTK.Graphics.OpenGL.ArbSync pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32[] values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (Int32* values_ptr = values) + { + Delegates.glGetSynciv((IntPtr)sync, (OpenTK.Graphics.OpenGL.ArbSync)pname, (Int32)bufSize, (Int32*)length, (Int32*)values_ptr); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_sync] + /// Query the properties of a sync object + /// + /// + /// + /// Specifies the sync object whose properties to query. + /// + /// + /// + /// + /// Specifies the parameter whose value to retrieve from the sync object specified in sync. + /// + /// + /// + /// + /// Specifies the size of the buffer whose address is given in values. + /// + /// + /// + /// + /// Specifies the address of an variable to receive the number of integers placed in values. + /// + /// + /// + /// + /// Specifies the address of an array to receive the values of the queried parameter. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_sync", Version = "1.2", EntryPoint = "glGetSynciv")] + public static + unsafe void GetSync(IntPtr sync, OpenTK.Graphics.OpenGL.ArbSync pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetSynciv((IntPtr)sync, (OpenTK.Graphics.OpenGL.ArbSync)pname, (Int32)bufSize, (Int32*)length, (Int32*)values); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Return texture environment parameters + /// + /// + /// + /// Specifies a texture environment. May be GL_TEXTURE_ENV, GL_TEXTURE_FILTER_CONTROL, or GL_POINT_SPRITE. + /// + /// + /// + /// + /// Specifies the symbolic name of a texture environment parameter. Accepted values are GL_TEXTURE_ENV_MODE, GL_TEXTURE_ENV_COLOR, GL_TEXTURE_LOD_BIAS, GL_COMBINE_RGB, GL_COMBINE_ALPHA, GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, GL_SRC0_ALPHA, GL_SRC1_ALPHA, GL_SRC2_ALPHA, GL_OPERAND0_RGB, GL_OPERAND1_RGB, GL_OPERAND2_RGB, GL_OPERAND0_ALPHA, GL_OPERAND1_ALPHA, GL_OPERAND2_ALPHA, GL_RGB_SCALE, GL_ALPHA_SCALE, or GL_COORD_REPLACE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glGetTexEnvfv")] + public static + void GetTexEnv(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetTexEnvfv((OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Return texture environment parameters + /// + /// + /// + /// Specifies a texture environment. May be GL_TEXTURE_ENV, GL_TEXTURE_FILTER_CONTROL, or GL_POINT_SPRITE. + /// + /// + /// + /// + /// Specifies the symbolic name of a texture environment parameter. Accepted values are GL_TEXTURE_ENV_MODE, GL_TEXTURE_ENV_COLOR, GL_TEXTURE_LOD_BIAS, GL_COMBINE_RGB, GL_COMBINE_ALPHA, GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, GL_SRC0_ALPHA, GL_SRC1_ALPHA, GL_SRC2_ALPHA, GL_OPERAND0_RGB, GL_OPERAND1_RGB, GL_OPERAND2_RGB, GL_OPERAND0_ALPHA, GL_OPERAND1_ALPHA, GL_OPERAND2_ALPHA, GL_RGB_SCALE, GL_ALPHA_SCALE, or GL_COORD_REPLACE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glGetTexEnvfv")] + public static + void GetTexEnv(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetTexEnvfv((OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Return texture environment parameters + /// + /// + /// + /// Specifies a texture environment. May be GL_TEXTURE_ENV, GL_TEXTURE_FILTER_CONTROL, or GL_POINT_SPRITE. + /// + /// + /// + /// + /// Specifies the symbolic name of a texture environment parameter. Accepted values are GL_TEXTURE_ENV_MODE, GL_TEXTURE_ENV_COLOR, GL_TEXTURE_LOD_BIAS, GL_COMBINE_RGB, GL_COMBINE_ALPHA, GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, GL_SRC0_ALPHA, GL_SRC1_ALPHA, GL_SRC2_ALPHA, GL_OPERAND0_RGB, GL_OPERAND1_RGB, GL_OPERAND2_RGB, GL_OPERAND0_ALPHA, GL_OPERAND1_ALPHA, GL_OPERAND2_ALPHA, GL_RGB_SCALE, GL_ALPHA_SCALE, or GL_COORD_REPLACE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glGetTexEnvfv")] + public static + unsafe void GetTexEnv(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTexEnvfv((OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Return texture environment parameters + /// + /// + /// + /// Specifies a texture environment. May be GL_TEXTURE_ENV, GL_TEXTURE_FILTER_CONTROL, or GL_POINT_SPRITE. + /// + /// + /// + /// + /// Specifies the symbolic name of a texture environment parameter. Accepted values are GL_TEXTURE_ENV_MODE, GL_TEXTURE_ENV_COLOR, GL_TEXTURE_LOD_BIAS, GL_COMBINE_RGB, GL_COMBINE_ALPHA, GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, GL_SRC0_ALPHA, GL_SRC1_ALPHA, GL_SRC2_ALPHA, GL_OPERAND0_RGB, GL_OPERAND1_RGB, GL_OPERAND2_RGB, GL_OPERAND0_ALPHA, GL_OPERAND1_ALPHA, GL_OPERAND2_ALPHA, GL_RGB_SCALE, GL_ALPHA_SCALE, or GL_COORD_REPLACE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glGetTexEnviv")] + public static + void GetTexEnv(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetTexEnviv((OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Return texture environment parameters + /// + /// + /// + /// Specifies a texture environment. May be GL_TEXTURE_ENV, GL_TEXTURE_FILTER_CONTROL, or GL_POINT_SPRITE. + /// + /// + /// + /// + /// Specifies the symbolic name of a texture environment parameter. Accepted values are GL_TEXTURE_ENV_MODE, GL_TEXTURE_ENV_COLOR, GL_TEXTURE_LOD_BIAS, GL_COMBINE_RGB, GL_COMBINE_ALPHA, GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, GL_SRC0_ALPHA, GL_SRC1_ALPHA, GL_SRC2_ALPHA, GL_OPERAND0_RGB, GL_OPERAND1_RGB, GL_OPERAND2_RGB, GL_OPERAND0_ALPHA, GL_OPERAND1_ALPHA, GL_OPERAND2_ALPHA, GL_RGB_SCALE, GL_ALPHA_SCALE, or GL_COORD_REPLACE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glGetTexEnviv")] + public static + void GetTexEnv(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetTexEnviv((OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Return texture environment parameters + /// + /// + /// + /// Specifies a texture environment. May be GL_TEXTURE_ENV, GL_TEXTURE_FILTER_CONTROL, or GL_POINT_SPRITE. + /// + /// + /// + /// + /// Specifies the symbolic name of a texture environment parameter. Accepted values are GL_TEXTURE_ENV_MODE, GL_TEXTURE_ENV_COLOR, GL_TEXTURE_LOD_BIAS, GL_COMBINE_RGB, GL_COMBINE_ALPHA, GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, GL_SRC0_ALPHA, GL_SRC1_ALPHA, GL_SRC2_ALPHA, GL_OPERAND0_RGB, GL_OPERAND1_RGB, GL_OPERAND2_RGB, GL_OPERAND0_ALPHA, GL_OPERAND1_ALPHA, GL_OPERAND2_ALPHA, GL_RGB_SCALE, GL_ALPHA_SCALE, or GL_COORD_REPLACE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glGetTexEnviv")] + public static + unsafe void GetTexEnv(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTexEnviv((OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Return texture coordinate generation parameters + /// + /// + /// + /// Specifies a texture coordinate. Must be GL_S, GL_T, GL_R, or GL_Q. + /// + /// + /// + /// + /// Specifies the symbolic name of the value(s) to be returned. Must be either GL_TEXTURE_GEN_MODE or the name of one of the texture generation plane equations: GL_OBJECT_PLANE or GL_EYE_PLANE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glGetTexGendv")] + public static + void GetTexGen(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] Double[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = @params) + { + Delegates.glGetTexGendv((OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Return texture coordinate generation parameters + /// + /// + /// + /// Specifies a texture coordinate. Must be GL_S, GL_T, GL_R, or GL_Q. + /// + /// + /// + /// + /// Specifies the symbolic name of the value(s) to be returned. Must be either GL_TEXTURE_GEN_MODE or the name of one of the texture generation plane equations: GL_OBJECT_PLANE or GL_EYE_PLANE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glGetTexGendv")] + public static + void GetTexGen(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] out Double @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = &@params) + { + Delegates.glGetTexGendv((OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Double*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Return texture coordinate generation parameters + /// + /// + /// + /// Specifies a texture coordinate. Must be GL_S, GL_T, GL_R, or GL_Q. + /// + /// + /// + /// + /// Specifies the symbolic name of the value(s) to be returned. Must be either GL_TEXTURE_GEN_MODE or the name of one of the texture generation plane equations: GL_OBJECT_PLANE or GL_EYE_PLANE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glGetTexGendv")] + public static + unsafe void GetTexGen(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTexGendv((OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Double*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Return texture coordinate generation parameters + /// + /// + /// + /// Specifies a texture coordinate. Must be GL_S, GL_T, GL_R, or GL_Q. + /// + /// + /// + /// + /// Specifies the symbolic name of the value(s) to be returned. Must be either GL_TEXTURE_GEN_MODE or the name of one of the texture generation plane equations: GL_OBJECT_PLANE or GL_EYE_PLANE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glGetTexGenfv")] + public static + void GetTexGen(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetTexGenfv((OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Return texture coordinate generation parameters + /// + /// + /// + /// Specifies a texture coordinate. Must be GL_S, GL_T, GL_R, or GL_Q. + /// + /// + /// + /// + /// Specifies the symbolic name of the value(s) to be returned. Must be either GL_TEXTURE_GEN_MODE or the name of one of the texture generation plane equations: GL_OBJECT_PLANE or GL_EYE_PLANE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glGetTexGenfv")] + public static + void GetTexGen(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetTexGenfv((OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Return texture coordinate generation parameters + /// + /// + /// + /// Specifies a texture coordinate. Must be GL_S, GL_T, GL_R, or GL_Q. + /// + /// + /// + /// + /// Specifies the symbolic name of the value(s) to be returned. Must be either GL_TEXTURE_GEN_MODE or the name of one of the texture generation plane equations: GL_OBJECT_PLANE or GL_EYE_PLANE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glGetTexGenfv")] + public static + unsafe void GetTexGen(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTexGenfv((OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Return texture coordinate generation parameters + /// + /// + /// + /// Specifies a texture coordinate. Must be GL_S, GL_T, GL_R, or GL_Q. + /// + /// + /// + /// + /// Specifies the symbolic name of the value(s) to be returned. Must be either GL_TEXTURE_GEN_MODE or the name of one of the texture generation plane equations: GL_OBJECT_PLANE or GL_EYE_PLANE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glGetTexGeniv")] + public static + void GetTexGen(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetTexGeniv((OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Return texture coordinate generation parameters + /// + /// + /// + /// Specifies a texture coordinate. Must be GL_S, GL_T, GL_R, or GL_Q. + /// + /// + /// + /// + /// Specifies the symbolic name of the value(s) to be returned. Must be either GL_TEXTURE_GEN_MODE or the name of one of the texture generation plane equations: GL_OBJECT_PLANE or GL_EYE_PLANE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glGetTexGeniv")] + public static + void GetTexGen(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetTexGeniv((OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Return texture coordinate generation parameters + /// + /// + /// + /// Specifies a texture coordinate. Must be GL_S, GL_T, GL_R, or GL_Q. + /// + /// + /// + /// + /// Specifies the symbolic name of the value(s) to be returned. Must be either GL_TEXTURE_GEN_MODE or the name of one of the texture generation plane equations: GL_OBJECT_PLANE or GL_EYE_PLANE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glGetTexGeniv")] + public static + unsafe void GetTexGen(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTexGeniv((OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0] + /// Return a texture image + /// + /// + /// + /// Specifies which texture is to be obtained. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, and GL_TEXTURE_CUBE_MAP_NEGATIVE_Z are accepted. + /// + /// + /// + /// + /// Specifies the level-of-detail number of the desired image. Level 0 is the base image level. Level is the th mipmap reduction image. + /// + /// + /// + /// + /// Specifies a pixel format for the returned data. The supported formats are GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_DEPTH_STENCIL, GL_RED, GL_GREEN, GL_BLUE, GL_RG, GL_RGB, GL_RGBA, GL_BGR, GL_BGRA, GL_RED_INTEGER, GL_GREEN_INTEGER, GL_BLUE_INTEGER, GL_RG_INTEGER, GL_RGB_INTEGER, GL_RGBA_INTEGER, GL_BGR_INTEGER, GL_BGRA_INTEGER. + /// + /// + /// + /// + /// Specifies a pixel type for the returned data. The supported types are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_HALF_FLOAT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, GL_UNSIGNED_INT_2_10_10_10_REV, GL_UNSIGNED_INT_24_8, GL_UNSIGNED_INT_10F_11F_11F_REV, GL_UNSIGNED_INT_5_9_9_9_REV, and GL_FLOAT_32_UNSIGNED_INT_24_8_REV. + /// + /// + /// + /// + /// Returns the texture image. Should be a pointer to an array of the type specified by type. + /// + /// + [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexImage")] + public static + void GetTexImage(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTexImage((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0] + /// Return a texture image + /// + /// + /// + /// Specifies which texture is to be obtained. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, and GL_TEXTURE_CUBE_MAP_NEGATIVE_Z are accepted. + /// + /// + /// + /// + /// Specifies the level-of-detail number of the desired image. Level 0 is the base image level. Level is the th mipmap reduction image. + /// + /// + /// + /// + /// Specifies a pixel format for the returned data. The supported formats are GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_DEPTH_STENCIL, GL_RED, GL_GREEN, GL_BLUE, GL_RG, GL_RGB, GL_RGBA, GL_BGR, GL_BGRA, GL_RED_INTEGER, GL_GREEN_INTEGER, GL_BLUE_INTEGER, GL_RG_INTEGER, GL_RGB_INTEGER, GL_RGBA_INTEGER, GL_BGR_INTEGER, GL_BGRA_INTEGER. + /// + /// + /// + /// + /// Specifies a pixel type for the returned data. The supported types are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_HALF_FLOAT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, GL_UNSIGNED_INT_2_10_10_10_REV, GL_UNSIGNED_INT_24_8, GL_UNSIGNED_INT_10F_11F_11F_REV, GL_UNSIGNED_INT_5_9_9_9_REV, and GL_FLOAT_32_UNSIGNED_INT_24_8_REV. + /// + /// + /// + /// + /// Returns the texture image. Should be a pointer to an array of the type specified by type. + /// + /// + [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexImage")] + public static + void GetTexImage(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[] pixels) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glGetTexImage((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0] + /// Return a texture image + /// + /// + /// + /// Specifies which texture is to be obtained. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, and GL_TEXTURE_CUBE_MAP_NEGATIVE_Z are accepted. + /// + /// + /// + /// + /// Specifies the level-of-detail number of the desired image. Level 0 is the base image level. Level is the th mipmap reduction image. + /// + /// + /// + /// + /// Specifies a pixel format for the returned data. The supported formats are GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_DEPTH_STENCIL, GL_RED, GL_GREEN, GL_BLUE, GL_RG, GL_RGB, GL_RGBA, GL_BGR, GL_BGRA, GL_RED_INTEGER, GL_GREEN_INTEGER, GL_BLUE_INTEGER, GL_RG_INTEGER, GL_RGB_INTEGER, GL_RGBA_INTEGER, GL_BGR_INTEGER, GL_BGRA_INTEGER. + /// + /// + /// + /// + /// Specifies a pixel type for the returned data. The supported types are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_HALF_FLOAT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, GL_UNSIGNED_INT_2_10_10_10_REV, GL_UNSIGNED_INT_24_8, GL_UNSIGNED_INT_10F_11F_11F_REV, GL_UNSIGNED_INT_5_9_9_9_REV, and GL_FLOAT_32_UNSIGNED_INT_24_8_REV. + /// + /// + /// + /// + /// Returns the texture image. Should be a pointer to an array of the type specified by type. + /// + /// + [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexImage")] + public static + void GetTexImage(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[,] pixels) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glGetTexImage((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0] + /// Return a texture image + /// + /// + /// + /// Specifies which texture is to be obtained. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, and GL_TEXTURE_CUBE_MAP_NEGATIVE_Z are accepted. + /// + /// + /// + /// + /// Specifies the level-of-detail number of the desired image. Level 0 is the base image level. Level is the th mipmap reduction image. + /// + /// + /// + /// + /// Specifies a pixel format for the returned data. The supported formats are GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_DEPTH_STENCIL, GL_RED, GL_GREEN, GL_BLUE, GL_RG, GL_RGB, GL_RGBA, GL_BGR, GL_BGRA, GL_RED_INTEGER, GL_GREEN_INTEGER, GL_BLUE_INTEGER, GL_RG_INTEGER, GL_RGB_INTEGER, GL_RGBA_INTEGER, GL_BGR_INTEGER, GL_BGRA_INTEGER. + /// + /// + /// + /// + /// Specifies a pixel type for the returned data. The supported types are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_HALF_FLOAT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, GL_UNSIGNED_INT_2_10_10_10_REV, GL_UNSIGNED_INT_24_8, GL_UNSIGNED_INT_10F_11F_11F_REV, GL_UNSIGNED_INT_5_9_9_9_REV, and GL_FLOAT_32_UNSIGNED_INT_24_8_REV. + /// + /// + /// + /// + /// Returns the texture image. Should be a pointer to an array of the type specified by type. + /// + /// + [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexImage")] + public static + void GetTexImage(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[,,] pixels) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glGetTexImage((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0] + /// Return a texture image + /// + /// + /// + /// Specifies which texture is to be obtained. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, and GL_TEXTURE_CUBE_MAP_NEGATIVE_Z are accepted. + /// + /// + /// + /// + /// Specifies the level-of-detail number of the desired image. Level 0 is the base image level. Level is the th mipmap reduction image. + /// + /// + /// + /// + /// Specifies a pixel format for the returned data. The supported formats are GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_DEPTH_STENCIL, GL_RED, GL_GREEN, GL_BLUE, GL_RG, GL_RGB, GL_RGBA, GL_BGR, GL_BGRA, GL_RED_INTEGER, GL_GREEN_INTEGER, GL_BLUE_INTEGER, GL_RG_INTEGER, GL_RGB_INTEGER, GL_RGBA_INTEGER, GL_BGR_INTEGER, GL_BGRA_INTEGER. + /// + /// + /// + /// + /// Specifies a pixel type for the returned data. The supported types are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_HALF_FLOAT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, GL_UNSIGNED_INT_2_10_10_10_REV, GL_UNSIGNED_INT_24_8, GL_UNSIGNED_INT_10F_11F_11F_REV, GL_UNSIGNED_INT_5_9_9_9_REV, and GL_FLOAT_32_UNSIGNED_INT_24_8_REV. + /// + /// + /// + /// + /// Returns the texture image. Should be a pointer to an array of the type specified by type. + /// + /// + [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexImage")] + public static + void GetTexImage(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T4 pixels) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glGetTexImage((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + pixels = (T4)pixels_ptr.Target; + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0] + /// Return texture parameter values for a specific level of detail + /// + /// + /// + /// Specifies the symbolic name of the target texture, one of GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, GL_TEXTURE_2D_MULTISAMPLE, GL_TEXTURE_2D_MULTISAMPLE_ARRAY, 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, GL_PROXY_TEXTURE_1D, GL_PROXY_TEXTURE_2D, GL_PROXY_TEXTURE_3D, GL_PROXY_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_2D_ARRAY, GL_PROXY_TEXTURE_RECTANGLE, GL_PROXY_TEXTURE_2D_MULTISAMPLE, GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY, GL_PROXY_TEXTURE_CUBE_MAP, or GL_TEXTURE_BUFFER. + /// + /// + /// + /// + /// Specifies the level-of-detail number of the desired image. Level 0 is the base image level. Level is the th mipmap reduction image. + /// + /// + /// + /// + /// Specifies the symbolic name of a texture parameter. GL_TEXTURE_WIDTH, GL_TEXTURE_HEIGHT, GL_TEXTURE_DEPTH, GL_TEXTURE_INTERNAL_FORMAT, GL_TEXTURE_BORDER, GL_TEXTURE_RED_SIZE, GL_TEXTURE_GREEN_SIZE, GL_TEXTURE_BLUE_SIZE, GL_TEXTURE_ALPHA_SIZE, GL_TEXTURE_DEPTH_SIZE, GL_TEXTURE_COMPRESSED, and GL_TEXTURE_COMPRESSED_IMAGE_SIZE are accepted. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexLevelParameterfv")] + public static + void GetTexLevelParameter(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetTexLevelParameterfv((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0] + /// Return texture parameter values for a specific level of detail + /// + /// + /// + /// Specifies the symbolic name of the target texture, one of GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, GL_TEXTURE_2D_MULTISAMPLE, GL_TEXTURE_2D_MULTISAMPLE_ARRAY, 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, GL_PROXY_TEXTURE_1D, GL_PROXY_TEXTURE_2D, GL_PROXY_TEXTURE_3D, GL_PROXY_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_2D_ARRAY, GL_PROXY_TEXTURE_RECTANGLE, GL_PROXY_TEXTURE_2D_MULTISAMPLE, GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY, GL_PROXY_TEXTURE_CUBE_MAP, or GL_TEXTURE_BUFFER. + /// + /// + /// + /// + /// Specifies the level-of-detail number of the desired image. Level 0 is the base image level. Level is the th mipmap reduction image. + /// + /// + /// + /// + /// Specifies the symbolic name of a texture parameter. GL_TEXTURE_WIDTH, GL_TEXTURE_HEIGHT, GL_TEXTURE_DEPTH, GL_TEXTURE_INTERNAL_FORMAT, GL_TEXTURE_BORDER, GL_TEXTURE_RED_SIZE, GL_TEXTURE_GREEN_SIZE, GL_TEXTURE_BLUE_SIZE, GL_TEXTURE_ALPHA_SIZE, GL_TEXTURE_DEPTH_SIZE, GL_TEXTURE_COMPRESSED, and GL_TEXTURE_COMPRESSED_IMAGE_SIZE are accepted. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexLevelParameterfv")] + public static + void GetTexLevelParameter(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetTexLevelParameterfv((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0] + /// Return texture parameter values for a specific level of detail + /// + /// + /// + /// Specifies the symbolic name of the target texture, one of GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, GL_TEXTURE_2D_MULTISAMPLE, GL_TEXTURE_2D_MULTISAMPLE_ARRAY, 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, GL_PROXY_TEXTURE_1D, GL_PROXY_TEXTURE_2D, GL_PROXY_TEXTURE_3D, GL_PROXY_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_2D_ARRAY, GL_PROXY_TEXTURE_RECTANGLE, GL_PROXY_TEXTURE_2D_MULTISAMPLE, GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY, GL_PROXY_TEXTURE_CUBE_MAP, or GL_TEXTURE_BUFFER. + /// + /// + /// + /// + /// Specifies the level-of-detail number of the desired image. Level 0 is the base image level. Level is the th mipmap reduction image. + /// + /// + /// + /// + /// Specifies the symbolic name of a texture parameter. GL_TEXTURE_WIDTH, GL_TEXTURE_HEIGHT, GL_TEXTURE_DEPTH, GL_TEXTURE_INTERNAL_FORMAT, GL_TEXTURE_BORDER, GL_TEXTURE_RED_SIZE, GL_TEXTURE_GREEN_SIZE, GL_TEXTURE_BLUE_SIZE, GL_TEXTURE_ALPHA_SIZE, GL_TEXTURE_DEPTH_SIZE, GL_TEXTURE_COMPRESSED, and GL_TEXTURE_COMPRESSED_IMAGE_SIZE are accepted. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexLevelParameterfv")] + public static + unsafe void GetTexLevelParameter(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTexLevelParameterfv((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0] + /// Return texture parameter values for a specific level of detail + /// + /// + /// + /// Specifies the symbolic name of the target texture, one of GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, GL_TEXTURE_2D_MULTISAMPLE, GL_TEXTURE_2D_MULTISAMPLE_ARRAY, 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, GL_PROXY_TEXTURE_1D, GL_PROXY_TEXTURE_2D, GL_PROXY_TEXTURE_3D, GL_PROXY_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_2D_ARRAY, GL_PROXY_TEXTURE_RECTANGLE, GL_PROXY_TEXTURE_2D_MULTISAMPLE, GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY, GL_PROXY_TEXTURE_CUBE_MAP, or GL_TEXTURE_BUFFER. + /// + /// + /// + /// + /// Specifies the level-of-detail number of the desired image. Level 0 is the base image level. Level is the th mipmap reduction image. + /// + /// + /// + /// + /// Specifies the symbolic name of a texture parameter. GL_TEXTURE_WIDTH, GL_TEXTURE_HEIGHT, GL_TEXTURE_DEPTH, GL_TEXTURE_INTERNAL_FORMAT, GL_TEXTURE_BORDER, GL_TEXTURE_RED_SIZE, GL_TEXTURE_GREEN_SIZE, GL_TEXTURE_BLUE_SIZE, GL_TEXTURE_ALPHA_SIZE, GL_TEXTURE_DEPTH_SIZE, GL_TEXTURE_COMPRESSED, and GL_TEXTURE_COMPRESSED_IMAGE_SIZE are accepted. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexLevelParameteriv")] + public static + void GetTexLevelParameter(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetTexLevelParameteriv((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0] + /// Return texture parameter values for a specific level of detail + /// + /// + /// + /// Specifies the symbolic name of the target texture, one of GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, GL_TEXTURE_2D_MULTISAMPLE, GL_TEXTURE_2D_MULTISAMPLE_ARRAY, 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, GL_PROXY_TEXTURE_1D, GL_PROXY_TEXTURE_2D, GL_PROXY_TEXTURE_3D, GL_PROXY_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_2D_ARRAY, GL_PROXY_TEXTURE_RECTANGLE, GL_PROXY_TEXTURE_2D_MULTISAMPLE, GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY, GL_PROXY_TEXTURE_CUBE_MAP, or GL_TEXTURE_BUFFER. + /// + /// + /// + /// + /// Specifies the level-of-detail number of the desired image. Level 0 is the base image level. Level is the th mipmap reduction image. + /// + /// + /// + /// + /// Specifies the symbolic name of a texture parameter. GL_TEXTURE_WIDTH, GL_TEXTURE_HEIGHT, GL_TEXTURE_DEPTH, GL_TEXTURE_INTERNAL_FORMAT, GL_TEXTURE_BORDER, GL_TEXTURE_RED_SIZE, GL_TEXTURE_GREEN_SIZE, GL_TEXTURE_BLUE_SIZE, GL_TEXTURE_ALPHA_SIZE, GL_TEXTURE_DEPTH_SIZE, GL_TEXTURE_COMPRESSED, and GL_TEXTURE_COMPRESSED_IMAGE_SIZE are accepted. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexLevelParameteriv")] + public static + void GetTexLevelParameter(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetTexLevelParameteriv((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0] + /// Return texture parameter values for a specific level of detail + /// + /// + /// + /// Specifies the symbolic name of the target texture, one of GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, GL_TEXTURE_2D_MULTISAMPLE, GL_TEXTURE_2D_MULTISAMPLE_ARRAY, 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, GL_PROXY_TEXTURE_1D, GL_PROXY_TEXTURE_2D, GL_PROXY_TEXTURE_3D, GL_PROXY_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_2D_ARRAY, GL_PROXY_TEXTURE_RECTANGLE, GL_PROXY_TEXTURE_2D_MULTISAMPLE, GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY, GL_PROXY_TEXTURE_CUBE_MAP, or GL_TEXTURE_BUFFER. + /// + /// + /// + /// + /// Specifies the level-of-detail number of the desired image. Level 0 is the base image level. Level is the th mipmap reduction image. + /// + /// + /// + /// + /// Specifies the symbolic name of a texture parameter. GL_TEXTURE_WIDTH, GL_TEXTURE_HEIGHT, GL_TEXTURE_DEPTH, GL_TEXTURE_INTERNAL_FORMAT, GL_TEXTURE_BORDER, GL_TEXTURE_RED_SIZE, GL_TEXTURE_GREEN_SIZE, GL_TEXTURE_BLUE_SIZE, GL_TEXTURE_ALPHA_SIZE, GL_TEXTURE_DEPTH_SIZE, GL_TEXTURE_COMPRESSED, and GL_TEXTURE_COMPRESSED_IMAGE_SIZE are accepted. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexLevelParameteriv")] + public static + unsafe void GetTexLevelParameter(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTexLevelParameteriv((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0] + /// Return texture parameter values + /// + /// + /// + /// Specifies the symbolic name of the target texture. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_3D, GL_TEXTURE_RECTANGLE, and GL_TEXTURE_CUBE_MAP are accepted. + /// + /// + /// + /// + /// Specifies the symbolic name of a texture parameter. GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_SWIZZLE_RGBA, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, and GL_TEXTURE_WRAP_R are accepted. + /// + /// + /// + /// + /// Returns the texture parameters. + /// + /// + [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexParameterfv")] + public static + void GetTexParameter(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetTexParameterfv((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0] + /// Return texture parameter values + /// + /// + /// + /// Specifies the symbolic name of the target texture. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_3D, GL_TEXTURE_RECTANGLE, and GL_TEXTURE_CUBE_MAP are accepted. + /// + /// + /// + /// + /// Specifies the symbolic name of a texture parameter. GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_SWIZZLE_RGBA, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, and GL_TEXTURE_WRAP_R are accepted. + /// + /// + /// + /// + /// Returns the texture parameters. + /// + /// + [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexParameterfv")] + public static + void GetTexParameter(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetTexParameterfv((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0] + /// Return texture parameter values + /// + /// + /// + /// Specifies the symbolic name of the target texture. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_3D, GL_TEXTURE_RECTANGLE, and GL_TEXTURE_CUBE_MAP are accepted. + /// + /// + /// + /// + /// Specifies the symbolic name of a texture parameter. GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_SWIZZLE_RGBA, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, and GL_TEXTURE_WRAP_R are accepted. + /// + /// + /// + /// + /// Returns the texture parameters. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexParameterfv")] + public static + unsafe void GetTexParameter(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTexParameterfv((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: v3.0] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetTexParameterIiv")] + public static + void GetTexParameterI(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetTexParameterIiv((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v3.0] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetTexParameterIiv")] + public static + void GetTexParameterI(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetTexParameterIiv((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: v3.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetTexParameterIiv")] + public static + unsafe void GetTexParameterI(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTexParameterIiv((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: v3.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetTexParameterIuiv")] + public static + void GetTexParameterI(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] UInt32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = @params) + { + Delegates.glGetTexParameterIuiv((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v3.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetTexParameterIuiv")] + public static + void GetTexParameterI(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] out UInt32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = &@params) + { + Delegates.glGetTexParameterIuiv((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (UInt32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: v3.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetTexParameterIuiv")] + public static + unsafe void GetTexParameterI(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] UInt32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTexParameterIuiv((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (UInt32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0] + /// Return texture parameter values + /// + /// + /// + /// Specifies the symbolic name of the target texture. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_3D, GL_TEXTURE_RECTANGLE, and GL_TEXTURE_CUBE_MAP are accepted. + /// + /// + /// + /// + /// Specifies the symbolic name of a texture parameter. GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_SWIZZLE_RGBA, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, and GL_TEXTURE_WRAP_R are accepted. + /// + /// + /// + /// + /// Returns the texture parameters. + /// + /// + [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexParameteriv")] + public static + void GetTexParameter(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetTexParameteriv((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0] + /// Return texture parameter values + /// + /// + /// + /// Specifies the symbolic name of the target texture. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_3D, GL_TEXTURE_RECTANGLE, and GL_TEXTURE_CUBE_MAP are accepted. + /// + /// + /// + /// + /// Specifies the symbolic name of a texture parameter. GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_SWIZZLE_RGBA, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, and GL_TEXTURE_WRAP_R are accepted. + /// + /// + /// + /// + /// Returns the texture parameters. + /// + /// + [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexParameteriv")] + public static + void GetTexParameter(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetTexParameteriv((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0] + /// Return texture parameter values + /// + /// + /// + /// Specifies the symbolic name of the target texture. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_3D, GL_TEXTURE_RECTANGLE, and GL_TEXTURE_CUBE_MAP are accepted. + /// + /// + /// + /// + /// Specifies the symbolic name of a texture parameter. GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_SWIZZLE_RGBA, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, and GL_TEXTURE_WRAP_R are accepted. + /// + /// + /// + /// + /// Returns the texture parameters. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexParameteriv")] + public static + unsafe void GetTexParameter(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTexParameteriv((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v3.0] + /// Retrieve information about varying variables selected for transform feedback + /// + /// + /// + /// The name of the target program object. + /// + /// + /// + /// + /// The index of the varying variable whose information to retrieve. + /// + /// + /// + /// + /// The maximum number of characters, including the null terminator, that may be written into name. + /// + /// + /// + /// + /// The address of a variable which will receive the number of characters written into name, excluding the null-terminator. If length is NULL no length is returned. + /// + /// + /// + /// + /// The address of a variable that will receive the size of the varying. + /// + /// + /// + /// + /// The address of a variable that will recieve the type of the varying. + /// + /// + /// + /// + /// The address of a buffer into which will be written the name of the varying. + /// + /// + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetTransformFeedbackVarying")] + public static + void GetTransformFeedbackVarying(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.OpenGL.ActiveAttribType type, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + fixed (Int32* size_ptr = &size) + fixed (OpenTK.Graphics.OpenGL.ActiveAttribType* type_ptr = &type) + { + Delegates.glGetTransformFeedbackVarying((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.OpenGL.ActiveAttribType*)type_ptr, (StringBuilder)name); + length = *length_ptr; + size = *size_ptr; + type = *type_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v3.0] + /// Retrieve information about varying variables selected for transform feedback + /// + /// + /// + /// The name of the target program object. + /// + /// + /// + /// + /// The index of the varying variable whose information to retrieve. + /// + /// + /// + /// + /// The maximum number of characters, including the null terminator, that may be written into name. + /// + /// + /// + /// + /// The address of a variable which will receive the number of characters written into name, excluding the null-terminator. If length is NULL no length is returned. + /// + /// + /// + /// + /// The address of a variable that will receive the size of the varying. + /// + /// + /// + /// + /// The address of a variable that will recieve the type of the varying. + /// + /// + /// + /// + /// The address of a buffer into which will be written the name of the varying. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetTransformFeedbackVarying")] + public static + unsafe void GetTransformFeedbackVarying(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.ActiveAttribType* type, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTransformFeedbackVarying((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.OpenGL.ActiveAttribType*)type, (StringBuilder)name); + #if DEBUG + } + #endif + } + + + /// [requires: v3.0] + /// Retrieve information about varying variables selected for transform feedback + /// + /// + /// + /// The name of the target program object. + /// + /// + /// + /// + /// The index of the varying variable whose information to retrieve. + /// + /// + /// + /// + /// The maximum number of characters, including the null terminator, that may be written into name. + /// + /// + /// + /// + /// The address of a variable which will receive the number of characters written into name, excluding the null-terminator. If length is NULL no length is returned. + /// + /// + /// + /// + /// The address of a variable that will receive the size of the varying. + /// + /// + /// + /// + /// The address of a variable that will recieve the type of the varying. + /// + /// + /// + /// + /// The address of a buffer into which will be written the name of the varying. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetTransformFeedbackVarying")] + public static + void GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.OpenGL.ActiveAttribType type, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + fixed (Int32* size_ptr = &size) + fixed (OpenTK.Graphics.OpenGL.ActiveAttribType* type_ptr = &type) + { + Delegates.glGetTransformFeedbackVarying((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.OpenGL.ActiveAttribType*)type_ptr, (StringBuilder)name); + length = *length_ptr; + size = *size_ptr; + type = *type_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v3.0] + /// Retrieve information about varying variables selected for transform feedback + /// + /// + /// + /// The name of the target program object. + /// + /// + /// + /// + /// The index of the varying variable whose information to retrieve. + /// + /// + /// + /// + /// The maximum number of characters, including the null terminator, that may be written into name. + /// + /// + /// + /// + /// The address of a variable which will receive the number of characters written into name, excluding the null-terminator. If length is NULL no length is returned. + /// + /// + /// + /// + /// The address of a variable that will receive the size of the varying. + /// + /// + /// + /// + /// The address of a variable that will recieve the type of the varying. + /// + /// + /// + /// + /// The address of a buffer into which will be written the name of the varying. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetTransformFeedbackVarying")] + public static + unsafe void GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.ActiveAttribType* type, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTransformFeedbackVarying((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.OpenGL.ActiveAttribType*)type, (StringBuilder)name); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and ARB_uniform_buffer_object] + /// Retrieve the index of a named uniform block + /// + /// + /// + /// Specifies the name of a program containing the uniform block. + /// + /// + /// + /// + /// Specifies the address an array of characters to containing the name of the uniform block whose index to retrieve. + /// + /// + [AutoGenerated(Category = "ARB_uniform_buffer_object", Version = "2.0", EntryPoint = "glGetUniformBlockIndex")] + public static + Int32 GetUniformBlockIndex(Int32 program, String uniformBlockName) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glGetUniformBlockIndex((UInt32)program, (String)uniformBlockName); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and ARB_uniform_buffer_object] + /// Retrieve the index of a named uniform block + /// + /// + /// + /// Specifies the name of a program containing the uniform block. + /// + /// + /// + /// + /// Specifies the address an array of characters to containing the name of the uniform block whose index to retrieve. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_uniform_buffer_object", Version = "2.0", EntryPoint = "glGetUniformBlockIndex")] + public static + Int32 GetUniformBlockIndex(UInt32 program, String uniformBlockName) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glGetUniformBlockIndex((UInt32)program, (String)uniformBlockName); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_gpu_shader_fp64] + /// 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 = "ARB_gpu_shader_fp64", Version = "1.2", EntryPoint = "glGetUniformdv")] + public static + void GetUniform(Int32 program, Int32 location, [OutAttribute] Double[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = @params) + { + Delegates.glGetUniformdv((UInt32)program, (Int32)location, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_gpu_shader_fp64] + /// 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 = "ARB_gpu_shader_fp64", Version = "1.2", EntryPoint = "glGetUniformdv")] + public static + void GetUniform(Int32 program, Int32 location, [OutAttribute] out Double @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = &@params) + { + Delegates.glGetUniformdv((UInt32)program, (Int32)location, (Double*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_gpu_shader_fp64] + /// 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 = "ARB_gpu_shader_fp64", Version = "1.2", EntryPoint = "glGetUniformdv")] + public static + unsafe void GetUniform(Int32 program, Int32 location, [OutAttribute] Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetUniformdv((UInt32)program, (Int32)location, (Double*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_gpu_shader_fp64] + /// 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 = "ARB_gpu_shader_fp64", Version = "1.2", EntryPoint = "glGetUniformdv")] + public static + void GetUniform(UInt32 program, Int32 location, [OutAttribute] Double[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = @params) + { + Delegates.glGetUniformdv((UInt32)program, (Int32)location, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_gpu_shader_fp64] + /// 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 = "ARB_gpu_shader_fp64", Version = "1.2", EntryPoint = "glGetUniformdv")] + public static + void GetUniform(UInt32 program, Int32 location, [OutAttribute] out Double @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = &@params) + { + Delegates.glGetUniformdv((UInt32)program, (Int32)location, (Double*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_gpu_shader_fp64] + /// 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 = "ARB_gpu_shader_fp64", Version = "1.2", EntryPoint = "glGetUniformdv")] + public static + unsafe void GetUniform(UInt32 program, Int32 location, [OutAttribute] Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetUniformdv((UInt32)program, (Int32)location, (Double*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformfv")] + public static + void GetUniform(Int32 program, Int32 location, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformfv")] + public static + void GetUniform(Int32 program, Int32 location, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformfv")] + public static + unsafe void GetUniform(Int32 program, Int32 location, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformfv")] + public static + void GetUniform(UInt32 program, Int32 location, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformfv")] + public static + void GetUniform(UInt32 program, Int32 location, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformfv")] + public static + unsafe void GetUniform(UInt32 program, Int32 location, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and ARB_uniform_buffer_object] + /// Retrieve the index of a named uniform block + /// + /// + /// + /// Specifies the name of a program containing uniforms whose indices to query. + /// + /// + /// + /// + /// Specifies the number of uniforms whose indices to query. + /// + /// + /// + /// + /// Specifies the address of an array of pointers to buffers containing the names of the queried uniforms. + /// + /// + /// + /// + /// Specifies the address of an array that will receive the indices of the uniforms. + /// + /// + [AutoGenerated(Category = "ARB_uniform_buffer_object", Version = "2.0", EntryPoint = "glGetUniformIndices")] + public static + void GetUniformIndices(Int32 program, Int32 uniformCount, String[] uniformNames, [OutAttribute] Int32[] uniformIndices) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* uniformIndices_ptr = uniformIndices) + { + Delegates.glGetUniformIndices((UInt32)program, (Int32)uniformCount, (String[])uniformNames, (UInt32*)uniformIndices_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and ARB_uniform_buffer_object] + /// Retrieve the index of a named uniform block + /// + /// + /// + /// Specifies the name of a program containing uniforms whose indices to query. + /// + /// + /// + /// + /// Specifies the number of uniforms whose indices to query. + /// + /// + /// + /// + /// Specifies the address of an array of pointers to buffers containing the names of the queried uniforms. + /// + /// + /// + /// + /// Specifies the address of an array that will receive the indices of the uniforms. + /// + /// + [AutoGenerated(Category = "ARB_uniform_buffer_object", Version = "2.0", EntryPoint = "glGetUniformIndices")] + public static + void GetUniformIndices(Int32 program, Int32 uniformCount, String[] uniformNames, [OutAttribute] out Int32 uniformIndices) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* uniformIndices_ptr = &uniformIndices) + { + Delegates.glGetUniformIndices((UInt32)program, (Int32)uniformCount, (String[])uniformNames, (UInt32*)uniformIndices_ptr); + uniformIndices = *uniformIndices_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and ARB_uniform_buffer_object] + /// Retrieve the index of a named uniform block + /// + /// + /// + /// Specifies the name of a program containing uniforms whose indices to query. + /// + /// + /// + /// + /// Specifies the number of uniforms whose indices to query. + /// + /// + /// + /// + /// Specifies the address of an array of pointers to buffers containing the names of the queried uniforms. + /// + /// + /// + /// + /// Specifies the address of an array that will receive the indices of the uniforms. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_uniform_buffer_object", Version = "2.0", EntryPoint = "glGetUniformIndices")] + public static + unsafe void GetUniformIndices(Int32 program, Int32 uniformCount, String[] uniformNames, [OutAttribute] Int32* uniformIndices) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetUniformIndices((UInt32)program, (Int32)uniformCount, (String[])uniformNames, (UInt32*)uniformIndices); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and ARB_uniform_buffer_object] + /// Retrieve the index of a named uniform block + /// + /// + /// + /// Specifies the name of a program containing uniforms whose indices to query. + /// + /// + /// + /// + /// Specifies the number of uniforms whose indices to query. + /// + /// + /// + /// + /// Specifies the address of an array of pointers to buffers containing the names of the queried uniforms. + /// + /// + /// + /// + /// Specifies the address of an array that will receive the indices of the uniforms. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_uniform_buffer_object", Version = "2.0", EntryPoint = "glGetUniformIndices")] + public static + void GetUniformIndices(UInt32 program, Int32 uniformCount, String[] uniformNames, [OutAttribute] UInt32[] uniformIndices) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* uniformIndices_ptr = uniformIndices) + { + Delegates.glGetUniformIndices((UInt32)program, (Int32)uniformCount, (String[])uniformNames, (UInt32*)uniformIndices_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and ARB_uniform_buffer_object] + /// Retrieve the index of a named uniform block + /// + /// + /// + /// Specifies the name of a program containing uniforms whose indices to query. + /// + /// + /// + /// + /// Specifies the number of uniforms whose indices to query. + /// + /// + /// + /// + /// Specifies the address of an array of pointers to buffers containing the names of the queried uniforms. + /// + /// + /// + /// + /// Specifies the address of an array that will receive the indices of the uniforms. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_uniform_buffer_object", Version = "2.0", EntryPoint = "glGetUniformIndices")] + public static + void GetUniformIndices(UInt32 program, Int32 uniformCount, String[] uniformNames, [OutAttribute] out UInt32 uniformIndices) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* uniformIndices_ptr = &uniformIndices) + { + Delegates.glGetUniformIndices((UInt32)program, (Int32)uniformCount, (String[])uniformNames, (UInt32*)uniformIndices_ptr); + uniformIndices = *uniformIndices_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and ARB_uniform_buffer_object] + /// Retrieve the index of a named uniform block + /// + /// + /// + /// Specifies the name of a program containing uniforms whose indices to query. + /// + /// + /// + /// + /// Specifies the number of uniforms whose indices to query. + /// + /// + /// + /// + /// Specifies the address of an array of pointers to buffers containing the names of the queried uniforms. + /// + /// + /// + /// + /// Specifies the address of an array that will receive the indices of the uniforms. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_uniform_buffer_object", Version = "2.0", EntryPoint = "glGetUniformIndices")] + public static + unsafe void GetUniformIndices(UInt32 program, Int32 uniformCount, String[] uniformNames, [OutAttribute] UInt32* uniformIndices) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetUniformIndices((UInt32)program, (Int32)uniformCount, (String[])uniformNames, (UInt32*)uniformIndices); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformiv")] + public static + void GetUniform(Int32 program, Int32 location, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformiv")] + public static + void GetUniform(Int32 program, Int32 location, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformiv")] + public static + unsafe void GetUniform(Int32 program, Int32 location, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformiv")] + public static + void GetUniform(UInt32 program, Int32 location, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformiv")] + public static + void GetUniform(UInt32 program, Int32 location, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformiv")] + public static + unsafe void GetUniform(UInt32 program, Int32 location, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// Returns the location of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Points to a null terminated string containing the name of the uniform variable whose location is to be queried. + /// + /// + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformLocation")] + public static + Int32 GetUniformLocation(Int32 program, String name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glGetUniformLocation((UInt32)program, (String)name); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// Returns the location of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Points to a null terminated string containing the name of the uniform variable whose location is to be queried. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformLocation")] + public static + Int32 GetUniformLocation(UInt32 program, String name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glGetUniformLocation((UInt32)program, (String)name); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_shader_subroutine] + /// Retrieve the value of a subroutine uniform of a given shader stage of the current program + /// + /// + /// + /// Specifies the shader stage from which to query for subroutine uniform index. shadertype must be one of GL_VERTEX_SHADER, GL_TESS_CONTROL_SHADER, GL_TESS_EVALUATION_SHADER, GL_GEOMETRY_SHADER or GL_FRAGMENT_SHADER. + /// + /// + /// + /// + /// Specifies the location of the subroutine uniform. + /// + /// + /// + /// + /// Specifies the address of a variable to receive the value or values of the subroutine uniform. + /// + /// + [AutoGenerated(Category = "ARB_shader_subroutine", Version = "1.2", EntryPoint = "glGetUniformSubroutineuiv")] + public static + void GetUniformSubroutine(OpenTK.Graphics.OpenGL.ShaderType shadertype, Int32 location, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetUniformSubroutineuiv((OpenTK.Graphics.OpenGL.ShaderType)shadertype, (Int32)location, (UInt32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_shader_subroutine] + /// Retrieve the value of a subroutine uniform of a given shader stage of the current program + /// + /// + /// + /// Specifies the shader stage from which to query for subroutine uniform index. shadertype must be one of GL_VERTEX_SHADER, GL_TESS_CONTROL_SHADER, GL_TESS_EVALUATION_SHADER, GL_GEOMETRY_SHADER or GL_FRAGMENT_SHADER. + /// + /// + /// + /// + /// Specifies the location of the subroutine uniform. + /// + /// + /// + /// + /// Specifies the address of a variable to receive the value or values of the subroutine uniform. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_shader_subroutine", Version = "1.2", EntryPoint = "glGetUniformSubroutineuiv")] + public static + unsafe void GetUniformSubroutine(OpenTK.Graphics.OpenGL.ShaderType shadertype, Int32 location, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetUniformSubroutineuiv((OpenTK.Graphics.OpenGL.ShaderType)shadertype, (Int32)location, (UInt32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_shader_subroutine] + /// Retrieve the value of a subroutine uniform of a given shader stage of the current program + /// + /// + /// + /// Specifies the shader stage from which to query for subroutine uniform index. shadertype must be one of GL_VERTEX_SHADER, GL_TESS_CONTROL_SHADER, GL_TESS_EVALUATION_SHADER, GL_GEOMETRY_SHADER or GL_FRAGMENT_SHADER. + /// + /// + /// + /// + /// Specifies the location of the subroutine uniform. + /// + /// + /// + /// + /// Specifies the address of a variable to receive the value or values of the subroutine uniform. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_shader_subroutine", Version = "1.2", EntryPoint = "glGetUniformSubroutineuiv")] + public static + void GetUniformSubroutine(OpenTK.Graphics.OpenGL.ShaderType shadertype, Int32 location, [OutAttribute] out UInt32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = &@params) + { + Delegates.glGetUniformSubroutineuiv((OpenTK.Graphics.OpenGL.ShaderType)shadertype, (Int32)location, (UInt32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_shader_subroutine] + /// Retrieve the value of a subroutine uniform of a given shader stage of the current program + /// + /// + /// + /// Specifies the shader stage from which to query for subroutine uniform index. shadertype must be one of GL_VERTEX_SHADER, GL_TESS_CONTROL_SHADER, GL_TESS_EVALUATION_SHADER, GL_GEOMETRY_SHADER or GL_FRAGMENT_SHADER. + /// + /// + /// + /// + /// Specifies the location of the subroutine uniform. + /// + /// + /// + /// + /// Specifies the address of a variable to receive the value or values of the subroutine uniform. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_shader_subroutine", Version = "1.2", EntryPoint = "glGetUniformSubroutineuiv")] + public static + unsafe void GetUniformSubroutine(OpenTK.Graphics.OpenGL.ShaderType shadertype, Int32 location, [OutAttribute] UInt32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetUniformSubroutineuiv((OpenTK.Graphics.OpenGL.ShaderType)shadertype, (Int32)location, (UInt32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v3.0] + /// 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 = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetUniformuiv")] + public static + void GetUniform(UInt32 program, Int32 location, [OutAttribute] UInt32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = @params) + { + Delegates.glGetUniformuiv((UInt32)program, (Int32)location, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v3.0] + /// 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 = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetUniformuiv")] + public static + void GetUniform(UInt32 program, Int32 location, [OutAttribute] out UInt32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = &@params) + { + Delegates.glGetUniformuiv((UInt32)program, (Int32)location, (UInt32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v3.0] + /// 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 = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetUniformuiv")] + public static + unsafe void GetUniform(UInt32 program, Int32 location, [OutAttribute] UInt32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetUniformuiv((UInt32)program, (Int32)location, (UInt32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// 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, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribdv")] + public static + void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Double[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = @params) + { + Delegates.glGetVertexAttribdv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// 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, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribdv")] + public static + void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] out Double @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = &@params) + { + Delegates.glGetVertexAttribdv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (Double*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// 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, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribdv")] + public static + unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribdv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (Double*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// 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, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribdv")] + public static + void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Double[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = @params) + { + Delegates.glGetVertexAttribdv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// 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, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribdv")] + public static + void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] out Double @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = &@params) + { + Delegates.glGetVertexAttribdv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (Double*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// 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, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribdv")] + public static + unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribdv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (Double*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// 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, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] + public static + void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// 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, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] + public static + void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// 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, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] + public static + unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// 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, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] + public static + void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// 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, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] + public static + void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// 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, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] + public static + unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: v3.0] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetVertexAttribIiv")] + public static + void GetVertexAttribI(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetVertexAttribIiv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: v3.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetVertexAttribIiv")] + public static + unsafe void GetVertexAttribI(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribIiv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: v3.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetVertexAttribIiv")] + public static + void GetVertexAttribI(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetVertexAttribIiv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: v3.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetVertexAttribIiv")] + public static + unsafe void GetVertexAttribI(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribIiv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: v3.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetVertexAttribIuiv")] + public static + void GetVertexAttribI(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] out UInt32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = &@params) + { + Delegates.glGetVertexAttribIuiv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (UInt32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: v3.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetVertexAttribIuiv")] + public static + unsafe void GetVertexAttribI(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] UInt32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribIuiv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (UInt32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// 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, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] + public static + void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// 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, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] + public static + void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// 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, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] + public static + unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// 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, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] + public static + void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// 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, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] + public static + void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// 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, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] + public static + unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_vertex_attrib_64bit] + [AutoGenerated(Category = "ARB_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glGetVertexAttribLdv")] + public static + void GetVertexAttribL(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Double[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = @params) + { + Delegates.glGetVertexAttribLdv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_vertex_attrib_64bit] + [AutoGenerated(Category = "ARB_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glGetVertexAttribLdv")] + public static + void GetVertexAttribL(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] out Double @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = &@params) + { + Delegates.glGetVertexAttribLdv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (Double*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_vertex_attrib_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glGetVertexAttribLdv")] + public static + unsafe void GetVertexAttribL(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribLdv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (Double*)@params); + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_vertex_attrib_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glGetVertexAttribLdv")] + public static + void GetVertexAttribL(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Double[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = @params) + { + Delegates.glGetVertexAttribLdv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_vertex_attrib_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glGetVertexAttribLdv")] + public static + void GetVertexAttribL(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] out Double @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = &@params) + { + Delegates.glGetVertexAttribLdv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (Double*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_vertex_attrib_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glGetVertexAttribLdv")] + public static + unsafe void GetVertexAttribL(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribLdv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (Double*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// Return the address of the specified generic vertex attribute pointer + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be returned. + /// + /// + /// + /// + /// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER. + /// + /// + /// + /// + /// Returns the pointer value. + /// + /// + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] + public static + void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameter pname, [OutAttribute] IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribPointerParameter)pname, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// Return the address of the specified generic vertex attribute pointer + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be returned. + /// + /// + /// + /// + /// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER. + /// + /// + /// + /// + /// Returns the pointer value. + /// + /// + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] + public static + void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] T2[] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// Return the address of the specified generic vertex attribute pointer + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be returned. + /// + /// + /// + /// + /// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER. + /// + /// + /// + /// + /// Returns the pointer value. + /// + /// + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] + public static + void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] T2[,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// Return the address of the specified generic vertex attribute pointer + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be returned. + /// + /// + /// + /// + /// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER. + /// + /// + /// + /// + /// Returns the pointer value. + /// + /// + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] + public static + void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] T2[,,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// Return the address of the specified generic vertex attribute pointer + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be returned. + /// + /// + /// + /// + /// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER. + /// + /// + /// + /// + /// Returns the pointer value. + /// + /// + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] + public static + void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] ref T2 pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + pointer = (T2)pointer_ptr.Target; + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// Return the address of the specified generic vertex attribute pointer + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be returned. + /// + /// + /// + /// + /// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER. + /// + /// + /// + /// + /// Returns the pointer value. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] + public static + void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameter pname, [OutAttribute] IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribPointerParameter)pname, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// Return the address of the specified generic vertex attribute pointer + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be returned. + /// + /// + /// + /// + /// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER. + /// + /// + /// + /// + /// Returns the pointer value. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] + public static + void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] T2[] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// Return the address of the specified generic vertex attribute pointer + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be returned. + /// + /// + /// + /// + /// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER. + /// + /// + /// + /// + /// Returns the pointer value. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] + public static + void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] T2[,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// Return the address of the specified generic vertex attribute pointer + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be returned. + /// + /// + /// + /// + /// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER. + /// + /// + /// + /// + /// Returns the pointer value. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] + public static + void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] T2[,,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// Return the address of the specified generic vertex attribute pointer + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be returned. + /// + /// + /// + /// + /// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER. + /// + /// + /// + /// + /// Returns the pointer value. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] + public static + void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] ref T2 pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + pointer = (T2)pointer_ptr.Target; + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0] + /// Specify implementation-specific hints + /// + /// + /// + /// Specifies a symbolic constant indicating the behavior to be controlled. GL_LINE_SMOOTH_HINT, GL_POLYGON_SMOOTH_HINT, GL_TEXTURE_COMPRESSION_HINT, and GL_FRAGMENT_SHADER_DERIVATIVE_HINT are accepted. + /// + /// + /// + /// + /// Specifies a symbolic constant indicating the desired behavior. GL_FASTEST, GL_NICEST, and GL_DONT_CARE are accepted. + /// + /// + [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glHint")] + public static + void Hint(OpenTK.Graphics.OpenGL.HintTarget target, OpenTK.Graphics.OpenGL.HintMode mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glHint((OpenTK.Graphics.OpenGL.HintTarget)target, (OpenTK.Graphics.OpenGL.HintMode)mode); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Define histogram table + /// + /// + /// + /// The histogram whose parameters are to be set. Must be one of GL_HISTOGRAM or GL_PROXY_HISTOGRAM. + /// + /// + /// + /// + /// The number of entries in the histogram table. Must be a power of 2. + /// + /// + /// + /// + /// The format of entries in the histogram table. Must be one of GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// If GL_TRUE, pixels will be consumed by the histogramming process and no drawing or texture loading will take place. If GL_FALSE, pixels will proceed to the minmax process after histogramming. + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glHistogram")] + public static + void Histogram(OpenTK.Graphics.OpenGL.HistogramTarget target, Int32 width, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, bool sink) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glHistogram((OpenTK.Graphics.OpenGL.HistogramTarget)target, (Int32)width, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (bool)sink); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current color index + /// + /// + /// + /// Specifies the new value for the current color index. + /// + /// + /// + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glIndexd")] + public static + void Index(Double c) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glIndexd((Double)c); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current color index + /// + /// + /// + /// Specifies the new value for the current color index. + /// + /// + /// + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glIndexdv")] + public static + unsafe void Index(Double* c) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glIndexdv((Double*)c); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current color index + /// + /// + /// + /// Specifies the new value for the current color index. + /// + /// + /// + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glIndexf")] + public static + void Index(Single c) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glIndexf((Single)c); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current color index + /// + /// + /// + /// Specifies the new value for the current color index. + /// + /// + /// + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glIndexfv")] + public static + unsafe void Index(Single* c) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glIndexfv((Single*)c); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current color index + /// + /// + /// + /// Specifies the new value for the current color index. + /// + /// + /// + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glIndexi")] + public static + void Index(Int32 c) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glIndexi((Int32)c); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current color index + /// + /// + /// + /// Specifies the new value for the current color index. + /// + /// + /// + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glIndexiv")] + public static + unsafe void Index(Int32* c) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glIndexiv((Int32*)c); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Control the writing of individual bits in the color index buffers + /// + /// + /// + /// Specifies a bit mask to enable and disable the writing of individual bits in the color index buffers. Initially, the mask is all 1's. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glIndexMask")] + public static + void IndexMask(Int32 mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glIndexMask((UInt32)mask); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Control the writing of individual bits in the color index buffers + /// + /// + /// + /// Specifies a bit mask to enable and disable the writing of individual bits in the color index buffers. Initially, the mask is all 1's. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glIndexMask")] + public static + void IndexMask(UInt32 mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glIndexMask((UInt32)mask); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1][deprecated: v3.1] + /// Define an array of color indexes + /// + /// + /// + /// Specifies the data type of each color index in the array. Symbolic constants GL_UNSIGNED_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive color indexes. If stride is 0, the color indexes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first index in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "VERSION_1_1_DEPRECATED", Version = "1.1", EntryPoint = "glIndexPointer")] + public static + void IndexPointer(OpenTK.Graphics.OpenGL.IndexPointerType type, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glIndexPointer((OpenTK.Graphics.OpenGL.IndexPointerType)type, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1][deprecated: v3.1] + /// Define an array of color indexes + /// + /// + /// + /// Specifies the data type of each color index in the array. Symbolic constants GL_UNSIGNED_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive color indexes. If stride is 0, the color indexes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first index in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "VERSION_1_1_DEPRECATED", Version = "1.1", EntryPoint = "glIndexPointer")] + public static + void IndexPointer(OpenTK.Graphics.OpenGL.IndexPointerType type, Int32 stride, [InAttribute, OutAttribute] T2[] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glIndexPointer((OpenTK.Graphics.OpenGL.IndexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1][deprecated: v3.1] + /// Define an array of color indexes + /// + /// + /// + /// Specifies the data type of each color index in the array. Symbolic constants GL_UNSIGNED_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive color indexes. If stride is 0, the color indexes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first index in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "VERSION_1_1_DEPRECATED", Version = "1.1", EntryPoint = "glIndexPointer")] + public static + void IndexPointer(OpenTK.Graphics.OpenGL.IndexPointerType type, Int32 stride, [InAttribute, OutAttribute] T2[,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glIndexPointer((OpenTK.Graphics.OpenGL.IndexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1][deprecated: v3.1] + /// Define an array of color indexes + /// + /// + /// + /// Specifies the data type of each color index in the array. Symbolic constants GL_UNSIGNED_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive color indexes. If stride is 0, the color indexes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first index in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "VERSION_1_1_DEPRECATED", Version = "1.1", EntryPoint = "glIndexPointer")] + public static + void IndexPointer(OpenTK.Graphics.OpenGL.IndexPointerType type, Int32 stride, [InAttribute, OutAttribute] T2[,,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glIndexPointer((OpenTK.Graphics.OpenGL.IndexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1][deprecated: v3.1] + /// Define an array of color indexes + /// + /// + /// + /// Specifies the data type of each color index in the array. Symbolic constants GL_UNSIGNED_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive color indexes. If stride is 0, the color indexes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first index in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "VERSION_1_1_DEPRECATED", Version = "1.1", EntryPoint = "glIndexPointer")] + public static + void IndexPointer(OpenTK.Graphics.OpenGL.IndexPointerType type, Int32 stride, [InAttribute, OutAttribute] ref T2 pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glIndexPointer((OpenTK.Graphics.OpenGL.IndexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + pointer = (T2)pointer_ptr.Target; + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current color index + /// + /// + /// + /// Specifies the new value for the current color index. + /// + /// + /// + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glIndexs")] + public static + void Index(Int16 c) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glIndexs((Int16)c); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current color index + /// + /// + /// + /// Specifies the new value for the current color index. + /// + /// + /// + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glIndexsv")] + public static + unsafe void Index(Int16* c) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glIndexsv((Int16*)c); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1] + /// Set the current color index + /// + /// + /// + /// Specifies the new value for the current color index. + /// + /// + /// + /// + /// + [AutoGenerated(Category = "VERSION_1_1_DEPRECATED", Version = "1.1", EntryPoint = "glIndexub")] + public static + void Index(Byte c) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glIndexub((Byte)c); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1] + /// Set the current color index + /// + /// + /// + /// Specifies the new value for the current color index. + /// + /// + /// + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_1_DEPRECATED", Version = "1.1", EntryPoint = "glIndexubv")] + public static + unsafe void Index(Byte* c) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glIndexubv((Byte*)c); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Initialize the name stack + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glInitNames")] + public static + void InitNames() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glInitNames(); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1][deprecated: v3.1] + /// Simultaneously specify and enable several interleaved arrays + /// + /// + /// + /// Specifies the type of array to enable. Symbolic constants GL_V2F, GL_V3F, GL_C4UB_V2F, GL_C4UB_V3F, GL_C3F_V3F, GL_N3F_V3F, GL_C4F_N3F_V3F, GL_T2F_V3F, GL_T4F_V4F, GL_T2F_C4UB_V3F, GL_T2F_C3F_V3F, GL_T2F_N3F_V3F, GL_T2F_C4F_N3F_V3F, and GL_T4F_C4F_N3F_V4F are accepted. + /// + /// + /// + /// + /// Specifies the offset in bytes between each aggregate array element. + /// + /// + [AutoGenerated(Category = "VERSION_1_1_DEPRECATED", Version = "1.1", EntryPoint = "glInterleavedArrays")] + public static + void InterleavedArrays(OpenTK.Graphics.OpenGL.InterleavedArrayFormat format, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glInterleavedArrays((OpenTK.Graphics.OpenGL.InterleavedArrayFormat)format, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1][deprecated: v3.1] + /// Simultaneously specify and enable several interleaved arrays + /// + /// + /// + /// Specifies the type of array to enable. Symbolic constants GL_V2F, GL_V3F, GL_C4UB_V2F, GL_C4UB_V3F, GL_C3F_V3F, GL_N3F_V3F, GL_C4F_N3F_V3F, GL_T2F_V3F, GL_T4F_V4F, GL_T2F_C4UB_V3F, GL_T2F_C3F_V3F, GL_T2F_N3F_V3F, GL_T2F_C4F_N3F_V3F, and GL_T4F_C4F_N3F_V4F are accepted. + /// + /// + /// + /// + /// Specifies the offset in bytes between each aggregate array element. + /// + /// + [AutoGenerated(Category = "VERSION_1_1_DEPRECATED", Version = "1.1", EntryPoint = "glInterleavedArrays")] + public static + void InterleavedArrays(OpenTK.Graphics.OpenGL.InterleavedArrayFormat format, Int32 stride, [InAttribute, OutAttribute] T2[] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glInterleavedArrays((OpenTK.Graphics.OpenGL.InterleavedArrayFormat)format, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1][deprecated: v3.1] + /// Simultaneously specify and enable several interleaved arrays + /// + /// + /// + /// Specifies the type of array to enable. Symbolic constants GL_V2F, GL_V3F, GL_C4UB_V2F, GL_C4UB_V3F, GL_C3F_V3F, GL_N3F_V3F, GL_C4F_N3F_V3F, GL_T2F_V3F, GL_T4F_V4F, GL_T2F_C4UB_V3F, GL_T2F_C3F_V3F, GL_T2F_N3F_V3F, GL_T2F_C4F_N3F_V3F, and GL_T4F_C4F_N3F_V4F are accepted. + /// + /// + /// + /// + /// Specifies the offset in bytes between each aggregate array element. + /// + /// + [AutoGenerated(Category = "VERSION_1_1_DEPRECATED", Version = "1.1", EntryPoint = "glInterleavedArrays")] + public static + void InterleavedArrays(OpenTK.Graphics.OpenGL.InterleavedArrayFormat format, Int32 stride, [InAttribute, OutAttribute] T2[,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glInterleavedArrays((OpenTK.Graphics.OpenGL.InterleavedArrayFormat)format, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1][deprecated: v3.1] + /// Simultaneously specify and enable several interleaved arrays + /// + /// + /// + /// Specifies the type of array to enable. Symbolic constants GL_V2F, GL_V3F, GL_C4UB_V2F, GL_C4UB_V3F, GL_C3F_V3F, GL_N3F_V3F, GL_C4F_N3F_V3F, GL_T2F_V3F, GL_T4F_V4F, GL_T2F_C4UB_V3F, GL_T2F_C3F_V3F, GL_T2F_N3F_V3F, GL_T2F_C4F_N3F_V3F, and GL_T4F_C4F_N3F_V4F are accepted. + /// + /// + /// + /// + /// Specifies the offset in bytes between each aggregate array element. + /// + /// + [AutoGenerated(Category = "VERSION_1_1_DEPRECATED", Version = "1.1", EntryPoint = "glInterleavedArrays")] + public static + void InterleavedArrays(OpenTK.Graphics.OpenGL.InterleavedArrayFormat format, Int32 stride, [InAttribute, OutAttribute] T2[,,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glInterleavedArrays((OpenTK.Graphics.OpenGL.InterleavedArrayFormat)format, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1][deprecated: v3.1] + /// Simultaneously specify and enable several interleaved arrays + /// + /// + /// + /// Specifies the type of array to enable. Symbolic constants GL_V2F, GL_V3F, GL_C4UB_V2F, GL_C4UB_V3F, GL_C3F_V3F, GL_N3F_V3F, GL_C4F_N3F_V3F, GL_T2F_V3F, GL_T4F_V4F, GL_T2F_C4UB_V3F, GL_T2F_C3F_V3F, GL_T2F_N3F_V3F, GL_T2F_C4F_N3F_V3F, and GL_T4F_C4F_N3F_V4F are accepted. + /// + /// + /// + /// + /// Specifies the offset in bytes between each aggregate array element. + /// + /// + [AutoGenerated(Category = "VERSION_1_1_DEPRECATED", Version = "1.1", EntryPoint = "glInterleavedArrays")] + public static + void InterleavedArrays(OpenTK.Graphics.OpenGL.InterleavedArrayFormat format, Int32 stride, [InAttribute, OutAttribute] ref T2 pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glInterleavedArrays((OpenTK.Graphics.OpenGL.InterleavedArrayFormat)format, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + pointer = (T2)pointer_ptr.Target; + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.5] + /// Determine if a name corresponds to a buffer object + /// + /// + /// + /// Specifies a value that may be the name of a buffer object. + /// + /// + [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glIsBuffer")] + public static + bool IsBuffer(Int32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsBuffer((UInt32)buffer); + #if DEBUG + } + #endif + } + + + /// [requires: v1.5] + /// Determine if a name corresponds to a buffer object + /// + /// + /// + /// Specifies a value that may be the name of a buffer object. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glIsBuffer")] + public static + bool IsBuffer(UInt32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsBuffer((UInt32)buffer); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0] + /// Test whether a capability is enabled + /// + /// + /// + /// Specifies a symbolic constant indicating a GL capability. + /// + /// + [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glIsEnabled")] + public static + bool IsEnabled(OpenTK.Graphics.OpenGL.EnableCap cap) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsEnabled((OpenTK.Graphics.OpenGL.EnableCap)cap); + #if DEBUG + } + #endif + } + + + /// [requires: v3.0] + /// Test whether a capability is enabled + /// + /// + /// + /// Specifies a symbolic constant indicating a GL capability. + /// + /// + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glIsEnabledi")] + public static + bool IsEnabled(OpenTK.Graphics.OpenGL.IndexedEnableCap target, Int32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsEnabledi((OpenTK.Graphics.OpenGL.IndexedEnableCap)target, (UInt32)index); + #if DEBUG + } + #endif + } + + + /// [requires: v3.0] + /// Test whether a capability is enabled + /// + /// + /// + /// Specifies a symbolic constant indicating a GL capability. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glIsEnabledi")] + public static + bool IsEnabled(OpenTK.Graphics.OpenGL.IndexedEnableCap target, UInt32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsEnabledi((OpenTK.Graphics.OpenGL.IndexedEnableCap)target, (UInt32)index); + #if DEBUG + } + #endif + } + + + /// [requires: v3.0 and ARB_framebuffer_object] + /// Determine if a name corresponds to a framebuffer object + /// + /// + /// + /// Specifies a value that may be the name of a framebuffer object. + /// + /// + [AutoGenerated(Category = "ARB_framebuffer_object", Version = "3.0", EntryPoint = "glIsFramebuffer")] + public static + bool IsFramebuffer(Int32 framebuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsFramebuffer((UInt32)framebuffer); + #if DEBUG + } + #endif + } + + + /// [requires: v3.0 and ARB_framebuffer_object] + /// Determine if a name corresponds to a framebuffer object + /// + /// + /// + /// Specifies a value that may be the name of a framebuffer object. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_framebuffer_object", Version = "3.0", EntryPoint = "glIsFramebuffer")] + public static + bool IsFramebuffer(UInt32 framebuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsFramebuffer((UInt32)framebuffer); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Determine if a name corresponds to a display list + /// + /// + /// + /// Specifies a potential display list name. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glIsList")] + public static + bool IsList(Int32 list) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsList((UInt32)list); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Determine if a name corresponds to a display list + /// + /// + /// + /// Specifies a potential display list name. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glIsList")] + public static + bool IsList(UInt32 list) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsList((UInt32)list); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// Determines if a name corresponds to a program object + /// + /// + /// + /// Specifies a potential program object. + /// + /// + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glIsProgram")] + public static + bool IsProgram(Int32 program) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsProgram((UInt32)program); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// Determines if a name corresponds to a program object + /// + /// + /// + /// Specifies a potential program object. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glIsProgram")] + public static + bool IsProgram(UInt32 program) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsProgram((UInt32)program); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Determine if a name corresponds to a program pipeline object + /// + /// + /// + /// Specifies a value that may be the name of a program pipeline object. + /// + /// + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glIsProgramPipeline")] + public static + bool IsProgramPipeline(Int32 pipeline) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsProgramPipeline((UInt32)pipeline); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Determine if a name corresponds to a program pipeline object + /// + /// + /// + /// Specifies a value that may be the name of a program pipeline object. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glIsProgramPipeline")] + public static + bool IsProgramPipeline(UInt32 pipeline) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsProgramPipeline((UInt32)pipeline); + #if DEBUG + } + #endif + } + + + /// [requires: v1.5] + /// Determine if a name corresponds to a query object + /// + /// + /// + /// Specifies a value that may be the name of a query object. + /// + /// + [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glIsQuery")] + public static + bool IsQuery(Int32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsQuery((UInt32)id); + #if DEBUG + } + #endif + } + + + /// [requires: v1.5] + /// Determine if a name corresponds to a query object + /// + /// + /// + /// Specifies a value that may be the name of a query object. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glIsQuery")] + public static + bool IsQuery(UInt32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsQuery((UInt32)id); + #if DEBUG + } + #endif + } + + + /// [requires: v3.0 and ARB_framebuffer_object] + /// Determine if a name corresponds to a renderbuffer object + /// + /// + /// + /// Specifies a value that may be the name of a renderbuffer object. + /// + /// + [AutoGenerated(Category = "ARB_framebuffer_object", Version = "3.0", EntryPoint = "glIsRenderbuffer")] + public static + bool IsRenderbuffer(Int32 renderbuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsRenderbuffer((UInt32)renderbuffer); + #if DEBUG + } + #endif + } + + + /// [requires: v3.0 and ARB_framebuffer_object] + /// Determine if a name corresponds to a renderbuffer object + /// + /// + /// + /// Specifies a value that may be the name of a renderbuffer object. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_framebuffer_object", Version = "3.0", EntryPoint = "glIsRenderbuffer")] + public static + bool IsRenderbuffer(UInt32 renderbuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsRenderbuffer((UInt32)renderbuffer); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_sampler_objects] + /// Determine if a name corresponds to a sampler object + /// + /// + /// + /// Specifies a value that may be the name of a sampler object. + /// + /// + [AutoGenerated(Category = "ARB_sampler_objects", Version = "1.2", EntryPoint = "glIsSampler")] + public static + bool IsSampler(Int32 sampler) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsSampler((UInt32)sampler); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_sampler_objects] + /// Determine if a name corresponds to a sampler object + /// + /// + /// + /// Specifies a value that may be the name of a sampler object. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_sampler_objects", Version = "1.2", EntryPoint = "glIsSampler")] + public static + bool IsSampler(UInt32 sampler) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsSampler((UInt32)sampler); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// Determines if a name corresponds to a shader object + /// + /// + /// + /// Specifies a potential shader object. + /// + /// + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glIsShader")] + public static + bool IsShader(Int32 shader) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsShader((UInt32)shader); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// Determines if a name corresponds to a shader object + /// + /// + /// + /// Specifies a potential shader object. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glIsShader")] + public static + bool IsShader(UInt32 shader) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsShader((UInt32)shader); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_sync] + /// Determine if a name corresponds to a sync object + /// + /// + /// + /// Specifies a value that may be the name of a sync object. + /// + /// + [AutoGenerated(Category = "ARB_sync", Version = "1.2", EntryPoint = "glIsSync")] + public static + bool IsSync(IntPtr sync) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsSync((IntPtr)sync); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1] + /// Determine if a name corresponds to a texture + /// + /// + /// + /// Specifies a value that may be the name of a texture. + /// + /// + [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glIsTexture")] + public static + bool IsTexture(Int32 texture) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsTexture((UInt32)texture); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1] + /// Determine if a name corresponds to a texture + /// + /// + /// + /// Specifies a value that may be the name of a texture. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glIsTexture")] + public static + bool IsTexture(UInt32 texture) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsTexture((UInt32)texture); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_transform_feedback2] + /// Determine if a name corresponds to a transform feedback object + /// + /// + /// + /// Specifies a value that may be the name of a transform feedback object. + /// + /// + [AutoGenerated(Category = "ARB_transform_feedback2", Version = "1.2", EntryPoint = "glIsTransformFeedback")] + public static + bool IsTransformFeedback(Int32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsTransformFeedback((UInt32)id); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_transform_feedback2] + /// Determine if a name corresponds to a transform feedback object + /// + /// + /// + /// Specifies a value that may be the name of a transform feedback object. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_transform_feedback2", Version = "1.2", EntryPoint = "glIsTransformFeedback")] + public static + bool IsTransformFeedback(UInt32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsTransformFeedback((UInt32)id); + #if DEBUG + } + #endif + } + + + /// [requires: v3.0 and ARB_vertex_array_object] + /// Determine if a name corresponds to a vertex array object + /// + /// + /// + /// Specifies a value that may be the name of a vertex array object. + /// + /// + [AutoGenerated(Category = "ARB_vertex_array_object", Version = "3.0", EntryPoint = "glIsVertexArray")] + public static + bool IsVertexArray(Int32 array) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsVertexArray((UInt32)array); + #if DEBUG + } + #endif + } + + + /// [requires: v3.0 and ARB_vertex_array_object] + /// Determine if a name corresponds to a vertex array object + /// + /// + /// + /// Specifies a value that may be the name of a vertex array object. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_array_object", Version = "3.0", EntryPoint = "glIsVertexArray")] + public static + bool IsVertexArray(UInt32 array) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsVertexArray((UInt32)array); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set light source parameters + /// + /// + /// + /// Specifies a light. The number of lights depends on the implementation, but at least eight lights are supported. They are identified by symbolic names of the form GL_LIGHT , where i ranges from 0 to the value of GL_MAX_LIGHTS - 1. + /// + /// + /// + /// + /// Specifies a single-valued light source parameter for light. GL_SPOT_EXPONENT, GL_SPOT_CUTOFF, GL_CONSTANT_ATTENUATION, GL_LINEAR_ATTENUATION, and GL_QUADRATIC_ATTENUATION are accepted. + /// + /// + /// + /// + /// Specifies the value that parameter pname of light source light will be set to. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glLightf")] + public static + void Light(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, Single param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLightf((OpenTK.Graphics.OpenGL.LightName)light, (OpenTK.Graphics.OpenGL.LightParameter)pname, (Single)param); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set light source parameters + /// + /// + /// + /// Specifies a light. The number of lights depends on the implementation, but at least eight lights are supported. They are identified by symbolic names of the form GL_LIGHT , where i ranges from 0 to the value of GL_MAX_LIGHTS - 1. + /// + /// + /// + /// + /// Specifies a single-valued light source parameter for light. GL_SPOT_EXPONENT, GL_SPOT_CUTOFF, GL_CONSTANT_ATTENUATION, GL_LINEAR_ATTENUATION, and GL_QUADRATIC_ATTENUATION are accepted. + /// + /// + /// + /// + /// Specifies the value that parameter pname of light source light will be set to. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glLightfv")] + public static + void Light(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glLightfv((OpenTK.Graphics.OpenGL.LightName)light, (OpenTK.Graphics.OpenGL.LightParameter)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set light source parameters + /// + /// + /// + /// Specifies a light. The number of lights depends on the implementation, but at least eight lights are supported. They are identified by symbolic names of the form GL_LIGHT , where i ranges from 0 to the value of GL_MAX_LIGHTS - 1. + /// + /// + /// + /// + /// Specifies a single-valued light source parameter for light. GL_SPOT_EXPONENT, GL_SPOT_CUTOFF, GL_CONSTANT_ATTENUATION, GL_LINEAR_ATTENUATION, and GL_QUADRATIC_ATTENUATION are accepted. + /// + /// + /// + /// + /// Specifies the value that parameter pname of light source light will be set to. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glLightfv")] + public static + unsafe void Light(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLightfv((OpenTK.Graphics.OpenGL.LightName)light, (OpenTK.Graphics.OpenGL.LightParameter)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set light source parameters + /// + /// + /// + /// Specifies a light. The number of lights depends on the implementation, but at least eight lights are supported. They are identified by symbolic names of the form GL_LIGHT , where i ranges from 0 to the value of GL_MAX_LIGHTS - 1. + /// + /// + /// + /// + /// Specifies a single-valued light source parameter for light. GL_SPOT_EXPONENT, GL_SPOT_CUTOFF, GL_CONSTANT_ATTENUATION, GL_LINEAR_ATTENUATION, and GL_QUADRATIC_ATTENUATION are accepted. + /// + /// + /// + /// + /// Specifies the value that parameter pname of light source light will be set to. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glLighti")] + public static + void Light(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, Int32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLighti((OpenTK.Graphics.OpenGL.LightName)light, (OpenTK.Graphics.OpenGL.LightParameter)pname, (Int32)param); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set light source parameters + /// + /// + /// + /// Specifies a light. The number of lights depends on the implementation, but at least eight lights are supported. They are identified by symbolic names of the form GL_LIGHT , where i ranges from 0 to the value of GL_MAX_LIGHTS - 1. + /// + /// + /// + /// + /// Specifies a single-valued light source parameter for light. GL_SPOT_EXPONENT, GL_SPOT_CUTOFF, GL_CONSTANT_ATTENUATION, GL_LINEAR_ATTENUATION, and GL_QUADRATIC_ATTENUATION are accepted. + /// + /// + /// + /// + /// Specifies the value that parameter pname of light source light will be set to. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glLightiv")] + public static + void Light(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glLightiv((OpenTK.Graphics.OpenGL.LightName)light, (OpenTK.Graphics.OpenGL.LightParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set light source parameters + /// + /// + /// + /// Specifies a light. The number of lights depends on the implementation, but at least eight lights are supported. They are identified by symbolic names of the form GL_LIGHT , where i ranges from 0 to the value of GL_MAX_LIGHTS - 1. + /// + /// + /// + /// + /// Specifies a single-valued light source parameter for light. GL_SPOT_EXPONENT, GL_SPOT_CUTOFF, GL_CONSTANT_ATTENUATION, GL_LINEAR_ATTENUATION, and GL_QUADRATIC_ATTENUATION are accepted. + /// + /// + /// + /// + /// Specifies the value that parameter pname of light source light will be set to. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glLightiv")] + public static + unsafe void Light(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLightiv((OpenTK.Graphics.OpenGL.LightName)light, (OpenTK.Graphics.OpenGL.LightParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the lighting model parameters + /// + /// + /// + /// Specifies a single-valued lighting model parameter. GL_LIGHT_MODEL_LOCAL_VIEWER, GL_LIGHT_MODEL_COLOR_CONTROL, and GL_LIGHT_MODEL_TWO_SIDE are accepted. + /// + /// + /// + /// + /// Specifies the value that param will be set to. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glLightModelf")] + public static + void LightModel(OpenTK.Graphics.OpenGL.LightModelParameter pname, Single param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLightModelf((OpenTK.Graphics.OpenGL.LightModelParameter)pname, (Single)param); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the lighting model parameters + /// + /// + /// + /// Specifies a single-valued lighting model parameter. GL_LIGHT_MODEL_LOCAL_VIEWER, GL_LIGHT_MODEL_COLOR_CONTROL, and GL_LIGHT_MODEL_TWO_SIDE are accepted. + /// + /// + /// + /// + /// Specifies the value that param will be set to. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glLightModelfv")] + public static + void LightModel(OpenTK.Graphics.OpenGL.LightModelParameter pname, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glLightModelfv((OpenTK.Graphics.OpenGL.LightModelParameter)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the lighting model parameters + /// + /// + /// + /// Specifies a single-valued lighting model parameter. GL_LIGHT_MODEL_LOCAL_VIEWER, GL_LIGHT_MODEL_COLOR_CONTROL, and GL_LIGHT_MODEL_TWO_SIDE are accepted. + /// + /// + /// + /// + /// Specifies the value that param will be set to. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glLightModelfv")] + public static + unsafe void LightModel(OpenTK.Graphics.OpenGL.LightModelParameter pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLightModelfv((OpenTK.Graphics.OpenGL.LightModelParameter)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the lighting model parameters + /// + /// + /// + /// Specifies a single-valued lighting model parameter. GL_LIGHT_MODEL_LOCAL_VIEWER, GL_LIGHT_MODEL_COLOR_CONTROL, and GL_LIGHT_MODEL_TWO_SIDE are accepted. + /// + /// + /// + /// + /// Specifies the value that param will be set to. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glLightModeli")] + public static + void LightModel(OpenTK.Graphics.OpenGL.LightModelParameter pname, Int32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLightModeli((OpenTK.Graphics.OpenGL.LightModelParameter)pname, (Int32)param); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the lighting model parameters + /// + /// + /// + /// Specifies a single-valued lighting model parameter. GL_LIGHT_MODEL_LOCAL_VIEWER, GL_LIGHT_MODEL_COLOR_CONTROL, and GL_LIGHT_MODEL_TWO_SIDE are accepted. + /// + /// + /// + /// + /// Specifies the value that param will be set to. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glLightModeliv")] + public static + void LightModel(OpenTK.Graphics.OpenGL.LightModelParameter pname, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glLightModeliv((OpenTK.Graphics.OpenGL.LightModelParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the lighting model parameters + /// + /// + /// + /// Specifies a single-valued lighting model parameter. GL_LIGHT_MODEL_LOCAL_VIEWER, GL_LIGHT_MODEL_COLOR_CONTROL, and GL_LIGHT_MODEL_TWO_SIDE are accepted. + /// + /// + /// + /// + /// Specifies the value that param will be set to. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glLightModeliv")] + public static + unsafe void LightModel(OpenTK.Graphics.OpenGL.LightModelParameter pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLightModeliv((OpenTK.Graphics.OpenGL.LightModelParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify the line stipple pattern + /// + /// + /// + /// Specifies a multiplier for each bit in the line stipple pattern. If factor is 3, for example, each bit in the pattern is used three times before the next bit in the pattern is used. factor is clamped to the range [1, 256] and defaults to 1. + /// + /// + /// + /// + /// Specifies a 16-bit integer whose bit pattern determines which fragments of a line will be drawn when the line is rasterized. Bit zero is used first; the default pattern is all 1's. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glLineStipple")] + public static + void LineStipple(Int32 factor, Int16 pattern) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLineStipple((Int32)factor, (UInt16)pattern); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify the line stipple pattern + /// + /// + /// + /// Specifies a multiplier for each bit in the line stipple pattern. If factor is 3, for example, each bit in the pattern is used three times before the next bit in the pattern is used. factor is clamped to the range [1, 256] and defaults to 1. + /// + /// + /// + /// + /// Specifies a 16-bit integer whose bit pattern determines which fragments of a line will be drawn when the line is rasterized. Bit zero is used first; the default pattern is all 1's. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glLineStipple")] + public static + void LineStipple(Int32 factor, UInt16 pattern) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLineStipple((Int32)factor, (UInt16)pattern); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0] + /// Specify the width of rasterized lines + /// + /// + /// + /// Specifies the width of rasterized lines. The initial value is 1. + /// + /// + [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glLineWidth")] + public static + void LineWidth(Single width) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLineWidth((Single)width); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// Links a program object + /// + /// + /// + /// Specifies the handle of the program object to be linked. + /// + /// + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glLinkProgram")] + public static + void LinkProgram(Int32 program) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLinkProgram((UInt32)program); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// Links a program object + /// + /// + /// + /// Specifies the handle of the program object to be linked. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glLinkProgram")] + public static + void LinkProgram(UInt32 program) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLinkProgram((UInt32)program); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the display-list base for glCallLists + /// + /// + /// + /// Specifies an integer offset that will be added to glCallLists offsets to generate display-list names. The initial value is 0. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glListBase")] + public static + void ListBase(Int32 @base) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glListBase((UInt32)@base); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the display-list base for glCallLists + /// + /// + /// + /// Specifies an integer offset that will be added to glCallLists offsets to generate display-list names. The initial value is 0. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glListBase")] + public static + void ListBase(UInt32 @base) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glListBase((UInt32)@base); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Replace the current matrix with the identity matrix + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glLoadIdentity")] + public static + void LoadIdentity() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLoadIdentity(); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Replace the current matrix with the specified matrix + /// + /// + /// + /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 column-major matrix. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glLoadMatrixd")] + public static + void LoadMatrix(Double[] m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* m_ptr = m) + { + Delegates.glLoadMatrixd((Double*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Replace the current matrix with the specified matrix + /// + /// + /// + /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 column-major matrix. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glLoadMatrixd")] + public static + void LoadMatrix(ref Double m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* m_ptr = &m) + { + Delegates.glLoadMatrixd((Double*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Replace the current matrix with the specified matrix + /// + /// + /// + /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 column-major matrix. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glLoadMatrixd")] + public static + unsafe void LoadMatrix(Double* m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLoadMatrixd((Double*)m); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Replace the current matrix with the specified matrix + /// + /// + /// + /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 column-major matrix. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glLoadMatrixf")] + public static + void LoadMatrix(Single[] m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* m_ptr = m) + { + Delegates.glLoadMatrixf((Single*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Replace the current matrix with the specified matrix + /// + /// + /// + /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 column-major matrix. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glLoadMatrixf")] + public static + void LoadMatrix(ref Single m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* m_ptr = &m) + { + Delegates.glLoadMatrixf((Single*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Replace the current matrix with the specified matrix + /// + /// + /// + /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 column-major matrix. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glLoadMatrixf")] + public static + unsafe void LoadMatrix(Single* m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLoadMatrixf((Single*)m); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Load a name onto the name stack + /// + /// + /// + /// Specifies a name that will replace the top value on the name stack. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glLoadName")] + public static + void LoadName(Int32 name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLoadName((UInt32)name); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Load a name onto the name stack + /// + /// + /// + /// Specifies a name that will replace the top value on the name stack. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glLoadName")] + public static + void LoadName(UInt32 name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLoadName((UInt32)name); + #if DEBUG + } + #endif + } + + + /// [requires: v1.3][deprecated: v3.1] + /// 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 = "VERSION_1_3_DEPRECATED", Version = "1.3", EntryPoint = "glLoadTransposeMatrixd")] + public static + void LoadTransposeMatrix(Double[] m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* m_ptr = m) + { + Delegates.glLoadTransposeMatrixd((Double*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.3][deprecated: v3.1] + /// 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 = "VERSION_1_3_DEPRECATED", Version = "1.3", EntryPoint = "glLoadTransposeMatrixd")] + public static + void LoadTransposeMatrix(ref Double m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* m_ptr = &m) + { + Delegates.glLoadTransposeMatrixd((Double*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.3][deprecated: v3.1] + /// Replace the current matrix with the specified row-major ordered matrix + /// + /// + /// + /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 row-major matrix. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_3_DEPRECATED", Version = "1.3", EntryPoint = "glLoadTransposeMatrixd")] + public static + unsafe void LoadTransposeMatrix(Double* m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLoadTransposeMatrixd((Double*)m); + #if DEBUG + } + #endif + } + + + /// [requires: v1.3][deprecated: v3.1] + /// 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 = "VERSION_1_3_DEPRECATED", Version = "1.3", EntryPoint = "glLoadTransposeMatrixf")] + public static + void LoadTransposeMatrix(Single[] m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* m_ptr = m) + { + Delegates.glLoadTransposeMatrixf((Single*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.3][deprecated: v3.1] + /// 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 = "VERSION_1_3_DEPRECATED", Version = "1.3", EntryPoint = "glLoadTransposeMatrixf")] + public static + void LoadTransposeMatrix(ref Single m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* m_ptr = &m) + { + Delegates.glLoadTransposeMatrixf((Single*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.3][deprecated: v3.1] + /// Replace the current matrix with the specified row-major ordered matrix + /// + /// + /// + /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 row-major matrix. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_3_DEPRECATED", Version = "1.3", EntryPoint = "glLoadTransposeMatrixf")] + public static + unsafe void LoadTransposeMatrix(Single* m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLoadTransposeMatrixf((Single*)m); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0] + /// Specify a logical pixel operation for rendering + /// + /// + /// + /// Specifies a symbolic constant that selects a logical operation. The following symbols are accepted: GL_CLEAR, GL_SET, GL_COPY, GL_COPY_INVERTED, GL_NOOP, GL_INVERT, GL_AND, GL_NAND, GL_OR, GL_NOR, GL_XOR, GL_EQUIV, GL_AND_REVERSE, GL_AND_INVERTED, GL_OR_REVERSE, and GL_OR_INVERTED. The initial value is GL_COPY. + /// + /// + [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glLogicOp")] + public static + void LogicOp(OpenTK.Graphics.OpenGL.LogicOp opcode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLogicOp((OpenTK.Graphics.OpenGL.LogicOp)opcode); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Define a one-dimensional evaluator + /// + /// + /// + /// Specifies the kind of values that are generated by the evaluator. Symbolic constants GL_MAP1_VERTEX_3, GL_MAP1_VERTEX_4, GL_MAP1_INDEX, GL_MAP1_COLOR_4, GL_MAP1_NORMAL, GL_MAP1_TEXTURE_COORD_1, GL_MAP1_TEXTURE_COORD_2, GL_MAP1_TEXTURE_COORD_3, and GL_MAP1_TEXTURE_COORD_4 are accepted. + /// + /// + /// + /// + /// Specify a linear mapping of , as presented to glEvalCoord1, to u hat, the variable that is evaluated by the equations specified by this command. + /// + /// + /// + /// + /// Specifies the number of floats or doubles between the beginning of one control point and the beginning of the next one in the data structure referenced in points. This allows control points to be embedded in arbitrary data structures. The only constraint is that the values for a particular control point must occupy contiguous memory locations. + /// + /// + /// + /// + /// Specifies the number of control points. Must be positive. + /// + /// + /// + /// + /// Specifies a pointer to the array of control points. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glMap1d")] + public static + void Map1(OpenTK.Graphics.OpenGL.MapTarget target, 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.glMap1d((OpenTK.Graphics.OpenGL.MapTarget)target, (Double)u1, (Double)u2, (Int32)stride, (Int32)order, (Double*)points_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Define a one-dimensional evaluator + /// + /// + /// + /// Specifies the kind of values that are generated by the evaluator. Symbolic constants GL_MAP1_VERTEX_3, GL_MAP1_VERTEX_4, GL_MAP1_INDEX, GL_MAP1_COLOR_4, GL_MAP1_NORMAL, GL_MAP1_TEXTURE_COORD_1, GL_MAP1_TEXTURE_COORD_2, GL_MAP1_TEXTURE_COORD_3, and GL_MAP1_TEXTURE_COORD_4 are accepted. + /// + /// + /// + /// + /// Specify a linear mapping of , as presented to glEvalCoord1, to u hat, the variable that is evaluated by the equations specified by this command. + /// + /// + /// + /// + /// Specifies the number of floats or doubles between the beginning of one control point and the beginning of the next one in the data structure referenced in points. This allows control points to be embedded in arbitrary data structures. The only constraint is that the values for a particular control point must occupy contiguous memory locations. + /// + /// + /// + /// + /// Specifies the number of control points. Must be positive. + /// + /// + /// + /// + /// Specifies a pointer to the array of control points. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glMap1d")] + public static + void Map1(OpenTK.Graphics.OpenGL.MapTarget target, 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.glMap1d((OpenTK.Graphics.OpenGL.MapTarget)target, (Double)u1, (Double)u2, (Int32)stride, (Int32)order, (Double*)points_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Define a one-dimensional evaluator + /// + /// + /// + /// Specifies the kind of values that are generated by the evaluator. Symbolic constants GL_MAP1_VERTEX_3, GL_MAP1_VERTEX_4, GL_MAP1_INDEX, GL_MAP1_COLOR_4, GL_MAP1_NORMAL, GL_MAP1_TEXTURE_COORD_1, GL_MAP1_TEXTURE_COORD_2, GL_MAP1_TEXTURE_COORD_3, and GL_MAP1_TEXTURE_COORD_4 are accepted. + /// + /// + /// + /// + /// Specify a linear mapping of , as presented to glEvalCoord1, to u hat, the variable that is evaluated by the equations specified by this command. + /// + /// + /// + /// + /// Specifies the number of floats or doubles between the beginning of one control point and the beginning of the next one in the data structure referenced in points. This allows control points to be embedded in arbitrary data structures. The only constraint is that the values for a particular control point must occupy contiguous memory locations. + /// + /// + /// + /// + /// Specifies the number of control points. Must be positive. + /// + /// + /// + /// + /// Specifies a pointer to the array of control points. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glMap1d")] + public static + unsafe void Map1(OpenTK.Graphics.OpenGL.MapTarget target, Double u1, Double u2, Int32 stride, Int32 order, Double* points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMap1d((OpenTK.Graphics.OpenGL.MapTarget)target, (Double)u1, (Double)u2, (Int32)stride, (Int32)order, (Double*)points); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Define a one-dimensional evaluator + /// + /// + /// + /// Specifies the kind of values that are generated by the evaluator. Symbolic constants GL_MAP1_VERTEX_3, GL_MAP1_VERTEX_4, GL_MAP1_INDEX, GL_MAP1_COLOR_4, GL_MAP1_NORMAL, GL_MAP1_TEXTURE_COORD_1, GL_MAP1_TEXTURE_COORD_2, GL_MAP1_TEXTURE_COORD_3, and GL_MAP1_TEXTURE_COORD_4 are accepted. + /// + /// + /// + /// + /// Specify a linear mapping of , as presented to glEvalCoord1, to u hat, the variable that is evaluated by the equations specified by this command. + /// + /// + /// + /// + /// Specifies the number of floats or doubles between the beginning of one control point and the beginning of the next one in the data structure referenced in points. This allows control points to be embedded in arbitrary data structures. The only constraint is that the values for a particular control point must occupy contiguous memory locations. + /// + /// + /// + /// + /// Specifies the number of control points. Must be positive. + /// + /// + /// + /// + /// Specifies a pointer to the array of control points. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glMap1f")] + public static + void Map1(OpenTK.Graphics.OpenGL.MapTarget target, Single u1, Single u2, Int32 stride, Int32 order, Single[] points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* points_ptr = points) + { + Delegates.glMap1f((OpenTK.Graphics.OpenGL.MapTarget)target, (Single)u1, (Single)u2, (Int32)stride, (Int32)order, (Single*)points_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Define a one-dimensional evaluator + /// + /// + /// + /// Specifies the kind of values that are generated by the evaluator. Symbolic constants GL_MAP1_VERTEX_3, GL_MAP1_VERTEX_4, GL_MAP1_INDEX, GL_MAP1_COLOR_4, GL_MAP1_NORMAL, GL_MAP1_TEXTURE_COORD_1, GL_MAP1_TEXTURE_COORD_2, GL_MAP1_TEXTURE_COORD_3, and GL_MAP1_TEXTURE_COORD_4 are accepted. + /// + /// + /// + /// + /// Specify a linear mapping of , as presented to glEvalCoord1, to u hat, the variable that is evaluated by the equations specified by this command. + /// + /// + /// + /// + /// Specifies the number of floats or doubles between the beginning of one control point and the beginning of the next one in the data structure referenced in points. This allows control points to be embedded in arbitrary data structures. The only constraint is that the values for a particular control point must occupy contiguous memory locations. + /// + /// + /// + /// + /// Specifies the number of control points. Must be positive. + /// + /// + /// + /// + /// Specifies a pointer to the array of control points. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glMap1f")] + public static + void Map1(OpenTK.Graphics.OpenGL.MapTarget target, Single u1, Single u2, Int32 stride, Int32 order, ref Single points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* points_ptr = &points) + { + Delegates.glMap1f((OpenTK.Graphics.OpenGL.MapTarget)target, (Single)u1, (Single)u2, (Int32)stride, (Int32)order, (Single*)points_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Define a one-dimensional evaluator + /// + /// + /// + /// Specifies the kind of values that are generated by the evaluator. Symbolic constants GL_MAP1_VERTEX_3, GL_MAP1_VERTEX_4, GL_MAP1_INDEX, GL_MAP1_COLOR_4, GL_MAP1_NORMAL, GL_MAP1_TEXTURE_COORD_1, GL_MAP1_TEXTURE_COORD_2, GL_MAP1_TEXTURE_COORD_3, and GL_MAP1_TEXTURE_COORD_4 are accepted. + /// + /// + /// + /// + /// Specify a linear mapping of , as presented to glEvalCoord1, to u hat, the variable that is evaluated by the equations specified by this command. + /// + /// + /// + /// + /// Specifies the number of floats or doubles between the beginning of one control point and the beginning of the next one in the data structure referenced in points. This allows control points to be embedded in arbitrary data structures. The only constraint is that the values for a particular control point must occupy contiguous memory locations. + /// + /// + /// + /// + /// Specifies the number of control points. Must be positive. + /// + /// + /// + /// + /// Specifies a pointer to the array of control points. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glMap1f")] + public static + unsafe void Map1(OpenTK.Graphics.OpenGL.MapTarget target, Single u1, Single u2, Int32 stride, Int32 order, Single* points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMap1f((OpenTK.Graphics.OpenGL.MapTarget)target, (Single)u1, (Single)u2, (Int32)stride, (Int32)order, (Single*)points); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Define a two-dimensional evaluator + /// + /// + /// + /// Specifies the kind of values that are generated by the evaluator. Symbolic constants GL_MAP2_VERTEX_3, GL_MAP2_VERTEX_4, GL_MAP2_INDEX, GL_MAP2_COLOR_4, GL_MAP2_NORMAL, GL_MAP2_TEXTURE_COORD_1, GL_MAP2_TEXTURE_COORD_2, GL_MAP2_TEXTURE_COORD_3, and GL_MAP2_TEXTURE_COORD_4 are accepted. + /// + /// + /// + /// + /// Specify a linear mapping of , as presented to glEvalCoord2, to u hat, one of the two variables that are evaluated by the equations specified by this command. Initially, u1 is 0 and u2 is 1. + /// + /// + /// + /// + /// Specifies the number of floats or doubles between the beginning of control point R sub ij and the beginning of control point R sub { (i+1) j }, where and are the and control point indices, respectively. This allows control points to be embedded in arbitrary data structures. The only constraint is that the values for a particular control point must occupy contiguous memory locations. The initial value of ustride is 0. + /// + /// + /// + /// + /// Specifies the dimension of the control point array in the axis. Must be positive. The initial value is 1. + /// + /// + /// + /// + /// Specify a linear mapping of , as presented to glEvalCoord2, to v hat, one of the two variables that are evaluated by the equations specified by this command. Initially, v1 is 0 and v2 is 1. + /// + /// + /// + /// + /// Specifies the number of floats or doubles between the beginning of control point R sub ij and the beginning of control point R sub { i (j+1) }, where and are the and control point indices, respectively. This allows control points to be embedded in arbitrary data structures. The only constraint is that the values for a particular control point must occupy contiguous memory locations. The initial value of vstride is 0. + /// + /// + /// + /// + /// Specifies the dimension of the control point array in the axis. Must be positive. The initial value is 1. + /// + /// + /// + /// + /// Specifies a pointer to the array of control points. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glMap2d")] + public static + void Map2(OpenTK.Graphics.OpenGL.MapTarget target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double[] points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* points_ptr = points) + { + Delegates.glMap2d((OpenTK.Graphics.OpenGL.MapTarget)target, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double*)points_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Define a two-dimensional evaluator + /// + /// + /// + /// Specifies the kind of values that are generated by the evaluator. Symbolic constants GL_MAP2_VERTEX_3, GL_MAP2_VERTEX_4, GL_MAP2_INDEX, GL_MAP2_COLOR_4, GL_MAP2_NORMAL, GL_MAP2_TEXTURE_COORD_1, GL_MAP2_TEXTURE_COORD_2, GL_MAP2_TEXTURE_COORD_3, and GL_MAP2_TEXTURE_COORD_4 are accepted. + /// + /// + /// + /// + /// Specify a linear mapping of , as presented to glEvalCoord2, to u hat, one of the two variables that are evaluated by the equations specified by this command. Initially, u1 is 0 and u2 is 1. + /// + /// + /// + /// + /// Specifies the number of floats or doubles between the beginning of control point R sub ij and the beginning of control point R sub { (i+1) j }, where and are the and control point indices, respectively. This allows control points to be embedded in arbitrary data structures. The only constraint is that the values for a particular control point must occupy contiguous memory locations. The initial value of ustride is 0. + /// + /// + /// + /// + /// Specifies the dimension of the control point array in the axis. Must be positive. The initial value is 1. + /// + /// + /// + /// + /// Specify a linear mapping of , as presented to glEvalCoord2, to v hat, one of the two variables that are evaluated by the equations specified by this command. Initially, v1 is 0 and v2 is 1. + /// + /// + /// + /// + /// Specifies the number of floats or doubles between the beginning of control point R sub ij and the beginning of control point R sub { i (j+1) }, where and are the and control point indices, respectively. This allows control points to be embedded in arbitrary data structures. The only constraint is that the values for a particular control point must occupy contiguous memory locations. The initial value of vstride is 0. + /// + /// + /// + /// + /// Specifies the dimension of the control point array in the axis. Must be positive. The initial value is 1. + /// + /// + /// + /// + /// Specifies a pointer to the array of control points. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glMap2d")] + public static + void Map2(OpenTK.Graphics.OpenGL.MapTarget target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, ref Double points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* points_ptr = &points) + { + Delegates.glMap2d((OpenTK.Graphics.OpenGL.MapTarget)target, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double*)points_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Define a two-dimensional evaluator + /// + /// + /// + /// Specifies the kind of values that are generated by the evaluator. Symbolic constants GL_MAP2_VERTEX_3, GL_MAP2_VERTEX_4, GL_MAP2_INDEX, GL_MAP2_COLOR_4, GL_MAP2_NORMAL, GL_MAP2_TEXTURE_COORD_1, GL_MAP2_TEXTURE_COORD_2, GL_MAP2_TEXTURE_COORD_3, and GL_MAP2_TEXTURE_COORD_4 are accepted. + /// + /// + /// + /// + /// Specify a linear mapping of , as presented to glEvalCoord2, to u hat, one of the two variables that are evaluated by the equations specified by this command. Initially, u1 is 0 and u2 is 1. + /// + /// + /// + /// + /// Specifies the number of floats or doubles between the beginning of control point R sub ij and the beginning of control point R sub { (i+1) j }, where and are the and control point indices, respectively. This allows control points to be embedded in arbitrary data structures. The only constraint is that the values for a particular control point must occupy contiguous memory locations. The initial value of ustride is 0. + /// + /// + /// + /// + /// Specifies the dimension of the control point array in the axis. Must be positive. The initial value is 1. + /// + /// + /// + /// + /// Specify a linear mapping of , as presented to glEvalCoord2, to v hat, one of the two variables that are evaluated by the equations specified by this command. Initially, v1 is 0 and v2 is 1. + /// + /// + /// + /// + /// Specifies the number of floats or doubles between the beginning of control point R sub ij and the beginning of control point R sub { i (j+1) }, where and are the and control point indices, respectively. This allows control points to be embedded in arbitrary data structures. The only constraint is that the values for a particular control point must occupy contiguous memory locations. The initial value of vstride is 0. + /// + /// + /// + /// + /// Specifies the dimension of the control point array in the axis. Must be positive. The initial value is 1. + /// + /// + /// + /// + /// Specifies a pointer to the array of control points. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glMap2d")] + public static + unsafe void Map2(OpenTK.Graphics.OpenGL.MapTarget target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double* points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMap2d((OpenTK.Graphics.OpenGL.MapTarget)target, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double*)points); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Define a two-dimensional evaluator + /// + /// + /// + /// Specifies the kind of values that are generated by the evaluator. Symbolic constants GL_MAP2_VERTEX_3, GL_MAP2_VERTEX_4, GL_MAP2_INDEX, GL_MAP2_COLOR_4, GL_MAP2_NORMAL, GL_MAP2_TEXTURE_COORD_1, GL_MAP2_TEXTURE_COORD_2, GL_MAP2_TEXTURE_COORD_3, and GL_MAP2_TEXTURE_COORD_4 are accepted. + /// + /// + /// + /// + /// Specify a linear mapping of , as presented to glEvalCoord2, to u hat, one of the two variables that are evaluated by the equations specified by this command. Initially, u1 is 0 and u2 is 1. + /// + /// + /// + /// + /// Specifies the number of floats or doubles between the beginning of control point R sub ij and the beginning of control point R sub { (i+1) j }, where and are the and control point indices, respectively. This allows control points to be embedded in arbitrary data structures. The only constraint is that the values for a particular control point must occupy contiguous memory locations. The initial value of ustride is 0. + /// + /// + /// + /// + /// Specifies the dimension of the control point array in the axis. Must be positive. The initial value is 1. + /// + /// + /// + /// + /// Specify a linear mapping of , as presented to glEvalCoord2, to v hat, one of the two variables that are evaluated by the equations specified by this command. Initially, v1 is 0 and v2 is 1. + /// + /// + /// + /// + /// Specifies the number of floats or doubles between the beginning of control point R sub ij and the beginning of control point R sub { i (j+1) }, where and are the and control point indices, respectively. This allows control points to be embedded in arbitrary data structures. The only constraint is that the values for a particular control point must occupy contiguous memory locations. The initial value of vstride is 0. + /// + /// + /// + /// + /// Specifies the dimension of the control point array in the axis. Must be positive. The initial value is 1. + /// + /// + /// + /// + /// Specifies a pointer to the array of control points. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glMap2f")] + public static + void Map2(OpenTK.Graphics.OpenGL.MapTarget target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single[] points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* points_ptr = points) + { + Delegates.glMap2f((OpenTK.Graphics.OpenGL.MapTarget)target, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single*)points_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Define a two-dimensional evaluator + /// + /// + /// + /// Specifies the kind of values that are generated by the evaluator. Symbolic constants GL_MAP2_VERTEX_3, GL_MAP2_VERTEX_4, GL_MAP2_INDEX, GL_MAP2_COLOR_4, GL_MAP2_NORMAL, GL_MAP2_TEXTURE_COORD_1, GL_MAP2_TEXTURE_COORD_2, GL_MAP2_TEXTURE_COORD_3, and GL_MAP2_TEXTURE_COORD_4 are accepted. + /// + /// + /// + /// + /// Specify a linear mapping of , as presented to glEvalCoord2, to u hat, one of the two variables that are evaluated by the equations specified by this command. Initially, u1 is 0 and u2 is 1. + /// + /// + /// + /// + /// Specifies the number of floats or doubles between the beginning of control point R sub ij and the beginning of control point R sub { (i+1) j }, where and are the and control point indices, respectively. This allows control points to be embedded in arbitrary data structures. The only constraint is that the values for a particular control point must occupy contiguous memory locations. The initial value of ustride is 0. + /// + /// + /// + /// + /// Specifies the dimension of the control point array in the axis. Must be positive. The initial value is 1. + /// + /// + /// + /// + /// Specify a linear mapping of , as presented to glEvalCoord2, to v hat, one of the two variables that are evaluated by the equations specified by this command. Initially, v1 is 0 and v2 is 1. + /// + /// + /// + /// + /// Specifies the number of floats or doubles between the beginning of control point R sub ij and the beginning of control point R sub { i (j+1) }, where and are the and control point indices, respectively. This allows control points to be embedded in arbitrary data structures. The only constraint is that the values for a particular control point must occupy contiguous memory locations. The initial value of vstride is 0. + /// + /// + /// + /// + /// Specifies the dimension of the control point array in the axis. Must be positive. The initial value is 1. + /// + /// + /// + /// + /// Specifies a pointer to the array of control points. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glMap2f")] + public static + void Map2(OpenTK.Graphics.OpenGL.MapTarget target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, ref Single points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* points_ptr = &points) + { + Delegates.glMap2f((OpenTK.Graphics.OpenGL.MapTarget)target, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single*)points_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Define a two-dimensional evaluator + /// + /// + /// + /// Specifies the kind of values that are generated by the evaluator. Symbolic constants GL_MAP2_VERTEX_3, GL_MAP2_VERTEX_4, GL_MAP2_INDEX, GL_MAP2_COLOR_4, GL_MAP2_NORMAL, GL_MAP2_TEXTURE_COORD_1, GL_MAP2_TEXTURE_COORD_2, GL_MAP2_TEXTURE_COORD_3, and GL_MAP2_TEXTURE_COORD_4 are accepted. + /// + /// + /// + /// + /// Specify a linear mapping of , as presented to glEvalCoord2, to u hat, one of the two variables that are evaluated by the equations specified by this command. Initially, u1 is 0 and u2 is 1. + /// + /// + /// + /// + /// Specifies the number of floats or doubles between the beginning of control point R sub ij and the beginning of control point R sub { (i+1) j }, where and are the and control point indices, respectively. This allows control points to be embedded in arbitrary data structures. The only constraint is that the values for a particular control point must occupy contiguous memory locations. The initial value of ustride is 0. + /// + /// + /// + /// + /// Specifies the dimension of the control point array in the axis. Must be positive. The initial value is 1. + /// + /// + /// + /// + /// Specify a linear mapping of , as presented to glEvalCoord2, to v hat, one of the two variables that are evaluated by the equations specified by this command. Initially, v1 is 0 and v2 is 1. + /// + /// + /// + /// + /// Specifies the number of floats or doubles between the beginning of control point R sub ij and the beginning of control point R sub { i (j+1) }, where and are the and control point indices, respectively. This allows control points to be embedded in arbitrary data structures. The only constraint is that the values for a particular control point must occupy contiguous memory locations. The initial value of vstride is 0. + /// + /// + /// + /// + /// Specifies the dimension of the control point array in the axis. Must be positive. The initial value is 1. + /// + /// + /// + /// + /// Specifies a pointer to the array of control points. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glMap2f")] + public static + unsafe void Map2(OpenTK.Graphics.OpenGL.MapTarget target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single* points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMap2f((OpenTK.Graphics.OpenGL.MapTarget)target, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single*)points); + #if DEBUG + } + #endif + } + + + /// [requires: v1.5] + /// Map a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object being mapped. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER or GL_UNIFORM_BUFFER. + /// + /// + /// + /// + /// 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 = "VERSION_1_5", Version = "1.5", EntryPoint = "glMapBuffer")] + public static + unsafe IntPtr MapBuffer(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferAccess access) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glMapBuffer((OpenTK.Graphics.OpenGL.BufferTarget)target, (OpenTK.Graphics.OpenGL.BufferAccess)access); + #if DEBUG + } + #endif + } + + + /// [requires: v3.0 and ARB_map_buffer_range] + /// Map a section of a buffer object's data store + /// + /// + /// + /// Specifies a binding to which the target buffer is bound. + /// + /// + /// + /// + /// Specifies a the starting offset within the buffer of the range to be mapped. + /// + /// + /// + /// + /// Specifies a length of the range to be mapped. + /// + /// + /// + /// + /// Specifies a combination of access flags indicating the desired access to the range. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_map_buffer_range", Version = "3.0", EntryPoint = "glMapBufferRange")] + public static + unsafe IntPtr MapBufferRange(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr length, OpenTK.Graphics.OpenGL.BufferAccessMask access) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glMapBufferRange((OpenTK.Graphics.OpenGL.BufferTarget)target, (IntPtr)offset, (IntPtr)length, (OpenTK.Graphics.OpenGL.BufferAccessMask)access); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Define a one- or two-dimensional mesh + /// + /// + /// + /// Specifies the number of partitions in the grid range interval [u1, u2]. Must be positive. + /// + /// + /// + /// + /// Specify the mappings for integer grid domain values i = 0 and i = un. + /// + /// + /// + /// + /// Specifies the number of partitions in the grid range interval [v1, v2] (glMapGrid2 only). + /// + /// + /// + /// + /// Specify the mappings for integer grid domain values j = 0 and j = vn (glMapGrid2 only). + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glMapGrid1d")] + public static + void MapGrid1(Int32 un, Double u1, Double u2) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMapGrid1d((Int32)un, (Double)u1, (Double)u2); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Define a one- or two-dimensional mesh + /// + /// + /// + /// Specifies the number of partitions in the grid range interval [u1, u2]. Must be positive. + /// + /// + /// + /// + /// Specify the mappings for integer grid domain values i = 0 and i = un. + /// + /// + /// + /// + /// Specifies the number of partitions in the grid range interval [v1, v2] (glMapGrid2 only). + /// + /// + /// + /// + /// Specify the mappings for integer grid domain values j = 0 and j = vn (glMapGrid2 only). + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glMapGrid1f")] + public static + void MapGrid1(Int32 un, Single u1, Single u2) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMapGrid1f((Int32)un, (Single)u1, (Single)u2); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Define a one- or two-dimensional mesh + /// + /// + /// + /// Specifies the number of partitions in the grid range interval [u1, u2]. Must be positive. + /// + /// + /// + /// + /// Specify the mappings for integer grid domain values i = 0 and i = un. + /// + /// + /// + /// + /// Specifies the number of partitions in the grid range interval [v1, v2] (glMapGrid2 only). + /// + /// + /// + /// + /// Specify the mappings for integer grid domain values j = 0 and j = vn (glMapGrid2 only). + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glMapGrid2d")] + public static + void MapGrid2(Int32 un, Double u1, Double u2, Int32 vn, Double v1, Double v2) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMapGrid2d((Int32)un, (Double)u1, (Double)u2, (Int32)vn, (Double)v1, (Double)v2); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Define a one- or two-dimensional mesh + /// + /// + /// + /// Specifies the number of partitions in the grid range interval [u1, u2]. Must be positive. + /// + /// + /// + /// + /// Specify the mappings for integer grid domain values i = 0 and i = un. + /// + /// + /// + /// + /// Specifies the number of partitions in the grid range interval [v1, v2] (glMapGrid2 only). + /// + /// + /// + /// + /// Specify the mappings for integer grid domain values j = 0 and j = vn (glMapGrid2 only). + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glMapGrid2f")] + public static + void MapGrid2(Int32 un, Single u1, Single u2, Int32 vn, Single v1, Single v2) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMapGrid2f((Int32)un, (Single)u1, (Single)u2, (Int32)vn, (Single)v1, (Single)v2); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify material parameters for the lighting model + /// + /// + /// + /// Specifies which face or faces are being updated. Must be one of GL_FRONT, GL_BACK, or GL_FRONT_AND_BACK. + /// + /// + /// + /// + /// Specifies the single-valued material parameter of the face or faces that is being updated. Must be GL_SHININESS. + /// + /// + /// + /// + /// Specifies the value that parameter GL_SHININESS will be set to. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glMaterialf")] + public static + void Material(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Single param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMaterialf((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (Single)param); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify material parameters for the lighting model + /// + /// + /// + /// Specifies which face or faces are being updated. Must be one of GL_FRONT, GL_BACK, or GL_FRONT_AND_BACK. + /// + /// + /// + /// + /// Specifies the single-valued material parameter of the face or faces that is being updated. Must be GL_SHININESS. + /// + /// + /// + /// + /// Specifies the value that parameter GL_SHININESS will be set to. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glMaterialfv")] + public static + void Material(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glMaterialfv((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify material parameters for the lighting model + /// + /// + /// + /// Specifies which face or faces are being updated. Must be one of GL_FRONT, GL_BACK, or GL_FRONT_AND_BACK. + /// + /// + /// + /// + /// Specifies the single-valued material parameter of the face or faces that is being updated. Must be GL_SHININESS. + /// + /// + /// + /// + /// Specifies the value that parameter GL_SHININESS will be set to. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glMaterialfv")] + public static + unsafe void Material(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMaterialfv((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify material parameters for the lighting model + /// + /// + /// + /// Specifies which face or faces are being updated. Must be one of GL_FRONT, GL_BACK, or GL_FRONT_AND_BACK. + /// + /// + /// + /// + /// Specifies the single-valued material parameter of the face or faces that is being updated. Must be GL_SHININESS. + /// + /// + /// + /// + /// Specifies the value that parameter GL_SHININESS will be set to. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glMateriali")] + public static + void Material(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Int32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMateriali((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (Int32)param); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify material parameters for the lighting model + /// + /// + /// + /// Specifies which face or faces are being updated. Must be one of GL_FRONT, GL_BACK, or GL_FRONT_AND_BACK. + /// + /// + /// + /// + /// Specifies the single-valued material parameter of the face or faces that is being updated. Must be GL_SHININESS. + /// + /// + /// + /// + /// Specifies the value that parameter GL_SHININESS will be set to. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glMaterialiv")] + public static + void Material(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glMaterialiv((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify material parameters for the lighting model + /// + /// + /// + /// Specifies which face or faces are being updated. Must be one of GL_FRONT, GL_BACK, or GL_FRONT_AND_BACK. + /// + /// + /// + /// + /// Specifies the single-valued material parameter of the face or faces that is being updated. Must be GL_SHININESS. + /// + /// + /// + /// + /// Specifies the value that parameter GL_SHININESS will be set to. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glMaterialiv")] + public static + unsafe void Material(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMaterialiv((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify which matrix is the current matrix + /// + /// + /// + /// Specifies which matrix stack is the target for subsequent matrix operations. Three values are accepted: GL_MODELVIEW, GL_PROJECTION, and GL_TEXTURE. The initial value is GL_MODELVIEW. Additionally, if the ARB_imaging extension is supported, GL_COLOR is also accepted. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glMatrixMode")] + public static + void MatrixMode(OpenTK.Graphics.OpenGL.MatrixMode mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMatrixMode((OpenTK.Graphics.OpenGL.MatrixMode)mode); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Define minmax table + /// + /// + /// + /// The minmax table whose parameters are to be set. Must be GL_MINMAX. + /// + /// + /// + /// + /// The format of entries in the minmax table. Must be one of GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// If GL_TRUE, pixels will be consumed by the minmax process and no drawing or texture loading will take place. If GL_FALSE, pixels will proceed to the final conversion process after minmax. + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glMinmax")] + public static + void Minmax(OpenTK.Graphics.OpenGL.MinmaxTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, bool sink) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMinmax((OpenTK.Graphics.OpenGL.MinmaxTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (bool)sink); + #if DEBUG + } + #endif + } + + /// [requires: v1.2] + [AutoGenerated(Category = "VERSION_4_0", Version = "1.2", EntryPoint = "glMinSampleShading")] + public static + void MinSampleShading(Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMinSampleShading((Single)value); + #if DEBUG + } + #endif + } + + + /// [requires: v1.4] + /// Render multiple sets of primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Points to an array of starting indices in the enabled arrays. + /// + /// + /// + /// + /// Points to an array of the number of indices to be rendered. + /// + /// + /// + /// + /// Specifies the size of the first and count + /// + /// + [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawArrays")] + public static + void MultiDrawArrays(OpenTK.Graphics.OpenGL.BeginMode mode, Int32[] first, Int32[] count, Int32 primcount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* first_ptr = first) + fixed (Int32* count_ptr = count) + { + Delegates.glMultiDrawArrays((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.4] + /// Render multiple sets of primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Points to an array of starting indices in the enabled arrays. + /// + /// + /// + /// + /// Points to an array of the number of indices to be rendered. + /// + /// + /// + /// + /// Specifies the size of the first and count + /// + /// + [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawArrays")] + public static + void MultiDrawArrays(OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 first, ref Int32 count, Int32 primcount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* first_ptr = &first) + fixed (Int32* count_ptr = &count) + { + Delegates.glMultiDrawArrays((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.4] + /// Render multiple sets of primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Points to an array of starting indices in the enabled arrays. + /// + /// + /// + /// + /// Points to an array of the number of indices to be rendered. + /// + /// + /// + /// + /// Specifies the size of the first and count + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawArrays")] + public static + unsafe void MultiDrawArrays(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* first, Int32* count, Int32 primcount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiDrawArrays((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)first, (Int32*)count, (Int32)primcount); + #if DEBUG + } + #endif + } + + + /// [requires: v1.4] + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] + public static + void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = count) + { + Delegates.glMultiDrawElements((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.4] + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] + public static + void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = count) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElements((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.4] + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] + public static + void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = count) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElements((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.4] + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] + public static + void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = count) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElements((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.4] + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] + public static + void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = count) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElements((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + indices = (T3)indices_ptr.Target; + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.4] + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] + public static + void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = &count) + { + Delegates.glMultiDrawElements((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.4] + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] + public static + void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = &count) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElements((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.4] + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] + public static + void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = &count) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElements((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.4] + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] + public static + void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = &count) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElements((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.4] + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] + public static + void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = &count) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElements((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + indices = (T3)indices_ptr.Target; + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.4] + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] + public static + unsafe void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiDrawElements((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); + #if DEBUG + } + #endif + } + + + /// [requires: v1.4] + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] + public static + unsafe void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElements((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.4] + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] + public static + unsafe void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElements((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.4] + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] + public static + unsafe void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElements((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.4] + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] + public static + unsafe void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElements((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + indices = (T3)indices_ptr.Target; + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_draw_elements_base_vertex] + /// Render multiple sets of primitives by specifying indices of array data elements and an index to apply to each index + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + /// + /// + /// Specifies a pointer to the location where the base vertices are stored. + /// + /// + [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "1.2", EntryPoint = "glMultiDrawElementsBaseVertex")] + public static + void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount, Int32[] basevertex) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = count) + fixed (Int32* basevertex_ptr = basevertex) + { + Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)primcount, (Int32*)basevertex_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_draw_elements_base_vertex] + /// Render multiple sets of primitives by specifying indices of array data elements and an index to apply to each index + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + /// + /// + /// Specifies a pointer to the location where the base vertices are stored. + /// + /// + [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "1.2", EntryPoint = "glMultiDrawElementsBaseVertex")] + public static + void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount, Int32[] basevertex) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = count) + fixed (Int32* basevertex_ptr = basevertex) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32*)basevertex_ptr); + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_draw_elements_base_vertex] + /// Render multiple sets of primitives by specifying indices of array data elements and an index to apply to each index + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + /// + /// + /// Specifies a pointer to the location where the base vertices are stored. + /// + /// + [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "1.2", EntryPoint = "glMultiDrawElementsBaseVertex")] + public static + void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount, Int32[] basevertex) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = count) + fixed (Int32* basevertex_ptr = basevertex) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32*)basevertex_ptr); + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_draw_elements_base_vertex] + /// Render multiple sets of primitives by specifying indices of array data elements and an index to apply to each index + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + /// + /// + /// Specifies a pointer to the location where the base vertices are stored. + /// + /// + [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "1.2", EntryPoint = "glMultiDrawElementsBaseVertex")] + public static + void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount, Int32[] basevertex) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = count) + fixed (Int32* basevertex_ptr = basevertex) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32*)basevertex_ptr); + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_draw_elements_base_vertex] + /// Render multiple sets of primitives by specifying indices of array data elements and an index to apply to each index + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + /// + /// + /// Specifies a pointer to the location where the base vertices are stored. + /// + /// + [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "1.2", EntryPoint = "glMultiDrawElementsBaseVertex")] + public static + void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount, Int32[] basevertex) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = count) + fixed (Int32* basevertex_ptr = basevertex) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32*)basevertex_ptr); + indices = (T3)indices_ptr.Target; + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_draw_elements_base_vertex] + /// Render multiple sets of primitives by specifying indices of array data elements and an index to apply to each index + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + /// + /// + /// Specifies a pointer to the location where the base vertices are stored. + /// + /// + [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "1.2", EntryPoint = "glMultiDrawElementsBaseVertex")] + public static + void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount, ref Int32 basevertex) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = &count) + fixed (Int32* basevertex_ptr = &basevertex) + { + Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)primcount, (Int32*)basevertex_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_draw_elements_base_vertex] + /// Render multiple sets of primitives by specifying indices of array data elements and an index to apply to each index + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + /// + /// + /// Specifies a pointer to the location where the base vertices are stored. + /// + /// + [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "1.2", EntryPoint = "glMultiDrawElementsBaseVertex")] + public static + void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount, ref Int32 basevertex) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = &count) + fixed (Int32* basevertex_ptr = &basevertex) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32*)basevertex_ptr); + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_draw_elements_base_vertex] + /// Render multiple sets of primitives by specifying indices of array data elements and an index to apply to each index + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + /// + /// + /// Specifies a pointer to the location where the base vertices are stored. + /// + /// + [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "1.2", EntryPoint = "glMultiDrawElementsBaseVertex")] + public static + void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount, ref Int32 basevertex) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = &count) + fixed (Int32* basevertex_ptr = &basevertex) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32*)basevertex_ptr); + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_draw_elements_base_vertex] + /// Render multiple sets of primitives by specifying indices of array data elements and an index to apply to each index + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + /// + /// + /// Specifies a pointer to the location where the base vertices are stored. + /// + /// + [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "1.2", EntryPoint = "glMultiDrawElementsBaseVertex")] + public static + void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount, ref Int32 basevertex) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = &count) + fixed (Int32* basevertex_ptr = &basevertex) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32*)basevertex_ptr); + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_draw_elements_base_vertex] + /// Render multiple sets of primitives by specifying indices of array data elements and an index to apply to each index + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + /// + /// + /// Specifies a pointer to the location where the base vertices are stored. + /// + /// + [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "1.2", EntryPoint = "glMultiDrawElementsBaseVertex")] + public static + void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount, ref Int32 basevertex) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = &count) + fixed (Int32* basevertex_ptr = &basevertex) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32*)basevertex_ptr); + indices = (T3)indices_ptr.Target; + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_draw_elements_base_vertex] + /// Render multiple sets of primitives by specifying indices of array data elements and an index to apply to each index + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + /// + /// + /// Specifies a pointer to the location where the base vertices are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "1.2", EntryPoint = "glMultiDrawElementsBaseVertex")] + public static + unsafe void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount, Int32* basevertex) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)primcount, (Int32*)basevertex); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_draw_elements_base_vertex] + /// Render multiple sets of primitives by specifying indices of array data elements and an index to apply to each index + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + /// + /// + /// Specifies a pointer to the location where the base vertices are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "1.2", EntryPoint = "glMultiDrawElementsBaseVertex")] + public static + unsafe void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount, Int32* basevertex) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32*)basevertex); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_draw_elements_base_vertex] + /// Render multiple sets of primitives by specifying indices of array data elements and an index to apply to each index + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + /// + /// + /// Specifies a pointer to the location where the base vertices are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "1.2", EntryPoint = "glMultiDrawElementsBaseVertex")] + public static + unsafe void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount, Int32* basevertex) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32*)basevertex); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_draw_elements_base_vertex] + /// Render multiple sets of primitives by specifying indices of array data elements and an index to apply to each index + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + /// + /// + /// Specifies a pointer to the location where the base vertices are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "1.2", EntryPoint = "glMultiDrawElementsBaseVertex")] + public static + unsafe void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount, Int32* basevertex) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32*)basevertex); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_draw_elements_base_vertex] + /// Render multiple sets of primitives by specifying indices of array data elements and an index to apply to each index + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + /// + /// + /// Specifies a pointer to the location where the base vertices are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "1.2", EntryPoint = "glMultiDrawElementsBaseVertex")] + public static + unsafe void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount, Int32* basevertex) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32*)basevertex); + indices = (T3)indices_ptr.Target; + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.3][deprecated: v3.1] + /// 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 = "VERSION_1_3_DEPRECATED", Version = "1.3", EntryPoint = "glMultiTexCoord1d")] + public static + void MultiTexCoord1(OpenTK.Graphics.OpenGL.TextureUnit target, Double s) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord1d((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double)s); + #if DEBUG + } + #endif + } + + + /// [requires: v1.3][deprecated: v3.1] + /// 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 = "VERSION_1_3_DEPRECATED", Version = "1.3", EntryPoint = "glMultiTexCoord1dv")] + public static + unsafe void MultiTexCoord1(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord1dv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.3][deprecated: v3.1] + /// 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 = "VERSION_1_3_DEPRECATED", Version = "1.3", EntryPoint = "glMultiTexCoord1f")] + public static + void MultiTexCoord1(OpenTK.Graphics.OpenGL.TextureUnit target, Single s) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord1f((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single)s); + #if DEBUG + } + #endif + } + + + /// [requires: v1.3][deprecated: v3.1] + /// 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 = "VERSION_1_3_DEPRECATED", Version = "1.3", EntryPoint = "glMultiTexCoord1fv")] + public static + unsafe void MultiTexCoord1(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord1fv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.3][deprecated: v3.1] + /// 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 = "VERSION_1_3_DEPRECATED", Version = "1.3", EntryPoint = "glMultiTexCoord1i")] + public static + void MultiTexCoord1(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord1i((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32)s); + #if DEBUG + } + #endif + } + + + /// [requires: v1.3][deprecated: v3.1] + /// 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 = "VERSION_1_3_DEPRECATED", Version = "1.3", EntryPoint = "glMultiTexCoord1iv")] + public static + unsafe void MultiTexCoord1(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord1iv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.3][deprecated: v3.1] + /// 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 = "VERSION_1_3_DEPRECATED", Version = "1.3", EntryPoint = "glMultiTexCoord1s")] + public static + void MultiTexCoord1(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord1s((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16)s); + #if DEBUG + } + #endif + } + + + /// [requires: v1.3][deprecated: v3.1] + /// 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 = "VERSION_1_3_DEPRECATED", Version = "1.3", EntryPoint = "glMultiTexCoord1sv")] + public static + unsafe void MultiTexCoord1(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord1sv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.3][deprecated: v3.1] + /// 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 = "VERSION_1_3_DEPRECATED", Version = "1.3", EntryPoint = "glMultiTexCoord2d")] + public static + void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Double s, Double t) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord2d((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double)s, (Double)t); + #if DEBUG + } + #endif + } + + + /// [requires: v1.3][deprecated: v3.1] + /// 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 = "VERSION_1_3_DEPRECATED", Version = "1.3", EntryPoint = "glMultiTexCoord2dv")] + public static + void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glMultiTexCoord2dv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.3][deprecated: v3.1] + /// 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 = "VERSION_1_3_DEPRECATED", Version = "1.3", EntryPoint = "glMultiTexCoord2dv")] + public static + void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glMultiTexCoord2dv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.3][deprecated: v3.1] + /// 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 = "VERSION_1_3_DEPRECATED", Version = "1.3", EntryPoint = "glMultiTexCoord2dv")] + public static + unsafe void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord2dv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.3][deprecated: v3.1] + /// 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 = "VERSION_1_3_DEPRECATED", Version = "1.3", EntryPoint = "glMultiTexCoord2f")] + public static + void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Single s, Single t) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord2f((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single)s, (Single)t); + #if DEBUG + } + #endif + } + + + /// [requires: v1.3][deprecated: v3.1] + /// 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 = "VERSION_1_3_DEPRECATED", Version = "1.3", EntryPoint = "glMultiTexCoord2fv")] + public static + void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glMultiTexCoord2fv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.3][deprecated: v3.1] + /// 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 = "VERSION_1_3_DEPRECATED", Version = "1.3", EntryPoint = "glMultiTexCoord2fv")] + public static + void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glMultiTexCoord2fv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.3][deprecated: v3.1] + /// 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 = "VERSION_1_3_DEPRECATED", Version = "1.3", EntryPoint = "glMultiTexCoord2fv")] + public static + unsafe void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord2fv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.3][deprecated: v3.1] + /// 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 = "VERSION_1_3_DEPRECATED", Version = "1.3", EntryPoint = "glMultiTexCoord2i")] + public static + void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s, Int32 t) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord2i((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32)s, (Int32)t); + #if DEBUG + } + #endif + } + + + /// [requires: v1.3][deprecated: v3.1] + /// 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 = "VERSION_1_3_DEPRECATED", Version = "1.3", EntryPoint = "glMultiTexCoord2iv")] + public static + void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glMultiTexCoord2iv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.3][deprecated: v3.1] + /// 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 = "VERSION_1_3_DEPRECATED", Version = "1.3", EntryPoint = "glMultiTexCoord2iv")] + public static + void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glMultiTexCoord2iv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.3][deprecated: v3.1] + /// 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 = "VERSION_1_3_DEPRECATED", Version = "1.3", EntryPoint = "glMultiTexCoord2iv")] + public static + unsafe void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord2iv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.3][deprecated: v3.1] + /// 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 = "VERSION_1_3_DEPRECATED", Version = "1.3", EntryPoint = "glMultiTexCoord2s")] + public static + void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s, Int16 t) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord2s((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16)s, (Int16)t); + #if DEBUG + } + #endif + } + + + /// [requires: v1.3][deprecated: v3.1] + /// 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 = "VERSION_1_3_DEPRECATED", Version = "1.3", EntryPoint = "glMultiTexCoord2sv")] + public static + void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glMultiTexCoord2sv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.3][deprecated: v3.1] + /// 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 = "VERSION_1_3_DEPRECATED", Version = "1.3", EntryPoint = "glMultiTexCoord2sv")] + public static + void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glMultiTexCoord2sv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.3][deprecated: v3.1] + /// 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 = "VERSION_1_3_DEPRECATED", Version = "1.3", EntryPoint = "glMultiTexCoord2sv")] + public static + unsafe void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord2sv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.3][deprecated: v3.1] + /// 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 = "VERSION_1_3_DEPRECATED", Version = "1.3", EntryPoint = "glMultiTexCoord3d")] + public static + void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Double s, Double t, Double r) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord3d((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double)s, (Double)t, (Double)r); + #if DEBUG + } + #endif + } + + + /// [requires: v1.3][deprecated: v3.1] + /// 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 = "VERSION_1_3_DEPRECATED", Version = "1.3", EntryPoint = "glMultiTexCoord3dv")] + public static + void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glMultiTexCoord3dv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.3][deprecated: v3.1] + /// 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 = "VERSION_1_3_DEPRECATED", Version = "1.3", EntryPoint = "glMultiTexCoord3dv")] + public static + void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glMultiTexCoord3dv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.3][deprecated: v3.1] + /// 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 = "VERSION_1_3_DEPRECATED", Version = "1.3", EntryPoint = "glMultiTexCoord3dv")] + public static + unsafe void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord3dv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.3][deprecated: v3.1] + /// 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 = "VERSION_1_3_DEPRECATED", Version = "1.3", EntryPoint = "glMultiTexCoord3f")] + public static + void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Single s, Single t, Single r) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord3f((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single)s, (Single)t, (Single)r); + #if DEBUG + } + #endif + } + + + /// [requires: v1.3][deprecated: v3.1] + /// 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 = "VERSION_1_3_DEPRECATED", Version = "1.3", EntryPoint = "glMultiTexCoord3fv")] + public static + void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glMultiTexCoord3fv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.3][deprecated: v3.1] + /// 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 = "VERSION_1_3_DEPRECATED", Version = "1.3", EntryPoint = "glMultiTexCoord3fv")] + public static + void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glMultiTexCoord3fv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.3][deprecated: v3.1] + /// 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 = "VERSION_1_3_DEPRECATED", Version = "1.3", EntryPoint = "glMultiTexCoord3fv")] + public static + unsafe void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord3fv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.3][deprecated: v3.1] + /// 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 = "VERSION_1_3_DEPRECATED", Version = "1.3", EntryPoint = "glMultiTexCoord3i")] + public static + void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s, Int32 t, Int32 r) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord3i((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32)s, (Int32)t, (Int32)r); + #if DEBUG + } + #endif + } + + + /// [requires: v1.3][deprecated: v3.1] + /// 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 = "VERSION_1_3_DEPRECATED", Version = "1.3", EntryPoint = "glMultiTexCoord3iv")] + public static + void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glMultiTexCoord3iv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.3][deprecated: v3.1] + /// 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 = "VERSION_1_3_DEPRECATED", Version = "1.3", EntryPoint = "glMultiTexCoord3iv")] + public static + void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glMultiTexCoord3iv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.3][deprecated: v3.1] + /// 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 = "VERSION_1_3_DEPRECATED", Version = "1.3", EntryPoint = "glMultiTexCoord3iv")] + public static + unsafe void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord3iv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.3][deprecated: v3.1] + /// 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 = "VERSION_1_3_DEPRECATED", Version = "1.3", EntryPoint = "glMultiTexCoord3s")] + public static + void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s, Int16 t, Int16 r) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord3s((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16)s, (Int16)t, (Int16)r); + #if DEBUG + } + #endif + } + + + /// [requires: v1.3][deprecated: v3.1] + /// 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 = "VERSION_1_3_DEPRECATED", Version = "1.3", EntryPoint = "glMultiTexCoord3sv")] + public static + void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glMultiTexCoord3sv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.3][deprecated: v3.1] + /// 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 = "VERSION_1_3_DEPRECATED", Version = "1.3", EntryPoint = "glMultiTexCoord3sv")] + public static + void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glMultiTexCoord3sv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.3][deprecated: v3.1] + /// 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 = "VERSION_1_3_DEPRECATED", Version = "1.3", EntryPoint = "glMultiTexCoord3sv")] + public static + unsafe void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord3sv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.3][deprecated: v3.1] + /// 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 = "VERSION_1_3_DEPRECATED", Version = "1.3", EntryPoint = "glMultiTexCoord4d")] + public static + void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Double s, Double t, Double r, Double q) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord4d((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double)s, (Double)t, (Double)r, (Double)q); + #if DEBUG + } + #endif + } + + + /// [requires: v1.3][deprecated: v3.1] + /// 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 = "VERSION_1_3_DEPRECATED", Version = "1.3", EntryPoint = "glMultiTexCoord4dv")] + public static + void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glMultiTexCoord4dv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.3][deprecated: v3.1] + /// 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 = "VERSION_1_3_DEPRECATED", Version = "1.3", EntryPoint = "glMultiTexCoord4dv")] + public static + void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glMultiTexCoord4dv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.3][deprecated: v3.1] + /// 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 = "VERSION_1_3_DEPRECATED", Version = "1.3", EntryPoint = "glMultiTexCoord4dv")] + public static + unsafe void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord4dv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.3][deprecated: v3.1] + /// 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 = "VERSION_1_3_DEPRECATED", Version = "1.3", EntryPoint = "glMultiTexCoord4f")] + public static + void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Single s, Single t, Single r, Single q) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord4f((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single)s, (Single)t, (Single)r, (Single)q); + #if DEBUG + } + #endif + } + + + /// [requires: v1.3][deprecated: v3.1] + /// 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 = "VERSION_1_3_DEPRECATED", Version = "1.3", EntryPoint = "glMultiTexCoord4fv")] + public static + void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glMultiTexCoord4fv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.3][deprecated: v3.1] + /// 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 = "VERSION_1_3_DEPRECATED", Version = "1.3", EntryPoint = "glMultiTexCoord4fv")] + public static + void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glMultiTexCoord4fv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.3][deprecated: v3.1] + /// 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 = "VERSION_1_3_DEPRECATED", Version = "1.3", EntryPoint = "glMultiTexCoord4fv")] + public static + unsafe void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord4fv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.3][deprecated: v3.1] + /// 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 = "VERSION_1_3_DEPRECATED", Version = "1.3", EntryPoint = "glMultiTexCoord4i")] + public static + void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s, Int32 t, Int32 r, Int32 q) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord4i((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32)s, (Int32)t, (Int32)r, (Int32)q); + #if DEBUG + } + #endif + } + + + /// [requires: v1.3][deprecated: v3.1] + /// 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 = "VERSION_1_3_DEPRECATED", Version = "1.3", EntryPoint = "glMultiTexCoord4iv")] + public static + void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glMultiTexCoord4iv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.3][deprecated: v3.1] + /// 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 = "VERSION_1_3_DEPRECATED", Version = "1.3", EntryPoint = "glMultiTexCoord4iv")] + public static + void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glMultiTexCoord4iv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.3][deprecated: v3.1] + /// 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 = "VERSION_1_3_DEPRECATED", Version = "1.3", EntryPoint = "glMultiTexCoord4iv")] + public static + unsafe void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord4iv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.3][deprecated: v3.1] + /// 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 = "VERSION_1_3_DEPRECATED", Version = "1.3", EntryPoint = "glMultiTexCoord4s")] + public static + void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s, Int16 t, Int16 r, Int16 q) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord4s((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16)s, (Int16)t, (Int16)r, (Int16)q); + #if DEBUG + } + #endif + } + + + /// [requires: v1.3][deprecated: v3.1] + /// 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 = "VERSION_1_3_DEPRECATED", Version = "1.3", EntryPoint = "glMultiTexCoord4sv")] + public static + void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glMultiTexCoord4sv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.3][deprecated: v3.1] + /// 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 = "VERSION_1_3_DEPRECATED", Version = "1.3", EntryPoint = "glMultiTexCoord4sv")] + public static + void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glMultiTexCoord4sv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.3][deprecated: v3.1] + /// 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 = "VERSION_1_3_DEPRECATED", Version = "1.3", EntryPoint = "glMultiTexCoord4sv")] + public static + unsafe void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord4sv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16*)v); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glMultiTexCoordP1ui")] + public static + void MultiTexCoordP1(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, Int32 coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoordP1ui((OpenTK.Graphics.OpenGL.TextureUnit)texture, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)coords); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glMultiTexCoordP1ui")] + public static + void MultiTexCoordP1(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoordP1ui((OpenTK.Graphics.OpenGL.TextureUnit)texture, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)coords); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glMultiTexCoordP1uiv")] + public static + unsafe void MultiTexCoordP1(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, Int32* coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoordP1uiv((OpenTK.Graphics.OpenGL.TextureUnit)texture, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)coords); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glMultiTexCoordP1uiv")] + public static + unsafe void MultiTexCoordP1(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoordP1uiv((OpenTK.Graphics.OpenGL.TextureUnit)texture, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)coords); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glMultiTexCoordP2ui")] + public static + void MultiTexCoordP2(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, Int32 coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoordP2ui((OpenTK.Graphics.OpenGL.TextureUnit)texture, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)coords); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glMultiTexCoordP2ui")] + public static + void MultiTexCoordP2(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoordP2ui((OpenTK.Graphics.OpenGL.TextureUnit)texture, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)coords); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glMultiTexCoordP2uiv")] + public static + unsafe void MultiTexCoordP2(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, Int32* coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoordP2uiv((OpenTK.Graphics.OpenGL.TextureUnit)texture, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)coords); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glMultiTexCoordP2uiv")] + public static + unsafe void MultiTexCoordP2(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoordP2uiv((OpenTK.Graphics.OpenGL.TextureUnit)texture, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)coords); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glMultiTexCoordP3ui")] + public static + void MultiTexCoordP3(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, Int32 coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoordP3ui((OpenTK.Graphics.OpenGL.TextureUnit)texture, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)coords); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glMultiTexCoordP3ui")] + public static + void MultiTexCoordP3(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoordP3ui((OpenTK.Graphics.OpenGL.TextureUnit)texture, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)coords); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glMultiTexCoordP3uiv")] + public static + unsafe void MultiTexCoordP3(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, Int32* coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoordP3uiv((OpenTK.Graphics.OpenGL.TextureUnit)texture, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)coords); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glMultiTexCoordP3uiv")] + public static + unsafe void MultiTexCoordP3(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoordP3uiv((OpenTK.Graphics.OpenGL.TextureUnit)texture, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)coords); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glMultiTexCoordP4ui")] + public static + void MultiTexCoordP4(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, Int32 coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoordP4ui((OpenTK.Graphics.OpenGL.TextureUnit)texture, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)coords); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glMultiTexCoordP4ui")] + public static + void MultiTexCoordP4(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoordP4ui((OpenTK.Graphics.OpenGL.TextureUnit)texture, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)coords); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glMultiTexCoordP4uiv")] + public static + unsafe void MultiTexCoordP4(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, Int32* coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoordP4uiv((OpenTK.Graphics.OpenGL.TextureUnit)texture, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)coords); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glMultiTexCoordP4uiv")] + public static + unsafe void MultiTexCoordP4(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoordP4uiv((OpenTK.Graphics.OpenGL.TextureUnit)texture, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)coords); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Multiply the current matrix with the specified matrix + /// + /// + /// + /// Points to 16 consecutive values that are used as the elements of a 4 times 4 column-major matrix. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glMultMatrixd")] + public static + void MultMatrix(Double[] m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* m_ptr = m) + { + Delegates.glMultMatrixd((Double*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Multiply the current matrix with the specified matrix + /// + /// + /// + /// Points to 16 consecutive values that are used as the elements of a 4 times 4 column-major matrix. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glMultMatrixd")] + public static + void MultMatrix(ref Double m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* m_ptr = &m) + { + Delegates.glMultMatrixd((Double*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Multiply the current matrix with the specified matrix + /// + /// + /// + /// Points to 16 consecutive values that are used as the elements of a 4 times 4 column-major matrix. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glMultMatrixd")] + public static + unsafe void MultMatrix(Double* m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultMatrixd((Double*)m); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Multiply the current matrix with the specified matrix + /// + /// + /// + /// Points to 16 consecutive values that are used as the elements of a 4 times 4 column-major matrix. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glMultMatrixf")] + public static + void MultMatrix(Single[] m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* m_ptr = m) + { + Delegates.glMultMatrixf((Single*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Multiply the current matrix with the specified matrix + /// + /// + /// + /// Points to 16 consecutive values that are used as the elements of a 4 times 4 column-major matrix. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glMultMatrixf")] + public static + void MultMatrix(ref Single m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* m_ptr = &m) + { + Delegates.glMultMatrixf((Single*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Multiply the current matrix with the specified matrix + /// + /// + /// + /// Points to 16 consecutive values that are used as the elements of a 4 times 4 column-major matrix. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glMultMatrixf")] + public static + unsafe void MultMatrix(Single* m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultMatrixf((Single*)m); + #if DEBUG + } + #endif + } + + + /// [requires: v1.3][deprecated: v3.1] + /// 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 = "VERSION_1_3_DEPRECATED", Version = "1.3", EntryPoint = "glMultTransposeMatrixd")] + public static + void MultTransposeMatrix(Double[] m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* m_ptr = m) + { + Delegates.glMultTransposeMatrixd((Double*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.3][deprecated: v3.1] + /// 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 = "VERSION_1_3_DEPRECATED", Version = "1.3", EntryPoint = "glMultTransposeMatrixd")] + public static + void MultTransposeMatrix(ref Double m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* m_ptr = &m) + { + Delegates.glMultTransposeMatrixd((Double*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.3][deprecated: v3.1] + /// 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. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_3_DEPRECATED", Version = "1.3", EntryPoint = "glMultTransposeMatrixd")] + public static + unsafe void MultTransposeMatrix(Double* m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultTransposeMatrixd((Double*)m); + #if DEBUG + } + #endif + } + + + /// [requires: v1.3][deprecated: v3.1] + /// 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 = "VERSION_1_3_DEPRECATED", Version = "1.3", EntryPoint = "glMultTransposeMatrixf")] + public static + void MultTransposeMatrix(Single[] m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* m_ptr = m) + { + Delegates.glMultTransposeMatrixf((Single*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.3][deprecated: v3.1] + /// 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 = "VERSION_1_3_DEPRECATED", Version = "1.3", EntryPoint = "glMultTransposeMatrixf")] + public static + void MultTransposeMatrix(ref Single m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* m_ptr = &m) + { + Delegates.glMultTransposeMatrixf((Single*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.3][deprecated: v3.1] + /// 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. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_3_DEPRECATED", Version = "1.3", EntryPoint = "glMultTransposeMatrixf")] + public static + unsafe void MultTransposeMatrix(Single* m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultTransposeMatrixf((Single*)m); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Create or replace a display list + /// + /// + /// + /// Specifies the display-list name. + /// + /// + /// + /// + /// Specifies the compilation mode, which can be GL_COMPILE or GL_COMPILE_AND_EXECUTE. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glNewList")] + public static + void NewList(Int32 list, OpenTK.Graphics.OpenGL.ListMode mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNewList((UInt32)list, (OpenTK.Graphics.OpenGL.ListMode)mode); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Create or replace a display list + /// + /// + /// + /// Specifies the display-list name. + /// + /// + /// + /// + /// Specifies the compilation mode, which can be GL_COMPILE or GL_COMPILE_AND_EXECUTE. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glNewList")] + public static + void NewList(UInt32 list, OpenTK.Graphics.OpenGL.ListMode mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNewList((UInt32)list, (OpenTK.Graphics.OpenGL.ListMode)mode); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current normal vector + /// + /// + /// + /// Specify the , , and coordinates of the new current normal. The initial value of the current normal is the unit vector, (0, 0, 1). + /// + /// + /// + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glNormal3b")] + public static + void Normal3(Byte nx, Byte ny, Byte nz) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormal3b((SByte)nx, (SByte)ny, (SByte)nz); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current normal vector + /// + /// + /// + /// Specify the , , and coordinates of the new current normal. The initial value of the current normal is the unit vector, (0, 0, 1). + /// + /// + /// + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glNormal3b")] + public static + void Normal3(SByte nx, SByte ny, SByte nz) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormal3b((SByte)nx, (SByte)ny, (SByte)nz); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current normal vector + /// + /// + /// + /// Specify the , , and coordinates of the new current normal. The initial value of the current normal is the unit vector, (0, 0, 1). + /// + /// + /// + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glNormal3bv")] + public static + void Normal3(Byte[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = v) + { + Delegates.glNormal3bv((SByte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current normal vector + /// + /// + /// + /// Specify the , , and coordinates of the new current normal. The initial value of the current normal is the unit vector, (0, 0, 1). + /// + /// + /// + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glNormal3bv")] + public static + void Normal3(ref Byte v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = &v) + { + Delegates.glNormal3bv((SByte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current normal vector + /// + /// + /// + /// Specify the , , and coordinates of the new current normal. The initial value of the current normal is the unit vector, (0, 0, 1). + /// + /// + /// + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glNormal3bv")] + public static + unsafe void Normal3(Byte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormal3bv((SByte*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current normal vector + /// + /// + /// + /// Specify the , , and coordinates of the new current normal. The initial value of the current normal is the unit vector, (0, 0, 1). + /// + /// + /// + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glNormal3bv")] + public static + void Normal3(SByte[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (SByte* v_ptr = v) + { + Delegates.glNormal3bv((SByte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current normal vector + /// + /// + /// + /// Specify the , , and coordinates of the new current normal. The initial value of the current normal is the unit vector, (0, 0, 1). + /// + /// + /// + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glNormal3bv")] + public static + void Normal3(ref SByte v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (SByte* v_ptr = &v) + { + Delegates.glNormal3bv((SByte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current normal vector + /// + /// + /// + /// Specify the , , and coordinates of the new current normal. The initial value of the current normal is the unit vector, (0, 0, 1). + /// + /// + /// + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glNormal3bv")] + public static + unsafe void Normal3(SByte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormal3bv((SByte*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current normal vector + /// + /// + /// + /// Specify the , , and coordinates of the new current normal. The initial value of the current normal is the unit vector, (0, 0, 1). + /// + /// + /// + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glNormal3d")] + public static + void Normal3(Double nx, Double ny, Double nz) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormal3d((Double)nx, (Double)ny, (Double)nz); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current normal vector + /// + /// + /// + /// Specify the , , and coordinates of the new current normal. The initial value of the current normal is the unit vector, (0, 0, 1). + /// + /// + /// + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glNormal3dv")] + public static + void Normal3(Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glNormal3dv((Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current normal vector + /// + /// + /// + /// Specify the , , and coordinates of the new current normal. The initial value of the current normal is the unit vector, (0, 0, 1). + /// + /// + /// + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glNormal3dv")] + public static + void Normal3(ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glNormal3dv((Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current normal vector + /// + /// + /// + /// Specify the , , and coordinates of the new current normal. The initial value of the current normal is the unit vector, (0, 0, 1). + /// + /// + /// + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glNormal3dv")] + public static + unsafe void Normal3(Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormal3dv((Double*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current normal vector + /// + /// + /// + /// Specify the , , and coordinates of the new current normal. The initial value of the current normal is the unit vector, (0, 0, 1). + /// + /// + /// + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glNormal3f")] + public static + void Normal3(Single nx, Single ny, Single nz) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormal3f((Single)nx, (Single)ny, (Single)nz); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current normal vector + /// + /// + /// + /// Specify the , , and coordinates of the new current normal. The initial value of the current normal is the unit vector, (0, 0, 1). + /// + /// + /// + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glNormal3fv")] + public static + void Normal3(Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glNormal3fv((Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current normal vector + /// + /// + /// + /// Specify the , , and coordinates of the new current normal. The initial value of the current normal is the unit vector, (0, 0, 1). + /// + /// + /// + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glNormal3fv")] + public static + void Normal3(ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glNormal3fv((Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current normal vector + /// + /// + /// + /// Specify the , , and coordinates of the new current normal. The initial value of the current normal is the unit vector, (0, 0, 1). + /// + /// + /// + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glNormal3fv")] + public static + unsafe void Normal3(Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormal3fv((Single*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current normal vector + /// + /// + /// + /// Specify the , , and coordinates of the new current normal. The initial value of the current normal is the unit vector, (0, 0, 1). + /// + /// + /// + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glNormal3i")] + public static + void Normal3(Int32 nx, Int32 ny, Int32 nz) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormal3i((Int32)nx, (Int32)ny, (Int32)nz); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current normal vector + /// + /// + /// + /// Specify the , , and coordinates of the new current normal. The initial value of the current normal is the unit vector, (0, 0, 1). + /// + /// + /// + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glNormal3iv")] + public static + void Normal3(Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glNormal3iv((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current normal vector + /// + /// + /// + /// Specify the , , and coordinates of the new current normal. The initial value of the current normal is the unit vector, (0, 0, 1). + /// + /// + /// + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glNormal3iv")] + public static + void Normal3(ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glNormal3iv((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current normal vector + /// + /// + /// + /// Specify the , , and coordinates of the new current normal. The initial value of the current normal is the unit vector, (0, 0, 1). + /// + /// + /// + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glNormal3iv")] + public static + unsafe void Normal3(Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormal3iv((Int32*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current normal vector + /// + /// + /// + /// Specify the , , and coordinates of the new current normal. The initial value of the current normal is the unit vector, (0, 0, 1). + /// + /// + /// + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glNormal3s")] + public static + void Normal3(Int16 nx, Int16 ny, Int16 nz) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormal3s((Int16)nx, (Int16)ny, (Int16)nz); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current normal vector + /// + /// + /// + /// Specify the , , and coordinates of the new current normal. The initial value of the current normal is the unit vector, (0, 0, 1). + /// + /// + /// + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glNormal3sv")] + public static + void Normal3(Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glNormal3sv((Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current normal vector + /// + /// + /// + /// Specify the , , and coordinates of the new current normal. The initial value of the current normal is the unit vector, (0, 0, 1). + /// + /// + /// + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glNormal3sv")] + public static + void Normal3(ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glNormal3sv((Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current normal vector + /// + /// + /// + /// Specify the , , and coordinates of the new current normal. The initial value of the current normal is the unit vector, (0, 0, 1). + /// + /// + /// + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glNormal3sv")] + public static + unsafe void Normal3(Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormal3sv((Int16*)v); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glNormalP3ui")] + public static + void NormalP3(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32 coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormalP3ui((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)coords); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glNormalP3ui")] + public static + void NormalP3(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormalP3ui((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)coords); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glNormalP3uiv")] + public static + unsafe void NormalP3(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32* coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormalP3uiv((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)coords); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glNormalP3uiv")] + public static + unsafe void NormalP3(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormalP3uiv((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)coords); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1][deprecated: v3.1] + /// Define an array of normals + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "VERSION_1_1_DEPRECATED", Version = "1.1", EntryPoint = "glNormalPointer")] + public static + void NormalPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormalPointer((OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1][deprecated: v3.1] + /// Define an array of normals + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "VERSION_1_1_DEPRECATED", Version = "1.1", EntryPoint = "glNormalPointer")] + public static + void NormalPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, [InAttribute, OutAttribute] T2[] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glNormalPointer((OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1][deprecated: v3.1] + /// Define an array of normals + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "VERSION_1_1_DEPRECATED", Version = "1.1", EntryPoint = "glNormalPointer")] + public static + void NormalPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, [InAttribute, OutAttribute] T2[,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glNormalPointer((OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1][deprecated: v3.1] + /// Define an array of normals + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "VERSION_1_1_DEPRECATED", Version = "1.1", EntryPoint = "glNormalPointer")] + public static + void NormalPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, [InAttribute, OutAttribute] T2[,,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glNormalPointer((OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1][deprecated: v3.1] + /// Define an array of normals + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "VERSION_1_1_DEPRECATED", Version = "1.1", EntryPoint = "glNormalPointer")] + public static + void NormalPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, [InAttribute, OutAttribute] ref T2 pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glNormalPointer((OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + pointer = (T2)pointer_ptr.Target; + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Multiply the current matrix with an orthographic matrix + /// + /// + /// + /// Specify the coordinates for the left and right vertical clipping planes. + /// + /// + /// + /// + /// Specify the coordinates for the bottom and top horizontal clipping planes. + /// + /// + /// + /// + /// Specify the distances to the nearer and farther depth clipping planes. These values are negative if the plane is to be behind the viewer. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glOrtho")] + public static + void Ortho(Double left, Double right, Double bottom, Double top, Double zNear, Double zFar) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glOrtho((Double)left, (Double)right, (Double)bottom, (Double)top, (Double)zNear, (Double)zFar); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Place a marker in the feedback buffer + /// + /// + /// + /// Specifies a marker value to be placed in the feedback buffer following a GL_PASS_THROUGH_TOKEN. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glPassThrough")] + public static + void PassThrough(Single token) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPassThrough((Single)token); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_tessellation_shader] + /// Specifies the parameters for patch primitives + /// + /// + /// + /// Specifies the name of the parameter to set. The symbolc constants GL_PATCH_VERTICES, GL_PATCH_DEFAULT_OUTER_LEVEL, and GL_PATCH_DEFAULT_INNER_LEVEL are accepted. + /// + /// + /// + /// + /// Specifies the new value for the parameter given by pname. + /// + /// + /// + /// + /// Specifies the address of an array containing the new values for the parameter given by pname. + /// + /// + [AutoGenerated(Category = "ARB_tessellation_shader", Version = "1.2", EntryPoint = "glPatchParameterfv")] + public static + void PatchParameter(OpenTK.Graphics.OpenGL.PatchParameterFloat pname, Single[] values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* values_ptr = values) + { + Delegates.glPatchParameterfv((OpenTK.Graphics.OpenGL.PatchParameterFloat)pname, (Single*)values_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_tessellation_shader] + /// Specifies the parameters for patch primitives + /// + /// + /// + /// Specifies the name of the parameter to set. The symbolc constants GL_PATCH_VERTICES, GL_PATCH_DEFAULT_OUTER_LEVEL, and GL_PATCH_DEFAULT_INNER_LEVEL are accepted. + /// + /// + /// + /// + /// Specifies the new value for the parameter given by pname. + /// + /// + /// + /// + /// Specifies the address of an array containing the new values for the parameter given by pname. + /// + /// + [AutoGenerated(Category = "ARB_tessellation_shader", Version = "1.2", EntryPoint = "glPatchParameterfv")] + public static + void PatchParameter(OpenTK.Graphics.OpenGL.PatchParameterFloat pname, ref Single values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* values_ptr = &values) + { + Delegates.glPatchParameterfv((OpenTK.Graphics.OpenGL.PatchParameterFloat)pname, (Single*)values_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_tessellation_shader] + /// Specifies the parameters for patch primitives + /// + /// + /// + /// Specifies the name of the parameter to set. The symbolc constants GL_PATCH_VERTICES, GL_PATCH_DEFAULT_OUTER_LEVEL, and GL_PATCH_DEFAULT_INNER_LEVEL are accepted. + /// + /// + /// + /// + /// Specifies the new value for the parameter given by pname. + /// + /// + /// + /// + /// Specifies the address of an array containing the new values for the parameter given by pname. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_tessellation_shader", Version = "1.2", EntryPoint = "glPatchParameterfv")] + public static + unsafe void PatchParameter(OpenTK.Graphics.OpenGL.PatchParameterFloat pname, Single* values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPatchParameterfv((OpenTK.Graphics.OpenGL.PatchParameterFloat)pname, (Single*)values); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_tessellation_shader] + /// Specifies the parameters for patch primitives + /// + /// + /// + /// Specifies the name of the parameter to set. The symbolc constants GL_PATCH_VERTICES, GL_PATCH_DEFAULT_OUTER_LEVEL, and GL_PATCH_DEFAULT_INNER_LEVEL are accepted. + /// + /// + /// + /// + /// Specifies the new value for the parameter given by pname. + /// + /// + /// + /// + /// Specifies the address of an array containing the new values for the parameter given by pname. + /// + /// + [AutoGenerated(Category = "ARB_tessellation_shader", Version = "1.2", EntryPoint = "glPatchParameteri")] + public static + void PatchParameter(OpenTK.Graphics.OpenGL.PatchParameterInt pname, Int32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPatchParameteri((OpenTK.Graphics.OpenGL.PatchParameterInt)pname, (Int32)value); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_transform_feedback2] + /// Pause transform feedback operations + /// + [AutoGenerated(Category = "ARB_transform_feedback2", Version = "1.2", EntryPoint = "glPauseTransformFeedback")] + public static + void PauseTransformFeedback() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPauseTransformFeedback(); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set up pixel transfer maps + /// + /// + /// + /// Specifies a symbolic map name. Must be one of the following: GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, or GL_PIXEL_MAP_A_TO_A. + /// + /// + /// + /// + /// Specifies the size of the map being defined. + /// + /// + /// + /// + /// Specifies an array of mapsize values. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glPixelMapfv")] + public static + void PixelMap(OpenTK.Graphics.OpenGL.PixelMap map, Int32 mapsize, Single[] values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* values_ptr = values) + { + Delegates.glPixelMapfv((OpenTK.Graphics.OpenGL.PixelMap)map, (Int32)mapsize, (Single*)values_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set up pixel transfer maps + /// + /// + /// + /// Specifies a symbolic map name. Must be one of the following: GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, or GL_PIXEL_MAP_A_TO_A. + /// + /// + /// + /// + /// Specifies the size of the map being defined. + /// + /// + /// + /// + /// Specifies an array of mapsize values. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glPixelMapfv")] + public static + void PixelMap(OpenTK.Graphics.OpenGL.PixelMap map, Int32 mapsize, ref Single values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* values_ptr = &values) + { + Delegates.glPixelMapfv((OpenTK.Graphics.OpenGL.PixelMap)map, (Int32)mapsize, (Single*)values_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set up pixel transfer maps + /// + /// + /// + /// Specifies a symbolic map name. Must be one of the following: GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, or GL_PIXEL_MAP_A_TO_A. + /// + /// + /// + /// + /// Specifies the size of the map being defined. + /// + /// + /// + /// + /// Specifies an array of mapsize values. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glPixelMapfv")] + public static + unsafe void PixelMap(OpenTK.Graphics.OpenGL.PixelMap map, Int32 mapsize, Single* values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPixelMapfv((OpenTK.Graphics.OpenGL.PixelMap)map, (Int32)mapsize, (Single*)values); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set up pixel transfer maps + /// + /// + /// + /// Specifies a symbolic map name. Must be one of the following: GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, or GL_PIXEL_MAP_A_TO_A. + /// + /// + /// + /// + /// Specifies the size of the map being defined. + /// + /// + /// + /// + /// Specifies an array of mapsize values. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glPixelMapuiv")] + public static + void PixelMap(OpenTK.Graphics.OpenGL.PixelMap map, Int32 mapsize, Int32[] values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* values_ptr = values) + { + Delegates.glPixelMapuiv((OpenTK.Graphics.OpenGL.PixelMap)map, (Int32)mapsize, (UInt32*)values_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set up pixel transfer maps + /// + /// + /// + /// Specifies a symbolic map name. Must be one of the following: GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, or GL_PIXEL_MAP_A_TO_A. + /// + /// + /// + /// + /// Specifies the size of the map being defined. + /// + /// + /// + /// + /// Specifies an array of mapsize values. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glPixelMapuiv")] + public static + void PixelMap(OpenTK.Graphics.OpenGL.PixelMap map, Int32 mapsize, ref Int32 values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* values_ptr = &values) + { + Delegates.glPixelMapuiv((OpenTK.Graphics.OpenGL.PixelMap)map, (Int32)mapsize, (UInt32*)values_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set up pixel transfer maps + /// + /// + /// + /// Specifies a symbolic map name. Must be one of the following: GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, or GL_PIXEL_MAP_A_TO_A. + /// + /// + /// + /// + /// Specifies the size of the map being defined. + /// + /// + /// + /// + /// Specifies an array of mapsize values. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glPixelMapuiv")] + public static + unsafe void PixelMap(OpenTK.Graphics.OpenGL.PixelMap map, Int32 mapsize, Int32* values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPixelMapuiv((OpenTK.Graphics.OpenGL.PixelMap)map, (Int32)mapsize, (UInt32*)values); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set up pixel transfer maps + /// + /// + /// + /// Specifies a symbolic map name. Must be one of the following: GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, or GL_PIXEL_MAP_A_TO_A. + /// + /// + /// + /// + /// Specifies the size of the map being defined. + /// + /// + /// + /// + /// Specifies an array of mapsize values. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glPixelMapuiv")] + public static + void PixelMap(OpenTK.Graphics.OpenGL.PixelMap map, Int32 mapsize, UInt32[] values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* values_ptr = values) + { + Delegates.glPixelMapuiv((OpenTK.Graphics.OpenGL.PixelMap)map, (Int32)mapsize, (UInt32*)values_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set up pixel transfer maps + /// + /// + /// + /// Specifies a symbolic map name. Must be one of the following: GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, or GL_PIXEL_MAP_A_TO_A. + /// + /// + /// + /// + /// Specifies the size of the map being defined. + /// + /// + /// + /// + /// Specifies an array of mapsize values. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glPixelMapuiv")] + public static + void PixelMap(OpenTK.Graphics.OpenGL.PixelMap map, Int32 mapsize, ref UInt32 values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* values_ptr = &values) + { + Delegates.glPixelMapuiv((OpenTK.Graphics.OpenGL.PixelMap)map, (Int32)mapsize, (UInt32*)values_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set up pixel transfer maps + /// + /// + /// + /// Specifies a symbolic map name. Must be one of the following: GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, or GL_PIXEL_MAP_A_TO_A. + /// + /// + /// + /// + /// Specifies the size of the map being defined. + /// + /// + /// + /// + /// Specifies an array of mapsize values. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glPixelMapuiv")] + public static + unsafe void PixelMap(OpenTK.Graphics.OpenGL.PixelMap map, Int32 mapsize, UInt32* values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPixelMapuiv((OpenTK.Graphics.OpenGL.PixelMap)map, (Int32)mapsize, (UInt32*)values); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set up pixel transfer maps + /// + /// + /// + /// Specifies a symbolic map name. Must be one of the following: GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, or GL_PIXEL_MAP_A_TO_A. + /// + /// + /// + /// + /// Specifies the size of the map being defined. + /// + /// + /// + /// + /// Specifies an array of mapsize values. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glPixelMapusv")] + public static + void PixelMap(OpenTK.Graphics.OpenGL.PixelMap map, Int32 mapsize, Int16[] values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* values_ptr = values) + { + Delegates.glPixelMapusv((OpenTK.Graphics.OpenGL.PixelMap)map, (Int32)mapsize, (UInt16*)values_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set up pixel transfer maps + /// + /// + /// + /// Specifies a symbolic map name. Must be one of the following: GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, or GL_PIXEL_MAP_A_TO_A. + /// + /// + /// + /// + /// Specifies the size of the map being defined. + /// + /// + /// + /// + /// Specifies an array of mapsize values. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glPixelMapusv")] + public static + void PixelMap(OpenTK.Graphics.OpenGL.PixelMap map, Int32 mapsize, ref Int16 values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* values_ptr = &values) + { + Delegates.glPixelMapusv((OpenTK.Graphics.OpenGL.PixelMap)map, (Int32)mapsize, (UInt16*)values_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set up pixel transfer maps + /// + /// + /// + /// Specifies a symbolic map name. Must be one of the following: GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, or GL_PIXEL_MAP_A_TO_A. + /// + /// + /// + /// + /// Specifies the size of the map being defined. + /// + /// + /// + /// + /// Specifies an array of mapsize values. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glPixelMapusv")] + public static + unsafe void PixelMap(OpenTK.Graphics.OpenGL.PixelMap map, Int32 mapsize, Int16* values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPixelMapusv((OpenTK.Graphics.OpenGL.PixelMap)map, (Int32)mapsize, (UInt16*)values); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set up pixel transfer maps + /// + /// + /// + /// Specifies a symbolic map name. Must be one of the following: GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, or GL_PIXEL_MAP_A_TO_A. + /// + /// + /// + /// + /// Specifies the size of the map being defined. + /// + /// + /// + /// + /// Specifies an array of mapsize values. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glPixelMapusv")] + public static + void PixelMap(OpenTK.Graphics.OpenGL.PixelMap map, Int32 mapsize, UInt16[] values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt16* values_ptr = values) + { + Delegates.glPixelMapusv((OpenTK.Graphics.OpenGL.PixelMap)map, (Int32)mapsize, (UInt16*)values_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set up pixel transfer maps + /// + /// + /// + /// Specifies a symbolic map name. Must be one of the following: GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, or GL_PIXEL_MAP_A_TO_A. + /// + /// + /// + /// + /// Specifies the size of the map being defined. + /// + /// + /// + /// + /// Specifies an array of mapsize values. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glPixelMapusv")] + public static + void PixelMap(OpenTK.Graphics.OpenGL.PixelMap map, Int32 mapsize, ref UInt16 values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt16* values_ptr = &values) + { + Delegates.glPixelMapusv((OpenTK.Graphics.OpenGL.PixelMap)map, (Int32)mapsize, (UInt16*)values_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set up pixel transfer maps + /// + /// + /// + /// Specifies a symbolic map name. Must be one of the following: GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, or GL_PIXEL_MAP_A_TO_A. + /// + /// + /// + /// + /// Specifies the size of the map being defined. + /// + /// + /// + /// + /// Specifies an array of mapsize values. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glPixelMapusv")] + public static + unsafe void PixelMap(OpenTK.Graphics.OpenGL.PixelMap map, Int32 mapsize, UInt16* values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPixelMapusv((OpenTK.Graphics.OpenGL.PixelMap)map, (Int32)mapsize, (UInt16*)values); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0] + /// Set pixel storage modes + /// + /// + /// + /// Specifies the symbolic name of the parameter to be set. Six values affect the packing of pixel data into memory: GL_PACK_SWAP_BYTES, GL_PACK_LSB_FIRST, GL_PACK_ROW_LENGTH, GL_PACK_IMAGE_HEIGHT, GL_PACK_SKIP_PIXELS, GL_PACK_SKIP_ROWS, GL_PACK_SKIP_IMAGES, and GL_PACK_ALIGNMENT. Six more affect the unpacking of pixel data from memory: GL_UNPACK_SWAP_BYTES, GL_UNPACK_LSB_FIRST, GL_UNPACK_ROW_LENGTH, GL_UNPACK_IMAGE_HEIGHT, GL_UNPACK_SKIP_PIXELS, GL_UNPACK_SKIP_ROWS, GL_UNPACK_SKIP_IMAGES, and GL_UNPACK_ALIGNMENT. + /// + /// + /// + /// + /// Specifies the value that pname is set to. + /// + /// + [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glPixelStoref")] + public static + void PixelStore(OpenTK.Graphics.OpenGL.PixelStoreParameter pname, Single param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPixelStoref((OpenTK.Graphics.OpenGL.PixelStoreParameter)pname, (Single)param); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0] + /// Set pixel storage modes + /// + /// + /// + /// Specifies the symbolic name of the parameter to be set. Six values affect the packing of pixel data into memory: GL_PACK_SWAP_BYTES, GL_PACK_LSB_FIRST, GL_PACK_ROW_LENGTH, GL_PACK_IMAGE_HEIGHT, GL_PACK_SKIP_PIXELS, GL_PACK_SKIP_ROWS, GL_PACK_SKIP_IMAGES, and GL_PACK_ALIGNMENT. Six more affect the unpacking of pixel data from memory: GL_UNPACK_SWAP_BYTES, GL_UNPACK_LSB_FIRST, GL_UNPACK_ROW_LENGTH, GL_UNPACK_IMAGE_HEIGHT, GL_UNPACK_SKIP_PIXELS, GL_UNPACK_SKIP_ROWS, GL_UNPACK_SKIP_IMAGES, and GL_UNPACK_ALIGNMENT. + /// + /// + /// + /// + /// Specifies the value that pname is set to. + /// + /// + [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glPixelStorei")] + public static + void PixelStore(OpenTK.Graphics.OpenGL.PixelStoreParameter pname, Int32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPixelStorei((OpenTK.Graphics.OpenGL.PixelStoreParameter)pname, (Int32)param); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set pixel transfer modes + /// + /// + /// + /// Specifies the symbolic name of the pixel transfer parameter to be set. Must be one of the following: GL_MAP_COLOR, GL_MAP_STENCIL, GL_INDEX_SHIFT, GL_INDEX_OFFSET, GL_RED_SCALE, GL_RED_BIAS, GL_GREEN_SCALE, GL_GREEN_BIAS, GL_BLUE_SCALE, GL_BLUE_BIAS, GL_ALPHA_SCALE, GL_ALPHA_BIAS, GL_DEPTH_SCALE, or GL_DEPTH_BIAS. + /// + /// + /// Additionally, if the ARB_imaging extension is supported, the following symbolic names are accepted: GL_POST_COLOR_MATRIX_RED_SCALE, GL_POST_COLOR_MATRIX_GREEN_SCALE, GL_POST_COLOR_MATRIX_BLUE_SCALE, GL_POST_COLOR_MATRIX_ALPHA_SCALE, GL_POST_COLOR_MATRIX_RED_BIAS, GL_POST_COLOR_MATRIX_GREEN_BIAS, GL_POST_COLOR_MATRIX_BLUE_BIAS, GL_POST_COLOR_MATRIX_ALPHA_BIAS, GL_POST_CONVOLUTION_RED_SCALE, GL_POST_CONVOLUTION_GREEN_SCALE, GL_POST_CONVOLUTION_BLUE_SCALE, GL_POST_CONVOLUTION_ALPHA_SCALE, GL_POST_CONVOLUTION_RED_BIAS, GL_POST_CONVOLUTION_GREEN_BIAS, GL_POST_CONVOLUTION_BLUE_BIAS, and GL_POST_CONVOLUTION_ALPHA_BIAS. + /// + /// + /// + /// + /// Specifies the value that pname is set to. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glPixelTransferf")] + public static + void PixelTransfer(OpenTK.Graphics.OpenGL.PixelTransferParameter pname, Single param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPixelTransferf((OpenTK.Graphics.OpenGL.PixelTransferParameter)pname, (Single)param); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set pixel transfer modes + /// + /// + /// + /// Specifies the symbolic name of the pixel transfer parameter to be set. Must be one of the following: GL_MAP_COLOR, GL_MAP_STENCIL, GL_INDEX_SHIFT, GL_INDEX_OFFSET, GL_RED_SCALE, GL_RED_BIAS, GL_GREEN_SCALE, GL_GREEN_BIAS, GL_BLUE_SCALE, GL_BLUE_BIAS, GL_ALPHA_SCALE, GL_ALPHA_BIAS, GL_DEPTH_SCALE, or GL_DEPTH_BIAS. + /// + /// + /// Additionally, if the ARB_imaging extension is supported, the following symbolic names are accepted: GL_POST_COLOR_MATRIX_RED_SCALE, GL_POST_COLOR_MATRIX_GREEN_SCALE, GL_POST_COLOR_MATRIX_BLUE_SCALE, GL_POST_COLOR_MATRIX_ALPHA_SCALE, GL_POST_COLOR_MATRIX_RED_BIAS, GL_POST_COLOR_MATRIX_GREEN_BIAS, GL_POST_COLOR_MATRIX_BLUE_BIAS, GL_POST_COLOR_MATRIX_ALPHA_BIAS, GL_POST_CONVOLUTION_RED_SCALE, GL_POST_CONVOLUTION_GREEN_SCALE, GL_POST_CONVOLUTION_BLUE_SCALE, GL_POST_CONVOLUTION_ALPHA_SCALE, GL_POST_CONVOLUTION_RED_BIAS, GL_POST_CONVOLUTION_GREEN_BIAS, GL_POST_CONVOLUTION_BLUE_BIAS, and GL_POST_CONVOLUTION_ALPHA_BIAS. + /// + /// + /// + /// + /// Specifies the value that pname is set to. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glPixelTransferi")] + public static + void PixelTransfer(OpenTK.Graphics.OpenGL.PixelTransferParameter pname, Int32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPixelTransferi((OpenTK.Graphics.OpenGL.PixelTransferParameter)pname, (Int32)param); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify the pixel zoom factors + /// + /// + /// + /// Specify the and zoom factors for pixel write operations. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glPixelZoom")] + public static + void PixelZoom(Single xfactor, Single yfactor) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPixelZoom((Single)xfactor, (Single)yfactor); + #if DEBUG + } + #endif + } + + + /// [requires: v1.4] + /// Specify point parameters + /// + /// + /// + /// Specifies a single-valued point parameter. GL_POINT_FADE_THRESHOLD_SIZE, and GL_POINT_SPRITE_COORD_ORIGIN are accepted. + /// + /// + /// + /// + /// Specifies the value that pname will be set to. + /// + /// + [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glPointParameterf")] + public static + void PointParameter(OpenTK.Graphics.OpenGL.PointParameterName pname, Single param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPointParameterf((OpenTK.Graphics.OpenGL.PointParameterName)pname, (Single)param); + #if DEBUG + } + #endif + } + + + /// [requires: v1.4] + /// Specify point parameters + /// + /// + /// + /// Specifies a single-valued point parameter. GL_POINT_FADE_THRESHOLD_SIZE, and GL_POINT_SPRITE_COORD_ORIGIN are accepted. + /// + /// + /// + /// + /// Specifies the value that pname will be set to. + /// + /// + [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glPointParameterfv")] + public static + void PointParameter(OpenTK.Graphics.OpenGL.PointParameterName pname, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glPointParameterfv((OpenTK.Graphics.OpenGL.PointParameterName)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.4] + /// Specify point parameters + /// + /// + /// + /// Specifies a single-valued point parameter. GL_POINT_FADE_THRESHOLD_SIZE, and GL_POINT_SPRITE_COORD_ORIGIN are accepted. + /// + /// + /// + /// + /// Specifies the value that pname will be set to. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glPointParameterfv")] + public static + unsafe void PointParameter(OpenTK.Graphics.OpenGL.PointParameterName pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPointParameterfv((OpenTK.Graphics.OpenGL.PointParameterName)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.4] + /// Specify point parameters + /// + /// + /// + /// Specifies a single-valued point parameter. GL_POINT_FADE_THRESHOLD_SIZE, and GL_POINT_SPRITE_COORD_ORIGIN are accepted. + /// + /// + /// + /// + /// Specifies the value that pname will be set to. + /// + /// + [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glPointParameteri")] + public static + void PointParameter(OpenTK.Graphics.OpenGL.PointParameterName pname, Int32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPointParameteri((OpenTK.Graphics.OpenGL.PointParameterName)pname, (Int32)param); + #if DEBUG + } + #endif + } + + + /// [requires: v1.4] + /// Specify point parameters + /// + /// + /// + /// Specifies a single-valued point parameter. GL_POINT_FADE_THRESHOLD_SIZE, and GL_POINT_SPRITE_COORD_ORIGIN are accepted. + /// + /// + /// + /// + /// Specifies the value that pname will be set to. + /// + /// + [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glPointParameteriv")] + public static + void PointParameter(OpenTK.Graphics.OpenGL.PointParameterName pname, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glPointParameteriv((OpenTK.Graphics.OpenGL.PointParameterName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.4] + /// Specify point parameters + /// + /// + /// + /// Specifies a single-valued point parameter. GL_POINT_FADE_THRESHOLD_SIZE, and GL_POINT_SPRITE_COORD_ORIGIN are accepted. + /// + /// + /// + /// + /// Specifies the value that pname will be set to. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glPointParameteriv")] + public static + unsafe void PointParameter(OpenTK.Graphics.OpenGL.PointParameterName pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPointParameteriv((OpenTK.Graphics.OpenGL.PointParameterName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0] + /// Specify the diameter of rasterized points + /// + /// + /// + /// Specifies the diameter of rasterized points. The initial value is 1. + /// + /// + [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glPointSize")] + public static + void PointSize(Single size) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPointSize((Single)size); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0] + /// Select a polygon rasterization mode + /// + /// + /// + /// Specifies the polygons that mode applies to. Must be GL_FRONT_AND_BACK for front- and back-facing polygons. + /// + /// + /// + /// + /// Specifies how polygons will be rasterized. Accepted values are GL_POINT, GL_LINE, and GL_FILL. The initial value is GL_FILL for both front- and back-facing polygons. + /// + /// + [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glPolygonMode")] + public static + void PolygonMode(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.PolygonMode mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPolygonMode((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.PolygonMode)mode); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1] + /// Set the scale and units used to calculate depth values + /// + /// + /// + /// Specifies a scale factor that is used to create a variable depth offset for each polygon. The initial value is 0. + /// + /// + /// + /// + /// Is multiplied by an implementation-specific value to create a constant depth offset. The initial value is 0. + /// + /// + [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glPolygonOffset")] + public static + void PolygonOffset(Single factor, Single units) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPolygonOffset((Single)factor, (Single)units); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the polygon stippling pattern + /// + /// + /// + /// Specifies a pointer to a 32 times 32 stipple pattern that will be unpacked from memory in the same way that glDrawPixels unpacks pixels. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glPolygonStipple")] + public static + void PolygonStipple(Byte[] mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* mask_ptr = mask) + { + Delegates.glPolygonStipple((Byte*)mask_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the polygon stippling pattern + /// + /// + /// + /// Specifies a pointer to a 32 times 32 stipple pattern that will be unpacked from memory in the same way that glDrawPixels unpacks pixels. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glPolygonStipple")] + public static + void PolygonStipple(ref Byte mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* mask_ptr = &mask) + { + Delegates.glPolygonStipple((Byte*)mask_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the polygon stippling pattern + /// + /// + /// + /// Specifies a pointer to a 32 times 32 stipple pattern that will be unpacked from memory in the same way that glDrawPixels unpacks pixels. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glPolygonStipple")] + public static + unsafe void PolygonStipple(Byte* mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPolygonStipple((Byte*)mask); + #if DEBUG + } + #endif + } + + /// [requires: v1.0][deprecated: v3.1] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glPopAttrib")] + public static + void PopAttrib() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPopAttrib(); + #if DEBUG + } + #endif + } + + /// [requires: v1.1][deprecated: v3.1] + [AutoGenerated(Category = "VERSION_1_1_DEPRECATED", Version = "1.1", EntryPoint = "glPopClientAttrib")] + public static + void PopClientAttrib() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPopClientAttrib(); + #if DEBUG + } + #endif + } + + /// [requires: v1.0][deprecated: v3.1] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glPopMatrix")] + public static + void PopMatrix() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPopMatrix(); + #if DEBUG + } + #endif + } + + /// [requires: v1.0][deprecated: v3.1] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glPopName")] + public static + void PopName() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPopName(); + #if DEBUG + } + #endif + } + + + /// [requires: v3.1] + /// Specify the primitive restart index + /// + /// + /// + /// Specifies the value to be interpreted as the primitive restart index. + /// + /// + [AutoGenerated(Category = "VERSION_3_1", Version = "3.1", EntryPoint = "glPrimitiveRestartIndex")] + public static + void PrimitiveRestartIndex(Int32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPrimitiveRestartIndex((UInt32)index); + #if DEBUG + } + #endif + } + + + /// [requires: v3.1] + /// Specify the primitive restart index + /// + /// + /// + /// Specifies the value to be interpreted as the primitive restart index. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_1", Version = "3.1", EntryPoint = "glPrimitiveRestartIndex")] + public static + void PrimitiveRestartIndex(UInt32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPrimitiveRestartIndex((UInt32)index); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1][deprecated: v3.1] + /// Set texture residence priority + /// + /// + /// + /// Specifies the number of textures to be prioritized. + /// + /// + /// + /// + /// Specifies an array containing the names of the textures to be prioritized. + /// + /// + /// + /// + /// Specifies an array containing the texture priorities. A priority given in an element of priorities applies to the texture named by the corresponding element of textures. + /// + /// + [AutoGenerated(Category = "VERSION_1_1_DEPRECATED", Version = "1.1", EntryPoint = "glPrioritizeTextures")] + public static + void PrioritizeTextures(Int32 n, Int32[] textures, Single[] priorities) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* textures_ptr = textures) + fixed (Single* priorities_ptr = priorities) + { + Delegates.glPrioritizeTextures((Int32)n, (UInt32*)textures_ptr, (Single*)priorities_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1][deprecated: v3.1] + /// Set texture residence priority + /// + /// + /// + /// Specifies the number of textures to be prioritized. + /// + /// + /// + /// + /// Specifies an array containing the names of the textures to be prioritized. + /// + /// + /// + /// + /// Specifies an array containing the texture priorities. A priority given in an element of priorities applies to the texture named by the corresponding element of textures. + /// + /// + [AutoGenerated(Category = "VERSION_1_1_DEPRECATED", Version = "1.1", EntryPoint = "glPrioritizeTextures")] + public static + void PrioritizeTextures(Int32 n, ref Int32 textures, ref Single priorities) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* textures_ptr = &textures) + fixed (Single* priorities_ptr = &priorities) + { + Delegates.glPrioritizeTextures((Int32)n, (UInt32*)textures_ptr, (Single*)priorities_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1][deprecated: v3.1] + /// Set texture residence priority + /// + /// + /// + /// Specifies the number of textures to be prioritized. + /// + /// + /// + /// + /// Specifies an array containing the names of the textures to be prioritized. + /// + /// + /// + /// + /// Specifies an array containing the texture priorities. A priority given in an element of priorities applies to the texture named by the corresponding element of textures. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_1_DEPRECATED", Version = "1.1", EntryPoint = "glPrioritizeTextures")] + public static + unsafe void PrioritizeTextures(Int32 n, Int32* textures, Single* priorities) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPrioritizeTextures((Int32)n, (UInt32*)textures, (Single*)priorities); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1][deprecated: v3.1] + /// Set texture residence priority + /// + /// + /// + /// Specifies the number of textures to be prioritized. + /// + /// + /// + /// + /// Specifies an array containing the names of the textures to be prioritized. + /// + /// + /// + /// + /// Specifies an array containing the texture priorities. A priority given in an element of priorities applies to the texture named by the corresponding element of textures. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_1_DEPRECATED", Version = "1.1", EntryPoint = "glPrioritizeTextures")] + public static + void PrioritizeTextures(Int32 n, UInt32[] textures, Single[] priorities) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* textures_ptr = textures) + fixed (Single* priorities_ptr = priorities) + { + Delegates.glPrioritizeTextures((Int32)n, (UInt32*)textures_ptr, (Single*)priorities_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1][deprecated: v3.1] + /// Set texture residence priority + /// + /// + /// + /// Specifies the number of textures to be prioritized. + /// + /// + /// + /// + /// Specifies an array containing the names of the textures to be prioritized. + /// + /// + /// + /// + /// Specifies an array containing the texture priorities. A priority given in an element of priorities applies to the texture named by the corresponding element of textures. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_1_DEPRECATED", Version = "1.1", EntryPoint = "glPrioritizeTextures")] + public static + void PrioritizeTextures(Int32 n, ref UInt32 textures, ref Single priorities) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* textures_ptr = &textures) + fixed (Single* priorities_ptr = &priorities) + { + Delegates.glPrioritizeTextures((Int32)n, (UInt32*)textures_ptr, (Single*)priorities_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1][deprecated: v3.1] + /// Set texture residence priority + /// + /// + /// + /// Specifies the number of textures to be prioritized. + /// + /// + /// + /// + /// Specifies an array containing the names of the textures to be prioritized. + /// + /// + /// + /// + /// Specifies an array containing the texture priorities. A priority given in an element of priorities applies to the texture named by the corresponding element of textures. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_1_DEPRECATED", Version = "1.1", EntryPoint = "glPrioritizeTextures")] + public static + unsafe void PrioritizeTextures(Int32 n, UInt32* textures, Single* priorities) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPrioritizeTextures((Int32)n, (UInt32*)textures, (Single*)priorities); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_get_program_binary] + /// Load a program object with a program binary + /// + /// + /// + /// Specifies the name of a program object into which to load a program binary. + /// + /// + /// + /// + /// Specifies the format of the binary data in binary. + /// + /// + /// + /// + /// Specifies the address an array containing the binary to be loaded into program. + /// + /// + /// + /// + /// Specifies the number of bytes contained in binary. + /// + /// + [AutoGenerated(Category = "ARB_get_program_binary", Version = "4.1", EntryPoint = "glProgramBinary")] + public static + void ProgramBinary(Int32 program, OpenTK.Graphics.OpenGL.BinaryFormat binaryFormat, IntPtr binary, Int32 length) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramBinary((UInt32)program, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryFormat, (IntPtr)binary, (Int32)length); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_get_program_binary] + /// Load a program object with a program binary + /// + /// + /// + /// Specifies the name of a program object into which to load a program binary. + /// + /// + /// + /// + /// Specifies the format of the binary data in binary. + /// + /// + /// + /// + /// Specifies the address an array containing the binary to be loaded into program. + /// + /// + /// + /// + /// Specifies the number of bytes contained in binary. + /// + /// + [AutoGenerated(Category = "ARB_get_program_binary", Version = "4.1", EntryPoint = "glProgramBinary")] + public static + void ProgramBinary(Int32 program, OpenTK.Graphics.OpenGL.BinaryFormat binaryFormat, [InAttribute, OutAttribute] T2[] binary, Int32 length) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glProgramBinary((UInt32)program, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_get_program_binary] + /// Load a program object with a program binary + /// + /// + /// + /// Specifies the name of a program object into which to load a program binary. + /// + /// + /// + /// + /// Specifies the format of the binary data in binary. + /// + /// + /// + /// + /// Specifies the address an array containing the binary to be loaded into program. + /// + /// + /// + /// + /// Specifies the number of bytes contained in binary. + /// + /// + [AutoGenerated(Category = "ARB_get_program_binary", Version = "4.1", EntryPoint = "glProgramBinary")] + public static + void ProgramBinary(Int32 program, OpenTK.Graphics.OpenGL.BinaryFormat binaryFormat, [InAttribute, OutAttribute] T2[,] binary, Int32 length) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glProgramBinary((UInt32)program, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_get_program_binary] + /// Load a program object with a program binary + /// + /// + /// + /// Specifies the name of a program object into which to load a program binary. + /// + /// + /// + /// + /// Specifies the format of the binary data in binary. + /// + /// + /// + /// + /// Specifies the address an array containing the binary to be loaded into program. + /// + /// + /// + /// + /// Specifies the number of bytes contained in binary. + /// + /// + [AutoGenerated(Category = "ARB_get_program_binary", Version = "4.1", EntryPoint = "glProgramBinary")] + public static + void ProgramBinary(Int32 program, OpenTK.Graphics.OpenGL.BinaryFormat binaryFormat, [InAttribute, OutAttribute] T2[,,] binary, Int32 length) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glProgramBinary((UInt32)program, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_get_program_binary] + /// Load a program object with a program binary + /// + /// + /// + /// Specifies the name of a program object into which to load a program binary. + /// + /// + /// + /// + /// Specifies the format of the binary data in binary. + /// + /// + /// + /// + /// Specifies the address an array containing the binary to be loaded into program. + /// + /// + /// + /// + /// Specifies the number of bytes contained in binary. + /// + /// + [AutoGenerated(Category = "ARB_get_program_binary", Version = "4.1", EntryPoint = "glProgramBinary")] + public static + void ProgramBinary(Int32 program, OpenTK.Graphics.OpenGL.BinaryFormat binaryFormat, [InAttribute, OutAttribute] ref T2 binary, Int32 length) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glProgramBinary((UInt32)program, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + binary = (T2)binary_ptr.Target; + } + finally + { + binary_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_get_program_binary] + /// Load a program object with a program binary + /// + /// + /// + /// Specifies the name of a program object into which to load a program binary. + /// + /// + /// + /// + /// Specifies the format of the binary data in binary. + /// + /// + /// + /// + /// Specifies the address an array containing the binary to be loaded into program. + /// + /// + /// + /// + /// Specifies the number of bytes contained in binary. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_get_program_binary", Version = "4.1", EntryPoint = "glProgramBinary")] + public static + void ProgramBinary(UInt32 program, OpenTK.Graphics.OpenGL.BinaryFormat binaryFormat, IntPtr binary, Int32 length) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramBinary((UInt32)program, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryFormat, (IntPtr)binary, (Int32)length); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_get_program_binary] + /// Load a program object with a program binary + /// + /// + /// + /// Specifies the name of a program object into which to load a program binary. + /// + /// + /// + /// + /// Specifies the format of the binary data in binary. + /// + /// + /// + /// + /// Specifies the address an array containing the binary to be loaded into program. + /// + /// + /// + /// + /// Specifies the number of bytes contained in binary. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_get_program_binary", Version = "4.1", EntryPoint = "glProgramBinary")] + public static + void ProgramBinary(UInt32 program, OpenTK.Graphics.OpenGL.BinaryFormat binaryFormat, [InAttribute, OutAttribute] T2[] binary, Int32 length) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glProgramBinary((UInt32)program, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_get_program_binary] + /// Load a program object with a program binary + /// + /// + /// + /// Specifies the name of a program object into which to load a program binary. + /// + /// + /// + /// + /// Specifies the format of the binary data in binary. + /// + /// + /// + /// + /// Specifies the address an array containing the binary to be loaded into program. + /// + /// + /// + /// + /// Specifies the number of bytes contained in binary. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_get_program_binary", Version = "4.1", EntryPoint = "glProgramBinary")] + public static + void ProgramBinary(UInt32 program, OpenTK.Graphics.OpenGL.BinaryFormat binaryFormat, [InAttribute, OutAttribute] T2[,] binary, Int32 length) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glProgramBinary((UInt32)program, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_get_program_binary] + /// Load a program object with a program binary + /// + /// + /// + /// Specifies the name of a program object into which to load a program binary. + /// + /// + /// + /// + /// Specifies the format of the binary data in binary. + /// + /// + /// + /// + /// Specifies the address an array containing the binary to be loaded into program. + /// + /// + /// + /// + /// Specifies the number of bytes contained in binary. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_get_program_binary", Version = "4.1", EntryPoint = "glProgramBinary")] + public static + void ProgramBinary(UInt32 program, OpenTK.Graphics.OpenGL.BinaryFormat binaryFormat, [InAttribute, OutAttribute] T2[,,] binary, Int32 length) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glProgramBinary((UInt32)program, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_get_program_binary] + /// Load a program object with a program binary + /// + /// + /// + /// Specifies the name of a program object into which to load a program binary. + /// + /// + /// + /// + /// Specifies the format of the binary data in binary. + /// + /// + /// + /// + /// Specifies the address an array containing the binary to be loaded into program. + /// + /// + /// + /// + /// Specifies the number of bytes contained in binary. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_get_program_binary", Version = "4.1", EntryPoint = "glProgramBinary")] + public static + void ProgramBinary(UInt32 program, OpenTK.Graphics.OpenGL.BinaryFormat binaryFormat, [InAttribute, OutAttribute] ref T2 binary, Int32 length) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glProgramBinary((UInt32)program, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + binary = (T2)binary_ptr.Target; + } + finally + { + binary_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v3.0 and ARB_get_program_binary] + /// Specify a parameter for a program object + /// + /// + /// + /// Specifies the name of a program object whose parameter to modify. + /// + /// + /// + /// + /// Specifies the name of the parameter to modify. + /// + /// + /// + /// + /// Specifies the new value of the parameter specified by pname for program. + /// + /// + [AutoGenerated(Category = "ARB_get_program_binary", Version = "3.0", EntryPoint = "glProgramParameteri")] + public static + void ProgramParameter(Int32 program, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, Int32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramParameteri((UInt32)program, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (Int32)value); + #if DEBUG + } + #endif + } + + + /// [requires: v3.0 and ARB_get_program_binary] + /// Specify a parameter for a program object + /// + /// + /// + /// Specifies the name of a program object whose parameter to modify. + /// + /// + /// + /// + /// Specifies the name of the parameter to modify. + /// + /// + /// + /// + /// Specifies the new value of the parameter specified by pname for program. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_get_program_binary", Version = "3.0", EntryPoint = "glProgramParameteri")] + public static + void ProgramParameter(UInt32 program, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, Int32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramParameteri((UInt32)program, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (Int32)value); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform1d")] + public static + void ProgramUniform1(Int32 program, Int32 location, Double v0) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform1d((UInt32)program, (Int32)location, (Double)v0); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform1d")] + public static + void ProgramUniform1(UInt32 program, Int32 location, Double v0) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform1d((UInt32)program, (Int32)location, (Double)v0); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform1dv")] + public static + void ProgramUniform1(Int32 program, Int32 location, Int32 count, ref Double value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = &value) + { + Delegates.glProgramUniform1dv((UInt32)program, (Int32)location, (Int32)count, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform1dv")] + public static + unsafe void ProgramUniform1(Int32 program, Int32 location, Int32 count, Double* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform1dv((UInt32)program, (Int32)location, (Int32)count, (Double*)value); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform1dv")] + public static + void ProgramUniform1(UInt32 program, Int32 location, Int32 count, ref Double value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = &value) + { + Delegates.glProgramUniform1dv((UInt32)program, (Int32)location, (Int32)count, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform1dv")] + public static + unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Double* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform1dv((UInt32)program, (Int32)location, (Int32)count, (Double*)value); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform1f")] + public static + void ProgramUniform1(Int32 program, Int32 location, Single v0) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform1f((UInt32)program, (Int32)location, (Single)v0); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform1f")] + public static + void ProgramUniform1(UInt32 program, Int32 location, Single v0) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform1f((UInt32)program, (Int32)location, (Single)v0); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform1fv")] + public static + void ProgramUniform1(Int32 program, Int32 location, Int32 count, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glProgramUniform1fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform1fv")] + public static + unsafe void ProgramUniform1(Int32 program, Int32 location, Int32 count, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform1fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform1fv")] + public static + void ProgramUniform1(UInt32 program, Int32 location, Int32 count, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glProgramUniform1fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform1fv")] + public static + unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform1fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform1i")] + public static + void ProgramUniform1(Int32 program, Int32 location, Int32 v0) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform1i((UInt32)program, (Int32)location, (Int32)v0); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform1i")] + public static + void ProgramUniform1(UInt32 program, Int32 location, Int32 v0) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform1i((UInt32)program, (Int32)location, (Int32)v0); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform1iv")] + public static + void ProgramUniform1(Int32 program, Int32 location, Int32 count, ref Int32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = &value) + { + Delegates.glProgramUniform1iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform1iv")] + public static + unsafe void ProgramUniform1(Int32 program, Int32 location, Int32 count, Int32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform1iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform1iv")] + public static + void ProgramUniform1(UInt32 program, Int32 location, Int32 count, ref Int32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = &value) + { + Delegates.glProgramUniform1iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform1iv")] + public static + unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Int32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform1iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform1ui")] + public static + void ProgramUniform1(UInt32 program, Int32 location, UInt32 v0) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform1ui((UInt32)program, (Int32)location, (UInt32)v0); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform1uiv")] + public static + void ProgramUniform1(UInt32 program, Int32 location, Int32 count, ref UInt32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* value_ptr = &value) + { + Delegates.glProgramUniform1uiv((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform1uiv")] + public static + unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, UInt32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform1uiv((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform2d")] + public static + void ProgramUniform2(Int32 program, Int32 location, Double v0, Double v1) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform2d((UInt32)program, (Int32)location, (Double)v0, (Double)v1); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform2d")] + public static + void ProgramUniform2(UInt32 program, Int32 location, Double v0, Double v1) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform2d((UInt32)program, (Int32)location, (Double)v0, (Double)v1); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform2dv")] + public static + void ProgramUniform2(Int32 program, Int32 location, Int32 count, Double[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = value) + { + Delegates.glProgramUniform2dv((UInt32)program, (Int32)location, (Int32)count, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform2dv")] + public static + void ProgramUniform2(Int32 program, Int32 location, Int32 count, ref Double value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = &value) + { + Delegates.glProgramUniform2dv((UInt32)program, (Int32)location, (Int32)count, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform2dv")] + public static + unsafe void ProgramUniform2(Int32 program, Int32 location, Int32 count, Double* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform2dv((UInt32)program, (Int32)location, (Int32)count, (Double*)value); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform2dv")] + public static + void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Double[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = value) + { + Delegates.glProgramUniform2dv((UInt32)program, (Int32)location, (Int32)count, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform2dv")] + public static + void ProgramUniform2(UInt32 program, Int32 location, Int32 count, ref Double value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = &value) + { + Delegates.glProgramUniform2dv((UInt32)program, (Int32)location, (Int32)count, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform2dv")] + public static + unsafe void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Double* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform2dv((UInt32)program, (Int32)location, (Int32)count, (Double*)value); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform2f")] + public static + void ProgramUniform2(Int32 program, Int32 location, Single v0, Single v1) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform2f((UInt32)program, (Int32)location, (Single)v0, (Single)v1); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform2f")] + public static + void ProgramUniform2(UInt32 program, Int32 location, Single v0, Single v1) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform2f((UInt32)program, (Int32)location, (Single)v0, (Single)v1); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform2fv")] + public static + void ProgramUniform2(Int32 program, Int32 location, Int32 count, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniform2fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform2fv")] + public static + void ProgramUniform2(Int32 program, Int32 location, Int32 count, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glProgramUniform2fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform2fv")] + public static + unsafe void ProgramUniform2(Int32 program, Int32 location, Int32 count, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform2fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform2fv")] + public static + void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniform2fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform2fv")] + public static + void ProgramUniform2(UInt32 program, Int32 location, Int32 count, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glProgramUniform2fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform2fv")] + public static + unsafe void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform2fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform2i")] + public static + void ProgramUniform2(Int32 program, Int32 location, Int32 v0, Int32 v1) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform2i((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform2i")] + public static + void ProgramUniform2(UInt32 program, Int32 location, Int32 v0, Int32 v1) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform2i((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform2iv")] + public static + void ProgramUniform2(Int32 program, Int32 location, Int32 count, Int32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = value) + { + Delegates.glProgramUniform2iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform2iv")] + public static + unsafe void ProgramUniform2(Int32 program, Int32 location, Int32 count, Int32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform2iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform2iv")] + public static + void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Int32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = value) + { + Delegates.glProgramUniform2iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform2iv")] + public static + unsafe void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Int32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform2iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform2ui")] + public static + void ProgramUniform2(UInt32 program, Int32 location, UInt32 v0, UInt32 v1) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform2ui((UInt32)program, (Int32)location, (UInt32)v0, (UInt32)v1); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform2uiv")] + public static + void ProgramUniform2(UInt32 program, Int32 location, Int32 count, UInt32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* value_ptr = value) + { + Delegates.glProgramUniform2uiv((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform2uiv")] + public static + void ProgramUniform2(UInt32 program, Int32 location, Int32 count, ref UInt32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* value_ptr = &value) + { + Delegates.glProgramUniform2uiv((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform2uiv")] + public static + unsafe void ProgramUniform2(UInt32 program, Int32 location, Int32 count, UInt32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform2uiv((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform3d")] + public static + void ProgramUniform3(Int32 program, Int32 location, Double v0, Double v1, Double v2) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform3d((UInt32)program, (Int32)location, (Double)v0, (Double)v1, (Double)v2); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform3d")] + public static + void ProgramUniform3(UInt32 program, Int32 location, Double v0, Double v1, Double v2) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform3d((UInt32)program, (Int32)location, (Double)v0, (Double)v1, (Double)v2); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform3dv")] + public static + void ProgramUniform3(Int32 program, Int32 location, Int32 count, Double[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = value) + { + Delegates.glProgramUniform3dv((UInt32)program, (Int32)location, (Int32)count, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform3dv")] + public static + void ProgramUniform3(Int32 program, Int32 location, Int32 count, ref Double value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = &value) + { + Delegates.glProgramUniform3dv((UInt32)program, (Int32)location, (Int32)count, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform3dv")] + public static + unsafe void ProgramUniform3(Int32 program, Int32 location, Int32 count, Double* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform3dv((UInt32)program, (Int32)location, (Int32)count, (Double*)value); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform3dv")] + public static + void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Double[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = value) + { + Delegates.glProgramUniform3dv((UInt32)program, (Int32)location, (Int32)count, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform3dv")] + public static + void ProgramUniform3(UInt32 program, Int32 location, Int32 count, ref Double value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = &value) + { + Delegates.glProgramUniform3dv((UInt32)program, (Int32)location, (Int32)count, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform3dv")] + public static + unsafe void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Double* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform3dv((UInt32)program, (Int32)location, (Int32)count, (Double*)value); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform3f")] + public static + void ProgramUniform3(Int32 program, Int32 location, Single v0, Single v1, Single v2) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform3f((UInt32)program, (Int32)location, (Single)v0, (Single)v1, (Single)v2); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform3f")] + public static + void ProgramUniform3(UInt32 program, Int32 location, Single v0, Single v1, Single v2) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform3f((UInt32)program, (Int32)location, (Single)v0, (Single)v1, (Single)v2); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform3fv")] + public static + void ProgramUniform3(Int32 program, Int32 location, Int32 count, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniform3fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform3fv")] + public static + void ProgramUniform3(Int32 program, Int32 location, Int32 count, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glProgramUniform3fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform3fv")] + public static + unsafe void ProgramUniform3(Int32 program, Int32 location, Int32 count, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform3fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform3fv")] + public static + void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniform3fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform3fv")] + public static + void ProgramUniform3(UInt32 program, Int32 location, Int32 count, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glProgramUniform3fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform3fv")] + public static + unsafe void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform3fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform3i")] + public static + void ProgramUniform3(Int32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform3i((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, (Int32)v2); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform3i")] + public static + void ProgramUniform3(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform3i((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, (Int32)v2); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform3iv")] + public static + void ProgramUniform3(Int32 program, Int32 location, Int32 count, Int32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = value) + { + Delegates.glProgramUniform3iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform3iv")] + public static + void ProgramUniform3(Int32 program, Int32 location, Int32 count, ref Int32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = &value) + { + Delegates.glProgramUniform3iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform3iv")] + public static + unsafe void ProgramUniform3(Int32 program, Int32 location, Int32 count, Int32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform3iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform3iv")] + public static + void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Int32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = value) + { + Delegates.glProgramUniform3iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform3iv")] + public static + void ProgramUniform3(UInt32 program, Int32 location, Int32 count, ref Int32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = &value) + { + Delegates.glProgramUniform3iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform3iv")] + public static + unsafe void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Int32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform3iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform3ui")] + public static + void ProgramUniform3(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform3ui((UInt32)program, (Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform3uiv")] + public static + void ProgramUniform3(UInt32 program, Int32 location, Int32 count, UInt32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* value_ptr = value) + { + Delegates.glProgramUniform3uiv((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform3uiv")] + public static + void ProgramUniform3(UInt32 program, Int32 location, Int32 count, ref UInt32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* value_ptr = &value) + { + Delegates.glProgramUniform3uiv((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform3uiv")] + public static + unsafe void ProgramUniform3(UInt32 program, Int32 location, Int32 count, UInt32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform3uiv((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform4d")] + public static + void ProgramUniform4(Int32 program, Int32 location, Double v0, Double v1, Double v2, Double v3) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform4d((UInt32)program, (Int32)location, (Double)v0, (Double)v1, (Double)v2, (Double)v3); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform4d")] + public static + void ProgramUniform4(UInt32 program, Int32 location, Double v0, Double v1, Double v2, Double v3) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform4d((UInt32)program, (Int32)location, (Double)v0, (Double)v1, (Double)v2, (Double)v3); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform4dv")] + public static + void ProgramUniform4(Int32 program, Int32 location, Int32 count, Double[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = value) + { + Delegates.glProgramUniform4dv((UInt32)program, (Int32)location, (Int32)count, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform4dv")] + public static + void ProgramUniform4(Int32 program, Int32 location, Int32 count, ref Double value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = &value) + { + Delegates.glProgramUniform4dv((UInt32)program, (Int32)location, (Int32)count, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform4dv")] + public static + unsafe void ProgramUniform4(Int32 program, Int32 location, Int32 count, Double* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform4dv((UInt32)program, (Int32)location, (Int32)count, (Double*)value); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform4dv")] + public static + void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Double[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = value) + { + Delegates.glProgramUniform4dv((UInt32)program, (Int32)location, (Int32)count, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform4dv")] + public static + void ProgramUniform4(UInt32 program, Int32 location, Int32 count, ref Double value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = &value) + { + Delegates.glProgramUniform4dv((UInt32)program, (Int32)location, (Int32)count, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform4dv")] + public static + unsafe void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Double* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform4dv((UInt32)program, (Int32)location, (Int32)count, (Double*)value); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform4f")] + public static + void ProgramUniform4(Int32 program, Int32 location, Single v0, Single v1, Single v2, Single v3) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform4f((UInt32)program, (Int32)location, (Single)v0, (Single)v1, (Single)v2, (Single)v3); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform4f")] + public static + void ProgramUniform4(UInt32 program, Int32 location, Single v0, Single v1, Single v2, Single v3) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform4f((UInt32)program, (Int32)location, (Single)v0, (Single)v1, (Single)v2, (Single)v3); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform4fv")] + public static + void ProgramUniform4(Int32 program, Int32 location, Int32 count, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniform4fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform4fv")] + public static + void ProgramUniform4(Int32 program, Int32 location, Int32 count, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glProgramUniform4fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform4fv")] + public static + unsafe void ProgramUniform4(Int32 program, Int32 location, Int32 count, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform4fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform4fv")] + public static + void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniform4fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform4fv")] + public static + void ProgramUniform4(UInt32 program, Int32 location, Int32 count, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glProgramUniform4fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform4fv")] + public static + unsafe void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform4fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform4i")] + public static + void ProgramUniform4(Int32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform4i((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, (Int32)v3); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform4i")] + public static + void ProgramUniform4(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform4i((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, (Int32)v3); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform4iv")] + public static + void ProgramUniform4(Int32 program, Int32 location, Int32 count, Int32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = value) + { + Delegates.glProgramUniform4iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform4iv")] + public static + void ProgramUniform4(Int32 program, Int32 location, Int32 count, ref Int32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = &value) + { + Delegates.glProgramUniform4iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform4iv")] + public static + unsafe void ProgramUniform4(Int32 program, Int32 location, Int32 count, Int32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform4iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform4iv")] + public static + void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Int32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = value) + { + Delegates.glProgramUniform4iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform4iv")] + public static + void ProgramUniform4(UInt32 program, Int32 location, Int32 count, ref Int32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = &value) + { + Delegates.glProgramUniform4iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform4iv")] + public static + unsafe void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Int32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform4iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform4ui")] + public static + void ProgramUniform4(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform4ui((UInt32)program, (Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2, (UInt32)v3); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform4uiv")] + public static + void ProgramUniform4(UInt32 program, Int32 location, Int32 count, UInt32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* value_ptr = value) + { + Delegates.glProgramUniform4uiv((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform4uiv")] + public static + void ProgramUniform4(UInt32 program, Int32 location, Int32 count, ref UInt32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* value_ptr = &value) + { + Delegates.glProgramUniform4uiv((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniform4uiv")] + public static + unsafe void ProgramUniform4(UInt32 program, Int32 location, Int32 count, UInt32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform4uiv((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix2dv")] + public static + void ProgramUniformMatrix2(Int32 program, Int32 location, Int32 count, bool transpose, Double[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = value) + { + Delegates.glProgramUniformMatrix2dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix2dv")] + public static + void ProgramUniformMatrix2(Int32 program, Int32 location, Int32 count, bool transpose, ref Double value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = &value) + { + Delegates.glProgramUniformMatrix2dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix2dv")] + public static + unsafe void ProgramUniformMatrix2(Int32 program, Int32 location, Int32 count, bool transpose, Double* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix2dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix2dv")] + public static + void ProgramUniformMatrix2(UInt32 program, Int32 location, Int32 count, bool transpose, Double[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = value) + { + Delegates.glProgramUniformMatrix2dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix2dv")] + public static + void ProgramUniformMatrix2(UInt32 program, Int32 location, Int32 count, bool transpose, ref Double value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = &value) + { + Delegates.glProgramUniformMatrix2dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix2dv")] + public static + unsafe void ProgramUniformMatrix2(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix2dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix2fv")] + public static + void ProgramUniformMatrix2(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniformMatrix2fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix2fv")] + public static + void ProgramUniformMatrix2(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glProgramUniformMatrix2fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix2fv")] + public static + unsafe void ProgramUniformMatrix2(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix2fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix2fv")] + public static + void ProgramUniformMatrix2(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniformMatrix2fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix2fv")] + public static + void ProgramUniformMatrix2(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glProgramUniformMatrix2fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix2fv")] + public static + unsafe void ProgramUniformMatrix2(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix2fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix2x3dv")] + public static + void ProgramUniformMatrix2x3(Int32 program, Int32 location, Int32 count, bool transpose, Double[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = value) + { + Delegates.glProgramUniformMatrix2x3dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix2x3dv")] + public static + void ProgramUniformMatrix2x3(Int32 program, Int32 location, Int32 count, bool transpose, ref Double value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = &value) + { + Delegates.glProgramUniformMatrix2x3dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix2x3dv")] + public static + unsafe void ProgramUniformMatrix2x3(Int32 program, Int32 location, Int32 count, bool transpose, Double* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix2x3dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix2x3dv")] + public static + void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, Double[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = value) + { + Delegates.glProgramUniformMatrix2x3dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix2x3dv")] + public static + void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, ref Double value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = &value) + { + Delegates.glProgramUniformMatrix2x3dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix2x3dv")] + public static + unsafe void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix2x3dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix2x3fv")] + public static + void ProgramUniformMatrix2x3(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniformMatrix2x3fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix2x3fv")] + public static + void ProgramUniformMatrix2x3(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glProgramUniformMatrix2x3fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix2x3fv")] + public static + unsafe void ProgramUniformMatrix2x3(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix2x3fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix2x3fv")] + public static + void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniformMatrix2x3fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix2x3fv")] + public static + void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glProgramUniformMatrix2x3fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix2x3fv")] + public static + unsafe void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix2x3fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix2x4dv")] + public static + void ProgramUniformMatrix2x4(Int32 program, Int32 location, Int32 count, bool transpose, Double[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = value) + { + Delegates.glProgramUniformMatrix2x4dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix2x4dv")] + public static + void ProgramUniformMatrix2x4(Int32 program, Int32 location, Int32 count, bool transpose, ref Double value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = &value) + { + Delegates.glProgramUniformMatrix2x4dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix2x4dv")] + public static + unsafe void ProgramUniformMatrix2x4(Int32 program, Int32 location, Int32 count, bool transpose, Double* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix2x4dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix2x4dv")] + public static + void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, Double[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = value) + { + Delegates.glProgramUniformMatrix2x4dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix2x4dv")] + public static + void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, ref Double value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = &value) + { + Delegates.glProgramUniformMatrix2x4dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix2x4dv")] + public static + unsafe void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix2x4dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix2x4fv")] + public static + void ProgramUniformMatrix2x4(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniformMatrix2x4fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix2x4fv")] + public static + void ProgramUniformMatrix2x4(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glProgramUniformMatrix2x4fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix2x4fv")] + public static + unsafe void ProgramUniformMatrix2x4(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix2x4fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix2x4fv")] + public static + void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniformMatrix2x4fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix2x4fv")] + public static + void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glProgramUniformMatrix2x4fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix2x4fv")] + public static + unsafe void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix2x4fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix3dv")] + public static + void ProgramUniformMatrix3(Int32 program, Int32 location, Int32 count, bool transpose, Double[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = value) + { + Delegates.glProgramUniformMatrix3dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix3dv")] + public static + void ProgramUniformMatrix3(Int32 program, Int32 location, Int32 count, bool transpose, ref Double value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = &value) + { + Delegates.glProgramUniformMatrix3dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix3dv")] + public static + unsafe void ProgramUniformMatrix3(Int32 program, Int32 location, Int32 count, bool transpose, Double* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix3dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix3dv")] + public static + void ProgramUniformMatrix3(UInt32 program, Int32 location, Int32 count, bool transpose, Double[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = value) + { + Delegates.glProgramUniformMatrix3dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix3dv")] + public static + void ProgramUniformMatrix3(UInt32 program, Int32 location, Int32 count, bool transpose, ref Double value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = &value) + { + Delegates.glProgramUniformMatrix3dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix3dv")] + public static + unsafe void ProgramUniformMatrix3(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix3dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix3fv")] + public static + void ProgramUniformMatrix3(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniformMatrix3fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix3fv")] + public static + void ProgramUniformMatrix3(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glProgramUniformMatrix3fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix3fv")] + public static + unsafe void ProgramUniformMatrix3(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix3fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix3fv")] + public static + void ProgramUniformMatrix3(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniformMatrix3fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix3fv")] + public static + void ProgramUniformMatrix3(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glProgramUniformMatrix3fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix3fv")] + public static + unsafe void ProgramUniformMatrix3(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix3fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix3x2dv")] + public static + void ProgramUniformMatrix3x2(Int32 program, Int32 location, Int32 count, bool transpose, Double[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = value) + { + Delegates.glProgramUniformMatrix3x2dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix3x2dv")] + public static + void ProgramUniformMatrix3x2(Int32 program, Int32 location, Int32 count, bool transpose, ref Double value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = &value) + { + Delegates.glProgramUniformMatrix3x2dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix3x2dv")] + public static + unsafe void ProgramUniformMatrix3x2(Int32 program, Int32 location, Int32 count, bool transpose, Double* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix3x2dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix3x2dv")] + public static + void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, Double[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = value) + { + Delegates.glProgramUniformMatrix3x2dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix3x2dv")] + public static + void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, ref Double value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = &value) + { + Delegates.glProgramUniformMatrix3x2dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix3x2dv")] + public static + unsafe void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix3x2dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix3x2fv")] + public static + void ProgramUniformMatrix3x2(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniformMatrix3x2fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix3x2fv")] + public static + void ProgramUniformMatrix3x2(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glProgramUniformMatrix3x2fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix3x2fv")] + public static + unsafe void ProgramUniformMatrix3x2(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix3x2fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix3x2fv")] + public static + void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniformMatrix3x2fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix3x2fv")] + public static + void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glProgramUniformMatrix3x2fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix3x2fv")] + public static + unsafe void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix3x2fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix3x4dv")] + public static + void ProgramUniformMatrix3x4(Int32 program, Int32 location, Int32 count, bool transpose, Double[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = value) + { + Delegates.glProgramUniformMatrix3x4dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix3x4dv")] + public static + void ProgramUniformMatrix3x4(Int32 program, Int32 location, Int32 count, bool transpose, ref Double value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = &value) + { + Delegates.glProgramUniformMatrix3x4dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix3x4dv")] + public static + unsafe void ProgramUniformMatrix3x4(Int32 program, Int32 location, Int32 count, bool transpose, Double* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix3x4dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix3x4dv")] + public static + void ProgramUniformMatrix3x4(UInt32 program, Int32 location, Int32 count, bool transpose, Double[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = value) + { + Delegates.glProgramUniformMatrix3x4dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix3x4dv")] + public static + void ProgramUniformMatrix3x4(UInt32 program, Int32 location, Int32 count, bool transpose, ref Double value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = &value) + { + Delegates.glProgramUniformMatrix3x4dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix3x4dv")] + public static + unsafe void ProgramUniformMatrix3x4(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix3x4dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix3x4fv")] + public static + void ProgramUniformMatrix3x4(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniformMatrix3x4fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix3x4fv")] + public static + void ProgramUniformMatrix3x4(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glProgramUniformMatrix3x4fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix3x4fv")] + public static + unsafe void ProgramUniformMatrix3x4(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix3x4fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix3x4fv")] + public static + void ProgramUniformMatrix3x4(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniformMatrix3x4fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix3x4fv")] + public static + void ProgramUniformMatrix3x4(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glProgramUniformMatrix3x4fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix3x4fv")] + public static + unsafe void ProgramUniformMatrix3x4(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix3x4fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix4dv")] + public static + void ProgramUniformMatrix4(Int32 program, Int32 location, Int32 count, bool transpose, Double[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = value) + { + Delegates.glProgramUniformMatrix4dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix4dv")] + public static + void ProgramUniformMatrix4(Int32 program, Int32 location, Int32 count, bool transpose, ref Double value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = &value) + { + Delegates.glProgramUniformMatrix4dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix4dv")] + public static + unsafe void ProgramUniformMatrix4(Int32 program, Int32 location, Int32 count, bool transpose, Double* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix4dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix4dv")] + public static + void ProgramUniformMatrix4(UInt32 program, Int32 location, Int32 count, bool transpose, Double[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = value) + { + Delegates.glProgramUniformMatrix4dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix4dv")] + public static + void ProgramUniformMatrix4(UInt32 program, Int32 location, Int32 count, bool transpose, ref Double value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = &value) + { + Delegates.glProgramUniformMatrix4dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix4dv")] + public static + unsafe void ProgramUniformMatrix4(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix4dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix4fv")] + public static + void ProgramUniformMatrix4(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniformMatrix4fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix4fv")] + public static + void ProgramUniformMatrix4(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glProgramUniformMatrix4fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix4fv")] + public static + unsafe void ProgramUniformMatrix4(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix4fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix4fv")] + public static + void ProgramUniformMatrix4(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniformMatrix4fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix4fv")] + public static + void ProgramUniformMatrix4(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glProgramUniformMatrix4fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix4fv")] + public static + unsafe void ProgramUniformMatrix4(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix4fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix4x2dv")] + public static + void ProgramUniformMatrix4x2(Int32 program, Int32 location, Int32 count, bool transpose, Double[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = value) + { + Delegates.glProgramUniformMatrix4x2dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix4x2dv")] + public static + void ProgramUniformMatrix4x2(Int32 program, Int32 location, Int32 count, bool transpose, ref Double value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = &value) + { + Delegates.glProgramUniformMatrix4x2dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix4x2dv")] + public static + unsafe void ProgramUniformMatrix4x2(Int32 program, Int32 location, Int32 count, bool transpose, Double* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix4x2dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix4x2dv")] + public static + void ProgramUniformMatrix4x2(UInt32 program, Int32 location, Int32 count, bool transpose, Double[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = value) + { + Delegates.glProgramUniformMatrix4x2dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix4x2dv")] + public static + void ProgramUniformMatrix4x2(UInt32 program, Int32 location, Int32 count, bool transpose, ref Double value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = &value) + { + Delegates.glProgramUniformMatrix4x2dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix4x2dv")] + public static + unsafe void ProgramUniformMatrix4x2(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix4x2dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix4x2fv")] + public static + void ProgramUniformMatrix4x2(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniformMatrix4x2fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix4x2fv")] + public static + void ProgramUniformMatrix4x2(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glProgramUniformMatrix4x2fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix4x2fv")] + public static + unsafe void ProgramUniformMatrix4x2(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix4x2fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix4x2fv")] + public static + void ProgramUniformMatrix4x2(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniformMatrix4x2fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix4x2fv")] + public static + void ProgramUniformMatrix4x2(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glProgramUniformMatrix4x2fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix4x2fv")] + public static + unsafe void ProgramUniformMatrix4x2(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix4x2fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix4x3dv")] + public static + void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, Double[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = value) + { + Delegates.glProgramUniformMatrix4x3dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix4x3dv")] + public static + void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, ref Double value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = &value) + { + Delegates.glProgramUniformMatrix4x3dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix4x3dv")] + public static + unsafe void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, Double* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix4x3dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix4x3dv")] + public static + void ProgramUniformMatrix4x3(UInt32 program, Int32 location, Int32 count, bool transpose, Double[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = value) + { + Delegates.glProgramUniformMatrix4x3dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix4x3dv")] + public static + void ProgramUniformMatrix4x3(UInt32 program, Int32 location, Int32 count, bool transpose, ref Double value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = &value) + { + Delegates.glProgramUniformMatrix4x3dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix4x3dv")] + public static + unsafe void ProgramUniformMatrix4x3(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix4x3dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix4x3fv")] + public static + void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniformMatrix4x3fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix4x3fv")] + public static + void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glProgramUniformMatrix4x3fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix4x3fv")] + public static + unsafe void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix4x3fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix4x3fv")] + public static + void ProgramUniformMatrix4x3(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniformMatrix4x3fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix4x3fv")] + public static + void ProgramUniformMatrix4x3(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glProgramUniformMatrix4x3fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glProgramUniformMatrix4x3fv")] + public static + unsafe void ProgramUniformMatrix4x3(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix4x3fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_provoking_vertex] + /// Specifiy the vertex to be used as the source of data for flat shaded varyings + /// + /// + /// + /// Specifies the vertex to be used as the source of data for flat shaded varyings. + /// + /// + [AutoGenerated(Category = "ARB_provoking_vertex", Version = "1.2", EntryPoint = "glProvokingVertex")] + public static + void ProvokingVertex(OpenTK.Graphics.OpenGL.ProvokingVertexMode mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProvokingVertex((OpenTK.Graphics.OpenGL.ProvokingVertexMode)mode); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Push and pop the server attribute stack + /// + /// + /// + /// Specifies a mask that indicates which attributes to save. Values for mask are listed below. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glPushAttrib")] + public static + void PushAttrib(OpenTK.Graphics.OpenGL.AttribMask mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPushAttrib((OpenTK.Graphics.OpenGL.AttribMask)mask); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1][deprecated: v3.1] + /// Push and pop the client attribute stack + /// + /// + /// + /// Specifies a mask that indicates which attributes to save. Values for mask are listed below. + /// + /// + [AutoGenerated(Category = "VERSION_1_1_DEPRECATED", Version = "1.1", EntryPoint = "glPushClientAttrib")] + public static + void PushClientAttrib(OpenTK.Graphics.OpenGL.ClientAttribMask mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPushClientAttrib((OpenTK.Graphics.OpenGL.ClientAttribMask)mask); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Push and pop the current matrix stack + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glPushMatrix")] + public static + void PushMatrix() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPushMatrix(); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Push and pop the name stack + /// + /// + /// + /// Specifies a name that will be pushed onto the name stack. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glPushName")] + public static + void PushName(Int32 name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPushName((UInt32)name); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Push and pop the name stack + /// + /// + /// + /// Specifies a name that will be pushed onto the name stack. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glPushName")] + public static + void PushName(UInt32 name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPushName((UInt32)name); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_timer_query] + /// Record the GL time into a query object after all previous commands have reached the GL server but have not yet necessarily executed. + /// + /// + /// + /// Specify the name of a query object into which to record the GL time. + /// + /// + /// + /// + /// Specify the counter to query. target must be GL_TIMESTAMP. + /// + /// + [AutoGenerated(Category = "ARB_timer_query", Version = "1.2", EntryPoint = "glQueryCounter")] + public static + void QueryCounter(Int32 id, OpenTK.Graphics.OpenGL.QueryCounterTarget target) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glQueryCounter((UInt32)id, (OpenTK.Graphics.OpenGL.QueryCounterTarget)target); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_timer_query] + /// Record the GL time into a query object after all previous commands have reached the GL server but have not yet necessarily executed. + /// + /// + /// + /// Specify the name of a query object into which to record the GL time. + /// + /// + /// + /// + /// Specify the counter to query. target must be GL_TIMESTAMP. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_timer_query", Version = "1.2", EntryPoint = "glQueryCounter")] + public static + void QueryCounter(UInt32 id, OpenTK.Graphics.OpenGL.QueryCounterTarget target) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glQueryCounter((UInt32)id, (OpenTK.Graphics.OpenGL.QueryCounterTarget)target); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glRasterPos2d")] + public static + void RasterPos2(Double x, Double y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glRasterPos2d((Double)x, (Double)y); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glRasterPos2dv")] + public static + void RasterPos2(Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glRasterPos2dv((Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glRasterPos2dv")] + public static + void RasterPos2(ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glRasterPos2dv((Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glRasterPos2dv")] + public static + unsafe void RasterPos2(Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glRasterPos2dv((Double*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glRasterPos2f")] + public static + void RasterPos2(Single x, Single y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glRasterPos2f((Single)x, (Single)y); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glRasterPos2fv")] + public static + void RasterPos2(Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glRasterPos2fv((Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glRasterPos2fv")] + public static + void RasterPos2(ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glRasterPos2fv((Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glRasterPos2fv")] + public static + unsafe void RasterPos2(Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glRasterPos2fv((Single*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glRasterPos2i")] + public static + void RasterPos2(Int32 x, Int32 y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glRasterPos2i((Int32)x, (Int32)y); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glRasterPos2iv")] + public static + void RasterPos2(Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glRasterPos2iv((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glRasterPos2iv")] + public static + void RasterPos2(ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glRasterPos2iv((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glRasterPos2iv")] + public static + unsafe void RasterPos2(Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glRasterPos2iv((Int32*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glRasterPos2s")] + public static + void RasterPos2(Int16 x, Int16 y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glRasterPos2s((Int16)x, (Int16)y); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glRasterPos2sv")] + public static + void RasterPos2(Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glRasterPos2sv((Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glRasterPos2sv")] + public static + void RasterPos2(ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glRasterPos2sv((Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glRasterPos2sv")] + public static + unsafe void RasterPos2(Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glRasterPos2sv((Int16*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glRasterPos3d")] + public static + void RasterPos3(Double x, Double y, Double z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glRasterPos3d((Double)x, (Double)y, (Double)z); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glRasterPos3dv")] + public static + void RasterPos3(Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glRasterPos3dv((Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glRasterPos3dv")] + public static + void RasterPos3(ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glRasterPos3dv((Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glRasterPos3dv")] + public static + unsafe void RasterPos3(Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glRasterPos3dv((Double*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glRasterPos3f")] + public static + void RasterPos3(Single x, Single y, Single z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glRasterPos3f((Single)x, (Single)y, (Single)z); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glRasterPos3fv")] + public static + void RasterPos3(Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glRasterPos3fv((Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glRasterPos3fv")] + public static + void RasterPos3(ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glRasterPos3fv((Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glRasterPos3fv")] + public static + unsafe void RasterPos3(Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glRasterPos3fv((Single*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glRasterPos3i")] + public static + void RasterPos3(Int32 x, Int32 y, Int32 z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glRasterPos3i((Int32)x, (Int32)y, (Int32)z); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glRasterPos3iv")] + public static + void RasterPos3(Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glRasterPos3iv((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glRasterPos3iv")] + public static + void RasterPos3(ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glRasterPos3iv((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glRasterPos3iv")] + public static + unsafe void RasterPos3(Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glRasterPos3iv((Int32*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glRasterPos3s")] + public static + void RasterPos3(Int16 x, Int16 y, Int16 z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glRasterPos3s((Int16)x, (Int16)y, (Int16)z); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glRasterPos3sv")] + public static + void RasterPos3(Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glRasterPos3sv((Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glRasterPos3sv")] + public static + void RasterPos3(ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glRasterPos3sv((Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glRasterPos3sv")] + public static + unsafe void RasterPos3(Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glRasterPos3sv((Int16*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glRasterPos4d")] + public static + void RasterPos4(Double x, Double y, Double z, Double w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glRasterPos4d((Double)x, (Double)y, (Double)z, (Double)w); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glRasterPos4dv")] + public static + void RasterPos4(Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glRasterPos4dv((Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glRasterPos4dv")] + public static + void RasterPos4(ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glRasterPos4dv((Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glRasterPos4dv")] + public static + unsafe void RasterPos4(Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glRasterPos4dv((Double*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glRasterPos4f")] + public static + void RasterPos4(Single x, Single y, Single z, Single w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glRasterPos4f((Single)x, (Single)y, (Single)z, (Single)w); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glRasterPos4fv")] + public static + void RasterPos4(Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glRasterPos4fv((Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glRasterPos4fv")] + public static + void RasterPos4(ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glRasterPos4fv((Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glRasterPos4fv")] + public static + unsafe void RasterPos4(Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glRasterPos4fv((Single*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glRasterPos4i")] + public static + void RasterPos4(Int32 x, Int32 y, Int32 z, Int32 w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glRasterPos4i((Int32)x, (Int32)y, (Int32)z, (Int32)w); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glRasterPos4iv")] + public static + void RasterPos4(Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glRasterPos4iv((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glRasterPos4iv")] + public static + void RasterPos4(ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glRasterPos4iv((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glRasterPos4iv")] + public static + unsafe void RasterPos4(Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glRasterPos4iv((Int32*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glRasterPos4s")] + public static + void RasterPos4(Int16 x, Int16 y, Int16 z, Int16 w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glRasterPos4s((Int16)x, (Int16)y, (Int16)z, (Int16)w); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glRasterPos4sv")] + public static + void RasterPos4(Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glRasterPos4sv((Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glRasterPos4sv")] + public static + void RasterPos4(ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glRasterPos4sv((Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glRasterPos4sv")] + public static + unsafe void RasterPos4(Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glRasterPos4sv((Int16*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0] + /// Select a color buffer source for pixels + /// + /// + /// + /// Specifies a color buffer. Accepted values are GL_FRONT_LEFT, GL_FRONT_RIGHT, GL_BACK_LEFT, GL_BACK_RIGHT, GL_FRONT, GL_BACK, GL_LEFT, and GL_RIGHT. + /// + /// + [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glReadBuffer")] + public static + void ReadBuffer(OpenTK.Graphics.OpenGL.ReadBufferMode mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReadBuffer((OpenTK.Graphics.OpenGL.ReadBufferMode)mode); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0] + /// Read a block of pixels from the frame buffer + /// + /// + /// + /// Specify the window coordinates of the first pixel that is read from the frame buffer. This location is the lower left corner of a rectangular block of pixels. + /// + /// + /// + /// + /// Specify the dimensions of the pixel rectangle. width and height of one correspond to a single pixel. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_DEPTH_STENCIL, GL_RED, GL_GREEN, GL_BLUE, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. Must be one of GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_HALF_FLOAT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, GL_UNSIGNED_INT_2_10_10_10_REV, GL_UNSIGNED_INT_24_8, GL_UNSIGNED_INT_10F_11F_11F_REV, GL_UNSIGNED_INT_5_9_9_9_REV, or GL_FLOAT_32_UNSIGNED_INT_24_8_REV. + /// + /// + /// + /// + /// Returns the pixel data. + /// + /// + [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glReadPixels")] + public static + void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0] + /// Read a block of pixels from the frame buffer + /// + /// + /// + /// Specify the window coordinates of the first pixel that is read from the frame buffer. This location is the lower left corner of a rectangular block of pixels. + /// + /// + /// + /// + /// Specify the dimensions of the pixel rectangle. width and height of one correspond to a single pixel. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_DEPTH_STENCIL, GL_RED, GL_GREEN, GL_BLUE, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. Must be one of GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_HALF_FLOAT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, GL_UNSIGNED_INT_2_10_10_10_REV, GL_UNSIGNED_INT_24_8, GL_UNSIGNED_INT_10F_11F_11F_REV, GL_UNSIGNED_INT_5_9_9_9_REV, or GL_FLOAT_32_UNSIGNED_INT_24_8_REV. + /// + /// + /// + /// + /// Returns the pixel data. + /// + /// + [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glReadPixels")] + public static + void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[] pixels) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0] + /// Read a block of pixels from the frame buffer + /// + /// + /// + /// Specify the window coordinates of the first pixel that is read from the frame buffer. This location is the lower left corner of a rectangular block of pixels. + /// + /// + /// + /// + /// Specify the dimensions of the pixel rectangle. width and height of one correspond to a single pixel. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_DEPTH_STENCIL, GL_RED, GL_GREEN, GL_BLUE, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. Must be one of GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_HALF_FLOAT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, GL_UNSIGNED_INT_2_10_10_10_REV, GL_UNSIGNED_INT_24_8, GL_UNSIGNED_INT_10F_11F_11F_REV, GL_UNSIGNED_INT_5_9_9_9_REV, or GL_FLOAT_32_UNSIGNED_INT_24_8_REV. + /// + /// + /// + /// + /// Returns the pixel data. + /// + /// + [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glReadPixels")] + public static + void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[,] pixels) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0] + /// Read a block of pixels from the frame buffer + /// + /// + /// + /// Specify the window coordinates of the first pixel that is read from the frame buffer. This location is the lower left corner of a rectangular block of pixels. + /// + /// + /// + /// + /// Specify the dimensions of the pixel rectangle. width and height of one correspond to a single pixel. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_DEPTH_STENCIL, GL_RED, GL_GREEN, GL_BLUE, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. Must be one of GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_HALF_FLOAT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, GL_UNSIGNED_INT_2_10_10_10_REV, GL_UNSIGNED_INT_24_8, GL_UNSIGNED_INT_10F_11F_11F_REV, GL_UNSIGNED_INT_5_9_9_9_REV, or GL_FLOAT_32_UNSIGNED_INT_24_8_REV. + /// + /// + /// + /// + /// Returns the pixel data. + /// + /// + [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glReadPixels")] + public static + void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[,,] pixels) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0] + /// Read a block of pixels from the frame buffer + /// + /// + /// + /// Specify the window coordinates of the first pixel that is read from the frame buffer. This location is the lower left corner of a rectangular block of pixels. + /// + /// + /// + /// + /// Specify the dimensions of the pixel rectangle. width and height of one correspond to a single pixel. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_DEPTH_STENCIL, GL_RED, GL_GREEN, GL_BLUE, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. Must be one of GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_HALF_FLOAT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, GL_UNSIGNED_INT_2_10_10_10_REV, GL_UNSIGNED_INT_24_8, GL_UNSIGNED_INT_10F_11F_11F_REV, GL_UNSIGNED_INT_5_9_9_9_REV, or GL_FLOAT_32_UNSIGNED_INT_24_8_REV. + /// + /// + /// + /// + /// Returns the pixel data. + /// + /// + [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glReadPixels")] + public static + void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T6 pixels) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + pixels = (T6)pixels_ptr.Target; + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Draw a rectangle + /// + /// + /// + /// Specify one vertex of a rectangle. + /// + /// + /// + /// + /// Specify the opposite vertex of the rectangle. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glRectd")] + public static + void Rect(Double x1, Double y1, Double x2, Double y2) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glRectd((Double)x1, (Double)y1, (Double)x2, (Double)y2); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Draw a rectangle + /// + /// + /// + /// Specify one vertex of a rectangle. + /// + /// + /// + /// + /// Specify the opposite vertex of the rectangle. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glRectdv")] + public static + void Rect(Double[] v1, Double[] v2) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v1_ptr = v1) + fixed (Double* v2_ptr = v2) + { + Delegates.glRectdv((Double*)v1_ptr, (Double*)v2_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Draw a rectangle + /// + /// + /// + /// Specify one vertex of a rectangle. + /// + /// + /// + /// + /// Specify the opposite vertex of the rectangle. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glRectdv")] + public static + void Rect(ref Double v1, ref Double v2) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v1_ptr = &v1) + fixed (Double* v2_ptr = &v2) + { + Delegates.glRectdv((Double*)v1_ptr, (Double*)v2_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Draw a rectangle + /// + /// + /// + /// Specify one vertex of a rectangle. + /// + /// + /// + /// + /// Specify the opposite vertex of the rectangle. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glRectdv")] + public static + unsafe void Rect(Double* v1, Double* v2) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glRectdv((Double*)v1, (Double*)v2); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Draw a rectangle + /// + /// + /// + /// Specify one vertex of a rectangle. + /// + /// + /// + /// + /// Specify the opposite vertex of the rectangle. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glRectf")] + public static + void Rect(Single x1, Single y1, Single x2, Single y2) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glRectf((Single)x1, (Single)y1, (Single)x2, (Single)y2); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Draw a rectangle + /// + /// + /// + /// Specify one vertex of a rectangle. + /// + /// + /// + /// + /// Specify the opposite vertex of the rectangle. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glRectfv")] + public static + void Rect(Single[] v1, Single[] v2) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v1_ptr = v1) + fixed (Single* v2_ptr = v2) + { + Delegates.glRectfv((Single*)v1_ptr, (Single*)v2_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Draw a rectangle + /// + /// + /// + /// Specify one vertex of a rectangle. + /// + /// + /// + /// + /// Specify the opposite vertex of the rectangle. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glRectfv")] + public static + void Rect(ref Single v1, ref Single v2) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v1_ptr = &v1) + fixed (Single* v2_ptr = &v2) + { + Delegates.glRectfv((Single*)v1_ptr, (Single*)v2_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Draw a rectangle + /// + /// + /// + /// Specify one vertex of a rectangle. + /// + /// + /// + /// + /// Specify the opposite vertex of the rectangle. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glRectfv")] + public static + unsafe void Rect(Single* v1, Single* v2) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glRectfv((Single*)v1, (Single*)v2); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Draw a rectangle + /// + /// + /// + /// Specify one vertex of a rectangle. + /// + /// + /// + /// + /// Specify the opposite vertex of the rectangle. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glRecti")] + public static + void Rect(Int32 x1, Int32 y1, Int32 x2, Int32 y2) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glRecti((Int32)x1, (Int32)y1, (Int32)x2, (Int32)y2); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Draw a rectangle + /// + /// + /// + /// Specify one vertex of a rectangle. + /// + /// + /// + /// + /// Specify the opposite vertex of the rectangle. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glRectiv")] + public static + void Rect(Int32[] v1, Int32[] v2) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v1_ptr = v1) + fixed (Int32* v2_ptr = v2) + { + Delegates.glRectiv((Int32*)v1_ptr, (Int32*)v2_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Draw a rectangle + /// + /// + /// + /// Specify one vertex of a rectangle. + /// + /// + /// + /// + /// Specify the opposite vertex of the rectangle. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glRectiv")] + public static + void Rect(ref Int32 v1, ref Int32 v2) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v1_ptr = &v1) + fixed (Int32* v2_ptr = &v2) + { + Delegates.glRectiv((Int32*)v1_ptr, (Int32*)v2_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Draw a rectangle + /// + /// + /// + /// Specify one vertex of a rectangle. + /// + /// + /// + /// + /// Specify the opposite vertex of the rectangle. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glRectiv")] + public static + unsafe void Rect(Int32* v1, Int32* v2) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glRectiv((Int32*)v1, (Int32*)v2); + #if DEBUG + } + #endif + } + + /// [requires: v1.0][deprecated: v3.1] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glRects")] + public static + void Rects(Int16 x1, Int16 y1, Int16 x2, Int16 y2) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glRects((Int16)x1, (Int16)y1, (Int16)x2, (Int16)y2); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Draw a rectangle + /// + /// + /// + /// Specify one vertex of a rectangle. + /// + /// + /// + /// + /// Specify the opposite vertex of the rectangle. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glRectsv")] + public static + void Rect(Int16[] v1, Int16[] v2) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v1_ptr = v1) + fixed (Int16* v2_ptr = v2) + { + Delegates.glRectsv((Int16*)v1_ptr, (Int16*)v2_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Draw a rectangle + /// + /// + /// + /// Specify one vertex of a rectangle. + /// + /// + /// + /// + /// Specify the opposite vertex of the rectangle. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glRectsv")] + public static + void Rect(ref Int16 v1, ref Int16 v2) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v1_ptr = &v1) + fixed (Int16* v2_ptr = &v2) + { + Delegates.glRectsv((Int16*)v1_ptr, (Int16*)v2_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Draw a rectangle + /// + /// + /// + /// Specify one vertex of a rectangle. + /// + /// + /// + /// + /// Specify the opposite vertex of the rectangle. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glRectsv")] + public static + unsafe void Rect(Int16* v1, Int16* v2) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glRectsv((Int16*)v1, (Int16*)v2); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_ES2_compatibility] + /// Release resources consumed by the implementation's shader compiler + /// + [AutoGenerated(Category = "ARB_ES2_compatibility", Version = "4.1", EntryPoint = "glReleaseShaderCompiler")] + public static + void ReleaseShaderCompiler() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReleaseShaderCompiler(); + #if DEBUG + } + #endif + } + + + /// [requires: v3.0 and ARB_framebuffer_object] + /// Establish data storage, format and dimensions of a renderbuffer object's image + /// + /// + /// + /// Specifies a binding to which the target of the allocation and must be GL_RENDERBUFFER. + /// + /// + /// + /// + /// Specifies the internal format to use for the renderbuffer object's image. + /// + /// + /// + /// + /// Specifies the width of the renderbuffer, in pixels. + /// + /// + /// + /// + /// Specifies the height of the renderbuffer, in pixels. + /// + /// + [AutoGenerated(Category = "ARB_framebuffer_object", Version = "3.0", EntryPoint = "glRenderbufferStorage")] + public static + void RenderbufferStorage(OpenTK.Graphics.OpenGL.RenderbufferTarget target, OpenTK.Graphics.OpenGL.RenderbufferStorage internalformat, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glRenderbufferStorage((OpenTK.Graphics.OpenGL.RenderbufferTarget)target, (OpenTK.Graphics.OpenGL.RenderbufferStorage)internalformat, (Int32)width, (Int32)height); + #if DEBUG + } + #endif + } + + + /// [requires: v3.0 and ARB_framebuffer_object] + /// Establish data storage, format, dimensions and sample count of a renderbuffer object's image + /// + /// + /// + /// Specifies a binding to which the target of the allocation and must be GL_RENDERBUFFER. + /// + /// + /// + /// + /// Specifies the number of samples to be used for the renderbuffer object's storage. + /// + /// + /// + /// + /// Specifies the internal format to use for the renderbuffer object's image. + /// + /// + /// + /// + /// Specifies the width of the renderbuffer, in pixels. + /// + /// + /// + /// + /// Specifies the height of the renderbuffer, in pixels. + /// + /// + [AutoGenerated(Category = "ARB_framebuffer_object", Version = "3.0", EntryPoint = "glRenderbufferStorageMultisample")] + public static + void RenderbufferStorageMultisample(OpenTK.Graphics.OpenGL.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.OpenGL.RenderbufferStorage internalformat, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glRenderbufferStorageMultisample((OpenTK.Graphics.OpenGL.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.OpenGL.RenderbufferStorage)internalformat, (Int32)width, (Int32)height); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set rasterization mode + /// + /// + /// + /// Specifies the rasterization mode. Three values are accepted: GL_RENDER, GL_SELECT, and GL_FEEDBACK. The initial value is GL_RENDER. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glRenderMode")] + public static + Int32 RenderMode(OpenTK.Graphics.OpenGL.RenderingMode mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glRenderMode((OpenTK.Graphics.OpenGL.RenderingMode)mode); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Reset histogram table entries to zero + /// + /// + /// + /// Must be GL_HISTOGRAM. + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glResetHistogram")] + public static + void ResetHistogram(OpenTK.Graphics.OpenGL.HistogramTarget target) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glResetHistogram((OpenTK.Graphics.OpenGL.HistogramTarget)target); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Reset minmax table entries to initial values + /// + /// + /// + /// Must be GL_MINMAX. + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glResetMinmax")] + public static + void ResetMinmax(OpenTK.Graphics.OpenGL.MinmaxTarget target) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glResetMinmax((OpenTK.Graphics.OpenGL.MinmaxTarget)target); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_transform_feedback2] + /// Resume transform feedback operations + /// + [AutoGenerated(Category = "ARB_transform_feedback2", Version = "1.2", EntryPoint = "glResumeTransformFeedback")] + public static + void ResumeTransformFeedback() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glResumeTransformFeedback(); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Multiply the current matrix by a rotation matrix + /// + /// + /// + /// Specifies the angle of rotation, in degrees. + /// + /// + /// + /// + /// Specify the x, y, and z coordinates of a vector, respectively. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glRotated")] + public static + void Rotate(Double angle, Double x, Double y, Double z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glRotated((Double)angle, (Double)x, (Double)y, (Double)z); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Multiply the current matrix by a rotation matrix + /// + /// + /// + /// Specifies the angle of rotation, in degrees. + /// + /// + /// + /// + /// Specify the x, y, and z coordinates of a vector, respectively. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glRotatef")] + public static + void Rotate(Single angle, Single x, Single y, Single z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glRotatef((Single)angle, (Single)x, (Single)y, (Single)z); + #if DEBUG + } + #endif + } + + + /// [requires: v1.3] + /// Specify multisample coverage parameters + /// + /// + /// + /// Specify a single floating-point sample coverage value. The value is clamped to the range [0 ,1]. The initial value is 1.0. + /// + /// + /// + /// + /// 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 = "VERSION_1_3", Version = "1.3", EntryPoint = "glSampleCoverage")] + public static + void SampleCoverage(Single value, bool invert) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSampleCoverage((Single)value, (bool)invert); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_texture_multisample] + /// Set the value of a sub-word of the sample mask + /// + /// + /// + /// Specifies which 32-bit sub-word of the sample mask to update. + /// + /// + /// + /// + /// Specifies the new value of the mask sub-word. + /// + /// + [AutoGenerated(Category = "ARB_texture_multisample", Version = "1.2", EntryPoint = "glSampleMaski")] + public static + void SampleMask(Int32 index, Int32 mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSampleMaski((UInt32)index, (UInt32)mask); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_texture_multisample] + /// Set the value of a sub-word of the sample mask + /// + /// + /// + /// Specifies which 32-bit sub-word of the sample mask to update. + /// + /// + /// + /// + /// Specifies the new value of the mask sub-word. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_texture_multisample", Version = "1.2", EntryPoint = "glSampleMaski")] + public static + void SampleMask(UInt32 index, UInt32 mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSampleMaski((UInt32)index, (UInt32)mask); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_sampler_objects] + /// Set sampler parameters + /// + /// + /// + /// Specifies the sampler object whose parameter to modify. + /// + /// + /// + /// + /// Specifies the symbolic name of a single-valued sampler parameter. pname can be one of the following: GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_LOD_BIAS GL_TEXTURE_COMPARE_MODE, or GL_TEXTURE_COMPARE_FUNC. + /// + /// + /// + /// + /// Specifies the value of pname. + /// + /// + [AutoGenerated(Category = "ARB_sampler_objects", Version = "1.2", EntryPoint = "glSamplerParameterf")] + public static + void SamplerParameter(Int32 sampler, OpenTK.Graphics.OpenGL.SamplerParameter pname, Single param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSamplerParameterf((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameter)pname, (Single)param); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_sampler_objects] + /// Set sampler parameters + /// + /// + /// + /// Specifies the sampler object whose parameter to modify. + /// + /// + /// + /// + /// Specifies the symbolic name of a single-valued sampler parameter. pname can be one of the following: GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_LOD_BIAS GL_TEXTURE_COMPARE_MODE, or GL_TEXTURE_COMPARE_FUNC. + /// + /// + /// + /// + /// Specifies the value of pname. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_sampler_objects", Version = "1.2", EntryPoint = "glSamplerParameterf")] + public static + void SamplerParameter(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameter pname, Single param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSamplerParameterf((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameter)pname, (Single)param); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_sampler_objects] + /// Set sampler parameters + /// + /// + /// + /// Specifies the sampler object whose parameter to modify. + /// + /// + /// + /// + /// Specifies the symbolic name of a single-valued sampler parameter. pname can be one of the following: GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_LOD_BIAS GL_TEXTURE_COMPARE_MODE, or GL_TEXTURE_COMPARE_FUNC. + /// + /// + /// + /// + /// Specifies the value of pname. + /// + /// + [AutoGenerated(Category = "ARB_sampler_objects", Version = "1.2", EntryPoint = "glSamplerParameterfv")] + public static + void SamplerParameter(Int32 sampler, OpenTK.Graphics.OpenGL.SamplerParameter pname, Single[] param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* param_ptr = param) + { + Delegates.glSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameter)pname, (Single*)param_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_sampler_objects] + /// Set sampler parameters + /// + /// + /// + /// Specifies the sampler object whose parameter to modify. + /// + /// + /// + /// + /// Specifies the symbolic name of a single-valued sampler parameter. pname can be one of the following: GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_LOD_BIAS GL_TEXTURE_COMPARE_MODE, or GL_TEXTURE_COMPARE_FUNC. + /// + /// + /// + /// + /// Specifies the value of pname. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_sampler_objects", Version = "1.2", EntryPoint = "glSamplerParameterfv")] + public static + unsafe void SamplerParameter(Int32 sampler, OpenTK.Graphics.OpenGL.SamplerParameter pname, Single* param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameter)pname, (Single*)param); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_sampler_objects] + /// Set sampler parameters + /// + /// + /// + /// Specifies the sampler object whose parameter to modify. + /// + /// + /// + /// + /// Specifies the symbolic name of a single-valued sampler parameter. pname can be one of the following: GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_LOD_BIAS GL_TEXTURE_COMPARE_MODE, or GL_TEXTURE_COMPARE_FUNC. + /// + /// + /// + /// + /// Specifies the value of pname. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_sampler_objects", Version = "1.2", EntryPoint = "glSamplerParameterfv")] + public static + void SamplerParameter(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameter pname, Single[] param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* param_ptr = param) + { + Delegates.glSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameter)pname, (Single*)param_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_sampler_objects] + /// Set sampler parameters + /// + /// + /// + /// Specifies the sampler object whose parameter to modify. + /// + /// + /// + /// + /// Specifies the symbolic name of a single-valued sampler parameter. pname can be one of the following: GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_LOD_BIAS GL_TEXTURE_COMPARE_MODE, or GL_TEXTURE_COMPARE_FUNC. + /// + /// + /// + /// + /// Specifies the value of pname. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_sampler_objects", Version = "1.2", EntryPoint = "glSamplerParameterfv")] + public static + unsafe void SamplerParameter(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameter pname, Single* param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameter)pname, (Single*)param); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_sampler_objects] + /// Set sampler parameters + /// + /// + /// + /// Specifies the sampler object whose parameter to modify. + /// + /// + /// + /// + /// Specifies the symbolic name of a single-valued sampler parameter. pname can be one of the following: GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_LOD_BIAS GL_TEXTURE_COMPARE_MODE, or GL_TEXTURE_COMPARE_FUNC. + /// + /// + /// + /// + /// Specifies the value of pname. + /// + /// + [AutoGenerated(Category = "ARB_sampler_objects", Version = "1.2", EntryPoint = "glSamplerParameteri")] + public static + void SamplerParameter(Int32 sampler, OpenTK.Graphics.OpenGL.SamplerParameter pname, Int32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSamplerParameteri((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameter)pname, (Int32)param); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_sampler_objects] + /// Set sampler parameters + /// + /// + /// + /// Specifies the sampler object whose parameter to modify. + /// + /// + /// + /// + /// Specifies the symbolic name of a single-valued sampler parameter. pname can be one of the following: GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_LOD_BIAS GL_TEXTURE_COMPARE_MODE, or GL_TEXTURE_COMPARE_FUNC. + /// + /// + /// + /// + /// Specifies the value of pname. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_sampler_objects", Version = "1.2", EntryPoint = "glSamplerParameteri")] + public static + void SamplerParameter(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameter pname, Int32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSamplerParameteri((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameter)pname, (Int32)param); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_sampler_objects] + [AutoGenerated(Category = "ARB_sampler_objects", Version = "1.2", EntryPoint = "glSamplerParameterIiv")] + public static + void SamplerParameterI(Int32 sampler, OpenTK.Graphics.OpenGL.ArbSamplerObjects pname, Int32[] param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* param_ptr = param) + { + Delegates.glSamplerParameterIiv((UInt32)sampler, (OpenTK.Graphics.OpenGL.ArbSamplerObjects)pname, (Int32*)param_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_sampler_objects] + [AutoGenerated(Category = "ARB_sampler_objects", Version = "1.2", EntryPoint = "glSamplerParameterIiv")] + public static + void SamplerParameterI(Int32 sampler, OpenTK.Graphics.OpenGL.ArbSamplerObjects pname, ref Int32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* param_ptr = ¶m) + { + Delegates.glSamplerParameterIiv((UInt32)sampler, (OpenTK.Graphics.OpenGL.ArbSamplerObjects)pname, (Int32*)param_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_sampler_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_sampler_objects", Version = "1.2", EntryPoint = "glSamplerParameterIiv")] + public static + unsafe void SamplerParameterI(Int32 sampler, OpenTK.Graphics.OpenGL.ArbSamplerObjects pname, Int32* param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSamplerParameterIiv((UInt32)sampler, (OpenTK.Graphics.OpenGL.ArbSamplerObjects)pname, (Int32*)param); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_sampler_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_sampler_objects", Version = "1.2", EntryPoint = "glSamplerParameterIiv")] + public static + void SamplerParameterI(UInt32 sampler, OpenTK.Graphics.OpenGL.ArbSamplerObjects pname, Int32[] param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* param_ptr = param) + { + Delegates.glSamplerParameterIiv((UInt32)sampler, (OpenTK.Graphics.OpenGL.ArbSamplerObjects)pname, (Int32*)param_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_sampler_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_sampler_objects", Version = "1.2", EntryPoint = "glSamplerParameterIiv")] + public static + void SamplerParameterI(UInt32 sampler, OpenTK.Graphics.OpenGL.ArbSamplerObjects pname, ref Int32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* param_ptr = ¶m) + { + Delegates.glSamplerParameterIiv((UInt32)sampler, (OpenTK.Graphics.OpenGL.ArbSamplerObjects)pname, (Int32*)param_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_sampler_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_sampler_objects", Version = "1.2", EntryPoint = "glSamplerParameterIiv")] + public static + unsafe void SamplerParameterI(UInt32 sampler, OpenTK.Graphics.OpenGL.ArbSamplerObjects pname, Int32* param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSamplerParameterIiv((UInt32)sampler, (OpenTK.Graphics.OpenGL.ArbSamplerObjects)pname, (Int32*)param); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_sampler_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_sampler_objects", Version = "1.2", EntryPoint = "glSamplerParameterIuiv")] + public static + void SamplerParameterI(UInt32 sampler, OpenTK.Graphics.OpenGL.ArbSamplerObjects pname, UInt32[] param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* param_ptr = param) + { + Delegates.glSamplerParameterIuiv((UInt32)sampler, (OpenTK.Graphics.OpenGL.ArbSamplerObjects)pname, (UInt32*)param_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_sampler_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_sampler_objects", Version = "1.2", EntryPoint = "glSamplerParameterIuiv")] + public static + void SamplerParameterI(UInt32 sampler, OpenTK.Graphics.OpenGL.ArbSamplerObjects pname, ref UInt32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* param_ptr = ¶m) + { + Delegates.glSamplerParameterIuiv((UInt32)sampler, (OpenTK.Graphics.OpenGL.ArbSamplerObjects)pname, (UInt32*)param_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_sampler_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_sampler_objects", Version = "1.2", EntryPoint = "glSamplerParameterIuiv")] + public static + unsafe void SamplerParameterI(UInt32 sampler, OpenTK.Graphics.OpenGL.ArbSamplerObjects pname, UInt32* param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSamplerParameterIuiv((UInt32)sampler, (OpenTK.Graphics.OpenGL.ArbSamplerObjects)pname, (UInt32*)param); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_sampler_objects] + /// Set sampler parameters + /// + /// + /// + /// Specifies the sampler object whose parameter to modify. + /// + /// + /// + /// + /// Specifies the symbolic name of a single-valued sampler parameter. pname can be one of the following: GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_LOD_BIAS GL_TEXTURE_COMPARE_MODE, or GL_TEXTURE_COMPARE_FUNC. + /// + /// + /// + /// + /// Specifies the value of pname. + /// + /// + [AutoGenerated(Category = "ARB_sampler_objects", Version = "1.2", EntryPoint = "glSamplerParameteriv")] + public static + void SamplerParameter(Int32 sampler, OpenTK.Graphics.OpenGL.SamplerParameter pname, Int32[] param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* param_ptr = param) + { + Delegates.glSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameter)pname, (Int32*)param_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_sampler_objects] + /// Set sampler parameters + /// + /// + /// + /// Specifies the sampler object whose parameter to modify. + /// + /// + /// + /// + /// Specifies the symbolic name of a single-valued sampler parameter. pname can be one of the following: GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_LOD_BIAS GL_TEXTURE_COMPARE_MODE, or GL_TEXTURE_COMPARE_FUNC. + /// + /// + /// + /// + /// Specifies the value of pname. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_sampler_objects", Version = "1.2", EntryPoint = "glSamplerParameteriv")] + public static + unsafe void SamplerParameter(Int32 sampler, OpenTK.Graphics.OpenGL.SamplerParameter pname, Int32* param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameter)pname, (Int32*)param); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_sampler_objects] + /// Set sampler parameters + /// + /// + /// + /// Specifies the sampler object whose parameter to modify. + /// + /// + /// + /// + /// Specifies the symbolic name of a single-valued sampler parameter. pname can be one of the following: GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_LOD_BIAS GL_TEXTURE_COMPARE_MODE, or GL_TEXTURE_COMPARE_FUNC. + /// + /// + /// + /// + /// Specifies the value of pname. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_sampler_objects", Version = "1.2", EntryPoint = "glSamplerParameteriv")] + public static + void SamplerParameter(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameter pname, Int32[] param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* param_ptr = param) + { + Delegates.glSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameter)pname, (Int32*)param_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_sampler_objects] + /// Set sampler parameters + /// + /// + /// + /// Specifies the sampler object whose parameter to modify. + /// + /// + /// + /// + /// Specifies the symbolic name of a single-valued sampler parameter. pname can be one of the following: GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_LOD_BIAS GL_TEXTURE_COMPARE_MODE, or GL_TEXTURE_COMPARE_FUNC. + /// + /// + /// + /// + /// Specifies the value of pname. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_sampler_objects", Version = "1.2", EntryPoint = "glSamplerParameteriv")] + public static + unsafe void SamplerParameter(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameter pname, Int32* param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameter)pname, (Int32*)param); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Multiply the current matrix by a general scaling matrix + /// + /// + /// + /// Specify scale factors along the x, y, and z axes, respectively. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glScaled")] + public static + void Scale(Double x, Double y, Double z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glScaled((Double)x, (Double)y, (Double)z); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Multiply the current matrix by a general scaling matrix + /// + /// + /// + /// Specify scale factors along the x, y, and z axes, respectively. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glScalef")] + public static + void Scale(Single x, Single y, Single z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glScalef((Single)x, (Single)y, (Single)z); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0] + /// Define the scissor box + /// + /// + /// + /// Specify the lower left corner of the scissor box. Initially (0, 0). + /// + /// + /// + /// + /// Specify the width and height of the scissor box. When a GL context is first attached to a window, width and height are set to the dimensions of that window. + /// + /// + [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glScissor")] + public static + void Scissor(Int32 x, Int32 y, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glScissor((Int32)x, (Int32)y, (Int32)width, (Int32)height); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_viewport_array] + /// Define the scissor box for multiple viewports + /// + /// + /// + /// Specifies the index of the first viewport whose scissor box to modify. + /// + /// + /// + /// + /// Specifies the number of scissor boxes to modify. + /// + /// + /// + /// + /// Specifies the address of an array containing the left, bottom, width and height of each scissor box, in that order. + /// + /// + [AutoGenerated(Category = "ARB_viewport_array", Version = "4.1", EntryPoint = "glScissorArrayv")] + public static + void ScissorArray(Int32 first, Int32 count, Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glScissorArrayv((UInt32)first, (Int32)count, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_viewport_array] + /// Define the scissor box for multiple viewports + /// + /// + /// + /// Specifies the index of the first viewport whose scissor box to modify. + /// + /// + /// + /// + /// Specifies the number of scissor boxes to modify. + /// + /// + /// + /// + /// Specifies the address of an array containing the left, bottom, width and height of each scissor box, in that order. + /// + /// + [AutoGenerated(Category = "ARB_viewport_array", Version = "4.1", EntryPoint = "glScissorArrayv")] + public static + void ScissorArray(Int32 first, Int32 count, ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glScissorArrayv((UInt32)first, (Int32)count, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_viewport_array] + /// Define the scissor box for multiple viewports + /// + /// + /// + /// Specifies the index of the first viewport whose scissor box to modify. + /// + /// + /// + /// + /// Specifies the number of scissor boxes to modify. + /// + /// + /// + /// + /// Specifies the address of an array containing the left, bottom, width and height of each scissor box, in that order. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_viewport_array", Version = "4.1", EntryPoint = "glScissorArrayv")] + public static + unsafe void ScissorArray(Int32 first, Int32 count, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glScissorArrayv((UInt32)first, (Int32)count, (Int32*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_viewport_array] + /// Define the scissor box for multiple viewports + /// + /// + /// + /// Specifies the index of the first viewport whose scissor box to modify. + /// + /// + /// + /// + /// Specifies the number of scissor boxes to modify. + /// + /// + /// + /// + /// Specifies the address of an array containing the left, bottom, width and height of each scissor box, in that order. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_viewport_array", Version = "4.1", EntryPoint = "glScissorArrayv")] + public static + void ScissorArray(UInt32 first, Int32 count, Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glScissorArrayv((UInt32)first, (Int32)count, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_viewport_array] + /// Define the scissor box for multiple viewports + /// + /// + /// + /// Specifies the index of the first viewport whose scissor box to modify. + /// + /// + /// + /// + /// Specifies the number of scissor boxes to modify. + /// + /// + /// + /// + /// Specifies the address of an array containing the left, bottom, width and height of each scissor box, in that order. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_viewport_array", Version = "4.1", EntryPoint = "glScissorArrayv")] + public static + void ScissorArray(UInt32 first, Int32 count, ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glScissorArrayv((UInt32)first, (Int32)count, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_viewport_array] + /// Define the scissor box for multiple viewports + /// + /// + /// + /// Specifies the index of the first viewport whose scissor box to modify. + /// + /// + /// + /// + /// Specifies the number of scissor boxes to modify. + /// + /// + /// + /// + /// Specifies the address of an array containing the left, bottom, width and height of each scissor box, in that order. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_viewport_array", Version = "4.1", EntryPoint = "glScissorArrayv")] + public static + unsafe void ScissorArray(UInt32 first, Int32 count, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glScissorArrayv((UInt32)first, (Int32)count, (Int32*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_viewport_array] + /// Define the scissor box for a specific viewport + /// + /// + /// + /// Specifies the index of the viewport whose scissor box to modify. + /// + /// + /// + /// + /// Specify the coordinate of the bottom left corner of the scissor box, in pixels. + /// + /// + /// + /// + /// Specify ths dimensions of the scissor box, in pixels. + /// + /// + /// + /// + /// For glScissorIndexedv, specifies the address of an array containing the left, bottom, width and height of each scissor box, in that order. + /// + /// + [AutoGenerated(Category = "ARB_viewport_array", Version = "4.1", EntryPoint = "glScissorIndexed")] + public static + void ScissorIndexed(Int32 index, Int32 left, Int32 bottom, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glScissorIndexed((UInt32)index, (Int32)left, (Int32)bottom, (Int32)width, (Int32)height); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_viewport_array] + /// Define the scissor box for a specific viewport + /// + /// + /// + /// Specifies the index of the viewport whose scissor box to modify. + /// + /// + /// + /// + /// Specify the coordinate of the bottom left corner of the scissor box, in pixels. + /// + /// + /// + /// + /// Specify ths dimensions of the scissor box, in pixels. + /// + /// + /// + /// + /// For glScissorIndexedv, specifies the address of an array containing the left, bottom, width and height of each scissor box, in that order. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_viewport_array", Version = "4.1", EntryPoint = "glScissorIndexed")] + public static + void ScissorIndexed(UInt32 index, Int32 left, Int32 bottom, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glScissorIndexed((UInt32)index, (Int32)left, (Int32)bottom, (Int32)width, (Int32)height); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_viewport_array] + /// Define the scissor box for a specific viewport + /// + /// + /// + /// Specifies the index of the viewport whose scissor box to modify. + /// + /// + /// + /// + /// Specify the coordinate of the bottom left corner of the scissor box, in pixels. + /// + /// + /// + /// + /// Specify ths dimensions of the scissor box, in pixels. + /// + /// + /// + /// + /// For glScissorIndexedv, specifies the address of an array containing the left, bottom, width and height of each scissor box, in that order. + /// + /// + [AutoGenerated(Category = "ARB_viewport_array", Version = "4.1", EntryPoint = "glScissorIndexedv")] + public static + void ScissorIndexed(Int32 index, Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glScissorIndexedv((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_viewport_array] + /// Define the scissor box for a specific viewport + /// + /// + /// + /// Specifies the index of the viewport whose scissor box to modify. + /// + /// + /// + /// + /// Specify the coordinate of the bottom left corner of the scissor box, in pixels. + /// + /// + /// + /// + /// Specify ths dimensions of the scissor box, in pixels. + /// + /// + /// + /// + /// For glScissorIndexedv, specifies the address of an array containing the left, bottom, width and height of each scissor box, in that order. + /// + /// + [AutoGenerated(Category = "ARB_viewport_array", Version = "4.1", EntryPoint = "glScissorIndexedv")] + public static + void ScissorIndexed(Int32 index, ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glScissorIndexedv((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_viewport_array] + /// Define the scissor box for a specific viewport + /// + /// + /// + /// Specifies the index of the viewport whose scissor box to modify. + /// + /// + /// + /// + /// Specify the coordinate of the bottom left corner of the scissor box, in pixels. + /// + /// + /// + /// + /// Specify ths dimensions of the scissor box, in pixels. + /// + /// + /// + /// + /// For glScissorIndexedv, specifies the address of an array containing the left, bottom, width and height of each scissor box, in that order. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_viewport_array", Version = "4.1", EntryPoint = "glScissorIndexedv")] + public static + unsafe void ScissorIndexed(Int32 index, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glScissorIndexedv((UInt32)index, (Int32*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_viewport_array] + /// Define the scissor box for a specific viewport + /// + /// + /// + /// Specifies the index of the viewport whose scissor box to modify. + /// + /// + /// + /// + /// Specify the coordinate of the bottom left corner of the scissor box, in pixels. + /// + /// + /// + /// + /// Specify ths dimensions of the scissor box, in pixels. + /// + /// + /// + /// + /// For glScissorIndexedv, specifies the address of an array containing the left, bottom, width and height of each scissor box, in that order. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_viewport_array", Version = "4.1", EntryPoint = "glScissorIndexedv")] + public static + void ScissorIndexed(UInt32 index, Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glScissorIndexedv((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_viewport_array] + /// Define the scissor box for a specific viewport + /// + /// + /// + /// Specifies the index of the viewport whose scissor box to modify. + /// + /// + /// + /// + /// Specify the coordinate of the bottom left corner of the scissor box, in pixels. + /// + /// + /// + /// + /// Specify ths dimensions of the scissor box, in pixels. + /// + /// + /// + /// + /// For glScissorIndexedv, specifies the address of an array containing the left, bottom, width and height of each scissor box, in that order. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_viewport_array", Version = "4.1", EntryPoint = "glScissorIndexedv")] + public static + void ScissorIndexed(UInt32 index, ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glScissorIndexedv((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_viewport_array] + /// Define the scissor box for a specific viewport + /// + /// + /// + /// Specifies the index of the viewport whose scissor box to modify. + /// + /// + /// + /// + /// Specify the coordinate of the bottom left corner of the scissor box, in pixels. + /// + /// + /// + /// + /// Specify ths dimensions of the scissor box, in pixels. + /// + /// + /// + /// + /// For glScissorIndexedv, specifies the address of an array containing the left, bottom, width and height of each scissor box, in that order. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_viewport_array", Version = "4.1", EntryPoint = "glScissorIndexedv")] + public static + unsafe void ScissorIndexed(UInt32 index, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glScissorIndexedv((UInt32)index, (Int32*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.4][deprecated: v3.1] + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_4_DEPRECATED", Version = "1.4", EntryPoint = "glSecondaryColor3b")] + public static + void SecondaryColor3(SByte red, SByte green, SByte blue) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSecondaryColor3b((SByte)red, (SByte)green, (SByte)blue); + #if DEBUG + } + #endif + } + + + /// [requires: v1.4][deprecated: v3.1] + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_4_DEPRECATED", Version = "1.4", EntryPoint = "glSecondaryColor3bv")] + public static + void SecondaryColor3(SByte[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (SByte* v_ptr = v) + { + Delegates.glSecondaryColor3bv((SByte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.4][deprecated: v3.1] + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_4_DEPRECATED", Version = "1.4", EntryPoint = "glSecondaryColor3bv")] + public static + void SecondaryColor3(ref SByte v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (SByte* v_ptr = &v) + { + Delegates.glSecondaryColor3bv((SByte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.4][deprecated: v3.1] + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_4_DEPRECATED", Version = "1.4", EntryPoint = "glSecondaryColor3bv")] + public static + unsafe void SecondaryColor3(SByte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSecondaryColor3bv((SByte*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.4][deprecated: v3.1] + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [AutoGenerated(Category = "VERSION_1_4_DEPRECATED", Version = "1.4", EntryPoint = "glSecondaryColor3d")] + public static + void SecondaryColor3(Double red, Double green, Double blue) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSecondaryColor3d((Double)red, (Double)green, (Double)blue); + #if DEBUG + } + #endif + } + + + /// [requires: v1.4][deprecated: v3.1] + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [AutoGenerated(Category = "VERSION_1_4_DEPRECATED", Version = "1.4", EntryPoint = "glSecondaryColor3dv")] + public static + void SecondaryColor3(Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glSecondaryColor3dv((Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.4][deprecated: v3.1] + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [AutoGenerated(Category = "VERSION_1_4_DEPRECATED", Version = "1.4", EntryPoint = "glSecondaryColor3dv")] + public static + void SecondaryColor3(ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glSecondaryColor3dv((Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.4][deprecated: v3.1] + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_4_DEPRECATED", Version = "1.4", EntryPoint = "glSecondaryColor3dv")] + public static + unsafe void SecondaryColor3(Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSecondaryColor3dv((Double*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.4][deprecated: v3.1] + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [AutoGenerated(Category = "VERSION_1_4_DEPRECATED", Version = "1.4", EntryPoint = "glSecondaryColor3f")] + public static + void SecondaryColor3(Single red, Single green, Single blue) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSecondaryColor3f((Single)red, (Single)green, (Single)blue); + #if DEBUG + } + #endif + } + + + /// [requires: v1.4][deprecated: v3.1] + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [AutoGenerated(Category = "VERSION_1_4_DEPRECATED", Version = "1.4", EntryPoint = "glSecondaryColor3fv")] + public static + void SecondaryColor3(Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glSecondaryColor3fv((Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.4][deprecated: v3.1] + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [AutoGenerated(Category = "VERSION_1_4_DEPRECATED", Version = "1.4", EntryPoint = "glSecondaryColor3fv")] + public static + void SecondaryColor3(ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glSecondaryColor3fv((Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.4][deprecated: v3.1] + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_4_DEPRECATED", Version = "1.4", EntryPoint = "glSecondaryColor3fv")] + public static + unsafe void SecondaryColor3(Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSecondaryColor3fv((Single*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.4][deprecated: v3.1] + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [AutoGenerated(Category = "VERSION_1_4_DEPRECATED", Version = "1.4", EntryPoint = "glSecondaryColor3i")] + public static + void SecondaryColor3(Int32 red, Int32 green, Int32 blue) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSecondaryColor3i((Int32)red, (Int32)green, (Int32)blue); + #if DEBUG + } + #endif + } + + + /// [requires: v1.4][deprecated: v3.1] + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [AutoGenerated(Category = "VERSION_1_4_DEPRECATED", Version = "1.4", EntryPoint = "glSecondaryColor3iv")] + public static + void SecondaryColor3(Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glSecondaryColor3iv((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.4][deprecated: v3.1] + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [AutoGenerated(Category = "VERSION_1_4_DEPRECATED", Version = "1.4", EntryPoint = "glSecondaryColor3iv")] + public static + void SecondaryColor3(ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glSecondaryColor3iv((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.4][deprecated: v3.1] + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_4_DEPRECATED", Version = "1.4", EntryPoint = "glSecondaryColor3iv")] + public static + unsafe void SecondaryColor3(Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSecondaryColor3iv((Int32*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.4][deprecated: v3.1] + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [AutoGenerated(Category = "VERSION_1_4_DEPRECATED", Version = "1.4", EntryPoint = "glSecondaryColor3s")] + public static + void SecondaryColor3(Int16 red, Int16 green, Int16 blue) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSecondaryColor3s((Int16)red, (Int16)green, (Int16)blue); + #if DEBUG + } + #endif + } + + + /// [requires: v1.4][deprecated: v3.1] + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [AutoGenerated(Category = "VERSION_1_4_DEPRECATED", Version = "1.4", EntryPoint = "glSecondaryColor3sv")] + public static + void SecondaryColor3(Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glSecondaryColor3sv((Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.4][deprecated: v3.1] + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [AutoGenerated(Category = "VERSION_1_4_DEPRECATED", Version = "1.4", EntryPoint = "glSecondaryColor3sv")] + public static + void SecondaryColor3(ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glSecondaryColor3sv((Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.4][deprecated: v3.1] + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_4_DEPRECATED", Version = "1.4", EntryPoint = "glSecondaryColor3sv")] + public static + unsafe void SecondaryColor3(Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSecondaryColor3sv((Int16*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.4][deprecated: v3.1] + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [AutoGenerated(Category = "VERSION_1_4_DEPRECATED", Version = "1.4", EntryPoint = "glSecondaryColor3ub")] + public static + void SecondaryColor3(Byte red, Byte green, Byte blue) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSecondaryColor3ub((Byte)red, (Byte)green, (Byte)blue); + #if DEBUG + } + #endif + } + + + /// [requires: v1.4][deprecated: v3.1] + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [AutoGenerated(Category = "VERSION_1_4_DEPRECATED", Version = "1.4", EntryPoint = "glSecondaryColor3ubv")] + public static + void SecondaryColor3(Byte[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = v) + { + Delegates.glSecondaryColor3ubv((Byte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.4][deprecated: v3.1] + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [AutoGenerated(Category = "VERSION_1_4_DEPRECATED", Version = "1.4", EntryPoint = "glSecondaryColor3ubv")] + public static + void SecondaryColor3(ref Byte v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = &v) + { + Delegates.glSecondaryColor3ubv((Byte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.4][deprecated: v3.1] + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_4_DEPRECATED", Version = "1.4", EntryPoint = "glSecondaryColor3ubv")] + public static + unsafe void SecondaryColor3(Byte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSecondaryColor3ubv((Byte*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.4][deprecated: v3.1] + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_4_DEPRECATED", Version = "1.4", EntryPoint = "glSecondaryColor3ui")] + public static + void SecondaryColor3(UInt32 red, UInt32 green, UInt32 blue) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSecondaryColor3ui((UInt32)red, (UInt32)green, (UInt32)blue); + #if DEBUG + } + #endif + } + + + /// [requires: v1.4][deprecated: v3.1] + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_4_DEPRECATED", Version = "1.4", EntryPoint = "glSecondaryColor3uiv")] + public static + void SecondaryColor3(UInt32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* v_ptr = v) + { + Delegates.glSecondaryColor3uiv((UInt32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.4][deprecated: v3.1] + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_4_DEPRECATED", Version = "1.4", EntryPoint = "glSecondaryColor3uiv")] + public static + void SecondaryColor3(ref UInt32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* v_ptr = &v) + { + Delegates.glSecondaryColor3uiv((UInt32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.4][deprecated: v3.1] + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_4_DEPRECATED", Version = "1.4", EntryPoint = "glSecondaryColor3uiv")] + public static + unsafe void SecondaryColor3(UInt32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSecondaryColor3uiv((UInt32*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.4][deprecated: v3.1] + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_4_DEPRECATED", Version = "1.4", EntryPoint = "glSecondaryColor3us")] + public static + void SecondaryColor3(UInt16 red, UInt16 green, UInt16 blue) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSecondaryColor3us((UInt16)red, (UInt16)green, (UInt16)blue); + #if DEBUG + } + #endif + } + + + /// [requires: v1.4][deprecated: v3.1] + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_4_DEPRECATED", Version = "1.4", EntryPoint = "glSecondaryColor3usv")] + public static + void SecondaryColor3(UInt16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt16* v_ptr = v) + { + Delegates.glSecondaryColor3usv((UInt16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.4][deprecated: v3.1] + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_4_DEPRECATED", Version = "1.4", EntryPoint = "glSecondaryColor3usv")] + public static + void SecondaryColor3(ref UInt16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt16* v_ptr = &v) + { + Delegates.glSecondaryColor3usv((UInt16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.4][deprecated: v3.1] + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_4_DEPRECATED", Version = "1.4", EntryPoint = "glSecondaryColor3usv")] + public static + unsafe void SecondaryColor3(UInt16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSecondaryColor3usv((UInt16*)v); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glSecondaryColorP3ui")] + public static + void SecondaryColorP3(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32 color) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSecondaryColorP3ui((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)color); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glSecondaryColorP3ui")] + public static + void SecondaryColorP3(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 color) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSecondaryColorP3ui((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)color); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glSecondaryColorP3uiv")] + public static + unsafe void SecondaryColorP3(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32* color) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSecondaryColorP3uiv((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)color); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glSecondaryColorP3uiv")] + public static + unsafe void SecondaryColorP3(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* color) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSecondaryColorP3uiv((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)color); + #if DEBUG + } + #endif + } + + + /// [requires: v1.4][deprecated: v3.1] + /// Define an array of secondary colors + /// + /// + /// + /// Specifies the number of components per color. Must be 3. + /// + /// + /// + /// + /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "VERSION_1_4_DEPRECATED", Version = "1.4", EntryPoint = "glSecondaryColorPointer")] + public static + void SecondaryColorPointer(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSecondaryColorPointer((Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + + /// [requires: v1.4][deprecated: v3.1] + /// Define an array of secondary colors + /// + /// + /// + /// Specifies the number of components per color. Must be 3. + /// + /// + /// + /// + /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "VERSION_1_4_DEPRECATED", Version = "1.4", EntryPoint = "glSecondaryColorPointer")] + public static + void SecondaryColorPointer(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[] pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glSecondaryColorPointer((Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.4][deprecated: v3.1] + /// Define an array of secondary colors + /// + /// + /// + /// Specifies the number of components per color. Must be 3. + /// + /// + /// + /// + /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "VERSION_1_4_DEPRECATED", Version = "1.4", EntryPoint = "glSecondaryColorPointer")] + public static + void SecondaryColorPointer(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[,] pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glSecondaryColorPointer((Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.4][deprecated: v3.1] + /// Define an array of secondary colors + /// + /// + /// + /// Specifies the number of components per color. Must be 3. + /// + /// + /// + /// + /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "VERSION_1_4_DEPRECATED", Version = "1.4", EntryPoint = "glSecondaryColorPointer")] + public static + void SecondaryColorPointer(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[,,] pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glSecondaryColorPointer((Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.4][deprecated: v3.1] + /// Define an array of secondary colors + /// + /// + /// + /// Specifies the number of components per color. Must be 3. + /// + /// + /// + /// + /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "VERSION_1_4_DEPRECATED", Version = "1.4", EntryPoint = "glSecondaryColorPointer")] + public static + void SecondaryColorPointer(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, [InAttribute, OutAttribute] ref T3 pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glSecondaryColorPointer((Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + pointer = (T3)pointer_ptr.Target; + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Establish a buffer for selection mode values + /// + /// + /// + /// Specifies the size of buffer. + /// + /// + /// + /// + /// Returns the selection data. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glSelectBuffer")] + public static + void SelectBuffer(Int32 size, [OutAttribute] Int32[] buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* buffer_ptr = buffer) + { + Delegates.glSelectBuffer((Int32)size, (UInt32*)buffer_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Establish a buffer for selection mode values + /// + /// + /// + /// Specifies the size of buffer. + /// + /// + /// + /// + /// Returns the selection data. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glSelectBuffer")] + public static + void SelectBuffer(Int32 size, [OutAttribute] out Int32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* buffer_ptr = &buffer) + { + Delegates.glSelectBuffer((Int32)size, (UInt32*)buffer_ptr); + buffer = *buffer_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Establish a buffer for selection mode values + /// + /// + /// + /// Specifies the size of buffer. + /// + /// + /// + /// + /// Returns the selection data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glSelectBuffer")] + public static + unsafe void SelectBuffer(Int32 size, [OutAttribute] Int32* buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSelectBuffer((Int32)size, (UInt32*)buffer); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Establish a buffer for selection mode values + /// + /// + /// + /// Specifies the size of buffer. + /// + /// + /// + /// + /// Returns the selection data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glSelectBuffer")] + public static + void SelectBuffer(Int32 size, [OutAttribute] UInt32[] buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* buffer_ptr = buffer) + { + Delegates.glSelectBuffer((Int32)size, (UInt32*)buffer_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Establish a buffer for selection mode values + /// + /// + /// + /// Specifies the size of buffer. + /// + /// + /// + /// + /// Returns the selection data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glSelectBuffer")] + public static + void SelectBuffer(Int32 size, [OutAttribute] out UInt32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* buffer_ptr = &buffer) + { + Delegates.glSelectBuffer((Int32)size, (UInt32*)buffer_ptr); + buffer = *buffer_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Establish a buffer for selection mode values + /// + /// + /// + /// Specifies the size of buffer. + /// + /// + /// + /// + /// Returns the selection data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glSelectBuffer")] + public static + unsafe void SelectBuffer(Int32 size, [OutAttribute] UInt32* buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSelectBuffer((Int32)size, (UInt32*)buffer); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Define a separable two-dimensional convolution filter + /// + /// + /// + /// Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// + /// + /// + /// + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glSeparableFilter2D")] + public static + void SeparableFilter2D(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr row, IntPtr column) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSeparableFilter2D((OpenTK.Graphics.OpenGL.SeparableTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Define a separable two-dimensional convolution filter + /// + /// + /// + /// Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// + /// + /// + /// + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glSeparableFilter2D")] + public static + void SeparableFilter2D(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr row, [InAttribute, OutAttribute] T7[] column) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + try + { + Delegates.glSeparableFilter2D((OpenTK.Graphics.OpenGL.SeparableTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject()); + } + finally + { + column_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Define a separable two-dimensional convolution filter + /// + /// + /// + /// Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// + /// + /// + /// + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glSeparableFilter2D")] + public static + void SeparableFilter2D(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr row, [InAttribute, OutAttribute] T7[,] column) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + try + { + Delegates.glSeparableFilter2D((OpenTK.Graphics.OpenGL.SeparableTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject()); + } + finally + { + column_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Define a separable two-dimensional convolution filter + /// + /// + /// + /// Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// + /// + /// + /// + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glSeparableFilter2D")] + public static + void SeparableFilter2D(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr row, [InAttribute, OutAttribute] T7[,,] column) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + try + { + Delegates.glSeparableFilter2D((OpenTK.Graphics.OpenGL.SeparableTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject()); + } + finally + { + column_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Define a separable two-dimensional convolution filter + /// + /// + /// + /// Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// + /// + /// + /// + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glSeparableFilter2D")] + public static + void SeparableFilter2D(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr row, [InAttribute, OutAttribute] ref T7 column) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + try + { + Delegates.glSeparableFilter2D((OpenTK.Graphics.OpenGL.SeparableTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject()); + column = (T7)column_ptr.Target; + } + finally + { + column_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Define a separable two-dimensional convolution filter + /// + /// + /// + /// Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// + /// + /// + /// + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glSeparableFilter2D")] + public static + void SeparableFilter2D(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[] row, [InAttribute, OutAttribute] T7[,,] column) + where T6 : struct + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + try + { + Delegates.glSeparableFilter2D((OpenTK.Graphics.OpenGL.SeparableTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); + } + finally + { + row_ptr.Free(); + column_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Define a separable two-dimensional convolution filter + /// + /// + /// + /// Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// + /// + /// + /// + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glSeparableFilter2D")] + public static + void SeparableFilter2D(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[,] row, [InAttribute, OutAttribute] T7[,,] column) + where T6 : struct + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + try + { + Delegates.glSeparableFilter2D((OpenTK.Graphics.OpenGL.SeparableTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); + } + finally + { + row_ptr.Free(); + column_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Define a separable two-dimensional convolution filter + /// + /// + /// + /// Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// + /// + /// + /// + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glSeparableFilter2D")] + public static + void SeparableFilter2D(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[,,] row, [InAttribute, OutAttribute] T7[,,] column) + where T6 : struct + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + try + { + Delegates.glSeparableFilter2D((OpenTK.Graphics.OpenGL.SeparableTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); + } + finally + { + row_ptr.Free(); + column_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Define a separable two-dimensional convolution filter + /// + /// + /// + /// Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// + /// + /// + /// + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. + /// + /// + [AutoGenerated(Category = "VERSION_1_2_DEPRECATED", Version = "1.2", EntryPoint = "glSeparableFilter2D")] + public static + void SeparableFilter2D(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T6 row, [InAttribute, OutAttribute] T7[,,] column) + where T6 : struct + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + try + { + Delegates.glSeparableFilter2D((OpenTK.Graphics.OpenGL.SeparableTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); + row = (T6)row_ptr.Target; + } + finally + { + row_ptr.Free(); + column_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Select flat or smooth shading + /// + /// + /// + /// Specifies a symbolic value representing a shading technique. Accepted values are GL_FLAT and GL_SMOOTH. The initial value is GL_SMOOTH. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glShadeModel")] + public static + void ShadeModel(OpenTK.Graphics.OpenGL.ShadingModel mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glShadeModel((OpenTK.Graphics.OpenGL.ShadingModel)mode); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_ES2_compatibility] + /// Load pre-compiled shader binaries + /// + /// + /// + /// Specifies the number of shader object handles contained in shaders. + /// + /// + /// + /// + /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries. + /// + /// + /// + /// + /// Specifies the format of the shader binaries contained in binary. + /// + /// + /// + /// + /// Specifies the address of an array of bytes containing pre-compiled binary shader code. + /// + /// + /// + /// + /// Specifies the length of the array whose address is given in binary. + /// + /// + [AutoGenerated(Category = "ARB_ES2_compatibility", Version = "4.1", EntryPoint = "glShaderBinary")] + public static + void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, IntPtr binary, Int32 length) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* shaders_ptr = shaders) + { + Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary, (Int32)length); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_ES2_compatibility] + /// Load pre-compiled shader binaries + /// + /// + /// + /// Specifies the number of shader object handles contained in shaders. + /// + /// + /// + /// + /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries. + /// + /// + /// + /// + /// Specifies the format of the shader binaries contained in binary. + /// + /// + /// + /// + /// Specifies the address of an array of bytes containing pre-compiled binary shader code. + /// + /// + /// + /// + /// Specifies the length of the array whose address is given in binary. + /// + /// + [AutoGenerated(Category = "ARB_ES2_compatibility", Version = "4.1", EntryPoint = "glShaderBinary")] + public static + void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* shaders_ptr = shaders) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_ES2_compatibility] + /// Load pre-compiled shader binaries + /// + /// + /// + /// Specifies the number of shader object handles contained in shaders. + /// + /// + /// + /// + /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries. + /// + /// + /// + /// + /// Specifies the format of the shader binaries contained in binary. + /// + /// + /// + /// + /// Specifies the address of an array of bytes containing pre-compiled binary shader code. + /// + /// + /// + /// + /// Specifies the length of the array whose address is given in binary. + /// + /// + [AutoGenerated(Category = "ARB_ES2_compatibility", Version = "4.1", EntryPoint = "glShaderBinary")] + public static + void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* shaders_ptr = shaders) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_ES2_compatibility] + /// Load pre-compiled shader binaries + /// + /// + /// + /// Specifies the number of shader object handles contained in shaders. + /// + /// + /// + /// + /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries. + /// + /// + /// + /// + /// Specifies the format of the shader binaries contained in binary. + /// + /// + /// + /// + /// Specifies the address of an array of bytes containing pre-compiled binary shader code. + /// + /// + /// + /// + /// Specifies the length of the array whose address is given in binary. + /// + /// + [AutoGenerated(Category = "ARB_ES2_compatibility", Version = "4.1", EntryPoint = "glShaderBinary")] + public static + void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* shaders_ptr = shaders) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_ES2_compatibility] + /// Load pre-compiled shader binaries + /// + /// + /// + /// Specifies the number of shader object handles contained in shaders. + /// + /// + /// + /// + /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries. + /// + /// + /// + /// + /// Specifies the format of the shader binaries contained in binary. + /// + /// + /// + /// + /// Specifies the address of an array of bytes containing pre-compiled binary shader code. + /// + /// + /// + /// + /// Specifies the length of the array whose address is given in binary. + /// + /// + [AutoGenerated(Category = "ARB_ES2_compatibility", Version = "4.1", EntryPoint = "glShaderBinary")] + public static + void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* shaders_ptr = shaders) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + binary = (T3)binary_ptr.Target; + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_ES2_compatibility] + /// Load pre-compiled shader binaries + /// + /// + /// + /// Specifies the number of shader object handles contained in shaders. + /// + /// + /// + /// + /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries. + /// + /// + /// + /// + /// Specifies the format of the shader binaries contained in binary. + /// + /// + /// + /// + /// Specifies the address of an array of bytes containing pre-compiled binary shader code. + /// + /// + /// + /// + /// Specifies the length of the array whose address is given in binary. + /// + /// + [AutoGenerated(Category = "ARB_ES2_compatibility", Version = "4.1", EntryPoint = "glShaderBinary")] + public static + void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, IntPtr binary, Int32 length) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* shaders_ptr = &shaders) + { + Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary, (Int32)length); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_ES2_compatibility] + /// Load pre-compiled shader binaries + /// + /// + /// + /// Specifies the number of shader object handles contained in shaders. + /// + /// + /// + /// + /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries. + /// + /// + /// + /// + /// Specifies the format of the shader binaries contained in binary. + /// + /// + /// + /// + /// Specifies the address of an array of bytes containing pre-compiled binary shader code. + /// + /// + /// + /// + /// Specifies the length of the array whose address is given in binary. + /// + /// + [AutoGenerated(Category = "ARB_ES2_compatibility", Version = "4.1", EntryPoint = "glShaderBinary")] + public static + void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* shaders_ptr = &shaders) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_ES2_compatibility] + /// Load pre-compiled shader binaries + /// + /// + /// + /// Specifies the number of shader object handles contained in shaders. + /// + /// + /// + /// + /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries. + /// + /// + /// + /// + /// Specifies the format of the shader binaries contained in binary. + /// + /// + /// + /// + /// Specifies the address of an array of bytes containing pre-compiled binary shader code. + /// + /// + /// + /// + /// Specifies the length of the array whose address is given in binary. + /// + /// + [AutoGenerated(Category = "ARB_ES2_compatibility", Version = "4.1", EntryPoint = "glShaderBinary")] + public static + void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* shaders_ptr = &shaders) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_ES2_compatibility] + /// Load pre-compiled shader binaries + /// + /// + /// + /// Specifies the number of shader object handles contained in shaders. + /// + /// + /// + /// + /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries. + /// + /// + /// + /// + /// Specifies the format of the shader binaries contained in binary. + /// + /// + /// + /// + /// Specifies the address of an array of bytes containing pre-compiled binary shader code. + /// + /// + /// + /// + /// Specifies the length of the array whose address is given in binary. + /// + /// + [AutoGenerated(Category = "ARB_ES2_compatibility", Version = "4.1", EntryPoint = "glShaderBinary")] + public static + void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* shaders_ptr = &shaders) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_ES2_compatibility] + /// Load pre-compiled shader binaries + /// + /// + /// + /// Specifies the number of shader object handles contained in shaders. + /// + /// + /// + /// + /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries. + /// + /// + /// + /// + /// Specifies the format of the shader binaries contained in binary. + /// + /// + /// + /// + /// Specifies the address of an array of bytes containing pre-compiled binary shader code. + /// + /// + /// + /// + /// Specifies the length of the array whose address is given in binary. + /// + /// + [AutoGenerated(Category = "ARB_ES2_compatibility", Version = "4.1", EntryPoint = "glShaderBinary")] + public static + void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* shaders_ptr = &shaders) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + binary = (T3)binary_ptr.Target; + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_ES2_compatibility] + /// Load pre-compiled shader binaries + /// + /// + /// + /// Specifies the number of shader object handles contained in shaders. + /// + /// + /// + /// + /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries. + /// + /// + /// + /// + /// Specifies the format of the shader binaries contained in binary. + /// + /// + /// + /// + /// Specifies the address of an array of bytes containing pre-compiled binary shader code. + /// + /// + /// + /// + /// Specifies the length of the array whose address is given in binary. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_ES2_compatibility", Version = "4.1", EntryPoint = "glShaderBinary")] + public static + unsafe void ShaderBinary(Int32 count, Int32* shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, IntPtr binary, Int32 length) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary, (Int32)length); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_ES2_compatibility] + /// Load pre-compiled shader binaries + /// + /// + /// + /// Specifies the number of shader object handles contained in shaders. + /// + /// + /// + /// + /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries. + /// + /// + /// + /// + /// Specifies the format of the shader binaries contained in binary. + /// + /// + /// + /// + /// Specifies the address of an array of bytes containing pre-compiled binary shader code. + /// + /// + /// + /// + /// Specifies the length of the array whose address is given in binary. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_ES2_compatibility", Version = "4.1", EntryPoint = "glShaderBinary")] + public static + unsafe void ShaderBinary(Int32 count, Int32* shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_ES2_compatibility] + /// Load pre-compiled shader binaries + /// + /// + /// + /// Specifies the number of shader object handles contained in shaders. + /// + /// + /// + /// + /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries. + /// + /// + /// + /// + /// Specifies the format of the shader binaries contained in binary. + /// + /// + /// + /// + /// Specifies the address of an array of bytes containing pre-compiled binary shader code. + /// + /// + /// + /// + /// Specifies the length of the array whose address is given in binary. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_ES2_compatibility", Version = "4.1", EntryPoint = "glShaderBinary")] + public static + unsafe void ShaderBinary(Int32 count, Int32* shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_ES2_compatibility] + /// Load pre-compiled shader binaries + /// + /// + /// + /// Specifies the number of shader object handles contained in shaders. + /// + /// + /// + /// + /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries. + /// + /// + /// + /// + /// Specifies the format of the shader binaries contained in binary. + /// + /// + /// + /// + /// Specifies the address of an array of bytes containing pre-compiled binary shader code. + /// + /// + /// + /// + /// Specifies the length of the array whose address is given in binary. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_ES2_compatibility", Version = "4.1", EntryPoint = "glShaderBinary")] + public static + unsafe void ShaderBinary(Int32 count, Int32* shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_ES2_compatibility] + /// Load pre-compiled shader binaries + /// + /// + /// + /// Specifies the number of shader object handles contained in shaders. + /// + /// + /// + /// + /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries. + /// + /// + /// + /// + /// Specifies the format of the shader binaries contained in binary. + /// + /// + /// + /// + /// Specifies the address of an array of bytes containing pre-compiled binary shader code. + /// + /// + /// + /// + /// Specifies the length of the array whose address is given in binary. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_ES2_compatibility", Version = "4.1", EntryPoint = "glShaderBinary")] + public static + unsafe void ShaderBinary(Int32 count, Int32* shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + binary = (T3)binary_ptr.Target; + } + finally + { + binary_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_ES2_compatibility] + /// Load pre-compiled shader binaries + /// + /// + /// + /// Specifies the number of shader object handles contained in shaders. + /// + /// + /// + /// + /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries. + /// + /// + /// + /// + /// Specifies the format of the shader binaries contained in binary. + /// + /// + /// + /// + /// Specifies the address of an array of bytes containing pre-compiled binary shader code. + /// + /// + /// + /// + /// Specifies the length of the array whose address is given in binary. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_ES2_compatibility", Version = "4.1", EntryPoint = "glShaderBinary")] + public static + void ShaderBinary(Int32 count, UInt32[] shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, IntPtr binary, Int32 length) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* shaders_ptr = shaders) + { + Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary, (Int32)length); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_ES2_compatibility] + /// Load pre-compiled shader binaries + /// + /// + /// + /// Specifies the number of shader object handles contained in shaders. + /// + /// + /// + /// + /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries. + /// + /// + /// + /// + /// Specifies the format of the shader binaries contained in binary. + /// + /// + /// + /// + /// Specifies the address of an array of bytes containing pre-compiled binary shader code. + /// + /// + /// + /// + /// Specifies the length of the array whose address is given in binary. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_ES2_compatibility", Version = "4.1", EntryPoint = "glShaderBinary")] + public static + void ShaderBinary(Int32 count, UInt32[] shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* shaders_ptr = shaders) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_ES2_compatibility] + /// Load pre-compiled shader binaries + /// + /// + /// + /// Specifies the number of shader object handles contained in shaders. + /// + /// + /// + /// + /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries. + /// + /// + /// + /// + /// Specifies the format of the shader binaries contained in binary. + /// + /// + /// + /// + /// Specifies the address of an array of bytes containing pre-compiled binary shader code. + /// + /// + /// + /// + /// Specifies the length of the array whose address is given in binary. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_ES2_compatibility", Version = "4.1", EntryPoint = "glShaderBinary")] + public static + void ShaderBinary(Int32 count, UInt32[] shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* shaders_ptr = shaders) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_ES2_compatibility] + /// Load pre-compiled shader binaries + /// + /// + /// + /// Specifies the number of shader object handles contained in shaders. + /// + /// + /// + /// + /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries. + /// + /// + /// + /// + /// Specifies the format of the shader binaries contained in binary. + /// + /// + /// + /// + /// Specifies the address of an array of bytes containing pre-compiled binary shader code. + /// + /// + /// + /// + /// Specifies the length of the array whose address is given in binary. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_ES2_compatibility", Version = "4.1", EntryPoint = "glShaderBinary")] + public static + void ShaderBinary(Int32 count, UInt32[] shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* shaders_ptr = shaders) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_ES2_compatibility] + /// Load pre-compiled shader binaries + /// + /// + /// + /// Specifies the number of shader object handles contained in shaders. + /// + /// + /// + /// + /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries. + /// + /// + /// + /// + /// Specifies the format of the shader binaries contained in binary. + /// + /// + /// + /// + /// Specifies the address of an array of bytes containing pre-compiled binary shader code. + /// + /// + /// + /// + /// Specifies the length of the array whose address is given in binary. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_ES2_compatibility", Version = "4.1", EntryPoint = "glShaderBinary")] + public static + void ShaderBinary(Int32 count, UInt32[] shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* shaders_ptr = shaders) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + binary = (T3)binary_ptr.Target; + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_ES2_compatibility] + /// Load pre-compiled shader binaries + /// + /// + /// + /// Specifies the number of shader object handles contained in shaders. + /// + /// + /// + /// + /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries. + /// + /// + /// + /// + /// Specifies the format of the shader binaries contained in binary. + /// + /// + /// + /// + /// Specifies the address of an array of bytes containing pre-compiled binary shader code. + /// + /// + /// + /// + /// Specifies the length of the array whose address is given in binary. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_ES2_compatibility", Version = "4.1", EntryPoint = "glShaderBinary")] + public static + void ShaderBinary(Int32 count, ref UInt32 shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, IntPtr binary, Int32 length) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* shaders_ptr = &shaders) + { + Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary, (Int32)length); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_ES2_compatibility] + /// Load pre-compiled shader binaries + /// + /// + /// + /// Specifies the number of shader object handles contained in shaders. + /// + /// + /// + /// + /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries. + /// + /// + /// + /// + /// Specifies the format of the shader binaries contained in binary. + /// + /// + /// + /// + /// Specifies the address of an array of bytes containing pre-compiled binary shader code. + /// + /// + /// + /// + /// Specifies the length of the array whose address is given in binary. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_ES2_compatibility", Version = "4.1", EntryPoint = "glShaderBinary")] + public static + void ShaderBinary(Int32 count, ref UInt32 shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* shaders_ptr = &shaders) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_ES2_compatibility] + /// Load pre-compiled shader binaries + /// + /// + /// + /// Specifies the number of shader object handles contained in shaders. + /// + /// + /// + /// + /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries. + /// + /// + /// + /// + /// Specifies the format of the shader binaries contained in binary. + /// + /// + /// + /// + /// Specifies the address of an array of bytes containing pre-compiled binary shader code. + /// + /// + /// + /// + /// Specifies the length of the array whose address is given in binary. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_ES2_compatibility", Version = "4.1", EntryPoint = "glShaderBinary")] + public static + void ShaderBinary(Int32 count, ref UInt32 shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* shaders_ptr = &shaders) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_ES2_compatibility] + /// Load pre-compiled shader binaries + /// + /// + /// + /// Specifies the number of shader object handles contained in shaders. + /// + /// + /// + /// + /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries. + /// + /// + /// + /// + /// Specifies the format of the shader binaries contained in binary. + /// + /// + /// + /// + /// Specifies the address of an array of bytes containing pre-compiled binary shader code. + /// + /// + /// + /// + /// Specifies the length of the array whose address is given in binary. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_ES2_compatibility", Version = "4.1", EntryPoint = "glShaderBinary")] + public static + void ShaderBinary(Int32 count, ref UInt32 shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* shaders_ptr = &shaders) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_ES2_compatibility] + /// Load pre-compiled shader binaries + /// + /// + /// + /// Specifies the number of shader object handles contained in shaders. + /// + /// + /// + /// + /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries. + /// + /// + /// + /// + /// Specifies the format of the shader binaries contained in binary. + /// + /// + /// + /// + /// Specifies the address of an array of bytes containing pre-compiled binary shader code. + /// + /// + /// + /// + /// Specifies the length of the array whose address is given in binary. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_ES2_compatibility", Version = "4.1", EntryPoint = "glShaderBinary")] + public static + void ShaderBinary(Int32 count, ref UInt32 shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* shaders_ptr = &shaders) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + binary = (T3)binary_ptr.Target; + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_ES2_compatibility] + /// Load pre-compiled shader binaries + /// + /// + /// + /// Specifies the number of shader object handles contained in shaders. + /// + /// + /// + /// + /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries. + /// + /// + /// + /// + /// Specifies the format of the shader binaries contained in binary. + /// + /// + /// + /// + /// Specifies the address of an array of bytes containing pre-compiled binary shader code. + /// + /// + /// + /// + /// Specifies the length of the array whose address is given in binary. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_ES2_compatibility", Version = "4.1", EntryPoint = "glShaderBinary")] + public static + unsafe void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, IntPtr binary, Int32 length) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary, (Int32)length); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_ES2_compatibility] + /// Load pre-compiled shader binaries + /// + /// + /// + /// Specifies the number of shader object handles contained in shaders. + /// + /// + /// + /// + /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries. + /// + /// + /// + /// + /// Specifies the format of the shader binaries contained in binary. + /// + /// + /// + /// + /// Specifies the address of an array of bytes containing pre-compiled binary shader code. + /// + /// + /// + /// + /// Specifies the length of the array whose address is given in binary. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_ES2_compatibility", Version = "4.1", EntryPoint = "glShaderBinary")] + public static + unsafe void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_ES2_compatibility] + /// Load pre-compiled shader binaries + /// + /// + /// + /// Specifies the number of shader object handles contained in shaders. + /// + /// + /// + /// + /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries. + /// + /// + /// + /// + /// Specifies the format of the shader binaries contained in binary. + /// + /// + /// + /// + /// Specifies the address of an array of bytes containing pre-compiled binary shader code. + /// + /// + /// + /// + /// Specifies the length of the array whose address is given in binary. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_ES2_compatibility", Version = "4.1", EntryPoint = "glShaderBinary")] + public static + unsafe void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_ES2_compatibility] + /// Load pre-compiled shader binaries + /// + /// + /// + /// Specifies the number of shader object handles contained in shaders. + /// + /// + /// + /// + /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries. + /// + /// + /// + /// + /// Specifies the format of the shader binaries contained in binary. + /// + /// + /// + /// + /// Specifies the address of an array of bytes containing pre-compiled binary shader code. + /// + /// + /// + /// + /// Specifies the length of the array whose address is given in binary. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_ES2_compatibility", Version = "4.1", EntryPoint = "glShaderBinary")] + public static + unsafe void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_ES2_compatibility] + /// Load pre-compiled shader binaries + /// + /// + /// + /// Specifies the number of shader object handles contained in shaders. + /// + /// + /// + /// + /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries. + /// + /// + /// + /// + /// Specifies the format of the shader binaries contained in binary. + /// + /// + /// + /// + /// Specifies the address of an array of bytes containing pre-compiled binary shader code. + /// + /// + /// + /// + /// Specifies the length of the array whose address is given in binary. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_ES2_compatibility", Version = "4.1", EntryPoint = "glShaderBinary")] + public static + unsafe void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + binary = (T3)binary_ptr.Target; + } + finally + { + binary_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glShaderSource")] + public static + void ShaderSource(Int32 shader, Int32 count, String[] @string, ref Int32 length) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + { + Delegates.glShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glShaderSource")] + public static + unsafe void ShaderSource(Int32 shader, Int32 count, String[] @string, Int32* length) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glShaderSource")] + public static + void ShaderSource(UInt32 shader, Int32 count, String[] @string, ref Int32 length) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + { + Delegates.glShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glShaderSource")] + public static + unsafe void ShaderSource(UInt32 shader, Int32 count, String[] @string, Int32* length) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0] + /// Set front and back function and reference value for stencil testing + /// + /// + /// + /// Specifies the test function. Eight symbolic constants are valid: GL_NEVER, GL_LESS, GL_LEQUAL, GL_GREATER, GL_GEQUAL, GL_EQUAL, GL_NOTEQUAL, and GL_ALWAYS. The initial value is GL_ALWAYS. + /// + /// + /// + /// + /// Specifies the reference value for the stencil test. ref is clamped to the range [0, 2 sup n - 1], where is the number of bitplanes in the stencil buffer. The initial value is 0. + /// + /// + /// + /// + /// Specifies a mask that is ANDed with both the reference value and the stored stencil value when the test is done. The initial value is all 1's. + /// + /// + [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glStencilFunc")] + public static + void StencilFunc(OpenTK.Graphics.OpenGL.StencilFunction func, Int32 @ref, Int32 mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glStencilFunc((OpenTK.Graphics.OpenGL.StencilFunction)func, (Int32)@ref, (UInt32)mask); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0] + /// Set front and back function and reference value for stencil testing + /// + /// + /// + /// Specifies the test function. Eight symbolic constants are valid: GL_NEVER, GL_LESS, GL_LEQUAL, GL_GREATER, GL_GEQUAL, GL_EQUAL, GL_NOTEQUAL, and GL_ALWAYS. The initial value is GL_ALWAYS. + /// + /// + /// + /// + /// Specifies the reference value for the stencil test. ref is clamped to the range [0, 2 sup n - 1], where is the number of bitplanes in the stencil buffer. The initial value is 0. + /// + /// + /// + /// + /// Specifies a mask that is ANDed with both the reference value and the stored stencil value when the test is done. The initial value is all 1's. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glStencilFunc")] + public static + void StencilFunc(OpenTK.Graphics.OpenGL.StencilFunction func, Int32 @ref, UInt32 mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glStencilFunc((OpenTK.Graphics.OpenGL.StencilFunction)func, (Int32)@ref, (UInt32)mask); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glStencilFuncSeparate")] + public static + void StencilFuncSeparate(OpenTK.Graphics.OpenGL.Version20 face, OpenTK.Graphics.OpenGL.StencilFunction func, Int32 @ref, Int32 mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glStencilFuncSeparate((OpenTK.Graphics.OpenGL.Version20)face, (OpenTK.Graphics.OpenGL.StencilFunction)func, (Int32)@ref, (UInt32)mask); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glStencilFuncSeparate")] + public static + void StencilFuncSeparate(OpenTK.Graphics.OpenGL.Version20 face, OpenTK.Graphics.OpenGL.StencilFunction func, Int32 @ref, UInt32 mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glStencilFuncSeparate((OpenTK.Graphics.OpenGL.Version20)face, (OpenTK.Graphics.OpenGL.StencilFunction)func, (Int32)@ref, (UInt32)mask); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0] + /// Control the front and back writing of individual bits in the stencil planes + /// + /// + /// + /// Specifies a bit mask to enable and disable writing of individual bits in the stencil planes. Initially, the mask is all 1's. + /// + /// + [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glStencilMask")] + public static + void StencilMask(Int32 mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glStencilMask((UInt32)mask); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0] + /// Control the front and back writing of individual bits in the stencil planes + /// + /// + /// + /// Specifies a bit mask to enable and disable writing of individual bits in the stencil planes. Initially, the mask is all 1's. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glStencilMask")] + public static + void StencilMask(UInt32 mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glStencilMask((UInt32)mask); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// Control the front and/or back writing of individual bits in the stencil planes + /// + /// + /// + /// Specifies whether the front and/or back stencil writemask is updated. Three symbolic constants are valid: GL_FRONT, GL_BACK, and GL_FRONT_AND_BACK. + /// + /// + /// + /// + /// Specifies a bit mask to enable and disable writing of individual bits in the stencil planes. Initially, the mask is all 1's. + /// + /// + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glStencilMaskSeparate")] + public static + void StencilMaskSeparate(OpenTK.Graphics.OpenGL.StencilFace face, Int32 mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glStencilMaskSeparate((OpenTK.Graphics.OpenGL.StencilFace)face, (UInt32)mask); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// Control the front and/or back writing of individual bits in the stencil planes + /// + /// + /// + /// Specifies whether the front and/or back stencil writemask is updated. Three symbolic constants are valid: GL_FRONT, GL_BACK, and GL_FRONT_AND_BACK. + /// + /// + /// + /// + /// Specifies a bit mask to enable and disable writing of individual bits in the stencil planes. Initially, the mask is all 1's. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glStencilMaskSeparate")] + public static + void StencilMaskSeparate(OpenTK.Graphics.OpenGL.StencilFace face, UInt32 mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glStencilMaskSeparate((OpenTK.Graphics.OpenGL.StencilFace)face, (UInt32)mask); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0] + /// Set front and back stencil test actions + /// + /// + /// + /// Specifies the action to take when the stencil test fails. Eight symbolic constants are accepted: GL_KEEP, GL_ZERO, GL_REPLACE, GL_INCR, GL_INCR_WRAP, GL_DECR, GL_DECR_WRAP, and GL_INVERT. The initial value is GL_KEEP. + /// + /// + /// + /// + /// Specifies the stencil action when the stencil test passes, but the depth test fails. dpfail accepts the same symbolic constants as sfail. The initial value is GL_KEEP. + /// + /// + /// + /// + /// 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 = "VERSION_1_0", Version = "1.0", EntryPoint = "glStencilOp")] + public static + void StencilOp(OpenTK.Graphics.OpenGL.StencilOp fail, OpenTK.Graphics.OpenGL.StencilOp zfail, OpenTK.Graphics.OpenGL.StencilOp zpass) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glStencilOp((OpenTK.Graphics.OpenGL.StencilOp)fail, (OpenTK.Graphics.OpenGL.StencilOp)zfail, (OpenTK.Graphics.OpenGL.StencilOp)zpass); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// Set front and/or back stencil test actions + /// + /// + /// + /// 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 action to take when the stencil test fails. Eight symbolic constants are accepted: GL_KEEP, GL_ZERO, GL_REPLACE, GL_INCR, GL_INCR_WRAP, GL_DECR, GL_DECR_WRAP, and GL_INVERT. The initial value is GL_KEEP. + /// + /// + /// + /// + /// Specifies the stencil action when the stencil test passes, but the depth test fails. dpfail accepts the same symbolic constants as sfail. The initial value is GL_KEEP. + /// + /// + /// + /// + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glStencilOpSeparate")] + public static + void StencilOpSeparate(OpenTK.Graphics.OpenGL.StencilFace face, OpenTK.Graphics.OpenGL.StencilOp sfail, OpenTK.Graphics.OpenGL.StencilOp dpfail, OpenTK.Graphics.OpenGL.StencilOp dppass) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glStencilOpSeparate((OpenTK.Graphics.OpenGL.StencilFace)face, (OpenTK.Graphics.OpenGL.StencilOp)sfail, (OpenTK.Graphics.OpenGL.StencilOp)dpfail, (OpenTK.Graphics.OpenGL.StencilOp)dppass); + #if DEBUG + } + #endif + } + + + /// [requires: v3.1] + /// Attach the storage for a buffer object to the active buffer texture + /// + /// + /// + /// Specifies the target of the operation and must be GL_TEXTURE_BUFFER. + /// + /// + /// + /// + /// Specifies the internal format of the data in the store belonging to buffer. + /// + /// + /// + /// + /// Specifies the name of the buffer object whose storage to attach to the active buffer texture. + /// + /// + [AutoGenerated(Category = "VERSION_3_1", Version = "3.1", EntryPoint = "glTexBuffer")] + public static + void TexBuffer(OpenTK.Graphics.OpenGL.TextureBufferTarget target, OpenTK.Graphics.OpenGL.SizedInternalFormat internalformat, Int32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexBuffer((OpenTK.Graphics.OpenGL.TextureBufferTarget)target, (OpenTK.Graphics.OpenGL.SizedInternalFormat)internalformat, (UInt32)buffer); + #if DEBUG + } + #endif + } + + + /// [requires: v3.1] + /// Attach the storage for a buffer object to the active buffer texture + /// + /// + /// + /// Specifies the target of the operation and must be GL_TEXTURE_BUFFER. + /// + /// + /// + /// + /// Specifies the internal format of the data in the store belonging to buffer. + /// + /// + /// + /// + /// Specifies the name of the buffer object whose storage to attach to the active buffer texture. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_1", Version = "3.1", EntryPoint = "glTexBuffer")] + public static + void TexBuffer(OpenTK.Graphics.OpenGL.TextureBufferTarget target, OpenTK.Graphics.OpenGL.SizedInternalFormat internalformat, UInt32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexBuffer((OpenTK.Graphics.OpenGL.TextureBufferTarget)target, (OpenTK.Graphics.OpenGL.SizedInternalFormat)internalformat, (UInt32)buffer); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glTexCoord1d")] + public static + void TexCoord1(Double s) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord1d((Double)s); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glTexCoord1dv")] + public static + unsafe void TexCoord1(Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord1dv((Double*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glTexCoord1f")] + public static + void TexCoord1(Single s) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord1f((Single)s); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glTexCoord1fv")] + public static + unsafe void TexCoord1(Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord1fv((Single*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glTexCoord1i")] + public static + void TexCoord1(Int32 s) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord1i((Int32)s); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glTexCoord1iv")] + public static + unsafe void TexCoord1(Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord1iv((Int32*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glTexCoord1s")] + public static + void TexCoord1(Int16 s) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord1s((Int16)s); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glTexCoord1sv")] + public static + unsafe void TexCoord1(Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord1sv((Int16*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glTexCoord2d")] + public static + void TexCoord2(Double s, Double t) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord2d((Double)s, (Double)t); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glTexCoord2dv")] + public static + void TexCoord2(Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glTexCoord2dv((Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glTexCoord2dv")] + public static + void TexCoord2(ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glTexCoord2dv((Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glTexCoord2dv")] + public static + unsafe void TexCoord2(Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord2dv((Double*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glTexCoord2f")] + public static + void TexCoord2(Single s, Single t) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord2f((Single)s, (Single)t); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glTexCoord2fv")] + public static + void TexCoord2(Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glTexCoord2fv((Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glTexCoord2fv")] + public static + void TexCoord2(ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glTexCoord2fv((Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glTexCoord2fv")] + public static + unsafe void TexCoord2(Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord2fv((Single*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glTexCoord2i")] + public static + void TexCoord2(Int32 s, Int32 t) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord2i((Int32)s, (Int32)t); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glTexCoord2iv")] + public static + void TexCoord2(Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glTexCoord2iv((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glTexCoord2iv")] + public static + void TexCoord2(ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glTexCoord2iv((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glTexCoord2iv")] + public static + unsafe void TexCoord2(Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord2iv((Int32*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glTexCoord2s")] + public static + void TexCoord2(Int16 s, Int16 t) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord2s((Int16)s, (Int16)t); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glTexCoord2sv")] + public static + void TexCoord2(Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glTexCoord2sv((Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glTexCoord2sv")] + public static + void TexCoord2(ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glTexCoord2sv((Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glTexCoord2sv")] + public static + unsafe void TexCoord2(Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord2sv((Int16*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glTexCoord3d")] + public static + void TexCoord3(Double s, Double t, Double r) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord3d((Double)s, (Double)t, (Double)r); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glTexCoord3dv")] + public static + void TexCoord3(Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glTexCoord3dv((Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glTexCoord3dv")] + public static + void TexCoord3(ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glTexCoord3dv((Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glTexCoord3dv")] + public static + unsafe void TexCoord3(Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord3dv((Double*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glTexCoord3f")] + public static + void TexCoord3(Single s, Single t, Single r) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord3f((Single)s, (Single)t, (Single)r); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glTexCoord3fv")] + public static + void TexCoord3(Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glTexCoord3fv((Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glTexCoord3fv")] + public static + void TexCoord3(ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glTexCoord3fv((Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glTexCoord3fv")] + public static + unsafe void TexCoord3(Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord3fv((Single*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glTexCoord3i")] + public static + void TexCoord3(Int32 s, Int32 t, Int32 r) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord3i((Int32)s, (Int32)t, (Int32)r); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glTexCoord3iv")] + public static + void TexCoord3(Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glTexCoord3iv((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glTexCoord3iv")] + public static + void TexCoord3(ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glTexCoord3iv((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glTexCoord3iv")] + public static + unsafe void TexCoord3(Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord3iv((Int32*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glTexCoord3s")] + public static + void TexCoord3(Int16 s, Int16 t, Int16 r) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord3s((Int16)s, (Int16)t, (Int16)r); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glTexCoord3sv")] + public static + void TexCoord3(Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glTexCoord3sv((Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glTexCoord3sv")] + public static + void TexCoord3(ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glTexCoord3sv((Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glTexCoord3sv")] + public static + unsafe void TexCoord3(Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord3sv((Int16*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glTexCoord4d")] + public static + void TexCoord4(Double s, Double t, Double r, Double q) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord4d((Double)s, (Double)t, (Double)r, (Double)q); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glTexCoord4dv")] + public static + void TexCoord4(Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glTexCoord4dv((Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glTexCoord4dv")] + public static + void TexCoord4(ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glTexCoord4dv((Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glTexCoord4dv")] + public static + unsafe void TexCoord4(Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord4dv((Double*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glTexCoord4f")] + public static + void TexCoord4(Single s, Single t, Single r, Single q) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord4f((Single)s, (Single)t, (Single)r, (Single)q); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glTexCoord4fv")] + public static + void TexCoord4(Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glTexCoord4fv((Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glTexCoord4fv")] + public static + void TexCoord4(ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glTexCoord4fv((Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glTexCoord4fv")] + public static + unsafe void TexCoord4(Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord4fv((Single*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glTexCoord4i")] + public static + void TexCoord4(Int32 s, Int32 t, Int32 r, Int32 q) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord4i((Int32)s, (Int32)t, (Int32)r, (Int32)q); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glTexCoord4iv")] + public static + void TexCoord4(Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glTexCoord4iv((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glTexCoord4iv")] + public static + void TexCoord4(ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glTexCoord4iv((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glTexCoord4iv")] + public static + unsafe void TexCoord4(Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord4iv((Int32*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glTexCoord4s")] + public static + void TexCoord4(Int16 s, Int16 t, Int16 r, Int16 q) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord4s((Int16)s, (Int16)t, (Int16)r, (Int16)q); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glTexCoord4sv")] + public static + void TexCoord4(Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glTexCoord4sv((Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glTexCoord4sv")] + public static + void TexCoord4(ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glTexCoord4sv((Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glTexCoord4sv")] + public static + unsafe void TexCoord4(Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord4sv((Int16*)v); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glTexCoordP1ui")] + public static + void TexCoordP1(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32 coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoordP1ui((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)coords); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glTexCoordP1ui")] + public static + void TexCoordP1(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoordP1ui((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)coords); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glTexCoordP1uiv")] + public static + unsafe void TexCoordP1(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32* coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoordP1uiv((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)coords); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glTexCoordP1uiv")] + public static + unsafe void TexCoordP1(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoordP1uiv((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)coords); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glTexCoordP2ui")] + public static + void TexCoordP2(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32 coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoordP2ui((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)coords); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glTexCoordP2ui")] + public static + void TexCoordP2(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoordP2ui((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)coords); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glTexCoordP2uiv")] + public static + unsafe void TexCoordP2(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32* coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoordP2uiv((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)coords); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glTexCoordP2uiv")] + public static + unsafe void TexCoordP2(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoordP2uiv((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)coords); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glTexCoordP3ui")] + public static + void TexCoordP3(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32 coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoordP3ui((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)coords); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glTexCoordP3ui")] + public static + void TexCoordP3(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoordP3ui((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)coords); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glTexCoordP3uiv")] + public static + unsafe void TexCoordP3(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32* coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoordP3uiv((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)coords); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glTexCoordP3uiv")] + public static + unsafe void TexCoordP3(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoordP3uiv((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)coords); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glTexCoordP4ui")] + public static + void TexCoordP4(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32 coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoordP4ui((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)coords); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glTexCoordP4ui")] + public static + void TexCoordP4(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoordP4ui((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)coords); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glTexCoordP4uiv")] + public static + unsafe void TexCoordP4(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32* coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoordP4uiv((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)coords); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glTexCoordP4uiv")] + public static + unsafe void TexCoordP4(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoordP4uiv((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)coords); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1][deprecated: v3.1] + /// Define an array of texture coordinates + /// + /// + /// + /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "VERSION_1_1_DEPRECATED", Version = "1.1", EntryPoint = "glTexCoordPointer")] + public static + void TexCoordPointer(Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoordPointer((Int32)size, (OpenTK.Graphics.OpenGL.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1][deprecated: v3.1] + /// Define an array of texture coordinates + /// + /// + /// + /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "VERSION_1_1_DEPRECATED", Version = "1.1", EntryPoint = "glTexCoordPointer")] + public static + void TexCoordPointer(Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[] pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glTexCoordPointer((Int32)size, (OpenTK.Graphics.OpenGL.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1][deprecated: v3.1] + /// Define an array of texture coordinates + /// + /// + /// + /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "VERSION_1_1_DEPRECATED", Version = "1.1", EntryPoint = "glTexCoordPointer")] + public static + void TexCoordPointer(Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[,] pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glTexCoordPointer((Int32)size, (OpenTK.Graphics.OpenGL.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1][deprecated: v3.1] + /// Define an array of texture coordinates + /// + /// + /// + /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "VERSION_1_1_DEPRECATED", Version = "1.1", EntryPoint = "glTexCoordPointer")] + public static + void TexCoordPointer(Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[,,] pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glTexCoordPointer((Int32)size, (OpenTK.Graphics.OpenGL.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1][deprecated: v3.1] + /// Define an array of texture coordinates + /// + /// + /// + /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "VERSION_1_1_DEPRECATED", Version = "1.1", EntryPoint = "glTexCoordPointer")] + public static + void TexCoordPointer(Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, [InAttribute, OutAttribute] ref T3 pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glTexCoordPointer((Int32)size, (OpenTK.Graphics.OpenGL.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + pointer = (T3)pointer_ptr.Target; + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set texture environment parameters + /// + /// + /// + /// Specifies a texture environment. May be GL_TEXTURE_ENV, GL_TEXTURE_FILTER_CONTROL or GL_POINT_SPRITE. + /// + /// + /// + /// + /// Specifies the symbolic name of a single-valued texture environment parameter. May be either GL_TEXTURE_ENV_MODE, GL_TEXTURE_LOD_BIAS, GL_COMBINE_RGB, GL_COMBINE_ALPHA, GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, GL_SRC0_ALPHA, GL_SRC1_ALPHA, GL_SRC2_ALPHA, GL_OPERAND0_RGB, GL_OPERAND1_RGB, GL_OPERAND2_RGB, GL_OPERAND0_ALPHA, GL_OPERAND1_ALPHA, GL_OPERAND2_ALPHA, GL_RGB_SCALE, GL_ALPHA_SCALE, or GL_COORD_REPLACE. + /// + /// + /// + /// + /// Specifies a single symbolic constant, one of GL_ADD, GL_ADD_SIGNED, GL_INTERPOLATE, GL_MODULATE, GL_DECAL, GL_BLEND, GL_REPLACE, GL_SUBTRACT, GL_COMBINE, GL_TEXTURE, GL_CONSTANT, GL_PRIMARY_COLOR, GL_PREVIOUS, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, a single boolean value for the point sprite texture coordinate replacement, a single floating-point value for the texture level-of-detail bias, or 1.0, 2.0, or 4.0 when specifying the GL_RGB_SCALE or GL_ALPHA_SCALE. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glTexEnvf")] + public static + void TexEnv(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Single param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexEnvf((OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (Single)param); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set texture environment parameters + /// + /// + /// + /// Specifies a texture environment. May be GL_TEXTURE_ENV, GL_TEXTURE_FILTER_CONTROL or GL_POINT_SPRITE. + /// + /// + /// + /// + /// Specifies the symbolic name of a single-valued texture environment parameter. May be either GL_TEXTURE_ENV_MODE, GL_TEXTURE_LOD_BIAS, GL_COMBINE_RGB, GL_COMBINE_ALPHA, GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, GL_SRC0_ALPHA, GL_SRC1_ALPHA, GL_SRC2_ALPHA, GL_OPERAND0_RGB, GL_OPERAND1_RGB, GL_OPERAND2_RGB, GL_OPERAND0_ALPHA, GL_OPERAND1_ALPHA, GL_OPERAND2_ALPHA, GL_RGB_SCALE, GL_ALPHA_SCALE, or GL_COORD_REPLACE. + /// + /// + /// + /// + /// Specifies a single symbolic constant, one of GL_ADD, GL_ADD_SIGNED, GL_INTERPOLATE, GL_MODULATE, GL_DECAL, GL_BLEND, GL_REPLACE, GL_SUBTRACT, GL_COMBINE, GL_TEXTURE, GL_CONSTANT, GL_PRIMARY_COLOR, GL_PREVIOUS, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, a single boolean value for the point sprite texture coordinate replacement, a single floating-point value for the texture level-of-detail bias, or 1.0, 2.0, or 4.0 when specifying the GL_RGB_SCALE or GL_ALPHA_SCALE. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glTexEnvfv")] + public static + void TexEnv(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glTexEnvfv((OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set texture environment parameters + /// + /// + /// + /// Specifies a texture environment. May be GL_TEXTURE_ENV, GL_TEXTURE_FILTER_CONTROL or GL_POINT_SPRITE. + /// + /// + /// + /// + /// Specifies the symbolic name of a single-valued texture environment parameter. May be either GL_TEXTURE_ENV_MODE, GL_TEXTURE_LOD_BIAS, GL_COMBINE_RGB, GL_COMBINE_ALPHA, GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, GL_SRC0_ALPHA, GL_SRC1_ALPHA, GL_SRC2_ALPHA, GL_OPERAND0_RGB, GL_OPERAND1_RGB, GL_OPERAND2_RGB, GL_OPERAND0_ALPHA, GL_OPERAND1_ALPHA, GL_OPERAND2_ALPHA, GL_RGB_SCALE, GL_ALPHA_SCALE, or GL_COORD_REPLACE. + /// + /// + /// + /// + /// Specifies a single symbolic constant, one of GL_ADD, GL_ADD_SIGNED, GL_INTERPOLATE, GL_MODULATE, GL_DECAL, GL_BLEND, GL_REPLACE, GL_SUBTRACT, GL_COMBINE, GL_TEXTURE, GL_CONSTANT, GL_PRIMARY_COLOR, GL_PREVIOUS, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, a single boolean value for the point sprite texture coordinate replacement, a single floating-point value for the texture level-of-detail bias, or 1.0, 2.0, or 4.0 when specifying the GL_RGB_SCALE or GL_ALPHA_SCALE. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glTexEnvfv")] + public static + unsafe void TexEnv(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexEnvfv((OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set texture environment parameters + /// + /// + /// + /// Specifies a texture environment. May be GL_TEXTURE_ENV, GL_TEXTURE_FILTER_CONTROL or GL_POINT_SPRITE. + /// + /// + /// + /// + /// Specifies the symbolic name of a single-valued texture environment parameter. May be either GL_TEXTURE_ENV_MODE, GL_TEXTURE_LOD_BIAS, GL_COMBINE_RGB, GL_COMBINE_ALPHA, GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, GL_SRC0_ALPHA, GL_SRC1_ALPHA, GL_SRC2_ALPHA, GL_OPERAND0_RGB, GL_OPERAND1_RGB, GL_OPERAND2_RGB, GL_OPERAND0_ALPHA, GL_OPERAND1_ALPHA, GL_OPERAND2_ALPHA, GL_RGB_SCALE, GL_ALPHA_SCALE, or GL_COORD_REPLACE. + /// + /// + /// + /// + /// Specifies a single symbolic constant, one of GL_ADD, GL_ADD_SIGNED, GL_INTERPOLATE, GL_MODULATE, GL_DECAL, GL_BLEND, GL_REPLACE, GL_SUBTRACT, GL_COMBINE, GL_TEXTURE, GL_CONSTANT, GL_PRIMARY_COLOR, GL_PREVIOUS, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, a single boolean value for the point sprite texture coordinate replacement, a single floating-point value for the texture level-of-detail bias, or 1.0, 2.0, or 4.0 when specifying the GL_RGB_SCALE or GL_ALPHA_SCALE. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glTexEnvi")] + public static + void TexEnv(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Int32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexEnvi((OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (Int32)param); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set texture environment parameters + /// + /// + /// + /// Specifies a texture environment. May be GL_TEXTURE_ENV, GL_TEXTURE_FILTER_CONTROL or GL_POINT_SPRITE. + /// + /// + /// + /// + /// Specifies the symbolic name of a single-valued texture environment parameter. May be either GL_TEXTURE_ENV_MODE, GL_TEXTURE_LOD_BIAS, GL_COMBINE_RGB, GL_COMBINE_ALPHA, GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, GL_SRC0_ALPHA, GL_SRC1_ALPHA, GL_SRC2_ALPHA, GL_OPERAND0_RGB, GL_OPERAND1_RGB, GL_OPERAND2_RGB, GL_OPERAND0_ALPHA, GL_OPERAND1_ALPHA, GL_OPERAND2_ALPHA, GL_RGB_SCALE, GL_ALPHA_SCALE, or GL_COORD_REPLACE. + /// + /// + /// + /// + /// Specifies a single symbolic constant, one of GL_ADD, GL_ADD_SIGNED, GL_INTERPOLATE, GL_MODULATE, GL_DECAL, GL_BLEND, GL_REPLACE, GL_SUBTRACT, GL_COMBINE, GL_TEXTURE, GL_CONSTANT, GL_PRIMARY_COLOR, GL_PREVIOUS, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, a single boolean value for the point sprite texture coordinate replacement, a single floating-point value for the texture level-of-detail bias, or 1.0, 2.0, or 4.0 when specifying the GL_RGB_SCALE or GL_ALPHA_SCALE. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glTexEnviv")] + public static + void TexEnv(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glTexEnviv((OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Set texture environment parameters + /// + /// + /// + /// Specifies a texture environment. May be GL_TEXTURE_ENV, GL_TEXTURE_FILTER_CONTROL or GL_POINT_SPRITE. + /// + /// + /// + /// + /// Specifies the symbolic name of a single-valued texture environment parameter. May be either GL_TEXTURE_ENV_MODE, GL_TEXTURE_LOD_BIAS, GL_COMBINE_RGB, GL_COMBINE_ALPHA, GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, GL_SRC0_ALPHA, GL_SRC1_ALPHA, GL_SRC2_ALPHA, GL_OPERAND0_RGB, GL_OPERAND1_RGB, GL_OPERAND2_RGB, GL_OPERAND0_ALPHA, GL_OPERAND1_ALPHA, GL_OPERAND2_ALPHA, GL_RGB_SCALE, GL_ALPHA_SCALE, or GL_COORD_REPLACE. + /// + /// + /// + /// + /// Specifies a single symbolic constant, one of GL_ADD, GL_ADD_SIGNED, GL_INTERPOLATE, GL_MODULATE, GL_DECAL, GL_BLEND, GL_REPLACE, GL_SUBTRACT, GL_COMBINE, GL_TEXTURE, GL_CONSTANT, GL_PRIMARY_COLOR, GL_PREVIOUS, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, a single boolean value for the point sprite texture coordinate replacement, a single floating-point value for the texture level-of-detail bias, or 1.0, 2.0, or 4.0 when specifying the GL_RGB_SCALE or GL_ALPHA_SCALE. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glTexEnviv")] + public static + unsafe void TexEnv(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexEnviv((OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: v1.0][deprecated: v3.1] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glTexGend")] + public static + void TexGend(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Double param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexGend((OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Double)param); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Control the generation of texture coordinates + /// + /// + /// + /// Specifies a texture coordinate. Must be one of GL_S, GL_T, GL_R, or GL_Q. + /// + /// + /// + /// + /// Specifies the symbolic name of the texture-coordinate generation function. Must be GL_TEXTURE_GEN_MODE. + /// + /// + /// + /// + /// Specifies a single-valued texture generation parameter, one of GL_OBJECT_LINEAR, GL_EYE_LINEAR, GL_SPHERE_MAP, GL_NORMAL_MAP, or GL_REFLECTION_MAP. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glTexGendv")] + public static + void TexGen(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Double[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = @params) + { + Delegates.glTexGendv((OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Control the generation of texture coordinates + /// + /// + /// + /// Specifies a texture coordinate. Must be one of GL_S, GL_T, GL_R, or GL_Q. + /// + /// + /// + /// + /// Specifies the symbolic name of the texture-coordinate generation function. Must be GL_TEXTURE_GEN_MODE. + /// + /// + /// + /// + /// Specifies a single-valued texture generation parameter, one of GL_OBJECT_LINEAR, GL_EYE_LINEAR, GL_SPHERE_MAP, GL_NORMAL_MAP, or GL_REFLECTION_MAP. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glTexGendv")] + public static + void TexGen(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, ref Double @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = &@params) + { + Delegates.glTexGendv((OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Control the generation of texture coordinates + /// + /// + /// + /// Specifies a texture coordinate. Must be one of GL_S, GL_T, GL_R, or GL_Q. + /// + /// + /// + /// + /// Specifies the symbolic name of the texture-coordinate generation function. Must be GL_TEXTURE_GEN_MODE. + /// + /// + /// + /// + /// Specifies a single-valued texture generation parameter, one of GL_OBJECT_LINEAR, GL_EYE_LINEAR, GL_SPHERE_MAP, GL_NORMAL_MAP, or GL_REFLECTION_MAP. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glTexGendv")] + public static + unsafe void TexGen(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexGendv((OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Double*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Control the generation of texture coordinates + /// + /// + /// + /// Specifies a texture coordinate. Must be one of GL_S, GL_T, GL_R, or GL_Q. + /// + /// + /// + /// + /// Specifies the symbolic name of the texture-coordinate generation function. Must be GL_TEXTURE_GEN_MODE. + /// + /// + /// + /// + /// Specifies a single-valued texture generation parameter, one of GL_OBJECT_LINEAR, GL_EYE_LINEAR, GL_SPHERE_MAP, GL_NORMAL_MAP, or GL_REFLECTION_MAP. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glTexGenf")] + public static + void TexGen(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Single param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexGenf((OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Single)param); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Control the generation of texture coordinates + /// + /// + /// + /// Specifies a texture coordinate. Must be one of GL_S, GL_T, GL_R, or GL_Q. + /// + /// + /// + /// + /// Specifies the symbolic name of the texture-coordinate generation function. Must be GL_TEXTURE_GEN_MODE. + /// + /// + /// + /// + /// Specifies a single-valued texture generation parameter, one of GL_OBJECT_LINEAR, GL_EYE_LINEAR, GL_SPHERE_MAP, GL_NORMAL_MAP, or GL_REFLECTION_MAP. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glTexGenfv")] + public static + void TexGen(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glTexGenfv((OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Control the generation of texture coordinates + /// + /// + /// + /// Specifies a texture coordinate. Must be one of GL_S, GL_T, GL_R, or GL_Q. + /// + /// + /// + /// + /// Specifies the symbolic name of the texture-coordinate generation function. Must be GL_TEXTURE_GEN_MODE. + /// + /// + /// + /// + /// Specifies a single-valued texture generation parameter, one of GL_OBJECT_LINEAR, GL_EYE_LINEAR, GL_SPHERE_MAP, GL_NORMAL_MAP, or GL_REFLECTION_MAP. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glTexGenfv")] + public static + unsafe void TexGen(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexGenfv((OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Control the generation of texture coordinates + /// + /// + /// + /// Specifies a texture coordinate. Must be one of GL_S, GL_T, GL_R, or GL_Q. + /// + /// + /// + /// + /// Specifies the symbolic name of the texture-coordinate generation function. Must be GL_TEXTURE_GEN_MODE. + /// + /// + /// + /// + /// Specifies a single-valued texture generation parameter, one of GL_OBJECT_LINEAR, GL_EYE_LINEAR, GL_SPHERE_MAP, GL_NORMAL_MAP, or GL_REFLECTION_MAP. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glTexGeni")] + public static + void TexGen(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Int32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexGeni((OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Int32)param); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Control the generation of texture coordinates + /// + /// + /// + /// Specifies a texture coordinate. Must be one of GL_S, GL_T, GL_R, or GL_Q. + /// + /// + /// + /// + /// Specifies the symbolic name of the texture-coordinate generation function. Must be GL_TEXTURE_GEN_MODE. + /// + /// + /// + /// + /// Specifies a single-valued texture generation parameter, one of GL_OBJECT_LINEAR, GL_EYE_LINEAR, GL_SPHERE_MAP, GL_NORMAL_MAP, or GL_REFLECTION_MAP. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glTexGeniv")] + public static + void TexGen(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glTexGeniv((OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Control the generation of texture coordinates + /// + /// + /// + /// Specifies a texture coordinate. Must be one of GL_S, GL_T, GL_R, or GL_Q. + /// + /// + /// + /// + /// Specifies the symbolic name of the texture-coordinate generation function. Must be GL_TEXTURE_GEN_MODE. + /// + /// + /// + /// + /// Specifies a single-valued texture generation parameter, one of GL_OBJECT_LINEAR, GL_EYE_LINEAR, GL_SPHERE_MAP, GL_NORMAL_MAP, or GL_REFLECTION_MAP. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glTexGeniv")] + public static + unsafe void TexGen(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexGeniv((OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0] + /// Specify a one-dimensional texture image + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the number of color components in the texture. Must be one of the following symbolic constants: GL_COMPRESSED_RED, GL_COMPRESSED_RG, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_COMPRESSED_SRGB, GL_COMPRESSED_SRGB_ALPHA, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_R3_G3_B2, GL_RED, GL_RG, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. + /// + /// + /// + /// + /// Specifies the width of the texture image. All implementations support texture images that are at least 1024 texels wide. The height of the 1D texture image is 1. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexImage1D")] + public static + void TexImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexImage1D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0] + /// Specify a one-dimensional texture image + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the number of color components in the texture. Must be one of the following symbolic constants: GL_COMPRESSED_RED, GL_COMPRESSED_RG, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_COMPRESSED_SRGB, GL_COMPRESSED_SRGB_ALPHA, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_R3_G3_B2, GL_RED, GL_RG, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. + /// + /// + /// + /// + /// Specifies the width of the texture image. All implementations support texture images that are at least 1024 texels wide. The height of the 1D texture image is 1. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexImage1D")] + public static + void TexImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T7[] pixels) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexImage1D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0] + /// Specify a one-dimensional texture image + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the number of color components in the texture. Must be one of the following symbolic constants: GL_COMPRESSED_RED, GL_COMPRESSED_RG, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_COMPRESSED_SRGB, GL_COMPRESSED_SRGB_ALPHA, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_R3_G3_B2, GL_RED, GL_RG, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. + /// + /// + /// + /// + /// Specifies the width of the texture image. All implementations support texture images that are at least 1024 texels wide. The height of the 1D texture image is 1. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexImage1D")] + public static + void TexImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T7[,] pixels) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexImage1D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0] + /// Specify a one-dimensional texture image + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the number of color components in the texture. Must be one of the following symbolic constants: GL_COMPRESSED_RED, GL_COMPRESSED_RG, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_COMPRESSED_SRGB, GL_COMPRESSED_SRGB_ALPHA, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_R3_G3_B2, GL_RED, GL_RG, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. + /// + /// + /// + /// + /// Specifies the width of the texture image. All implementations support texture images that are at least 1024 texels wide. The height of the 1D texture image is 1. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexImage1D")] + public static + void TexImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T7[,,] pixels) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexImage1D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0] + /// Specify a one-dimensional texture image + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the number of color components in the texture. Must be one of the following symbolic constants: GL_COMPRESSED_RED, GL_COMPRESSED_RG, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_COMPRESSED_SRGB, GL_COMPRESSED_SRGB_ALPHA, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_R3_G3_B2, GL_RED, GL_RG, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. + /// + /// + /// + /// + /// Specifies the width of the texture image. All implementations support texture images that are at least 1024 texels wide. The height of the 1D texture image is 1. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexImage1D")] + public static + void TexImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T7 pixels) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexImage1D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + pixels = (T7)pixels_ptr.Target; + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0] + /// Specify a two-dimensional texture image + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, GL_TEXTURE_RECTANGLE, GL_PROXY_TEXTURE_RECTANGLE, 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. If target is GL_TEXTURE_RECTANGLE or GL_PROXY_TEXTURE_RECTANGLE, level must be 0. + /// + /// + /// + /// + /// Specifies the number of color components in the texture. Must be one of the following symbolic constants: GL_COMPRESSED_RED, GL_COMPRESSED_RG, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_COMPRESSED_SRGB, GL_COMPRESSED_SRGB_ALPHA, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_R3_G3_B2, GL_RED, GL_RG, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. + /// + /// + /// + /// + /// Specifies the width of the texture image. All implementations support texture images that are at least 1024 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image, or the number of layers in a texture array, in the case of the GL_TEXTURE_1D_ARRAY and GL_PROXY_TEXTURE_1D_ARRAY targets. All implementations support 2D texture images that are at least 1024 texels high, and texture arrays that are at least 256 layers deep. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexImage2D")] + public static + void TexImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexImage2D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0] + /// Specify a two-dimensional texture image + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, GL_TEXTURE_RECTANGLE, GL_PROXY_TEXTURE_RECTANGLE, 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. If target is GL_TEXTURE_RECTANGLE or GL_PROXY_TEXTURE_RECTANGLE, level must be 0. + /// + /// + /// + /// + /// Specifies the number of color components in the texture. Must be one of the following symbolic constants: GL_COMPRESSED_RED, GL_COMPRESSED_RG, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_COMPRESSED_SRGB, GL_COMPRESSED_SRGB_ALPHA, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_R3_G3_B2, GL_RED, GL_RG, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. + /// + /// + /// + /// + /// Specifies the width of the texture image. All implementations support texture images that are at least 1024 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image, or the number of layers in a texture array, in the case of the GL_TEXTURE_1D_ARRAY and GL_PROXY_TEXTURE_1D_ARRAY targets. All implementations support 2D texture images that are at least 1024 texels high, and texture arrays that are at least 256 layers deep. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexImage2D")] + public static + void TexImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T8[] pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexImage2D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0] + /// Specify a two-dimensional texture image + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, GL_TEXTURE_RECTANGLE, GL_PROXY_TEXTURE_RECTANGLE, 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. If target is GL_TEXTURE_RECTANGLE or GL_PROXY_TEXTURE_RECTANGLE, level must be 0. + /// + /// + /// + /// + /// Specifies the number of color components in the texture. Must be one of the following symbolic constants: GL_COMPRESSED_RED, GL_COMPRESSED_RG, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_COMPRESSED_SRGB, GL_COMPRESSED_SRGB_ALPHA, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_R3_G3_B2, GL_RED, GL_RG, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. + /// + /// + /// + /// + /// Specifies the width of the texture image. All implementations support texture images that are at least 1024 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image, or the number of layers in a texture array, in the case of the GL_TEXTURE_1D_ARRAY and GL_PROXY_TEXTURE_1D_ARRAY targets. All implementations support 2D texture images that are at least 1024 texels high, and texture arrays that are at least 256 layers deep. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexImage2D")] + public static + void TexImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T8[,] pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexImage2D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0] + /// Specify a two-dimensional texture image + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, GL_TEXTURE_RECTANGLE, GL_PROXY_TEXTURE_RECTANGLE, 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. If target is GL_TEXTURE_RECTANGLE or GL_PROXY_TEXTURE_RECTANGLE, level must be 0. + /// + /// + /// + /// + /// Specifies the number of color components in the texture. Must be one of the following symbolic constants: GL_COMPRESSED_RED, GL_COMPRESSED_RG, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_COMPRESSED_SRGB, GL_COMPRESSED_SRGB_ALPHA, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_R3_G3_B2, GL_RED, GL_RG, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. + /// + /// + /// + /// + /// Specifies the width of the texture image. All implementations support texture images that are at least 1024 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image, or the number of layers in a texture array, in the case of the GL_TEXTURE_1D_ARRAY and GL_PROXY_TEXTURE_1D_ARRAY targets. All implementations support 2D texture images that are at least 1024 texels high, and texture arrays that are at least 256 layers deep. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexImage2D")] + public static + void TexImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T8[,,] pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexImage2D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0] + /// Specify a two-dimensional texture image + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, GL_TEXTURE_RECTANGLE, GL_PROXY_TEXTURE_RECTANGLE, 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. If target is GL_TEXTURE_RECTANGLE or GL_PROXY_TEXTURE_RECTANGLE, level must be 0. + /// + /// + /// + /// + /// Specifies the number of color components in the texture. Must be one of the following symbolic constants: GL_COMPRESSED_RED, GL_COMPRESSED_RG, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_COMPRESSED_SRGB, GL_COMPRESSED_SRGB_ALPHA, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_R3_G3_B2, GL_RED, GL_RG, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. + /// + /// + /// + /// + /// Specifies the width of the texture image. All implementations support texture images that are at least 1024 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image, or the number of layers in a texture array, in the case of the GL_TEXTURE_1D_ARRAY and GL_PROXY_TEXTURE_1D_ARRAY targets. All implementations support 2D texture images that are at least 1024 texels high, and texture arrays that are at least 256 layers deep. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexImage2D")] + public static + void TexImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T8 pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexImage2D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + pixels = (T8)pixels_ptr.Target; + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_texture_multisample] + /// Establish the data storage, format, dimensions, and number of samples of a multisample texture's image + /// + /// + /// + /// Specifies the target of the operation. target must be GL_TEXTURE_2D_MULTISAMPLE or GL_PROXY_TEXTURE_2D_MULTISAMPLE. + /// + /// + /// + /// + /// The number of samples in the multisample texture's image. + /// + /// + /// + /// + /// The internal format to be used to store the multisample texture's image. internalformat must specify a color-renderable, depth-renderable, or stencil-renderable format. + /// + /// + /// + /// + /// The width of the multisample texture's image, in texels. + /// + /// + /// + /// + /// The height of the multisample texture's image, in texels. + /// + /// + /// + /// + /// Specifies whether the image will use identical sample locations and the same number of samples for all texels in the image, and the sample locations will not depend on the internal format or size of the image. + /// + /// + [AutoGenerated(Category = "ARB_texture_multisample", Version = "1.2", EntryPoint = "glTexImage2DMultisample")] + public static + void TexImage2DMultisample(OpenTK.Graphics.OpenGL.TextureTargetMultisample target, Int32 samples, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, bool fixedsamplelocations) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexImage2DMultisample((OpenTK.Graphics.OpenGL.TextureTargetMultisample)target, (Int32)samples, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (bool)fixedsamplelocations); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Specify a three-dimensional texture image + /// + /// + /// + /// Specifies the target texture. Must be one of GL_TEXTURE_3D, GL_PROXY_TEXTURE_3D, GL_TEXTURE_2D_ARRAY or GL_PROXY_TEXTURE_2D_ARRAY. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level is the n sup th mipmap reduction image. + /// + /// + /// + /// + /// Specifies the number of color components in the texture. Must be one of the following symbolic constants: GL_RGBA32F, GL_RGBA32I, GL_RGBA32UI, GL_RGBA16, GL_RGBA16F, GL_RGBA16I, GL_RGBA16UI, GL_RGBA8, GL_RGBA8UI, GL_SRGB8_ALPHA8, GL_RGB10_A2, GL_RGBA10_A2UI, GL_R11_G11_B10F, GL_RG32F, GL_RG32I, GL_RG32UI, GL_RG16, GL_RG16F, GL_RGB16I, GL_RGB16UI, GL_RG8, GL_RG8I, GL_RG8UI, GL_R23F, GL_R32I, GL_R32UI, GL_R16F, GL_R16I, GL_R16UI, GL_R8, GL_R8I, GL_R8UI, GL_RGBA16_UNORM, GL_RGBA8_SNORM, GL_RGB32F, GL_RGB32I, GL_RGB32UI, GL_RGB16_SNORM, GL_RGB16F, GL_RGB16I, GL_RGB16UI, GL_RGB16, GL_RGB8_SNORM, GL_RGB8, GL_RGB8I, GL_RGB8UI, GL_SRGB8, GL_RGB9_E5, GL_RG16_SNORM, GL_RG8_SNORM, GL_COMPRESSED_RG_RGTC2, GL_COMPRESSED_SIGNED_RG_RGTC2, GL_R16_SNORM, GL_R8_SNORM, GL_COMPRESSED_RED_RGTC1, GL_COMPRESSED_SIGNED_RED_RGTC1, GL_DEPTH_COMPONENT32F, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT16, GL_DEPTH32F_STENCIL8, GL_DEPTH24_STENCIL8. + /// + /// + /// + /// + /// Specifies the width of the texture image. All implementations support 3D texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image. All implementations support 3D texture images that are at least 256 texels high. + /// + /// + /// + /// + /// Specifies the depth of the texture image, or the number of layers in a texture array. All implementations support 3D texture images that are at least 256 texels deep, and texture arrays that are at least 256 layers deep. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glTexImage3D")] + public static + void TexImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexImage3D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Specify a three-dimensional texture image + /// + /// + /// + /// Specifies the target texture. Must be one of GL_TEXTURE_3D, GL_PROXY_TEXTURE_3D, GL_TEXTURE_2D_ARRAY or GL_PROXY_TEXTURE_2D_ARRAY. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level is the n sup th mipmap reduction image. + /// + /// + /// + /// + /// Specifies the number of color components in the texture. Must be one of the following symbolic constants: GL_RGBA32F, GL_RGBA32I, GL_RGBA32UI, GL_RGBA16, GL_RGBA16F, GL_RGBA16I, GL_RGBA16UI, GL_RGBA8, GL_RGBA8UI, GL_SRGB8_ALPHA8, GL_RGB10_A2, GL_RGBA10_A2UI, GL_R11_G11_B10F, GL_RG32F, GL_RG32I, GL_RG32UI, GL_RG16, GL_RG16F, GL_RGB16I, GL_RGB16UI, GL_RG8, GL_RG8I, GL_RG8UI, GL_R23F, GL_R32I, GL_R32UI, GL_R16F, GL_R16I, GL_R16UI, GL_R8, GL_R8I, GL_R8UI, GL_RGBA16_UNORM, GL_RGBA8_SNORM, GL_RGB32F, GL_RGB32I, GL_RGB32UI, GL_RGB16_SNORM, GL_RGB16F, GL_RGB16I, GL_RGB16UI, GL_RGB16, GL_RGB8_SNORM, GL_RGB8, GL_RGB8I, GL_RGB8UI, GL_SRGB8, GL_RGB9_E5, GL_RG16_SNORM, GL_RG8_SNORM, GL_COMPRESSED_RG_RGTC2, GL_COMPRESSED_SIGNED_RG_RGTC2, GL_R16_SNORM, GL_R8_SNORM, GL_COMPRESSED_RED_RGTC1, GL_COMPRESSED_SIGNED_RED_RGTC1, GL_DEPTH_COMPONENT32F, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT16, GL_DEPTH32F_STENCIL8, GL_DEPTH24_STENCIL8. + /// + /// + /// + /// + /// Specifies the width of the texture image. All implementations support 3D texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image. All implementations support 3D texture images that are at least 256 texels high. + /// + /// + /// + /// + /// Specifies the depth of the texture image, or the number of layers in a texture array. All implementations support 3D texture images that are at least 256 texels deep, and texture arrays that are at least 256 layers deep. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glTexImage3D")] + public static + void TexImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[] pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexImage3D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Specify a three-dimensional texture image + /// + /// + /// + /// Specifies the target texture. Must be one of GL_TEXTURE_3D, GL_PROXY_TEXTURE_3D, GL_TEXTURE_2D_ARRAY or GL_PROXY_TEXTURE_2D_ARRAY. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level is the n sup th mipmap reduction image. + /// + /// + /// + /// + /// Specifies the number of color components in the texture. Must be one of the following symbolic constants: GL_RGBA32F, GL_RGBA32I, GL_RGBA32UI, GL_RGBA16, GL_RGBA16F, GL_RGBA16I, GL_RGBA16UI, GL_RGBA8, GL_RGBA8UI, GL_SRGB8_ALPHA8, GL_RGB10_A2, GL_RGBA10_A2UI, GL_R11_G11_B10F, GL_RG32F, GL_RG32I, GL_RG32UI, GL_RG16, GL_RG16F, GL_RGB16I, GL_RGB16UI, GL_RG8, GL_RG8I, GL_RG8UI, GL_R23F, GL_R32I, GL_R32UI, GL_R16F, GL_R16I, GL_R16UI, GL_R8, GL_R8I, GL_R8UI, GL_RGBA16_UNORM, GL_RGBA8_SNORM, GL_RGB32F, GL_RGB32I, GL_RGB32UI, GL_RGB16_SNORM, GL_RGB16F, GL_RGB16I, GL_RGB16UI, GL_RGB16, GL_RGB8_SNORM, GL_RGB8, GL_RGB8I, GL_RGB8UI, GL_SRGB8, GL_RGB9_E5, GL_RG16_SNORM, GL_RG8_SNORM, GL_COMPRESSED_RG_RGTC2, GL_COMPRESSED_SIGNED_RG_RGTC2, GL_R16_SNORM, GL_R8_SNORM, GL_COMPRESSED_RED_RGTC1, GL_COMPRESSED_SIGNED_RED_RGTC1, GL_DEPTH_COMPONENT32F, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT16, GL_DEPTH32F_STENCIL8, GL_DEPTH24_STENCIL8. + /// + /// + /// + /// + /// Specifies the width of the texture image. All implementations support 3D texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image. All implementations support 3D texture images that are at least 256 texels high. + /// + /// + /// + /// + /// Specifies the depth of the texture image, or the number of layers in a texture array. All implementations support 3D texture images that are at least 256 texels deep, and texture arrays that are at least 256 layers deep. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glTexImage3D")] + public static + void TexImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[,] pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexImage3D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Specify a three-dimensional texture image + /// + /// + /// + /// Specifies the target texture. Must be one of GL_TEXTURE_3D, GL_PROXY_TEXTURE_3D, GL_TEXTURE_2D_ARRAY or GL_PROXY_TEXTURE_2D_ARRAY. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level is the n sup th mipmap reduction image. + /// + /// + /// + /// + /// Specifies the number of color components in the texture. Must be one of the following symbolic constants: GL_RGBA32F, GL_RGBA32I, GL_RGBA32UI, GL_RGBA16, GL_RGBA16F, GL_RGBA16I, GL_RGBA16UI, GL_RGBA8, GL_RGBA8UI, GL_SRGB8_ALPHA8, GL_RGB10_A2, GL_RGBA10_A2UI, GL_R11_G11_B10F, GL_RG32F, GL_RG32I, GL_RG32UI, GL_RG16, GL_RG16F, GL_RGB16I, GL_RGB16UI, GL_RG8, GL_RG8I, GL_RG8UI, GL_R23F, GL_R32I, GL_R32UI, GL_R16F, GL_R16I, GL_R16UI, GL_R8, GL_R8I, GL_R8UI, GL_RGBA16_UNORM, GL_RGBA8_SNORM, GL_RGB32F, GL_RGB32I, GL_RGB32UI, GL_RGB16_SNORM, GL_RGB16F, GL_RGB16I, GL_RGB16UI, GL_RGB16, GL_RGB8_SNORM, GL_RGB8, GL_RGB8I, GL_RGB8UI, GL_SRGB8, GL_RGB9_E5, GL_RG16_SNORM, GL_RG8_SNORM, GL_COMPRESSED_RG_RGTC2, GL_COMPRESSED_SIGNED_RG_RGTC2, GL_R16_SNORM, GL_R8_SNORM, GL_COMPRESSED_RED_RGTC1, GL_COMPRESSED_SIGNED_RED_RGTC1, GL_DEPTH_COMPONENT32F, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT16, GL_DEPTH32F_STENCIL8, GL_DEPTH24_STENCIL8. + /// + /// + /// + /// + /// Specifies the width of the texture image. All implementations support 3D texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image. All implementations support 3D texture images that are at least 256 texels high. + /// + /// + /// + /// + /// Specifies the depth of the texture image, or the number of layers in a texture array. All implementations support 3D texture images that are at least 256 texels deep, and texture arrays that are at least 256 layers deep. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glTexImage3D")] + public static + void TexImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[,,] pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexImage3D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2][deprecated: v3.1] + /// Specify a three-dimensional texture image + /// + /// + /// + /// Specifies the target texture. Must be one of GL_TEXTURE_3D, GL_PROXY_TEXTURE_3D, GL_TEXTURE_2D_ARRAY or GL_PROXY_TEXTURE_2D_ARRAY. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level is the n sup th mipmap reduction image. + /// + /// + /// + /// + /// Specifies the number of color components in the texture. Must be one of the following symbolic constants: GL_RGBA32F, GL_RGBA32I, GL_RGBA32UI, GL_RGBA16, GL_RGBA16F, GL_RGBA16I, GL_RGBA16UI, GL_RGBA8, GL_RGBA8UI, GL_SRGB8_ALPHA8, GL_RGB10_A2, GL_RGBA10_A2UI, GL_R11_G11_B10F, GL_RG32F, GL_RG32I, GL_RG32UI, GL_RG16, GL_RG16F, GL_RGB16I, GL_RGB16UI, GL_RG8, GL_RG8I, GL_RG8UI, GL_R23F, GL_R32I, GL_R32UI, GL_R16F, GL_R16I, GL_R16UI, GL_R8, GL_R8I, GL_R8UI, GL_RGBA16_UNORM, GL_RGBA8_SNORM, GL_RGB32F, GL_RGB32I, GL_RGB32UI, GL_RGB16_SNORM, GL_RGB16F, GL_RGB16I, GL_RGB16UI, GL_RGB16, GL_RGB8_SNORM, GL_RGB8, GL_RGB8I, GL_RGB8UI, GL_SRGB8, GL_RGB9_E5, GL_RG16_SNORM, GL_RG8_SNORM, GL_COMPRESSED_RG_RGTC2, GL_COMPRESSED_SIGNED_RG_RGTC2, GL_R16_SNORM, GL_R8_SNORM, GL_COMPRESSED_RED_RGTC1, GL_COMPRESSED_SIGNED_RED_RGTC1, GL_DEPTH_COMPONENT32F, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT16, GL_DEPTH32F_STENCIL8, GL_DEPTH24_STENCIL8. + /// + /// + /// + /// + /// Specifies the width of the texture image. All implementations support 3D texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image. All implementations support 3D texture images that are at least 256 texels high. + /// + /// + /// + /// + /// Specifies the depth of the texture image, or the number of layers in a texture array. All implementations support 3D texture images that are at least 256 texels deep, and texture arrays that are at least 256 layers deep. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glTexImage3D")] + public static + void TexImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T9 pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexImage3D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + pixels = (T9)pixels_ptr.Target; + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_texture_multisample] + /// Establish the data storage, format, dimensions, and number of samples of a multisample texture's image + /// + /// + /// + /// Specifies the target of the operation. target must be GL_TEXTURE_2D_MULTISAMPLE_ARRAY or GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY. + /// + /// + /// + /// + /// The number of samples in the multisample texture's image. + /// + /// + /// + /// + /// The internal format to be used to store the multisample texture's image. internalformat must specify a color-renderable, depth-renderable, or stencil-renderable format. + /// + /// + /// + /// + /// The width of the multisample texture's image, in texels. + /// + /// + /// + /// + /// The height of the multisample texture's image, in texels. + /// + /// + /// + /// + /// Specifies whether the image will use identical sample locations and the same number of samples for all texels in the image, and the sample locations will not depend on the internal format or size of the image. + /// + /// + [AutoGenerated(Category = "ARB_texture_multisample", Version = "1.2", EntryPoint = "glTexImage3DMultisample")] + public static + void TexImage3DMultisample(OpenTK.Graphics.OpenGL.TextureTargetMultisample target, Int32 samples, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, bool fixedsamplelocations) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexImage3DMultisample((OpenTK.Graphics.OpenGL.TextureTargetMultisample)target, (Int32)samples, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (bool)fixedsamplelocations); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0] + /// Set texture parameters + /// + /// + /// + /// Specifies the target texture, which must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, or GL_TEXTURE_CUBE_MAP. + /// + /// + /// + /// + /// Specifies the symbolic name of a single-valued texture parameter. pname can be one of the following: GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, or GL_TEXTURE_WRAP_R. + /// + /// + /// + /// + /// Specifies the value of pname. + /// + /// + [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexParameterf")] + public static + void TexParameter(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexParameterf((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Single)param); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0] + /// Set texture parameters + /// + /// + /// + /// Specifies the target texture, which must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, or GL_TEXTURE_CUBE_MAP. + /// + /// + /// + /// + /// Specifies the symbolic name of a single-valued texture parameter. pname can be one of the following: GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, or GL_TEXTURE_WRAP_R. + /// + /// + /// + /// + /// Specifies the value of pname. + /// + /// + [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexParameterfv")] + public static + void TexParameter(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glTexParameterfv((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0] + /// Set texture parameters + /// + /// + /// + /// Specifies the target texture, which must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, or GL_TEXTURE_CUBE_MAP. + /// + /// + /// + /// + /// Specifies the symbolic name of a single-valued texture parameter. pname can be one of the following: GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, or GL_TEXTURE_WRAP_R. + /// + /// + /// + /// + /// Specifies the value of pname. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexParameterfv")] + public static + unsafe void TexParameter(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexParameterfv((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0] + /// Set texture parameters + /// + /// + /// + /// Specifies the target texture, which must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, or GL_TEXTURE_CUBE_MAP. + /// + /// + /// + /// + /// Specifies the symbolic name of a single-valued texture parameter. pname can be one of the following: GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, or GL_TEXTURE_WRAP_R. + /// + /// + /// + /// + /// Specifies the value of pname. + /// + /// + [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexParameteri")] + public static + void TexParameter(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexParameteri((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Int32)param); + #if DEBUG + } + #endif + } + + /// [requires: v3.0] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glTexParameterIiv")] + public static + void TexParameterI(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glTexParameterIiv((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v3.0] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glTexParameterIiv")] + public static + void TexParameterI(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, ref Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glTexParameterIiv((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v3.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glTexParameterIiv")] + public static + unsafe void TexParameterI(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexParameterIiv((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: v3.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glTexParameterIuiv")] + public static + void TexParameterI(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, UInt32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = @params) + { + Delegates.glTexParameterIuiv((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v3.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glTexParameterIuiv")] + public static + void TexParameterI(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, ref UInt32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = &@params) + { + Delegates.glTexParameterIuiv((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v3.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glTexParameterIuiv")] + public static + unsafe void TexParameterI(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, UInt32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexParameterIuiv((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (UInt32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0] + /// Set texture parameters + /// + /// + /// + /// Specifies the target texture, which must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, or GL_TEXTURE_CUBE_MAP. + /// + /// + /// + /// + /// Specifies the symbolic name of a single-valued texture parameter. pname can be one of the following: GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, or GL_TEXTURE_WRAP_R. + /// + /// + /// + /// + /// Specifies the value of pname. + /// + /// + [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexParameteriv")] + public static + void TexParameter(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glTexParameteriv((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0] + /// Set texture parameters + /// + /// + /// + /// Specifies the target texture, which must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, or GL_TEXTURE_CUBE_MAP. + /// + /// + /// + /// + /// Specifies the symbolic name of a single-valued texture parameter. pname can be one of the following: GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, or GL_TEXTURE_WRAP_R. + /// + /// + /// + /// + /// Specifies the value of pname. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexParameteriv")] + public static + unsafe void TexParameter(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexParameteriv((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1] + /// Specify a one-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glTexSubImage1D")] + public static + void TexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexSubImage1D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1] + /// Specify a one-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glTexSubImage1D")] + public static + void TexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[] pixels) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage1D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1] + /// Specify a one-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glTexSubImage1D")] + public static + void TexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[,] pixels) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage1D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1] + /// Specify a one-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glTexSubImage1D")] + public static + void TexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[,,] pixels) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage1D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1] + /// Specify a one-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glTexSubImage1D")] + public static + void TexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T6 pixels) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage1D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + pixels = (T6)pixels_ptr.Target; + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1] + /// Specify a two-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glTexSubImage2D")] + public static + void TexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexSubImage2D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1] + /// Specify a two-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glTexSubImage2D")] + public static + void TexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T8[] pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage2D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1] + /// Specify a two-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glTexSubImage2D")] + public static + void TexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T8[,] pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage2D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1] + /// Specify a two-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glTexSubImage2D")] + public static + void TexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T8[,,] pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage2D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1] + /// Specify a two-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glTexSubImage2D")] + public static + void TexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T8 pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage2D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + pixels = (T8)pixels_ptr.Target; + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2] + /// Specify a three-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the z direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the depth of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glTexSubImage3D")] + public static + void TexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexSubImage3D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2] + /// Specify a three-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the z direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the depth of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glTexSubImage3D")] + public static + void TexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[] pixels) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage3D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2] + /// Specify a three-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the z direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the depth of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glTexSubImage3D")] + public static + void TexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[,] pixels) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage3D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2] + /// Specify a three-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the z direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the depth of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glTexSubImage3D")] + public static + void TexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[,,] pixels) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage3D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2] + /// Specify a three-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the z direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the depth of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glTexSubImage3D")] + public static + void TexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T10 pixels) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage3D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + pixels = (T10)pixels_ptr.Target; + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v3.0] + /// Specify values to record in transform feedback buffers + /// + /// + /// + /// The name of the target program object. + /// + /// + /// + /// + /// The number of varying variables used for transform feedback. + /// + /// + /// + /// + /// An array of count zero-terminated strings specifying the names of the varying variables to use for transform feedback. + /// + /// + /// + /// + /// Identifies the mode used to capture the varying variables when transform feedback is active. bufferMode must be GL_INTERLEAVED_ATTRIBS or GL_SEPARATE_ATTRIBS. + /// + /// + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glTransformFeedbackVaryings")] + public static + void TransformFeedbackVaryings(Int32 program, Int32 count, String[] varyings, OpenTK.Graphics.OpenGL.TransformFeedbackMode bufferMode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTransformFeedbackVaryings((UInt32)program, (Int32)count, (String[])varyings, (OpenTK.Graphics.OpenGL.TransformFeedbackMode)bufferMode); + #if DEBUG + } + #endif + } + + + /// [requires: v3.0] + /// Specify values to record in transform feedback buffers + /// + /// + /// + /// The name of the target program object. + /// + /// + /// + /// + /// The number of varying variables used for transform feedback. + /// + /// + /// + /// + /// An array of count zero-terminated strings specifying the names of the varying variables to use for transform feedback. + /// + /// + /// + /// + /// Identifies the mode used to capture the varying variables when transform feedback is active. bufferMode must be GL_INTERLEAVED_ATTRIBS or GL_SEPARATE_ATTRIBS. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glTransformFeedbackVaryings")] + public static + void TransformFeedbackVaryings(UInt32 program, Int32 count, String[] varyings, OpenTK.Graphics.OpenGL.TransformFeedbackMode bufferMode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTransformFeedbackVaryings((UInt32)program, (Int32)count, (String[])varyings, (OpenTK.Graphics.OpenGL.TransformFeedbackMode)bufferMode); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Multiply the current matrix by a translation matrix + /// + /// + /// + /// Specify the x, y, and z coordinates of a translation vector. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glTranslated")] + public static + void Translate(Double x, Double y, Double z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTranslated((Double)x, (Double)y, (Double)z); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Multiply the current matrix by a translation matrix + /// + /// + /// + /// Specify the x, y, and z coordinates of a translation vector. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glTranslatef")] + public static + void Translate(Single x, Single y, Single z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTranslatef((Single)x, (Single)y, (Single)z); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_gpu_shader_fp64] + /// 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 = "ARB_gpu_shader_fp64", Version = "1.2", EntryPoint = "glUniform1d")] + public static + void Uniform1(Int32 location, Double x) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform1d((Int32)location, (Double)x); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_gpu_shader_fp64] + /// 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 = "ARB_gpu_shader_fp64", Version = "1.2", EntryPoint = "glUniform1dv")] + public static + void Uniform1(Int32 location, Int32 count, Double[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = value) + { + Delegates.glUniform1dv((Int32)location, (Int32)count, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_gpu_shader_fp64] + /// 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 = "ARB_gpu_shader_fp64", Version = "1.2", EntryPoint = "glUniform1dv")] + public static + void Uniform1(Int32 location, Int32 count, ref Double value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = &value) + { + Delegates.glUniform1dv((Int32)location, (Int32)count, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_gpu_shader_fp64] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_gpu_shader_fp64", Version = "1.2", EntryPoint = "glUniform1dv")] + public static + unsafe void Uniform1(Int32 location, Int32 count, Double* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform1dv((Int32)location, (Int32)count, (Double*)value); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform1f")] + public static + void Uniform1(Int32 location, Single v0) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform1f((Int32)location, (Single)v0); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform1fv")] + public static + void Uniform1(Int32 location, Int32 count, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glUniform1fv((Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform1fv")] + public static + void Uniform1(Int32 location, Int32 count, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glUniform1fv((Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform1fv")] + public static + unsafe void Uniform1(Int32 location, Int32 count, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform1fv((Int32)location, (Int32)count, (Single*)value); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform1i")] + public static + void Uniform1(Int32 location, Int32 v0) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform1i((Int32)location, (Int32)v0); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform1iv")] + public static + void Uniform1(Int32 location, Int32 count, Int32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = value) + { + Delegates.glUniform1iv((Int32)location, (Int32)count, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform1iv")] + public static + void Uniform1(Int32 location, Int32 count, ref Int32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = &value) + { + Delegates.glUniform1iv((Int32)location, (Int32)count, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform1iv")] + public static + unsafe void Uniform1(Int32 location, Int32 count, Int32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform1iv((Int32)location, (Int32)count, (Int32*)value); + #if DEBUG + } + #endif + } + + + /// [requires: v3.0] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glUniform1ui")] + public static + void Uniform1(Int32 location, UInt32 v0) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform1ui((Int32)location, (UInt32)v0); + #if DEBUG + } + #endif + } + + + /// [requires: v3.0] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glUniform1uiv")] + public static + void Uniform1(Int32 location, Int32 count, UInt32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* value_ptr = value) + { + Delegates.glUniform1uiv((Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v3.0] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glUniform1uiv")] + public static + void Uniform1(Int32 location, Int32 count, ref UInt32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* value_ptr = &value) + { + Delegates.glUniform1uiv((Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v3.0] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glUniform1uiv")] + public static + unsafe void Uniform1(Int32 location, Int32 count, UInt32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform1uiv((Int32)location, (Int32)count, (UInt32*)value); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_gpu_shader_fp64] + /// 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 = "ARB_gpu_shader_fp64", Version = "1.2", EntryPoint = "glUniform2d")] + public static + void Uniform2(Int32 location, Double x, Double y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform2d((Int32)location, (Double)x, (Double)y); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_gpu_shader_fp64] + /// 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 = "ARB_gpu_shader_fp64", Version = "1.2", EntryPoint = "glUniform2dv")] + public static + void Uniform2(Int32 location, Int32 count, Double[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = value) + { + Delegates.glUniform2dv((Int32)location, (Int32)count, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_gpu_shader_fp64] + /// 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 = "ARB_gpu_shader_fp64", Version = "1.2", EntryPoint = "glUniform2dv")] + public static + void Uniform2(Int32 location, Int32 count, ref Double value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = &value) + { + Delegates.glUniform2dv((Int32)location, (Int32)count, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_gpu_shader_fp64] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_gpu_shader_fp64", Version = "1.2", EntryPoint = "glUniform2dv")] + public static + unsafe void Uniform2(Int32 location, Int32 count, Double* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform2dv((Int32)location, (Int32)count, (Double*)value); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform2f")] + public static + void Uniform2(Int32 location, Single v0, Single v1) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform2f((Int32)location, (Single)v0, (Single)v1); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform2fv")] + 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.glUniform2fv((Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform2fv")] + public static + void Uniform2(Int32 location, Int32 count, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glUniform2fv((Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform2fv")] + public static + unsafe void Uniform2(Int32 location, Int32 count, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform2fv((Int32)location, (Int32)count, (Single*)value); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform2i")] + public static + void Uniform2(Int32 location, Int32 v0, Int32 v1) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform2i((Int32)location, (Int32)v0, (Int32)v1); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform2iv")] + public static + void Uniform2(Int32 location, Int32 count, Int32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = value) + { + Delegates.glUniform2iv((Int32)location, (Int32)count, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform2iv")] + public static + unsafe void Uniform2(Int32 location, Int32 count, Int32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform2iv((Int32)location, (Int32)count, (Int32*)value); + #if DEBUG + } + #endif + } + + + /// [requires: v3.0] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glUniform2ui")] + public static + void Uniform2(Int32 location, UInt32 v0, UInt32 v1) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform2ui((Int32)location, (UInt32)v0, (UInt32)v1); + #if DEBUG + } + #endif + } + + + /// [requires: v3.0] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glUniform2uiv")] + public static + void Uniform2(Int32 location, Int32 count, UInt32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* value_ptr = value) + { + Delegates.glUniform2uiv((Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v3.0] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glUniform2uiv")] + public static + void Uniform2(Int32 location, Int32 count, ref UInt32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* value_ptr = &value) + { + Delegates.glUniform2uiv((Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v3.0] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glUniform2uiv")] + public static + unsafe void Uniform2(Int32 location, Int32 count, UInt32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform2uiv((Int32)location, (Int32)count, (UInt32*)value); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_gpu_shader_fp64] + /// 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 = "ARB_gpu_shader_fp64", Version = "1.2", EntryPoint = "glUniform3d")] + public static + void Uniform3(Int32 location, Double x, Double y, Double z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform3d((Int32)location, (Double)x, (Double)y, (Double)z); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_gpu_shader_fp64] + /// 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 = "ARB_gpu_shader_fp64", Version = "1.2", EntryPoint = "glUniform3dv")] + public static + void Uniform3(Int32 location, Int32 count, Double[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = value) + { + Delegates.glUniform3dv((Int32)location, (Int32)count, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_gpu_shader_fp64] + /// 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 = "ARB_gpu_shader_fp64", Version = "1.2", EntryPoint = "glUniform3dv")] + public static + void Uniform3(Int32 location, Int32 count, ref Double value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = &value) + { + Delegates.glUniform3dv((Int32)location, (Int32)count, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_gpu_shader_fp64] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_gpu_shader_fp64", Version = "1.2", EntryPoint = "glUniform3dv")] + public static + unsafe void Uniform3(Int32 location, Int32 count, Double* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform3dv((Int32)location, (Int32)count, (Double*)value); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform3f")] + public static + void Uniform3(Int32 location, Single v0, Single v1, Single v2) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform3f((Int32)location, (Single)v0, (Single)v1, (Single)v2); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform3fv")] + 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.glUniform3fv((Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform3fv")] + public static + void Uniform3(Int32 location, Int32 count, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glUniform3fv((Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform3fv")] + public static + unsafe void Uniform3(Int32 location, Int32 count, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform3fv((Int32)location, (Int32)count, (Single*)value); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform3i")] + public static + void Uniform3(Int32 location, Int32 v0, Int32 v1, Int32 v2) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform3i((Int32)location, (Int32)v0, (Int32)v1, (Int32)v2); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform3iv")] + public static + void Uniform3(Int32 location, Int32 count, Int32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = value) + { + Delegates.glUniform3iv((Int32)location, (Int32)count, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform3iv")] + public static + void Uniform3(Int32 location, Int32 count, ref Int32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = &value) + { + Delegates.glUniform3iv((Int32)location, (Int32)count, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform3iv")] + public static + unsafe void Uniform3(Int32 location, Int32 count, Int32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform3iv((Int32)location, (Int32)count, (Int32*)value); + #if DEBUG + } + #endif + } + + + /// [requires: v3.0] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glUniform3ui")] + public static + void Uniform3(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform3ui((Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2); + #if DEBUG + } + #endif + } + + + /// [requires: v3.0] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glUniform3uiv")] + public static + void Uniform3(Int32 location, Int32 count, UInt32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* value_ptr = value) + { + Delegates.glUniform3uiv((Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v3.0] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glUniform3uiv")] + public static + void Uniform3(Int32 location, Int32 count, ref UInt32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* value_ptr = &value) + { + Delegates.glUniform3uiv((Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v3.0] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glUniform3uiv")] + public static + unsafe void Uniform3(Int32 location, Int32 count, UInt32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform3uiv((Int32)location, (Int32)count, (UInt32*)value); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_gpu_shader_fp64] + /// 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 = "ARB_gpu_shader_fp64", Version = "1.2", EntryPoint = "glUniform4d")] + public static + void Uniform4(Int32 location, Double x, Double y, Double z, Double w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform4d((Int32)location, (Double)x, (Double)y, (Double)z, (Double)w); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_gpu_shader_fp64] + /// 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 = "ARB_gpu_shader_fp64", Version = "1.2", EntryPoint = "glUniform4dv")] + public static + void Uniform4(Int32 location, Int32 count, Double[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = value) + { + Delegates.glUniform4dv((Int32)location, (Int32)count, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_gpu_shader_fp64] + /// 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 = "ARB_gpu_shader_fp64", Version = "1.2", EntryPoint = "glUniform4dv")] + public static + void Uniform4(Int32 location, Int32 count, ref Double value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = &value) + { + Delegates.glUniform4dv((Int32)location, (Int32)count, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_gpu_shader_fp64] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_gpu_shader_fp64", Version = "1.2", EntryPoint = "glUniform4dv")] + public static + unsafe void Uniform4(Int32 location, Int32 count, Double* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform4dv((Int32)location, (Int32)count, (Double*)value); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform4f")] + public static + void Uniform4(Int32 location, Single v0, Single v1, Single v2, Single v3) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform4f((Int32)location, (Single)v0, (Single)v1, (Single)v2, (Single)v3); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform4fv")] + 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.glUniform4fv((Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform4fv")] + public static + void Uniform4(Int32 location, Int32 count, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glUniform4fv((Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform4fv")] + public static + unsafe void Uniform4(Int32 location, Int32 count, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform4fv((Int32)location, (Int32)count, (Single*)value); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform4i")] + public static + void Uniform4(Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform4i((Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, (Int32)v3); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform4iv")] + public static + void Uniform4(Int32 location, Int32 count, Int32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = value) + { + Delegates.glUniform4iv((Int32)location, (Int32)count, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform4iv")] + public static + void Uniform4(Int32 location, Int32 count, ref Int32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = &value) + { + Delegates.glUniform4iv((Int32)location, (Int32)count, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform4iv")] + public static + unsafe void Uniform4(Int32 location, Int32 count, Int32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform4iv((Int32)location, (Int32)count, (Int32*)value); + #if DEBUG + } + #endif + } + + + /// [requires: v3.0] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glUniform4ui")] + public static + void Uniform4(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform4ui((Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2, (UInt32)v3); + #if DEBUG + } + #endif + } + + + /// [requires: v3.0] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glUniform4uiv")] + public static + void Uniform4(Int32 location, Int32 count, UInt32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* value_ptr = value) + { + Delegates.glUniform4uiv((Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v3.0] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glUniform4uiv")] + public static + void Uniform4(Int32 location, Int32 count, ref UInt32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* value_ptr = &value) + { + Delegates.glUniform4uiv((Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v3.0] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glUniform4uiv")] + public static + unsafe void Uniform4(Int32 location, Int32 count, UInt32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform4uiv((Int32)location, (Int32)count, (UInt32*)value); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and ARB_uniform_buffer_object] + /// Assign a binding point to an active uniform block + /// + /// + /// + /// The name of a program object containing the active uniform block whose binding to assign. + /// + /// + /// + /// + /// The index of the active uniform block within program whose binding to assign. + /// + /// + /// + /// + /// Specifies the binding point to which to bind the uniform block with index uniformBlockIndex within program. + /// + /// + [AutoGenerated(Category = "ARB_uniform_buffer_object", Version = "2.0", EntryPoint = "glUniformBlockBinding")] + public static + void UniformBlockBinding(Int32 program, Int32 uniformBlockIndex, Int32 uniformBlockBinding) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniformBlockBinding((UInt32)program, (UInt32)uniformBlockIndex, (UInt32)uniformBlockBinding); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0 and ARB_uniform_buffer_object] + /// Assign a binding point to an active uniform block + /// + /// + /// + /// The name of a program object containing the active uniform block whose binding to assign. + /// + /// + /// + /// + /// The index of the active uniform block within program whose binding to assign. + /// + /// + /// + /// + /// Specifies the binding point to which to bind the uniform block with index uniformBlockIndex within program. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_uniform_buffer_object", Version = "2.0", EntryPoint = "glUniformBlockBinding")] + public static + void UniformBlockBinding(UInt32 program, UInt32 uniformBlockIndex, UInt32 uniformBlockBinding) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniformBlockBinding((UInt32)program, (UInt32)uniformBlockIndex, (UInt32)uniformBlockBinding); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_gpu_shader_fp64] + [AutoGenerated(Category = "ARB_gpu_shader_fp64", Version = "1.2", EntryPoint = "glUniformMatrix2dv")] + public static + void UniformMatrix2(Int32 location, Int32 count, bool transpose, Double[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = value) + { + Delegates.glUniformMatrix2dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_gpu_shader_fp64] + [AutoGenerated(Category = "ARB_gpu_shader_fp64", Version = "1.2", EntryPoint = "glUniformMatrix2dv")] + public static + void UniformMatrix2(Int32 location, Int32 count, bool transpose, ref Double value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = &value) + { + Delegates.glUniformMatrix2dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_gpu_shader_fp64] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_gpu_shader_fp64", Version = "1.2", EntryPoint = "glUniformMatrix2dv")] + public static + unsafe void UniformMatrix2(Int32 location, Int32 count, bool transpose, Double* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniformMatrix2dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value); + #if DEBUG + } + #endif + } + + /// [requires: v2.0] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix2fv")] + 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.glUniformMatrix2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v2.0] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix2fv")] + public static + void UniformMatrix2(Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glUniformMatrix2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix2fv")] + public static + unsafe void UniformMatrix2(Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniformMatrix2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_gpu_shader_fp64] + [AutoGenerated(Category = "ARB_gpu_shader_fp64", Version = "1.2", EntryPoint = "glUniformMatrix2x3dv")] + public static + void UniformMatrix2x3(Int32 location, Int32 count, bool transpose, Double[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = value) + { + Delegates.glUniformMatrix2x3dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_gpu_shader_fp64] + [AutoGenerated(Category = "ARB_gpu_shader_fp64", Version = "1.2", EntryPoint = "glUniformMatrix2x3dv")] + public static + void UniformMatrix2x3(Int32 location, Int32 count, bool transpose, ref Double value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = &value) + { + Delegates.glUniformMatrix2x3dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_gpu_shader_fp64] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_gpu_shader_fp64", Version = "1.2", EntryPoint = "glUniformMatrix2x3dv")] + public static + unsafe void UniformMatrix2x3(Int32 location, Int32 count, bool transpose, Double* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniformMatrix2x3dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value); + #if DEBUG + } + #endif + } + + /// [requires: v2.1] + [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix2x3fv")] + public static + void UniformMatrix2x3(Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glUniformMatrix2x3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v2.1] + [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix2x3fv")] + public static + void UniformMatrix2x3(Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glUniformMatrix2x3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v2.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix2x3fv")] + public static + unsafe void UniformMatrix2x3(Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniformMatrix2x3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_gpu_shader_fp64] + [AutoGenerated(Category = "ARB_gpu_shader_fp64", Version = "1.2", EntryPoint = "glUniformMatrix2x4dv")] + public static + void UniformMatrix2x4(Int32 location, Int32 count, bool transpose, Double[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = value) + { + Delegates.glUniformMatrix2x4dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_gpu_shader_fp64] + [AutoGenerated(Category = "ARB_gpu_shader_fp64", Version = "1.2", EntryPoint = "glUniformMatrix2x4dv")] + public static + void UniformMatrix2x4(Int32 location, Int32 count, bool transpose, ref Double value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = &value) + { + Delegates.glUniformMatrix2x4dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_gpu_shader_fp64] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_gpu_shader_fp64", Version = "1.2", EntryPoint = "glUniformMatrix2x4dv")] + public static + unsafe void UniformMatrix2x4(Int32 location, Int32 count, bool transpose, Double* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniformMatrix2x4dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value); + #if DEBUG + } + #endif + } + + /// [requires: v2.1] + [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix2x4fv")] + public static + void UniformMatrix2x4(Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glUniformMatrix2x4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v2.1] + [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix2x4fv")] + public static + void UniformMatrix2x4(Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glUniformMatrix2x4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v2.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix2x4fv")] + public static + unsafe void UniformMatrix2x4(Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniformMatrix2x4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_gpu_shader_fp64] + [AutoGenerated(Category = "ARB_gpu_shader_fp64", Version = "1.2", EntryPoint = "glUniformMatrix3dv")] + public static + void UniformMatrix3(Int32 location, Int32 count, bool transpose, Double[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = value) + { + Delegates.glUniformMatrix3dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_gpu_shader_fp64] + [AutoGenerated(Category = "ARB_gpu_shader_fp64", Version = "1.2", EntryPoint = "glUniformMatrix3dv")] + public static + void UniformMatrix3(Int32 location, Int32 count, bool transpose, ref Double value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = &value) + { + Delegates.glUniformMatrix3dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_gpu_shader_fp64] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_gpu_shader_fp64", Version = "1.2", EntryPoint = "glUniformMatrix3dv")] + public static + unsafe void UniformMatrix3(Int32 location, Int32 count, bool transpose, Double* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniformMatrix3dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value); + #if DEBUG + } + #endif + } + + /// [requires: v2.0] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix3fv")] + public static + void UniformMatrix3(Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glUniformMatrix3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v2.0] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix3fv")] + public static + void UniformMatrix3(Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glUniformMatrix3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix3fv")] + public static + unsafe void UniformMatrix3(Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniformMatrix3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_gpu_shader_fp64] + [AutoGenerated(Category = "ARB_gpu_shader_fp64", Version = "1.2", EntryPoint = "glUniformMatrix3x2dv")] + public static + void UniformMatrix3x2(Int32 location, Int32 count, bool transpose, Double[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = value) + { + Delegates.glUniformMatrix3x2dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_gpu_shader_fp64] + [AutoGenerated(Category = "ARB_gpu_shader_fp64", Version = "1.2", EntryPoint = "glUniformMatrix3x2dv")] + public static + void UniformMatrix3x2(Int32 location, Int32 count, bool transpose, ref Double value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = &value) + { + Delegates.glUniformMatrix3x2dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_gpu_shader_fp64] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_gpu_shader_fp64", Version = "1.2", EntryPoint = "glUniformMatrix3x2dv")] + public static + unsafe void UniformMatrix3x2(Int32 location, Int32 count, bool transpose, Double* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniformMatrix3x2dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value); + #if DEBUG + } + #endif + } + + /// [requires: v2.1] + [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix3x2fv")] + public static + void UniformMatrix3x2(Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glUniformMatrix3x2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v2.1] + [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix3x2fv")] + public static + void UniformMatrix3x2(Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glUniformMatrix3x2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v2.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix3x2fv")] + public static + unsafe void UniformMatrix3x2(Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniformMatrix3x2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_gpu_shader_fp64] + [AutoGenerated(Category = "ARB_gpu_shader_fp64", Version = "1.2", EntryPoint = "glUniformMatrix3x4dv")] + public static + void UniformMatrix3x4(Int32 location, Int32 count, bool transpose, Double[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = value) + { + Delegates.glUniformMatrix3x4dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_gpu_shader_fp64] + [AutoGenerated(Category = "ARB_gpu_shader_fp64", Version = "1.2", EntryPoint = "glUniformMatrix3x4dv")] + public static + void UniformMatrix3x4(Int32 location, Int32 count, bool transpose, ref Double value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = &value) + { + Delegates.glUniformMatrix3x4dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_gpu_shader_fp64] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_gpu_shader_fp64", Version = "1.2", EntryPoint = "glUniformMatrix3x4dv")] + public static + unsafe void UniformMatrix3x4(Int32 location, Int32 count, bool transpose, Double* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniformMatrix3x4dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value); + #if DEBUG + } + #endif + } + + /// [requires: v2.1] + [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix3x4fv")] + public static + void UniformMatrix3x4(Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glUniformMatrix3x4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v2.1] + [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix3x4fv")] + public static + void UniformMatrix3x4(Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glUniformMatrix3x4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v2.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix3x4fv")] + public static + unsafe void UniformMatrix3x4(Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniformMatrix3x4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_gpu_shader_fp64] + [AutoGenerated(Category = "ARB_gpu_shader_fp64", Version = "1.2", EntryPoint = "glUniformMatrix4dv")] + public static + void UniformMatrix4(Int32 location, Int32 count, bool transpose, Double[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = value) + { + Delegates.glUniformMatrix4dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_gpu_shader_fp64] + [AutoGenerated(Category = "ARB_gpu_shader_fp64", Version = "1.2", EntryPoint = "glUniformMatrix4dv")] + public static + void UniformMatrix4(Int32 location, Int32 count, bool transpose, ref Double value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = &value) + { + Delegates.glUniformMatrix4dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_gpu_shader_fp64] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_gpu_shader_fp64", Version = "1.2", EntryPoint = "glUniformMatrix4dv")] + public static + unsafe void UniformMatrix4(Int32 location, Int32 count, bool transpose, Double* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniformMatrix4dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value); + #if DEBUG + } + #endif + } + + /// [requires: v2.0] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix4fv")] + public static + void UniformMatrix4(Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glUniformMatrix4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v2.0] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix4fv")] + public static + void UniformMatrix4(Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glUniformMatrix4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v2.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix4fv")] + public static + unsafe void UniformMatrix4(Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniformMatrix4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_gpu_shader_fp64] + [AutoGenerated(Category = "ARB_gpu_shader_fp64", Version = "1.2", EntryPoint = "glUniformMatrix4x2dv")] + public static + void UniformMatrix4x2(Int32 location, Int32 count, bool transpose, Double[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = value) + { + Delegates.glUniformMatrix4x2dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_gpu_shader_fp64] + [AutoGenerated(Category = "ARB_gpu_shader_fp64", Version = "1.2", EntryPoint = "glUniformMatrix4x2dv")] + public static + void UniformMatrix4x2(Int32 location, Int32 count, bool transpose, ref Double value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = &value) + { + Delegates.glUniformMatrix4x2dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_gpu_shader_fp64] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_gpu_shader_fp64", Version = "1.2", EntryPoint = "glUniformMatrix4x2dv")] + public static + unsafe void UniformMatrix4x2(Int32 location, Int32 count, bool transpose, Double* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniformMatrix4x2dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value); + #if DEBUG + } + #endif + } + + /// [requires: v2.1] + [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix4x2fv")] + public static + void UniformMatrix4x2(Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glUniformMatrix4x2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v2.1] + [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix4x2fv")] + public static + void UniformMatrix4x2(Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glUniformMatrix4x2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v2.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix4x2fv")] + public static + unsafe void UniformMatrix4x2(Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniformMatrix4x2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_gpu_shader_fp64] + [AutoGenerated(Category = "ARB_gpu_shader_fp64", Version = "1.2", EntryPoint = "glUniformMatrix4x3dv")] + public static + void UniformMatrix4x3(Int32 location, Int32 count, bool transpose, Double[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = value) + { + Delegates.glUniformMatrix4x3dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_gpu_shader_fp64] + [AutoGenerated(Category = "ARB_gpu_shader_fp64", Version = "1.2", EntryPoint = "glUniformMatrix4x3dv")] + public static + void UniformMatrix4x3(Int32 location, Int32 count, bool transpose, ref Double value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = &value) + { + Delegates.glUniformMatrix4x3dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_gpu_shader_fp64] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_gpu_shader_fp64", Version = "1.2", EntryPoint = "glUniformMatrix4x3dv")] + public static + unsafe void UniformMatrix4x3(Int32 location, Int32 count, bool transpose, Double* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniformMatrix4x3dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value); + #if DEBUG + } + #endif + } + + /// [requires: v2.1] + [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix4x3fv")] + public static + void UniformMatrix4x3(Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glUniformMatrix4x3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v2.1] + [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix4x3fv")] + public static + void UniformMatrix4x3(Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glUniformMatrix4x3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v2.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix4x3fv")] + public static + unsafe void UniformMatrix4x3(Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniformMatrix4x3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_shader_subroutine] + /// Load active subroutine uniforms + /// + /// + /// + /// Specifies the shader stage from which to query for subroutine uniform index. shadertype must be one of GL_VERTEX_SHADER, GL_TESS_CONTROL_SHADER, GL_TESS_EVALUATION_SHADER, GL_GEOMETRY_SHADER or GL_FRAGMENT_SHADER. + /// + /// + /// + /// + /// Specifies the number of uniform indices stored in indices. + /// + /// + /// + /// + /// Specifies the address of an array holding the indices to load into the shader subroutine variables. + /// + /// + [AutoGenerated(Category = "ARB_shader_subroutine", Version = "1.2", EntryPoint = "glUniformSubroutinesuiv")] + public static + void UniformSubroutines(OpenTK.Graphics.OpenGL.ShaderType shadertype, Int32 count, Int32[] indices) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* indices_ptr = indices) + { + Delegates.glUniformSubroutinesuiv((OpenTK.Graphics.OpenGL.ShaderType)shadertype, (Int32)count, (UInt32*)indices_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_shader_subroutine] + /// Load active subroutine uniforms + /// + /// + /// + /// Specifies the shader stage from which to query for subroutine uniform index. shadertype must be one of GL_VERTEX_SHADER, GL_TESS_CONTROL_SHADER, GL_TESS_EVALUATION_SHADER, GL_GEOMETRY_SHADER or GL_FRAGMENT_SHADER. + /// + /// + /// + /// + /// Specifies the number of uniform indices stored in indices. + /// + /// + /// + /// + /// Specifies the address of an array holding the indices to load into the shader subroutine variables. + /// + /// + [AutoGenerated(Category = "ARB_shader_subroutine", Version = "1.2", EntryPoint = "glUniformSubroutinesuiv")] + public static + void UniformSubroutines(OpenTK.Graphics.OpenGL.ShaderType shadertype, Int32 count, ref Int32 indices) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* indices_ptr = &indices) + { + Delegates.glUniformSubroutinesuiv((OpenTK.Graphics.OpenGL.ShaderType)shadertype, (Int32)count, (UInt32*)indices_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_shader_subroutine] + /// Load active subroutine uniforms + /// + /// + /// + /// Specifies the shader stage from which to query for subroutine uniform index. shadertype must be one of GL_VERTEX_SHADER, GL_TESS_CONTROL_SHADER, GL_TESS_EVALUATION_SHADER, GL_GEOMETRY_SHADER or GL_FRAGMENT_SHADER. + /// + /// + /// + /// + /// Specifies the number of uniform indices stored in indices. + /// + /// + /// + /// + /// Specifies the address of an array holding the indices to load into the shader subroutine variables. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_shader_subroutine", Version = "1.2", EntryPoint = "glUniformSubroutinesuiv")] + public static + unsafe void UniformSubroutines(OpenTK.Graphics.OpenGL.ShaderType shadertype, Int32 count, Int32* indices) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniformSubroutinesuiv((OpenTK.Graphics.OpenGL.ShaderType)shadertype, (Int32)count, (UInt32*)indices); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_shader_subroutine] + /// Load active subroutine uniforms + /// + /// + /// + /// Specifies the shader stage from which to query for subroutine uniform index. shadertype must be one of GL_VERTEX_SHADER, GL_TESS_CONTROL_SHADER, GL_TESS_EVALUATION_SHADER, GL_GEOMETRY_SHADER or GL_FRAGMENT_SHADER. + /// + /// + /// + /// + /// Specifies the number of uniform indices stored in indices. + /// + /// + /// + /// + /// Specifies the address of an array holding the indices to load into the shader subroutine variables. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_shader_subroutine", Version = "1.2", EntryPoint = "glUniformSubroutinesuiv")] + public static + void UniformSubroutines(OpenTK.Graphics.OpenGL.ShaderType shadertype, Int32 count, UInt32[] indices) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* indices_ptr = indices) + { + Delegates.glUniformSubroutinesuiv((OpenTK.Graphics.OpenGL.ShaderType)shadertype, (Int32)count, (UInt32*)indices_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_shader_subroutine] + /// Load active subroutine uniforms + /// + /// + /// + /// Specifies the shader stage from which to query for subroutine uniform index. shadertype must be one of GL_VERTEX_SHADER, GL_TESS_CONTROL_SHADER, GL_TESS_EVALUATION_SHADER, GL_GEOMETRY_SHADER or GL_FRAGMENT_SHADER. + /// + /// + /// + /// + /// Specifies the number of uniform indices stored in indices. + /// + /// + /// + /// + /// Specifies the address of an array holding the indices to load into the shader subroutine variables. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_shader_subroutine", Version = "1.2", EntryPoint = "glUniformSubroutinesuiv")] + public static + void UniformSubroutines(OpenTK.Graphics.OpenGL.ShaderType shadertype, Int32 count, ref UInt32 indices) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* indices_ptr = &indices) + { + Delegates.glUniformSubroutinesuiv((OpenTK.Graphics.OpenGL.ShaderType)shadertype, (Int32)count, (UInt32*)indices_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_shader_subroutine] + /// Load active subroutine uniforms + /// + /// + /// + /// Specifies the shader stage from which to query for subroutine uniform index. shadertype must be one of GL_VERTEX_SHADER, GL_TESS_CONTROL_SHADER, GL_TESS_EVALUATION_SHADER, GL_GEOMETRY_SHADER or GL_FRAGMENT_SHADER. + /// + /// + /// + /// + /// Specifies the number of uniform indices stored in indices. + /// + /// + /// + /// + /// Specifies the address of an array holding the indices to load into the shader subroutine variables. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_shader_subroutine", Version = "1.2", EntryPoint = "glUniformSubroutinesuiv")] + public static + unsafe void UniformSubroutines(OpenTK.Graphics.OpenGL.ShaderType shadertype, Int32 count, UInt32* indices) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniformSubroutinesuiv((OpenTK.Graphics.OpenGL.ShaderType)shadertype, (Int32)count, (UInt32*)indices); + #if DEBUG + } + #endif + } + + /// [requires: v1.5] + [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glUnmapBuffer")] + public static + bool UnmapBuffer(OpenTK.Graphics.OpenGL.BufferTarget target) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glUnmapBuffer((OpenTK.Graphics.OpenGL.BufferTarget)target); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// Installs a program object as part of current rendering state + /// + /// + /// + /// Specifies the handle of the program object whose executables are to be used as part of current rendering state. + /// + /// + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUseProgram")] + public static + void UseProgram(Int32 program) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUseProgram((UInt32)program); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// Installs a program object as part of current rendering state + /// + /// + /// + /// Specifies the handle of the program object whose executables are to be used as part of current rendering state. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUseProgram")] + public static + void UseProgram(UInt32 program) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUseProgram((UInt32)program); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Bind stages of a program object to a program pipeline + /// + /// + /// + /// Specifies the program pipeline object to which to bind stages from program. + /// + /// + /// + /// + /// Specifies a set of program stages to bind to the program pipeline object. + /// + /// + /// + /// + /// Specifies the program object containing the shader executables to use in pipeline. + /// + /// + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glUseProgramStages")] + public static + void UseProgramStages(Int32 pipeline, OpenTK.Graphics.OpenGL.ProgramStageMask stages, Int32 program) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUseProgramStages((UInt32)pipeline, (OpenTK.Graphics.OpenGL.ProgramStageMask)stages, (UInt32)program); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Bind stages of a program object to a program pipeline + /// + /// + /// + /// Specifies the program pipeline object to which to bind stages from program. + /// + /// + /// + /// + /// Specifies a set of program stages to bind to the program pipeline object. + /// + /// + /// + /// + /// Specifies the program object containing the shader executables to use in pipeline. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glUseProgramStages")] + public static + void UseProgramStages(UInt32 pipeline, OpenTK.Graphics.OpenGL.ProgramStageMask stages, UInt32 program) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUseProgramStages((UInt32)pipeline, (OpenTK.Graphics.OpenGL.ProgramStageMask)stages, (UInt32)program); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// Validates a program object + /// + /// + /// + /// Specifies the handle of the program object to be validated. + /// + /// + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glValidateProgram")] + public static + void ValidateProgram(Int32 program) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glValidateProgram((UInt32)program); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// Validates a program object + /// + /// + /// + /// Specifies the handle of the program object to be validated. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glValidateProgram")] + public static + void ValidateProgram(UInt32 program) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glValidateProgram((UInt32)program); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Validate a program pipeline object against current GL state + /// + /// + /// + /// Specifies the name of a program pipeline object to validate. + /// + /// + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glValidateProgramPipeline")] + public static + void ValidateProgramPipeline(Int32 pipeline) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glValidateProgramPipeline((UInt32)pipeline); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Validate a program pipeline object against current GL state + /// + /// + /// + /// Specifies the name of a program pipeline object to validate. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_separate_shader_objects", Version = "4.1", EntryPoint = "glValidateProgramPipeline")] + public static + void ValidateProgramPipeline(UInt32 pipeline) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glValidateProgramPipeline((UInt32)pipeline); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glVertex2d")] + public static + void Vertex2(Double x, Double y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertex2d((Double)x, (Double)y); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glVertex2dv")] + public static + void Vertex2(Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glVertex2dv((Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glVertex2dv")] + public static + void Vertex2(ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glVertex2dv((Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glVertex2dv")] + public static + unsafe void Vertex2(Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertex2dv((Double*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glVertex2f")] + public static + void Vertex2(Single x, Single y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertex2f((Single)x, (Single)y); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glVertex2fv")] + public static + void Vertex2(Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glVertex2fv((Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glVertex2fv")] + public static + void Vertex2(ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glVertex2fv((Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glVertex2fv")] + public static + unsafe void Vertex2(Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertex2fv((Single*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glVertex2i")] + public static + void Vertex2(Int32 x, Int32 y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertex2i((Int32)x, (Int32)y); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glVertex2iv")] + public static + void Vertex2(Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glVertex2iv((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glVertex2iv")] + public static + void Vertex2(ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glVertex2iv((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glVertex2iv")] + public static + unsafe void Vertex2(Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertex2iv((Int32*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glVertex2s")] + public static + void Vertex2(Int16 x, Int16 y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertex2s((Int16)x, (Int16)y); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glVertex2sv")] + public static + void Vertex2(Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glVertex2sv((Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glVertex2sv")] + public static + void Vertex2(ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glVertex2sv((Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glVertex2sv")] + public static + unsafe void Vertex2(Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertex2sv((Int16*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glVertex3d")] + public static + void Vertex3(Double x, Double y, Double z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertex3d((Double)x, (Double)y, (Double)z); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glVertex3dv")] + public static + void Vertex3(Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glVertex3dv((Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glVertex3dv")] + public static + void Vertex3(ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glVertex3dv((Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glVertex3dv")] + public static + unsafe void Vertex3(Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertex3dv((Double*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glVertex3f")] + public static + void Vertex3(Single x, Single y, Single z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertex3f((Single)x, (Single)y, (Single)z); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glVertex3fv")] + public static + void Vertex3(Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glVertex3fv((Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glVertex3fv")] + public static + void Vertex3(ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glVertex3fv((Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glVertex3fv")] + public static + unsafe void Vertex3(Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertex3fv((Single*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glVertex3i")] + public static + void Vertex3(Int32 x, Int32 y, Int32 z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertex3i((Int32)x, (Int32)y, (Int32)z); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glVertex3iv")] + public static + void Vertex3(Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glVertex3iv((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glVertex3iv")] + public static + void Vertex3(ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glVertex3iv((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glVertex3iv")] + public static + unsafe void Vertex3(Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertex3iv((Int32*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glVertex3s")] + public static + void Vertex3(Int16 x, Int16 y, Int16 z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertex3s((Int16)x, (Int16)y, (Int16)z); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glVertex3sv")] + public static + void Vertex3(Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glVertex3sv((Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glVertex3sv")] + public static + void Vertex3(ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glVertex3sv((Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glVertex3sv")] + public static + unsafe void Vertex3(Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertex3sv((Int16*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glVertex4d")] + public static + void Vertex4(Double x, Double y, Double z, Double w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertex4d((Double)x, (Double)y, (Double)z, (Double)w); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glVertex4dv")] + public static + void Vertex4(Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glVertex4dv((Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glVertex4dv")] + public static + void Vertex4(ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glVertex4dv((Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glVertex4dv")] + public static + unsafe void Vertex4(Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertex4dv((Double*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glVertex4f")] + public static + void Vertex4(Single x, Single y, Single z, Single w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertex4f((Single)x, (Single)y, (Single)z, (Single)w); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glVertex4fv")] + public static + void Vertex4(Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glVertex4fv((Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glVertex4fv")] + public static + void Vertex4(ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glVertex4fv((Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glVertex4fv")] + public static + unsafe void Vertex4(Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertex4fv((Single*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glVertex4i")] + public static + void Vertex4(Int32 x, Int32 y, Int32 z, Int32 w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertex4i((Int32)x, (Int32)y, (Int32)z, (Int32)w); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glVertex4iv")] + public static + void Vertex4(Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glVertex4iv((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glVertex4iv")] + public static + void Vertex4(ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glVertex4iv((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glVertex4iv")] + public static + unsafe void Vertex4(Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertex4iv((Int32*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glVertex4s")] + public static + void Vertex4(Int16 x, Int16 y, Int16 z, Int16 w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertex4s((Int16)x, (Int16)y, (Int16)z, (Int16)w); + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glVertex4sv")] + public static + void Vertex4(Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glVertex4sv((Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glVertex4sv")] + public static + void Vertex4(ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glVertex4sv((Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0][deprecated: v3.1] + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_0_DEPRECATED", Version = "1.0", EntryPoint = "glVertex4sv")] + public static + unsafe void Vertex4(Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertex4sv((Int16*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1d")] + public static + void VertexAttrib1(Int32 index, Double x) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib1d((UInt32)index, (Double)x); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1d")] + public static + void VertexAttrib1(UInt32 index, Double x) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib1d((UInt32)index, (Double)x); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1dv")] + public static + unsafe void VertexAttrib1(Int32 index, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib1dv((UInt32)index, (Double*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1dv")] + public static + unsafe void VertexAttrib1(UInt32 index, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib1dv((UInt32)index, (Double*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1f")] + public static + void VertexAttrib1(Int32 index, Single x) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib1f((UInt32)index, (Single)x); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1f")] + public static + void VertexAttrib1(UInt32 index, Single x) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib1f((UInt32)index, (Single)x); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1fv")] + public static + unsafe void VertexAttrib1(Int32 index, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib1fv((UInt32)index, (Single*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1fv")] + public static + unsafe void VertexAttrib1(UInt32 index, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib1fv((UInt32)index, (Single*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1s")] + public static + void VertexAttrib1(Int32 index, Int16 x) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib1s((UInt32)index, (Int16)x); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1s")] + public static + void VertexAttrib1(UInt32 index, Int16 x) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib1s((UInt32)index, (Int16)x); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1sv")] + public static + unsafe void VertexAttrib1(Int32 index, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib1sv((UInt32)index, (Int16*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1sv")] + public static + unsafe void VertexAttrib1(UInt32 index, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib1sv((UInt32)index, (Int16*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2d")] + public static + void VertexAttrib2(Int32 index, Double x, Double y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib2d((UInt32)index, (Double)x, (Double)y); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2d")] + public static + void VertexAttrib2(UInt32 index, Double x, Double y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib2d((UInt32)index, (Double)x, (Double)y); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2dv")] + public static + void VertexAttrib2(Int32 index, Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glVertexAttrib2dv((UInt32)index, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2dv")] + public static + void VertexAttrib2(Int32 index, ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glVertexAttrib2dv((UInt32)index, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2dv")] + public static + unsafe void VertexAttrib2(Int32 index, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib2dv((UInt32)index, (Double*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2dv")] + public static + void VertexAttrib2(UInt32 index, Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glVertexAttrib2dv((UInt32)index, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2dv")] + public static + void VertexAttrib2(UInt32 index, ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glVertexAttrib2dv((UInt32)index, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2dv")] + public static + unsafe void VertexAttrib2(UInt32 index, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib2dv((UInt32)index, (Double*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2f")] + public static + void VertexAttrib2(Int32 index, Single x, Single y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib2f((UInt32)index, (Single)x, (Single)y); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2f")] + public static + void VertexAttrib2(UInt32 index, Single x, Single y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib2f((UInt32)index, (Single)x, (Single)y); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] + public static + void VertexAttrib2(Int32 index, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glVertexAttrib2fv((UInt32)index, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] + public static + void VertexAttrib2(Int32 index, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glVertexAttrib2fv((UInt32)index, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] + public static + unsafe void VertexAttrib2(Int32 index, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib2fv((UInt32)index, (Single*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] + public static + void VertexAttrib2(UInt32 index, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glVertexAttrib2fv((UInt32)index, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] + public static + void VertexAttrib2(UInt32 index, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glVertexAttrib2fv((UInt32)index, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] + public static + unsafe void VertexAttrib2(UInt32 index, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib2fv((UInt32)index, (Single*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2s")] + public static + void VertexAttrib2(Int32 index, Int16 x, Int16 y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib2s((UInt32)index, (Int16)x, (Int16)y); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2s")] + public static + void VertexAttrib2(UInt32 index, Int16 x, Int16 y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib2s((UInt32)index, (Int16)x, (Int16)y); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2sv")] + public static + void VertexAttrib2(Int32 index, Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glVertexAttrib2sv((UInt32)index, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2sv")] + public static + void VertexAttrib2(Int32 index, ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glVertexAttrib2sv((UInt32)index, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2sv")] + public static + unsafe void VertexAttrib2(Int32 index, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib2sv((UInt32)index, (Int16*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2sv")] + public static + void VertexAttrib2(UInt32 index, Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glVertexAttrib2sv((UInt32)index, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2sv")] + public static + void VertexAttrib2(UInt32 index, ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glVertexAttrib2sv((UInt32)index, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2sv")] + public static + unsafe void VertexAttrib2(UInt32 index, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib2sv((UInt32)index, (Int16*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3d")] + public static + void VertexAttrib3(Int32 index, Double x, Double y, Double z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib3d((UInt32)index, (Double)x, (Double)y, (Double)z); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3d")] + public static + void VertexAttrib3(UInt32 index, Double x, Double y, Double z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib3d((UInt32)index, (Double)x, (Double)y, (Double)z); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3dv")] + public static + void VertexAttrib3(Int32 index, Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glVertexAttrib3dv((UInt32)index, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3dv")] + public static + void VertexAttrib3(Int32 index, ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glVertexAttrib3dv((UInt32)index, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3dv")] + public static + unsafe void VertexAttrib3(Int32 index, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib3dv((UInt32)index, (Double*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3dv")] + public static + void VertexAttrib3(UInt32 index, Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glVertexAttrib3dv((UInt32)index, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3dv")] + public static + void VertexAttrib3(UInt32 index, ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glVertexAttrib3dv((UInt32)index, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3dv")] + public static + unsafe void VertexAttrib3(UInt32 index, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib3dv((UInt32)index, (Double*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3f")] + public static + void VertexAttrib3(Int32 index, Single x, Single y, Single z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib3f((UInt32)index, (Single)x, (Single)y, (Single)z); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3f")] + public static + void VertexAttrib3(UInt32 index, Single x, Single y, Single z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib3f((UInt32)index, (Single)x, (Single)y, (Single)z); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] + public static + void VertexAttrib3(Int32 index, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glVertexAttrib3fv((UInt32)index, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] + public static + void VertexAttrib3(Int32 index, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glVertexAttrib3fv((UInt32)index, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] + public static + unsafe void VertexAttrib3(Int32 index, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib3fv((UInt32)index, (Single*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] + public static + void VertexAttrib3(UInt32 index, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glVertexAttrib3fv((UInt32)index, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] + public static + void VertexAttrib3(UInt32 index, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glVertexAttrib3fv((UInt32)index, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] + public static + unsafe void VertexAttrib3(UInt32 index, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib3fv((UInt32)index, (Single*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3s")] + public static + void VertexAttrib3(Int32 index, Int16 x, Int16 y, Int16 z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib3s((UInt32)index, (Int16)x, (Int16)y, (Int16)z); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3s")] + public static + void VertexAttrib3(UInt32 index, Int16 x, Int16 y, Int16 z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib3s((UInt32)index, (Int16)x, (Int16)y, (Int16)z); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3sv")] + public static + void VertexAttrib3(Int32 index, Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glVertexAttrib3sv((UInt32)index, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3sv")] + public static + void VertexAttrib3(Int32 index, ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glVertexAttrib3sv((UInt32)index, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3sv")] + public static + unsafe void VertexAttrib3(Int32 index, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib3sv((UInt32)index, (Int16*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3sv")] + public static + void VertexAttrib3(UInt32 index, Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glVertexAttrib3sv((UInt32)index, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3sv")] + public static + void VertexAttrib3(UInt32 index, ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glVertexAttrib3sv((UInt32)index, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3sv")] + public static + unsafe void VertexAttrib3(UInt32 index, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib3sv((UInt32)index, (Int16*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4bv")] + public static + void VertexAttrib4(UInt32 index, SByte[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (SByte* v_ptr = v) + { + Delegates.glVertexAttrib4bv((UInt32)index, (SByte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4bv")] + public static + void VertexAttrib4(UInt32 index, ref SByte v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (SByte* v_ptr = &v) + { + Delegates.glVertexAttrib4bv((UInt32)index, (SByte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4bv")] + public static + unsafe void VertexAttrib4(UInt32 index, SByte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4bv((UInt32)index, (SByte*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4d")] + public static + void VertexAttrib4(Int32 index, Double x, Double y, Double z, Double w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4d((UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4d")] + public static + void VertexAttrib4(UInt32 index, Double x, Double y, Double z, Double w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4d((UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4dv")] + public static + void VertexAttrib4(Int32 index, Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glVertexAttrib4dv((UInt32)index, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4dv")] + public static + void VertexAttrib4(Int32 index, ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glVertexAttrib4dv((UInt32)index, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4dv")] + public static + unsafe void VertexAttrib4(Int32 index, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4dv((UInt32)index, (Double*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4dv")] + public static + void VertexAttrib4(UInt32 index, Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glVertexAttrib4dv((UInt32)index, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4dv")] + public static + void VertexAttrib4(UInt32 index, ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glVertexAttrib4dv((UInt32)index, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4dv")] + public static + unsafe void VertexAttrib4(UInt32 index, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4dv((UInt32)index, (Double*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4f")] + public static + void VertexAttrib4(Int32 index, Single x, Single y, Single z, Single w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4f((UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4f")] + public static + void VertexAttrib4(UInt32 index, Single x, Single y, Single z, Single w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4f((UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] + public static + void VertexAttrib4(Int32 index, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glVertexAttrib4fv((UInt32)index, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] + public static + void VertexAttrib4(Int32 index, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glVertexAttrib4fv((UInt32)index, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] + public static + unsafe void VertexAttrib4(Int32 index, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4fv((UInt32)index, (Single*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] + public static + void VertexAttrib4(UInt32 index, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glVertexAttrib4fv((UInt32)index, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] + public static + void VertexAttrib4(UInt32 index, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glVertexAttrib4fv((UInt32)index, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] + public static + unsafe void VertexAttrib4(UInt32 index, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4fv((UInt32)index, (Single*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4iv")] + public static + void VertexAttrib4(Int32 index, Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glVertexAttrib4iv((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4iv")] + public static + void VertexAttrib4(Int32 index, ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glVertexAttrib4iv((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4iv")] + public static + unsafe void VertexAttrib4(Int32 index, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4iv((UInt32)index, (Int32*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4iv")] + public static + void VertexAttrib4(UInt32 index, Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glVertexAttrib4iv((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4iv")] + public static + void VertexAttrib4(UInt32 index, ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glVertexAttrib4iv((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4iv")] + public static + unsafe void VertexAttrib4(UInt32 index, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4iv((UInt32)index, (Int32*)v); + #if DEBUG + } + #endif + } + + /// [requires: v2.0][deprecated: v3.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nbv")] + public static + void VertexAttrib4N(UInt32 index, SByte[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (SByte* v_ptr = v) + { + Delegates.glVertexAttrib4Nbv((UInt32)index, (SByte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v2.0][deprecated: v3.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nbv")] + public static + void VertexAttrib4N(UInt32 index, ref SByte v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (SByte* v_ptr = &v) + { + Delegates.glVertexAttrib4Nbv((UInt32)index, (SByte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v2.0][deprecated: v3.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nbv")] + public static + unsafe void VertexAttrib4N(UInt32 index, SByte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4Nbv((UInt32)index, (SByte*)v); + #if DEBUG + } + #endif + } + + /// [requires: v2.0][deprecated: v3.1] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Niv")] + public static + void VertexAttrib4N(Int32 index, Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glVertexAttrib4Niv((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v2.0][deprecated: v3.1] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Niv")] + public static + void VertexAttrib4N(Int32 index, ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glVertexAttrib4Niv((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v2.0][deprecated: v3.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Niv")] + public static + unsafe void VertexAttrib4N(Int32 index, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4Niv((UInt32)index, (Int32*)v); + #if DEBUG + } + #endif + } + + /// [requires: v2.0][deprecated: v3.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Niv")] + public static + void VertexAttrib4N(UInt32 index, Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glVertexAttrib4Niv((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v2.0][deprecated: v3.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Niv")] + public static + void VertexAttrib4N(UInt32 index, ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glVertexAttrib4Niv((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v2.0][deprecated: v3.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Niv")] + public static + unsafe void VertexAttrib4N(UInt32 index, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4Niv((UInt32)index, (Int32*)v); + #if DEBUG + } + #endif + } + + /// [requires: v2.0][deprecated: v3.1] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nsv")] + public static + void VertexAttrib4N(Int32 index, Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glVertexAttrib4Nsv((UInt32)index, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v2.0][deprecated: v3.1] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nsv")] + public static + void VertexAttrib4N(Int32 index, ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glVertexAttrib4Nsv((UInt32)index, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v2.0][deprecated: v3.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nsv")] + public static + unsafe void VertexAttrib4N(Int32 index, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4Nsv((UInt32)index, (Int16*)v); + #if DEBUG + } + #endif + } + + /// [requires: v2.0][deprecated: v3.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nsv")] + public static + void VertexAttrib4N(UInt32 index, Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glVertexAttrib4Nsv((UInt32)index, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v2.0][deprecated: v3.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nsv")] + public static + void VertexAttrib4N(UInt32 index, ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glVertexAttrib4Nsv((UInt32)index, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v2.0][deprecated: v3.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nsv")] + public static + unsafe void VertexAttrib4N(UInt32 index, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4Nsv((UInt32)index, (Int16*)v); + #if DEBUG + } + #endif + } + + /// [requires: v2.0][deprecated: v3.1] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nub")] + public static + void VertexAttrib4N(Int32 index, Byte x, Byte y, Byte z, Byte w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4Nub((UInt32)index, (Byte)x, (Byte)y, (Byte)z, (Byte)w); + #if DEBUG + } + #endif + } + + /// [requires: v2.0][deprecated: v3.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nub")] + public static + void VertexAttrib4N(UInt32 index, Byte x, Byte y, Byte z, Byte w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4Nub((UInt32)index, (Byte)x, (Byte)y, (Byte)z, (Byte)w); + #if DEBUG + } + #endif + } + + /// [requires: v2.0][deprecated: v3.1] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nubv")] + public static + void VertexAttrib4N(Int32 index, Byte[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = v) + { + Delegates.glVertexAttrib4Nubv((UInt32)index, (Byte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v2.0][deprecated: v3.1] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nubv")] + public static + void VertexAttrib4N(Int32 index, ref Byte v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = &v) + { + Delegates.glVertexAttrib4Nubv((UInt32)index, (Byte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v2.0][deprecated: v3.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nubv")] + public static + unsafe void VertexAttrib4N(Int32 index, Byte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4Nubv((UInt32)index, (Byte*)v); + #if DEBUG + } + #endif + } + + /// [requires: v2.0][deprecated: v3.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nubv")] + public static + void VertexAttrib4N(UInt32 index, Byte[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = v) + { + Delegates.glVertexAttrib4Nubv((UInt32)index, (Byte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v2.0][deprecated: v3.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nubv")] + public static + void VertexAttrib4N(UInt32 index, ref Byte v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = &v) + { + Delegates.glVertexAttrib4Nubv((UInt32)index, (Byte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v2.0][deprecated: v3.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nubv")] + public static + unsafe void VertexAttrib4N(UInt32 index, Byte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4Nubv((UInt32)index, (Byte*)v); + #if DEBUG + } + #endif + } + + /// [requires: v2.0][deprecated: v3.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nuiv")] + public static + void VertexAttrib4N(UInt32 index, UInt32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* v_ptr = v) + { + Delegates.glVertexAttrib4Nuiv((UInt32)index, (UInt32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v2.0][deprecated: v3.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nuiv")] + public static + void VertexAttrib4N(UInt32 index, ref UInt32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* v_ptr = &v) + { + Delegates.glVertexAttrib4Nuiv((UInt32)index, (UInt32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v2.0][deprecated: v3.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nuiv")] + public static + unsafe void VertexAttrib4N(UInt32 index, UInt32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4Nuiv((UInt32)index, (UInt32*)v); + #if DEBUG + } + #endif + } + + /// [requires: v2.0][deprecated: v3.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nusv")] + public static + void VertexAttrib4N(UInt32 index, UInt16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt16* v_ptr = v) + { + Delegates.glVertexAttrib4Nusv((UInt32)index, (UInt16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v2.0][deprecated: v3.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nusv")] + public static + void VertexAttrib4N(UInt32 index, ref UInt16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt16* v_ptr = &v) + { + Delegates.glVertexAttrib4Nusv((UInt32)index, (UInt16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v2.0][deprecated: v3.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nusv")] + public static + unsafe void VertexAttrib4N(UInt32 index, UInt16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4Nusv((UInt32)index, (UInt16*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4s")] + public static + void VertexAttrib4(Int32 index, Int16 x, Int16 y, Int16 z, Int16 w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4s((UInt32)index, (Int16)x, (Int16)y, (Int16)z, (Int16)w); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4s")] + public static + void VertexAttrib4(UInt32 index, Int16 x, Int16 y, Int16 z, Int16 w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4s((UInt32)index, (Int16)x, (Int16)y, (Int16)z, (Int16)w); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4sv")] + public static + void VertexAttrib4(Int32 index, Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glVertexAttrib4sv((UInt32)index, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4sv")] + public static + void VertexAttrib4(Int32 index, ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glVertexAttrib4sv((UInt32)index, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4sv")] + public static + unsafe void VertexAttrib4(Int32 index, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4sv((UInt32)index, (Int16*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4sv")] + public static + void VertexAttrib4(UInt32 index, Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glVertexAttrib4sv((UInt32)index, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4sv")] + public static + void VertexAttrib4(UInt32 index, ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glVertexAttrib4sv((UInt32)index, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4sv")] + public static + unsafe void VertexAttrib4(UInt32 index, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4sv((UInt32)index, (Int16*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4ubv")] + public static + void VertexAttrib4(Int32 index, Byte[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = v) + { + Delegates.glVertexAttrib4ubv((UInt32)index, (Byte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4ubv")] + public static + void VertexAttrib4(Int32 index, ref Byte v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = &v) + { + Delegates.glVertexAttrib4ubv((UInt32)index, (Byte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4ubv")] + public static + unsafe void VertexAttrib4(Int32 index, Byte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4ubv((UInt32)index, (Byte*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4ubv")] + public static + void VertexAttrib4(UInt32 index, Byte[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = v) + { + Delegates.glVertexAttrib4ubv((UInt32)index, (Byte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4ubv")] + public static + void VertexAttrib4(UInt32 index, ref Byte v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = &v) + { + Delegates.glVertexAttrib4ubv((UInt32)index, (Byte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4ubv")] + public static + unsafe void VertexAttrib4(UInt32 index, Byte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4ubv((UInt32)index, (Byte*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4uiv")] + public static + void VertexAttrib4(UInt32 index, UInt32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* v_ptr = v) + { + Delegates.glVertexAttrib4uiv((UInt32)index, (UInt32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4uiv")] + public static + void VertexAttrib4(UInt32 index, ref UInt32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* v_ptr = &v) + { + Delegates.glVertexAttrib4uiv((UInt32)index, (UInt32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4uiv")] + public static + unsafe void VertexAttrib4(UInt32 index, UInt32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4uiv((UInt32)index, (UInt32*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4usv")] + public static + void VertexAttrib4(UInt32 index, UInt16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt16* v_ptr = v) + { + Delegates.glVertexAttrib4usv((UInt32)index, (UInt16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4usv")] + public static + void VertexAttrib4(UInt32 index, ref UInt16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt16* v_ptr = &v) + { + Delegates.glVertexAttrib4usv((UInt32)index, (UInt16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0][deprecated: v3.1] + /// 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 = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4usv")] + public static + unsafe void VertexAttrib4(UInt32 index, UInt16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4usv((UInt32)index, (UInt16*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1] + /// Modify the rate at which generic vertex attributes advance during instanced rendering + /// + /// + /// + /// Specify the index of the generic vertex attribute. + /// + /// + /// + /// + /// Specify the number of instances that will pass between updates of the generic attribute at slot index. + /// + /// + [AutoGenerated(Category = "VERSION_3_3", Version = "1.1", EntryPoint = "glVertexAttribDivisor")] + public static + void VertexAttribDivisor(Int32 index, Int32 divisor) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribDivisor((UInt32)index, (UInt32)divisor); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1] + /// Modify the rate at which generic vertex attributes advance during instanced rendering + /// + /// + /// + /// Specify the index of the generic vertex attribute. + /// + /// + /// + /// + /// Specify the number of instances that will pass between updates of the generic attribute at slot index. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_3", Version = "1.1", EntryPoint = "glVertexAttribDivisor")] + public static + void VertexAttribDivisor(UInt32 index, UInt32 divisor) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribDivisor((UInt32)index, (UInt32)divisor); + #if DEBUG + } + #endif + } + + /// [requires: v3.0][deprecated: v3.1] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI1i")] + public static + void VertexAttribI1(Int32 index, Int32 x) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI1i((UInt32)index, (Int32)x); + #if DEBUG + } + #endif + } + + /// [requires: v3.0][deprecated: v3.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI1i")] + public static + void VertexAttribI1(UInt32 index, Int32 x) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI1i((UInt32)index, (Int32)x); + #if DEBUG + } + #endif + } + + /// [requires: v3.0][deprecated: v3.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI1iv")] + public static + unsafe void VertexAttribI1(Int32 index, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI1iv((UInt32)index, (Int32*)v); + #if DEBUG + } + #endif + } + + /// [requires: v3.0][deprecated: v3.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI1iv")] + public static + unsafe void VertexAttribI1(UInt32 index, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI1iv((UInt32)index, (Int32*)v); + #if DEBUG + } + #endif + } + + /// [requires: v3.0][deprecated: v3.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI1ui")] + public static + void VertexAttribI1(UInt32 index, UInt32 x) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI1ui((UInt32)index, (UInt32)x); + #if DEBUG + } + #endif + } + + /// [requires: v3.0][deprecated: v3.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI1uiv")] + public static + unsafe void VertexAttribI1(UInt32 index, UInt32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI1uiv((UInt32)index, (UInt32*)v); + #if DEBUG + } + #endif + } + + /// [requires: v3.0][deprecated: v3.1] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI2i")] + public static + void VertexAttribI2(Int32 index, Int32 x, Int32 y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI2i((UInt32)index, (Int32)x, (Int32)y); + #if DEBUG + } + #endif + } + + /// [requires: v3.0][deprecated: v3.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI2i")] + public static + void VertexAttribI2(UInt32 index, Int32 x, Int32 y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI2i((UInt32)index, (Int32)x, (Int32)y); + #if DEBUG + } + #endif + } + + /// [requires: v3.0][deprecated: v3.1] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI2iv")] + public static + void VertexAttribI2(Int32 index, Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glVertexAttribI2iv((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v3.0][deprecated: v3.1] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI2iv")] + public static + void VertexAttribI2(Int32 index, ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glVertexAttribI2iv((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v3.0][deprecated: v3.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI2iv")] + public static + unsafe void VertexAttribI2(Int32 index, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI2iv((UInt32)index, (Int32*)v); + #if DEBUG + } + #endif + } + + /// [requires: v3.0][deprecated: v3.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI2iv")] + public static + void VertexAttribI2(UInt32 index, Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glVertexAttribI2iv((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v3.0][deprecated: v3.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI2iv")] + public static + void VertexAttribI2(UInt32 index, ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glVertexAttribI2iv((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v3.0][deprecated: v3.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI2iv")] + public static + unsafe void VertexAttribI2(UInt32 index, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI2iv((UInt32)index, (Int32*)v); + #if DEBUG + } + #endif + } + + /// [requires: v3.0][deprecated: v3.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI2ui")] + public static + void VertexAttribI2(UInt32 index, UInt32 x, UInt32 y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI2ui((UInt32)index, (UInt32)x, (UInt32)y); + #if DEBUG + } + #endif + } + + /// [requires: v3.0][deprecated: v3.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI2uiv")] + public static + void VertexAttribI2(UInt32 index, UInt32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* v_ptr = v) + { + Delegates.glVertexAttribI2uiv((UInt32)index, (UInt32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v3.0][deprecated: v3.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI2uiv")] + public static + void VertexAttribI2(UInt32 index, ref UInt32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* v_ptr = &v) + { + Delegates.glVertexAttribI2uiv((UInt32)index, (UInt32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v3.0][deprecated: v3.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI2uiv")] + public static + unsafe void VertexAttribI2(UInt32 index, UInt32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI2uiv((UInt32)index, (UInt32*)v); + #if DEBUG + } + #endif + } + + /// [requires: v3.0][deprecated: v3.1] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI3i")] + public static + void VertexAttribI3(Int32 index, Int32 x, Int32 y, Int32 z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI3i((UInt32)index, (Int32)x, (Int32)y, (Int32)z); + #if DEBUG + } + #endif + } + + /// [requires: v3.0][deprecated: v3.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI3i")] + public static + void VertexAttribI3(UInt32 index, Int32 x, Int32 y, Int32 z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI3i((UInt32)index, (Int32)x, (Int32)y, (Int32)z); + #if DEBUG + } + #endif + } + + /// [requires: v3.0][deprecated: v3.1] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI3iv")] + public static + void VertexAttribI3(Int32 index, Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glVertexAttribI3iv((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v3.0][deprecated: v3.1] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI3iv")] + public static + void VertexAttribI3(Int32 index, ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glVertexAttribI3iv((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v3.0][deprecated: v3.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI3iv")] + public static + unsafe void VertexAttribI3(Int32 index, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI3iv((UInt32)index, (Int32*)v); + #if DEBUG + } + #endif + } + + /// [requires: v3.0][deprecated: v3.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI3iv")] + public static + void VertexAttribI3(UInt32 index, Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glVertexAttribI3iv((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v3.0][deprecated: v3.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI3iv")] + public static + void VertexAttribI3(UInt32 index, ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glVertexAttribI3iv((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v3.0][deprecated: v3.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI3iv")] + public static + unsafe void VertexAttribI3(UInt32 index, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI3iv((UInt32)index, (Int32*)v); + #if DEBUG + } + #endif + } + + /// [requires: v3.0][deprecated: v3.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI3ui")] + public static + void VertexAttribI3(UInt32 index, UInt32 x, UInt32 y, UInt32 z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI3ui((UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z); + #if DEBUG + } + #endif + } + + /// [requires: v3.0][deprecated: v3.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI3uiv")] + public static + void VertexAttribI3(UInt32 index, UInt32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* v_ptr = v) + { + Delegates.glVertexAttribI3uiv((UInt32)index, (UInt32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v3.0][deprecated: v3.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI3uiv")] + public static + void VertexAttribI3(UInt32 index, ref UInt32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* v_ptr = &v) + { + Delegates.glVertexAttribI3uiv((UInt32)index, (UInt32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v3.0][deprecated: v3.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI3uiv")] + public static + unsafe void VertexAttribI3(UInt32 index, UInt32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI3uiv((UInt32)index, (UInt32*)v); + #if DEBUG + } + #endif + } + + /// [requires: v3.0][deprecated: v3.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4bv")] + public static + void VertexAttribI4(UInt32 index, SByte[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (SByte* v_ptr = v) + { + Delegates.glVertexAttribI4bv((UInt32)index, (SByte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v3.0][deprecated: v3.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4bv")] + public static + void VertexAttribI4(UInt32 index, ref SByte v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (SByte* v_ptr = &v) + { + Delegates.glVertexAttribI4bv((UInt32)index, (SByte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v3.0][deprecated: v3.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4bv")] + public static + unsafe void VertexAttribI4(UInt32 index, SByte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI4bv((UInt32)index, (SByte*)v); + #if DEBUG + } + #endif + } + + /// [requires: v3.0][deprecated: v3.1] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4i")] + public static + void VertexAttribI4(Int32 index, Int32 x, Int32 y, Int32 z, Int32 w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI4i((UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w); + #if DEBUG + } + #endif + } + + /// [requires: v3.0][deprecated: v3.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4i")] + public static + void VertexAttribI4(UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI4i((UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w); + #if DEBUG + } + #endif + } + + /// [requires: v3.0][deprecated: v3.1] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4iv")] + public static + void VertexAttribI4(Int32 index, Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glVertexAttribI4iv((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v3.0][deprecated: v3.1] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4iv")] + public static + void VertexAttribI4(Int32 index, ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glVertexAttribI4iv((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v3.0][deprecated: v3.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4iv")] + public static + unsafe void VertexAttribI4(Int32 index, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI4iv((UInt32)index, (Int32*)v); + #if DEBUG + } + #endif + } + + /// [requires: v3.0][deprecated: v3.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4iv")] + public static + void VertexAttribI4(UInt32 index, Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glVertexAttribI4iv((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v3.0][deprecated: v3.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4iv")] + public static + void VertexAttribI4(UInt32 index, ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glVertexAttribI4iv((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v3.0][deprecated: v3.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4iv")] + public static + unsafe void VertexAttribI4(UInt32 index, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI4iv((UInt32)index, (Int32*)v); + #if DEBUG + } + #endif + } + + /// [requires: v3.0][deprecated: v3.1] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4sv")] + public static + void VertexAttribI4(Int32 index, Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glVertexAttribI4sv((UInt32)index, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v3.0][deprecated: v3.1] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4sv")] + public static + void VertexAttribI4(Int32 index, ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glVertexAttribI4sv((UInt32)index, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v3.0][deprecated: v3.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4sv")] + public static + unsafe void VertexAttribI4(Int32 index, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI4sv((UInt32)index, (Int16*)v); + #if DEBUG + } + #endif + } + + /// [requires: v3.0][deprecated: v3.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4sv")] + public static + void VertexAttribI4(UInt32 index, Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glVertexAttribI4sv((UInt32)index, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v3.0][deprecated: v3.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4sv")] + public static + void VertexAttribI4(UInt32 index, ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glVertexAttribI4sv((UInt32)index, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v3.0][deprecated: v3.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4sv")] + public static + unsafe void VertexAttribI4(UInt32 index, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI4sv((UInt32)index, (Int16*)v); + #if DEBUG + } + #endif + } + + /// [requires: v3.0][deprecated: v3.1] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4ubv")] + public static + void VertexAttribI4(Int32 index, Byte[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = v) + { + Delegates.glVertexAttribI4ubv((UInt32)index, (Byte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v3.0][deprecated: v3.1] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4ubv")] + public static + void VertexAttribI4(Int32 index, ref Byte v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = &v) + { + Delegates.glVertexAttribI4ubv((UInt32)index, (Byte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v3.0][deprecated: v3.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4ubv")] + public static + unsafe void VertexAttribI4(Int32 index, Byte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI4ubv((UInt32)index, (Byte*)v); + #if DEBUG + } + #endif + } + + /// [requires: v3.0][deprecated: v3.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4ubv")] + public static + void VertexAttribI4(UInt32 index, Byte[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = v) + { + Delegates.glVertexAttribI4ubv((UInt32)index, (Byte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v3.0][deprecated: v3.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4ubv")] + public static + void VertexAttribI4(UInt32 index, ref Byte v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = &v) + { + Delegates.glVertexAttribI4ubv((UInt32)index, (Byte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v3.0][deprecated: v3.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4ubv")] + public static + unsafe void VertexAttribI4(UInt32 index, Byte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI4ubv((UInt32)index, (Byte*)v); + #if DEBUG + } + #endif + } + + /// [requires: v3.0][deprecated: v3.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4ui")] + public static + void VertexAttribI4(UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI4ui((UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z, (UInt32)w); + #if DEBUG + } + #endif + } + + /// [requires: v3.0][deprecated: v3.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4uiv")] + public static + void VertexAttribI4(UInt32 index, UInt32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* v_ptr = v) + { + Delegates.glVertexAttribI4uiv((UInt32)index, (UInt32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v3.0][deprecated: v3.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4uiv")] + public static + void VertexAttribI4(UInt32 index, ref UInt32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* v_ptr = &v) + { + Delegates.glVertexAttribI4uiv((UInt32)index, (UInt32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v3.0][deprecated: v3.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4uiv")] + public static + unsafe void VertexAttribI4(UInt32 index, UInt32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI4uiv((UInt32)index, (UInt32*)v); + #if DEBUG + } + #endif + } + + /// [requires: v3.0][deprecated: v3.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4usv")] + public static + void VertexAttribI4(UInt32 index, UInt16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt16* v_ptr = v) + { + Delegates.glVertexAttribI4usv((UInt32)index, (UInt16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v3.0][deprecated: v3.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4usv")] + public static + void VertexAttribI4(UInt32 index, ref UInt16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt16* v_ptr = &v) + { + Delegates.glVertexAttribI4usv((UInt32)index, (UInt16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v3.0][deprecated: v3.1] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4usv")] + public static + unsafe void VertexAttribI4(UInt32 index, UInt16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI4usv((UInt32)index, (UInt16*)v); + #if DEBUG + } + #endif + } + + /// [requires: v3.0] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] + public static + void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIPointerType type, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribIPointerType)type, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + /// [requires: v3.0] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] + public static + void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIPointerType type, Int32 stride, [InAttribute, OutAttribute] T4[] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribIPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: v3.0] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] + public static + void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIPointerType type, Int32 stride, [InAttribute, OutAttribute] T4[,] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribIPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: v3.0] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] + public static + void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIPointerType type, Int32 stride, [InAttribute, OutAttribute] T4[,,] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribIPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: v3.0] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] + public static + void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIPointerType type, Int32 stride, [InAttribute, OutAttribute] ref T4 pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribIPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + pointer = (T4)pointer_ptr.Target; + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: v3.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] + public static + void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIPointerType type, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribIPointerType)type, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + /// [requires: v3.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] + public static + void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIPointerType type, Int32 stride, [InAttribute, OutAttribute] T4[] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribIPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: v3.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] + public static + void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIPointerType type, Int32 stride, [InAttribute, OutAttribute] T4[,] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribIPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: v3.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] + public static + void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIPointerType type, Int32 stride, [InAttribute, OutAttribute] T4[,,] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribIPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: v3.0] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] + public static + void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIPointerType type, Int32 stride, [InAttribute, OutAttribute] ref T4 pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribIPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + pointer = (T4)pointer_ptr.Target; + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_vertex_attrib_64bit] + [AutoGenerated(Category = "ARB_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexAttribL1d")] + public static + void VertexAttribL1(Int32 index, Double x) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribL1d((UInt32)index, (Double)x); + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_vertex_attrib_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexAttribL1d")] + public static + void VertexAttribL1(UInt32 index, Double x) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribL1d((UInt32)index, (Double)x); + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_vertex_attrib_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexAttribL1dv")] + public static + unsafe void VertexAttribL1(Int32 index, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribL1dv((UInt32)index, (Double*)v); + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_vertex_attrib_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexAttribL1dv")] + public static + unsafe void VertexAttribL1(UInt32 index, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribL1dv((UInt32)index, (Double*)v); + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_vertex_attrib_64bit] + [AutoGenerated(Category = "ARB_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexAttribL2d")] + public static + void VertexAttribL2(Int32 index, Double x, Double y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribL2d((UInt32)index, (Double)x, (Double)y); + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_vertex_attrib_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexAttribL2d")] + public static + void VertexAttribL2(UInt32 index, Double x, Double y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribL2d((UInt32)index, (Double)x, (Double)y); + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_vertex_attrib_64bit] + [AutoGenerated(Category = "ARB_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexAttribL2dv")] + public static + void VertexAttribL2(Int32 index, Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glVertexAttribL2dv((UInt32)index, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_vertex_attrib_64bit] + [AutoGenerated(Category = "ARB_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexAttribL2dv")] + public static + void VertexAttribL2(Int32 index, ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glVertexAttribL2dv((UInt32)index, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_vertex_attrib_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexAttribL2dv")] + public static + unsafe void VertexAttribL2(Int32 index, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribL2dv((UInt32)index, (Double*)v); + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_vertex_attrib_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexAttribL2dv")] + public static + void VertexAttribL2(UInt32 index, Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glVertexAttribL2dv((UInt32)index, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_vertex_attrib_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexAttribL2dv")] + public static + void VertexAttribL2(UInt32 index, ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glVertexAttribL2dv((UInt32)index, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_vertex_attrib_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexAttribL2dv")] + public static + unsafe void VertexAttribL2(UInt32 index, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribL2dv((UInt32)index, (Double*)v); + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_vertex_attrib_64bit] + [AutoGenerated(Category = "ARB_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexAttribL3d")] + public static + void VertexAttribL3(Int32 index, Double x, Double y, Double z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribL3d((UInt32)index, (Double)x, (Double)y, (Double)z); + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_vertex_attrib_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexAttribL3d")] + public static + void VertexAttribL3(UInt32 index, Double x, Double y, Double z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribL3d((UInt32)index, (Double)x, (Double)y, (Double)z); + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_vertex_attrib_64bit] + [AutoGenerated(Category = "ARB_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexAttribL3dv")] + public static + void VertexAttribL3(Int32 index, Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glVertexAttribL3dv((UInt32)index, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_vertex_attrib_64bit] + [AutoGenerated(Category = "ARB_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexAttribL3dv")] + public static + void VertexAttribL3(Int32 index, ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glVertexAttribL3dv((UInt32)index, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_vertex_attrib_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexAttribL3dv")] + public static + unsafe void VertexAttribL3(Int32 index, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribL3dv((UInt32)index, (Double*)v); + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_vertex_attrib_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexAttribL3dv")] + public static + void VertexAttribL3(UInt32 index, Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glVertexAttribL3dv((UInt32)index, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_vertex_attrib_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexAttribL3dv")] + public static + void VertexAttribL3(UInt32 index, ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glVertexAttribL3dv((UInt32)index, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_vertex_attrib_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexAttribL3dv")] + public static + unsafe void VertexAttribL3(UInt32 index, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribL3dv((UInt32)index, (Double*)v); + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_vertex_attrib_64bit] + [AutoGenerated(Category = "ARB_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexAttribL4d")] + public static + void VertexAttribL4(Int32 index, Double x, Double y, Double z, Double w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribL4d((UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_vertex_attrib_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexAttribL4d")] + public static + void VertexAttribL4(UInt32 index, Double x, Double y, Double z, Double w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribL4d((UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_vertex_attrib_64bit] + [AutoGenerated(Category = "ARB_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexAttribL4dv")] + public static + void VertexAttribL4(Int32 index, Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glVertexAttribL4dv((UInt32)index, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_vertex_attrib_64bit] + [AutoGenerated(Category = "ARB_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexAttribL4dv")] + public static + void VertexAttribL4(Int32 index, ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glVertexAttribL4dv((UInt32)index, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_vertex_attrib_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexAttribL4dv")] + public static + unsafe void VertexAttribL4(Int32 index, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribL4dv((UInt32)index, (Double*)v); + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_vertex_attrib_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexAttribL4dv")] + public static + void VertexAttribL4(UInt32 index, Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glVertexAttribL4dv((UInt32)index, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_vertex_attrib_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexAttribL4dv")] + public static + void VertexAttribL4(UInt32 index, ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glVertexAttribL4dv((UInt32)index, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_vertex_attrib_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexAttribL4dv")] + public static + unsafe void VertexAttribL4(UInt32 index, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribL4dv((UInt32)index, (Double*)v); + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_vertex_attrib_64bit] + [AutoGenerated(Category = "ARB_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexAttribLPointer")] + public static + void VertexAttribLPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribDPointerType type, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribLPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribDPointerType)type, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_vertex_attrib_64bit] + [AutoGenerated(Category = "ARB_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexAttribLPointer")] + public static + void VertexAttribLPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribDPointerType type, Int32 stride, [InAttribute, OutAttribute] T4[] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribLPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribDPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_vertex_attrib_64bit] + [AutoGenerated(Category = "ARB_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexAttribLPointer")] + public static + void VertexAttribLPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribDPointerType type, Int32 stride, [InAttribute, OutAttribute] T4[,] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribLPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribDPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_vertex_attrib_64bit] + [AutoGenerated(Category = "ARB_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexAttribLPointer")] + public static + void VertexAttribLPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribDPointerType type, Int32 stride, [InAttribute, OutAttribute] T4[,,] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribLPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribDPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_vertex_attrib_64bit] + [AutoGenerated(Category = "ARB_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexAttribLPointer")] + public static + void VertexAttribLPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribDPointerType type, Int32 stride, [InAttribute, OutAttribute] ref T4 pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribLPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribDPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + pointer = (T4)pointer_ptr.Target; + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_vertex_attrib_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexAttribLPointer")] + public static + void VertexAttribLPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribDPointerType type, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribLPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribDPointerType)type, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_vertex_attrib_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexAttribLPointer")] + public static + void VertexAttribLPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribDPointerType type, Int32 stride, [InAttribute, OutAttribute] T4[] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribLPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribDPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_vertex_attrib_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexAttribLPointer")] + public static + void VertexAttribLPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribDPointerType type, Int32 stride, [InAttribute, OutAttribute] T4[,] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribLPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribDPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_vertex_attrib_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexAttribLPointer")] + public static + void VertexAttribLPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribDPointerType type, Int32 stride, [InAttribute, OutAttribute] T4[,,] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribLPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribDPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: v4.1 and ARB_vertex_attrib_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexAttribLPointer")] + public static + void VertexAttribLPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribDPointerType type, Int32 stride, [InAttribute, OutAttribute] ref T4 pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribLPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribDPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + pointer = (T4)pointer_ptr.Target; + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glVertexAttribP1ui")] + public static + void VertexAttribP1(Int32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, Int32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribP1ui((UInt32)index, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (bool)normalized, (UInt32)value); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glVertexAttribP1ui")] + public static + void VertexAttribP1(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribP1ui((UInt32)index, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (bool)normalized, (UInt32)value); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glVertexAttribP1uiv")] + public static + unsafe void VertexAttribP1(Int32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, Int32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribP1uiv((UInt32)index, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (bool)normalized, (UInt32*)value); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glVertexAttribP1uiv")] + public static + unsafe void VertexAttribP1(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribP1uiv((UInt32)index, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (bool)normalized, (UInt32*)value); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glVertexAttribP2ui")] + public static + void VertexAttribP2(Int32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, Int32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribP2ui((UInt32)index, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (bool)normalized, (UInt32)value); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glVertexAttribP2ui")] + public static + void VertexAttribP2(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribP2ui((UInt32)index, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (bool)normalized, (UInt32)value); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glVertexAttribP2uiv")] + public static + unsafe void VertexAttribP2(Int32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, Int32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribP2uiv((UInt32)index, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (bool)normalized, (UInt32*)value); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glVertexAttribP2uiv")] + public static + unsafe void VertexAttribP2(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribP2uiv((UInt32)index, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (bool)normalized, (UInt32*)value); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glVertexAttribP3ui")] + public static + void VertexAttribP3(Int32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, Int32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribP3ui((UInt32)index, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (bool)normalized, (UInt32)value); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glVertexAttribP3ui")] + public static + void VertexAttribP3(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribP3ui((UInt32)index, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (bool)normalized, (UInt32)value); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glVertexAttribP3uiv")] + public static + unsafe void VertexAttribP3(Int32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, Int32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribP3uiv((UInt32)index, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (bool)normalized, (UInt32*)value); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glVertexAttribP3uiv")] + public static + unsafe void VertexAttribP3(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribP3uiv((UInt32)index, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (bool)normalized, (UInt32*)value); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glVertexAttribP4ui")] + public static + void VertexAttribP4(Int32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, Int32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribP4ui((UInt32)index, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (bool)normalized, (UInt32)value); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glVertexAttribP4ui")] + public static + void VertexAttribP4(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribP4ui((UInt32)index, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (bool)normalized, (UInt32)value); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glVertexAttribP4uiv")] + public static + unsafe void VertexAttribP4(Int32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, Int32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribP4uiv((UInt32)index, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (bool)normalized, (UInt32*)value); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glVertexAttribP4uiv")] + public static + unsafe void VertexAttribP4(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribP4uiv((UInt32)index, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (bool)normalized, (UInt32*)value); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// 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, 4. Additionally, the symbolic constant GL_BGRA is accepted by glVertexAttribPointer. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. The symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, and GL_UNSIGNED_INT are accepted by both functions. Additionally GL_HALF_FLOAT, GL_FLOAT, GL_DOUBLE, GL_FIXED, GL_INT_2_10_10_10_REV, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted by glVertexAttribPointer. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// For glVertexAttribPointer, 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 offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the GL_ARRAY_BUFFER target. The initial value is 0. + /// + /// + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] + public static + void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerType type, bool normalized, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// 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, 4. Additionally, the symbolic constant GL_BGRA is accepted by glVertexAttribPointer. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. The symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, and GL_UNSIGNED_INT are accepted by both functions. Additionally GL_HALF_FLOAT, GL_FLOAT, GL_DOUBLE, GL_FIXED, GL_INT_2_10_10_10_REV, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted by glVertexAttribPointer. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// For glVertexAttribPointer, 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 offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the GL_ARRAY_BUFFER target. The initial value is 0. + /// + /// + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] + public static + void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[] pointer) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// 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, 4. Additionally, the symbolic constant GL_BGRA is accepted by glVertexAttribPointer. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. The symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, and GL_UNSIGNED_INT are accepted by both functions. Additionally GL_HALF_FLOAT, GL_FLOAT, GL_DOUBLE, GL_FIXED, GL_INT_2_10_10_10_REV, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted by glVertexAttribPointer. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// For glVertexAttribPointer, 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 offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the GL_ARRAY_BUFFER target. The initial value is 0. + /// + /// + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] + public static + void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,] pointer) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// 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, 4. Additionally, the symbolic constant GL_BGRA is accepted by glVertexAttribPointer. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. The symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, and GL_UNSIGNED_INT are accepted by both functions. Additionally GL_HALF_FLOAT, GL_FLOAT, GL_DOUBLE, GL_FIXED, GL_INT_2_10_10_10_REV, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted by glVertexAttribPointer. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// For glVertexAttribPointer, 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 offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the GL_ARRAY_BUFFER target. The initial value is 0. + /// + /// + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] + public static + void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,,] pointer) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// 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, 4. Additionally, the symbolic constant GL_BGRA is accepted by glVertexAttribPointer. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. The symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, and GL_UNSIGNED_INT are accepted by both functions. Additionally GL_HALF_FLOAT, GL_FLOAT, GL_DOUBLE, GL_FIXED, GL_INT_2_10_10_10_REV, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted by glVertexAttribPointer. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// For glVertexAttribPointer, 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 offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the GL_ARRAY_BUFFER target. The initial value is 0. + /// + /// + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] + public static + void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] ref T5 pointer) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + pointer = (T5)pointer_ptr.Target; + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// 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, 4. Additionally, the symbolic constant GL_BGRA is accepted by glVertexAttribPointer. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. The symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, and GL_UNSIGNED_INT are accepted by both functions. Additionally GL_HALF_FLOAT, GL_FLOAT, GL_DOUBLE, GL_FIXED, GL_INT_2_10_10_10_REV, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted by glVertexAttribPointer. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// For glVertexAttribPointer, 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 offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the GL_ARRAY_BUFFER target. The initial value is 0. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] + public static + void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerType type, bool normalized, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// 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, 4. Additionally, the symbolic constant GL_BGRA is accepted by glVertexAttribPointer. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. The symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, and GL_UNSIGNED_INT are accepted by both functions. Additionally GL_HALF_FLOAT, GL_FLOAT, GL_DOUBLE, GL_FIXED, GL_INT_2_10_10_10_REV, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted by glVertexAttribPointer. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// For glVertexAttribPointer, 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 offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the GL_ARRAY_BUFFER target. The initial value is 0. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] + public static + void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[] pointer) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// 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, 4. Additionally, the symbolic constant GL_BGRA is accepted by glVertexAttribPointer. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. The symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, and GL_UNSIGNED_INT are accepted by both functions. Additionally GL_HALF_FLOAT, GL_FLOAT, GL_DOUBLE, GL_FIXED, GL_INT_2_10_10_10_REV, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted by glVertexAttribPointer. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// For glVertexAttribPointer, 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 offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the GL_ARRAY_BUFFER target. The initial value is 0. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] + public static + void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,] pointer) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// 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, 4. Additionally, the symbolic constant GL_BGRA is accepted by glVertexAttribPointer. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. The symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, and GL_UNSIGNED_INT are accepted by both functions. Additionally GL_HALF_FLOAT, GL_FLOAT, GL_DOUBLE, GL_FIXED, GL_INT_2_10_10_10_REV, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted by glVertexAttribPointer. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// For glVertexAttribPointer, 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 offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the GL_ARRAY_BUFFER target. The initial value is 0. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] + public static + void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,,] pointer) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v2.0] + /// 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, 4. Additionally, the symbolic constant GL_BGRA is accepted by glVertexAttribPointer. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. The symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, and GL_UNSIGNED_INT are accepted by both functions. Additionally GL_HALF_FLOAT, GL_FLOAT, GL_DOUBLE, GL_FIXED, GL_INT_2_10_10_10_REV, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted by glVertexAttribPointer. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// For glVertexAttribPointer, 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 offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the GL_ARRAY_BUFFER target. The initial value is 0. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] + public static + void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] ref T5 pointer) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + pointer = (T5)pointer_ptr.Target; + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glVertexP2ui")] + public static + void VertexP2(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexP2ui((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)value); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glVertexP2ui")] + public static + void VertexP2(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexP2ui((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)value); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glVertexP2uiv")] + public static + unsafe void VertexP2(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexP2uiv((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)value); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glVertexP2uiv")] + public static + unsafe void VertexP2(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexP2uiv((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)value); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glVertexP3ui")] + public static + void VertexP3(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexP3ui((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)value); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glVertexP3ui")] + public static + void VertexP3(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexP3ui((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)value); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glVertexP3uiv")] + public static + unsafe void VertexP3(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexP3uiv((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)value); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glVertexP3uiv")] + public static + unsafe void VertexP3(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexP3uiv((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)value); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glVertexP4ui")] + public static + void VertexP4(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexP4ui((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)value); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glVertexP4ui")] + public static + void VertexP4(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexP4ui((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)value); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glVertexP4uiv")] + public static + unsafe void VertexP4(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexP4uiv((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)value); + #if DEBUG + } + #endif + } + + /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glVertexP4uiv")] + public static + unsafe void VertexP4(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexP4uiv((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)value); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1][deprecated: v3.1] + /// Define an array of vertex data + /// + /// + /// + /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "VERSION_1_1_DEPRECATED", Version = "1.1", EntryPoint = "glVertexPointer")] + public static + void VertexPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexPointer((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + + /// [requires: v1.1][deprecated: v3.1] + /// Define an array of vertex data + /// + /// + /// + /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "VERSION_1_1_DEPRECATED", Version = "1.1", EntryPoint = "glVertexPointer")] + public static + void VertexPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[] pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexPointer((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1][deprecated: v3.1] + /// Define an array of vertex data + /// + /// + /// + /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "VERSION_1_1_DEPRECATED", Version = "1.1", EntryPoint = "glVertexPointer")] + public static + void VertexPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[,] pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexPointer((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1][deprecated: v3.1] + /// Define an array of vertex data + /// + /// + /// + /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "VERSION_1_1_DEPRECATED", Version = "1.1", EntryPoint = "glVertexPointer")] + public static + void VertexPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[,,] pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexPointer((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.1][deprecated: v3.1] + /// Define an array of vertex data + /// + /// + /// + /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "VERSION_1_1_DEPRECATED", Version = "1.1", EntryPoint = "glVertexPointer")] + public static + void VertexPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, Int32 stride, [InAttribute, OutAttribute] ref T3 pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexPointer((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + pointer = (T3)pointer_ptr.Target; + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.0] + /// Set the viewport + /// + /// + /// + /// Specify the lower left corner of the viewport rectangle, in pixels. The initial value is (0,0). + /// + /// + /// + /// + /// Specify the width and height of the viewport. When a GL context is first attached to a window, width and height are set to the dimensions of that window. + /// + /// + [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glViewport")] + public static + void Viewport(Int32 x, Int32 y, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glViewport((Int32)x, (Int32)y, (Int32)width, (Int32)height); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_viewport_array] + /// Set multiple viewports + /// + /// + /// + /// Specify the first viewport to set. + /// + /// + /// + /// + /// Specify the number of viewports to set. + /// + /// + /// + /// + /// Specify the address of an array containing the viewport parameters. + /// + /// + [AutoGenerated(Category = "ARB_viewport_array", Version = "4.1", EntryPoint = "glViewportArrayv")] + public static + void ViewportArray(Int32 first, Int32 count, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glViewportArrayv((UInt32)first, (Int32)count, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_viewport_array] + /// Set multiple viewports + /// + /// + /// + /// Specify the first viewport to set. + /// + /// + /// + /// + /// Specify the number of viewports to set. + /// + /// + /// + /// + /// Specify the address of an array containing the viewport parameters. + /// + /// + [AutoGenerated(Category = "ARB_viewport_array", Version = "4.1", EntryPoint = "glViewportArrayv")] + public static + void ViewportArray(Int32 first, Int32 count, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glViewportArrayv((UInt32)first, (Int32)count, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_viewport_array] + /// Set multiple viewports + /// + /// + /// + /// Specify the first viewport to set. + /// + /// + /// + /// + /// Specify the number of viewports to set. + /// + /// + /// + /// + /// Specify the address of an array containing the viewport parameters. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_viewport_array", Version = "4.1", EntryPoint = "glViewportArrayv")] + public static + unsafe void ViewportArray(Int32 first, Int32 count, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glViewportArrayv((UInt32)first, (Int32)count, (Single*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_viewport_array] + /// Set multiple viewports + /// + /// + /// + /// Specify the first viewport to set. + /// + /// + /// + /// + /// Specify the number of viewports to set. + /// + /// + /// + /// + /// Specify the address of an array containing the viewport parameters. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_viewport_array", Version = "4.1", EntryPoint = "glViewportArrayv")] + public static + void ViewportArray(UInt32 first, Int32 count, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glViewportArrayv((UInt32)first, (Int32)count, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_viewport_array] + /// Set multiple viewports + /// + /// + /// + /// Specify the first viewport to set. + /// + /// + /// + /// + /// Specify the number of viewports to set. + /// + /// + /// + /// + /// Specify the address of an array containing the viewport parameters. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_viewport_array", Version = "4.1", EntryPoint = "glViewportArrayv")] + public static + void ViewportArray(UInt32 first, Int32 count, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glViewportArrayv((UInt32)first, (Int32)count, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_viewport_array] + /// Set multiple viewports + /// + /// + /// + /// Specify the first viewport to set. + /// + /// + /// + /// + /// Specify the number of viewports to set. + /// + /// + /// + /// + /// Specify the address of an array containing the viewport parameters. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_viewport_array", Version = "4.1", EntryPoint = "glViewportArrayv")] + public static + unsafe void ViewportArray(UInt32 first, Int32 count, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glViewportArrayv((UInt32)first, (Int32)count, (Single*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_viewport_array] + /// Set a specified viewport + /// + /// + /// + /// Specify the first viewport to set. + /// + /// + /// + /// + /// For glViewportIndexedf, specifies the lower left corner of the viewport rectangle, in pixels. The initial value is (0,0). + /// + /// + /// + /// + /// For glViewportIndexedf, specifies the width and height of the viewport. When a GL context is first attached to a window, width and height are set to the dimensions of that window. + /// + /// + /// + /// + /// For glViewportIndexedfv, specifies the address of an array containing the viewport parameters. + /// + /// + [AutoGenerated(Category = "ARB_viewport_array", Version = "4.1", EntryPoint = "glViewportIndexedf")] + public static + void ViewportIndexed(Int32 index, Single x, Single y, Single w, Single h) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glViewportIndexedf((UInt32)index, (Single)x, (Single)y, (Single)w, (Single)h); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_viewport_array] + /// Set a specified viewport + /// + /// + /// + /// Specify the first viewport to set. + /// + /// + /// + /// + /// For glViewportIndexedf, specifies the lower left corner of the viewport rectangle, in pixels. The initial value is (0,0). + /// + /// + /// + /// + /// For glViewportIndexedf, specifies the width and height of the viewport. When a GL context is first attached to a window, width and height are set to the dimensions of that window. + /// + /// + /// + /// + /// For glViewportIndexedfv, specifies the address of an array containing the viewport parameters. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_viewport_array", Version = "4.1", EntryPoint = "glViewportIndexedf")] + public static + void ViewportIndexed(UInt32 index, Single x, Single y, Single w, Single h) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glViewportIndexedf((UInt32)index, (Single)x, (Single)y, (Single)w, (Single)h); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_viewport_array] + /// Set a specified viewport + /// + /// + /// + /// Specify the first viewport to set. + /// + /// + /// + /// + /// For glViewportIndexedf, specifies the lower left corner of the viewport rectangle, in pixels. The initial value is (0,0). + /// + /// + /// + /// + /// For glViewportIndexedf, specifies the width and height of the viewport. When a GL context is first attached to a window, width and height are set to the dimensions of that window. + /// + /// + /// + /// + /// For glViewportIndexedfv, specifies the address of an array containing the viewport parameters. + /// + /// + [AutoGenerated(Category = "ARB_viewport_array", Version = "4.1", EntryPoint = "glViewportIndexedfv")] + public static + void ViewportIndexed(Int32 index, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glViewportIndexedfv((UInt32)index, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_viewport_array] + /// Set a specified viewport + /// + /// + /// + /// Specify the first viewport to set. + /// + /// + /// + /// + /// For glViewportIndexedf, specifies the lower left corner of the viewport rectangle, in pixels. The initial value is (0,0). + /// + /// + /// + /// + /// For glViewportIndexedf, specifies the width and height of the viewport. When a GL context is first attached to a window, width and height are set to the dimensions of that window. + /// + /// + /// + /// + /// For glViewportIndexedfv, specifies the address of an array containing the viewport parameters. + /// + /// + [AutoGenerated(Category = "ARB_viewport_array", Version = "4.1", EntryPoint = "glViewportIndexedfv")] + public static + void ViewportIndexed(Int32 index, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glViewportIndexedfv((UInt32)index, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_viewport_array] + /// Set a specified viewport + /// + /// + /// + /// Specify the first viewport to set. + /// + /// + /// + /// + /// For glViewportIndexedf, specifies the lower left corner of the viewport rectangle, in pixels. The initial value is (0,0). + /// + /// + /// + /// + /// For glViewportIndexedf, specifies the width and height of the viewport. When a GL context is first attached to a window, width and height are set to the dimensions of that window. + /// + /// + /// + /// + /// For glViewportIndexedfv, specifies the address of an array containing the viewport parameters. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_viewport_array", Version = "4.1", EntryPoint = "glViewportIndexedfv")] + public static + unsafe void ViewportIndexed(Int32 index, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glViewportIndexedfv((UInt32)index, (Single*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_viewport_array] + /// Set a specified viewport + /// + /// + /// + /// Specify the first viewport to set. + /// + /// + /// + /// + /// For glViewportIndexedf, specifies the lower left corner of the viewport rectangle, in pixels. The initial value is (0,0). + /// + /// + /// + /// + /// For glViewportIndexedf, specifies the width and height of the viewport. When a GL context is first attached to a window, width and height are set to the dimensions of that window. + /// + /// + /// + /// + /// For glViewportIndexedfv, specifies the address of an array containing the viewport parameters. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_viewport_array", Version = "4.1", EntryPoint = "glViewportIndexedfv")] + public static + void ViewportIndexed(UInt32 index, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glViewportIndexedfv((UInt32)index, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_viewport_array] + /// Set a specified viewport + /// + /// + /// + /// Specify the first viewport to set. + /// + /// + /// + /// + /// For glViewportIndexedf, specifies the lower left corner of the viewport rectangle, in pixels. The initial value is (0,0). + /// + /// + /// + /// + /// For glViewportIndexedf, specifies the width and height of the viewport. When a GL context is first attached to a window, width and height are set to the dimensions of that window. + /// + /// + /// + /// + /// For glViewportIndexedfv, specifies the address of an array containing the viewport parameters. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_viewport_array", Version = "4.1", EntryPoint = "glViewportIndexedfv")] + public static + void ViewportIndexed(UInt32 index, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glViewportIndexedfv((UInt32)index, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v4.1 and ARB_viewport_array] + /// Set a specified viewport + /// + /// + /// + /// Specify the first viewport to set. + /// + /// + /// + /// + /// For glViewportIndexedf, specifies the lower left corner of the viewport rectangle, in pixels. The initial value is (0,0). + /// + /// + /// + /// + /// For glViewportIndexedf, specifies the width and height of the viewport. When a GL context is first attached to a window, width and height are set to the dimensions of that window. + /// + /// + /// + /// + /// For glViewportIndexedfv, specifies the address of an array containing the viewport parameters. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_viewport_array", Version = "4.1", EntryPoint = "glViewportIndexedfv")] + public static + unsafe void ViewportIndexed(UInt32 index, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glViewportIndexedfv((UInt32)index, (Single*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_sync] + /// Instruct the GL server to block until the specified sync object becomes signaled + /// + /// + /// + /// Specifies the sync object whose status to wait on. + /// + /// + /// + /// + /// A bitfield controlling the command flushing behavior. flags may be zero. + /// + /// + /// + /// + /// Specifies the timeout that the server should wait before continuing. timeout must be GL_TIMEOUT_IGNORED. + /// + /// + [AutoGenerated(Category = "ARB_sync", Version = "1.2", EntryPoint = "glWaitSync")] + public static + void WaitSync(IntPtr sync, Int32 flags, Int64 timeout) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWaitSync((IntPtr)sync, (UInt32)flags, (UInt64)timeout); + #if DEBUG + } + #endif + } + + + /// [requires: v1.2 and ARB_sync] + /// Instruct the GL server to block until the specified sync object becomes signaled + /// + /// + /// + /// Specifies the sync object whose status to wait on. + /// + /// + /// + /// + /// A bitfield controlling the command flushing behavior. flags may be zero. + /// + /// + /// + /// + /// Specifies the timeout that the server should wait before continuing. timeout must be GL_TIMEOUT_IGNORED. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_sync", Version = "1.2", EntryPoint = "glWaitSync")] + public static + void WaitSync(IntPtr sync, UInt32 flags, UInt64 timeout) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWaitSync((IntPtr)sync, (UInt32)flags, (UInt64)timeout); + #if DEBUG + } + #endif + } + + + /// [requires: v1.4][deprecated: v3.1] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "VERSION_1_4_DEPRECATED", Version = "1.4", EntryPoint = "glWindowPos2d")] + public static + void WindowPos2(Double x, Double y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos2d((Double)x, (Double)y); + #if DEBUG + } + #endif + } + + + /// [requires: v1.4][deprecated: v3.1] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "VERSION_1_4_DEPRECATED", Version = "1.4", EntryPoint = "glWindowPos2dv")] + public static + void WindowPos2(Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glWindowPos2dv((Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.4][deprecated: v3.1] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "VERSION_1_4_DEPRECATED", Version = "1.4", EntryPoint = "glWindowPos2dv")] + public static + void WindowPos2(ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glWindowPos2dv((Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.4][deprecated: v3.1] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_4_DEPRECATED", Version = "1.4", EntryPoint = "glWindowPos2dv")] + public static + unsafe void WindowPos2(Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos2dv((Double*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.4][deprecated: v3.1] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "VERSION_1_4_DEPRECATED", Version = "1.4", EntryPoint = "glWindowPos2f")] + public static + void WindowPos2(Single x, Single y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos2f((Single)x, (Single)y); + #if DEBUG + } + #endif + } + + + /// [requires: v1.4][deprecated: v3.1] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "VERSION_1_4_DEPRECATED", Version = "1.4", EntryPoint = "glWindowPos2fv")] + public static + void WindowPos2(Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glWindowPos2fv((Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.4][deprecated: v3.1] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "VERSION_1_4_DEPRECATED", Version = "1.4", EntryPoint = "glWindowPos2fv")] + public static + void WindowPos2(ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glWindowPos2fv((Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.4][deprecated: v3.1] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_4_DEPRECATED", Version = "1.4", EntryPoint = "glWindowPos2fv")] + public static + unsafe void WindowPos2(Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos2fv((Single*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.4][deprecated: v3.1] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "VERSION_1_4_DEPRECATED", Version = "1.4", EntryPoint = "glWindowPos2i")] + public static + void WindowPos2(Int32 x, Int32 y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos2i((Int32)x, (Int32)y); + #if DEBUG + } + #endif + } + + + /// [requires: v1.4][deprecated: v3.1] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "VERSION_1_4_DEPRECATED", Version = "1.4", EntryPoint = "glWindowPos2iv")] + public static + void WindowPos2(Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glWindowPos2iv((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.4][deprecated: v3.1] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "VERSION_1_4_DEPRECATED", Version = "1.4", EntryPoint = "glWindowPos2iv")] + public static + void WindowPos2(ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glWindowPos2iv((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.4][deprecated: v3.1] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_4_DEPRECATED", Version = "1.4", EntryPoint = "glWindowPos2iv")] + public static + unsafe void WindowPos2(Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos2iv((Int32*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.4][deprecated: v3.1] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "VERSION_1_4_DEPRECATED", Version = "1.4", EntryPoint = "glWindowPos2s")] + public static + void WindowPos2(Int16 x, Int16 y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos2s((Int16)x, (Int16)y); + #if DEBUG + } + #endif + } + + + /// [requires: v1.4][deprecated: v3.1] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "VERSION_1_4_DEPRECATED", Version = "1.4", EntryPoint = "glWindowPos2sv")] + public static + void WindowPos2(Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glWindowPos2sv((Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.4][deprecated: v3.1] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "VERSION_1_4_DEPRECATED", Version = "1.4", EntryPoint = "glWindowPos2sv")] + public static + void WindowPos2(ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glWindowPos2sv((Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.4][deprecated: v3.1] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_4_DEPRECATED", Version = "1.4", EntryPoint = "glWindowPos2sv")] + public static + unsafe void WindowPos2(Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos2sv((Int16*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.4][deprecated: v3.1] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "VERSION_1_4_DEPRECATED", Version = "1.4", EntryPoint = "glWindowPos3d")] + public static + void WindowPos3(Double x, Double y, Double z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos3d((Double)x, (Double)y, (Double)z); + #if DEBUG + } + #endif + } + + + /// [requires: v1.4][deprecated: v3.1] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "VERSION_1_4_DEPRECATED", Version = "1.4", EntryPoint = "glWindowPos3dv")] + public static + void WindowPos3(Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glWindowPos3dv((Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.4][deprecated: v3.1] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "VERSION_1_4_DEPRECATED", Version = "1.4", EntryPoint = "glWindowPos3dv")] + public static + void WindowPos3(ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glWindowPos3dv((Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.4][deprecated: v3.1] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_4_DEPRECATED", Version = "1.4", EntryPoint = "glWindowPos3dv")] + public static + unsafe void WindowPos3(Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos3dv((Double*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.4][deprecated: v3.1] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "VERSION_1_4_DEPRECATED", Version = "1.4", EntryPoint = "glWindowPos3f")] + public static + void WindowPos3(Single x, Single y, Single z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos3f((Single)x, (Single)y, (Single)z); + #if DEBUG + } + #endif + } + + + /// [requires: v1.4][deprecated: v3.1] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "VERSION_1_4_DEPRECATED", Version = "1.4", EntryPoint = "glWindowPos3fv")] + public static + void WindowPos3(Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glWindowPos3fv((Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.4][deprecated: v3.1] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "VERSION_1_4_DEPRECATED", Version = "1.4", EntryPoint = "glWindowPos3fv")] + public static + void WindowPos3(ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glWindowPos3fv((Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.4][deprecated: v3.1] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_4_DEPRECATED", Version = "1.4", EntryPoint = "glWindowPos3fv")] + public static + unsafe void WindowPos3(Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos3fv((Single*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.4][deprecated: v3.1] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "VERSION_1_4_DEPRECATED", Version = "1.4", EntryPoint = "glWindowPos3i")] + public static + void WindowPos3(Int32 x, Int32 y, Int32 z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos3i((Int32)x, (Int32)y, (Int32)z); + #if DEBUG + } + #endif + } + + + /// [requires: v1.4][deprecated: v3.1] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "VERSION_1_4_DEPRECATED", Version = "1.4", EntryPoint = "glWindowPos3iv")] + public static + void WindowPos3(Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glWindowPos3iv((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.4][deprecated: v3.1] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "VERSION_1_4_DEPRECATED", Version = "1.4", EntryPoint = "glWindowPos3iv")] + public static + void WindowPos3(ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glWindowPos3iv((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.4][deprecated: v3.1] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_4_DEPRECATED", Version = "1.4", EntryPoint = "glWindowPos3iv")] + public static + unsafe void WindowPos3(Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos3iv((Int32*)v); + #if DEBUG + } + #endif + } + + + /// [requires: v1.4][deprecated: v3.1] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "VERSION_1_4_DEPRECATED", Version = "1.4", EntryPoint = "glWindowPos3s")] + public static + void WindowPos3(Int16 x, Int16 y, Int16 z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos3s((Int16)x, (Int16)y, (Int16)z); + #if DEBUG + } + #endif + } + + + /// [requires: v1.4][deprecated: v3.1] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "VERSION_1_4_DEPRECATED", Version = "1.4", EntryPoint = "glWindowPos3sv")] + public static + void WindowPos3(Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glWindowPos3sv((Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.4][deprecated: v3.1] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "VERSION_1_4_DEPRECATED", Version = "1.4", EntryPoint = "glWindowPos3sv")] + public static + void WindowPos3(ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glWindowPos3sv((Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: v1.4][deprecated: v3.1] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "VERSION_1_4_DEPRECATED", Version = "1.4", EntryPoint = "glWindowPos3sv")] + public static + unsafe void WindowPos3(Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos3sv((Int16*)v); + #if DEBUG + } + #endif + } + + public static partial class Ext + { + /// [requires: EXT_separate_shader_objects] + [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "1.2", EntryPoint = "glActiveProgramEXT")] + public static + void ActiveProgram(Int32 program) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glActiveProgramEXT((UInt32)program); + #if DEBUG + } + #endif + } + + /// [requires: EXT_separate_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "1.2", EntryPoint = "glActiveProgramEXT")] + public static + void ActiveProgram(UInt32 program) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glActiveProgramEXT((UInt32)program); + #if DEBUG + } + #endif + } + + /// [requires: EXT_stencil_two_side] + [AutoGenerated(Category = "EXT_stencil_two_side", Version = "1.3", EntryPoint = "glActiveStencilFaceEXT")] + public static + void ActiveStencilFace(OpenTK.Graphics.OpenGL.ExtStencilTwoSide face) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glActiveStencilFaceEXT((OpenTK.Graphics.OpenGL.ExtStencilTwoSide)face); + #if DEBUG + } + #endif + } + + /// [requires: EXT_light_texture] + [AutoGenerated(Category = "EXT_light_texture", Version = "1.1", EntryPoint = "glApplyTextureEXT")] + public static + void ApplyTexture(OpenTK.Graphics.OpenGL.ExtLightTexture mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glApplyTextureEXT((OpenTK.Graphics.OpenGL.ExtLightTexture)mode); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_texture_object] + /// Determine if textures are loaded in texture memory + /// + /// + /// + /// Specifies the number of textures to be queried. + /// + /// + /// + /// + /// Specifies an array containing the names of the textures to be queried. + /// + /// + /// + /// + /// Specifies an array in which the texture residence status is returned. The residence status of a texture named by an element of textures is returned in the corresponding element of residences. + /// + /// + [AutoGenerated(Category = "EXT_texture_object", Version = "1.0", EntryPoint = "glAreTexturesResidentEXT")] + public static + bool AreTexturesResident(Int32 n, Int32[] textures, [OutAttribute] bool[] residences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* textures_ptr = textures) + fixed (bool* residences_ptr = residences) + { + return Delegates.glAreTexturesResidentEXT((Int32)n, (UInt32*)textures_ptr, (bool*)residences_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_texture_object] + /// Determine if textures are loaded in texture memory + /// + /// + /// + /// Specifies the number of textures to be queried. + /// + /// + /// + /// + /// Specifies an array containing the names of the textures to be queried. + /// + /// + /// + /// + /// Specifies an array in which the texture residence status is returned. The residence status of a texture named by an element of textures is returned in the corresponding element of residences. + /// + /// + [AutoGenerated(Category = "EXT_texture_object", Version = "1.0", EntryPoint = "glAreTexturesResidentEXT")] + public static + bool AreTexturesResident(Int32 n, ref Int32 textures, [OutAttribute] out bool residences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* textures_ptr = &textures) + fixed (bool* residences_ptr = &residences) + { + bool retval = Delegates.glAreTexturesResidentEXT((Int32)n, (UInt32*)textures_ptr, (bool*)residences_ptr); + residences = *residences_ptr; + return retval; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_texture_object] + /// Determine if textures are loaded in texture memory + /// + /// + /// + /// Specifies the number of textures to be queried. + /// + /// + /// + /// + /// Specifies an array containing the names of the textures to be queried. + /// + /// + /// + /// + /// Specifies an array in which the texture residence status is returned. The residence status of a texture named by an element of textures is returned in the corresponding element of residences. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_texture_object", Version = "1.0", EntryPoint = "glAreTexturesResidentEXT")] + public static + unsafe bool AreTexturesResident(Int32 n, Int32* textures, [OutAttribute] bool* residences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glAreTexturesResidentEXT((Int32)n, (UInt32*)textures, (bool*)residences); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_texture_object] + /// Determine if textures are loaded in texture memory + /// + /// + /// + /// Specifies the number of textures to be queried. + /// + /// + /// + /// + /// Specifies an array containing the names of the textures to be queried. + /// + /// + /// + /// + /// Specifies an array in which the texture residence status is returned. The residence status of a texture named by an element of textures is returned in the corresponding element of residences. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_texture_object", Version = "1.0", EntryPoint = "glAreTexturesResidentEXT")] + public static + bool AreTexturesResident(Int32 n, UInt32[] textures, [OutAttribute] bool[] residences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* textures_ptr = textures) + fixed (bool* residences_ptr = residences) + { + return Delegates.glAreTexturesResidentEXT((Int32)n, (UInt32*)textures_ptr, (bool*)residences_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_texture_object] + /// Determine if textures are loaded in texture memory + /// + /// + /// + /// Specifies the number of textures to be queried. + /// + /// + /// + /// + /// Specifies an array containing the names of the textures to be queried. + /// + /// + /// + /// + /// Specifies an array in which the texture residence status is returned. The residence status of a texture named by an element of textures is returned in the corresponding element of residences. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_texture_object", Version = "1.0", EntryPoint = "glAreTexturesResidentEXT")] + public static + bool AreTexturesResident(Int32 n, ref UInt32 textures, [OutAttribute] out bool residences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* textures_ptr = &textures) + fixed (bool* residences_ptr = &residences) + { + bool retval = Delegates.glAreTexturesResidentEXT((Int32)n, (UInt32*)textures_ptr, (bool*)residences_ptr); + residences = *residences_ptr; + return retval; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_texture_object] + /// Determine if textures are loaded in texture memory + /// + /// + /// + /// Specifies the number of textures to be queried. + /// + /// + /// + /// + /// Specifies an array containing the names of the textures to be queried. + /// + /// + /// + /// + /// Specifies an array in which the texture residence status is returned. The residence status of a texture named by an element of textures is returned in the corresponding element of residences. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_texture_object", Version = "1.0", EntryPoint = "glAreTexturesResidentEXT")] + public static + unsafe bool AreTexturesResident(Int32 n, UInt32* textures, [OutAttribute] bool* residences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glAreTexturesResidentEXT((Int32)n, (UInt32*)textures, (bool*)residences); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_vertex_array] + /// Render a vertex using the specified vertex array element + /// + /// + /// + /// Specifies an index into the enabled vertex data arrays. + /// + /// + [AutoGenerated(Category = "EXT_vertex_array", Version = "1.0", EntryPoint = "glArrayElementEXT")] + public static + void ArrayElement(Int32 i) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glArrayElementEXT((Int32)i); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_transform_feedback] + /// Start transform feedback operation + /// + /// + /// + /// Specify the output type of the primitives that will be recorded into the buffer objects that are bound for transform feedback. + /// + /// + [AutoGenerated(Category = "EXT_transform_feedback", Version = "2.0", EntryPoint = "glBeginTransformFeedbackEXT")] + public static + void BeginTransformFeedback(OpenTK.Graphics.OpenGL.ExtTransformFeedback primitiveMode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBeginTransformFeedbackEXT((OpenTK.Graphics.OpenGL.ExtTransformFeedback)primitiveMode); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glBeginVertexShaderEXT")] + public static + void BeginVertexShader() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBeginVertexShaderEXT(); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_transform_feedback] + /// Bind a buffer object to an indexed buffer target + /// + /// + /// + /// Specify the target of the bind operation. target must be either GL_TRANSFORM_FEEDBACK_BUFFER or GL_UNIFORM_BUFFER. + /// + /// + /// + /// + /// Specify the index of the binding point within the array specified by target. + /// + /// + /// + /// + /// The name of a buffer object to bind to the specified binding point. + /// + /// + [AutoGenerated(Category = "EXT_transform_feedback", Version = "2.0", EntryPoint = "glBindBufferBaseEXT")] + public static + void BindBufferBase(OpenTK.Graphics.OpenGL.ExtTransformFeedback target, Int32 index, Int32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindBufferBaseEXT((OpenTK.Graphics.OpenGL.ExtTransformFeedback)target, (UInt32)index, (UInt32)buffer); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_transform_feedback] + /// Bind a buffer object to an indexed buffer target + /// + /// + /// + /// Specify the target of the bind operation. target must be either GL_TRANSFORM_FEEDBACK_BUFFER or GL_UNIFORM_BUFFER. + /// + /// + /// + /// + /// Specify the index of the binding point within the array specified by target. + /// + /// + /// + /// + /// The name of a buffer object to bind to the specified binding point. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_transform_feedback", Version = "2.0", EntryPoint = "glBindBufferBaseEXT")] + public static + void BindBufferBase(OpenTK.Graphics.OpenGL.ExtTransformFeedback target, UInt32 index, UInt32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindBufferBaseEXT((OpenTK.Graphics.OpenGL.ExtTransformFeedback)target, (UInt32)index, (UInt32)buffer); + #if DEBUG + } + #endif + } + + /// [requires: EXT_transform_feedback] + [AutoGenerated(Category = "EXT_transform_feedback", Version = "2.0", EntryPoint = "glBindBufferOffsetEXT")] + public static + void BindBufferOffset(OpenTK.Graphics.OpenGL.ExtTransformFeedback target, Int32 index, Int32 buffer, IntPtr offset) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindBufferOffsetEXT((OpenTK.Graphics.OpenGL.ExtTransformFeedback)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset); + #if DEBUG + } + #endif + } + + /// [requires: EXT_transform_feedback] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_transform_feedback", Version = "2.0", EntryPoint = "glBindBufferOffsetEXT")] + public static + void BindBufferOffset(OpenTK.Graphics.OpenGL.ExtTransformFeedback target, UInt32 index, UInt32 buffer, IntPtr offset) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindBufferOffsetEXT((OpenTK.Graphics.OpenGL.ExtTransformFeedback)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_transform_feedback] + /// Bind a range within a buffer object to an indexed buffer target + /// + /// + /// + /// Specify the target of the bind operation. target must be either GL_TRANSFORM_FEEDBACK_BUFFER or GL_UNIFORM_BUFFER. + /// + /// + /// + /// + /// Specify the index of the binding point within the array specified by target. + /// + /// + /// + /// + /// The name of a buffer object to bind to the specified binding point. + /// + /// + /// + /// + /// The starting offset in basic machine units into the buffer object buffer. + /// + /// + /// + /// + /// The amount of data in machine units that can be read from the buffet object while used as an indexed target. + /// + /// + [AutoGenerated(Category = "EXT_transform_feedback", Version = "2.0", EntryPoint = "glBindBufferRangeEXT")] + public static + void BindBufferRange(OpenTK.Graphics.OpenGL.ExtTransformFeedback target, Int32 index, Int32 buffer, IntPtr offset, IntPtr size) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindBufferRangeEXT((OpenTK.Graphics.OpenGL.ExtTransformFeedback)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_transform_feedback] + /// Bind a range within a buffer object to an indexed buffer target + /// + /// + /// + /// Specify the target of the bind operation. target must be either GL_TRANSFORM_FEEDBACK_BUFFER or GL_UNIFORM_BUFFER. + /// + /// + /// + /// + /// Specify the index of the binding point within the array specified by target. + /// + /// + /// + /// + /// The name of a buffer object to bind to the specified binding point. + /// + /// + /// + /// + /// The starting offset in basic machine units into the buffer object buffer. + /// + /// + /// + /// + /// The amount of data in machine units that can be read from the buffet object while used as an indexed target. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_transform_feedback", Version = "2.0", EntryPoint = "glBindBufferRangeEXT")] + public static + void BindBufferRange(OpenTK.Graphics.OpenGL.ExtTransformFeedback target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindBufferRangeEXT((OpenTK.Graphics.OpenGL.ExtTransformFeedback)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_gpu_shader4] + /// Bind a user-defined varying out variable to a fragment shader color number + /// + /// + /// + /// The name of the program containing varying out variable whose binding to modify + /// + /// + /// + /// + /// The color number to bind the user-defined varying out variable to + /// + /// + /// + /// + /// The name of the user-defined varying out variable whose binding to modify + /// + /// + [AutoGenerated(Category = "EXT_gpu_shader4", Version = "2.0", EntryPoint = "glBindFragDataLocationEXT")] + public static + void BindFragDataLocation(Int32 program, Int32 color, String name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindFragDataLocationEXT((UInt32)program, (UInt32)color, (String)name); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_gpu_shader4] + /// Bind a user-defined varying out variable to a fragment shader color number + /// + /// + /// + /// The name of the program containing varying out variable whose binding to modify + /// + /// + /// + /// + /// The color number to bind the user-defined varying out variable to + /// + /// + /// + /// + /// The name of the user-defined varying out variable whose binding to modify + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_gpu_shader4", Version = "2.0", EntryPoint = "glBindFragDataLocationEXT")] + public static + void BindFragDataLocation(UInt32 program, UInt32 color, String name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindFragDataLocationEXT((UInt32)program, (UInt32)color, (String)name); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_framebuffer_object] + /// Bind a framebuffer to a framebuffer target + /// + /// + /// + /// Specifies the framebuffer target of the binding operation. + /// + /// + /// + /// + /// Specifies the name of the framebuffer object to bind. + /// + /// + [AutoGenerated(Category = "EXT_framebuffer_object", Version = "1.2", EntryPoint = "glBindFramebufferEXT")] + public static + void BindFramebuffer(OpenTK.Graphics.OpenGL.FramebufferTarget target, Int32 framebuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindFramebufferEXT((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (UInt32)framebuffer); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_framebuffer_object] + /// Bind a framebuffer to a framebuffer target + /// + /// + /// + /// Specifies the framebuffer target of the binding operation. + /// + /// + /// + /// + /// Specifies the name of the framebuffer object to bind. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_framebuffer_object", Version = "1.2", EntryPoint = "glBindFramebufferEXT")] + public static + void BindFramebuffer(OpenTK.Graphics.OpenGL.FramebufferTarget target, UInt32 framebuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindFramebufferEXT((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (UInt32)framebuffer); + #if DEBUG + } + #endif + } + + /// [requires: EXT_shader_image_load_store] + [AutoGenerated(Category = "EXT_shader_image_load_store", Version = "4.1", EntryPoint = "glBindImageTextureEXT")] + public static + void BindImageTexture(Int32 index, Int32 texture, Int32 level, bool layered, Int32 layer, OpenTK.Graphics.OpenGL.ExtShaderImageLoadStore access, Int32 format) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindImageTextureEXT((UInt32)index, (UInt32)texture, (Int32)level, (bool)layered, (Int32)layer, (OpenTK.Graphics.OpenGL.ExtShaderImageLoadStore)access, (Int32)format); + #if DEBUG + } + #endif + } + + /// [requires: EXT_shader_image_load_store] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_shader_image_load_store", Version = "4.1", EntryPoint = "glBindImageTextureEXT")] + public static + void BindImageTexture(UInt32 index, UInt32 texture, Int32 level, bool layered, Int32 layer, OpenTK.Graphics.OpenGL.ExtShaderImageLoadStore access, Int32 format) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindImageTextureEXT((UInt32)index, (UInt32)texture, (Int32)level, (bool)layered, (Int32)layer, (OpenTK.Graphics.OpenGL.ExtShaderImageLoadStore)access, (Int32)format); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glBindLightParameterEXT")] + public static + Int32 BindLightParameter(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glBindLightParameterEXT((OpenTK.Graphics.OpenGL.LightName)light, (OpenTK.Graphics.OpenGL.LightParameter)value); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glBindMaterialParameterEXT")] + public static + Int32 BindMaterialParameter(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glBindMaterialParameterEXT((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)value); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glBindMultiTextureEXT")] + public static + void BindMultiTexture(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 texture) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindMultiTextureEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (UInt32)texture); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glBindMultiTextureEXT")] + public static + void BindMultiTexture(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, UInt32 texture) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindMultiTextureEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (UInt32)texture); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glBindParameterEXT")] + public static + Int32 BindParameter(OpenTK.Graphics.OpenGL.ExtVertexShader value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glBindParameterEXT((OpenTK.Graphics.OpenGL.ExtVertexShader)value); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_framebuffer_object] + /// Bind a renderbuffer to a renderbuffer target + /// + /// + /// + /// Specifies the renderbuffer target of the binding operation. target must be GL_RENDERBUFFER. + /// + /// + /// + /// + /// Specifies the name of the renderbuffer object to bind. + /// + /// + [AutoGenerated(Category = "EXT_framebuffer_object", Version = "1.2", EntryPoint = "glBindRenderbufferEXT")] + public static + void BindRenderbuffer(OpenTK.Graphics.OpenGL.RenderbufferTarget target, Int32 renderbuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindRenderbufferEXT((OpenTK.Graphics.OpenGL.RenderbufferTarget)target, (UInt32)renderbuffer); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_framebuffer_object] + /// Bind a renderbuffer to a renderbuffer target + /// + /// + /// + /// Specifies the renderbuffer target of the binding operation. target must be GL_RENDERBUFFER. + /// + /// + /// + /// + /// Specifies the name of the renderbuffer object to bind. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_framebuffer_object", Version = "1.2", EntryPoint = "glBindRenderbufferEXT")] + public static + void BindRenderbuffer(OpenTK.Graphics.OpenGL.RenderbufferTarget target, UInt32 renderbuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindRenderbufferEXT((OpenTK.Graphics.OpenGL.RenderbufferTarget)target, (UInt32)renderbuffer); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glBindTexGenParameterEXT")] + public static + Int32 BindTexGenParameter(OpenTK.Graphics.OpenGL.TextureUnit unit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glBindTexGenParameterEXT((OpenTK.Graphics.OpenGL.TextureUnit)unit, (OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)value); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_texture_object] + /// Bind a named texture to a texturing target + /// + /// + /// + /// Specifies the target to which the texture is bound. Must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, or GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, GL_TEXTURE_CUBE_MAP, GL_TEXTURE_2D_MULTISAMPLE or GL_TEXTURE_2D_MULTISAMPLE_ARRAY. + /// + /// + /// + /// + /// Specifies the name of a texture. + /// + /// + [AutoGenerated(Category = "EXT_texture_object", Version = "1.0", EntryPoint = "glBindTextureEXT")] + public static + void BindTexture(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 texture) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindTextureEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (UInt32)texture); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_texture_object] + /// Bind a named texture to a texturing target + /// + /// + /// + /// Specifies the target to which the texture is bound. Must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, or GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, GL_TEXTURE_CUBE_MAP, GL_TEXTURE_2D_MULTISAMPLE or GL_TEXTURE_2D_MULTISAMPLE_ARRAY. + /// + /// + /// + /// + /// Specifies the name of a texture. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_texture_object", Version = "1.0", EntryPoint = "glBindTextureEXT")] + public static + void BindTexture(OpenTK.Graphics.OpenGL.TextureTarget target, UInt32 texture) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindTextureEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (UInt32)texture); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glBindTextureUnitParameterEXT")] + public static + Int32 BindTextureUnitParameter(OpenTK.Graphics.OpenGL.TextureUnit unit, OpenTK.Graphics.OpenGL.ExtVertexShader value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glBindTextureUnitParameterEXT((OpenTK.Graphics.OpenGL.TextureUnit)unit, (OpenTK.Graphics.OpenGL.ExtVertexShader)value); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glBindVertexShaderEXT")] + public static + void BindVertexShader(Int32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindVertexShaderEXT((UInt32)id); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glBindVertexShaderEXT")] + public static + void BindVertexShader(UInt32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindVertexShaderEXT((UInt32)id); + #if DEBUG + } + #endif + } + + /// [requires: EXT_coordinate_frame] + [AutoGenerated(Category = "EXT_coordinate_frame", Version = "1.1", EntryPoint = "glBinormal3bEXT")] + public static + void Binormal3(Byte bx, Byte by, Byte bz) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBinormal3bEXT((SByte)bx, (SByte)by, (SByte)bz); + #if DEBUG + } + #endif + } + + /// [requires: EXT_coordinate_frame] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_coordinate_frame", Version = "1.1", EntryPoint = "glBinormal3bEXT")] + public static + void Binormal3(SByte bx, SByte by, SByte bz) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBinormal3bEXT((SByte)bx, (SByte)by, (SByte)bz); + #if DEBUG + } + #endif + } + + /// [requires: EXT_coordinate_frame] + [AutoGenerated(Category = "EXT_coordinate_frame", Version = "1.1", EntryPoint = "glBinormal3bvEXT")] + public static + void Binormal3(Byte[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = v) + { + Delegates.glBinormal3bvEXT((SByte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_coordinate_frame] + [AutoGenerated(Category = "EXT_coordinate_frame", Version = "1.1", EntryPoint = "glBinormal3bvEXT")] + public static + void Binormal3(ref Byte v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = &v) + { + Delegates.glBinormal3bvEXT((SByte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_coordinate_frame] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_coordinate_frame", Version = "1.1", EntryPoint = "glBinormal3bvEXT")] + public static + unsafe void Binormal3(Byte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBinormal3bvEXT((SByte*)v); + #if DEBUG + } + #endif + } + + /// [requires: EXT_coordinate_frame] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_coordinate_frame", Version = "1.1", EntryPoint = "glBinormal3bvEXT")] + public static + void Binormal3(SByte[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (SByte* v_ptr = v) + { + Delegates.glBinormal3bvEXT((SByte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_coordinate_frame] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_coordinate_frame", Version = "1.1", EntryPoint = "glBinormal3bvEXT")] + public static + void Binormal3(ref SByte v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (SByte* v_ptr = &v) + { + Delegates.glBinormal3bvEXT((SByte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_coordinate_frame] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_coordinate_frame", Version = "1.1", EntryPoint = "glBinormal3bvEXT")] + public static + unsafe void Binormal3(SByte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBinormal3bvEXT((SByte*)v); + #if DEBUG + } + #endif + } + + /// [requires: EXT_coordinate_frame] + [AutoGenerated(Category = "EXT_coordinate_frame", Version = "1.1", EntryPoint = "glBinormal3dEXT")] + public static + void Binormal3(Double bx, Double by, Double bz) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBinormal3dEXT((Double)bx, (Double)by, (Double)bz); + #if DEBUG + } + #endif + } + + /// [requires: EXT_coordinate_frame] + [AutoGenerated(Category = "EXT_coordinate_frame", Version = "1.1", EntryPoint = "glBinormal3dvEXT")] + public static + void Binormal3(Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glBinormal3dvEXT((Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_coordinate_frame] + [AutoGenerated(Category = "EXT_coordinate_frame", Version = "1.1", EntryPoint = "glBinormal3dvEXT")] + public static + void Binormal3(ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glBinormal3dvEXT((Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_coordinate_frame] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_coordinate_frame", Version = "1.1", EntryPoint = "glBinormal3dvEXT")] + public static + unsafe void Binormal3(Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBinormal3dvEXT((Double*)v); + #if DEBUG + } + #endif + } + + /// [requires: EXT_coordinate_frame] + [AutoGenerated(Category = "EXT_coordinate_frame", Version = "1.1", EntryPoint = "glBinormal3fEXT")] + public static + void Binormal3(Single bx, Single by, Single bz) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBinormal3fEXT((Single)bx, (Single)by, (Single)bz); + #if DEBUG + } + #endif + } + + /// [requires: EXT_coordinate_frame] + [AutoGenerated(Category = "EXT_coordinate_frame", Version = "1.1", EntryPoint = "glBinormal3fvEXT")] + public static + void Binormal3(Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glBinormal3fvEXT((Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_coordinate_frame] + [AutoGenerated(Category = "EXT_coordinate_frame", Version = "1.1", EntryPoint = "glBinormal3fvEXT")] + public static + void Binormal3(ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glBinormal3fvEXT((Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_coordinate_frame] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_coordinate_frame", Version = "1.1", EntryPoint = "glBinormal3fvEXT")] + public static + unsafe void Binormal3(Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBinormal3fvEXT((Single*)v); + #if DEBUG + } + #endif + } + + /// [requires: EXT_coordinate_frame] + [AutoGenerated(Category = "EXT_coordinate_frame", Version = "1.1", EntryPoint = "glBinormal3iEXT")] + public static + void Binormal3(Int32 bx, Int32 by, Int32 bz) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBinormal3iEXT((Int32)bx, (Int32)by, (Int32)bz); + #if DEBUG + } + #endif + } + + /// [requires: EXT_coordinate_frame] + [AutoGenerated(Category = "EXT_coordinate_frame", Version = "1.1", EntryPoint = "glBinormal3ivEXT")] + public static + void Binormal3(Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glBinormal3ivEXT((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_coordinate_frame] + [AutoGenerated(Category = "EXT_coordinate_frame", Version = "1.1", EntryPoint = "glBinormal3ivEXT")] + public static + void Binormal3(ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glBinormal3ivEXT((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_coordinate_frame] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_coordinate_frame", Version = "1.1", EntryPoint = "glBinormal3ivEXT")] + public static + unsafe void Binormal3(Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBinormal3ivEXT((Int32*)v); + #if DEBUG + } + #endif + } + + /// [requires: EXT_coordinate_frame] + [AutoGenerated(Category = "EXT_coordinate_frame", Version = "1.1", EntryPoint = "glBinormal3sEXT")] + public static + void Binormal3(Int16 bx, Int16 by, Int16 bz) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBinormal3sEXT((Int16)bx, (Int16)by, (Int16)bz); + #if DEBUG + } + #endif + } + + /// [requires: EXT_coordinate_frame] + [AutoGenerated(Category = "EXT_coordinate_frame", Version = "1.1", EntryPoint = "glBinormal3svEXT")] + public static + void Binormal3(Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glBinormal3svEXT((Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_coordinate_frame] + [AutoGenerated(Category = "EXT_coordinate_frame", Version = "1.1", EntryPoint = "glBinormal3svEXT")] + public static + void Binormal3(ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glBinormal3svEXT((Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_coordinate_frame] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_coordinate_frame", Version = "1.1", EntryPoint = "glBinormal3svEXT")] + public static + unsafe void Binormal3(Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBinormal3svEXT((Int16*)v); + #if DEBUG + } + #endif + } + + /// [requires: EXT_coordinate_frame] + [AutoGenerated(Category = "EXT_coordinate_frame", Version = "1.1", EntryPoint = "glBinormalPointerEXT")] + public static + void BinormalPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBinormalPointerEXT((OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + /// [requires: EXT_coordinate_frame] + [AutoGenerated(Category = "EXT_coordinate_frame", Version = "1.1", EntryPoint = "glBinormalPointerEXT")] + public static + void BinormalPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, [InAttribute, OutAttribute] T2[] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glBinormalPointerEXT((OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_coordinate_frame] + [AutoGenerated(Category = "EXT_coordinate_frame", Version = "1.1", EntryPoint = "glBinormalPointerEXT")] + public static + void BinormalPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, [InAttribute, OutAttribute] T2[,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glBinormalPointerEXT((OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_coordinate_frame] + [AutoGenerated(Category = "EXT_coordinate_frame", Version = "1.1", EntryPoint = "glBinormalPointerEXT")] + public static + void BinormalPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, [InAttribute, OutAttribute] T2[,,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glBinormalPointerEXT((OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_coordinate_frame] + [AutoGenerated(Category = "EXT_coordinate_frame", Version = "1.1", EntryPoint = "glBinormalPointerEXT")] + public static + void BinormalPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, [InAttribute, OutAttribute] ref T2 pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glBinormalPointerEXT((OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + pointer = (T2)pointer_ptr.Target; + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_blend_color] + /// Set the blend color + /// + /// + /// + /// specify the components of GL_BLEND_COLOR + /// + /// + [AutoGenerated(Category = "EXT_blend_color", Version = "1.0", EntryPoint = "glBlendColorEXT")] + public static + void BlendColor(Single red, Single green, Single blue, Single alpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBlendColorEXT((Single)red, (Single)green, (Single)blue, (Single)alpha); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_blend_minmax] + /// Specify the equation used for both the RGB blend equation and the Alpha blend equation + /// + /// + /// + /// specifies how source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX. + /// + /// + [AutoGenerated(Category = "EXT_blend_minmax", Version = "1.0", EntryPoint = "glBlendEquationEXT")] + public static + void BlendEquation(OpenTK.Graphics.OpenGL.ExtBlendMinmax mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBlendEquationEXT((OpenTK.Graphics.OpenGL.ExtBlendMinmax)mode); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_blend_equation_separate] + /// Set the RGB blend equation and the alpha blend equation separately + /// + /// + /// + /// specifies the RGB blend equation, how the red, green, and blue components of the source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX. + /// + /// + /// + /// + /// specifies the alpha blend equation, how the alpha component of the source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX. + /// + /// + [AutoGenerated(Category = "EXT_blend_equation_separate", Version = "1.2", EntryPoint = "glBlendEquationSeparateEXT")] + public static + void BlendEquationSeparate(OpenTK.Graphics.OpenGL.ExtBlendEquationSeparate modeRGB, OpenTK.Graphics.OpenGL.ExtBlendEquationSeparate modeAlpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBlendEquationSeparateEXT((OpenTK.Graphics.OpenGL.ExtBlendEquationSeparate)modeRGB, (OpenTK.Graphics.OpenGL.ExtBlendEquationSeparate)modeAlpha); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_blend_func_separate] + /// Specify pixel arithmetic for RGB and alpha components separately + /// + /// + /// + /// Specifies how the red, green, and blue blending factors are computed. The initial value is GL_ONE. + /// + /// + /// + /// + /// Specifies how the red, green, and blue destination blending factors are computed. The initial value is GL_ZERO. + /// + /// + /// + /// + /// Specified how the alpha source blending factor is computed. The initial value is GL_ONE. + /// + /// + /// + /// + /// Specified how the alpha destination blending factor is computed. The initial value is GL_ZERO. + /// + /// + [AutoGenerated(Category = "EXT_blend_func_separate", Version = "1.0", EntryPoint = "glBlendFuncSeparateEXT")] + public static + void BlendFuncSeparate(OpenTK.Graphics.OpenGL.ExtBlendFuncSeparate sfactorRGB, OpenTK.Graphics.OpenGL.ExtBlendFuncSeparate dfactorRGB, OpenTK.Graphics.OpenGL.ExtBlendFuncSeparate sfactorAlpha, OpenTK.Graphics.OpenGL.ExtBlendFuncSeparate dfactorAlpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBlendFuncSeparateEXT((OpenTK.Graphics.OpenGL.ExtBlendFuncSeparate)sfactorRGB, (OpenTK.Graphics.OpenGL.ExtBlendFuncSeparate)dfactorRGB, (OpenTK.Graphics.OpenGL.ExtBlendFuncSeparate)sfactorAlpha, (OpenTK.Graphics.OpenGL.ExtBlendFuncSeparate)dfactorAlpha); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_framebuffer_blit] + /// Copy a block of pixels from the read framebuffer to the draw framebuffer + /// + /// + /// + /// Specify the bounds of the source rectangle within the read buffer of the read framebuffer. + /// + /// + /// + /// + /// Specify the bounds of the destination rectangle within the write buffer of the write framebuffer. + /// + /// + /// + /// + /// The bitwise OR of the flags indicating which buffers are to be copied. The allowed flags are GL_COLOR_BUFFER_BIT, GL_DEPTH_BUFFER_BIT and GL_STENCIL_BUFFER_BIT. + /// + /// + /// + /// + /// Specifies the interpolation to be applied if the image is stretched. Must be GL_NEAREST or GL_LINEAR. + /// + /// + [AutoGenerated(Category = "EXT_framebuffer_blit", Version = "1.5", EntryPoint = "glBlitFramebufferEXT")] + public static + void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.OpenGL.ClearBufferMask mask, OpenTK.Graphics.OpenGL.ExtFramebufferBlit filter) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBlitFramebufferEXT((Int32)srcX0, (Int32)srcY0, (Int32)srcX1, (Int32)srcY1, (Int32)dstX0, (Int32)dstY0, (Int32)dstX1, (Int32)dstY1, (OpenTK.Graphics.OpenGL.ClearBufferMask)mask, (OpenTK.Graphics.OpenGL.ExtFramebufferBlit)filter); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_framebuffer_object] + /// Check the completeness status of a framebuffer + /// + /// + /// + /// Specify the target of the framebuffer completeness check. + /// + /// + [AutoGenerated(Category = "EXT_framebuffer_object", Version = "1.2", EntryPoint = "glCheckFramebufferStatusEXT")] + public static + OpenTK.Graphics.OpenGL.FramebufferErrorCode CheckFramebufferStatus(OpenTK.Graphics.OpenGL.FramebufferTarget target) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glCheckFramebufferStatusEXT((OpenTK.Graphics.OpenGL.FramebufferTarget)target); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCheckNamedFramebufferStatusEXT")] + public static + OpenTK.Graphics.OpenGL.ExtDirectStateAccess CheckNamedFramebufferStatus(Int32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferTarget target) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glCheckNamedFramebufferStatusEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferTarget)target); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCheckNamedFramebufferStatusEXT")] + public static + OpenTK.Graphics.OpenGL.ExtDirectStateAccess CheckNamedFramebufferStatus(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferTarget target) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glCheckNamedFramebufferStatusEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferTarget)target); + #if DEBUG + } + #endif + } + + /// [requires: EXT_texture_integer] + [AutoGenerated(Category = "EXT_texture_integer", Version = "2.0", EntryPoint = "glClearColorIiEXT")] + public static + void ClearColorI(Int32 red, Int32 green, Int32 blue, Int32 alpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glClearColorIiEXT((Int32)red, (Int32)green, (Int32)blue, (Int32)alpha); + #if DEBUG + } + #endif + } + + /// [requires: EXT_texture_integer] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_texture_integer", Version = "2.0", EntryPoint = "glClearColorIuiEXT")] + public static + void ClearColorI(UInt32 red, UInt32 green, UInt32 blue, UInt32 alpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glClearColorIuiEXT((UInt32)red, (UInt32)green, (UInt32)blue, (UInt32)alpha); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glClientAttribDefaultEXT")] + public static + void ClientAttribDefault(OpenTK.Graphics.OpenGL.ClientAttribMask mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glClientAttribDefaultEXT((OpenTK.Graphics.OpenGL.ClientAttribMask)mask); + #if DEBUG + } + #endif + } + + /// [requires: EXT_draw_buffers2] + [AutoGenerated(Category = "EXT_draw_buffers2", Version = "2.0", EntryPoint = "glColorMaskIndexedEXT")] + public static + void ColorMaskIndexed(Int32 index, bool r, bool g, bool b, bool a) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColorMaskIndexedEXT((UInt32)index, (bool)r, (bool)g, (bool)b, (bool)a); + #if DEBUG + } + #endif + } + + /// [requires: EXT_draw_buffers2] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_draw_buffers2", Version = "2.0", EntryPoint = "glColorMaskIndexedEXT")] + public static + void ColorMaskIndexed(UInt32 index, bool r, bool g, bool b, bool a) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColorMaskIndexedEXT((UInt32)index, (bool)r, (bool)g, (bool)b, (bool)a); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_vertex_array] + /// Define an array of colors + /// + /// + /// + /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "EXT_vertex_array", Version = "1.0", EntryPoint = "glColorPointerEXT")] + public static + void ColorPointer(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, Int32 count, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColorPointerEXT((Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_vertex_array] + /// Define an array of colors + /// + /// + /// + /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "EXT_vertex_array", Version = "1.0", EntryPoint = "glColorPointerEXT")] + public static + void ColorPointer(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, Int32 count, [InAttribute, OutAttribute] T4[] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glColorPointerEXT((Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_vertex_array] + /// Define an array of colors + /// + /// + /// + /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "EXT_vertex_array", Version = "1.0", EntryPoint = "glColorPointerEXT")] + public static + void ColorPointer(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, Int32 count, [InAttribute, OutAttribute] T4[,] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glColorPointerEXT((Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_vertex_array] + /// Define an array of colors + /// + /// + /// + /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "EXT_vertex_array", Version = "1.0", EntryPoint = "glColorPointerEXT")] + public static + void ColorPointer(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, Int32 count, [InAttribute, OutAttribute] T4[,,] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glColorPointerEXT((Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_vertex_array] + /// Define an array of colors + /// + /// + /// + /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "EXT_vertex_array", Version = "1.0", EntryPoint = "glColorPointerEXT")] + public static + void ColorPointer(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, Int32 count, [InAttribute, OutAttribute] ref T4 pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glColorPointerEXT((Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + pointer = (T4)pointer_ptr.Target; + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_color_subtable] + /// Respecify a portion of a color table + /// + /// + /// + /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The starting index of the portion of the color table to be replaced. + /// + /// + /// + /// + /// The number of table entries to replace. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to replace the specified region of the color table. + /// + /// + [AutoGenerated(Category = "EXT_color_subtable", Version = "1.2", EntryPoint = "glColorSubTableEXT")] + public static + void ColorSubTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColorSubTableEXT((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (Int32)start, (Int32)count, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_color_subtable] + /// Respecify a portion of a color table + /// + /// + /// + /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The starting index of the portion of the color table to be replaced. + /// + /// + /// + /// + /// The number of table entries to replace. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to replace the specified region of the color table. + /// + /// + [AutoGenerated(Category = "EXT_color_subtable", Version = "1.2", EntryPoint = "glColorSubTableEXT")] + public static + void ColorSubTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[] data) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glColorSubTableEXT((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (Int32)start, (Int32)count, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_color_subtable] + /// Respecify a portion of a color table + /// + /// + /// + /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The starting index of the portion of the color table to be replaced. + /// + /// + /// + /// + /// The number of table entries to replace. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to replace the specified region of the color table. + /// + /// + [AutoGenerated(Category = "EXT_color_subtable", Version = "1.2", EntryPoint = "glColorSubTableEXT")] + public static + void ColorSubTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[,] data) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glColorSubTableEXT((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (Int32)start, (Int32)count, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_color_subtable] + /// Respecify a portion of a color table + /// + /// + /// + /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The starting index of the portion of the color table to be replaced. + /// + /// + /// + /// + /// The number of table entries to replace. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to replace the specified region of the color table. + /// + /// + [AutoGenerated(Category = "EXT_color_subtable", Version = "1.2", EntryPoint = "glColorSubTableEXT")] + public static + void ColorSubTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[,,] data) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glColorSubTableEXT((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (Int32)start, (Int32)count, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_color_subtable] + /// Respecify a portion of a color table + /// + /// + /// + /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The starting index of the portion of the color table to be replaced. + /// + /// + /// + /// + /// The number of table entries to replace. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to replace the specified region of the color table. + /// + /// + [AutoGenerated(Category = "EXT_color_subtable", Version = "1.2", EntryPoint = "glColorSubTableEXT")] + public static + void ColorSubTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T5 data) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glColorSubTableEXT((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (Int32)start, (Int32)count, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); + data = (T5)data_ptr.Target; + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_paletted_texture] + /// Define a color lookup table + /// + /// + /// + /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The internal format of the color table. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, and GL_RGBA16. + /// + /// + /// + /// + /// The number of entries in the color lookup table specified by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. + /// + /// + [AutoGenerated(Category = "EXT_paletted_texture", Version = "1.1", EntryPoint = "glColorTableEXT")] + public static + void ColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalFormat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr table) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColorTableEXT((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalFormat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_paletted_texture] + /// Define a color lookup table + /// + /// + /// + /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The internal format of the color table. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, and GL_RGBA16. + /// + /// + /// + /// + /// The number of entries in the color lookup table specified by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. + /// + /// + [AutoGenerated(Category = "EXT_paletted_texture", Version = "1.1", EntryPoint = "glColorTableEXT")] + public static + void ColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalFormat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[] table) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); + try + { + Delegates.glColorTableEXT((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalFormat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + } + finally + { + table_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_paletted_texture] + /// Define a color lookup table + /// + /// + /// + /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The internal format of the color table. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, and GL_RGBA16. + /// + /// + /// + /// + /// The number of entries in the color lookup table specified by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. + /// + /// + [AutoGenerated(Category = "EXT_paletted_texture", Version = "1.1", EntryPoint = "glColorTableEXT")] + public static + void ColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalFormat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[,] table) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); + try + { + Delegates.glColorTableEXT((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalFormat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + } + finally + { + table_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_paletted_texture] + /// Define a color lookup table + /// + /// + /// + /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The internal format of the color table. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, and GL_RGBA16. + /// + /// + /// + /// + /// The number of entries in the color lookup table specified by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. + /// + /// + [AutoGenerated(Category = "EXT_paletted_texture", Version = "1.1", EntryPoint = "glColorTableEXT")] + public static + void ColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalFormat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[,,] table) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); + try + { + Delegates.glColorTableEXT((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalFormat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + } + finally + { + table_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_paletted_texture] + /// Define a color lookup table + /// + /// + /// + /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The internal format of the color table. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, and GL_RGBA16. + /// + /// + /// + /// + /// The number of entries in the color lookup table specified by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. + /// + /// + [AutoGenerated(Category = "EXT_paletted_texture", Version = "1.1", EntryPoint = "glColorTableEXT")] + public static + void ColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalFormat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T5 table) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); + try + { + Delegates.glColorTableEXT((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalFormat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + table = (T5)table_ptr.Target; + } + finally + { + table_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedMultiTexImage1DEXT")] + public static + void CompressedMultiTexImage1D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr bits) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedMultiTexImage1DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedMultiTexImage1DEXT")] + public static + void CompressedMultiTexImage1D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[] bits) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedMultiTexImage1DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedMultiTexImage1DEXT")] + public static + void CompressedMultiTexImage1D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,] bits) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedMultiTexImage1DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedMultiTexImage1DEXT")] + public static + void CompressedMultiTexImage1D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,,] bits) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedMultiTexImage1DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedMultiTexImage1DEXT")] + public static + void CompressedMultiTexImage1D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T7 bits) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedMultiTexImage1DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + bits = (T7)bits_ptr.Target; + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedMultiTexImage2DEXT")] + public static + void CompressedMultiTexImage2D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr bits) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedMultiTexImage2DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedMultiTexImage2DEXT")] + public static + void CompressedMultiTexImage2D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[] bits) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedMultiTexImage2DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedMultiTexImage2DEXT")] + public static + void CompressedMultiTexImage2D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[,] bits) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedMultiTexImage2DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedMultiTexImage2DEXT")] + public static + void CompressedMultiTexImage2D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[,,] bits) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedMultiTexImage2DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedMultiTexImage2DEXT")] + public static + void CompressedMultiTexImage2D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T8 bits) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedMultiTexImage2DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + bits = (T8)bits_ptr.Target; + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedMultiTexImage3DEXT")] + public static + void CompressedMultiTexImage3D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr bits) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedMultiTexImage3DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedMultiTexImage3DEXT")] + public static + void CompressedMultiTexImage3D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T9[] bits) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedMultiTexImage3DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedMultiTexImage3DEXT")] + public static + void CompressedMultiTexImage3D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T9[,] bits) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedMultiTexImage3DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedMultiTexImage3DEXT")] + public static + void CompressedMultiTexImage3D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T9[,,] bits) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedMultiTexImage3DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedMultiTexImage3DEXT")] + public static + void CompressedMultiTexImage3D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T9 bits) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedMultiTexImage3DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + bits = (T9)bits_ptr.Target; + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedMultiTexSubImage1DEXT")] + public static + void CompressedMultiTexSubImage1D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr bits) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedMultiTexSubImage1DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedMultiTexSubImage1DEXT")] + public static + void CompressedMultiTexSubImage1D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T7[] bits) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedMultiTexSubImage1DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedMultiTexSubImage1DEXT")] + public static + void CompressedMultiTexSubImage1D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T7[,] bits) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedMultiTexSubImage1DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedMultiTexSubImage1DEXT")] + public static + void CompressedMultiTexSubImage1D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T7[,,] bits) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedMultiTexSubImage1DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedMultiTexSubImage1DEXT")] + public static + void CompressedMultiTexSubImage1D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] ref T7 bits) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedMultiTexSubImage1DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + bits = (T7)bits_ptr.Target; + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedMultiTexSubImage2DEXT")] + public static + void CompressedMultiTexSubImage2D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr bits) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedMultiTexSubImage2DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedMultiTexSubImage2DEXT")] + public static + void CompressedMultiTexSubImage2D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T9[] bits) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedMultiTexSubImage2DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedMultiTexSubImage2DEXT")] + public static + void CompressedMultiTexSubImage2D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T9[,] bits) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedMultiTexSubImage2DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedMultiTexSubImage2DEXT")] + public static + void CompressedMultiTexSubImage2D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T9[,,] bits) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedMultiTexSubImage2DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedMultiTexSubImage2DEXT")] + public static + void CompressedMultiTexSubImage2D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] ref T9 bits) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedMultiTexSubImage2DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + bits = (T9)bits_ptr.Target; + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedMultiTexSubImage3DEXT")] + public static + void CompressedMultiTexSubImage3D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr bits) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedMultiTexSubImage3DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedMultiTexSubImage3DEXT")] + public static + void CompressedMultiTexSubImage3D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T11[] bits) + where T11 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedMultiTexSubImage3DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedMultiTexSubImage3DEXT")] + public static + void CompressedMultiTexSubImage3D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T11[,] bits) + where T11 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedMultiTexSubImage3DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedMultiTexSubImage3DEXT")] + public static + void CompressedMultiTexSubImage3D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T11[,,] bits) + where T11 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedMultiTexSubImage3DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedMultiTexSubImage3DEXT")] + public static + void CompressedMultiTexSubImage3D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] ref T11 bits) + where T11 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedMultiTexSubImage3DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + bits = (T11)bits_ptr.Target; + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureImage1DEXT")] + public static + void CompressedTextureImage1D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr bits) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureImage1DEXT")] + public static + void CompressedTextureImage1D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[] bits) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureImage1DEXT")] + public static + void CompressedTextureImage1D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,] bits) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureImage1DEXT")] + public static + void CompressedTextureImage1D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,,] bits) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureImage1DEXT")] + public static + void CompressedTextureImage1D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T7 bits) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + bits = (T7)bits_ptr.Target; + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureImage1DEXT")] + public static + void CompressedTextureImage1D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr bits) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureImage1DEXT")] + public static + void CompressedTextureImage1D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[] bits) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureImage1DEXT")] + public static + void CompressedTextureImage1D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,] bits) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureImage1DEXT")] + public static + void CompressedTextureImage1D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,,] bits) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureImage1DEXT")] + public static + void CompressedTextureImage1D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T7 bits) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + bits = (T7)bits_ptr.Target; + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureImage2DEXT")] + public static + void CompressedTextureImage2D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr bits) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureImage2DEXT")] + public static + void CompressedTextureImage2D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[] bits) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureImage2DEXT")] + public static + void CompressedTextureImage2D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[,] bits) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureImage2DEXT")] + public static + void CompressedTextureImage2D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[,,] bits) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureImage2DEXT")] + public static + void CompressedTextureImage2D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T8 bits) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + bits = (T8)bits_ptr.Target; + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureImage2DEXT")] + public static + void CompressedTextureImage2D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr bits) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureImage2DEXT")] + public static + void CompressedTextureImage2D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[] bits) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureImage2DEXT")] + public static + void CompressedTextureImage2D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[,] bits) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureImage2DEXT")] + public static + void CompressedTextureImage2D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[,,] bits) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureImage2DEXT")] + public static + void CompressedTextureImage2D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T8 bits) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + bits = (T8)bits_ptr.Target; + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureImage3DEXT")] + public static + void CompressedTextureImage3D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr bits) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureImage3DEXT")] + public static + void CompressedTextureImage3D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T9[] bits) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureImage3DEXT")] + public static + void CompressedTextureImage3D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T9[,] bits) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureImage3DEXT")] + public static + void CompressedTextureImage3D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T9[,,] bits) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureImage3DEXT")] + public static + void CompressedTextureImage3D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T9 bits) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + bits = (T9)bits_ptr.Target; + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureImage3DEXT")] + public static + void CompressedTextureImage3D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr bits) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureImage3DEXT")] + public static + void CompressedTextureImage3D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T9[] bits) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureImage3DEXT")] + public static + void CompressedTextureImage3D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T9[,] bits) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureImage3DEXT")] + public static + void CompressedTextureImage3D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T9[,,] bits) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureImage3DEXT")] + public static + void CompressedTextureImage3D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T9 bits) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + bits = (T9)bits_ptr.Target; + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureSubImage1DEXT")] + public static + void CompressedTextureSubImage1D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr bits) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureSubImage1DEXT")] + public static + void CompressedTextureSubImage1D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T7[] bits) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureSubImage1DEXT")] + public static + void CompressedTextureSubImage1D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T7[,] bits) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureSubImage1DEXT")] + public static + void CompressedTextureSubImage1D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T7[,,] bits) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureSubImage1DEXT")] + public static + void CompressedTextureSubImage1D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] ref T7 bits) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + bits = (T7)bits_ptr.Target; + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureSubImage1DEXT")] + public static + void CompressedTextureSubImage1D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr bits) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureSubImage1DEXT")] + public static + void CompressedTextureSubImage1D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T7[] bits) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureSubImage1DEXT")] + public static + void CompressedTextureSubImage1D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T7[,] bits) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureSubImage1DEXT")] + public static + void CompressedTextureSubImage1D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T7[,,] bits) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureSubImage1DEXT")] + public static + void CompressedTextureSubImage1D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] ref T7 bits) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + bits = (T7)bits_ptr.Target; + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureSubImage2DEXT")] + public static + void CompressedTextureSubImage2D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr bits) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureSubImage2DEXT")] + public static + void CompressedTextureSubImage2D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T9[] bits) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureSubImage2DEXT")] + public static + void CompressedTextureSubImage2D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T9[,] bits) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureSubImage2DEXT")] + public static + void CompressedTextureSubImage2D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T9[,,] bits) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureSubImage2DEXT")] + public static + void CompressedTextureSubImage2D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] ref T9 bits) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + bits = (T9)bits_ptr.Target; + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureSubImage2DEXT")] + public static + void CompressedTextureSubImage2D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr bits) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureSubImage2DEXT")] + public static + void CompressedTextureSubImage2D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T9[] bits) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureSubImage2DEXT")] + public static + void CompressedTextureSubImage2D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T9[,] bits) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureSubImage2DEXT")] + public static + void CompressedTextureSubImage2D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T9[,,] bits) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureSubImage2DEXT")] + public static + void CompressedTextureSubImage2D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] ref T9 bits) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + bits = (T9)bits_ptr.Target; + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureSubImage3DEXT")] + public static + void CompressedTextureSubImage3D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr bits) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureSubImage3DEXT")] + public static + void CompressedTextureSubImage3D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T11[] bits) + where T11 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureSubImage3DEXT")] + public static + void CompressedTextureSubImage3D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T11[,] bits) + where T11 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureSubImage3DEXT")] + public static + void CompressedTextureSubImage3D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T11[,,] bits) + where T11 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureSubImage3DEXT")] + public static + void CompressedTextureSubImage3D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] ref T11 bits) + where T11 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + bits = (T11)bits_ptr.Target; + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureSubImage3DEXT")] + public static + void CompressedTextureSubImage3D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr bits) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureSubImage3DEXT")] + public static + void CompressedTextureSubImage3D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T11[] bits) + where T11 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureSubImage3DEXT")] + public static + void CompressedTextureSubImage3D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T11[,] bits) + where T11 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureSubImage3DEXT")] + public static + void CompressedTextureSubImage3D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T11[,,] bits) + where T11 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureSubImage3DEXT")] + public static + void CompressedTextureSubImage3D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] ref T11 bits) + where T11 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + bits = (T11)bits_ptr.Target; + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_convolution] + /// Define a one-dimensional convolution filter + /// + /// + /// + /// Must be GL_CONVOLUTION_1D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The width of the pixel array referenced by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_INTENSITY, GL_RGB, and GL_RGBA. + /// + /// + /// + /// + /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the convolution filter kernel. + /// + /// + [AutoGenerated(Category = "EXT_convolution", Version = "1.0", EntryPoint = "glConvolutionFilter1DEXT")] + public static + void ConvolutionFilter1D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr image) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glConvolutionFilter1DEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_convolution] + /// Define a one-dimensional convolution filter + /// + /// + /// + /// Must be GL_CONVOLUTION_1D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The width of the pixel array referenced by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_INTENSITY, GL_RGB, and GL_RGBA. + /// + /// + /// + /// + /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the convolution filter kernel. + /// + /// + [AutoGenerated(Category = "EXT_convolution", Version = "1.0", EntryPoint = "glConvolutionFilter1DEXT")] + public static + void ConvolutionFilter1D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[] image) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glConvolutionFilter1DEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + } + finally + { + image_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_convolution] + /// Define a one-dimensional convolution filter + /// + /// + /// + /// Must be GL_CONVOLUTION_1D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The width of the pixel array referenced by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_INTENSITY, GL_RGB, and GL_RGBA. + /// + /// + /// + /// + /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the convolution filter kernel. + /// + /// + [AutoGenerated(Category = "EXT_convolution", Version = "1.0", EntryPoint = "glConvolutionFilter1DEXT")] + public static + void ConvolutionFilter1D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[,] image) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glConvolutionFilter1DEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + } + finally + { + image_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_convolution] + /// Define a one-dimensional convolution filter + /// + /// + /// + /// Must be GL_CONVOLUTION_1D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The width of the pixel array referenced by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_INTENSITY, GL_RGB, and GL_RGBA. + /// + /// + /// + /// + /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the convolution filter kernel. + /// + /// + [AutoGenerated(Category = "EXT_convolution", Version = "1.0", EntryPoint = "glConvolutionFilter1DEXT")] + public static + void ConvolutionFilter1D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[,,] image) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glConvolutionFilter1DEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + } + finally + { + image_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_convolution] + /// Define a one-dimensional convolution filter + /// + /// + /// + /// Must be GL_CONVOLUTION_1D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The width of the pixel array referenced by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_INTENSITY, GL_RGB, and GL_RGBA. + /// + /// + /// + /// + /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the convolution filter kernel. + /// + /// + [AutoGenerated(Category = "EXT_convolution", Version = "1.0", EntryPoint = "glConvolutionFilter1DEXT")] + public static + void ConvolutionFilter1D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T5 image) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glConvolutionFilter1DEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + image = (T5)image_ptr.Target; + } + finally + { + image_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_convolution] + /// Define a two-dimensional convolution filter + /// + /// + /// + /// Must be GL_CONVOLUTION_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The width of the pixel array referenced by data. + /// + /// + /// + /// + /// The height of the pixel array referenced by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a two-dimensional array of pixel data that is processed to build the convolution filter kernel. + /// + /// + [AutoGenerated(Category = "EXT_convolution", Version = "1.0", EntryPoint = "glConvolutionFilter2DEXT")] + public static + void ConvolutionFilter2D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr image) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glConvolutionFilter2DEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_convolution] + /// Define a two-dimensional convolution filter + /// + /// + /// + /// Must be GL_CONVOLUTION_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The width of the pixel array referenced by data. + /// + /// + /// + /// + /// The height of the pixel array referenced by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a two-dimensional array of pixel data that is processed to build the convolution filter kernel. + /// + /// + [AutoGenerated(Category = "EXT_convolution", Version = "1.0", EntryPoint = "glConvolutionFilter2DEXT")] + public static + void ConvolutionFilter2D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[] image) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glConvolutionFilter2DEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + } + finally + { + image_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_convolution] + /// Define a two-dimensional convolution filter + /// + /// + /// + /// Must be GL_CONVOLUTION_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The width of the pixel array referenced by data. + /// + /// + /// + /// + /// The height of the pixel array referenced by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a two-dimensional array of pixel data that is processed to build the convolution filter kernel. + /// + /// + [AutoGenerated(Category = "EXT_convolution", Version = "1.0", EntryPoint = "glConvolutionFilter2DEXT")] + public static + void ConvolutionFilter2D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[,] image) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glConvolutionFilter2DEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + } + finally + { + image_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_convolution] + /// Define a two-dimensional convolution filter + /// + /// + /// + /// Must be GL_CONVOLUTION_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The width of the pixel array referenced by data. + /// + /// + /// + /// + /// The height of the pixel array referenced by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a two-dimensional array of pixel data that is processed to build the convolution filter kernel. + /// + /// + [AutoGenerated(Category = "EXT_convolution", Version = "1.0", EntryPoint = "glConvolutionFilter2DEXT")] + public static + void ConvolutionFilter2D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[,,] image) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glConvolutionFilter2DEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + } + finally + { + image_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_convolution] + /// Define a two-dimensional convolution filter + /// + /// + /// + /// Must be GL_CONVOLUTION_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The width of the pixel array referenced by data. + /// + /// + /// + /// + /// The height of the pixel array referenced by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a two-dimensional array of pixel data that is processed to build the convolution filter kernel. + /// + /// + [AutoGenerated(Category = "EXT_convolution", Version = "1.0", EntryPoint = "glConvolutionFilter2DEXT")] + public static + void ConvolutionFilter2D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T6 image) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glConvolutionFilter2DEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + image = (T6)image_ptr.Target; + } + finally + { + image_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_convolution] + /// Set convolution parameters + /// + /// + /// + /// The target for the convolution parameter. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The parameter to be set. Must be GL_CONVOLUTION_BORDER_MODE. + /// + /// + /// + /// + /// The parameter value. Must be one of GL_REDUCE, GL_CONSTANT_BORDER, GL_REPLICATE_BORDER. + /// + /// + /// + /// + /// + [AutoGenerated(Category = "EXT_convolution", Version = "1.0", EntryPoint = "glConvolutionParameterfEXT")] + public static + void ConvolutionParameter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glConvolutionParameterfEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.ExtConvolution)pname, (Single)@params); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_convolution] + /// Set convolution parameters + /// + /// + /// + /// The target for the convolution parameter. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The parameter to be set. Must be GL_CONVOLUTION_BORDER_MODE. + /// + /// + /// + /// + /// The parameter value. Must be one of GL_REDUCE, GL_CONSTANT_BORDER, GL_REPLICATE_BORDER. + /// + /// + /// + /// + /// + [AutoGenerated(Category = "EXT_convolution", Version = "1.0", EntryPoint = "glConvolutionParameterfvEXT")] + public static + void ConvolutionParameter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glConvolutionParameterfvEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.ExtConvolution)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_convolution] + /// Set convolution parameters + /// + /// + /// + /// The target for the convolution parameter. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The parameter to be set. Must be GL_CONVOLUTION_BORDER_MODE. + /// + /// + /// + /// + /// The parameter value. Must be one of GL_REDUCE, GL_CONSTANT_BORDER, GL_REPLICATE_BORDER. + /// + /// + /// + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_convolution", Version = "1.0", EntryPoint = "glConvolutionParameterfvEXT")] + public static + unsafe void ConvolutionParameter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glConvolutionParameterfvEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.ExtConvolution)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_convolution] + /// Set convolution parameters + /// + /// + /// + /// The target for the convolution parameter. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The parameter to be set. Must be GL_CONVOLUTION_BORDER_MODE. + /// + /// + /// + /// + /// The parameter value. Must be one of GL_REDUCE, GL_CONSTANT_BORDER, GL_REPLICATE_BORDER. + /// + /// + /// + /// + /// + [AutoGenerated(Category = "EXT_convolution", Version = "1.0", EntryPoint = "glConvolutionParameteriEXT")] + public static + void ConvolutionParameter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glConvolutionParameteriEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.ExtConvolution)pname, (Int32)@params); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_convolution] + /// Set convolution parameters + /// + /// + /// + /// The target for the convolution parameter. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The parameter to be set. Must be GL_CONVOLUTION_BORDER_MODE. + /// + /// + /// + /// + /// The parameter value. Must be one of GL_REDUCE, GL_CONSTANT_BORDER, GL_REPLICATE_BORDER. + /// + /// + /// + /// + /// + [AutoGenerated(Category = "EXT_convolution", Version = "1.0", EntryPoint = "glConvolutionParameterivEXT")] + public static + void ConvolutionParameter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glConvolutionParameterivEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.ExtConvolution)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_convolution] + /// Set convolution parameters + /// + /// + /// + /// The target for the convolution parameter. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The parameter to be set. Must be GL_CONVOLUTION_BORDER_MODE. + /// + /// + /// + /// + /// The parameter value. Must be one of GL_REDUCE, GL_CONSTANT_BORDER, GL_REPLICATE_BORDER. + /// + /// + /// + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_convolution", Version = "1.0", EntryPoint = "glConvolutionParameterivEXT")] + public static + unsafe void ConvolutionParameter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glConvolutionParameterivEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.ExtConvolution)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_color_subtable] + /// Respecify a portion of a color table + /// + /// + /// + /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The starting index of the portion of the color table to be replaced. + /// + /// + /// + /// + /// The window coordinates of the left corner of the row of pixels to be copied. + /// + /// + /// + /// + /// The number of table entries to replace. + /// + /// + [AutoGenerated(Category = "EXT_color_subtable", Version = "1.2", EntryPoint = "glCopyColorSubTableEXT")] + public static + void CopyColorSubTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, Int32 start, Int32 x, Int32 y, Int32 width) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCopyColorSubTableEXT((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (Int32)start, (Int32)x, (Int32)y, (Int32)width); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_convolution] + /// Copy pixels into a one-dimensional convolution filter + /// + /// + /// + /// Must be GL_CONVOLUTION_1D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The window space coordinates of the lower-left coordinate of the pixel array to copy. + /// + /// + /// + /// + /// The width of the pixel array to copy. + /// + /// + [AutoGenerated(Category = "EXT_convolution", Version = "1.0", EntryPoint = "glCopyConvolutionFilter1DEXT")] + public static + void CopyConvolutionFilter1D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCopyConvolutionFilter1DEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_convolution] + /// Copy pixels into a two-dimensional convolution filter + /// + /// + /// + /// Must be GL_CONVOLUTION_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The window space coordinates of the lower-left coordinate of the pixel array to copy. + /// + /// + /// + /// + /// The width of the pixel array to copy. + /// + /// + /// + /// + /// The height of the pixel array to copy. + /// + /// + [AutoGenerated(Category = "EXT_convolution", Version = "1.0", EntryPoint = "glCopyConvolutionFilter2DEXT")] + public static + void CopyConvolutionFilter2D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCopyConvolutionFilter2DEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCopyMultiTexImage1DEXT")] + public static + void CopyMultiTexImage1D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 border) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCopyMultiTexImage1DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)border); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCopyMultiTexImage2DEXT")] + public static + void CopyMultiTexImage2D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCopyMultiTexImage2DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCopyMultiTexSubImage1DEXT")] + public static + void CopyMultiTexSubImage1D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCopyMultiTexSubImage1DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)x, (Int32)y, (Int32)width); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCopyMultiTexSubImage2DEXT")] + public static + void CopyMultiTexSubImage2D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCopyMultiTexSubImage2DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCopyMultiTexSubImage3DEXT")] + public static + void CopyMultiTexSubImage3D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCopyMultiTexSubImage3DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_copy_texture] + /// Copy pixels into a 1D texture image + /// + /// + /// + /// 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 the internal format of the texture. Must be one of the following symbolic constants: GL_COMPRESSED_RED, GL_COMPRESSED_RG, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA. GL_COMPRESSED_SRGB, GL_COMPRESSED_SRGB_ALPHA. GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_RED, GL_RG, GL_RGB, GL_R3_G3_B2, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. + /// + /// + /// + /// + /// Specify the window coordinates of the left corner of the row of pixels to be copied. + /// + /// + /// + /// + /// Specifies the width of the texture image. Must be 0 or 2 sup n + 2 ( border ) for some integer . The height of the texture image is 1. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + [AutoGenerated(Category = "EXT_copy_texture", Version = "1.0", EntryPoint = "glCopyTexImage1DEXT")] + public static + void CopyTexImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 border) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCopyTexImage1DEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)border); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_copy_texture] + /// Copy pixels into a 2D texture image + /// + /// + /// + /// 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 the internal format of the texture. Must be one of the following symbolic constants: GL_COMPRESSED_RED, GL_COMPRESSED_RG, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA. GL_COMPRESSED_SRGB, GL_COMPRESSED_SRGB_ALPHA. GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_RED, GL_RG, GL_RGB, GL_R3_G3_B2, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. + /// + /// + /// + /// + /// Specify the window coordinates of the lower left corner of the rectangular region of pixels to be copied. + /// + /// + /// + /// + /// Specifies the width of the texture image. Must be 0 or 2 sup n + 2 ( border ) for some integer . + /// + /// + /// + /// + /// Specifies the height of the texture image. Must be 0 or 2 sup m + 2 ( border ) for some integer . + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + [AutoGenerated(Category = "EXT_copy_texture", Version = "1.0", EntryPoint = "glCopyTexImage2DEXT")] + public static + void CopyTexImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCopyTexImage2DEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_copy_texture] + /// Copy a one-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the texel offset within the texture array. + /// + /// + /// + /// + /// Specify the window coordinates of the left corner of the row of pixels to be copied. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + [AutoGenerated(Category = "EXT_copy_texture", Version = "1.0", EntryPoint = "glCopyTexSubImage1DEXT")] + public static + void CopyTexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCopyTexSubImage1DEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)x, (Int32)y, (Int32)width); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_copy_texture] + /// Copy a two-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specify the window coordinates of the lower left corner of the rectangular region of pixels to be copied. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + [AutoGenerated(Category = "EXT_copy_texture", Version = "1.0", EntryPoint = "glCopyTexSubImage2DEXT")] + public static + void CopyTexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCopyTexSubImage2DEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_copy_texture] + /// Copy a three-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the z direction within the texture array. + /// + /// + /// + /// + /// Specify the window coordinates of the lower left corner of the rectangular region of pixels to be copied. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + [AutoGenerated(Category = "EXT_copy_texture", Version = "1.0", EntryPoint = "glCopyTexSubImage3DEXT")] + public static + void CopyTexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCopyTexSubImage3DEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCopyTextureImage1DEXT")] + public static + void CopyTextureImage1D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 border) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCopyTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)border); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCopyTextureImage1DEXT")] + public static + void CopyTextureImage1D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 border) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCopyTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)border); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCopyTextureImage2DEXT")] + public static + void CopyTextureImage2D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCopyTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCopyTextureImage2DEXT")] + public static + void CopyTextureImage2D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCopyTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCopyTextureSubImage1DEXT")] + public static + void CopyTextureSubImage1D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCopyTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)x, (Int32)y, (Int32)width); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCopyTextureSubImage1DEXT")] + public static + void CopyTextureSubImage1D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCopyTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)x, (Int32)y, (Int32)width); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCopyTextureSubImage2DEXT")] + public static + void CopyTextureSubImage2D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCopyTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCopyTextureSubImage2DEXT")] + public static + void CopyTextureSubImage2D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCopyTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCopyTextureSubImage3DEXT")] + public static + void CopyTextureSubImage3D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCopyTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCopyTextureSubImage3DEXT")] + public static + void CopyTextureSubImage3D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCopyTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_separate_shader_objects] + /// Create a stand-alone program from an array of null-terminated source code strings + /// + /// + /// + /// Specifies the type of shader to create. + /// + /// + /// + /// + /// Specifies the number of source code strings in the array strings. + /// + /// + /// + /// + /// Specifies the address of an array of pointers to source code strings from which to create the program object. + /// + /// + [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "1.2", EntryPoint = "glCreateShaderProgramEXT")] + public static + Int32 CreateShaderProgram(OpenTK.Graphics.OpenGL.ExtSeparateShaderObjects type, String @string) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glCreateShaderProgramEXT((OpenTK.Graphics.OpenGL.ExtSeparateShaderObjects)type, (String)@string); + #if DEBUG + } + #endif + } + + /// [requires: EXT_cull_vertex] + [AutoGenerated(Category = "EXT_cull_vertex", Version = "1.1", EntryPoint = "glCullParameterdvEXT")] + public static + void CullParameter(OpenTK.Graphics.OpenGL.ExtCullVertex pname, [OutAttribute] Double[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = @params) + { + Delegates.glCullParameterdvEXT((OpenTK.Graphics.OpenGL.ExtCullVertex)pname, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_cull_vertex] + [AutoGenerated(Category = "EXT_cull_vertex", Version = "1.1", EntryPoint = "glCullParameterdvEXT")] + public static + void CullParameter(OpenTK.Graphics.OpenGL.ExtCullVertex pname, [OutAttribute] out Double @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = &@params) + { + Delegates.glCullParameterdvEXT((OpenTK.Graphics.OpenGL.ExtCullVertex)pname, (Double*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_cull_vertex] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_cull_vertex", Version = "1.1", EntryPoint = "glCullParameterdvEXT")] + public static + unsafe void CullParameter(OpenTK.Graphics.OpenGL.ExtCullVertex pname, [OutAttribute] Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCullParameterdvEXT((OpenTK.Graphics.OpenGL.ExtCullVertex)pname, (Double*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_cull_vertex] + [AutoGenerated(Category = "EXT_cull_vertex", Version = "1.1", EntryPoint = "glCullParameterfvEXT")] + public static + void CullParameter(OpenTK.Graphics.OpenGL.ExtCullVertex pname, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glCullParameterfvEXT((OpenTK.Graphics.OpenGL.ExtCullVertex)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_cull_vertex] + [AutoGenerated(Category = "EXT_cull_vertex", Version = "1.1", EntryPoint = "glCullParameterfvEXT")] + public static + void CullParameter(OpenTK.Graphics.OpenGL.ExtCullVertex pname, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glCullParameterfvEXT((OpenTK.Graphics.OpenGL.ExtCullVertex)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_cull_vertex] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_cull_vertex", Version = "1.1", EntryPoint = "glCullParameterfvEXT")] + public static + unsafe void CullParameter(OpenTK.Graphics.OpenGL.ExtCullVertex pname, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCullParameterfvEXT((OpenTK.Graphics.OpenGL.ExtCullVertex)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_framebuffer_object] + /// Delete framebuffer objects + /// + /// + /// + /// Specifies the number of framebuffer objects to be deleted. + /// + /// + /// + /// + /// A pointer to an array containing n framebuffer objects to be deleted. + /// + /// + [AutoGenerated(Category = "EXT_framebuffer_object", Version = "1.2", EntryPoint = "glDeleteFramebuffersEXT")] + public static + void DeleteFramebuffers(Int32 n, Int32[] framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* framebuffers_ptr = framebuffers) + { + Delegates.glDeleteFramebuffersEXT((Int32)n, (UInt32*)framebuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_framebuffer_object] + /// Delete framebuffer objects + /// + /// + /// + /// Specifies the number of framebuffer objects to be deleted. + /// + /// + /// + /// + /// A pointer to an array containing n framebuffer objects to be deleted. + /// + /// + [AutoGenerated(Category = "EXT_framebuffer_object", Version = "1.2", EntryPoint = "glDeleteFramebuffersEXT")] + public static + void DeleteFramebuffers(Int32 n, ref Int32 framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* framebuffers_ptr = &framebuffers) + { + Delegates.glDeleteFramebuffersEXT((Int32)n, (UInt32*)framebuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_framebuffer_object] + /// Delete framebuffer objects + /// + /// + /// + /// Specifies the number of framebuffer objects to be deleted. + /// + /// + /// + /// + /// A pointer to an array containing n framebuffer objects to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_framebuffer_object", Version = "1.2", EntryPoint = "glDeleteFramebuffersEXT")] + public static + unsafe void DeleteFramebuffers(Int32 n, Int32* framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteFramebuffersEXT((Int32)n, (UInt32*)framebuffers); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_framebuffer_object] + /// Delete framebuffer objects + /// + /// + /// + /// Specifies the number of framebuffer objects to be deleted. + /// + /// + /// + /// + /// A pointer to an array containing n framebuffer objects to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_framebuffer_object", Version = "1.2", EntryPoint = "glDeleteFramebuffersEXT")] + public static + void DeleteFramebuffers(Int32 n, UInt32[] framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* framebuffers_ptr = framebuffers) + { + Delegates.glDeleteFramebuffersEXT((Int32)n, (UInt32*)framebuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_framebuffer_object] + /// Delete framebuffer objects + /// + /// + /// + /// Specifies the number of framebuffer objects to be deleted. + /// + /// + /// + /// + /// A pointer to an array containing n framebuffer objects to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_framebuffer_object", Version = "1.2", EntryPoint = "glDeleteFramebuffersEXT")] + public static + void DeleteFramebuffers(Int32 n, ref UInt32 framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* framebuffers_ptr = &framebuffers) + { + Delegates.glDeleteFramebuffersEXT((Int32)n, (UInt32*)framebuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_framebuffer_object] + /// Delete framebuffer objects + /// + /// + /// + /// Specifies the number of framebuffer objects to be deleted. + /// + /// + /// + /// + /// A pointer to an array containing n framebuffer objects to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_framebuffer_object", Version = "1.2", EntryPoint = "glDeleteFramebuffersEXT")] + public static + unsafe void DeleteFramebuffers(Int32 n, UInt32* framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteFramebuffersEXT((Int32)n, (UInt32*)framebuffers); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_framebuffer_object] + /// Delete renderbuffer objects + /// + /// + /// + /// Specifies the number of renderbuffer objects to be deleted. + /// + /// + /// + /// + /// A pointer to an array containing n renderbuffer objects to be deleted. + /// + /// + [AutoGenerated(Category = "EXT_framebuffer_object", Version = "1.2", EntryPoint = "glDeleteRenderbuffersEXT")] + public static + void DeleteRenderbuffers(Int32 n, Int32[] renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* renderbuffers_ptr = renderbuffers) + { + Delegates.glDeleteRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_framebuffer_object] + /// Delete renderbuffer objects + /// + /// + /// + /// Specifies the number of renderbuffer objects to be deleted. + /// + /// + /// + /// + /// A pointer to an array containing n renderbuffer objects to be deleted. + /// + /// + [AutoGenerated(Category = "EXT_framebuffer_object", Version = "1.2", EntryPoint = "glDeleteRenderbuffersEXT")] + public static + void DeleteRenderbuffers(Int32 n, ref Int32 renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* renderbuffers_ptr = &renderbuffers) + { + Delegates.glDeleteRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_framebuffer_object] + /// Delete renderbuffer objects + /// + /// + /// + /// Specifies the number of renderbuffer objects to be deleted. + /// + /// + /// + /// + /// A pointer to an array containing n renderbuffer objects to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_framebuffer_object", Version = "1.2", EntryPoint = "glDeleteRenderbuffersEXT")] + public static + unsafe void DeleteRenderbuffers(Int32 n, Int32* renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_framebuffer_object] + /// Delete renderbuffer objects + /// + /// + /// + /// Specifies the number of renderbuffer objects to be deleted. + /// + /// + /// + /// + /// A pointer to an array containing n renderbuffer objects to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_framebuffer_object", Version = "1.2", EntryPoint = "glDeleteRenderbuffersEXT")] + public static + void DeleteRenderbuffers(Int32 n, UInt32[] renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* renderbuffers_ptr = renderbuffers) + { + Delegates.glDeleteRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_framebuffer_object] + /// Delete renderbuffer objects + /// + /// + /// + /// Specifies the number of renderbuffer objects to be deleted. + /// + /// + /// + /// + /// A pointer to an array containing n renderbuffer objects to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_framebuffer_object", Version = "1.2", EntryPoint = "glDeleteRenderbuffersEXT")] + public static + void DeleteRenderbuffers(Int32 n, ref UInt32 renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* renderbuffers_ptr = &renderbuffers) + { + Delegates.glDeleteRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_framebuffer_object] + /// Delete renderbuffer objects + /// + /// + /// + /// Specifies the number of renderbuffer objects to be deleted. + /// + /// + /// + /// + /// A pointer to an array containing n renderbuffer objects to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_framebuffer_object", Version = "1.2", EntryPoint = "glDeleteRenderbuffersEXT")] + public static + unsafe void DeleteRenderbuffers(Int32 n, UInt32* renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_texture_object] + /// Delete named textures + /// + /// + /// + /// Specifies the number of textures to be deleted. + /// + /// + /// + /// + /// Specifies an array of textures to be deleted. + /// + /// + [AutoGenerated(Category = "EXT_texture_object", Version = "1.0", EntryPoint = "glDeleteTexturesEXT")] + public static + void DeleteTextures(Int32 n, Int32[] textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* textures_ptr = textures) + { + Delegates.glDeleteTexturesEXT((Int32)n, (UInt32*)textures_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_texture_object] + /// Delete named textures + /// + /// + /// + /// Specifies the number of textures to be deleted. + /// + /// + /// + /// + /// Specifies an array of textures to be deleted. + /// + /// + [AutoGenerated(Category = "EXT_texture_object", Version = "1.0", EntryPoint = "glDeleteTexturesEXT")] + public static + void DeleteTextures(Int32 n, ref Int32 textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* textures_ptr = &textures) + { + Delegates.glDeleteTexturesEXT((Int32)n, (UInt32*)textures_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_texture_object] + /// Delete named textures + /// + /// + /// + /// Specifies the number of textures to be deleted. + /// + /// + /// + /// + /// Specifies an array of textures to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_texture_object", Version = "1.0", EntryPoint = "glDeleteTexturesEXT")] + public static + unsafe void DeleteTextures(Int32 n, Int32* textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteTexturesEXT((Int32)n, (UInt32*)textures); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_texture_object] + /// Delete named textures + /// + /// + /// + /// Specifies the number of textures to be deleted. + /// + /// + /// + /// + /// Specifies an array of textures to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_texture_object", Version = "1.0", EntryPoint = "glDeleteTexturesEXT")] + public static + void DeleteTextures(Int32 n, UInt32[] textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* textures_ptr = textures) + { + Delegates.glDeleteTexturesEXT((Int32)n, (UInt32*)textures_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_texture_object] + /// Delete named textures + /// + /// + /// + /// Specifies the number of textures to be deleted. + /// + /// + /// + /// + /// Specifies an array of textures to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_texture_object", Version = "1.0", EntryPoint = "glDeleteTexturesEXT")] + public static + void DeleteTextures(Int32 n, ref UInt32 textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* textures_ptr = &textures) + { + Delegates.glDeleteTexturesEXT((Int32)n, (UInt32*)textures_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_texture_object] + /// Delete named textures + /// + /// + /// + /// Specifies the number of textures to be deleted. + /// + /// + /// + /// + /// Specifies an array of textures to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_texture_object", Version = "1.0", EntryPoint = "glDeleteTexturesEXT")] + public static + unsafe void DeleteTextures(Int32 n, UInt32* textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteTexturesEXT((Int32)n, (UInt32*)textures); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glDeleteVertexShaderEXT")] + public static + void DeleteVertexShader(Int32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteVertexShaderEXT((UInt32)id); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glDeleteVertexShaderEXT")] + public static + void DeleteVertexShader(UInt32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteVertexShaderEXT((UInt32)id); + #if DEBUG + } + #endif + } + + /// [requires: EXT_depth_bounds_test] + [AutoGenerated(Category = "EXT_depth_bounds_test", Version = "1.2", EntryPoint = "glDepthBoundsEXT")] + public static + void DepthBounds(Double zmin, Double zmax) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDepthBoundsEXT((Double)zmin, (Double)zmax); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glDisableClientStateIndexedEXT")] + public static + void DisableClientStateIndexed(OpenTK.Graphics.OpenGL.EnableCap array, Int32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDisableClientStateIndexedEXT((OpenTK.Graphics.OpenGL.EnableCap)array, (UInt32)index); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glDisableClientStateIndexedEXT")] + public static + void DisableClientStateIndexed(OpenTK.Graphics.OpenGL.EnableCap array, UInt32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDisableClientStateIndexedEXT((OpenTK.Graphics.OpenGL.EnableCap)array, (UInt32)index); + #if DEBUG + } + #endif + } + + /// [requires: EXT_draw_buffers2] + [AutoGenerated(Category = "EXT_draw_buffers2", Version = "2.0", EntryPoint = "glDisableIndexedEXT")] + public static + void DisableIndexed(OpenTK.Graphics.OpenGL.IndexedEnableCap target, Int32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDisableIndexedEXT((OpenTK.Graphics.OpenGL.IndexedEnableCap)target, (UInt32)index); + #if DEBUG + } + #endif + } + + /// [requires: EXT_draw_buffers2] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_draw_buffers2", Version = "2.0", EntryPoint = "glDisableIndexedEXT")] + public static + void DisableIndexed(OpenTK.Graphics.OpenGL.IndexedEnableCap target, UInt32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDisableIndexedEXT((OpenTK.Graphics.OpenGL.IndexedEnableCap)target, (UInt32)index); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glDisableVariantClientStateEXT")] + public static + void DisableVariantClientState(Int32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDisableVariantClientStateEXT((UInt32)id); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glDisableVariantClientStateEXT")] + public static + void DisableVariantClientState(UInt32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDisableVariantClientStateEXT((UInt32)id); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_vertex_array] + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the starting index in the enabled arrays. + /// + /// + /// + /// + /// Specifies the number of indices to be rendered. + /// + /// + [AutoGenerated(Category = "EXT_vertex_array", Version = "1.0", EntryPoint = "glDrawArraysEXT")] + public static + void DrawArrays(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 first, Int32 count) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawArraysEXT((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)first, (Int32)count); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_draw_instanced] + /// Draw multiple instances of a range of elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES GL_LINES_ADJACENCY, GL_LINE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY, GL_TRIANGLE_STRIP_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the starting index in the enabled arrays. + /// + /// + /// + /// + /// Specifies the number of indices to be rendered. + /// + /// + /// + /// + /// Specifies the number of instances of the specified range of indices to be rendered. + /// + /// + [AutoGenerated(Category = "EXT_draw_instanced", Version = "2.0", EntryPoint = "glDrawArraysInstancedEXT")] + public static + void DrawArraysInstanced(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 count, Int32 primcount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawArraysInstancedEXT((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)start, (Int32)count, (Int32)primcount); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_draw_instanced] + /// Draw multiple instances of a set of elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the number of instances of the specified range of indices to be rendered. + /// + /// + [AutoGenerated(Category = "EXT_draw_instanced", Version = "2.0", EntryPoint = "glDrawElementsInstancedEXT")] + public static + void DrawElementsInstanced(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawElementsInstancedEXT((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_draw_instanced] + /// Draw multiple instances of a set of elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the number of instances of the specified range of indices to be rendered. + /// + /// + [AutoGenerated(Category = "EXT_draw_instanced", Version = "2.0", EntryPoint = "glDrawElementsInstancedEXT")] + public static + void DrawElementsInstanced(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawElementsInstancedEXT((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_draw_instanced] + /// Draw multiple instances of a set of elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the number of instances of the specified range of indices to be rendered. + /// + /// + [AutoGenerated(Category = "EXT_draw_instanced", Version = "2.0", EntryPoint = "glDrawElementsInstancedEXT")] + public static + void DrawElementsInstanced(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawElementsInstancedEXT((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_draw_instanced] + /// Draw multiple instances of a set of elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the number of instances of the specified range of indices to be rendered. + /// + /// + [AutoGenerated(Category = "EXT_draw_instanced", Version = "2.0", EntryPoint = "glDrawElementsInstancedEXT")] + public static + void DrawElementsInstanced(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawElementsInstancedEXT((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_draw_instanced] + /// Draw multiple instances of a set of elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the number of instances of the specified range of indices to be rendered. + /// + /// + [AutoGenerated(Category = "EXT_draw_instanced", Version = "2.0", EntryPoint = "glDrawElementsInstancedEXT")] + public static + void DrawElementsInstanced(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawElementsInstancedEXT((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + indices = (T3)indices_ptr.Target; + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_draw_range_elements] + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the minimum array index contained in indices. + /// + /// + /// + /// + /// Specifies the maximum array index contained in indices. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + [AutoGenerated(Category = "EXT_draw_range_elements", Version = "1.1", EntryPoint = "glDrawRangeElementsEXT")] + public static + void DrawRangeElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawRangeElementsEXT((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_draw_range_elements] + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the minimum array index contained in indices. + /// + /// + /// + /// + /// Specifies the maximum array index contained in indices. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + [AutoGenerated(Category = "EXT_draw_range_elements", Version = "1.1", EntryPoint = "glDrawRangeElementsEXT")] + public static + void DrawRangeElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[] indices) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawRangeElementsEXT((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_draw_range_elements] + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the minimum array index contained in indices. + /// + /// + /// + /// + /// Specifies the maximum array index contained in indices. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + [AutoGenerated(Category = "EXT_draw_range_elements", Version = "1.1", EntryPoint = "glDrawRangeElementsEXT")] + public static + void DrawRangeElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[,] indices) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawRangeElementsEXT((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_draw_range_elements] + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the minimum array index contained in indices. + /// + /// + /// + /// + /// Specifies the maximum array index contained in indices. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + [AutoGenerated(Category = "EXT_draw_range_elements", Version = "1.1", EntryPoint = "glDrawRangeElementsEXT")] + public static + void DrawRangeElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[,,] indices) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawRangeElementsEXT((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_draw_range_elements] + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the minimum array index contained in indices. + /// + /// + /// + /// + /// Specifies the maximum array index contained in indices. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + [AutoGenerated(Category = "EXT_draw_range_elements", Version = "1.1", EntryPoint = "glDrawRangeElementsEXT")] + public static + void DrawRangeElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T5 indices) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawRangeElementsEXT((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + indices = (T5)indices_ptr.Target; + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_draw_range_elements] + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the minimum array index contained in indices. + /// + /// + /// + /// + /// Specifies the maximum array index contained in indices. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_draw_range_elements", Version = "1.1", EntryPoint = "glDrawRangeElementsEXT")] + public static + void DrawRangeElements(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawRangeElementsEXT((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_draw_range_elements] + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the minimum array index contained in indices. + /// + /// + /// + /// + /// Specifies the maximum array index contained in indices. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_draw_range_elements", Version = "1.1", EntryPoint = "glDrawRangeElementsEXT")] + public static + void DrawRangeElements(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[] indices) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawRangeElementsEXT((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_draw_range_elements] + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the minimum array index contained in indices. + /// + /// + /// + /// + /// Specifies the maximum array index contained in indices. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_draw_range_elements", Version = "1.1", EntryPoint = "glDrawRangeElementsEXT")] + public static + void DrawRangeElements(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[,] indices) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawRangeElementsEXT((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_draw_range_elements] + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the minimum array index contained in indices. + /// + /// + /// + /// + /// Specifies the maximum array index contained in indices. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_draw_range_elements", Version = "1.1", EntryPoint = "glDrawRangeElementsEXT")] + public static + void DrawRangeElements(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[,,] indices) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawRangeElementsEXT((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_draw_range_elements] + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the minimum array index contained in indices. + /// + /// + /// + /// + /// Specifies the maximum array index contained in indices. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_draw_range_elements", Version = "1.1", EntryPoint = "glDrawRangeElementsEXT")] + public static + void DrawRangeElements(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T5 indices) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawRangeElementsEXT((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + indices = (T5)indices_ptr.Target; + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_vertex_array] + /// Define an array of edge flags + /// + /// + /// + /// Specifies the byte offset between consecutive edge flags. If stride is 0, the edge flags are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first edge flag in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "EXT_vertex_array", Version = "1.0", EntryPoint = "glEdgeFlagPointerEXT")] + public static + void EdgeFlagPointer(Int32 stride, Int32 count, bool[] pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (bool* pointer_ptr = pointer) + { + Delegates.glEdgeFlagPointerEXT((Int32)stride, (Int32)count, (bool*)pointer_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_vertex_array] + /// Define an array of edge flags + /// + /// + /// + /// Specifies the byte offset between consecutive edge flags. If stride is 0, the edge flags are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first edge flag in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "EXT_vertex_array", Version = "1.0", EntryPoint = "glEdgeFlagPointerEXT")] + public static + void EdgeFlagPointer(Int32 stride, Int32 count, ref bool pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (bool* pointer_ptr = &pointer) + { + Delegates.glEdgeFlagPointerEXT((Int32)stride, (Int32)count, (bool*)pointer_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_vertex_array] + /// Define an array of edge flags + /// + /// + /// + /// Specifies the byte offset between consecutive edge flags. If stride is 0, the edge flags are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first edge flag in the array. The initial value is 0. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_array", Version = "1.0", EntryPoint = "glEdgeFlagPointerEXT")] + public static + unsafe void EdgeFlagPointer(Int32 stride, Int32 count, bool* pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEdgeFlagPointerEXT((Int32)stride, (Int32)count, (bool*)pointer); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glEnableClientStateIndexedEXT")] + public static + void EnableClientStateIndexed(OpenTK.Graphics.OpenGL.EnableCap array, Int32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEnableClientStateIndexedEXT((OpenTK.Graphics.OpenGL.EnableCap)array, (UInt32)index); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glEnableClientStateIndexedEXT")] + public static + void EnableClientStateIndexed(OpenTK.Graphics.OpenGL.EnableCap array, UInt32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEnableClientStateIndexedEXT((OpenTK.Graphics.OpenGL.EnableCap)array, (UInt32)index); + #if DEBUG + } + #endif + } + + /// [requires: EXT_draw_buffers2] + [AutoGenerated(Category = "EXT_draw_buffers2", Version = "2.0", EntryPoint = "glEnableIndexedEXT")] + public static + void EnableIndexed(OpenTK.Graphics.OpenGL.IndexedEnableCap target, Int32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEnableIndexedEXT((OpenTK.Graphics.OpenGL.IndexedEnableCap)target, (UInt32)index); + #if DEBUG + } + #endif + } + + /// [requires: EXT_draw_buffers2] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_draw_buffers2", Version = "2.0", EntryPoint = "glEnableIndexedEXT")] + public static + void EnableIndexed(OpenTK.Graphics.OpenGL.IndexedEnableCap target, UInt32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEnableIndexedEXT((OpenTK.Graphics.OpenGL.IndexedEnableCap)target, (UInt32)index); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glEnableVariantClientStateEXT")] + public static + void EnableVariantClientState(Int32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEnableVariantClientStateEXT((UInt32)id); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glEnableVariantClientStateEXT")] + public static + void EnableVariantClientState(UInt32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEnableVariantClientStateEXT((UInt32)id); + #if DEBUG + } + #endif + } + + /// [requires: EXT_transform_feedback] + [AutoGenerated(Category = "EXT_transform_feedback", Version = "2.0", EntryPoint = "glEndTransformFeedbackEXT")] + public static + void EndTransformFeedback() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEndTransformFeedbackEXT(); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glEndVertexShaderEXT")] + public static + void EndVertexShader() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEndVertexShaderEXT(); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glExtractComponentEXT")] + public static + void ExtractComponent(Int32 res, Int32 src, Int32 num) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glExtractComponentEXT((UInt32)res, (UInt32)src, (UInt32)num); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glExtractComponentEXT")] + public static + void ExtractComponent(UInt32 res, UInt32 src, UInt32 num) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glExtractComponentEXT((UInt32)res, (UInt32)src, (UInt32)num); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glFlushMappedNamedBufferRangeEXT")] + public static + void FlushMappedNamedBufferRange(Int32 buffer, IntPtr offset, IntPtr length) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFlushMappedNamedBufferRangeEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)length); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glFlushMappedNamedBufferRangeEXT")] + public static + void FlushMappedNamedBufferRange(UInt32 buffer, IntPtr offset, IntPtr length) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFlushMappedNamedBufferRangeEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)length); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_fog_coord] + /// Set the current fog coordinates + /// + /// + /// + /// Specify the fog distance. + /// + /// + [AutoGenerated(Category = "EXT_fog_coord", Version = "1.1", EntryPoint = "glFogCoorddEXT")] + public static + void FogCoord(Double coord) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFogCoorddEXT((Double)coord); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_fog_coord] + /// Set the current fog coordinates + /// + /// + /// + /// Specify the fog distance. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_fog_coord", Version = "1.1", EntryPoint = "glFogCoorddvEXT")] + public static + unsafe void FogCoord(Double* coord) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFogCoorddvEXT((Double*)coord); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_fog_coord] + /// Set the current fog coordinates + /// + /// + /// + /// Specify the fog distance. + /// + /// + [AutoGenerated(Category = "EXT_fog_coord", Version = "1.1", EntryPoint = "glFogCoordfEXT")] + public static + void FogCoord(Single coord) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFogCoordfEXT((Single)coord); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_fog_coord] + /// Set the current fog coordinates + /// + /// + /// + /// Specify the fog distance. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_fog_coord", Version = "1.1", EntryPoint = "glFogCoordfvEXT")] + public static + unsafe void FogCoord(Single* coord) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFogCoordfvEXT((Single*)coord); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_fog_coord] + /// Define an array of fog coordinates + /// + /// + /// + /// Specifies the data type of each fog coordinate. Symbolic constants GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive fog coordinates. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first fog coordinate in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "EXT_fog_coord", Version = "1.1", EntryPoint = "glFogCoordPointerEXT")] + public static + void FogCoordPointer(OpenTK.Graphics.OpenGL.ExtFogCoord type, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFogCoordPointerEXT((OpenTK.Graphics.OpenGL.ExtFogCoord)type, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_fog_coord] + /// Define an array of fog coordinates + /// + /// + /// + /// Specifies the data type of each fog coordinate. Symbolic constants GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive fog coordinates. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first fog coordinate in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "EXT_fog_coord", Version = "1.1", EntryPoint = "glFogCoordPointerEXT")] + public static + void FogCoordPointer(OpenTK.Graphics.OpenGL.ExtFogCoord type, Int32 stride, [InAttribute, OutAttribute] T2[] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glFogCoordPointerEXT((OpenTK.Graphics.OpenGL.ExtFogCoord)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_fog_coord] + /// Define an array of fog coordinates + /// + /// + /// + /// Specifies the data type of each fog coordinate. Symbolic constants GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive fog coordinates. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first fog coordinate in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "EXT_fog_coord", Version = "1.1", EntryPoint = "glFogCoordPointerEXT")] + public static + void FogCoordPointer(OpenTK.Graphics.OpenGL.ExtFogCoord type, Int32 stride, [InAttribute, OutAttribute] T2[,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glFogCoordPointerEXT((OpenTK.Graphics.OpenGL.ExtFogCoord)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_fog_coord] + /// Define an array of fog coordinates + /// + /// + /// + /// Specifies the data type of each fog coordinate. Symbolic constants GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive fog coordinates. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first fog coordinate in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "EXT_fog_coord", Version = "1.1", EntryPoint = "glFogCoordPointerEXT")] + public static + void FogCoordPointer(OpenTK.Graphics.OpenGL.ExtFogCoord type, Int32 stride, [InAttribute, OutAttribute] T2[,,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glFogCoordPointerEXT((OpenTK.Graphics.OpenGL.ExtFogCoord)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_fog_coord] + /// Define an array of fog coordinates + /// + /// + /// + /// Specifies the data type of each fog coordinate. Symbolic constants GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive fog coordinates. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first fog coordinate in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "EXT_fog_coord", Version = "1.1", EntryPoint = "glFogCoordPointerEXT")] + public static + void FogCoordPointer(OpenTK.Graphics.OpenGL.ExtFogCoord type, Int32 stride, [InAttribute, OutAttribute] ref T2 pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glFogCoordPointerEXT((OpenTK.Graphics.OpenGL.ExtFogCoord)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + pointer = (T2)pointer_ptr.Target; + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glFramebufferDrawBufferEXT")] + public static + void FramebufferDrawBuffer(Int32 framebuffer, OpenTK.Graphics.OpenGL.DrawBufferMode mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferDrawBufferEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.DrawBufferMode)mode); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glFramebufferDrawBufferEXT")] + public static + void FramebufferDrawBuffer(UInt32 framebuffer, OpenTK.Graphics.OpenGL.DrawBufferMode mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferDrawBufferEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.DrawBufferMode)mode); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glFramebufferDrawBuffersEXT")] + public static + void FramebufferDrawBuffers(Int32 framebuffer, Int32 n, OpenTK.Graphics.OpenGL.DrawBufferMode[] bufs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Graphics.OpenGL.DrawBufferMode* bufs_ptr = bufs) + { + Delegates.glFramebufferDrawBuffersEXT((UInt32)framebuffer, (Int32)n, (OpenTK.Graphics.OpenGL.DrawBufferMode*)bufs_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glFramebufferDrawBuffersEXT")] + public static + void FramebufferDrawBuffers(Int32 framebuffer, Int32 n, ref OpenTK.Graphics.OpenGL.DrawBufferMode bufs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Graphics.OpenGL.DrawBufferMode* bufs_ptr = &bufs) + { + Delegates.glFramebufferDrawBuffersEXT((UInt32)framebuffer, (Int32)n, (OpenTK.Graphics.OpenGL.DrawBufferMode*)bufs_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glFramebufferDrawBuffersEXT")] + public static + unsafe void FramebufferDrawBuffers(Int32 framebuffer, Int32 n, OpenTK.Graphics.OpenGL.DrawBufferMode* bufs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferDrawBuffersEXT((UInt32)framebuffer, (Int32)n, (OpenTK.Graphics.OpenGL.DrawBufferMode*)bufs); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glFramebufferDrawBuffersEXT")] + public static + void FramebufferDrawBuffers(UInt32 framebuffer, Int32 n, OpenTK.Graphics.OpenGL.DrawBufferMode[] bufs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Graphics.OpenGL.DrawBufferMode* bufs_ptr = bufs) + { + Delegates.glFramebufferDrawBuffersEXT((UInt32)framebuffer, (Int32)n, (OpenTK.Graphics.OpenGL.DrawBufferMode*)bufs_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glFramebufferDrawBuffersEXT")] + public static + void FramebufferDrawBuffers(UInt32 framebuffer, Int32 n, ref OpenTK.Graphics.OpenGL.DrawBufferMode bufs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Graphics.OpenGL.DrawBufferMode* bufs_ptr = &bufs) + { + Delegates.glFramebufferDrawBuffersEXT((UInt32)framebuffer, (Int32)n, (OpenTK.Graphics.OpenGL.DrawBufferMode*)bufs_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glFramebufferDrawBuffersEXT")] + public static + unsafe void FramebufferDrawBuffers(UInt32 framebuffer, Int32 n, OpenTK.Graphics.OpenGL.DrawBufferMode* bufs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferDrawBuffersEXT((UInt32)framebuffer, (Int32)n, (OpenTK.Graphics.OpenGL.DrawBufferMode*)bufs); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glFramebufferReadBufferEXT")] + public static + void FramebufferReadBuffer(Int32 framebuffer, OpenTK.Graphics.OpenGL.ReadBufferMode mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferReadBufferEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.ReadBufferMode)mode); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glFramebufferReadBufferEXT")] + public static + void FramebufferReadBuffer(UInt32 framebuffer, OpenTK.Graphics.OpenGL.ReadBufferMode mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferReadBufferEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.ReadBufferMode)mode); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_framebuffer_object] + /// Attach a renderbuffer as a logical buffer to the currently bound framebuffer object + /// + /// + /// + /// Specifies the framebuffer target. target must be GL_DRAW_FRAMEBUFFER, GL_READ_FRAMEBUFFER, or GL_FRAMEBUFFER. GL_FRAMEBUFFER is equivalent to GL_DRAW_FRAMEBUFFER. + /// + /// + /// + /// + /// Specifies the attachment point of the framebuffer. + /// + /// + /// + /// + /// Specifies the renderbuffer target and must be GL_RENDERBUFFER. + /// + /// + /// + /// + /// Specifies the name of an existing renderbuffer object of type renderbuffertarget to attach. + /// + /// + [AutoGenerated(Category = "EXT_framebuffer_object", Version = "1.2", EntryPoint = "glFramebufferRenderbufferEXT")] + public static + void FramebufferRenderbuffer(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.RenderbufferTarget renderbuffertarget, Int32 renderbuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferRenderbufferEXT((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_framebuffer_object] + /// Attach a renderbuffer as a logical buffer to the currently bound framebuffer object + /// + /// + /// + /// Specifies the framebuffer target. target must be GL_DRAW_FRAMEBUFFER, GL_READ_FRAMEBUFFER, or GL_FRAMEBUFFER. GL_FRAMEBUFFER is equivalent to GL_DRAW_FRAMEBUFFER. + /// + /// + /// + /// + /// Specifies the attachment point of the framebuffer. + /// + /// + /// + /// + /// Specifies the renderbuffer target and must be GL_RENDERBUFFER. + /// + /// + /// + /// + /// Specifies the name of an existing renderbuffer object of type renderbuffertarget to attach. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_framebuffer_object", Version = "1.2", EntryPoint = "glFramebufferRenderbufferEXT")] + public static + void FramebufferRenderbuffer(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferRenderbufferEXT((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer); + #if DEBUG + } + #endif + } + + /// [requires: EXT_framebuffer_object] + [AutoGenerated(Category = "EXT_framebuffer_object", Version = "1.2", EntryPoint = "glFramebufferTexture1DEXT")] + public static + void FramebufferTexture1D(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, Int32 texture, Int32 level) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferTexture1DEXT((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.TextureTarget)textarget, (UInt32)texture, (Int32)level); + #if DEBUG + } + #endif + } + + /// [requires: EXT_framebuffer_object] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_framebuffer_object", Version = "1.2", EntryPoint = "glFramebufferTexture1DEXT")] + public static + void FramebufferTexture1D(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferTexture1DEXT((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.TextureTarget)textarget, (UInt32)texture, (Int32)level); + #if DEBUG + } + #endif + } + + /// [requires: EXT_framebuffer_object] + [AutoGenerated(Category = "EXT_framebuffer_object", Version = "1.2", EntryPoint = "glFramebufferTexture2DEXT")] + public static + void FramebufferTexture2D(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, Int32 texture, Int32 level) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferTexture2DEXT((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.TextureTarget)textarget, (UInt32)texture, (Int32)level); + #if DEBUG + } + #endif + } + + /// [requires: EXT_framebuffer_object] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_framebuffer_object", Version = "1.2", EntryPoint = "glFramebufferTexture2DEXT")] + public static + void FramebufferTexture2D(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferTexture2DEXT((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.TextureTarget)textarget, (UInt32)texture, (Int32)level); + #if DEBUG + } + #endif + } + + /// [requires: EXT_framebuffer_object] + [AutoGenerated(Category = "EXT_framebuffer_object", Version = "1.2", EntryPoint = "glFramebufferTexture3DEXT")] + public static + void FramebufferTexture3D(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, Int32 texture, Int32 level, Int32 zoffset) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferTexture3DEXT((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.TextureTarget)textarget, (UInt32)texture, (Int32)level, (Int32)zoffset); + #if DEBUG + } + #endif + } + + /// [requires: EXT_framebuffer_object] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_framebuffer_object", Version = "1.2", EntryPoint = "glFramebufferTexture3DEXT")] + public static + void FramebufferTexture3D(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level, Int32 zoffset) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferTexture3DEXT((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.TextureTarget)textarget, (UInt32)texture, (Int32)level, (Int32)zoffset); + #if DEBUG + } + #endif + } + + + /// [requires: NV_geometry_program4] + /// Attach a level of a texture object as a logical buffer to the currently bound framebuffer object + /// + /// + /// + /// Specifies the framebuffer target. target must be GL_DRAW_FRAMEBUFFER, GL_READ_FRAMEBUFFER, or GL_FRAMEBUFFER. GL_FRAMEBUFFER is equivalent to GL_DRAW_FRAMEBUFFER. + /// + /// + /// + /// + /// Specifies the attachment point of the framebuffer. attachment must be GL_COLOR_ATTACHMENTi, GL_DEPTH_ATTACHMENT, GL_STENCIL_ATTACHMENT or GL_DEPTH_STENCIL_ATTACHMMENT. + /// + /// + /// + /// + /// Specifies the texture object to attach to the framebuffer attachment point named by attachment. + /// + /// + /// + /// + /// Specifies the mipmap level of texture to attach. + /// + /// + [AutoGenerated(Category = "NV_geometry_program4", Version = "2.0", EntryPoint = "glFramebufferTextureEXT")] + public static + void FramebufferTexture(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, Int32 texture, Int32 level) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferTextureEXT((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level); + #if DEBUG + } + #endif + } + + + /// [requires: NV_geometry_program4] + /// Attach a level of a texture object as a logical buffer to the currently bound framebuffer object + /// + /// + /// + /// Specifies the framebuffer target. target must be GL_DRAW_FRAMEBUFFER, GL_READ_FRAMEBUFFER, or GL_FRAMEBUFFER. GL_FRAMEBUFFER is equivalent to GL_DRAW_FRAMEBUFFER. + /// + /// + /// + /// + /// Specifies the attachment point of the framebuffer. attachment must be GL_COLOR_ATTACHMENTi, GL_DEPTH_ATTACHMENT, GL_STENCIL_ATTACHMENT or GL_DEPTH_STENCIL_ATTACHMMENT. + /// + /// + /// + /// + /// Specifies the texture object to attach to the framebuffer attachment point named by attachment. + /// + /// + /// + /// + /// Specifies the mipmap level of texture to attach. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_geometry_program4", Version = "2.0", EntryPoint = "glFramebufferTextureEXT")] + public static + void FramebufferTexture(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferTextureEXT((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level); + #if DEBUG + } + #endif + } + + + /// [requires: NV_geometry_program4] + /// Attach a face of a cube map texture as a logical buffer to the currently bound framebuffer + /// + /// + /// + /// Specifies the framebuffer target. target must be GL_DRAW_FRAMEBUFFER, GL_READ_FRAMEBUFFER, or GL_FRAMEBUFFER. GL_FRAMEBUFFER is equivalent to GL_DRAW_FRAMEBUFFER. + /// + /// + /// + /// + /// Specifies the attachment point of the framebuffer. attachment must be GL_COLOR_ATTACHMENTi, GL_DEPTH_ATTACHMENT, GL_STENCIL_ATTACHMENT or GL_DEPTH_STENCIL_ATTACHMMENT. + /// + /// + /// + /// + /// Specifies the texture object to attach to the framebuffer attachment point named by attachment. texture must be the name of an existing cube-map texture. + /// + /// + /// + /// + /// Specifies the mipmap level of texture to attach. + /// + /// + /// + /// + /// Specifies the face of texture to attach. + /// + /// + [AutoGenerated(Category = "NV_geometry_program4", Version = "2.0", EntryPoint = "glFramebufferTextureFaceEXT")] + public static + void FramebufferTextureFace(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, Int32 texture, Int32 level, OpenTK.Graphics.OpenGL.TextureTarget face) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferTextureFaceEXT((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (OpenTK.Graphics.OpenGL.TextureTarget)face); + #if DEBUG + } + #endif + } + + + /// [requires: NV_geometry_program4] + /// Attach a face of a cube map texture as a logical buffer to the currently bound framebuffer + /// + /// + /// + /// Specifies the framebuffer target. target must be GL_DRAW_FRAMEBUFFER, GL_READ_FRAMEBUFFER, or GL_FRAMEBUFFER. GL_FRAMEBUFFER is equivalent to GL_DRAW_FRAMEBUFFER. + /// + /// + /// + /// + /// Specifies the attachment point of the framebuffer. attachment must be GL_COLOR_ATTACHMENTi, GL_DEPTH_ATTACHMENT, GL_STENCIL_ATTACHMENT or GL_DEPTH_STENCIL_ATTACHMMENT. + /// + /// + /// + /// + /// Specifies the texture object to attach to the framebuffer attachment point named by attachment. texture must be the name of an existing cube-map texture. + /// + /// + /// + /// + /// Specifies the mipmap level of texture to attach. + /// + /// + /// + /// + /// Specifies the face of texture to attach. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_geometry_program4", Version = "2.0", EntryPoint = "glFramebufferTextureFaceEXT")] + public static + void FramebufferTextureFace(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level, OpenTK.Graphics.OpenGL.TextureTarget face) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferTextureFaceEXT((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (OpenTK.Graphics.OpenGL.TextureTarget)face); + #if DEBUG + } + #endif + } + + + /// [requires: NV_geometry_program4] + /// Attach a single layer of a texture to a framebuffer + /// + /// + /// + /// Specifies the framebuffer target. target must be GL_DRAW_FRAMEBUFFER, GL_READ_FRAMEBUFFER, or GL_FRAMEBUFFER. GL_FRAMEBUFFER is equivalent to GL_DRAW_FRAMEBUFFER. + /// + /// + /// + /// + /// Specifies the attachment point of the framebuffer. attachment must be GL_COLOR_ATTACHMENTi, GL_DEPTH_ATTACHMENT, GL_STENCIL_ATTACHMENT or GL_DEPTH_STENCIL_ATTACHMMENT. + /// + /// + /// + /// + /// Specifies the texture object to attach to the framebuffer attachment point named by attachment. + /// + /// + /// + /// + /// Specifies the mipmap level of texture to attach. + /// + /// + /// + /// + /// Specifies the layer of texture to attach. + /// + /// + [AutoGenerated(Category = "NV_geometry_program4", Version = "2.0", EntryPoint = "glFramebufferTextureLayerEXT")] + public static + void FramebufferTextureLayer(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, Int32 texture, Int32 level, Int32 layer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferTextureLayerEXT((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer); + #if DEBUG + } + #endif + } + + + /// [requires: NV_geometry_program4] + /// Attach a single layer of a texture to a framebuffer + /// + /// + /// + /// Specifies the framebuffer target. target must be GL_DRAW_FRAMEBUFFER, GL_READ_FRAMEBUFFER, or GL_FRAMEBUFFER. GL_FRAMEBUFFER is equivalent to GL_DRAW_FRAMEBUFFER. + /// + /// + /// + /// + /// Specifies the attachment point of the framebuffer. attachment must be GL_COLOR_ATTACHMENTi, GL_DEPTH_ATTACHMENT, GL_STENCIL_ATTACHMENT or GL_DEPTH_STENCIL_ATTACHMMENT. + /// + /// + /// + /// + /// Specifies the texture object to attach to the framebuffer attachment point named by attachment. + /// + /// + /// + /// + /// Specifies the mipmap level of texture to attach. + /// + /// + /// + /// + /// Specifies the layer of texture to attach. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_geometry_program4", Version = "2.0", EntryPoint = "glFramebufferTextureLayerEXT")] + public static + void FramebufferTextureLayer(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferTextureLayerEXT((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_framebuffer_object] + /// Generate mipmaps for a specified texture target + /// + /// + /// + /// Specifies the target to which the texture whose mimaps to generate is bound. target must be GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY or GL_TEXTURE_CUBE_MAP. + /// + /// + [AutoGenerated(Category = "EXT_framebuffer_object", Version = "1.2", EntryPoint = "glGenerateMipmapEXT")] + public static + void GenerateMipmap(OpenTK.Graphics.OpenGL.GenerateMipmapTarget target) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenerateMipmapEXT((OpenTK.Graphics.OpenGL.GenerateMipmapTarget)target); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGenerateMultiTexMipmapEXT")] + public static + void GenerateMultiTexMipmap(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenerateMultiTexMipmapEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGenerateTextureMipmapEXT")] + public static + void GenerateTextureMipmap(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenerateTextureMipmapEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGenerateTextureMipmapEXT")] + public static + void GenerateTextureMipmap(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenerateTextureMipmapEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_framebuffer_object] + /// Generate framebuffer object names + /// + /// + /// + /// Specifies the number of framebuffer object names to generate. + /// + /// + /// + /// + /// Specifies an array in which the generated framebuffer object names are stored. + /// + /// + [AutoGenerated(Category = "EXT_framebuffer_object", Version = "1.2", EntryPoint = "glGenFramebuffersEXT")] + public static + void GenFramebuffers(Int32 n, [OutAttribute] Int32[] framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* framebuffers_ptr = framebuffers) + { + Delegates.glGenFramebuffersEXT((Int32)n, (UInt32*)framebuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_framebuffer_object] + /// Generate framebuffer object names + /// + /// + /// + /// Specifies the number of framebuffer object names to generate. + /// + /// + /// + /// + /// Specifies an array in which the generated framebuffer object names are stored. + /// + /// + [AutoGenerated(Category = "EXT_framebuffer_object", Version = "1.2", EntryPoint = "glGenFramebuffersEXT")] + public static + void GenFramebuffers(Int32 n, [OutAttribute] out Int32 framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* framebuffers_ptr = &framebuffers) + { + Delegates.glGenFramebuffersEXT((Int32)n, (UInt32*)framebuffers_ptr); + framebuffers = *framebuffers_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_framebuffer_object] + /// Generate framebuffer object names + /// + /// + /// + /// Specifies the number of framebuffer object names to generate. + /// + /// + /// + /// + /// Specifies an array in which the generated framebuffer object names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_framebuffer_object", Version = "1.2", EntryPoint = "glGenFramebuffersEXT")] + public static + unsafe void GenFramebuffers(Int32 n, [OutAttribute] Int32* framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenFramebuffersEXT((Int32)n, (UInt32*)framebuffers); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_framebuffer_object] + /// Generate framebuffer object names + /// + /// + /// + /// Specifies the number of framebuffer object names to generate. + /// + /// + /// + /// + /// Specifies an array in which the generated framebuffer object names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_framebuffer_object", Version = "1.2", EntryPoint = "glGenFramebuffersEXT")] + public static + void GenFramebuffers(Int32 n, [OutAttribute] UInt32[] framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* framebuffers_ptr = framebuffers) + { + Delegates.glGenFramebuffersEXT((Int32)n, (UInt32*)framebuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_framebuffer_object] + /// Generate framebuffer object names + /// + /// + /// + /// Specifies the number of framebuffer object names to generate. + /// + /// + /// + /// + /// Specifies an array in which the generated framebuffer object names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_framebuffer_object", Version = "1.2", EntryPoint = "glGenFramebuffersEXT")] + public static + void GenFramebuffers(Int32 n, [OutAttribute] out UInt32 framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* framebuffers_ptr = &framebuffers) + { + Delegates.glGenFramebuffersEXT((Int32)n, (UInt32*)framebuffers_ptr); + framebuffers = *framebuffers_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_framebuffer_object] + /// Generate framebuffer object names + /// + /// + /// + /// Specifies the number of framebuffer object names to generate. + /// + /// + /// + /// + /// Specifies an array in which the generated framebuffer object names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_framebuffer_object", Version = "1.2", EntryPoint = "glGenFramebuffersEXT")] + public static + unsafe void GenFramebuffers(Int32 n, [OutAttribute] UInt32* framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenFramebuffersEXT((Int32)n, (UInt32*)framebuffers); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_framebuffer_object] + /// Generate renderbuffer object names + /// + /// + /// + /// Specifies the number of renderbuffer object names to generate. + /// + /// + /// + /// + /// Specifies an array in which the generated renderbuffer object names are stored. + /// + /// + [AutoGenerated(Category = "EXT_framebuffer_object", Version = "1.2", EntryPoint = "glGenRenderbuffersEXT")] + public static + void GenRenderbuffers(Int32 n, [OutAttribute] Int32[] renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* renderbuffers_ptr = renderbuffers) + { + Delegates.glGenRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_framebuffer_object] + /// Generate renderbuffer object names + /// + /// + /// + /// Specifies the number of renderbuffer object names to generate. + /// + /// + /// + /// + /// Specifies an array in which the generated renderbuffer object names are stored. + /// + /// + [AutoGenerated(Category = "EXT_framebuffer_object", Version = "1.2", EntryPoint = "glGenRenderbuffersEXT")] + public static + void GenRenderbuffers(Int32 n, [OutAttribute] out Int32 renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* renderbuffers_ptr = &renderbuffers) + { + Delegates.glGenRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers_ptr); + renderbuffers = *renderbuffers_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_framebuffer_object] + /// Generate renderbuffer object names + /// + /// + /// + /// Specifies the number of renderbuffer object names to generate. + /// + /// + /// + /// + /// Specifies an array in which the generated renderbuffer object names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_framebuffer_object", Version = "1.2", EntryPoint = "glGenRenderbuffersEXT")] + public static + unsafe void GenRenderbuffers(Int32 n, [OutAttribute] Int32* renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_framebuffer_object] + /// Generate renderbuffer object names + /// + /// + /// + /// Specifies the number of renderbuffer object names to generate. + /// + /// + /// + /// + /// Specifies an array in which the generated renderbuffer object names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_framebuffer_object", Version = "1.2", EntryPoint = "glGenRenderbuffersEXT")] + public static + void GenRenderbuffers(Int32 n, [OutAttribute] UInt32[] renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* renderbuffers_ptr = renderbuffers) + { + Delegates.glGenRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_framebuffer_object] + /// Generate renderbuffer object names + /// + /// + /// + /// Specifies the number of renderbuffer object names to generate. + /// + /// + /// + /// + /// Specifies an array in which the generated renderbuffer object names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_framebuffer_object", Version = "1.2", EntryPoint = "glGenRenderbuffersEXT")] + public static + void GenRenderbuffers(Int32 n, [OutAttribute] out UInt32 renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* renderbuffers_ptr = &renderbuffers) + { + Delegates.glGenRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers_ptr); + renderbuffers = *renderbuffers_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_framebuffer_object] + /// Generate renderbuffer object names + /// + /// + /// + /// Specifies the number of renderbuffer object names to generate. + /// + /// + /// + /// + /// Specifies an array in which the generated renderbuffer object names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_framebuffer_object", Version = "1.2", EntryPoint = "glGenRenderbuffersEXT")] + public static + unsafe void GenRenderbuffers(Int32 n, [OutAttribute] UInt32* renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glGenSymbolsEXT")] + public static + Int32 GenSymbol(OpenTK.Graphics.OpenGL.ExtVertexShader datatype, OpenTK.Graphics.OpenGL.ExtVertexShader storagetype, OpenTK.Graphics.OpenGL.ExtVertexShader range, Int32 components) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glGenSymbolsEXT((OpenTK.Graphics.OpenGL.ExtVertexShader)datatype, (OpenTK.Graphics.OpenGL.ExtVertexShader)storagetype, (OpenTK.Graphics.OpenGL.ExtVertexShader)range, (UInt32)components); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glGenSymbolsEXT")] + public static + Int32 GenSymbol(OpenTK.Graphics.OpenGL.ExtVertexShader datatype, OpenTK.Graphics.OpenGL.ExtVertexShader storagetype, OpenTK.Graphics.OpenGL.ExtVertexShader range, UInt32 components) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glGenSymbolsEXT((OpenTK.Graphics.OpenGL.ExtVertexShader)datatype, (OpenTK.Graphics.OpenGL.ExtVertexShader)storagetype, (OpenTK.Graphics.OpenGL.ExtVertexShader)range, (UInt32)components); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_texture_object] + /// Generate texture names + /// + /// + /// + /// Specifies the number of texture names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated texture names are stored. + /// + /// + [AutoGenerated(Category = "EXT_texture_object", Version = "1.0", EntryPoint = "glGenTexturesEXT")] + public static + void GenTextures(Int32 n, [OutAttribute] Int32[] textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* textures_ptr = textures) + { + Delegates.glGenTexturesEXT((Int32)n, (UInt32*)textures_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_texture_object] + /// Generate texture names + /// + /// + /// + /// Specifies the number of texture names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated texture names are stored. + /// + /// + [AutoGenerated(Category = "EXT_texture_object", Version = "1.0", EntryPoint = "glGenTexturesEXT")] + public static + void GenTextures(Int32 n, [OutAttribute] out Int32 textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* textures_ptr = &textures) + { + Delegates.glGenTexturesEXT((Int32)n, (UInt32*)textures_ptr); + textures = *textures_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_texture_object] + /// Generate texture names + /// + /// + /// + /// Specifies the number of texture names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated texture names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_texture_object", Version = "1.0", EntryPoint = "glGenTexturesEXT")] + public static + unsafe void GenTextures(Int32 n, [OutAttribute] Int32* textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenTexturesEXT((Int32)n, (UInt32*)textures); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_texture_object] + /// Generate texture names + /// + /// + /// + /// Specifies the number of texture names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated texture names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_texture_object", Version = "1.0", EntryPoint = "glGenTexturesEXT")] + public static + void GenTextures(Int32 n, [OutAttribute] UInt32[] textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* textures_ptr = textures) + { + Delegates.glGenTexturesEXT((Int32)n, (UInt32*)textures_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_texture_object] + /// Generate texture names + /// + /// + /// + /// Specifies the number of texture names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated texture names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_texture_object", Version = "1.0", EntryPoint = "glGenTexturesEXT")] + public static + void GenTextures(Int32 n, [OutAttribute] out UInt32 textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* textures_ptr = &textures) + { + Delegates.glGenTexturesEXT((Int32)n, (UInt32*)textures_ptr); + textures = *textures_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_texture_object] + /// Generate texture names + /// + /// + /// + /// Specifies the number of texture names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated texture names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_texture_object", Version = "1.0", EntryPoint = "glGenTexturesEXT")] + public static + unsafe void GenTextures(Int32 n, [OutAttribute] UInt32* textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenTexturesEXT((Int32)n, (UInt32*)textures); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glGenVertexShadersEXT")] + public static + Int32 GenVertexShaders(Int32 range) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glGenVertexShadersEXT((UInt32)range); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glGenVertexShadersEXT")] + public static + Int32 GenVertexShaders(UInt32 range) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glGenVertexShadersEXT((UInt32)range); + #if DEBUG + } + #endif + } + + /// [requires: EXT_draw_buffers2] + [AutoGenerated(Category = "EXT_draw_buffers2", Version = "2.0", EntryPoint = "glGetBooleanIndexedvEXT")] + public static + void GetBooleanIndexed(OpenTK.Graphics.OpenGL.ExtDrawBuffers2 target, Int32 index, [OutAttribute] bool[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (bool* data_ptr = data) + { + Delegates.glGetBooleanIndexedvEXT((OpenTK.Graphics.OpenGL.ExtDrawBuffers2)target, (UInt32)index, (bool*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_draw_buffers2] + [AutoGenerated(Category = "EXT_draw_buffers2", Version = "2.0", EntryPoint = "glGetBooleanIndexedvEXT")] + public static + void GetBooleanIndexed(OpenTK.Graphics.OpenGL.ExtDrawBuffers2 target, Int32 index, [OutAttribute] out bool data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (bool* data_ptr = &data) + { + Delegates.glGetBooleanIndexedvEXT((OpenTK.Graphics.OpenGL.ExtDrawBuffers2)target, (UInt32)index, (bool*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_draw_buffers2] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_draw_buffers2", Version = "2.0", EntryPoint = "glGetBooleanIndexedvEXT")] + public static + unsafe void GetBooleanIndexed(OpenTK.Graphics.OpenGL.ExtDrawBuffers2 target, Int32 index, [OutAttribute] bool* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetBooleanIndexedvEXT((OpenTK.Graphics.OpenGL.ExtDrawBuffers2)target, (UInt32)index, (bool*)data); + #if DEBUG + } + #endif + } + + /// [requires: EXT_draw_buffers2] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_draw_buffers2", Version = "2.0", EntryPoint = "glGetBooleanIndexedvEXT")] + public static + void GetBooleanIndexed(OpenTK.Graphics.OpenGL.ExtDrawBuffers2 target, UInt32 index, [OutAttribute] bool[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (bool* data_ptr = data) + { + Delegates.glGetBooleanIndexedvEXT((OpenTK.Graphics.OpenGL.ExtDrawBuffers2)target, (UInt32)index, (bool*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_draw_buffers2] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_draw_buffers2", Version = "2.0", EntryPoint = "glGetBooleanIndexedvEXT")] + public static + void GetBooleanIndexed(OpenTK.Graphics.OpenGL.ExtDrawBuffers2 target, UInt32 index, [OutAttribute] out bool data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (bool* data_ptr = &data) + { + Delegates.glGetBooleanIndexedvEXT((OpenTK.Graphics.OpenGL.ExtDrawBuffers2)target, (UInt32)index, (bool*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_draw_buffers2] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_draw_buffers2", Version = "2.0", EntryPoint = "glGetBooleanIndexedvEXT")] + public static + unsafe void GetBooleanIndexed(OpenTK.Graphics.OpenGL.ExtDrawBuffers2 target, UInt32 index, [OutAttribute] bool* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetBooleanIndexedvEXT((OpenTK.Graphics.OpenGL.ExtDrawBuffers2)target, (UInt32)index, (bool*)data); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_paletted_texture] + /// Retrieve contents of a color lookup table + /// + /// + /// + /// Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The format of the pixel data in table. The possible values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in table. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. + /// + /// + [AutoGenerated(Category = "EXT_paletted_texture", Version = "1.1", EntryPoint = "glGetColorTableEXT")] + public static + void GetColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetColorTableEXT((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_paletted_texture] + /// Retrieve contents of a color lookup table + /// + /// + /// + /// Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The format of the pixel data in table. The possible values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in table. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. + /// + /// + [AutoGenerated(Category = "EXT_paletted_texture", Version = "1.1", EntryPoint = "glGetColorTableEXT")] + public static + void GetColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetColorTableEXT((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_paletted_texture] + /// Retrieve contents of a color lookup table + /// + /// + /// + /// Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The format of the pixel data in table. The possible values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in table. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. + /// + /// + [AutoGenerated(Category = "EXT_paletted_texture", Version = "1.1", EntryPoint = "glGetColorTableEXT")] + public static + void GetColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[,] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetColorTableEXT((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_paletted_texture] + /// Retrieve contents of a color lookup table + /// + /// + /// + /// Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The format of the pixel data in table. The possible values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in table. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. + /// + /// + [AutoGenerated(Category = "EXT_paletted_texture", Version = "1.1", EntryPoint = "glGetColorTableEXT")] + public static + void GetColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[,,] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetColorTableEXT((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_paletted_texture] + /// Retrieve contents of a color lookup table + /// + /// + /// + /// Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The format of the pixel data in table. The possible values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in table. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. + /// + /// + [AutoGenerated(Category = "EXT_paletted_texture", Version = "1.1", EntryPoint = "glGetColorTableEXT")] + public static + void GetColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T3 data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetColorTableEXT((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); + data = (T3)data_ptr.Target; + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_paletted_texture] + /// Get color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a color lookup table parameter. Must be one of GL_COLOR_TABLE_BIAS, GL_COLOR_TABLE_SCALE, GL_COLOR_TABLE_FORMAT, GL_COLOR_TABLE_WIDTH, GL_COLOR_TABLE_RED_SIZE, GL_COLOR_TABLE_GREEN_SIZE, GL_COLOR_TABLE_BLUE_SIZE, GL_COLOR_TABLE_ALPHA_SIZE, GL_COLOR_TABLE_LUMINANCE_SIZE, or GL_COLOR_TABLE_INTENSITY_SIZE. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameter will be stored. + /// + /// + [AutoGenerated(Category = "EXT_paletted_texture", Version = "1.1", EntryPoint = "glGetColorTableParameterfvEXT")] + public static + void GetColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.GetColorTableParameterPName pname, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetColorTableParameterfvEXT((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.GetColorTableParameterPName)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_paletted_texture] + /// Get color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a color lookup table parameter. Must be one of GL_COLOR_TABLE_BIAS, GL_COLOR_TABLE_SCALE, GL_COLOR_TABLE_FORMAT, GL_COLOR_TABLE_WIDTH, GL_COLOR_TABLE_RED_SIZE, GL_COLOR_TABLE_GREEN_SIZE, GL_COLOR_TABLE_BLUE_SIZE, GL_COLOR_TABLE_ALPHA_SIZE, GL_COLOR_TABLE_LUMINANCE_SIZE, or GL_COLOR_TABLE_INTENSITY_SIZE. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameter will be stored. + /// + /// + [AutoGenerated(Category = "EXT_paletted_texture", Version = "1.1", EntryPoint = "glGetColorTableParameterfvEXT")] + public static + void GetColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.GetColorTableParameterPName pname, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetColorTableParameterfvEXT((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.GetColorTableParameterPName)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_paletted_texture] + /// Get color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a color lookup table parameter. Must be one of GL_COLOR_TABLE_BIAS, GL_COLOR_TABLE_SCALE, GL_COLOR_TABLE_FORMAT, GL_COLOR_TABLE_WIDTH, GL_COLOR_TABLE_RED_SIZE, GL_COLOR_TABLE_GREEN_SIZE, GL_COLOR_TABLE_BLUE_SIZE, GL_COLOR_TABLE_ALPHA_SIZE, GL_COLOR_TABLE_LUMINANCE_SIZE, or GL_COLOR_TABLE_INTENSITY_SIZE. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameter will be stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_paletted_texture", Version = "1.1", EntryPoint = "glGetColorTableParameterfvEXT")] + public static + unsafe void GetColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.GetColorTableParameterPName pname, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetColorTableParameterfvEXT((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.GetColorTableParameterPName)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_paletted_texture] + /// Get color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a color lookup table parameter. Must be one of GL_COLOR_TABLE_BIAS, GL_COLOR_TABLE_SCALE, GL_COLOR_TABLE_FORMAT, GL_COLOR_TABLE_WIDTH, GL_COLOR_TABLE_RED_SIZE, GL_COLOR_TABLE_GREEN_SIZE, GL_COLOR_TABLE_BLUE_SIZE, GL_COLOR_TABLE_ALPHA_SIZE, GL_COLOR_TABLE_LUMINANCE_SIZE, or GL_COLOR_TABLE_INTENSITY_SIZE. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameter will be stored. + /// + /// + [AutoGenerated(Category = "EXT_paletted_texture", Version = "1.1", EntryPoint = "glGetColorTableParameterivEXT")] + public static + void GetColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.GetColorTableParameterPName pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetColorTableParameterivEXT((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.GetColorTableParameterPName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_paletted_texture] + /// Get color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a color lookup table parameter. Must be one of GL_COLOR_TABLE_BIAS, GL_COLOR_TABLE_SCALE, GL_COLOR_TABLE_FORMAT, GL_COLOR_TABLE_WIDTH, GL_COLOR_TABLE_RED_SIZE, GL_COLOR_TABLE_GREEN_SIZE, GL_COLOR_TABLE_BLUE_SIZE, GL_COLOR_TABLE_ALPHA_SIZE, GL_COLOR_TABLE_LUMINANCE_SIZE, or GL_COLOR_TABLE_INTENSITY_SIZE. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameter will be stored. + /// + /// + [AutoGenerated(Category = "EXT_paletted_texture", Version = "1.1", EntryPoint = "glGetColorTableParameterivEXT")] + public static + void GetColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.GetColorTableParameterPName pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetColorTableParameterivEXT((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.GetColorTableParameterPName)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_paletted_texture] + /// Get color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a color lookup table parameter. Must be one of GL_COLOR_TABLE_BIAS, GL_COLOR_TABLE_SCALE, GL_COLOR_TABLE_FORMAT, GL_COLOR_TABLE_WIDTH, GL_COLOR_TABLE_RED_SIZE, GL_COLOR_TABLE_GREEN_SIZE, GL_COLOR_TABLE_BLUE_SIZE, GL_COLOR_TABLE_ALPHA_SIZE, GL_COLOR_TABLE_LUMINANCE_SIZE, or GL_COLOR_TABLE_INTENSITY_SIZE. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameter will be stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_paletted_texture", Version = "1.1", EntryPoint = "glGetColorTableParameterivEXT")] + public static + unsafe void GetColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.GetColorTableParameterPName pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetColorTableParameterivEXT((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.GetColorTableParameterPName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetCompressedMultiTexImageEXT")] + public static + void GetCompressedMultiTexImage(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 lod, [OutAttribute] IntPtr img) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetCompressedMultiTexImageEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)lod, (IntPtr)img); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetCompressedMultiTexImageEXT")] + public static + void GetCompressedMultiTexImage(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 lod, [InAttribute, OutAttribute] T3[] img) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); + try + { + Delegates.glGetCompressedMultiTexImageEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); + } + finally + { + img_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetCompressedMultiTexImageEXT")] + public static + void GetCompressedMultiTexImage(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 lod, [InAttribute, OutAttribute] T3[,] img) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); + try + { + Delegates.glGetCompressedMultiTexImageEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); + } + finally + { + img_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetCompressedMultiTexImageEXT")] + public static + void GetCompressedMultiTexImage(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 lod, [InAttribute, OutAttribute] T3[,,] img) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); + try + { + Delegates.glGetCompressedMultiTexImageEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); + } + finally + { + img_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetCompressedMultiTexImageEXT")] + public static + void GetCompressedMultiTexImage(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 lod, [InAttribute, OutAttribute] ref T3 img) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); + try + { + Delegates.glGetCompressedMultiTexImageEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); + img = (T3)img_ptr.Target; + } + finally + { + img_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetCompressedTextureImageEXT")] + public static + void GetCompressedTextureImage(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 lod, [OutAttribute] IntPtr img) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetCompressedTextureImageEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)lod, (IntPtr)img); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetCompressedTextureImageEXT")] + public static + void GetCompressedTextureImage(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 lod, [InAttribute, OutAttribute] T3[] img) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); + try + { + Delegates.glGetCompressedTextureImageEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); + } + finally + { + img_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetCompressedTextureImageEXT")] + public static + void GetCompressedTextureImage(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 lod, [InAttribute, OutAttribute] T3[,] img) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); + try + { + Delegates.glGetCompressedTextureImageEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); + } + finally + { + img_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetCompressedTextureImageEXT")] + public static + void GetCompressedTextureImage(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 lod, [InAttribute, OutAttribute] T3[,,] img) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); + try + { + Delegates.glGetCompressedTextureImageEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); + } + finally + { + img_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetCompressedTextureImageEXT")] + public static + void GetCompressedTextureImage(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 lod, [InAttribute, OutAttribute] ref T3 img) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); + try + { + Delegates.glGetCompressedTextureImageEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); + img = (T3)img_ptr.Target; + } + finally + { + img_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetCompressedTextureImageEXT")] + public static + void GetCompressedTextureImage(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 lod, [OutAttribute] IntPtr img) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetCompressedTextureImageEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)lod, (IntPtr)img); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetCompressedTextureImageEXT")] + public static + void GetCompressedTextureImage(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 lod, [InAttribute, OutAttribute] T3[] img) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); + try + { + Delegates.glGetCompressedTextureImageEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); + } + finally + { + img_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetCompressedTextureImageEXT")] + public static + void GetCompressedTextureImage(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 lod, [InAttribute, OutAttribute] T3[,] img) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); + try + { + Delegates.glGetCompressedTextureImageEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); + } + finally + { + img_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetCompressedTextureImageEXT")] + public static + void GetCompressedTextureImage(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 lod, [InAttribute, OutAttribute] T3[,,] img) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); + try + { + Delegates.glGetCompressedTextureImageEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); + } + finally + { + img_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetCompressedTextureImageEXT")] + public static + void GetCompressedTextureImage(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 lod, [InAttribute, OutAttribute] ref T3 img) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); + try + { + Delegates.glGetCompressedTextureImageEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); + img = (T3)img_ptr.Target; + } + finally + { + img_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_convolution] + /// Get current 1D or 2D convolution filter kernel + /// + /// + /// + /// The filter to be retrieved. Must be one of GL_CONVOLUTION_1D or GL_CONVOLUTION_2D. + /// + /// + /// + /// + /// Format of the output image. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output image. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the output image. + /// + /// + [AutoGenerated(Category = "EXT_convolution", Version = "1.0", EntryPoint = "glGetConvolutionFilterEXT")] + public static + void GetConvolutionFilter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr image) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetConvolutionFilterEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_convolution] + /// Get current 1D or 2D convolution filter kernel + /// + /// + /// + /// The filter to be retrieved. Must be one of GL_CONVOLUTION_1D or GL_CONVOLUTION_2D. + /// + /// + /// + /// + /// Format of the output image. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output image. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the output image. + /// + /// + [AutoGenerated(Category = "EXT_convolution", Version = "1.0", EntryPoint = "glGetConvolutionFilterEXT")] + public static + void GetConvolutionFilter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[] image) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glGetConvolutionFilterEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + } + finally + { + image_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_convolution] + /// Get current 1D or 2D convolution filter kernel + /// + /// + /// + /// The filter to be retrieved. Must be one of GL_CONVOLUTION_1D or GL_CONVOLUTION_2D. + /// + /// + /// + /// + /// Format of the output image. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output image. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the output image. + /// + /// + [AutoGenerated(Category = "EXT_convolution", Version = "1.0", EntryPoint = "glGetConvolutionFilterEXT")] + public static + void GetConvolutionFilter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[,] image) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glGetConvolutionFilterEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + } + finally + { + image_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_convolution] + /// Get current 1D or 2D convolution filter kernel + /// + /// + /// + /// The filter to be retrieved. Must be one of GL_CONVOLUTION_1D or GL_CONVOLUTION_2D. + /// + /// + /// + /// + /// Format of the output image. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output image. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the output image. + /// + /// + [AutoGenerated(Category = "EXT_convolution", Version = "1.0", EntryPoint = "glGetConvolutionFilterEXT")] + public static + void GetConvolutionFilter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[,,] image) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glGetConvolutionFilterEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + } + finally + { + image_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_convolution] + /// Get current 1D or 2D convolution filter kernel + /// + /// + /// + /// The filter to be retrieved. Must be one of GL_CONVOLUTION_1D or GL_CONVOLUTION_2D. + /// + /// + /// + /// + /// Format of the output image. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output image. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the output image. + /// + /// + [AutoGenerated(Category = "EXT_convolution", Version = "1.0", EntryPoint = "glGetConvolutionFilterEXT")] + public static + void GetConvolutionFilter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T3 image) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glGetConvolutionFilterEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + image = (T3)image_ptr.Target; + } + finally + { + image_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_convolution] + /// Get convolution parameters + /// + /// + /// + /// The filter whose parameters are to be retrieved. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The parameter to be retrieved. Must be one of GL_CONVOLUTION_BORDER_MODE, GL_CONVOLUTION_BORDER_COLOR, GL_CONVOLUTION_FILTER_SCALE, GL_CONVOLUTION_FILTER_BIAS, GL_CONVOLUTION_FORMAT, GL_CONVOLUTION_WIDTH, GL_CONVOLUTION_HEIGHT, GL_MAX_CONVOLUTION_WIDTH, or GL_MAX_CONVOLUTION_HEIGHT. + /// + /// + /// + /// + /// Pointer to storage for the parameters to be retrieved. + /// + /// + [AutoGenerated(Category = "EXT_convolution", Version = "1.0", EntryPoint = "glGetConvolutionParameterfvEXT")] + public static + void GetConvolutionParameter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetConvolutionParameterfvEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.ExtConvolution)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_convolution] + /// Get convolution parameters + /// + /// + /// + /// The filter whose parameters are to be retrieved. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The parameter to be retrieved. Must be one of GL_CONVOLUTION_BORDER_MODE, GL_CONVOLUTION_BORDER_COLOR, GL_CONVOLUTION_FILTER_SCALE, GL_CONVOLUTION_FILTER_BIAS, GL_CONVOLUTION_FORMAT, GL_CONVOLUTION_WIDTH, GL_CONVOLUTION_HEIGHT, GL_MAX_CONVOLUTION_WIDTH, or GL_MAX_CONVOLUTION_HEIGHT. + /// + /// + /// + /// + /// Pointer to storage for the parameters to be retrieved. + /// + /// + [AutoGenerated(Category = "EXT_convolution", Version = "1.0", EntryPoint = "glGetConvolutionParameterfvEXT")] + public static + void GetConvolutionParameter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetConvolutionParameterfvEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.ExtConvolution)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_convolution] + /// Get convolution parameters + /// + /// + /// + /// The filter whose parameters are to be retrieved. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The parameter to be retrieved. Must be one of GL_CONVOLUTION_BORDER_MODE, GL_CONVOLUTION_BORDER_COLOR, GL_CONVOLUTION_FILTER_SCALE, GL_CONVOLUTION_FILTER_BIAS, GL_CONVOLUTION_FORMAT, GL_CONVOLUTION_WIDTH, GL_CONVOLUTION_HEIGHT, GL_MAX_CONVOLUTION_WIDTH, or GL_MAX_CONVOLUTION_HEIGHT. + /// + /// + /// + /// + /// Pointer to storage for the parameters to be retrieved. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_convolution", Version = "1.0", EntryPoint = "glGetConvolutionParameterfvEXT")] + public static + unsafe void GetConvolutionParameter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetConvolutionParameterfvEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.ExtConvolution)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_convolution] + /// Get convolution parameters + /// + /// + /// + /// The filter whose parameters are to be retrieved. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The parameter to be retrieved. Must be one of GL_CONVOLUTION_BORDER_MODE, GL_CONVOLUTION_BORDER_COLOR, GL_CONVOLUTION_FILTER_SCALE, GL_CONVOLUTION_FILTER_BIAS, GL_CONVOLUTION_FORMAT, GL_CONVOLUTION_WIDTH, GL_CONVOLUTION_HEIGHT, GL_MAX_CONVOLUTION_WIDTH, or GL_MAX_CONVOLUTION_HEIGHT. + /// + /// + /// + /// + /// Pointer to storage for the parameters to be retrieved. + /// + /// + [AutoGenerated(Category = "EXT_convolution", Version = "1.0", EntryPoint = "glGetConvolutionParameterivEXT")] + public static + void GetConvolutionParameter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetConvolutionParameterivEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.ExtConvolution)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_convolution] + /// Get convolution parameters + /// + /// + /// + /// The filter whose parameters are to be retrieved. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The parameter to be retrieved. Must be one of GL_CONVOLUTION_BORDER_MODE, GL_CONVOLUTION_BORDER_COLOR, GL_CONVOLUTION_FILTER_SCALE, GL_CONVOLUTION_FILTER_BIAS, GL_CONVOLUTION_FORMAT, GL_CONVOLUTION_WIDTH, GL_CONVOLUTION_HEIGHT, GL_MAX_CONVOLUTION_WIDTH, or GL_MAX_CONVOLUTION_HEIGHT. + /// + /// + /// + /// + /// Pointer to storage for the parameters to be retrieved. + /// + /// + [AutoGenerated(Category = "EXT_convolution", Version = "1.0", EntryPoint = "glGetConvolutionParameterivEXT")] + public static + void GetConvolutionParameter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetConvolutionParameterivEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.ExtConvolution)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_convolution] + /// Get convolution parameters + /// + /// + /// + /// The filter whose parameters are to be retrieved. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The parameter to be retrieved. Must be one of GL_CONVOLUTION_BORDER_MODE, GL_CONVOLUTION_BORDER_COLOR, GL_CONVOLUTION_FILTER_SCALE, GL_CONVOLUTION_FILTER_BIAS, GL_CONVOLUTION_FORMAT, GL_CONVOLUTION_WIDTH, GL_CONVOLUTION_HEIGHT, GL_MAX_CONVOLUTION_WIDTH, or GL_MAX_CONVOLUTION_HEIGHT. + /// + /// + /// + /// + /// Pointer to storage for the parameters to be retrieved. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_convolution", Version = "1.0", EntryPoint = "glGetConvolutionParameterivEXT")] + public static + unsafe void GetConvolutionParameter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetConvolutionParameterivEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.ExtConvolution)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetDoubleIndexedvEXT")] + public static + void GetDoubleIndexed(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, [OutAttribute] Double[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* data_ptr = data) + { + Delegates.glGetDoubleIndexedvEXT((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Double*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetDoubleIndexedvEXT")] + public static + void GetDoubleIndexed(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, [OutAttribute] out Double data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* data_ptr = &data) + { + Delegates.glGetDoubleIndexedvEXT((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Double*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetDoubleIndexedvEXT")] + public static + unsafe void GetDoubleIndexed(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, [OutAttribute] Double* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetDoubleIndexedvEXT((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Double*)data); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetDoubleIndexedvEXT")] + public static + void GetDoubleIndexed(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] Double[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* data_ptr = data) + { + Delegates.glGetDoubleIndexedvEXT((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Double*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetDoubleIndexedvEXT")] + public static + void GetDoubleIndexed(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] out Double data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* data_ptr = &data) + { + Delegates.glGetDoubleIndexedvEXT((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Double*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetDoubleIndexedvEXT")] + public static + unsafe void GetDoubleIndexed(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] Double* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetDoubleIndexedvEXT((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Double*)data); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetFloatIndexedvEXT")] + public static + void GetFloatIndexed(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, [OutAttribute] Single[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* data_ptr = data) + { + Delegates.glGetFloatIndexedvEXT((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Single*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetFloatIndexedvEXT")] + public static + void GetFloatIndexed(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, [OutAttribute] out Single data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* data_ptr = &data) + { + Delegates.glGetFloatIndexedvEXT((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Single*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetFloatIndexedvEXT")] + public static + unsafe void GetFloatIndexed(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, [OutAttribute] Single* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetFloatIndexedvEXT((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Single*)data); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetFloatIndexedvEXT")] + public static + void GetFloatIndexed(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] Single[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* data_ptr = data) + { + Delegates.glGetFloatIndexedvEXT((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Single*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetFloatIndexedvEXT")] + public static + void GetFloatIndexed(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] out Single data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* data_ptr = &data) + { + Delegates.glGetFloatIndexedvEXT((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Single*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetFloatIndexedvEXT")] + public static + unsafe void GetFloatIndexed(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] Single* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetFloatIndexedvEXT((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Single*)data); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_gpu_shader4] + /// Query the bindings of color numbers to user-defined varying out variables + /// + /// + /// + /// The name of the program containing varying out variable whose binding to query + /// + /// + /// + /// + /// The name of the user-defined varying out variable whose binding to query + /// + /// + [AutoGenerated(Category = "EXT_gpu_shader4", Version = "2.0", EntryPoint = "glGetFragDataLocationEXT")] + public static + Int32 GetFragDataLocation(Int32 program, String name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glGetFragDataLocationEXT((UInt32)program, (String)name); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_gpu_shader4] + /// Query the bindings of color numbers to user-defined varying out variables + /// + /// + /// + /// The name of the program containing varying out variable whose binding to query + /// + /// + /// + /// + /// The name of the user-defined varying out variable whose binding to query + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_gpu_shader4", Version = "2.0", EntryPoint = "glGetFragDataLocationEXT")] + public static + Int32 GetFragDataLocation(UInt32 program, String name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glGetFragDataLocationEXT((UInt32)program, (String)name); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_framebuffer_object] + /// Retrieve information about attachments of a bound framebuffer object + /// + /// + /// + /// Specifies the target of the query operation. + /// + /// + /// + /// + /// Specifies the attachment within target + /// + /// + /// + /// + /// Specifies the parameter of attachment to query. + /// + /// + /// + /// + /// Specifies the address of a variable receive the value of pname for attachment. + /// + /// + [AutoGenerated(Category = "EXT_framebuffer_object", Version = "1.2", EntryPoint = "glGetFramebufferAttachmentParameterivEXT")] + public static + void GetFramebufferAttachmentParameter(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.FramebufferParameterName pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetFramebufferAttachmentParameterivEXT((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.FramebufferParameterName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_framebuffer_object] + /// Retrieve information about attachments of a bound framebuffer object + /// + /// + /// + /// Specifies the target of the query operation. + /// + /// + /// + /// + /// Specifies the attachment within target + /// + /// + /// + /// + /// Specifies the parameter of attachment to query. + /// + /// + /// + /// + /// Specifies the address of a variable receive the value of pname for attachment. + /// + /// + [AutoGenerated(Category = "EXT_framebuffer_object", Version = "1.2", EntryPoint = "glGetFramebufferAttachmentParameterivEXT")] + public static + void GetFramebufferAttachmentParameter(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.FramebufferParameterName pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetFramebufferAttachmentParameterivEXT((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.FramebufferParameterName)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_framebuffer_object] + /// Retrieve information about attachments of a bound framebuffer object + /// + /// + /// + /// Specifies the target of the query operation. + /// + /// + /// + /// + /// Specifies the attachment within target + /// + /// + /// + /// + /// Specifies the parameter of attachment to query. + /// + /// + /// + /// + /// Specifies the address of a variable receive the value of pname for attachment. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_framebuffer_object", Version = "1.2", EntryPoint = "glGetFramebufferAttachmentParameterivEXT")] + public static + unsafe void GetFramebufferAttachmentParameter(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.FramebufferParameterName pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetFramebufferAttachmentParameterivEXT((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.FramebufferParameterName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetFramebufferParameterivEXT")] + public static + void GetFramebufferParameter(Int32 framebuffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetFramebufferParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetFramebufferParameterivEXT")] + public static + void GetFramebufferParameter(Int32 framebuffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetFramebufferParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetFramebufferParameterivEXT")] + public static + unsafe void GetFramebufferParameter(Int32 framebuffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetFramebufferParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetFramebufferParameterivEXT")] + public static + void GetFramebufferParameter(UInt32 framebuffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetFramebufferParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetFramebufferParameterivEXT")] + public static + void GetFramebufferParameter(UInt32 framebuffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetFramebufferParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetFramebufferParameterivEXT")] + public static + unsafe void GetFramebufferParameter(UInt32 framebuffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetFramebufferParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_histogram] + /// Get histogram table + /// + /// + /// + /// Must be GL_HISTOGRAM. + /// + /// + /// + /// + /// If GL_TRUE, each component counter that is actually returned is reset to zero. (Other counters are unaffected.) If GL_FALSE, none of the counters in the histogram table is modified. + /// + /// + /// + /// + /// The format of values to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of values to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// A pointer to storage for the returned histogram table. + /// + /// + [AutoGenerated(Category = "EXT_histogram", Version = "1.0", EntryPoint = "glGetHistogramEXT")] + public static + void GetHistogram(OpenTK.Graphics.OpenGL.ExtHistogram target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetHistogramEXT((OpenTK.Graphics.OpenGL.ExtHistogram)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_histogram] + /// Get histogram table + /// + /// + /// + /// Must be GL_HISTOGRAM. + /// + /// + /// + /// + /// If GL_TRUE, each component counter that is actually returned is reset to zero. (Other counters are unaffected.) If GL_FALSE, none of the counters in the histogram table is modified. + /// + /// + /// + /// + /// The format of values to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of values to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// A pointer to storage for the returned histogram table. + /// + /// + [AutoGenerated(Category = "EXT_histogram", Version = "1.0", EntryPoint = "glGetHistogramEXT")] + public static + void GetHistogram(OpenTK.Graphics.OpenGL.ExtHistogram target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[] values) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); + try + { + Delegates.glGetHistogramEXT((OpenTK.Graphics.OpenGL.ExtHistogram)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); + } + finally + { + values_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_histogram] + /// Get histogram table + /// + /// + /// + /// Must be GL_HISTOGRAM. + /// + /// + /// + /// + /// If GL_TRUE, each component counter that is actually returned is reset to zero. (Other counters are unaffected.) If GL_FALSE, none of the counters in the histogram table is modified. + /// + /// + /// + /// + /// The format of values to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of values to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// A pointer to storage for the returned histogram table. + /// + /// + [AutoGenerated(Category = "EXT_histogram", Version = "1.0", EntryPoint = "glGetHistogramEXT")] + public static + void GetHistogram(OpenTK.Graphics.OpenGL.ExtHistogram target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[,] values) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); + try + { + Delegates.glGetHistogramEXT((OpenTK.Graphics.OpenGL.ExtHistogram)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); + } + finally + { + values_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_histogram] + /// Get histogram table + /// + /// + /// + /// Must be GL_HISTOGRAM. + /// + /// + /// + /// + /// If GL_TRUE, each component counter that is actually returned is reset to zero. (Other counters are unaffected.) If GL_FALSE, none of the counters in the histogram table is modified. + /// + /// + /// + /// + /// The format of values to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of values to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// A pointer to storage for the returned histogram table. + /// + /// + [AutoGenerated(Category = "EXT_histogram", Version = "1.0", EntryPoint = "glGetHistogramEXT")] + public static + void GetHistogram(OpenTK.Graphics.OpenGL.ExtHistogram target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[,,] values) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); + try + { + Delegates.glGetHistogramEXT((OpenTK.Graphics.OpenGL.ExtHistogram)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); + } + finally + { + values_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_histogram] + /// Get histogram table + /// + /// + /// + /// Must be GL_HISTOGRAM. + /// + /// + /// + /// + /// If GL_TRUE, each component counter that is actually returned is reset to zero. (Other counters are unaffected.) If GL_FALSE, none of the counters in the histogram table is modified. + /// + /// + /// + /// + /// The format of values to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of values to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// A pointer to storage for the returned histogram table. + /// + /// + [AutoGenerated(Category = "EXT_histogram", Version = "1.0", EntryPoint = "glGetHistogramEXT")] + public static + void GetHistogram(OpenTK.Graphics.OpenGL.ExtHistogram target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T4 values) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); + try + { + Delegates.glGetHistogramEXT((OpenTK.Graphics.OpenGL.ExtHistogram)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); + values = (T4)values_ptr.Target; + } + finally + { + values_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_histogram] + /// Get histogram parameters + /// + /// + /// + /// Must be one of GL_HISTOGRAM or GL_PROXY_HISTOGRAM. + /// + /// + /// + /// + /// The name of the parameter to be retrieved. Must be one of GL_HISTOGRAM_WIDTH, GL_HISTOGRAM_FORMAT, GL_HISTOGRAM_RED_SIZE, GL_HISTOGRAM_GREEN_SIZE, GL_HISTOGRAM_BLUE_SIZE, GL_HISTOGRAM_ALPHA_SIZE, GL_HISTOGRAM_LUMINANCE_SIZE, or GL_HISTOGRAM_SINK. + /// + /// + /// + /// + /// Pointer to storage for the returned values. + /// + /// + [AutoGenerated(Category = "EXT_histogram", Version = "1.0", EntryPoint = "glGetHistogramParameterfvEXT")] + public static + void GetHistogramParameter(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetHistogramParameterfvEXT((OpenTK.Graphics.OpenGL.ExtHistogram)target, (OpenTK.Graphics.OpenGL.ExtHistogram)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_histogram] + /// Get histogram parameters + /// + /// + /// + /// Must be one of GL_HISTOGRAM or GL_PROXY_HISTOGRAM. + /// + /// + /// + /// + /// The name of the parameter to be retrieved. Must be one of GL_HISTOGRAM_WIDTH, GL_HISTOGRAM_FORMAT, GL_HISTOGRAM_RED_SIZE, GL_HISTOGRAM_GREEN_SIZE, GL_HISTOGRAM_BLUE_SIZE, GL_HISTOGRAM_ALPHA_SIZE, GL_HISTOGRAM_LUMINANCE_SIZE, or GL_HISTOGRAM_SINK. + /// + /// + /// + /// + /// Pointer to storage for the returned values. + /// + /// + [AutoGenerated(Category = "EXT_histogram", Version = "1.0", EntryPoint = "glGetHistogramParameterfvEXT")] + public static + void GetHistogramParameter(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetHistogramParameterfvEXT((OpenTK.Graphics.OpenGL.ExtHistogram)target, (OpenTK.Graphics.OpenGL.ExtHistogram)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_histogram] + /// Get histogram parameters + /// + /// + /// + /// Must be one of GL_HISTOGRAM or GL_PROXY_HISTOGRAM. + /// + /// + /// + /// + /// The name of the parameter to be retrieved. Must be one of GL_HISTOGRAM_WIDTH, GL_HISTOGRAM_FORMAT, GL_HISTOGRAM_RED_SIZE, GL_HISTOGRAM_GREEN_SIZE, GL_HISTOGRAM_BLUE_SIZE, GL_HISTOGRAM_ALPHA_SIZE, GL_HISTOGRAM_LUMINANCE_SIZE, or GL_HISTOGRAM_SINK. + /// + /// + /// + /// + /// Pointer to storage for the returned values. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_histogram", Version = "1.0", EntryPoint = "glGetHistogramParameterfvEXT")] + public static + unsafe void GetHistogramParameter(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetHistogramParameterfvEXT((OpenTK.Graphics.OpenGL.ExtHistogram)target, (OpenTK.Graphics.OpenGL.ExtHistogram)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_histogram] + /// Get histogram parameters + /// + /// + /// + /// Must be one of GL_HISTOGRAM or GL_PROXY_HISTOGRAM. + /// + /// + /// + /// + /// The name of the parameter to be retrieved. Must be one of GL_HISTOGRAM_WIDTH, GL_HISTOGRAM_FORMAT, GL_HISTOGRAM_RED_SIZE, GL_HISTOGRAM_GREEN_SIZE, GL_HISTOGRAM_BLUE_SIZE, GL_HISTOGRAM_ALPHA_SIZE, GL_HISTOGRAM_LUMINANCE_SIZE, or GL_HISTOGRAM_SINK. + /// + /// + /// + /// + /// Pointer to storage for the returned values. + /// + /// + [AutoGenerated(Category = "EXT_histogram", Version = "1.0", EntryPoint = "glGetHistogramParameterivEXT")] + public static + void GetHistogramParameter(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetHistogramParameterivEXT((OpenTK.Graphics.OpenGL.ExtHistogram)target, (OpenTK.Graphics.OpenGL.ExtHistogram)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_histogram] + /// Get histogram parameters + /// + /// + /// + /// Must be one of GL_HISTOGRAM or GL_PROXY_HISTOGRAM. + /// + /// + /// + /// + /// The name of the parameter to be retrieved. Must be one of GL_HISTOGRAM_WIDTH, GL_HISTOGRAM_FORMAT, GL_HISTOGRAM_RED_SIZE, GL_HISTOGRAM_GREEN_SIZE, GL_HISTOGRAM_BLUE_SIZE, GL_HISTOGRAM_ALPHA_SIZE, GL_HISTOGRAM_LUMINANCE_SIZE, or GL_HISTOGRAM_SINK. + /// + /// + /// + /// + /// Pointer to storage for the returned values. + /// + /// + [AutoGenerated(Category = "EXT_histogram", Version = "1.0", EntryPoint = "glGetHistogramParameterivEXT")] + public static + void GetHistogramParameter(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetHistogramParameterivEXT((OpenTK.Graphics.OpenGL.ExtHistogram)target, (OpenTK.Graphics.OpenGL.ExtHistogram)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_histogram] + /// Get histogram parameters + /// + /// + /// + /// Must be one of GL_HISTOGRAM or GL_PROXY_HISTOGRAM. + /// + /// + /// + /// + /// The name of the parameter to be retrieved. Must be one of GL_HISTOGRAM_WIDTH, GL_HISTOGRAM_FORMAT, GL_HISTOGRAM_RED_SIZE, GL_HISTOGRAM_GREEN_SIZE, GL_HISTOGRAM_BLUE_SIZE, GL_HISTOGRAM_ALPHA_SIZE, GL_HISTOGRAM_LUMINANCE_SIZE, or GL_HISTOGRAM_SINK. + /// + /// + /// + /// + /// Pointer to storage for the returned values. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_histogram", Version = "1.0", EntryPoint = "glGetHistogramParameterivEXT")] + public static + unsafe void GetHistogramParameter(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetHistogramParameterivEXT((OpenTK.Graphics.OpenGL.ExtHistogram)target, (OpenTK.Graphics.OpenGL.ExtHistogram)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_draw_buffers2] + [AutoGenerated(Category = "EXT_draw_buffers2", Version = "2.0", EntryPoint = "glGetIntegerIndexedvEXT")] + public static + void GetIntegerIndexed(OpenTK.Graphics.OpenGL.GetIndexedPName target, Int32 index, [OutAttribute] Int32[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* data_ptr = data) + { + Delegates.glGetIntegerIndexedvEXT((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Int32*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_draw_buffers2] + [AutoGenerated(Category = "EXT_draw_buffers2", Version = "2.0", EntryPoint = "glGetIntegerIndexedvEXT")] + public static + void GetIntegerIndexed(OpenTK.Graphics.OpenGL.GetIndexedPName target, Int32 index, [OutAttribute] out Int32 data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* data_ptr = &data) + { + Delegates.glGetIntegerIndexedvEXT((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Int32*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_draw_buffers2] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_draw_buffers2", Version = "2.0", EntryPoint = "glGetIntegerIndexedvEXT")] + public static + unsafe void GetIntegerIndexed(OpenTK.Graphics.OpenGL.GetIndexedPName target, Int32 index, [OutAttribute] Int32* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetIntegerIndexedvEXT((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Int32*)data); + #if DEBUG + } + #endif + } + + /// [requires: EXT_draw_buffers2] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_draw_buffers2", Version = "2.0", EntryPoint = "glGetIntegerIndexedvEXT")] + public static + void GetIntegerIndexed(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] Int32[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* data_ptr = data) + { + Delegates.glGetIntegerIndexedvEXT((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Int32*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_draw_buffers2] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_draw_buffers2", Version = "2.0", EntryPoint = "glGetIntegerIndexedvEXT")] + public static + void GetIntegerIndexed(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] out Int32 data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* data_ptr = &data) + { + Delegates.glGetIntegerIndexedvEXT((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Int32*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_draw_buffers2] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_draw_buffers2", Version = "2.0", EntryPoint = "glGetIntegerIndexedvEXT")] + public static + unsafe void GetIntegerIndexed(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] Int32* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetIntegerIndexedvEXT((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Int32*)data); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glGetInvariantBooleanvEXT")] + public static + void GetInvariantBoolean(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] bool[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (bool* data_ptr = data) + { + Delegates.glGetInvariantBooleanvEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (bool*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glGetInvariantBooleanvEXT")] + public static + void GetInvariantBoolean(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] out bool data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (bool* data_ptr = &data) + { + Delegates.glGetInvariantBooleanvEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (bool*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glGetInvariantBooleanvEXT")] + public static + unsafe void GetInvariantBoolean(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] bool* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetInvariantBooleanvEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (bool*)data); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glGetInvariantBooleanvEXT")] + public static + void GetInvariantBoolean(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] bool[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (bool* data_ptr = data) + { + Delegates.glGetInvariantBooleanvEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (bool*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glGetInvariantBooleanvEXT")] + public static + void GetInvariantBoolean(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] out bool data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (bool* data_ptr = &data) + { + Delegates.glGetInvariantBooleanvEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (bool*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glGetInvariantBooleanvEXT")] + public static + unsafe void GetInvariantBoolean(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] bool* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetInvariantBooleanvEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (bool*)data); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glGetInvariantFloatvEXT")] + public static + void GetInvariantFloat(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Single[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* data_ptr = data) + { + Delegates.glGetInvariantFloatvEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (Single*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glGetInvariantFloatvEXT")] + public static + void GetInvariantFloat(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] out Single data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* data_ptr = &data) + { + Delegates.glGetInvariantFloatvEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (Single*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glGetInvariantFloatvEXT")] + public static + unsafe void GetInvariantFloat(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Single* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetInvariantFloatvEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (Single*)data); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glGetInvariantFloatvEXT")] + public static + void GetInvariantFloat(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Single[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* data_ptr = data) + { + Delegates.glGetInvariantFloatvEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (Single*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glGetInvariantFloatvEXT")] + public static + void GetInvariantFloat(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] out Single data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* data_ptr = &data) + { + Delegates.glGetInvariantFloatvEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (Single*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glGetInvariantFloatvEXT")] + public static + unsafe void GetInvariantFloat(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Single* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetInvariantFloatvEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (Single*)data); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glGetInvariantIntegervEXT")] + public static + void GetInvariantInteger(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Int32[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* data_ptr = data) + { + Delegates.glGetInvariantIntegervEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (Int32*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glGetInvariantIntegervEXT")] + public static + void GetInvariantInteger(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] out Int32 data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* data_ptr = &data) + { + Delegates.glGetInvariantIntegervEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (Int32*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glGetInvariantIntegervEXT")] + public static + unsafe void GetInvariantInteger(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Int32* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetInvariantIntegervEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (Int32*)data); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glGetInvariantIntegervEXT")] + public static + void GetInvariantInteger(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Int32[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* data_ptr = data) + { + Delegates.glGetInvariantIntegervEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (Int32*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glGetInvariantIntegervEXT")] + public static + void GetInvariantInteger(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] out Int32 data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* data_ptr = &data) + { + Delegates.glGetInvariantIntegervEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (Int32*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glGetInvariantIntegervEXT")] + public static + unsafe void GetInvariantInteger(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Int32* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetInvariantIntegervEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (Int32*)data); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glGetLocalConstantBooleanvEXT")] + public static + void GetLocalConstantBoolean(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] bool[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (bool* data_ptr = data) + { + Delegates.glGetLocalConstantBooleanvEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (bool*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glGetLocalConstantBooleanvEXT")] + public static + void GetLocalConstantBoolean(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] out bool data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (bool* data_ptr = &data) + { + Delegates.glGetLocalConstantBooleanvEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (bool*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glGetLocalConstantBooleanvEXT")] + public static + unsafe void GetLocalConstantBoolean(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] bool* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetLocalConstantBooleanvEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (bool*)data); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glGetLocalConstantBooleanvEXT")] + public static + void GetLocalConstantBoolean(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] bool[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (bool* data_ptr = data) + { + Delegates.glGetLocalConstantBooleanvEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (bool*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glGetLocalConstantBooleanvEXT")] + public static + void GetLocalConstantBoolean(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] out bool data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (bool* data_ptr = &data) + { + Delegates.glGetLocalConstantBooleanvEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (bool*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glGetLocalConstantBooleanvEXT")] + public static + unsafe void GetLocalConstantBoolean(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] bool* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetLocalConstantBooleanvEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (bool*)data); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glGetLocalConstantFloatvEXT")] + public static + void GetLocalConstantFloat(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Single[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* data_ptr = data) + { + Delegates.glGetLocalConstantFloatvEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (Single*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glGetLocalConstantFloatvEXT")] + public static + void GetLocalConstantFloat(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] out Single data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* data_ptr = &data) + { + Delegates.glGetLocalConstantFloatvEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (Single*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glGetLocalConstantFloatvEXT")] + public static + unsafe void GetLocalConstantFloat(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Single* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetLocalConstantFloatvEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (Single*)data); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glGetLocalConstantFloatvEXT")] + public static + void GetLocalConstantFloat(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Single[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* data_ptr = data) + { + Delegates.glGetLocalConstantFloatvEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (Single*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glGetLocalConstantFloatvEXT")] + public static + void GetLocalConstantFloat(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] out Single data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* data_ptr = &data) + { + Delegates.glGetLocalConstantFloatvEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (Single*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glGetLocalConstantFloatvEXT")] + public static + unsafe void GetLocalConstantFloat(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Single* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetLocalConstantFloatvEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (Single*)data); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glGetLocalConstantIntegervEXT")] + public static + void GetLocalConstantInteger(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Int32[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* data_ptr = data) + { + Delegates.glGetLocalConstantIntegervEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (Int32*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glGetLocalConstantIntegervEXT")] + public static + void GetLocalConstantInteger(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] out Int32 data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* data_ptr = &data) + { + Delegates.glGetLocalConstantIntegervEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (Int32*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glGetLocalConstantIntegervEXT")] + public static + unsafe void GetLocalConstantInteger(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Int32* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetLocalConstantIntegervEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (Int32*)data); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glGetLocalConstantIntegervEXT")] + public static + void GetLocalConstantInteger(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Int32[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* data_ptr = data) + { + Delegates.glGetLocalConstantIntegervEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (Int32*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glGetLocalConstantIntegervEXT")] + public static + void GetLocalConstantInteger(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] out Int32 data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* data_ptr = &data) + { + Delegates.glGetLocalConstantIntegervEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (Int32*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glGetLocalConstantIntegervEXT")] + public static + unsafe void GetLocalConstantInteger(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Int32* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetLocalConstantIntegervEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (Int32*)data); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_histogram] + /// Get minimum and maximum pixel values + /// + /// + /// + /// Must be GL_MINMAX. + /// + /// + /// + /// + /// If GL_TRUE, all entries in the minmax table that are actually returned are reset to their initial values. (Other entries are unaltered.) If GL_FALSE, the minmax table is unaltered. + /// + /// + /// + /// + /// The format of the data to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the data to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// A pointer to storage for the returned values. + /// + /// + [AutoGenerated(Category = "EXT_histogram", Version = "1.0", EntryPoint = "glGetMinmaxEXT")] + public static + void GetMinmax(OpenTK.Graphics.OpenGL.ExtHistogram target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMinmaxEXT((OpenTK.Graphics.OpenGL.ExtHistogram)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_histogram] + /// Get minimum and maximum pixel values + /// + /// + /// + /// Must be GL_MINMAX. + /// + /// + /// + /// + /// If GL_TRUE, all entries in the minmax table that are actually returned are reset to their initial values. (Other entries are unaltered.) If GL_FALSE, the minmax table is unaltered. + /// + /// + /// + /// + /// The format of the data to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the data to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// A pointer to storage for the returned values. + /// + /// + [AutoGenerated(Category = "EXT_histogram", Version = "1.0", EntryPoint = "glGetMinmaxEXT")] + public static + void GetMinmax(OpenTK.Graphics.OpenGL.ExtHistogram target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[] values) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); + try + { + Delegates.glGetMinmaxEXT((OpenTK.Graphics.OpenGL.ExtHistogram)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); + } + finally + { + values_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_histogram] + /// Get minimum and maximum pixel values + /// + /// + /// + /// Must be GL_MINMAX. + /// + /// + /// + /// + /// If GL_TRUE, all entries in the minmax table that are actually returned are reset to their initial values. (Other entries are unaltered.) If GL_FALSE, the minmax table is unaltered. + /// + /// + /// + /// + /// The format of the data to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the data to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// A pointer to storage for the returned values. + /// + /// + [AutoGenerated(Category = "EXT_histogram", Version = "1.0", EntryPoint = "glGetMinmaxEXT")] + public static + void GetMinmax(OpenTK.Graphics.OpenGL.ExtHistogram target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[,] values) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); + try + { + Delegates.glGetMinmaxEXT((OpenTK.Graphics.OpenGL.ExtHistogram)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); + } + finally + { + values_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_histogram] + /// Get minimum and maximum pixel values + /// + /// + /// + /// Must be GL_MINMAX. + /// + /// + /// + /// + /// If GL_TRUE, all entries in the minmax table that are actually returned are reset to their initial values. (Other entries are unaltered.) If GL_FALSE, the minmax table is unaltered. + /// + /// + /// + /// + /// The format of the data to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the data to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// A pointer to storage for the returned values. + /// + /// + [AutoGenerated(Category = "EXT_histogram", Version = "1.0", EntryPoint = "glGetMinmaxEXT")] + public static + void GetMinmax(OpenTK.Graphics.OpenGL.ExtHistogram target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[,,] values) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); + try + { + Delegates.glGetMinmaxEXT((OpenTK.Graphics.OpenGL.ExtHistogram)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); + } + finally + { + values_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_histogram] + /// Get minimum and maximum pixel values + /// + /// + /// + /// Must be GL_MINMAX. + /// + /// + /// + /// + /// If GL_TRUE, all entries in the minmax table that are actually returned are reset to their initial values. (Other entries are unaltered.) If GL_FALSE, the minmax table is unaltered. + /// + /// + /// + /// + /// The format of the data to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the data to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// A pointer to storage for the returned values. + /// + /// + [AutoGenerated(Category = "EXT_histogram", Version = "1.0", EntryPoint = "glGetMinmaxEXT")] + public static + void GetMinmax(OpenTK.Graphics.OpenGL.ExtHistogram target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T4 values) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); + try + { + Delegates.glGetMinmaxEXT((OpenTK.Graphics.OpenGL.ExtHistogram)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); + values = (T4)values_ptr.Target; + } + finally + { + values_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_histogram] + /// Get minmax parameters + /// + /// + /// + /// Must be GL_MINMAX. + /// + /// + /// + /// + /// The parameter to be retrieved. Must be one of GL_MINMAX_FORMAT or GL_MINMAX_SINK. + /// + /// + /// + /// + /// A pointer to storage for the retrieved parameters. + /// + /// + [AutoGenerated(Category = "EXT_histogram", Version = "1.0", EntryPoint = "glGetMinmaxParameterfvEXT")] + public static + void GetMinmaxParameter(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetMinmaxParameterfvEXT((OpenTK.Graphics.OpenGL.ExtHistogram)target, (OpenTK.Graphics.OpenGL.ExtHistogram)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_histogram] + /// Get minmax parameters + /// + /// + /// + /// Must be GL_MINMAX. + /// + /// + /// + /// + /// The parameter to be retrieved. Must be one of GL_MINMAX_FORMAT or GL_MINMAX_SINK. + /// + /// + /// + /// + /// A pointer to storage for the retrieved parameters. + /// + /// + [AutoGenerated(Category = "EXT_histogram", Version = "1.0", EntryPoint = "glGetMinmaxParameterfvEXT")] + public static + void GetMinmaxParameter(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetMinmaxParameterfvEXT((OpenTK.Graphics.OpenGL.ExtHistogram)target, (OpenTK.Graphics.OpenGL.ExtHistogram)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_histogram] + /// Get minmax parameters + /// + /// + /// + /// Must be GL_MINMAX. + /// + /// + /// + /// + /// The parameter to be retrieved. Must be one of GL_MINMAX_FORMAT or GL_MINMAX_SINK. + /// + /// + /// + /// + /// A pointer to storage for the retrieved parameters. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_histogram", Version = "1.0", EntryPoint = "glGetMinmaxParameterfvEXT")] + public static + unsafe void GetMinmaxParameter(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMinmaxParameterfvEXT((OpenTK.Graphics.OpenGL.ExtHistogram)target, (OpenTK.Graphics.OpenGL.ExtHistogram)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_histogram] + /// Get minmax parameters + /// + /// + /// + /// Must be GL_MINMAX. + /// + /// + /// + /// + /// The parameter to be retrieved. Must be one of GL_MINMAX_FORMAT or GL_MINMAX_SINK. + /// + /// + /// + /// + /// A pointer to storage for the retrieved parameters. + /// + /// + [AutoGenerated(Category = "EXT_histogram", Version = "1.0", EntryPoint = "glGetMinmaxParameterivEXT")] + public static + void GetMinmaxParameter(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetMinmaxParameterivEXT((OpenTK.Graphics.OpenGL.ExtHistogram)target, (OpenTK.Graphics.OpenGL.ExtHistogram)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_histogram] + /// Get minmax parameters + /// + /// + /// + /// Must be GL_MINMAX. + /// + /// + /// + /// + /// The parameter to be retrieved. Must be one of GL_MINMAX_FORMAT or GL_MINMAX_SINK. + /// + /// + /// + /// + /// A pointer to storage for the retrieved parameters. + /// + /// + [AutoGenerated(Category = "EXT_histogram", Version = "1.0", EntryPoint = "glGetMinmaxParameterivEXT")] + public static + void GetMinmaxParameter(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetMinmaxParameterivEXT((OpenTK.Graphics.OpenGL.ExtHistogram)target, (OpenTK.Graphics.OpenGL.ExtHistogram)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_histogram] + /// Get minmax parameters + /// + /// + /// + /// Must be GL_MINMAX. + /// + /// + /// + /// + /// The parameter to be retrieved. Must be one of GL_MINMAX_FORMAT or GL_MINMAX_SINK. + /// + /// + /// + /// + /// A pointer to storage for the retrieved parameters. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_histogram", Version = "1.0", EntryPoint = "glGetMinmaxParameterivEXT")] + public static + unsafe void GetMinmaxParameter(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMinmaxParameterivEXT((OpenTK.Graphics.OpenGL.ExtHistogram)target, (OpenTK.Graphics.OpenGL.ExtHistogram)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexEnvfvEXT")] + public static + void GetMultiTexEnv(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetMultiTexEnvfvEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexEnvfvEXT")] + public static + void GetMultiTexEnv(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetMultiTexEnvfvEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexEnvfvEXT")] + public static + unsafe void GetMultiTexEnv(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMultiTexEnvfvEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexEnvivEXT")] + public static + void GetMultiTexEnv(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetMultiTexEnvivEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexEnvivEXT")] + public static + void GetMultiTexEnv(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetMultiTexEnvivEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexEnvivEXT")] + public static + unsafe void GetMultiTexEnv(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMultiTexEnvivEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexGendvEXT")] + public static + void GetMultiTexGen(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] Double[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = @params) + { + Delegates.glGetMultiTexGendvEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexGendvEXT")] + public static + void GetMultiTexGen(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] out Double @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = &@params) + { + Delegates.glGetMultiTexGendvEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Double*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexGendvEXT")] + public static + unsafe void GetMultiTexGen(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMultiTexGendvEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Double*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexGenfvEXT")] + public static + void GetMultiTexGen(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetMultiTexGenfvEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexGenfvEXT")] + public static + void GetMultiTexGen(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetMultiTexGenfvEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexGenfvEXT")] + public static + unsafe void GetMultiTexGen(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMultiTexGenfvEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexGenivEXT")] + public static + void GetMultiTexGen(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetMultiTexGenivEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexGenivEXT")] + public static + void GetMultiTexGen(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetMultiTexGenivEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexGenivEXT")] + public static + unsafe void GetMultiTexGen(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMultiTexGenivEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexImageEXT")] + public static + void GetMultiTexImage(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMultiTexImageEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexImageEXT")] + public static + void GetMultiTexImage(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[] pixels) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glGetMultiTexImageEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexImageEXT")] + public static + void GetMultiTexImage(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[,] pixels) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glGetMultiTexImageEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexImageEXT")] + public static + void GetMultiTexImage(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[,,] pixels) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glGetMultiTexImageEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexImageEXT")] + public static + void GetMultiTexImage(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T5 pixels) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glGetMultiTexImageEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + pixels = (T5)pixels_ptr.Target; + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexLevelParameterfvEXT")] + public static + void GetMultiTexLevelParameter(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetMultiTexLevelParameterfvEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexLevelParameterfvEXT")] + public static + void GetMultiTexLevelParameter(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetMultiTexLevelParameterfvEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexLevelParameterfvEXT")] + public static + unsafe void GetMultiTexLevelParameter(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMultiTexLevelParameterfvEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexLevelParameterivEXT")] + public static + void GetMultiTexLevelParameter(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetMultiTexLevelParameterivEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexLevelParameterivEXT")] + public static + void GetMultiTexLevelParameter(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetMultiTexLevelParameterivEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexLevelParameterivEXT")] + public static + unsafe void GetMultiTexLevelParameter(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMultiTexLevelParameterivEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexParameterfvEXT")] + public static + void GetMultiTexParameter(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetMultiTexParameterfvEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexParameterfvEXT")] + public static + void GetMultiTexParameter(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetMultiTexParameterfvEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexParameterfvEXT")] + public static + unsafe void GetMultiTexParameter(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMultiTexParameterfvEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexParameterIivEXT")] + public static + void GetMultiTexParameterI(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetMultiTexParameterIivEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexParameterIivEXT")] + public static + void GetMultiTexParameterI(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetMultiTexParameterIivEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexParameterIivEXT")] + public static + unsafe void GetMultiTexParameterI(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMultiTexParameterIivEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexParameterIuivEXT")] + public static + void GetMultiTexParameterI(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] UInt32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = @params) + { + Delegates.glGetMultiTexParameterIuivEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexParameterIuivEXT")] + public static + void GetMultiTexParameterI(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] out UInt32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = &@params) + { + Delegates.glGetMultiTexParameterIuivEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (UInt32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexParameterIuivEXT")] + public static + unsafe void GetMultiTexParameterI(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] UInt32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMultiTexParameterIuivEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (UInt32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexParameterivEXT")] + public static + void GetMultiTexParameter(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetMultiTexParameterivEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexParameterivEXT")] + public static + void GetMultiTexParameter(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetMultiTexParameterivEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexParameterivEXT")] + public static + unsafe void GetMultiTexParameter(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMultiTexParameterivEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedBufferParameterivEXT")] + public static + void GetNamedBufferParameter(Int32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetNamedBufferParameterivEXT((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedBufferParameterivEXT")] + public static + void GetNamedBufferParameter(Int32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetNamedBufferParameterivEXT((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedBufferParameterivEXT")] + public static + unsafe void GetNamedBufferParameter(Int32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetNamedBufferParameterivEXT((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedBufferParameterivEXT")] + public static + void GetNamedBufferParameter(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetNamedBufferParameterivEXT((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedBufferParameterivEXT")] + public static + void GetNamedBufferParameter(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetNamedBufferParameterivEXT((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedBufferParameterivEXT")] + public static + unsafe void GetNamedBufferParameter(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetNamedBufferParameterivEXT((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedBufferPointervEXT")] + public static + void GetNamedBufferPointer(Int32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] IntPtr @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetNamedBufferPointervEXT((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedBufferPointervEXT")] + public static + void GetNamedBufferPointer(Int32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [InAttribute, OutAttribute] T2[] @params) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetNamedBufferPointervEXT((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedBufferPointervEXT")] + public static + void GetNamedBufferPointer(Int32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [InAttribute, OutAttribute] T2[,] @params) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetNamedBufferPointervEXT((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedBufferPointervEXT")] + public static + void GetNamedBufferPointer(Int32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [InAttribute, OutAttribute] T2[,,] @params) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetNamedBufferPointervEXT((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedBufferPointervEXT")] + public static + void GetNamedBufferPointer(Int32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [InAttribute, OutAttribute] ref T2 @params) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetNamedBufferPointervEXT((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + @params = (T2)@params_ptr.Target; + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedBufferPointervEXT")] + public static + void GetNamedBufferPointer(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] IntPtr @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetNamedBufferPointervEXT((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedBufferPointervEXT")] + public static + void GetNamedBufferPointer(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [InAttribute, OutAttribute] T2[] @params) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetNamedBufferPointervEXT((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedBufferPointervEXT")] + public static + void GetNamedBufferPointer(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [InAttribute, OutAttribute] T2[,] @params) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetNamedBufferPointervEXT((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedBufferPointervEXT")] + public static + void GetNamedBufferPointer(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [InAttribute, OutAttribute] T2[,,] @params) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetNamedBufferPointervEXT((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedBufferPointervEXT")] + public static + void GetNamedBufferPointer(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [InAttribute, OutAttribute] ref T2 @params) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetNamedBufferPointervEXT((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + @params = (T2)@params_ptr.Target; + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedBufferSubDataEXT")] + public static + void GetNamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, [OutAttribute] IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedBufferSubDataEXT")] + public static + void GetNamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedBufferSubDataEXT")] + public static + void GetNamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedBufferSubDataEXT")] + public static + void GetNamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,,] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedBufferSubDataEXT")] + public static + void GetNamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] ref T3 data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + data = (T3)data_ptr.Target; + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedBufferSubDataEXT")] + public static + void GetNamedBufferSubData(UInt32 buffer, IntPtr offset, IntPtr size, [OutAttribute] IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedBufferSubDataEXT")] + public static + void GetNamedBufferSubData(UInt32 buffer, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedBufferSubDataEXT")] + public static + void GetNamedBufferSubData(UInt32 buffer, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedBufferSubDataEXT")] + public static + void GetNamedBufferSubData(UInt32 buffer, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,,] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedBufferSubDataEXT")] + public static + void GetNamedBufferSubData(UInt32 buffer, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] ref T3 data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + data = (T3)data_ptr.Target; + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedFramebufferAttachmentParameterivEXT")] + public static + void GetNamedFramebufferAttachmentParameter(Int32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetNamedFramebufferAttachmentParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedFramebufferAttachmentParameterivEXT")] + public static + void GetNamedFramebufferAttachmentParameter(Int32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetNamedFramebufferAttachmentParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedFramebufferAttachmentParameterivEXT")] + public static + unsafe void GetNamedFramebufferAttachmentParameter(Int32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetNamedFramebufferAttachmentParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedFramebufferAttachmentParameterivEXT")] + public static + void GetNamedFramebufferAttachmentParameter(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetNamedFramebufferAttachmentParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedFramebufferAttachmentParameterivEXT")] + public static + void GetNamedFramebufferAttachmentParameter(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetNamedFramebufferAttachmentParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedFramebufferAttachmentParameterivEXT")] + public static + unsafe void GetNamedFramebufferAttachmentParameter(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetNamedFramebufferAttachmentParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramivEXT")] + public static + void GetNamedProgram(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetNamedProgramivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramivEXT")] + public static + unsafe void GetNamedProgram(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetNamedProgramivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramivEXT")] + public static + void GetNamedProgram(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetNamedProgramivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramivEXT")] + public static + unsafe void GetNamedProgram(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetNamedProgramivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramLocalParameterdvEXT")] + public static + void GetNamedProgramLocalParameter(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, [OutAttribute] Double[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = @params) + { + Delegates.glGetNamedProgramLocalParameterdvEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramLocalParameterdvEXT")] + public static + void GetNamedProgramLocalParameter(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, [OutAttribute] out Double @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = &@params) + { + Delegates.glGetNamedProgramLocalParameterdvEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Double*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramLocalParameterdvEXT")] + public static + unsafe void GetNamedProgramLocalParameter(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, [OutAttribute] Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetNamedProgramLocalParameterdvEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Double*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramLocalParameterdvEXT")] + public static + void GetNamedProgramLocalParameter(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] Double[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = @params) + { + Delegates.glGetNamedProgramLocalParameterdvEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramLocalParameterdvEXT")] + public static + void GetNamedProgramLocalParameter(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] out Double @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = &@params) + { + Delegates.glGetNamedProgramLocalParameterdvEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Double*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramLocalParameterdvEXT")] + public static + unsafe void GetNamedProgramLocalParameter(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetNamedProgramLocalParameterdvEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Double*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramLocalParameterfvEXT")] + public static + void GetNamedProgramLocalParameter(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetNamedProgramLocalParameterfvEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramLocalParameterfvEXT")] + public static + void GetNamedProgramLocalParameter(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetNamedProgramLocalParameterfvEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramLocalParameterfvEXT")] + public static + unsafe void GetNamedProgramLocalParameter(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetNamedProgramLocalParameterfvEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramLocalParameterfvEXT")] + public static + void GetNamedProgramLocalParameter(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetNamedProgramLocalParameterfvEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramLocalParameterfvEXT")] + public static + void GetNamedProgramLocalParameter(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetNamedProgramLocalParameterfvEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramLocalParameterfvEXT")] + public static + unsafe void GetNamedProgramLocalParameter(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetNamedProgramLocalParameterfvEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramLocalParameterIivEXT")] + public static + void GetNamedProgramLocalParameterI(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetNamedProgramLocalParameterIivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramLocalParameterIivEXT")] + public static + void GetNamedProgramLocalParameterI(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetNamedProgramLocalParameterIivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramLocalParameterIivEXT")] + public static + unsafe void GetNamedProgramLocalParameterI(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetNamedProgramLocalParameterIivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramLocalParameterIivEXT")] + public static + void GetNamedProgramLocalParameterI(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetNamedProgramLocalParameterIivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramLocalParameterIivEXT")] + public static + void GetNamedProgramLocalParameterI(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetNamedProgramLocalParameterIivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramLocalParameterIivEXT")] + public static + unsafe void GetNamedProgramLocalParameterI(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetNamedProgramLocalParameterIivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramLocalParameterIuivEXT")] + public static + void GetNamedProgramLocalParameterI(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] UInt32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = @params) + { + Delegates.glGetNamedProgramLocalParameterIuivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramLocalParameterIuivEXT")] + public static + void GetNamedProgramLocalParameterI(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] out UInt32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = &@params) + { + Delegates.glGetNamedProgramLocalParameterIuivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (UInt32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramLocalParameterIuivEXT")] + public static + unsafe void GetNamedProgramLocalParameterI(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] UInt32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetNamedProgramLocalParameterIuivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (UInt32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramStringEXT")] + public static + void GetNamedProgramString(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] IntPtr @string) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@string); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramStringEXT")] + public static + void GetNamedProgramString(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [InAttribute, OutAttribute] T3[] @string) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glGetNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); + } + finally + { + @string_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramStringEXT")] + public static + void GetNamedProgramString(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [InAttribute, OutAttribute] T3[,] @string) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glGetNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); + } + finally + { + @string_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramStringEXT")] + public static + void GetNamedProgramString(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [InAttribute, OutAttribute] T3[,,] @string) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glGetNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); + } + finally + { + @string_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramStringEXT")] + public static + void GetNamedProgramString(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [InAttribute, OutAttribute] ref T3 @string) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glGetNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); + @string = (T3)@string_ptr.Target; + } + finally + { + @string_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramStringEXT")] + public static + void GetNamedProgramString(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] IntPtr @string) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@string); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramStringEXT")] + public static + void GetNamedProgramString(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [InAttribute, OutAttribute] T3[] @string) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glGetNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); + } + finally + { + @string_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramStringEXT")] + public static + void GetNamedProgramString(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [InAttribute, OutAttribute] T3[,] @string) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glGetNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); + } + finally + { + @string_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramStringEXT")] + public static + void GetNamedProgramString(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [InAttribute, OutAttribute] T3[,,] @string) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glGetNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); + } + finally + { + @string_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramStringEXT")] + public static + void GetNamedProgramString(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [InAttribute, OutAttribute] ref T3 @string) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glGetNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); + @string = (T3)@string_ptr.Target; + } + finally + { + @string_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedRenderbufferParameterivEXT")] + public static + void GetNamedRenderbufferParameter(Int32 renderbuffer, OpenTK.Graphics.OpenGL.RenderbufferParameterName pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetNamedRenderbufferParameterivEXT((UInt32)renderbuffer, (OpenTK.Graphics.OpenGL.RenderbufferParameterName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedRenderbufferParameterivEXT")] + public static + void GetNamedRenderbufferParameter(Int32 renderbuffer, OpenTK.Graphics.OpenGL.RenderbufferParameterName pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetNamedRenderbufferParameterivEXT((UInt32)renderbuffer, (OpenTK.Graphics.OpenGL.RenderbufferParameterName)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedRenderbufferParameterivEXT")] + public static + unsafe void GetNamedRenderbufferParameter(Int32 renderbuffer, OpenTK.Graphics.OpenGL.RenderbufferParameterName pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetNamedRenderbufferParameterivEXT((UInt32)renderbuffer, (OpenTK.Graphics.OpenGL.RenderbufferParameterName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedRenderbufferParameterivEXT")] + public static + void GetNamedRenderbufferParameter(UInt32 renderbuffer, OpenTK.Graphics.OpenGL.RenderbufferParameterName pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetNamedRenderbufferParameterivEXT((UInt32)renderbuffer, (OpenTK.Graphics.OpenGL.RenderbufferParameterName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedRenderbufferParameterivEXT")] + public static + void GetNamedRenderbufferParameter(UInt32 renderbuffer, OpenTK.Graphics.OpenGL.RenderbufferParameterName pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetNamedRenderbufferParameterivEXT((UInt32)renderbuffer, (OpenTK.Graphics.OpenGL.RenderbufferParameterName)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedRenderbufferParameterivEXT")] + public static + unsafe void GetNamedRenderbufferParameter(UInt32 renderbuffer, OpenTK.Graphics.OpenGL.RenderbufferParameterName pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetNamedRenderbufferParameterivEXT((UInt32)renderbuffer, (OpenTK.Graphics.OpenGL.RenderbufferParameterName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetPointerIndexedvEXT")] + public static + void GetPointerIndexed(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, [OutAttribute] IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPointerIndexedvEXT((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetPointerIndexedvEXT")] + public static + void GetPointerIndexed(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, [InAttribute, OutAttribute] T2[] data) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetPointerIndexedvEXT((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetPointerIndexedvEXT")] + public static + void GetPointerIndexed(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, [InAttribute, OutAttribute] T2[,] data) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetPointerIndexedvEXT((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetPointerIndexedvEXT")] + public static + void GetPointerIndexed(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, [InAttribute, OutAttribute] T2[,,] data) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetPointerIndexedvEXT((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetPointerIndexedvEXT")] + public static + void GetPointerIndexed(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, [InAttribute, OutAttribute] ref T2 data) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetPointerIndexedvEXT((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data_ptr.AddrOfPinnedObject()); + data = (T2)data_ptr.Target; + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetPointerIndexedvEXT")] + public static + void GetPointerIndexed(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPointerIndexedvEXT((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetPointerIndexedvEXT")] + public static + void GetPointerIndexed(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [InAttribute, OutAttribute] T2[] data) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetPointerIndexedvEXT((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetPointerIndexedvEXT")] + public static + void GetPointerIndexed(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [InAttribute, OutAttribute] T2[,] data) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetPointerIndexedvEXT((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetPointerIndexedvEXT")] + public static + void GetPointerIndexed(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [InAttribute, OutAttribute] T2[,,] data) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetPointerIndexedvEXT((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetPointerIndexedvEXT")] + public static + void GetPointerIndexed(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [InAttribute, OutAttribute] ref T2 data) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetPointerIndexedvEXT((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data_ptr.AddrOfPinnedObject()); + data = (T2)data_ptr.Target; + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_array] + [AutoGenerated(Category = "EXT_vertex_array", Version = "1.0", EntryPoint = "glGetPointervEXT")] + public static + void GetPointer(OpenTK.Graphics.OpenGL.GetPointervPName pname, [OutAttribute] IntPtr @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPointervEXT((OpenTK.Graphics.OpenGL.GetPointervPName)pname, (IntPtr)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_array] + [AutoGenerated(Category = "EXT_vertex_array", Version = "1.0", EntryPoint = "glGetPointervEXT")] + public static + void GetPointer(OpenTK.Graphics.OpenGL.GetPointervPName pname, [InAttribute, OutAttribute] T1[] @params) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetPointervEXT((OpenTK.Graphics.OpenGL.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_array] + [AutoGenerated(Category = "EXT_vertex_array", Version = "1.0", EntryPoint = "glGetPointervEXT")] + public static + void GetPointer(OpenTK.Graphics.OpenGL.GetPointervPName pname, [InAttribute, OutAttribute] T1[,] @params) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetPointervEXT((OpenTK.Graphics.OpenGL.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_array] + [AutoGenerated(Category = "EXT_vertex_array", Version = "1.0", EntryPoint = "glGetPointervEXT")] + public static + void GetPointer(OpenTK.Graphics.OpenGL.GetPointervPName pname, [InAttribute, OutAttribute] T1[,,] @params) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetPointervEXT((OpenTK.Graphics.OpenGL.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_array] + [AutoGenerated(Category = "EXT_vertex_array", Version = "1.0", EntryPoint = "glGetPointervEXT")] + public static + void GetPointer(OpenTK.Graphics.OpenGL.GetPointervPName pname, [InAttribute, OutAttribute] ref T1 @params) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetPointervEXT((OpenTK.Graphics.OpenGL.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + @params = (T1)@params_ptr.Target; + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_timer_query] + /// 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 = "EXT_timer_query", Version = "1.5", EntryPoint = "glGetQueryObjecti64vEXT")] + public static + void GetQueryObject(Int32 id, OpenTK.Graphics.OpenGL.ExtTimerQuery pname, [OutAttribute] Int64[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* @params_ptr = @params) + { + Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtTimerQuery)pname, (Int64*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_timer_query] + /// 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 = "EXT_timer_query", Version = "1.5", EntryPoint = "glGetQueryObjecti64vEXT")] + public static + void GetQueryObject(Int32 id, OpenTK.Graphics.OpenGL.ExtTimerQuery pname, [OutAttribute] out Int64 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* @params_ptr = &@params) + { + Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtTimerQuery)pname, (Int64*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_timer_query] + /// 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 = "EXT_timer_query", Version = "1.5", EntryPoint = "glGetQueryObjecti64vEXT")] + public static + unsafe void GetQueryObject(Int32 id, OpenTK.Graphics.OpenGL.ExtTimerQuery pname, [OutAttribute] Int64* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtTimerQuery)pname, (Int64*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_timer_query] + /// 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 = "EXT_timer_query", Version = "1.5", EntryPoint = "glGetQueryObjecti64vEXT")] + public static + void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL.ExtTimerQuery pname, [OutAttribute] Int64[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* @params_ptr = @params) + { + Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtTimerQuery)pname, (Int64*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_timer_query] + /// 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 = "EXT_timer_query", Version = "1.5", EntryPoint = "glGetQueryObjecti64vEXT")] + public static + void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL.ExtTimerQuery pname, [OutAttribute] out Int64 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* @params_ptr = &@params) + { + Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtTimerQuery)pname, (Int64*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_timer_query] + /// 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 = "EXT_timer_query", Version = "1.5", EntryPoint = "glGetQueryObjecti64vEXT")] + public static + unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL.ExtTimerQuery pname, [OutAttribute] Int64* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtTimerQuery)pname, (Int64*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_timer_query] + /// 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 = "EXT_timer_query", Version = "1.5", EntryPoint = "glGetQueryObjectui64vEXT")] + public static + void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL.ExtTimerQuery pname, [OutAttribute] UInt64[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt64* @params_ptr = @params) + { + Delegates.glGetQueryObjectui64vEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtTimerQuery)pname, (UInt64*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_timer_query] + /// 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 = "EXT_timer_query", Version = "1.5", EntryPoint = "glGetQueryObjectui64vEXT")] + public static + void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL.ExtTimerQuery pname, [OutAttribute] out UInt64 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt64* @params_ptr = &@params) + { + Delegates.glGetQueryObjectui64vEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtTimerQuery)pname, (UInt64*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_timer_query] + /// 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 = "EXT_timer_query", Version = "1.5", EntryPoint = "glGetQueryObjectui64vEXT")] + public static + unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL.ExtTimerQuery pname, [OutAttribute] UInt64* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetQueryObjectui64vEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtTimerQuery)pname, (UInt64*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_framebuffer_object] + /// Retrieve information about a bound renderbuffer object + /// + /// + /// + /// Specifies the target of the query operation. target must be GL_RENDERBUFFER. + /// + /// + /// + /// + /// Specifies the parameter whose value to retrieve from the renderbuffer bound to target. + /// + /// + /// + /// + /// Specifies the address of an array to receive the value of the queried parameter. + /// + /// + [AutoGenerated(Category = "EXT_framebuffer_object", Version = "1.2", EntryPoint = "glGetRenderbufferParameterivEXT")] + public static + void GetRenderbufferParameter(OpenTK.Graphics.OpenGL.RenderbufferTarget target, OpenTK.Graphics.OpenGL.RenderbufferParameterName pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetRenderbufferParameterivEXT((OpenTK.Graphics.OpenGL.RenderbufferTarget)target, (OpenTK.Graphics.OpenGL.RenderbufferParameterName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_framebuffer_object] + /// Retrieve information about a bound renderbuffer object + /// + /// + /// + /// Specifies the target of the query operation. target must be GL_RENDERBUFFER. + /// + /// + /// + /// + /// Specifies the parameter whose value to retrieve from the renderbuffer bound to target. + /// + /// + /// + /// + /// Specifies the address of an array to receive the value of the queried parameter. + /// + /// + [AutoGenerated(Category = "EXT_framebuffer_object", Version = "1.2", EntryPoint = "glGetRenderbufferParameterivEXT")] + public static + void GetRenderbufferParameter(OpenTK.Graphics.OpenGL.RenderbufferTarget target, OpenTK.Graphics.OpenGL.RenderbufferParameterName pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetRenderbufferParameterivEXT((OpenTK.Graphics.OpenGL.RenderbufferTarget)target, (OpenTK.Graphics.OpenGL.RenderbufferParameterName)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_framebuffer_object] + /// Retrieve information about a bound renderbuffer object + /// + /// + /// + /// Specifies the target of the query operation. target must be GL_RENDERBUFFER. + /// + /// + /// + /// + /// Specifies the parameter whose value to retrieve from the renderbuffer bound to target. + /// + /// + /// + /// + /// Specifies the address of an array to receive the value of the queried parameter. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_framebuffer_object", Version = "1.2", EntryPoint = "glGetRenderbufferParameterivEXT")] + public static + unsafe void GetRenderbufferParameter(OpenTK.Graphics.OpenGL.RenderbufferTarget target, OpenTK.Graphics.OpenGL.RenderbufferParameterName pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetRenderbufferParameterivEXT((OpenTK.Graphics.OpenGL.RenderbufferTarget)target, (OpenTK.Graphics.OpenGL.RenderbufferParameterName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_convolution] + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "EXT_convolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] + public static + void GetSeparableFilter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [OutAttribute] IntPtr column, [OutAttribute] IntPtr span) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_convolution] + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "EXT_convolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] + public static + void GetSeparableFilter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [OutAttribute] IntPtr column, [InAttribute, OutAttribute] T5[] span) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_convolution] + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "EXT_convolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] + public static + void GetSeparableFilter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [OutAttribute] IntPtr column, [InAttribute, OutAttribute] T5[,] span) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_convolution] + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "EXT_convolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] + public static + void GetSeparableFilter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [OutAttribute] IntPtr column, [InAttribute, OutAttribute] T5[,,] span) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_convolution] + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "EXT_convolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] + public static + void GetSeparableFilter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [OutAttribute] IntPtr column, [InAttribute, OutAttribute] ref T5 span) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span_ptr.AddrOfPinnedObject()); + span = (T5)span_ptr.Target; + } + finally + { + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_convolution] + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "EXT_convolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] + public static + void GetSeparableFilter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [InAttribute, OutAttribute] T4[] column, [InAttribute, OutAttribute] T5[,,] span) + where T4 : struct + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + column_ptr.Free(); + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_convolution] + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "EXT_convolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] + public static + void GetSeparableFilter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [InAttribute, OutAttribute] T4[,] column, [InAttribute, OutAttribute] T5[,,] span) + where T4 : struct + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + column_ptr.Free(); + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_convolution] + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "EXT_convolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] + public static + void GetSeparableFilter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [InAttribute, OutAttribute] T4[,,] column, [InAttribute, OutAttribute] T5[,,] span) + where T4 : struct + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + column_ptr.Free(); + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_convolution] + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "EXT_convolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] + public static + void GetSeparableFilter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [InAttribute, OutAttribute] ref T4 column, [InAttribute, OutAttribute] T5[,,] span) + where T4 : struct + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + column = (T4)column_ptr.Target; + } + finally + { + column_ptr.Free(); + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_convolution] + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "EXT_convolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] + public static + void GetSeparableFilter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[] row, [InAttribute, OutAttribute] T4[,,] column, [InAttribute, OutAttribute] T5[,,] span) + where T3 : struct + where T4 : struct + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + row_ptr.Free(); + column_ptr.Free(); + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_convolution] + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "EXT_convolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] + public static + void GetSeparableFilter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[,] row, [InAttribute, OutAttribute] T4[,,] column, [InAttribute, OutAttribute] T5[,,] span) + where T3 : struct + where T4 : struct + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + row_ptr.Free(); + column_ptr.Free(); + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_convolution] + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "EXT_convolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] + public static + void GetSeparableFilter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[,,] row, [InAttribute, OutAttribute] T4[,,] column, [InAttribute, OutAttribute] T5[,,] span) + where T3 : struct + where T4 : struct + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + row_ptr.Free(); + column_ptr.Free(); + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_convolution] + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "EXT_convolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] + public static + void GetSeparableFilter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T3 row, [InAttribute, OutAttribute] T4[,,] column, [InAttribute, OutAttribute] T5[,,] span) + where T3 : struct + where T4 : struct + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + row = (T3)row_ptr.Target; + } + finally + { + row_ptr.Free(); + column_ptr.Free(); + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_texture_integer] + [AutoGenerated(Category = "EXT_texture_integer", Version = "2.0", EntryPoint = "glGetTexParameterIivEXT")] + public static + void GetTexParameterI(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetTexParameterIivEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_texture_integer] + [AutoGenerated(Category = "EXT_texture_integer", Version = "2.0", EntryPoint = "glGetTexParameterIivEXT")] + public static + void GetTexParameterI(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetTexParameterIivEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_texture_integer] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_texture_integer", Version = "2.0", EntryPoint = "glGetTexParameterIivEXT")] + public static + unsafe void GetTexParameterI(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTexParameterIivEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_texture_integer] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_texture_integer", Version = "2.0", EntryPoint = "glGetTexParameterIuivEXT")] + public static + void GetTexParameterI(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] UInt32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = @params) + { + Delegates.glGetTexParameterIuivEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_texture_integer] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_texture_integer", Version = "2.0", EntryPoint = "glGetTexParameterIuivEXT")] + public static + void GetTexParameterI(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] out UInt32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = &@params) + { + Delegates.glGetTexParameterIuivEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (UInt32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_texture_integer] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_texture_integer", Version = "2.0", EntryPoint = "glGetTexParameterIuivEXT")] + public static + unsafe void GetTexParameterI(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] UInt32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTexParameterIuivEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (UInt32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureImageEXT")] + public static + void GetTextureImage(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTextureImageEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureImageEXT")] + public static + void GetTextureImage(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[] pixels) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glGetTextureImageEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureImageEXT")] + public static + void GetTextureImage(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[,] pixels) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glGetTextureImageEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureImageEXT")] + public static + void GetTextureImage(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[,,] pixels) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glGetTextureImageEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureImageEXT")] + public static + void GetTextureImage(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T5 pixels) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glGetTextureImageEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + pixels = (T5)pixels_ptr.Target; + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureImageEXT")] + public static + void GetTextureImage(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTextureImageEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureImageEXT")] + public static + void GetTextureImage(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[] pixels) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glGetTextureImageEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureImageEXT")] + public static + void GetTextureImage(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[,] pixels) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glGetTextureImageEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureImageEXT")] + public static + void GetTextureImage(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[,,] pixels) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glGetTextureImageEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureImageEXT")] + public static + void GetTextureImage(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T5 pixels) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glGetTextureImageEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + pixels = (T5)pixels_ptr.Target; + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureLevelParameterfvEXT")] + public static + void GetTextureLevelParameter(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetTextureLevelParameterfvEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureLevelParameterfvEXT")] + public static + void GetTextureLevelParameter(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetTextureLevelParameterfvEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureLevelParameterfvEXT")] + public static + unsafe void GetTextureLevelParameter(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTextureLevelParameterfvEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureLevelParameterfvEXT")] + public static + void GetTextureLevelParameter(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetTextureLevelParameterfvEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureLevelParameterfvEXT")] + public static + void GetTextureLevelParameter(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetTextureLevelParameterfvEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureLevelParameterfvEXT")] + public static + unsafe void GetTextureLevelParameter(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTextureLevelParameterfvEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureLevelParameterivEXT")] + public static + void GetTextureLevelParameter(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetTextureLevelParameterivEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureLevelParameterivEXT")] + public static + void GetTextureLevelParameter(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetTextureLevelParameterivEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureLevelParameterivEXT")] + public static + unsafe void GetTextureLevelParameter(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTextureLevelParameterivEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureLevelParameterivEXT")] + public static + void GetTextureLevelParameter(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetTextureLevelParameterivEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureLevelParameterivEXT")] + public static + void GetTextureLevelParameter(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetTextureLevelParameterivEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureLevelParameterivEXT")] + public static + unsafe void GetTextureLevelParameter(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTextureLevelParameterivEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureParameterfvEXT")] + public static + void GetTextureParameter(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetTextureParameterfvEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureParameterfvEXT")] + public static + void GetTextureParameter(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetTextureParameterfvEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureParameterfvEXT")] + public static + unsafe void GetTextureParameter(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTextureParameterfvEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureParameterfvEXT")] + public static + void GetTextureParameter(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetTextureParameterfvEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureParameterfvEXT")] + public static + void GetTextureParameter(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetTextureParameterfvEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureParameterfvEXT")] + public static + unsafe void GetTextureParameter(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTextureParameterfvEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureParameterIivEXT")] + public static + void GetTextureParameterI(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetTextureParameterIivEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureParameterIivEXT")] + public static + void GetTextureParameterI(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetTextureParameterIivEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureParameterIivEXT")] + public static + unsafe void GetTextureParameterI(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTextureParameterIivEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureParameterIivEXT")] + public static + void GetTextureParameterI(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetTextureParameterIivEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureParameterIivEXT")] + public static + void GetTextureParameterI(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetTextureParameterIivEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureParameterIivEXT")] + public static + unsafe void GetTextureParameterI(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTextureParameterIivEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureParameterIuivEXT")] + public static + void GetTextureParameterI(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] UInt32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = @params) + { + Delegates.glGetTextureParameterIuivEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureParameterIuivEXT")] + public static + void GetTextureParameterI(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] out UInt32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = &@params) + { + Delegates.glGetTextureParameterIuivEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (UInt32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureParameterIuivEXT")] + public static + unsafe void GetTextureParameterI(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] UInt32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTextureParameterIuivEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (UInt32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureParameterivEXT")] + public static + void GetTextureParameter(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetTextureParameterivEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureParameterivEXT")] + public static + void GetTextureParameter(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetTextureParameterivEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureParameterivEXT")] + public static + unsafe void GetTextureParameter(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTextureParameterivEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureParameterivEXT")] + public static + void GetTextureParameter(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetTextureParameterivEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureParameterivEXT")] + public static + void GetTextureParameter(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetTextureParameterivEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureParameterivEXT")] + public static + unsafe void GetTextureParameter(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTextureParameterivEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_transform_feedback] + /// Retrieve information about varying variables selected for transform feedback + /// + /// + /// + /// The name of the target program object. + /// + /// + /// + /// + /// The index of the varying variable whose information to retrieve. + /// + /// + /// + /// + /// The maximum number of characters, including the null terminator, that may be written into name. + /// + /// + /// + /// + /// The address of a variable which will receive the number of characters written into name, excluding the null-terminator. If length is NULL no length is returned. + /// + /// + /// + /// + /// The address of a variable that will receive the size of the varying. + /// + /// + /// + /// + /// The address of a variable that will recieve the type of the varying. + /// + /// + /// + /// + /// The address of a buffer into which will be written the name of the varying. + /// + /// + [AutoGenerated(Category = "EXT_transform_feedback", Version = "2.0", EntryPoint = "glGetTransformFeedbackVaryingEXT")] + public static + void GetTransformFeedbackVarying(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.OpenGL.ExtTransformFeedback type, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + fixed (Int32* size_ptr = &size) + fixed (OpenTK.Graphics.OpenGL.ExtTransformFeedback* type_ptr = &type) + { + Delegates.glGetTransformFeedbackVaryingEXT((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.OpenGL.ExtTransformFeedback*)type_ptr, (StringBuilder)name); + length = *length_ptr; + size = *size_ptr; + type = *type_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_transform_feedback] + /// Retrieve information about varying variables selected for transform feedback + /// + /// + /// + /// The name of the target program object. + /// + /// + /// + /// + /// The index of the varying variable whose information to retrieve. + /// + /// + /// + /// + /// The maximum number of characters, including the null terminator, that may be written into name. + /// + /// + /// + /// + /// The address of a variable which will receive the number of characters written into name, excluding the null-terminator. If length is NULL no length is returned. + /// + /// + /// + /// + /// The address of a variable that will receive the size of the varying. + /// + /// + /// + /// + /// The address of a variable that will recieve the type of the varying. + /// + /// + /// + /// + /// The address of a buffer into which will be written the name of the varying. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_transform_feedback", Version = "2.0", EntryPoint = "glGetTransformFeedbackVaryingEXT")] + public static + unsafe void GetTransformFeedbackVarying(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.ExtTransformFeedback* type, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTransformFeedbackVaryingEXT((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.OpenGL.ExtTransformFeedback*)type, (StringBuilder)name); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_transform_feedback] + /// Retrieve information about varying variables selected for transform feedback + /// + /// + /// + /// The name of the target program object. + /// + /// + /// + /// + /// The index of the varying variable whose information to retrieve. + /// + /// + /// + /// + /// The maximum number of characters, including the null terminator, that may be written into name. + /// + /// + /// + /// + /// The address of a variable which will receive the number of characters written into name, excluding the null-terminator. If length is NULL no length is returned. + /// + /// + /// + /// + /// The address of a variable that will receive the size of the varying. + /// + /// + /// + /// + /// The address of a variable that will recieve the type of the varying. + /// + /// + /// + /// + /// The address of a buffer into which will be written the name of the varying. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_transform_feedback", Version = "2.0", EntryPoint = "glGetTransformFeedbackVaryingEXT")] + public static + void GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.OpenGL.ExtTransformFeedback type, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + fixed (Int32* size_ptr = &size) + fixed (OpenTK.Graphics.OpenGL.ExtTransformFeedback* type_ptr = &type) + { + Delegates.glGetTransformFeedbackVaryingEXT((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.OpenGL.ExtTransformFeedback*)type_ptr, (StringBuilder)name); + length = *length_ptr; + size = *size_ptr; + type = *type_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_transform_feedback] + /// Retrieve information about varying variables selected for transform feedback + /// + /// + /// + /// The name of the target program object. + /// + /// + /// + /// + /// The index of the varying variable whose information to retrieve. + /// + /// + /// + /// + /// The maximum number of characters, including the null terminator, that may be written into name. + /// + /// + /// + /// + /// The address of a variable which will receive the number of characters written into name, excluding the null-terminator. If length is NULL no length is returned. + /// + /// + /// + /// + /// The address of a variable that will receive the size of the varying. + /// + /// + /// + /// + /// The address of a variable that will recieve the type of the varying. + /// + /// + /// + /// + /// The address of a buffer into which will be written the name of the varying. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_transform_feedback", Version = "2.0", EntryPoint = "glGetTransformFeedbackVaryingEXT")] + public static + unsafe void GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.ExtTransformFeedback* type, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTransformFeedbackVaryingEXT((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.OpenGL.ExtTransformFeedback*)type, (StringBuilder)name); + #if DEBUG + } + #endif + } + + /// [requires: EXT_bindable_uniform] + [AutoGenerated(Category = "EXT_bindable_uniform", Version = "2.0", EntryPoint = "glGetUniformBufferSizeEXT")] + public static + Int32 GetUniformBufferSize(Int32 program, Int32 location) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glGetUniformBufferSizeEXT((UInt32)program, (Int32)location); + #if DEBUG + } + #endif + } + + /// [requires: EXT_bindable_uniform] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_bindable_uniform", Version = "2.0", EntryPoint = "glGetUniformBufferSizeEXT")] + public static + Int32 GetUniformBufferSize(UInt32 program, Int32 location) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glGetUniformBufferSizeEXT((UInt32)program, (Int32)location); + #if DEBUG + } + #endif + } + + /// [requires: EXT_bindable_uniform] + [AutoGenerated(Category = "EXT_bindable_uniform", Version = "2.0", EntryPoint = "glGetUniformOffsetEXT")] + public static + IntPtr GetUniformOffset(Int32 program, Int32 location) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glGetUniformOffsetEXT((UInt32)program, (Int32)location); + #if DEBUG + } + #endif + } + + /// [requires: EXT_bindable_uniform] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_bindable_uniform", Version = "2.0", EntryPoint = "glGetUniformOffsetEXT")] + public static + IntPtr GetUniformOffset(UInt32 program, Int32 location) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glGetUniformOffsetEXT((UInt32)program, (Int32)location); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_gpu_shader4] + /// 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 = "EXT_gpu_shader4", Version = "2.0", EntryPoint = "glGetUniformuivEXT")] + public static + void GetUniform(Int32 program, Int32 location, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetUniformuivEXT((UInt32)program, (Int32)location, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_gpu_shader4] + /// 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 = "EXT_gpu_shader4", Version = "2.0", EntryPoint = "glGetUniformuivEXT")] + public static + void GetUniform(Int32 program, Int32 location, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetUniformuivEXT((UInt32)program, (Int32)location, (UInt32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_gpu_shader4] + /// 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 = "EXT_gpu_shader4", Version = "2.0", EntryPoint = "glGetUniformuivEXT")] + public static + unsafe void GetUniform(Int32 program, Int32 location, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetUniformuivEXT((UInt32)program, (Int32)location, (UInt32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_gpu_shader4] + /// 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 = "EXT_gpu_shader4", Version = "2.0", EntryPoint = "glGetUniformuivEXT")] + public static + void GetUniform(UInt32 program, Int32 location, [OutAttribute] UInt32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = @params) + { + Delegates.glGetUniformuivEXT((UInt32)program, (Int32)location, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_gpu_shader4] + /// 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 = "EXT_gpu_shader4", Version = "2.0", EntryPoint = "glGetUniformuivEXT")] + public static + void GetUniform(UInt32 program, Int32 location, [OutAttribute] out UInt32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = &@params) + { + Delegates.glGetUniformuivEXT((UInt32)program, (Int32)location, (UInt32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_gpu_shader4] + /// 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 = "EXT_gpu_shader4", Version = "2.0", EntryPoint = "glGetUniformuivEXT")] + public static + unsafe void GetUniform(UInt32 program, Int32 location, [OutAttribute] UInt32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetUniformuivEXT((UInt32)program, (Int32)location, (UInt32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glGetVariantBooleanvEXT")] + public static + void GetVariantBoolean(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] bool[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (bool* data_ptr = data) + { + Delegates.glGetVariantBooleanvEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (bool*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glGetVariantBooleanvEXT")] + public static + void GetVariantBoolean(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] out bool data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (bool* data_ptr = &data) + { + Delegates.glGetVariantBooleanvEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (bool*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glGetVariantBooleanvEXT")] + public static + unsafe void GetVariantBoolean(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] bool* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVariantBooleanvEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (bool*)data); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glGetVariantBooleanvEXT")] + public static + void GetVariantBoolean(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] bool[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (bool* data_ptr = data) + { + Delegates.glGetVariantBooleanvEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (bool*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glGetVariantBooleanvEXT")] + public static + void GetVariantBoolean(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] out bool data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (bool* data_ptr = &data) + { + Delegates.glGetVariantBooleanvEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (bool*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glGetVariantBooleanvEXT")] + public static + unsafe void GetVariantBoolean(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] bool* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVariantBooleanvEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (bool*)data); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glGetVariantFloatvEXT")] + public static + void GetVariantFloat(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Single[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* data_ptr = data) + { + Delegates.glGetVariantFloatvEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (Single*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glGetVariantFloatvEXT")] + public static + void GetVariantFloat(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] out Single data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* data_ptr = &data) + { + Delegates.glGetVariantFloatvEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (Single*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glGetVariantFloatvEXT")] + public static + unsafe void GetVariantFloat(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Single* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVariantFloatvEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (Single*)data); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glGetVariantFloatvEXT")] + public static + void GetVariantFloat(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Single[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* data_ptr = data) + { + Delegates.glGetVariantFloatvEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (Single*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glGetVariantFloatvEXT")] + public static + void GetVariantFloat(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] out Single data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* data_ptr = &data) + { + Delegates.glGetVariantFloatvEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (Single*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glGetVariantFloatvEXT")] + public static + unsafe void GetVariantFloat(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Single* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVariantFloatvEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (Single*)data); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glGetVariantIntegervEXT")] + public static + void GetVariantInteger(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Int32[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* data_ptr = data) + { + Delegates.glGetVariantIntegervEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (Int32*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glGetVariantIntegervEXT")] + public static + void GetVariantInteger(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] out Int32 data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* data_ptr = &data) + { + Delegates.glGetVariantIntegervEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (Int32*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glGetVariantIntegervEXT")] + public static + unsafe void GetVariantInteger(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Int32* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVariantIntegervEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (Int32*)data); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glGetVariantIntegervEXT")] + public static + void GetVariantInteger(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Int32[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* data_ptr = data) + { + Delegates.glGetVariantIntegervEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (Int32*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glGetVariantIntegervEXT")] + public static + void GetVariantInteger(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] out Int32 data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* data_ptr = &data) + { + Delegates.glGetVariantIntegervEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (Int32*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glGetVariantIntegervEXT")] + public static + unsafe void GetVariantInteger(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Int32* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVariantIntegervEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (Int32*)data); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glGetVariantPointervEXT")] + public static + void GetVariantPointer(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVariantPointervEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (IntPtr)data); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glGetVariantPointervEXT")] + public static + void GetVariantPointer(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [InAttribute, OutAttribute] T2[] data) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetVariantPointervEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glGetVariantPointervEXT")] + public static + void GetVariantPointer(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [InAttribute, OutAttribute] T2[,] data) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetVariantPointervEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glGetVariantPointervEXT")] + public static + void GetVariantPointer(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [InAttribute, OutAttribute] T2[,,] data) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetVariantPointervEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glGetVariantPointervEXT")] + public static + void GetVariantPointer(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [InAttribute, OutAttribute] ref T2 data) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetVariantPointervEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (IntPtr)data_ptr.AddrOfPinnedObject()); + data = (T2)data_ptr.Target; + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glGetVariantPointervEXT")] + public static + void GetVariantPointer(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVariantPointervEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (IntPtr)data); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glGetVariantPointervEXT")] + public static + void GetVariantPointer(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [InAttribute, OutAttribute] T2[] data) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetVariantPointervEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glGetVariantPointervEXT")] + public static + void GetVariantPointer(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [InAttribute, OutAttribute] T2[,] data) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetVariantPointervEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glGetVariantPointervEXT")] + public static + void GetVariantPointer(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [InAttribute, OutAttribute] T2[,,] data) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetVariantPointervEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glGetVariantPointervEXT")] + public static + void GetVariantPointer(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [InAttribute, OutAttribute] ref T2 data) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetVariantPointervEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (IntPtr)data_ptr.AddrOfPinnedObject()); + data = (T2)data_ptr.Target; + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program4] + [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glGetVertexAttribIivEXT")] + public static + void GetVertexAttribI(Int32 index, OpenTK.Graphics.OpenGL.NvVertexProgram4 pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetVertexAttribIivEXT((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram4)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glGetVertexAttribIivEXT")] + public static + unsafe void GetVertexAttribI(Int32 index, OpenTK.Graphics.OpenGL.NvVertexProgram4 pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribIivEXT((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram4)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glGetVertexAttribIivEXT")] + public static + void GetVertexAttribI(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram4 pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetVertexAttribIivEXT((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram4)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glGetVertexAttribIivEXT")] + public static + unsafe void GetVertexAttribI(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram4 pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribIivEXT((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram4)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glGetVertexAttribIuivEXT")] + public static + void GetVertexAttribI(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram4 pname, [OutAttribute] out UInt32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = &@params) + { + Delegates.glGetVertexAttribIuivEXT((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram4)pname, (UInt32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glGetVertexAttribIuivEXT")] + public static + unsafe void GetVertexAttribI(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram4 pname, [OutAttribute] UInt32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribIuivEXT((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram4)pname, (UInt32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_attrib_64bit] + [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glGetVertexAttribLdvEXT")] + public static + void GetVertexAttribL(Int32 index, OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit pname, [OutAttribute] Double[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = @params) + { + Delegates.glGetVertexAttribLdvEXT((UInt32)index, (OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit)pname, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_attrib_64bit] + [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glGetVertexAttribLdvEXT")] + public static + void GetVertexAttribL(Int32 index, OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit pname, [OutAttribute] out Double @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = &@params) + { + Delegates.glGetVertexAttribLdvEXT((UInt32)index, (OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit)pname, (Double*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_attrib_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glGetVertexAttribLdvEXT")] + public static + unsafe void GetVertexAttribL(Int32 index, OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit pname, [OutAttribute] Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribLdvEXT((UInt32)index, (OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit)pname, (Double*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_attrib_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glGetVertexAttribLdvEXT")] + public static + void GetVertexAttribL(UInt32 index, OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit pname, [OutAttribute] Double[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = @params) + { + Delegates.glGetVertexAttribLdvEXT((UInt32)index, (OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit)pname, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_attrib_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glGetVertexAttribLdvEXT")] + public static + void GetVertexAttribL(UInt32 index, OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit pname, [OutAttribute] out Double @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = &@params) + { + Delegates.glGetVertexAttribLdvEXT((UInt32)index, (OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit)pname, (Double*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_attrib_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glGetVertexAttribLdvEXT")] + public static + unsafe void GetVertexAttribL(UInt32 index, OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit pname, [OutAttribute] Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribLdvEXT((UInt32)index, (OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit)pname, (Double*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_histogram] + /// Define histogram table + /// + /// + /// + /// The histogram whose parameters are to be set. Must be one of GL_HISTOGRAM or GL_PROXY_HISTOGRAM. + /// + /// + /// + /// + /// The number of entries in the histogram table. Must be a power of 2. + /// + /// + /// + /// + /// The format of entries in the histogram table. Must be one of GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// If GL_TRUE, pixels will be consumed by the histogramming process and no drawing or texture loading will take place. If GL_FALSE, pixels will proceed to the minmax process after histogramming. + /// + /// + [AutoGenerated(Category = "EXT_histogram", Version = "1.0", EntryPoint = "glHistogramEXT")] + public static + void Histogram(OpenTK.Graphics.OpenGL.ExtHistogram target, Int32 width, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, bool sink) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glHistogramEXT((OpenTK.Graphics.OpenGL.ExtHistogram)target, (Int32)width, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (bool)sink); + #if DEBUG + } + #endif + } + + /// [requires: EXT_x11_sync_object] + [AutoGenerated(Category = "EXT_x11_sync_object", Version = "3.2", EntryPoint = "glImportSyncEXT")] + public static + IntPtr ImportSync(OpenTK.Graphics.OpenGL.ExtX11SyncObject external_sync_type, IntPtr external_sync, Int32 flags) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glImportSyncEXT((OpenTK.Graphics.OpenGL.ExtX11SyncObject)external_sync_type, (IntPtr)external_sync, (UInt32)flags); + #if DEBUG + } + #endif + } + + /// [requires: EXT_x11_sync_object] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_x11_sync_object", Version = "3.2", EntryPoint = "glImportSyncEXT")] + public static + IntPtr ImportSync(OpenTK.Graphics.OpenGL.ExtX11SyncObject external_sync_type, IntPtr external_sync, UInt32 flags) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glImportSyncEXT((OpenTK.Graphics.OpenGL.ExtX11SyncObject)external_sync_type, (IntPtr)external_sync, (UInt32)flags); + #if DEBUG + } + #endif + } + + /// [requires: EXT_index_func] + [AutoGenerated(Category = "EXT_index_func", Version = "1.1", EntryPoint = "glIndexFuncEXT")] + public static + void IndexFunc(OpenTK.Graphics.OpenGL.ExtIndexFunc func, Single @ref) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glIndexFuncEXT((OpenTK.Graphics.OpenGL.ExtIndexFunc)func, (Single)@ref); + #if DEBUG + } + #endif + } + + /// [requires: EXT_index_material] + [AutoGenerated(Category = "EXT_index_material", Version = "1.1", EntryPoint = "glIndexMaterialEXT")] + public static + void IndexMaterial(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.ExtIndexMaterial mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glIndexMaterialEXT((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.ExtIndexMaterial)mode); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_vertex_array] + /// Define an array of color indexes + /// + /// + /// + /// Specifies the data type of each color index in the array. Symbolic constants GL_UNSIGNED_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive color indexes. If stride is 0, the color indexes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first index in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "EXT_vertex_array", Version = "1.0", EntryPoint = "glIndexPointerEXT")] + public static + void IndexPointer(OpenTK.Graphics.OpenGL.IndexPointerType type, Int32 stride, Int32 count, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glIndexPointerEXT((OpenTK.Graphics.OpenGL.IndexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_vertex_array] + /// Define an array of color indexes + /// + /// + /// + /// Specifies the data type of each color index in the array. Symbolic constants GL_UNSIGNED_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive color indexes. If stride is 0, the color indexes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first index in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "EXT_vertex_array", Version = "1.0", EntryPoint = "glIndexPointerEXT")] + public static + void IndexPointer(OpenTK.Graphics.OpenGL.IndexPointerType type, Int32 stride, Int32 count, [InAttribute, OutAttribute] T3[] pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glIndexPointerEXT((OpenTK.Graphics.OpenGL.IndexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_vertex_array] + /// Define an array of color indexes + /// + /// + /// + /// Specifies the data type of each color index in the array. Symbolic constants GL_UNSIGNED_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive color indexes. If stride is 0, the color indexes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first index in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "EXT_vertex_array", Version = "1.0", EntryPoint = "glIndexPointerEXT")] + public static + void IndexPointer(OpenTK.Graphics.OpenGL.IndexPointerType type, Int32 stride, Int32 count, [InAttribute, OutAttribute] T3[,] pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glIndexPointerEXT((OpenTK.Graphics.OpenGL.IndexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_vertex_array] + /// Define an array of color indexes + /// + /// + /// + /// Specifies the data type of each color index in the array. Symbolic constants GL_UNSIGNED_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive color indexes. If stride is 0, the color indexes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first index in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "EXT_vertex_array", Version = "1.0", EntryPoint = "glIndexPointerEXT")] + public static + void IndexPointer(OpenTK.Graphics.OpenGL.IndexPointerType type, Int32 stride, Int32 count, [InAttribute, OutAttribute] T3[,,] pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glIndexPointerEXT((OpenTK.Graphics.OpenGL.IndexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_vertex_array] + /// Define an array of color indexes + /// + /// + /// + /// Specifies the data type of each color index in the array. Symbolic constants GL_UNSIGNED_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive color indexes. If stride is 0, the color indexes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first index in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "EXT_vertex_array", Version = "1.0", EntryPoint = "glIndexPointerEXT")] + public static + void IndexPointer(OpenTK.Graphics.OpenGL.IndexPointerType type, Int32 stride, Int32 count, [InAttribute, OutAttribute] ref T3 pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glIndexPointerEXT((OpenTK.Graphics.OpenGL.IndexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + pointer = (T3)pointer_ptr.Target; + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glInsertComponentEXT")] + public static + void InsertComponent(Int32 res, Int32 src, Int32 num) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glInsertComponentEXT((UInt32)res, (UInt32)src, (UInt32)num); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glInsertComponentEXT")] + public static + void InsertComponent(UInt32 res, UInt32 src, UInt32 num) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glInsertComponentEXT((UInt32)res, (UInt32)src, (UInt32)num); + #if DEBUG + } + #endif + } + + /// [requires: EXT_draw_buffers2] + [AutoGenerated(Category = "EXT_draw_buffers2", Version = "2.0", EntryPoint = "glIsEnabledIndexedEXT")] + public static + bool IsEnabledIndexed(OpenTK.Graphics.OpenGL.IndexedEnableCap target, Int32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsEnabledIndexedEXT((OpenTK.Graphics.OpenGL.IndexedEnableCap)target, (UInt32)index); + #if DEBUG + } + #endif + } + + /// [requires: EXT_draw_buffers2] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_draw_buffers2", Version = "2.0", EntryPoint = "glIsEnabledIndexedEXT")] + public static + bool IsEnabledIndexed(OpenTK.Graphics.OpenGL.IndexedEnableCap target, UInt32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsEnabledIndexedEXT((OpenTK.Graphics.OpenGL.IndexedEnableCap)target, (UInt32)index); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_framebuffer_object] + /// Determine if a name corresponds to a framebuffer object + /// + /// + /// + /// Specifies a value that may be the name of a framebuffer object. + /// + /// + [AutoGenerated(Category = "EXT_framebuffer_object", Version = "1.2", EntryPoint = "glIsFramebufferEXT")] + public static + bool IsFramebuffer(Int32 framebuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsFramebufferEXT((UInt32)framebuffer); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_framebuffer_object] + /// Determine if a name corresponds to a framebuffer object + /// + /// + /// + /// Specifies a value that may be the name of a framebuffer object. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_framebuffer_object", Version = "1.2", EntryPoint = "glIsFramebufferEXT")] + public static + bool IsFramebuffer(UInt32 framebuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsFramebufferEXT((UInt32)framebuffer); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_framebuffer_object] + /// Determine if a name corresponds to a renderbuffer object + /// + /// + /// + /// Specifies a value that may be the name of a renderbuffer object. + /// + /// + [AutoGenerated(Category = "EXT_framebuffer_object", Version = "1.2", EntryPoint = "glIsRenderbufferEXT")] + public static + bool IsRenderbuffer(Int32 renderbuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsRenderbufferEXT((UInt32)renderbuffer); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_framebuffer_object] + /// Determine if a name corresponds to a renderbuffer object + /// + /// + /// + /// Specifies a value that may be the name of a renderbuffer object. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_framebuffer_object", Version = "1.2", EntryPoint = "glIsRenderbufferEXT")] + public static + bool IsRenderbuffer(UInt32 renderbuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsRenderbufferEXT((UInt32)renderbuffer); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_texture_object] + /// Determine if a name corresponds to a texture + /// + /// + /// + /// Specifies a value that may be the name of a texture. + /// + /// + [AutoGenerated(Category = "EXT_texture_object", Version = "1.0", EntryPoint = "glIsTextureEXT")] + public static + bool IsTexture(Int32 texture) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsTextureEXT((UInt32)texture); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_texture_object] + /// Determine if a name corresponds to a texture + /// + /// + /// + /// Specifies a value that may be the name of a texture. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_texture_object", Version = "1.0", EntryPoint = "glIsTextureEXT")] + public static + bool IsTexture(UInt32 texture) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsTextureEXT((UInt32)texture); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glIsVariantEnabledEXT")] + public static + bool IsVariantEnabled(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader cap) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsVariantEnabledEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)cap); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glIsVariantEnabledEXT")] + public static + bool IsVariantEnabled(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader cap) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsVariantEnabledEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)cap); + #if DEBUG + } + #endif + } + + /// [requires: EXT_compiled_vertex_array] + [AutoGenerated(Category = "EXT_compiled_vertex_array", Version = "1.1", EntryPoint = "glLockArraysEXT")] + public static + void LockArrays(Int32 first, Int32 count) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLockArraysEXT((Int32)first, (Int32)count); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMapNamedBufferEXT")] + public static + unsafe IntPtr MapNamedBuffer(Int32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess access) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glMapNamedBufferEXT((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)access); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMapNamedBufferEXT")] + public static + unsafe IntPtr MapNamedBuffer(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess access) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glMapNamedBufferEXT((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)access); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMapNamedBufferRangeEXT")] + public static + unsafe IntPtr MapNamedBufferRange(Int32 buffer, IntPtr offset, IntPtr length, OpenTK.Graphics.OpenGL.BufferAccessMask access) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glMapNamedBufferRangeEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)length, (OpenTK.Graphics.OpenGL.BufferAccessMask)access); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMapNamedBufferRangeEXT")] + public static + unsafe IntPtr MapNamedBufferRange(UInt32 buffer, IntPtr offset, IntPtr length, OpenTK.Graphics.OpenGL.BufferAccessMask access) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glMapNamedBufferRangeEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)length, (OpenTK.Graphics.OpenGL.BufferAccessMask)access); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixFrustumEXT")] + public static + void MatrixFrustum(OpenTK.Graphics.OpenGL.MatrixMode mode, Double left, Double right, Double bottom, Double top, Double zNear, Double zFar) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMatrixFrustumEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Double)left, (Double)right, (Double)bottom, (Double)top, (Double)zNear, (Double)zFar); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixLoaddEXT")] + public static + void MatrixLoad(OpenTK.Graphics.OpenGL.MatrixMode mode, Double[] m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* m_ptr = m) + { + Delegates.glMatrixLoaddEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Double*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixLoaddEXT")] + public static + void MatrixLoad(OpenTK.Graphics.OpenGL.MatrixMode mode, ref Double m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* m_ptr = &m) + { + Delegates.glMatrixLoaddEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Double*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixLoaddEXT")] + public static + unsafe void MatrixLoad(OpenTK.Graphics.OpenGL.MatrixMode mode, Double* m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMatrixLoaddEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Double*)m); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixLoadfEXT")] + public static + void MatrixLoad(OpenTK.Graphics.OpenGL.MatrixMode mode, Single[] m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* m_ptr = m) + { + Delegates.glMatrixLoadfEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Single*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixLoadfEXT")] + public static + void MatrixLoad(OpenTK.Graphics.OpenGL.MatrixMode mode, ref Single m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* m_ptr = &m) + { + Delegates.glMatrixLoadfEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Single*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixLoadfEXT")] + public static + unsafe void MatrixLoad(OpenTK.Graphics.OpenGL.MatrixMode mode, Single* m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMatrixLoadfEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Single*)m); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixLoadIdentityEXT")] + public static + void MatrixLoadIdentity(OpenTK.Graphics.OpenGL.MatrixMode mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMatrixLoadIdentityEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixLoadTransposedEXT")] + public static + void MatrixLoadTranspose(OpenTK.Graphics.OpenGL.MatrixMode mode, Double[] m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* m_ptr = m) + { + Delegates.glMatrixLoadTransposedEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Double*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixLoadTransposedEXT")] + public static + void MatrixLoadTranspose(OpenTK.Graphics.OpenGL.MatrixMode mode, ref Double m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* m_ptr = &m) + { + Delegates.glMatrixLoadTransposedEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Double*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixLoadTransposedEXT")] + public static + unsafe void MatrixLoadTranspose(OpenTK.Graphics.OpenGL.MatrixMode mode, Double* m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMatrixLoadTransposedEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Double*)m); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixLoadTransposefEXT")] + public static + void MatrixLoadTranspose(OpenTK.Graphics.OpenGL.MatrixMode mode, Single[] m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* m_ptr = m) + { + Delegates.glMatrixLoadTransposefEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Single*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixLoadTransposefEXT")] + public static + void MatrixLoadTranspose(OpenTK.Graphics.OpenGL.MatrixMode mode, ref Single m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* m_ptr = &m) + { + Delegates.glMatrixLoadTransposefEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Single*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixLoadTransposefEXT")] + public static + unsafe void MatrixLoadTranspose(OpenTK.Graphics.OpenGL.MatrixMode mode, Single* m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMatrixLoadTransposefEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Single*)m); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixMultdEXT")] + public static + void MatrixMult(OpenTK.Graphics.OpenGL.MatrixMode mode, Double[] m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* m_ptr = m) + { + Delegates.glMatrixMultdEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Double*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixMultdEXT")] + public static + void MatrixMult(OpenTK.Graphics.OpenGL.MatrixMode mode, ref Double m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* m_ptr = &m) + { + Delegates.glMatrixMultdEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Double*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixMultdEXT")] + public static + unsafe void MatrixMult(OpenTK.Graphics.OpenGL.MatrixMode mode, Double* m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMatrixMultdEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Double*)m); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixMultfEXT")] + public static + void MatrixMult(OpenTK.Graphics.OpenGL.MatrixMode mode, Single[] m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* m_ptr = m) + { + Delegates.glMatrixMultfEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Single*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixMultfEXT")] + public static + void MatrixMult(OpenTK.Graphics.OpenGL.MatrixMode mode, ref Single m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* m_ptr = &m) + { + Delegates.glMatrixMultfEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Single*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixMultfEXT")] + public static + unsafe void MatrixMult(OpenTK.Graphics.OpenGL.MatrixMode mode, Single* m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMatrixMultfEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Single*)m); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixMultTransposedEXT")] + public static + void MatrixMultTranspose(OpenTK.Graphics.OpenGL.MatrixMode mode, Double[] m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* m_ptr = m) + { + Delegates.glMatrixMultTransposedEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Double*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixMultTransposedEXT")] + public static + void MatrixMultTranspose(OpenTK.Graphics.OpenGL.MatrixMode mode, ref Double m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* m_ptr = &m) + { + Delegates.glMatrixMultTransposedEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Double*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixMultTransposedEXT")] + public static + unsafe void MatrixMultTranspose(OpenTK.Graphics.OpenGL.MatrixMode mode, Double* m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMatrixMultTransposedEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Double*)m); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixMultTransposefEXT")] + public static + void MatrixMultTranspose(OpenTK.Graphics.OpenGL.MatrixMode mode, Single[] m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* m_ptr = m) + { + Delegates.glMatrixMultTransposefEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Single*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixMultTransposefEXT")] + public static + void MatrixMultTranspose(OpenTK.Graphics.OpenGL.MatrixMode mode, ref Single m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* m_ptr = &m) + { + Delegates.glMatrixMultTransposefEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Single*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixMultTransposefEXT")] + public static + unsafe void MatrixMultTranspose(OpenTK.Graphics.OpenGL.MatrixMode mode, Single* m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMatrixMultTransposefEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Single*)m); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixOrthoEXT")] + public static + void MatrixOrtho(OpenTK.Graphics.OpenGL.MatrixMode mode, Double left, Double right, Double bottom, Double top, Double zNear, Double zFar) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMatrixOrthoEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Double)left, (Double)right, (Double)bottom, (Double)top, (Double)zNear, (Double)zFar); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixPopEXT")] + public static + void MatrixPop(OpenTK.Graphics.OpenGL.MatrixMode mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMatrixPopEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixPushEXT")] + public static + void MatrixPush(OpenTK.Graphics.OpenGL.MatrixMode mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMatrixPushEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixRotatedEXT")] + public static + void MatrixRotate(OpenTK.Graphics.OpenGL.MatrixMode mode, Double angle, Double x, Double y, Double z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMatrixRotatedEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Double)angle, (Double)x, (Double)y, (Double)z); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixRotatefEXT")] + public static + void MatrixRotate(OpenTK.Graphics.OpenGL.MatrixMode mode, Single angle, Single x, Single y, Single z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMatrixRotatefEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Single)angle, (Single)x, (Single)y, (Single)z); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixScaledEXT")] + public static + void MatrixScale(OpenTK.Graphics.OpenGL.MatrixMode mode, Double x, Double y, Double z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMatrixScaledEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Double)x, (Double)y, (Double)z); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixScalefEXT")] + public static + void MatrixScale(OpenTK.Graphics.OpenGL.MatrixMode mode, Single x, Single y, Single z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMatrixScalefEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Single)x, (Single)y, (Single)z); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixTranslatedEXT")] + public static + void MatrixTranslate(OpenTK.Graphics.OpenGL.MatrixMode mode, Double x, Double y, Double z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMatrixTranslatedEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Double)x, (Double)y, (Double)z); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixTranslatefEXT")] + public static + void MatrixTranslate(OpenTK.Graphics.OpenGL.MatrixMode mode, Single x, Single y, Single z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMatrixTranslatefEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Single)x, (Single)y, (Single)z); + #if DEBUG + } + #endif + } + + /// [requires: EXT_shader_image_load_store] + [AutoGenerated(Category = "EXT_shader_image_load_store", Version = "4.1", EntryPoint = "glMemoryBarrierEXT")] + public static + void MemoryBarrier(Int32 barriers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMemoryBarrierEXT((UInt32)barriers); + #if DEBUG + } + #endif + } + + /// [requires: EXT_shader_image_load_store] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_shader_image_load_store", Version = "4.1", EntryPoint = "glMemoryBarrierEXT")] + public static + void MemoryBarrier(UInt32 barriers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMemoryBarrierEXT((UInt32)barriers); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_histogram] + /// Define minmax table + /// + /// + /// + /// The minmax table whose parameters are to be set. Must be GL_MINMAX. + /// + /// + /// + /// + /// The format of entries in the minmax table. Must be one of GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// If GL_TRUE, pixels will be consumed by the minmax process and no drawing or texture loading will take place. If GL_FALSE, pixels will proceed to the final conversion process after minmax. + /// + /// + [AutoGenerated(Category = "EXT_histogram", Version = "1.0", EntryPoint = "glMinmaxEXT")] + public static + void Minmax(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, bool sink) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMinmaxEXT((OpenTK.Graphics.OpenGL.ExtHistogram)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (bool)sink); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_multi_draw_arrays] + /// Render multiple sets of primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Points to an array of starting indices in the enabled arrays. + /// + /// + /// + /// + /// Points to an array of the number of indices to be rendered. + /// + /// + /// + /// + /// Specifies the size of the first and count + /// + /// + [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "1.1", EntryPoint = "glMultiDrawArraysEXT")] + public static + void MultiDrawArrays(OpenTK.Graphics.OpenGL.BeginMode mode, Int32[] first, Int32[] count, Int32 primcount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* first_ptr = first) + fixed (Int32* count_ptr = count) + { + Delegates.glMultiDrawArraysEXT((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_multi_draw_arrays] + /// Render multiple sets of primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Points to an array of starting indices in the enabled arrays. + /// + /// + /// + /// + /// Points to an array of the number of indices to be rendered. + /// + /// + /// + /// + /// Specifies the size of the first and count + /// + /// + [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "1.1", EntryPoint = "glMultiDrawArraysEXT")] + public static + void MultiDrawArrays(OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 first, ref Int32 count, Int32 primcount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* first_ptr = &first) + fixed (Int32* count_ptr = &count) + { + Delegates.glMultiDrawArraysEXT((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_multi_draw_arrays] + /// Render multiple sets of primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Points to an array of starting indices in the enabled arrays. + /// + /// + /// + /// + /// Points to an array of the number of indices to be rendered. + /// + /// + /// + /// + /// Specifies the size of the first and count + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "1.1", EntryPoint = "glMultiDrawArraysEXT")] + public static + unsafe void MultiDrawArrays(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* first, Int32* count, Int32 primcount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiDrawArraysEXT((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)first, (Int32*)count, (Int32)primcount); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_multi_draw_arrays] + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] + public static + void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = count) + { + Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_multi_draw_arrays] + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] + public static + void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = count) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_multi_draw_arrays] + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] + public static + void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = count) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_multi_draw_arrays] + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] + public static + void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = count) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_multi_draw_arrays] + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] + public static + void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = count) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + indices = (T3)indices_ptr.Target; + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_multi_draw_arrays] + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] + public static + void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = &count) + { + Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_multi_draw_arrays] + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] + public static + void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = &count) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_multi_draw_arrays] + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] + public static + void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = &count) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_multi_draw_arrays] + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] + public static + void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = &count) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_multi_draw_arrays] + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] + public static + void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = &count) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + indices = (T3)indices_ptr.Target; + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_multi_draw_arrays] + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] + public static + unsafe void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_multi_draw_arrays] + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] + public static + unsafe void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_multi_draw_arrays] + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] + public static + unsafe void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_multi_draw_arrays] + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] + public static + unsafe void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_multi_draw_arrays] + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] + public static + unsafe void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + indices = (T3)indices_ptr.Target; + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexBufferEXT")] + public static + void MultiTexBuffer(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexBufferEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (UInt32)buffer); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexBufferEXT")] + public static + void MultiTexBuffer(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, UInt32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexBufferEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (UInt32)buffer); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexCoordPointerEXT")] + public static + void MultiTexCoordPointer(OpenTK.Graphics.OpenGL.TextureUnit texunit, Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoordPointerEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (Int32)size, (OpenTK.Graphics.OpenGL.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexCoordPointerEXT")] + public static + void MultiTexCoordPointer(OpenTK.Graphics.OpenGL.TextureUnit texunit, Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, [InAttribute, OutAttribute] T4[] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glMultiTexCoordPointerEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (Int32)size, (OpenTK.Graphics.OpenGL.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexCoordPointerEXT")] + public static + void MultiTexCoordPointer(OpenTK.Graphics.OpenGL.TextureUnit texunit, Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, [InAttribute, OutAttribute] T4[,] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glMultiTexCoordPointerEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (Int32)size, (OpenTK.Graphics.OpenGL.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexCoordPointerEXT")] + public static + void MultiTexCoordPointer(OpenTK.Graphics.OpenGL.TextureUnit texunit, Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, [InAttribute, OutAttribute] T4[,,] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glMultiTexCoordPointerEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (Int32)size, (OpenTK.Graphics.OpenGL.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexCoordPointerEXT")] + public static + void MultiTexCoordPointer(OpenTK.Graphics.OpenGL.TextureUnit texunit, Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, [InAttribute, OutAttribute] ref T4 pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glMultiTexCoordPointerEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (Int32)size, (OpenTK.Graphics.OpenGL.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + pointer = (T4)pointer_ptr.Target; + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexEnvfEXT")] + public static + void MultiTexEnv(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Single param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexEnvfEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (Single)param); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexEnvfvEXT")] + public static + void MultiTexEnv(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glMultiTexEnvfvEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexEnvfvEXT")] + public static + unsafe void MultiTexEnv(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexEnvfvEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexEnviEXT")] + public static + void MultiTexEnv(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Int32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexEnviEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (Int32)param); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexEnvivEXT")] + public static + void MultiTexEnv(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glMultiTexEnvivEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexEnvivEXT")] + public static + unsafe void MultiTexEnv(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexEnvivEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexGendEXT")] + public static + void MultiTexGend(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Double param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexGendEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Double)param); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexGendvEXT")] + public static + void MultiTexGen(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Double[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = @params) + { + Delegates.glMultiTexGendvEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexGendvEXT")] + public static + void MultiTexGen(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, ref Double @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = &@params) + { + Delegates.glMultiTexGendvEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexGendvEXT")] + public static + unsafe void MultiTexGen(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexGendvEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Double*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexGenfEXT")] + public static + void MultiTexGen(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Single param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexGenfEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Single)param); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexGenfvEXT")] + public static + void MultiTexGen(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glMultiTexGenfvEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexGenfvEXT")] + public static + unsafe void MultiTexGen(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexGenfvEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexGeniEXT")] + public static + void MultiTexGen(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Int32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexGeniEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Int32)param); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexGenivEXT")] + public static + void MultiTexGen(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glMultiTexGenivEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexGenivEXT")] + public static + unsafe void MultiTexGen(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexGenivEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexImage1DEXT")] + public static + void MultiTexImage1D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexImage1DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexImage1DEXT")] + public static + void MultiTexImage1D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T8[] pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glMultiTexImage1DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexImage1DEXT")] + public static + void MultiTexImage1D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T8[,] pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glMultiTexImage1DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexImage1DEXT")] + public static + void MultiTexImage1D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T8[,,] pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glMultiTexImage1DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexImage1DEXT")] + public static + void MultiTexImage1D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T8 pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glMultiTexImage1DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + pixels = (T8)pixels_ptr.Target; + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexImage2DEXT")] + public static + void MultiTexImage2D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexImage2DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexImage2DEXT")] + public static + void MultiTexImage2D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[] pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glMultiTexImage2DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexImage2DEXT")] + public static + void MultiTexImage2D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[,] pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glMultiTexImage2DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexImage2DEXT")] + public static + void MultiTexImage2D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[,,] pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glMultiTexImage2DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexImage2DEXT")] + public static + void MultiTexImage2D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T9 pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glMultiTexImage2DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + pixels = (T9)pixels_ptr.Target; + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexImage3DEXT")] + public static + void MultiTexImage3D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexImage3DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexImage3DEXT")] + public static + void MultiTexImage3D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[] pixels) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glMultiTexImage3DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexImage3DEXT")] + public static + void MultiTexImage3D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[,] pixels) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glMultiTexImage3DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexImage3DEXT")] + public static + void MultiTexImage3D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[,,] pixels) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glMultiTexImage3DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexImage3DEXT")] + public static + void MultiTexImage3D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T10 pixels) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glMultiTexImage3DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + pixels = (T10)pixels_ptr.Target; + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexParameterfEXT")] + public static + void MultiTexParameter(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexParameterfEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Single)param); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexParameterfvEXT")] + public static + void MultiTexParameter(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glMultiTexParameterfvEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexParameterfvEXT")] + public static + unsafe void MultiTexParameter(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexParameterfvEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexParameteriEXT")] + public static + void MultiTexParameter(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexParameteriEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Int32)param); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexParameterIivEXT")] + public static + void MultiTexParameterI(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glMultiTexParameterIivEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexParameterIivEXT")] + public static + void MultiTexParameterI(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, ref Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glMultiTexParameterIivEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexParameterIivEXT")] + public static + unsafe void MultiTexParameterI(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexParameterIivEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexParameterIuivEXT")] + public static + void MultiTexParameterI(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, UInt32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = @params) + { + Delegates.glMultiTexParameterIuivEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexParameterIuivEXT")] + public static + void MultiTexParameterI(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, ref UInt32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = &@params) + { + Delegates.glMultiTexParameterIuivEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexParameterIuivEXT")] + public static + unsafe void MultiTexParameterI(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, UInt32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexParameterIuivEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (UInt32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexParameterivEXT")] + public static + void MultiTexParameter(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glMultiTexParameterivEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexParameterivEXT")] + public static + unsafe void MultiTexParameter(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexParameterivEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexRenderbufferEXT")] + public static + void MultiTexRenderbuffer(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 renderbuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexRenderbufferEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (UInt32)renderbuffer); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexRenderbufferEXT")] + public static + void MultiTexRenderbuffer(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, UInt32 renderbuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexRenderbufferEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (UInt32)renderbuffer); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexSubImage1DEXT")] + public static + void MultiTexSubImage1D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexSubImage1DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexSubImage1DEXT")] + public static + void MultiTexSubImage1D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T7[] pixels) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glMultiTexSubImage1DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexSubImage1DEXT")] + public static + void MultiTexSubImage1D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T7[,] pixels) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glMultiTexSubImage1DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexSubImage1DEXT")] + public static + void MultiTexSubImage1D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T7[,,] pixels) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glMultiTexSubImage1DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexSubImage1DEXT")] + public static + void MultiTexSubImage1D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T7 pixels) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glMultiTexSubImage1DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + pixels = (T7)pixels_ptr.Target; + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexSubImage2DEXT")] + public static + void MultiTexSubImage2D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexSubImage2DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexSubImage2DEXT")] + public static + void MultiTexSubImage2D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[] pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glMultiTexSubImage2DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexSubImage2DEXT")] + public static + void MultiTexSubImage2D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[,] pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glMultiTexSubImage2DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexSubImage2DEXT")] + public static + void MultiTexSubImage2D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[,,] pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glMultiTexSubImage2DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexSubImage2DEXT")] + public static + void MultiTexSubImage2D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T9 pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glMultiTexSubImage2DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + pixels = (T9)pixels_ptr.Target; + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexSubImage3DEXT")] + public static + void MultiTexSubImage3D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexSubImage3DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexSubImage3DEXT")] + public static + void MultiTexSubImage3D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T11[] pixels) + where T11 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glMultiTexSubImage3DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexSubImage3DEXT")] + public static + void MultiTexSubImage3D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T11[,] pixels) + where T11 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glMultiTexSubImage3DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexSubImage3DEXT")] + public static + void MultiTexSubImage3D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T11[,,] pixels) + where T11 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glMultiTexSubImage3DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexSubImage3DEXT")] + public static + void MultiTexSubImage3D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T11 pixels) + where T11 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glMultiTexSubImage3DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + pixels = (T11)pixels_ptr.Target; + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedBufferDataEXT")] + public static + void NamedBufferData(Int32 buffer, IntPtr size, IntPtr data, OpenTK.Graphics.OpenGL.ExtDirectStateAccess usage) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedBufferDataEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)usage); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedBufferDataEXT")] + public static + void NamedBufferData(Int32 buffer, IntPtr size, [InAttribute, OutAttribute] T2[] data, OpenTK.Graphics.OpenGL.ExtDirectStateAccess usage) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glNamedBufferDataEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)usage); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedBufferDataEXT")] + public static + void NamedBufferData(Int32 buffer, IntPtr size, [InAttribute, OutAttribute] T2[,] data, OpenTK.Graphics.OpenGL.ExtDirectStateAccess usage) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glNamedBufferDataEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)usage); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedBufferDataEXT")] + public static + void NamedBufferData(Int32 buffer, IntPtr size, [InAttribute, OutAttribute] T2[,,] data, OpenTK.Graphics.OpenGL.ExtDirectStateAccess usage) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glNamedBufferDataEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)usage); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedBufferDataEXT")] + public static + void NamedBufferData(Int32 buffer, IntPtr size, [InAttribute, OutAttribute] ref T2 data, OpenTK.Graphics.OpenGL.ExtDirectStateAccess usage) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glNamedBufferDataEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)usage); + data = (T2)data_ptr.Target; + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedBufferDataEXT")] + public static + void NamedBufferData(UInt32 buffer, IntPtr size, IntPtr data, OpenTK.Graphics.OpenGL.ExtDirectStateAccess usage) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedBufferDataEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)usage); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedBufferDataEXT")] + public static + void NamedBufferData(UInt32 buffer, IntPtr size, [InAttribute, OutAttribute] T2[] data, OpenTK.Graphics.OpenGL.ExtDirectStateAccess usage) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glNamedBufferDataEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)usage); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedBufferDataEXT")] + public static + void NamedBufferData(UInt32 buffer, IntPtr size, [InAttribute, OutAttribute] T2[,] data, OpenTK.Graphics.OpenGL.ExtDirectStateAccess usage) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glNamedBufferDataEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)usage); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedBufferDataEXT")] + public static + void NamedBufferData(UInt32 buffer, IntPtr size, [InAttribute, OutAttribute] T2[,,] data, OpenTK.Graphics.OpenGL.ExtDirectStateAccess usage) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glNamedBufferDataEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)usage); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedBufferDataEXT")] + public static + void NamedBufferData(UInt32 buffer, IntPtr size, [InAttribute, OutAttribute] ref T2 data, OpenTK.Graphics.OpenGL.ExtDirectStateAccess usage) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glNamedBufferDataEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)usage); + data = (T2)data_ptr.Target; + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedBufferSubDataEXT")] + public static + void NamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedBufferSubDataEXT")] + public static + void NamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedBufferSubDataEXT")] + public static + void NamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedBufferSubDataEXT")] + public static + void NamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,,] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedBufferSubDataEXT")] + public static + void NamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] ref T3 data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + data = (T3)data_ptr.Target; + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedBufferSubDataEXT")] + public static + void NamedBufferSubData(UInt32 buffer, IntPtr offset, IntPtr size, IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedBufferSubDataEXT")] + public static + void NamedBufferSubData(UInt32 buffer, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedBufferSubDataEXT")] + public static + void NamedBufferSubData(UInt32 buffer, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedBufferSubDataEXT")] + public static + void NamedBufferSubData(UInt32 buffer, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,,] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedBufferSubDataEXT")] + public static + void NamedBufferSubData(UInt32 buffer, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] ref T3 data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + data = (T3)data_ptr.Target; + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedCopyBufferSubDataEXT")] + public static + void NamedCopyBufferSubData(Int32 readBuffer, Int32 writeBuffer, IntPtr readOffset, IntPtr writeOffset, IntPtr size) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedCopyBufferSubDataEXT((UInt32)readBuffer, (UInt32)writeBuffer, (IntPtr)readOffset, (IntPtr)writeOffset, (IntPtr)size); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedCopyBufferSubDataEXT")] + public static + void NamedCopyBufferSubData(UInt32 readBuffer, UInt32 writeBuffer, IntPtr readOffset, IntPtr writeOffset, IntPtr size) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedCopyBufferSubDataEXT((UInt32)readBuffer, (UInt32)writeBuffer, (IntPtr)readOffset, (IntPtr)writeOffset, (IntPtr)size); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedFramebufferRenderbufferEXT")] + public static + void NamedFramebufferRenderbuffer(Int32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.RenderbufferTarget renderbuffertarget, Int32 renderbuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedFramebufferRenderbufferEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedFramebufferRenderbufferEXT")] + public static + void NamedFramebufferRenderbuffer(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedFramebufferRenderbufferEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedFramebufferTexture1DEXT")] + public static + void NamedFramebufferTexture1D(Int32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, Int32 texture, Int32 level) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedFramebufferTexture1DEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.TextureTarget)textarget, (UInt32)texture, (Int32)level); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedFramebufferTexture1DEXT")] + public static + void NamedFramebufferTexture1D(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedFramebufferTexture1DEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.TextureTarget)textarget, (UInt32)texture, (Int32)level); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedFramebufferTexture2DEXT")] + public static + void NamedFramebufferTexture2D(Int32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, Int32 texture, Int32 level) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedFramebufferTexture2DEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.TextureTarget)textarget, (UInt32)texture, (Int32)level); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedFramebufferTexture2DEXT")] + public static + void NamedFramebufferTexture2D(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedFramebufferTexture2DEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.TextureTarget)textarget, (UInt32)texture, (Int32)level); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedFramebufferTexture3DEXT")] + public static + void NamedFramebufferTexture3D(Int32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, Int32 texture, Int32 level, Int32 zoffset) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedFramebufferTexture3DEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.TextureTarget)textarget, (UInt32)texture, (Int32)level, (Int32)zoffset); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedFramebufferTexture3DEXT")] + public static + void NamedFramebufferTexture3D(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level, Int32 zoffset) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedFramebufferTexture3DEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.TextureTarget)textarget, (UInt32)texture, (Int32)level, (Int32)zoffset); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedFramebufferTextureEXT")] + public static + void NamedFramebufferTexture(Int32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, Int32 texture, Int32 level) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedFramebufferTextureEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedFramebufferTextureEXT")] + public static + void NamedFramebufferTexture(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedFramebufferTextureEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedFramebufferTextureFaceEXT")] + public static + void NamedFramebufferTextureFace(Int32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, Int32 texture, Int32 level, OpenTK.Graphics.OpenGL.TextureTarget face) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedFramebufferTextureFaceEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (OpenTK.Graphics.OpenGL.TextureTarget)face); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedFramebufferTextureFaceEXT")] + public static + void NamedFramebufferTextureFace(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level, OpenTK.Graphics.OpenGL.TextureTarget face) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedFramebufferTextureFaceEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (OpenTK.Graphics.OpenGL.TextureTarget)face); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedFramebufferTextureLayerEXT")] + public static + void NamedFramebufferTextureLayer(Int32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, Int32 texture, Int32 level, Int32 layer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedFramebufferTextureLayerEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedFramebufferTextureLayerEXT")] + public static + void NamedFramebufferTextureLayer(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedFramebufferTextureLayerEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameter4dEXT")] + public static + void NamedProgramLocalParameter4(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, Double x, Double y, Double z, Double w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedProgramLocalParameter4dEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameter4dEXT")] + public static + void NamedProgramLocalParameter4(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Double x, Double y, Double z, Double w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedProgramLocalParameter4dEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameter4dvEXT")] + public static + void NamedProgramLocalParameter4(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, Double[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = @params) + { + Delegates.glNamedProgramLocalParameter4dvEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameter4dvEXT")] + public static + void NamedProgramLocalParameter4(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, ref Double @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = &@params) + { + Delegates.glNamedProgramLocalParameter4dvEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameter4dvEXT")] + public static + unsafe void NamedProgramLocalParameter4(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedProgramLocalParameter4dvEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Double*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameter4dvEXT")] + public static + void NamedProgramLocalParameter4(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Double[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = @params) + { + Delegates.glNamedProgramLocalParameter4dvEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameter4dvEXT")] + public static + void NamedProgramLocalParameter4(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, ref Double @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = &@params) + { + Delegates.glNamedProgramLocalParameter4dvEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameter4dvEXT")] + public static + unsafe void NamedProgramLocalParameter4(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedProgramLocalParameter4dvEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Double*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameter4fEXT")] + public static + void NamedProgramLocalParameter4(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, Single x, Single y, Single z, Single w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedProgramLocalParameter4fEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameter4fEXT")] + public static + void NamedProgramLocalParameter4(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Single x, Single y, Single z, Single w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedProgramLocalParameter4fEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameter4fvEXT")] + public static + void NamedProgramLocalParameter4(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glNamedProgramLocalParameter4fvEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameter4fvEXT")] + public static + void NamedProgramLocalParameter4(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, ref Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glNamedProgramLocalParameter4fvEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameter4fvEXT")] + public static + unsafe void NamedProgramLocalParameter4(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedProgramLocalParameter4fvEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameter4fvEXT")] + public static + void NamedProgramLocalParameter4(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glNamedProgramLocalParameter4fvEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameter4fvEXT")] + public static + void NamedProgramLocalParameter4(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, ref Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glNamedProgramLocalParameter4fvEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameter4fvEXT")] + public static + unsafe void NamedProgramLocalParameter4(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedProgramLocalParameter4fvEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameterI4iEXT")] + public static + void NamedProgramLocalParameterI4(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, Int32 x, Int32 y, Int32 z, Int32 w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedProgramLocalParameterI4iEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameterI4iEXT")] + public static + void NamedProgramLocalParameterI4(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedProgramLocalParameterI4iEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameterI4ivEXT")] + public static + void NamedProgramLocalParameterI4(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glNamedProgramLocalParameterI4ivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameterI4ivEXT")] + public static + void NamedProgramLocalParameterI4(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, ref Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glNamedProgramLocalParameterI4ivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameterI4ivEXT")] + public static + unsafe void NamedProgramLocalParameterI4(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedProgramLocalParameterI4ivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameterI4ivEXT")] + public static + void NamedProgramLocalParameterI4(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glNamedProgramLocalParameterI4ivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameterI4ivEXT")] + public static + void NamedProgramLocalParameterI4(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, ref Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glNamedProgramLocalParameterI4ivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameterI4ivEXT")] + public static + unsafe void NamedProgramLocalParameterI4(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedProgramLocalParameterI4ivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameterI4uiEXT")] + public static + void NamedProgramLocalParameterI4(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedProgramLocalParameterI4uiEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z, (UInt32)w); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameterI4uivEXT")] + public static + void NamedProgramLocalParameterI4(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, UInt32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = @params) + { + Delegates.glNamedProgramLocalParameterI4uivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameterI4uivEXT")] + public static + void NamedProgramLocalParameterI4(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, ref UInt32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = &@params) + { + Delegates.glNamedProgramLocalParameterI4uivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameterI4uivEXT")] + public static + unsafe void NamedProgramLocalParameterI4(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, UInt32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedProgramLocalParameterI4uivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (UInt32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameters4fvEXT")] + public static + void NamedProgramLocalParameters4(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, Int32 count, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glNamedProgramLocalParameters4fvEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameters4fvEXT")] + public static + void NamedProgramLocalParameters4(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, Int32 count, ref Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glNamedProgramLocalParameters4fvEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameters4fvEXT")] + public static + unsafe void NamedProgramLocalParameters4(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, Int32 count, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedProgramLocalParameters4fvEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameters4fvEXT")] + public static + void NamedProgramLocalParameters4(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Int32 count, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glNamedProgramLocalParameters4fvEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameters4fvEXT")] + public static + void NamedProgramLocalParameters4(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Int32 count, ref Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glNamedProgramLocalParameters4fvEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameters4fvEXT")] + public static + unsafe void NamedProgramLocalParameters4(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Int32 count, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedProgramLocalParameters4fvEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParametersI4ivEXT")] + public static + void NamedProgramLocalParametersI4(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, Int32 count, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glNamedProgramLocalParametersI4ivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParametersI4ivEXT")] + public static + void NamedProgramLocalParametersI4(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, Int32 count, ref Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glNamedProgramLocalParametersI4ivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParametersI4ivEXT")] + public static + unsafe void NamedProgramLocalParametersI4(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, Int32 count, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedProgramLocalParametersI4ivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParametersI4ivEXT")] + public static + void NamedProgramLocalParametersI4(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Int32 count, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glNamedProgramLocalParametersI4ivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParametersI4ivEXT")] + public static + void NamedProgramLocalParametersI4(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Int32 count, ref Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glNamedProgramLocalParametersI4ivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParametersI4ivEXT")] + public static + unsafe void NamedProgramLocalParametersI4(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Int32 count, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedProgramLocalParametersI4ivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParametersI4uivEXT")] + public static + void NamedProgramLocalParametersI4(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Int32 count, UInt32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = @params) + { + Delegates.glNamedProgramLocalParametersI4uivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParametersI4uivEXT")] + public static + void NamedProgramLocalParametersI4(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Int32 count, ref UInt32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = &@params) + { + Delegates.glNamedProgramLocalParametersI4uivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParametersI4uivEXT")] + public static + unsafe void NamedProgramLocalParametersI4(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Int32 count, UInt32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedProgramLocalParametersI4uivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (UInt32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramStringEXT")] + public static + void NamedProgramString(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess format, Int32 len, IntPtr @string) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)format, (Int32)len, (IntPtr)@string); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramStringEXT")] + public static + void NamedProgramString(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess format, Int32 len, [InAttribute, OutAttribute] T4[] @string) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); + } + finally + { + @string_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramStringEXT")] + public static + void NamedProgramString(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess format, Int32 len, [InAttribute, OutAttribute] T4[,] @string) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); + } + finally + { + @string_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramStringEXT")] + public static + void NamedProgramString(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess format, Int32 len, [InAttribute, OutAttribute] T4[,,] @string) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); + } + finally + { + @string_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramStringEXT")] + public static + void NamedProgramString(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess format, Int32 len, [InAttribute, OutAttribute] ref T4 @string) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); + @string = (T4)@string_ptr.Target; + } + finally + { + @string_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramStringEXT")] + public static + void NamedProgramString(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess format, Int32 len, IntPtr @string) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)format, (Int32)len, (IntPtr)@string); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramStringEXT")] + public static + void NamedProgramString(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess format, Int32 len, [InAttribute, OutAttribute] T4[] @string) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); + } + finally + { + @string_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramStringEXT")] + public static + void NamedProgramString(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess format, Int32 len, [InAttribute, OutAttribute] T4[,] @string) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); + } + finally + { + @string_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramStringEXT")] + public static + void NamedProgramString(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess format, Int32 len, [InAttribute, OutAttribute] T4[,,] @string) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); + } + finally + { + @string_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramStringEXT")] + public static + void NamedProgramString(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess format, Int32 len, [InAttribute, OutAttribute] ref T4 @string) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); + @string = (T4)@string_ptr.Target; + } + finally + { + @string_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedRenderbufferStorageEXT")] + public static + void NamedRenderbufferStorage(Int32 renderbuffer, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedRenderbufferStorageEXT((UInt32)renderbuffer, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedRenderbufferStorageEXT")] + public static + void NamedRenderbufferStorage(UInt32 renderbuffer, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedRenderbufferStorageEXT((UInt32)renderbuffer, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedRenderbufferStorageMultisampleCoverageEXT")] + public static + void NamedRenderbufferStorageMultisampleCoverage(Int32 renderbuffer, Int32 coverageSamples, Int32 colorSamples, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedRenderbufferStorageMultisampleCoverageEXT((UInt32)renderbuffer, (Int32)coverageSamples, (Int32)colorSamples, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedRenderbufferStorageMultisampleCoverageEXT")] + public static + void NamedRenderbufferStorageMultisampleCoverage(UInt32 renderbuffer, Int32 coverageSamples, Int32 colorSamples, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedRenderbufferStorageMultisampleCoverageEXT((UInt32)renderbuffer, (Int32)coverageSamples, (Int32)colorSamples, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedRenderbufferStorageMultisampleEXT")] + public static + void NamedRenderbufferStorageMultisample(Int32 renderbuffer, Int32 samples, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedRenderbufferStorageMultisampleEXT((UInt32)renderbuffer, (Int32)samples, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedRenderbufferStorageMultisampleEXT")] + public static + void NamedRenderbufferStorageMultisample(UInt32 renderbuffer, Int32 samples, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedRenderbufferStorageMultisampleEXT((UInt32)renderbuffer, (Int32)samples, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_vertex_array] + /// Define an array of normals + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "EXT_vertex_array", Version = "1.0", EntryPoint = "glNormalPointerEXT")] + public static + void NormalPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, Int32 count, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormalPointerEXT((OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_vertex_array] + /// Define an array of normals + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "EXT_vertex_array", Version = "1.0", EntryPoint = "glNormalPointerEXT")] + public static + void NormalPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, Int32 count, [InAttribute, OutAttribute] T3[] pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glNormalPointerEXT((OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_vertex_array] + /// Define an array of normals + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "EXT_vertex_array", Version = "1.0", EntryPoint = "glNormalPointerEXT")] + public static + void NormalPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, Int32 count, [InAttribute, OutAttribute] T3[,] pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glNormalPointerEXT((OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_vertex_array] + /// Define an array of normals + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "EXT_vertex_array", Version = "1.0", EntryPoint = "glNormalPointerEXT")] + public static + void NormalPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, Int32 count, [InAttribute, OutAttribute] T3[,,] pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glNormalPointerEXT((OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_vertex_array] + /// Define an array of normals + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "EXT_vertex_array", Version = "1.0", EntryPoint = "glNormalPointerEXT")] + public static + void NormalPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, Int32 count, [InAttribute, OutAttribute] ref T3 pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glNormalPointerEXT((OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + pointer = (T3)pointer_ptr.Target; + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_pixel_transform] + [AutoGenerated(Category = "EXT_pixel_transform", Version = "1.1", EntryPoint = "glPixelTransformParameterfEXT")] + public static + void PixelTransformParameter(OpenTK.Graphics.OpenGL.ExtPixelTransform target, OpenTK.Graphics.OpenGL.ExtPixelTransform pname, Single param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPixelTransformParameterfEXT((OpenTK.Graphics.OpenGL.ExtPixelTransform)target, (OpenTK.Graphics.OpenGL.ExtPixelTransform)pname, (Single)param); + #if DEBUG + } + #endif + } + + /// [requires: EXT_pixel_transform] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_pixel_transform", Version = "1.1", EntryPoint = "glPixelTransformParameterfvEXT")] + public static + unsafe void PixelTransformParameter(OpenTK.Graphics.OpenGL.ExtPixelTransform target, OpenTK.Graphics.OpenGL.ExtPixelTransform pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPixelTransformParameterfvEXT((OpenTK.Graphics.OpenGL.ExtPixelTransform)target, (OpenTK.Graphics.OpenGL.ExtPixelTransform)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_pixel_transform] + [AutoGenerated(Category = "EXT_pixel_transform", Version = "1.1", EntryPoint = "glPixelTransformParameteriEXT")] + public static + void PixelTransformParameter(OpenTK.Graphics.OpenGL.ExtPixelTransform target, OpenTK.Graphics.OpenGL.ExtPixelTransform pname, Int32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPixelTransformParameteriEXT((OpenTK.Graphics.OpenGL.ExtPixelTransform)target, (OpenTK.Graphics.OpenGL.ExtPixelTransform)pname, (Int32)param); + #if DEBUG + } + #endif + } + + /// [requires: EXT_pixel_transform] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_pixel_transform", Version = "1.1", EntryPoint = "glPixelTransformParameterivEXT")] + public static + unsafe void PixelTransformParameter(OpenTK.Graphics.OpenGL.ExtPixelTransform target, OpenTK.Graphics.OpenGL.ExtPixelTransform pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPixelTransformParameterivEXT((OpenTK.Graphics.OpenGL.ExtPixelTransform)target, (OpenTK.Graphics.OpenGL.ExtPixelTransform)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_point_parameters] + /// Specify point parameters + /// + /// + /// + /// Specifies a single-valued point parameter. GL_POINT_FADE_THRESHOLD_SIZE, and GL_POINT_SPRITE_COORD_ORIGIN are accepted. + /// + /// + /// + /// + /// Specifies the value that pname will be set to. + /// + /// + [AutoGenerated(Category = "EXT_point_parameters", Version = "1.0", EntryPoint = "glPointParameterfEXT")] + public static + void PointParameter(OpenTK.Graphics.OpenGL.ExtPointParameters pname, Single param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPointParameterfEXT((OpenTK.Graphics.OpenGL.ExtPointParameters)pname, (Single)param); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_point_parameters] + /// Specify point parameters + /// + /// + /// + /// Specifies a single-valued point parameter. GL_POINT_FADE_THRESHOLD_SIZE, and GL_POINT_SPRITE_COORD_ORIGIN are accepted. + /// + /// + /// + /// + /// Specifies the value that pname will be set to. + /// + /// + [AutoGenerated(Category = "EXT_point_parameters", Version = "1.0", EntryPoint = "glPointParameterfvEXT")] + public static + void PointParameter(OpenTK.Graphics.OpenGL.ExtPointParameters pname, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glPointParameterfvEXT((OpenTK.Graphics.OpenGL.ExtPointParameters)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_point_parameters] + /// Specify point parameters + /// + /// + /// + /// Specifies a single-valued point parameter. GL_POINT_FADE_THRESHOLD_SIZE, and GL_POINT_SPRITE_COORD_ORIGIN are accepted. + /// + /// + /// + /// + /// Specifies the value that pname will be set to. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_point_parameters", Version = "1.0", EntryPoint = "glPointParameterfvEXT")] + public static + unsafe void PointParameter(OpenTK.Graphics.OpenGL.ExtPointParameters pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPointParameterfvEXT((OpenTK.Graphics.OpenGL.ExtPointParameters)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_polygon_offset] + /// Set the scale and units used to calculate depth values + /// + /// + /// + /// Specifies a scale factor that is used to create a variable depth offset for each polygon. The initial value is 0. + /// + /// + /// + /// + /// Is multiplied by an implementation-specific value to create a constant depth offset. The initial value is 0. + /// + /// + [AutoGenerated(Category = "EXT_polygon_offset", Version = "1.0", EntryPoint = "glPolygonOffsetEXT")] + public static + void PolygonOffset(Single factor, Single bias) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPolygonOffsetEXT((Single)factor, (Single)bias); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_texture_object] + /// Set texture residence priority + /// + /// + /// + /// Specifies the number of textures to be prioritized. + /// + /// + /// + /// + /// Specifies an array containing the names of the textures to be prioritized. + /// + /// + /// + /// + /// Specifies an array containing the texture priorities. A priority given in an element of priorities applies to the texture named by the corresponding element of textures. + /// + /// + [AutoGenerated(Category = "EXT_texture_object", Version = "1.0", EntryPoint = "glPrioritizeTexturesEXT")] + public static + void PrioritizeTextures(Int32 n, Int32[] textures, Single[] priorities) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* textures_ptr = textures) + fixed (Single* priorities_ptr = priorities) + { + Delegates.glPrioritizeTexturesEXT((Int32)n, (UInt32*)textures_ptr, (Single*)priorities_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_texture_object] + /// Set texture residence priority + /// + /// + /// + /// Specifies the number of textures to be prioritized. + /// + /// + /// + /// + /// Specifies an array containing the names of the textures to be prioritized. + /// + /// + /// + /// + /// Specifies an array containing the texture priorities. A priority given in an element of priorities applies to the texture named by the corresponding element of textures. + /// + /// + [AutoGenerated(Category = "EXT_texture_object", Version = "1.0", EntryPoint = "glPrioritizeTexturesEXT")] + public static + void PrioritizeTextures(Int32 n, ref Int32 textures, ref Single priorities) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* textures_ptr = &textures) + fixed (Single* priorities_ptr = &priorities) + { + Delegates.glPrioritizeTexturesEXT((Int32)n, (UInt32*)textures_ptr, (Single*)priorities_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_texture_object] + /// Set texture residence priority + /// + /// + /// + /// Specifies the number of textures to be prioritized. + /// + /// + /// + /// + /// Specifies an array containing the names of the textures to be prioritized. + /// + /// + /// + /// + /// Specifies an array containing the texture priorities. A priority given in an element of priorities applies to the texture named by the corresponding element of textures. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_texture_object", Version = "1.0", EntryPoint = "glPrioritizeTexturesEXT")] + public static + unsafe void PrioritizeTextures(Int32 n, Int32* textures, Single* priorities) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPrioritizeTexturesEXT((Int32)n, (UInt32*)textures, (Single*)priorities); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_texture_object] + /// Set texture residence priority + /// + /// + /// + /// Specifies the number of textures to be prioritized. + /// + /// + /// + /// + /// Specifies an array containing the names of the textures to be prioritized. + /// + /// + /// + /// + /// Specifies an array containing the texture priorities. A priority given in an element of priorities applies to the texture named by the corresponding element of textures. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_texture_object", Version = "1.0", EntryPoint = "glPrioritizeTexturesEXT")] + public static + void PrioritizeTextures(Int32 n, UInt32[] textures, Single[] priorities) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* textures_ptr = textures) + fixed (Single* priorities_ptr = priorities) + { + Delegates.glPrioritizeTexturesEXT((Int32)n, (UInt32*)textures_ptr, (Single*)priorities_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_texture_object] + /// Set texture residence priority + /// + /// + /// + /// Specifies the number of textures to be prioritized. + /// + /// + /// + /// + /// Specifies an array containing the names of the textures to be prioritized. + /// + /// + /// + /// + /// Specifies an array containing the texture priorities. A priority given in an element of priorities applies to the texture named by the corresponding element of textures. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_texture_object", Version = "1.0", EntryPoint = "glPrioritizeTexturesEXT")] + public static + void PrioritizeTextures(Int32 n, ref UInt32 textures, ref Single priorities) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* textures_ptr = &textures) + fixed (Single* priorities_ptr = &priorities) + { + Delegates.glPrioritizeTexturesEXT((Int32)n, (UInt32*)textures_ptr, (Single*)priorities_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_texture_object] + /// Set texture residence priority + /// + /// + /// + /// Specifies the number of textures to be prioritized. + /// + /// + /// + /// + /// Specifies an array containing the names of the textures to be prioritized. + /// + /// + /// + /// + /// Specifies an array containing the texture priorities. A priority given in an element of priorities applies to the texture named by the corresponding element of textures. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_texture_object", Version = "1.0", EntryPoint = "glPrioritizeTexturesEXT")] + public static + unsafe void PrioritizeTextures(Int32 n, UInt32* textures, Single* priorities) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPrioritizeTexturesEXT((Int32)n, (UInt32*)textures, (Single*)priorities); + #if DEBUG + } + #endif + } + + /// [requires: EXT_gpu_program_parameters] + [AutoGenerated(Category = "EXT_gpu_program_parameters", Version = "1.2", EntryPoint = "glProgramEnvParameters4fvEXT")] + public static + void ProgramEnvParameters4(OpenTK.Graphics.OpenGL.ExtGpuProgramParameters target, Int32 index, Int32 count, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glProgramEnvParameters4fvEXT((OpenTK.Graphics.OpenGL.ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_gpu_program_parameters] + [AutoGenerated(Category = "EXT_gpu_program_parameters", Version = "1.2", EntryPoint = "glProgramEnvParameters4fvEXT")] + public static + void ProgramEnvParameters4(OpenTK.Graphics.OpenGL.ExtGpuProgramParameters target, Int32 index, Int32 count, ref Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glProgramEnvParameters4fvEXT((OpenTK.Graphics.OpenGL.ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_gpu_program_parameters] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_gpu_program_parameters", Version = "1.2", EntryPoint = "glProgramEnvParameters4fvEXT")] + public static + unsafe void ProgramEnvParameters4(OpenTK.Graphics.OpenGL.ExtGpuProgramParameters target, Int32 index, Int32 count, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramEnvParameters4fvEXT((OpenTK.Graphics.OpenGL.ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_gpu_program_parameters] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_gpu_program_parameters", Version = "1.2", EntryPoint = "glProgramEnvParameters4fvEXT")] + public static + void ProgramEnvParameters4(OpenTK.Graphics.OpenGL.ExtGpuProgramParameters target, UInt32 index, Int32 count, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glProgramEnvParameters4fvEXT((OpenTK.Graphics.OpenGL.ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_gpu_program_parameters] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_gpu_program_parameters", Version = "1.2", EntryPoint = "glProgramEnvParameters4fvEXT")] + public static + void ProgramEnvParameters4(OpenTK.Graphics.OpenGL.ExtGpuProgramParameters target, UInt32 index, Int32 count, ref Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glProgramEnvParameters4fvEXT((OpenTK.Graphics.OpenGL.ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_gpu_program_parameters] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_gpu_program_parameters", Version = "1.2", EntryPoint = "glProgramEnvParameters4fvEXT")] + public static + unsafe void ProgramEnvParameters4(OpenTK.Graphics.OpenGL.ExtGpuProgramParameters target, UInt32 index, Int32 count, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramEnvParameters4fvEXT((OpenTK.Graphics.OpenGL.ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_gpu_program_parameters] + [AutoGenerated(Category = "EXT_gpu_program_parameters", Version = "1.2", EntryPoint = "glProgramLocalParameters4fvEXT")] + public static + void ProgramLocalParameters4(OpenTK.Graphics.OpenGL.ExtGpuProgramParameters target, Int32 index, Int32 count, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glProgramLocalParameters4fvEXT((OpenTK.Graphics.OpenGL.ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_gpu_program_parameters] + [AutoGenerated(Category = "EXT_gpu_program_parameters", Version = "1.2", EntryPoint = "glProgramLocalParameters4fvEXT")] + public static + void ProgramLocalParameters4(OpenTK.Graphics.OpenGL.ExtGpuProgramParameters target, Int32 index, Int32 count, ref Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glProgramLocalParameters4fvEXT((OpenTK.Graphics.OpenGL.ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_gpu_program_parameters] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_gpu_program_parameters", Version = "1.2", EntryPoint = "glProgramLocalParameters4fvEXT")] + public static + unsafe void ProgramLocalParameters4(OpenTK.Graphics.OpenGL.ExtGpuProgramParameters target, Int32 index, Int32 count, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramLocalParameters4fvEXT((OpenTK.Graphics.OpenGL.ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_gpu_program_parameters] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_gpu_program_parameters", Version = "1.2", EntryPoint = "glProgramLocalParameters4fvEXT")] + public static + void ProgramLocalParameters4(OpenTK.Graphics.OpenGL.ExtGpuProgramParameters target, UInt32 index, Int32 count, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glProgramLocalParameters4fvEXT((OpenTK.Graphics.OpenGL.ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_gpu_program_parameters] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_gpu_program_parameters", Version = "1.2", EntryPoint = "glProgramLocalParameters4fvEXT")] + public static + void ProgramLocalParameters4(OpenTK.Graphics.OpenGL.ExtGpuProgramParameters target, UInt32 index, Int32 count, ref Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glProgramLocalParameters4fvEXT((OpenTK.Graphics.OpenGL.ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_gpu_program_parameters] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_gpu_program_parameters", Version = "1.2", EntryPoint = "glProgramLocalParameters4fvEXT")] + public static + unsafe void ProgramLocalParameters4(OpenTK.Graphics.OpenGL.ExtGpuProgramParameters target, UInt32 index, Int32 count, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramLocalParameters4fvEXT((OpenTK.Graphics.OpenGL.ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_geometry_shader4] + /// Specify a parameter for a program object + /// + /// + /// + /// Specifies the name of a program object whose parameter to modify. + /// + /// + /// + /// + /// Specifies the name of the parameter to modify. + /// + /// + /// + /// + /// Specifies the new value of the parameter specified by pname for program. + /// + /// + [AutoGenerated(Category = "EXT_geometry_shader4", Version = "2.0", EntryPoint = "glProgramParameteriEXT")] + public static + void ProgramParameter(Int32 program, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, Int32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramParameteriEXT((UInt32)program, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (Int32)value); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_geometry_shader4] + /// Specify a parameter for a program object + /// + /// + /// + /// Specifies the name of a program object whose parameter to modify. + /// + /// + /// + /// + /// Specifies the name of the parameter to modify. + /// + /// + /// + /// + /// Specifies the new value of the parameter specified by pname for program. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_geometry_shader4", Version = "2.0", EntryPoint = "glProgramParameteriEXT")] + public static + void ProgramParameter(UInt32 program, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, Int32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramParameteriEXT((UInt32)program, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (Int32)value); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "EXT_direct_state_access", Version = "1.2", EntryPoint = "glProgramUniform1dEXT")] + public static + void ProgramUniform1(Int32 program, Int32 location, Double x) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform1dEXT((UInt32)program, (Int32)location, (Double)x); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "1.2", EntryPoint = "glProgramUniform1dEXT")] + public static + void ProgramUniform1(UInt32 program, Int32 location, Double x) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform1dEXT((UInt32)program, (Int32)location, (Double)x); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "EXT_direct_state_access", Version = "1.2", EntryPoint = "glProgramUniform1dvEXT")] + public static + void ProgramUniform1(Int32 program, Int32 location, Int32 count, Double[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = value) + { + Delegates.glProgramUniform1dvEXT((UInt32)program, (Int32)location, (Int32)count, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "EXT_direct_state_access", Version = "1.2", EntryPoint = "glProgramUniform1dvEXT")] + public static + void ProgramUniform1(Int32 program, Int32 location, Int32 count, ref Double value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = &value) + { + Delegates.glProgramUniform1dvEXT((UInt32)program, (Int32)location, (Int32)count, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "1.2", EntryPoint = "glProgramUniform1dvEXT")] + public static + unsafe void ProgramUniform1(Int32 program, Int32 location, Int32 count, Double* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform1dvEXT((UInt32)program, (Int32)location, (Int32)count, (Double*)value); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "1.2", EntryPoint = "glProgramUniform1dvEXT")] + public static + void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Double[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = value) + { + Delegates.glProgramUniform1dvEXT((UInt32)program, (Int32)location, (Int32)count, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "1.2", EntryPoint = "glProgramUniform1dvEXT")] + public static + void ProgramUniform1(UInt32 program, Int32 location, Int32 count, ref Double value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = &value) + { + Delegates.glProgramUniform1dvEXT((UInt32)program, (Int32)location, (Int32)count, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "1.2", EntryPoint = "glProgramUniform1dvEXT")] + public static + unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Double* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform1dvEXT((UInt32)program, (Int32)location, (Int32)count, (Double*)value); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform1fEXT")] + public static + void ProgramUniform1(Int32 program, Int32 location, Single v0) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform1fEXT((UInt32)program, (Int32)location, (Single)v0); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform1fEXT")] + public static + void ProgramUniform1(UInt32 program, Int32 location, Single v0) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform1fEXT((UInt32)program, (Int32)location, (Single)v0); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform1fvEXT")] + public static + void ProgramUniform1(Int32 program, Int32 location, Int32 count, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniform1fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform1fvEXT")] + public static + void ProgramUniform1(Int32 program, Int32 location, Int32 count, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glProgramUniform1fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform1fvEXT")] + public static + unsafe void ProgramUniform1(Int32 program, Int32 location, Int32 count, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform1fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform1fvEXT")] + public static + void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniform1fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform1fvEXT")] + public static + void ProgramUniform1(UInt32 program, Int32 location, Int32 count, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glProgramUniform1fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform1fvEXT")] + public static + unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform1fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform1iEXT")] + public static + void ProgramUniform1(Int32 program, Int32 location, Int32 v0) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform1iEXT((UInt32)program, (Int32)location, (Int32)v0); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform1iEXT")] + public static + void ProgramUniform1(UInt32 program, Int32 location, Int32 v0) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform1iEXT((UInt32)program, (Int32)location, (Int32)v0); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform1ivEXT")] + public static + void ProgramUniform1(Int32 program, Int32 location, Int32 count, Int32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = value) + { + Delegates.glProgramUniform1ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform1ivEXT")] + public static + void ProgramUniform1(Int32 program, Int32 location, Int32 count, ref Int32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = &value) + { + Delegates.glProgramUniform1ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform1ivEXT")] + public static + unsafe void ProgramUniform1(Int32 program, Int32 location, Int32 count, Int32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform1ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform1ivEXT")] + public static + void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Int32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = value) + { + Delegates.glProgramUniform1ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform1ivEXT")] + public static + void ProgramUniform1(UInt32 program, Int32 location, Int32 count, ref Int32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = &value) + { + Delegates.glProgramUniform1ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform1ivEXT")] + public static + unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Int32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform1ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform1uiEXT")] + public static + void ProgramUniform1(UInt32 program, Int32 location, UInt32 v0) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform1uiEXT((UInt32)program, (Int32)location, (UInt32)v0); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform1uivEXT")] + public static + void ProgramUniform1(UInt32 program, Int32 location, Int32 count, UInt32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* value_ptr = value) + { + Delegates.glProgramUniform1uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform1uivEXT")] + public static + void ProgramUniform1(UInt32 program, Int32 location, Int32 count, ref UInt32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* value_ptr = &value) + { + Delegates.glProgramUniform1uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform1uivEXT")] + public static + unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, UInt32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform1uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "EXT_direct_state_access", Version = "1.2", EntryPoint = "glProgramUniform2dEXT")] + public static + void ProgramUniform2(Int32 program, Int32 location, Double x, Double y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform2dEXT((UInt32)program, (Int32)location, (Double)x, (Double)y); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "1.2", EntryPoint = "glProgramUniform2dEXT")] + public static + void ProgramUniform2(UInt32 program, Int32 location, Double x, Double y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform2dEXT((UInt32)program, (Int32)location, (Double)x, (Double)y); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "EXT_direct_state_access", Version = "1.2", EntryPoint = "glProgramUniform2dvEXT")] + public static + void ProgramUniform2(Int32 program, Int32 location, Int32 count, Double[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = value) + { + Delegates.glProgramUniform2dvEXT((UInt32)program, (Int32)location, (Int32)count, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "EXT_direct_state_access", Version = "1.2", EntryPoint = "glProgramUniform2dvEXT")] + public static + void ProgramUniform2(Int32 program, Int32 location, Int32 count, ref Double value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = &value) + { + Delegates.glProgramUniform2dvEXT((UInt32)program, (Int32)location, (Int32)count, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "1.2", EntryPoint = "glProgramUniform2dvEXT")] + public static + unsafe void ProgramUniform2(Int32 program, Int32 location, Int32 count, Double* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform2dvEXT((UInt32)program, (Int32)location, (Int32)count, (Double*)value); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "1.2", EntryPoint = "glProgramUniform2dvEXT")] + public static + void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Double[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = value) + { + Delegates.glProgramUniform2dvEXT((UInt32)program, (Int32)location, (Int32)count, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "1.2", EntryPoint = "glProgramUniform2dvEXT")] + public static + void ProgramUniform2(UInt32 program, Int32 location, Int32 count, ref Double value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = &value) + { + Delegates.glProgramUniform2dvEXT((UInt32)program, (Int32)location, (Int32)count, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "1.2", EntryPoint = "glProgramUniform2dvEXT")] + public static + unsafe void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Double* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform2dvEXT((UInt32)program, (Int32)location, (Int32)count, (Double*)value); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform2fEXT")] + public static + void ProgramUniform2(Int32 program, Int32 location, Single v0, Single v1) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform2fEXT((UInt32)program, (Int32)location, (Single)v0, (Single)v1); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform2fEXT")] + public static + void ProgramUniform2(UInt32 program, Int32 location, Single v0, Single v1) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform2fEXT((UInt32)program, (Int32)location, (Single)v0, (Single)v1); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform2fvEXT")] + public static + void ProgramUniform2(Int32 program, Int32 location, Int32 count, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniform2fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform2fvEXT")] + public static + void ProgramUniform2(Int32 program, Int32 location, Int32 count, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glProgramUniform2fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform2fvEXT")] + public static + unsafe void ProgramUniform2(Int32 program, Int32 location, Int32 count, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform2fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform2fvEXT")] + public static + void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniform2fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform2fvEXT")] + public static + void ProgramUniform2(UInt32 program, Int32 location, Int32 count, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glProgramUniform2fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform2fvEXT")] + public static + unsafe void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform2fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform2iEXT")] + public static + void ProgramUniform2(Int32 program, Int32 location, Int32 v0, Int32 v1) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform2iEXT((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform2iEXT")] + public static + void ProgramUniform2(UInt32 program, Int32 location, Int32 v0, Int32 v1) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform2iEXT((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform2ivEXT")] + public static + void ProgramUniform2(Int32 program, Int32 location, Int32 count, Int32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = value) + { + Delegates.glProgramUniform2ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform2ivEXT")] + public static + unsafe void ProgramUniform2(Int32 program, Int32 location, Int32 count, Int32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform2ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform2ivEXT")] + public static + void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Int32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = value) + { + Delegates.glProgramUniform2ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform2ivEXT")] + public static + unsafe void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Int32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform2ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform2uiEXT")] + public static + void ProgramUniform2(UInt32 program, Int32 location, UInt32 v0, UInt32 v1) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform2uiEXT((UInt32)program, (Int32)location, (UInt32)v0, (UInt32)v1); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform2uivEXT")] + public static + void ProgramUniform2(UInt32 program, Int32 location, Int32 count, UInt32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* value_ptr = value) + { + Delegates.glProgramUniform2uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform2uivEXT")] + public static + void ProgramUniform2(UInt32 program, Int32 location, Int32 count, ref UInt32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* value_ptr = &value) + { + Delegates.glProgramUniform2uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform2uivEXT")] + public static + unsafe void ProgramUniform2(UInt32 program, Int32 location, Int32 count, UInt32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform2uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "EXT_direct_state_access", Version = "1.2", EntryPoint = "glProgramUniform3dEXT")] + public static + void ProgramUniform3(Int32 program, Int32 location, Double x, Double y, Double z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform3dEXT((UInt32)program, (Int32)location, (Double)x, (Double)y, (Double)z); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "1.2", EntryPoint = "glProgramUniform3dEXT")] + public static + void ProgramUniform3(UInt32 program, Int32 location, Double x, Double y, Double z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform3dEXT((UInt32)program, (Int32)location, (Double)x, (Double)y, (Double)z); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "EXT_direct_state_access", Version = "1.2", EntryPoint = "glProgramUniform3dvEXT")] + public static + void ProgramUniform3(Int32 program, Int32 location, Int32 count, Double[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = value) + { + Delegates.glProgramUniform3dvEXT((UInt32)program, (Int32)location, (Int32)count, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "EXT_direct_state_access", Version = "1.2", EntryPoint = "glProgramUniform3dvEXT")] + public static + void ProgramUniform3(Int32 program, Int32 location, Int32 count, ref Double value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = &value) + { + Delegates.glProgramUniform3dvEXT((UInt32)program, (Int32)location, (Int32)count, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "1.2", EntryPoint = "glProgramUniform3dvEXT")] + public static + unsafe void ProgramUniform3(Int32 program, Int32 location, Int32 count, Double* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform3dvEXT((UInt32)program, (Int32)location, (Int32)count, (Double*)value); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "1.2", EntryPoint = "glProgramUniform3dvEXT")] + public static + void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Double[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = value) + { + Delegates.glProgramUniform3dvEXT((UInt32)program, (Int32)location, (Int32)count, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "1.2", EntryPoint = "glProgramUniform3dvEXT")] + public static + void ProgramUniform3(UInt32 program, Int32 location, Int32 count, ref Double value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = &value) + { + Delegates.glProgramUniform3dvEXT((UInt32)program, (Int32)location, (Int32)count, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "1.2", EntryPoint = "glProgramUniform3dvEXT")] + public static + unsafe void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Double* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform3dvEXT((UInt32)program, (Int32)location, (Int32)count, (Double*)value); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform3fEXT")] + public static + void ProgramUniform3(Int32 program, Int32 location, Single v0, Single v1, Single v2) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform3fEXT((UInt32)program, (Int32)location, (Single)v0, (Single)v1, (Single)v2); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform3fEXT")] + public static + void ProgramUniform3(UInt32 program, Int32 location, Single v0, Single v1, Single v2) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform3fEXT((UInt32)program, (Int32)location, (Single)v0, (Single)v1, (Single)v2); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform3fvEXT")] + public static + void ProgramUniform3(Int32 program, Int32 location, Int32 count, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniform3fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform3fvEXT")] + public static + void ProgramUniform3(Int32 program, Int32 location, Int32 count, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glProgramUniform3fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform3fvEXT")] + public static + unsafe void ProgramUniform3(Int32 program, Int32 location, Int32 count, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform3fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform3fvEXT")] + public static + void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniform3fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform3fvEXT")] + public static + void ProgramUniform3(UInt32 program, Int32 location, Int32 count, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glProgramUniform3fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform3fvEXT")] + public static + unsafe void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform3fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform3iEXT")] + public static + void ProgramUniform3(Int32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform3iEXT((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, (Int32)v2); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform3iEXT")] + public static + void ProgramUniform3(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform3iEXT((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, (Int32)v2); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform3ivEXT")] + public static + void ProgramUniform3(Int32 program, Int32 location, Int32 count, Int32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = value) + { + Delegates.glProgramUniform3ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform3ivEXT")] + public static + void ProgramUniform3(Int32 program, Int32 location, Int32 count, ref Int32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = &value) + { + Delegates.glProgramUniform3ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform3ivEXT")] + public static + unsafe void ProgramUniform3(Int32 program, Int32 location, Int32 count, Int32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform3ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform3ivEXT")] + public static + void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Int32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = value) + { + Delegates.glProgramUniform3ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform3ivEXT")] + public static + void ProgramUniform3(UInt32 program, Int32 location, Int32 count, ref Int32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = &value) + { + Delegates.glProgramUniform3ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform3ivEXT")] + public static + unsafe void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Int32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform3ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform3uiEXT")] + public static + void ProgramUniform3(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform3uiEXT((UInt32)program, (Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform3uivEXT")] + public static + void ProgramUniform3(UInt32 program, Int32 location, Int32 count, UInt32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* value_ptr = value) + { + Delegates.glProgramUniform3uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform3uivEXT")] + public static + void ProgramUniform3(UInt32 program, Int32 location, Int32 count, ref UInt32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* value_ptr = &value) + { + Delegates.glProgramUniform3uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform3uivEXT")] + public static + unsafe void ProgramUniform3(UInt32 program, Int32 location, Int32 count, UInt32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform3uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "EXT_direct_state_access", Version = "1.2", EntryPoint = "glProgramUniform4dEXT")] + public static + void ProgramUniform4(Int32 program, Int32 location, Double x, Double y, Double z, Double w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform4dEXT((UInt32)program, (Int32)location, (Double)x, (Double)y, (Double)z, (Double)w); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "1.2", EntryPoint = "glProgramUniform4dEXT")] + public static + void ProgramUniform4(UInt32 program, Int32 location, Double x, Double y, Double z, Double w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform4dEXT((UInt32)program, (Int32)location, (Double)x, (Double)y, (Double)z, (Double)w); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "EXT_direct_state_access", Version = "1.2", EntryPoint = "glProgramUniform4dvEXT")] + public static + void ProgramUniform4(Int32 program, Int32 location, Int32 count, Double[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = value) + { + Delegates.glProgramUniform4dvEXT((UInt32)program, (Int32)location, (Int32)count, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "EXT_direct_state_access", Version = "1.2", EntryPoint = "glProgramUniform4dvEXT")] + public static + void ProgramUniform4(Int32 program, Int32 location, Int32 count, ref Double value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = &value) + { + Delegates.glProgramUniform4dvEXT((UInt32)program, (Int32)location, (Int32)count, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "1.2", EntryPoint = "glProgramUniform4dvEXT")] + public static + unsafe void ProgramUniform4(Int32 program, Int32 location, Int32 count, Double* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform4dvEXT((UInt32)program, (Int32)location, (Int32)count, (Double*)value); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "1.2", EntryPoint = "glProgramUniform4dvEXT")] + public static + void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Double[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = value) + { + Delegates.glProgramUniform4dvEXT((UInt32)program, (Int32)location, (Int32)count, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "1.2", EntryPoint = "glProgramUniform4dvEXT")] + public static + void ProgramUniform4(UInt32 program, Int32 location, Int32 count, ref Double value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = &value) + { + Delegates.glProgramUniform4dvEXT((UInt32)program, (Int32)location, (Int32)count, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "1.2", EntryPoint = "glProgramUniform4dvEXT")] + public static + unsafe void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Double* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform4dvEXT((UInt32)program, (Int32)location, (Int32)count, (Double*)value); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform4fEXT")] + public static + void ProgramUniform4(Int32 program, Int32 location, Single v0, Single v1, Single v2, Single v3) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform4fEXT((UInt32)program, (Int32)location, (Single)v0, (Single)v1, (Single)v2, (Single)v3); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform4fEXT")] + public static + void ProgramUniform4(UInt32 program, Int32 location, Single v0, Single v1, Single v2, Single v3) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform4fEXT((UInt32)program, (Int32)location, (Single)v0, (Single)v1, (Single)v2, (Single)v3); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform4fvEXT")] + public static + void ProgramUniform4(Int32 program, Int32 location, Int32 count, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniform4fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform4fvEXT")] + public static + void ProgramUniform4(Int32 program, Int32 location, Int32 count, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glProgramUniform4fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform4fvEXT")] + public static + unsafe void ProgramUniform4(Int32 program, Int32 location, Int32 count, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform4fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform4fvEXT")] + public static + void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniform4fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform4fvEXT")] + public static + void ProgramUniform4(UInt32 program, Int32 location, Int32 count, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glProgramUniform4fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform4fvEXT")] + public static + unsafe void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform4fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform4iEXT")] + public static + void ProgramUniform4(Int32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform4iEXT((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, (Int32)v3); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform4iEXT")] + public static + void ProgramUniform4(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform4iEXT((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, (Int32)v3); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform4ivEXT")] + public static + void ProgramUniform4(Int32 program, Int32 location, Int32 count, Int32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = value) + { + Delegates.glProgramUniform4ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform4ivEXT")] + public static + void ProgramUniform4(Int32 program, Int32 location, Int32 count, ref Int32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = &value) + { + Delegates.glProgramUniform4ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform4ivEXT")] + public static + unsafe void ProgramUniform4(Int32 program, Int32 location, Int32 count, Int32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform4ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform4ivEXT")] + public static + void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Int32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = value) + { + Delegates.glProgramUniform4ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform4ivEXT")] + public static + void ProgramUniform4(UInt32 program, Int32 location, Int32 count, ref Int32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = &value) + { + Delegates.glProgramUniform4ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform4ivEXT")] + public static + unsafe void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Int32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform4ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform4uiEXT")] + public static + void ProgramUniform4(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform4uiEXT((UInt32)program, (Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2, (UInt32)v3); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform4uivEXT")] + public static + void ProgramUniform4(UInt32 program, Int32 location, Int32 count, UInt32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* value_ptr = value) + { + Delegates.glProgramUniform4uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform4uivEXT")] + public static + void ProgramUniform4(UInt32 program, Int32 location, Int32 count, ref UInt32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* value_ptr = &value) + { + Delegates.glProgramUniform4uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_direct_state_access] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform4uivEXT")] + public static + unsafe void ProgramUniform4(UInt32 program, Int32 location, Int32 count, UInt32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform4uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "1.2", EntryPoint = "glProgramUniformMatrix2dvEXT")] + public static + void ProgramUniformMatrix2(Int32 program, Int32 location, Int32 count, bool transpose, Double[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = value) + { + Delegates.glProgramUniformMatrix2dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "1.2", EntryPoint = "glProgramUniformMatrix2dvEXT")] + public static + void ProgramUniformMatrix2(Int32 program, Int32 location, Int32 count, bool transpose, ref Double value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = &value) + { + Delegates.glProgramUniformMatrix2dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "1.2", EntryPoint = "glProgramUniformMatrix2dvEXT")] + public static + unsafe void ProgramUniformMatrix2(Int32 program, Int32 location, Int32 count, bool transpose, Double* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix2dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "1.2", EntryPoint = "glProgramUniformMatrix2dvEXT")] + public static + void ProgramUniformMatrix2(UInt32 program, Int32 location, Int32 count, bool transpose, Double[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = value) + { + Delegates.glProgramUniformMatrix2dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "1.2", EntryPoint = "glProgramUniformMatrix2dvEXT")] + public static + void ProgramUniformMatrix2(UInt32 program, Int32 location, Int32 count, bool transpose, ref Double value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = &value) + { + Delegates.glProgramUniformMatrix2dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "1.2", EntryPoint = "glProgramUniformMatrix2dvEXT")] + public static + unsafe void ProgramUniformMatrix2(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix2dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix2fvEXT")] + public static + void ProgramUniformMatrix2(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniformMatrix2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix2fvEXT")] + public static + void ProgramUniformMatrix2(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glProgramUniformMatrix2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix2fvEXT")] + public static + unsafe void ProgramUniformMatrix2(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix2fvEXT")] + public static + void ProgramUniformMatrix2(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniformMatrix2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix2fvEXT")] + public static + void ProgramUniformMatrix2(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glProgramUniformMatrix2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix2fvEXT")] + public static + unsafe void ProgramUniformMatrix2(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "1.2", EntryPoint = "glProgramUniformMatrix2x3dvEXT")] + public static + void ProgramUniformMatrix2x3(Int32 program, Int32 location, Int32 count, bool transpose, Double[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = value) + { + Delegates.glProgramUniformMatrix2x3dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "1.2", EntryPoint = "glProgramUniformMatrix2x3dvEXT")] + public static + void ProgramUniformMatrix2x3(Int32 program, Int32 location, Int32 count, bool transpose, ref Double value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = &value) + { + Delegates.glProgramUniformMatrix2x3dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "1.2", EntryPoint = "glProgramUniformMatrix2x3dvEXT")] + public static + unsafe void ProgramUniformMatrix2x3(Int32 program, Int32 location, Int32 count, bool transpose, Double* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix2x3dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "1.2", EntryPoint = "glProgramUniformMatrix2x3dvEXT")] + public static + void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, Double[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = value) + { + Delegates.glProgramUniformMatrix2x3dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "1.2", EntryPoint = "glProgramUniformMatrix2x3dvEXT")] + public static + void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, ref Double value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = &value) + { + Delegates.glProgramUniformMatrix2x3dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "1.2", EntryPoint = "glProgramUniformMatrix2x3dvEXT")] + public static + unsafe void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix2x3dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix2x3fvEXT")] + public static + void ProgramUniformMatrix2x3(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniformMatrix2x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix2x3fvEXT")] + public static + void ProgramUniformMatrix2x3(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glProgramUniformMatrix2x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix2x3fvEXT")] + public static + unsafe void ProgramUniformMatrix2x3(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix2x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix2x3fvEXT")] + public static + void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniformMatrix2x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix2x3fvEXT")] + public static + void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glProgramUniformMatrix2x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix2x3fvEXT")] + public static + unsafe void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix2x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "1.2", EntryPoint = "glProgramUniformMatrix2x4dvEXT")] + public static + void ProgramUniformMatrix2x4(Int32 program, Int32 location, Int32 count, bool transpose, Double[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = value) + { + Delegates.glProgramUniformMatrix2x4dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "1.2", EntryPoint = "glProgramUniformMatrix2x4dvEXT")] + public static + void ProgramUniformMatrix2x4(Int32 program, Int32 location, Int32 count, bool transpose, ref Double value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = &value) + { + Delegates.glProgramUniformMatrix2x4dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "1.2", EntryPoint = "glProgramUniformMatrix2x4dvEXT")] + public static + unsafe void ProgramUniformMatrix2x4(Int32 program, Int32 location, Int32 count, bool transpose, Double* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix2x4dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "1.2", EntryPoint = "glProgramUniformMatrix2x4dvEXT")] + public static + void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, Double[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = value) + { + Delegates.glProgramUniformMatrix2x4dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "1.2", EntryPoint = "glProgramUniformMatrix2x4dvEXT")] + public static + void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, ref Double value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = &value) + { + Delegates.glProgramUniformMatrix2x4dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "1.2", EntryPoint = "glProgramUniformMatrix2x4dvEXT")] + public static + unsafe void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix2x4dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix2x4fvEXT")] + public static + void ProgramUniformMatrix2x4(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniformMatrix2x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix2x4fvEXT")] + public static + void ProgramUniformMatrix2x4(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glProgramUniformMatrix2x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix2x4fvEXT")] + public static + unsafe void ProgramUniformMatrix2x4(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix2x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix2x4fvEXT")] + public static + void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniformMatrix2x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix2x4fvEXT")] + public static + void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glProgramUniformMatrix2x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix2x4fvEXT")] + public static + unsafe void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix2x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "1.2", EntryPoint = "glProgramUniformMatrix3dvEXT")] + public static + void ProgramUniformMatrix3(Int32 program, Int32 location, Int32 count, bool transpose, Double[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = value) + { + Delegates.glProgramUniformMatrix3dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "1.2", EntryPoint = "glProgramUniformMatrix3dvEXT")] + public static + void ProgramUniformMatrix3(Int32 program, Int32 location, Int32 count, bool transpose, ref Double value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = &value) + { + Delegates.glProgramUniformMatrix3dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "1.2", EntryPoint = "glProgramUniformMatrix3dvEXT")] + public static + unsafe void ProgramUniformMatrix3(Int32 program, Int32 location, Int32 count, bool transpose, Double* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix3dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "1.2", EntryPoint = "glProgramUniformMatrix3dvEXT")] + public static + void ProgramUniformMatrix3(UInt32 program, Int32 location, Int32 count, bool transpose, Double[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = value) + { + Delegates.glProgramUniformMatrix3dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "1.2", EntryPoint = "glProgramUniformMatrix3dvEXT")] + public static + void ProgramUniformMatrix3(UInt32 program, Int32 location, Int32 count, bool transpose, ref Double value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = &value) + { + Delegates.glProgramUniformMatrix3dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "1.2", EntryPoint = "glProgramUniformMatrix3dvEXT")] + public static + unsafe void ProgramUniformMatrix3(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix3dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix3fvEXT")] + public static + void ProgramUniformMatrix3(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniformMatrix3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix3fvEXT")] + public static + void ProgramUniformMatrix3(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glProgramUniformMatrix3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix3fvEXT")] + public static + unsafe void ProgramUniformMatrix3(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix3fvEXT")] + public static + void ProgramUniformMatrix3(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniformMatrix3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix3fvEXT")] + public static + void ProgramUniformMatrix3(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glProgramUniformMatrix3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix3fvEXT")] + public static + unsafe void ProgramUniformMatrix3(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "1.2", EntryPoint = "glProgramUniformMatrix3x2dvEXT")] + public static + void ProgramUniformMatrix3x2(Int32 program, Int32 location, Int32 count, bool transpose, Double[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = value) + { + Delegates.glProgramUniformMatrix3x2dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "1.2", EntryPoint = "glProgramUniformMatrix3x2dvEXT")] + public static + void ProgramUniformMatrix3x2(Int32 program, Int32 location, Int32 count, bool transpose, ref Double value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = &value) + { + Delegates.glProgramUniformMatrix3x2dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "1.2", EntryPoint = "glProgramUniformMatrix3x2dvEXT")] + public static + unsafe void ProgramUniformMatrix3x2(Int32 program, Int32 location, Int32 count, bool transpose, Double* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix3x2dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "1.2", EntryPoint = "glProgramUniformMatrix3x2dvEXT")] + public static + void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, Double[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = value) + { + Delegates.glProgramUniformMatrix3x2dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "1.2", EntryPoint = "glProgramUniformMatrix3x2dvEXT")] + public static + void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, ref Double value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = &value) + { + Delegates.glProgramUniformMatrix3x2dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "1.2", EntryPoint = "glProgramUniformMatrix3x2dvEXT")] + public static + unsafe void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix3x2dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix3x2fvEXT")] + public static + void ProgramUniformMatrix3x2(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniformMatrix3x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix3x2fvEXT")] + public static + void ProgramUniformMatrix3x2(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glProgramUniformMatrix3x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix3x2fvEXT")] + public static + unsafe void ProgramUniformMatrix3x2(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix3x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix3x2fvEXT")] + public static + void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniformMatrix3x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix3x2fvEXT")] + public static + void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glProgramUniformMatrix3x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix3x2fvEXT")] + public static + unsafe void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix3x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "1.2", EntryPoint = "glProgramUniformMatrix3x4dvEXT")] + public static + void ProgramUniformMatrix3x4(Int32 program, Int32 location, Int32 count, bool transpose, Double[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = value) + { + Delegates.glProgramUniformMatrix3x4dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "1.2", EntryPoint = "glProgramUniformMatrix3x4dvEXT")] + public static + void ProgramUniformMatrix3x4(Int32 program, Int32 location, Int32 count, bool transpose, ref Double value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = &value) + { + Delegates.glProgramUniformMatrix3x4dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "1.2", EntryPoint = "glProgramUniformMatrix3x4dvEXT")] + public static + unsafe void ProgramUniformMatrix3x4(Int32 program, Int32 location, Int32 count, bool transpose, Double* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix3x4dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "1.2", EntryPoint = "glProgramUniformMatrix3x4dvEXT")] + public static + void ProgramUniformMatrix3x4(UInt32 program, Int32 location, Int32 count, bool transpose, Double[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = value) + { + Delegates.glProgramUniformMatrix3x4dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "1.2", EntryPoint = "glProgramUniformMatrix3x4dvEXT")] + public static + void ProgramUniformMatrix3x4(UInt32 program, Int32 location, Int32 count, bool transpose, ref Double value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = &value) + { + Delegates.glProgramUniformMatrix3x4dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "1.2", EntryPoint = "glProgramUniformMatrix3x4dvEXT")] + public static + unsafe void ProgramUniformMatrix3x4(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix3x4dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix3x4fvEXT")] + public static + void ProgramUniformMatrix3x4(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniformMatrix3x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix3x4fvEXT")] + public static + void ProgramUniformMatrix3x4(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glProgramUniformMatrix3x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix3x4fvEXT")] + public static + unsafe void ProgramUniformMatrix3x4(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix3x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix3x4fvEXT")] + public static + void ProgramUniformMatrix3x4(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniformMatrix3x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix3x4fvEXT")] + public static + void ProgramUniformMatrix3x4(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glProgramUniformMatrix3x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix3x4fvEXT")] + public static + unsafe void ProgramUniformMatrix3x4(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix3x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "1.2", EntryPoint = "glProgramUniformMatrix4dvEXT")] + public static + void ProgramUniformMatrix4(Int32 program, Int32 location, Int32 count, bool transpose, Double[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = value) + { + Delegates.glProgramUniformMatrix4dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "1.2", EntryPoint = "glProgramUniformMatrix4dvEXT")] + public static + void ProgramUniformMatrix4(Int32 program, Int32 location, Int32 count, bool transpose, ref Double value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = &value) + { + Delegates.glProgramUniformMatrix4dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "1.2", EntryPoint = "glProgramUniformMatrix4dvEXT")] + public static + unsafe void ProgramUniformMatrix4(Int32 program, Int32 location, Int32 count, bool transpose, Double* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix4dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "1.2", EntryPoint = "glProgramUniformMatrix4dvEXT")] + public static + void ProgramUniformMatrix4(UInt32 program, Int32 location, Int32 count, bool transpose, Double[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = value) + { + Delegates.glProgramUniformMatrix4dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "1.2", EntryPoint = "glProgramUniformMatrix4dvEXT")] + public static + void ProgramUniformMatrix4(UInt32 program, Int32 location, Int32 count, bool transpose, ref Double value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = &value) + { + Delegates.glProgramUniformMatrix4dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "1.2", EntryPoint = "glProgramUniformMatrix4dvEXT")] + public static + unsafe void ProgramUniformMatrix4(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix4dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix4fvEXT")] + public static + void ProgramUniformMatrix4(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniformMatrix4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix4fvEXT")] + public static + void ProgramUniformMatrix4(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glProgramUniformMatrix4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix4fvEXT")] + public static + unsafe void ProgramUniformMatrix4(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix4fvEXT")] + public static + void ProgramUniformMatrix4(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniformMatrix4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix4fvEXT")] + public static + void ProgramUniformMatrix4(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glProgramUniformMatrix4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix4fvEXT")] + public static + unsafe void ProgramUniformMatrix4(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "1.2", EntryPoint = "glProgramUniformMatrix4x2dvEXT")] + public static + void ProgramUniformMatrix4x2(Int32 program, Int32 location, Int32 count, bool transpose, Double[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = value) + { + Delegates.glProgramUniformMatrix4x2dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "1.2", EntryPoint = "glProgramUniformMatrix4x2dvEXT")] + public static + void ProgramUniformMatrix4x2(Int32 program, Int32 location, Int32 count, bool transpose, ref Double value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = &value) + { + Delegates.glProgramUniformMatrix4x2dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "1.2", EntryPoint = "glProgramUniformMatrix4x2dvEXT")] + public static + unsafe void ProgramUniformMatrix4x2(Int32 program, Int32 location, Int32 count, bool transpose, Double* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix4x2dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "1.2", EntryPoint = "glProgramUniformMatrix4x2dvEXT")] + public static + void ProgramUniformMatrix4x2(UInt32 program, Int32 location, Int32 count, bool transpose, Double[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = value) + { + Delegates.glProgramUniformMatrix4x2dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "1.2", EntryPoint = "glProgramUniformMatrix4x2dvEXT")] + public static + void ProgramUniformMatrix4x2(UInt32 program, Int32 location, Int32 count, bool transpose, ref Double value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = &value) + { + Delegates.glProgramUniformMatrix4x2dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "1.2", EntryPoint = "glProgramUniformMatrix4x2dvEXT")] + public static + unsafe void ProgramUniformMatrix4x2(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix4x2dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix4x2fvEXT")] + public static + void ProgramUniformMatrix4x2(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniformMatrix4x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix4x2fvEXT")] + public static + void ProgramUniformMatrix4x2(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glProgramUniformMatrix4x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix4x2fvEXT")] + public static + unsafe void ProgramUniformMatrix4x2(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix4x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix4x2fvEXT")] + public static + void ProgramUniformMatrix4x2(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniformMatrix4x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix4x2fvEXT")] + public static + void ProgramUniformMatrix4x2(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glProgramUniformMatrix4x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix4x2fvEXT")] + public static + unsafe void ProgramUniformMatrix4x2(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix4x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "1.2", EntryPoint = "glProgramUniformMatrix4x3dvEXT")] + public static + void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, Double[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = value) + { + Delegates.glProgramUniformMatrix4x3dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "1.2", EntryPoint = "glProgramUniformMatrix4x3dvEXT")] + public static + void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, ref Double value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = &value) + { + Delegates.glProgramUniformMatrix4x3dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "1.2", EntryPoint = "glProgramUniformMatrix4x3dvEXT")] + public static + unsafe void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, Double* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix4x3dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "1.2", EntryPoint = "glProgramUniformMatrix4x3dvEXT")] + public static + void ProgramUniformMatrix4x3(UInt32 program, Int32 location, Int32 count, bool transpose, Double[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = value) + { + Delegates.glProgramUniformMatrix4x3dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "1.2", EntryPoint = "glProgramUniformMatrix4x3dvEXT")] + public static + void ProgramUniformMatrix4x3(UInt32 program, Int32 location, Int32 count, bool transpose, ref Double value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* value_ptr = &value) + { + Delegates.glProgramUniformMatrix4x3dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "1.2", EntryPoint = "glProgramUniformMatrix4x3dvEXT")] + public static + unsafe void ProgramUniformMatrix4x3(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix4x3dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix4x3fvEXT")] + public static + void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniformMatrix4x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix4x3fvEXT")] + public static + void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glProgramUniformMatrix4x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix4x3fvEXT")] + public static + unsafe void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix4x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix4x3fvEXT")] + public static + void ProgramUniformMatrix4x3(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniformMatrix4x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix4x3fvEXT")] + public static + void ProgramUniformMatrix4x3(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glProgramUniformMatrix4x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix4x3fvEXT")] + public static + unsafe void ProgramUniformMatrix4x3(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix4x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_provoking_vertex] + /// Specifiy the vertex to be used as the source of data for flat shaded varyings + /// + /// + /// + /// Specifies the vertex to be used as the source of data for flat shaded varyings. + /// + /// + [AutoGenerated(Category = "EXT_provoking_vertex", Version = "2.1", EntryPoint = "glProvokingVertexEXT")] + public static + void ProvokingVertex(OpenTK.Graphics.OpenGL.ExtProvokingVertex mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProvokingVertexEXT((OpenTK.Graphics.OpenGL.ExtProvokingVertex)mode); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glPushClientAttribDefaultEXT")] + public static + void PushClientAttribDefault(OpenTK.Graphics.OpenGL.ClientAttribMask mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPushClientAttribDefaultEXT((OpenTK.Graphics.OpenGL.ClientAttribMask)mask); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_framebuffer_object] + /// Establish data storage, format and dimensions of a renderbuffer object's image + /// + /// + /// + /// Specifies a binding to which the target of the allocation and must be GL_RENDERBUFFER. + /// + /// + /// + /// + /// Specifies the internal format to use for the renderbuffer object's image. + /// + /// + /// + /// + /// Specifies the width of the renderbuffer, in pixels. + /// + /// + /// + /// + /// Specifies the height of the renderbuffer, in pixels. + /// + /// + [AutoGenerated(Category = "EXT_framebuffer_object", Version = "1.2", EntryPoint = "glRenderbufferStorageEXT")] + public static + void RenderbufferStorage(OpenTK.Graphics.OpenGL.RenderbufferTarget target, OpenTK.Graphics.OpenGL.RenderbufferStorage internalformat, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glRenderbufferStorageEXT((OpenTK.Graphics.OpenGL.RenderbufferTarget)target, (OpenTK.Graphics.OpenGL.RenderbufferStorage)internalformat, (Int32)width, (Int32)height); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_framebuffer_multisample] + /// Establish data storage, format, dimensions and sample count of a renderbuffer object's image + /// + /// + /// + /// Specifies a binding to which the target of the allocation and must be GL_RENDERBUFFER. + /// + /// + /// + /// + /// Specifies the number of samples to be used for the renderbuffer object's storage. + /// + /// + /// + /// + /// Specifies the internal format to use for the renderbuffer object's image. + /// + /// + /// + /// + /// Specifies the width of the renderbuffer, in pixels. + /// + /// + /// + /// + /// Specifies the height of the renderbuffer, in pixels. + /// + /// + [AutoGenerated(Category = "EXT_framebuffer_multisample", Version = "1.5", EntryPoint = "glRenderbufferStorageMultisampleEXT")] + public static + void RenderbufferStorageMultisample(OpenTK.Graphics.OpenGL.ExtFramebufferMultisample target, Int32 samples, OpenTK.Graphics.OpenGL.ExtFramebufferMultisample internalformat, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glRenderbufferStorageMultisampleEXT((OpenTK.Graphics.OpenGL.ExtFramebufferMultisample)target, (Int32)samples, (OpenTK.Graphics.OpenGL.ExtFramebufferMultisample)internalformat, (Int32)width, (Int32)height); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_histogram] + /// Reset histogram table entries to zero + /// + /// + /// + /// Must be GL_HISTOGRAM. + /// + /// + [AutoGenerated(Category = "EXT_histogram", Version = "1.0", EntryPoint = "glResetHistogramEXT")] + public static + void ResetHistogram(OpenTK.Graphics.OpenGL.ExtHistogram target) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glResetHistogramEXT((OpenTK.Graphics.OpenGL.ExtHistogram)target); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_histogram] + /// Reset minmax table entries to initial values + /// + /// + /// + /// Must be GL_MINMAX. + /// + /// + [AutoGenerated(Category = "EXT_histogram", Version = "1.0", EntryPoint = "glResetMinmaxEXT")] + public static + void ResetMinmax(OpenTK.Graphics.OpenGL.ExtHistogram target) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glResetMinmaxEXT((OpenTK.Graphics.OpenGL.ExtHistogram)target); + #if DEBUG + } + #endif + } + + /// [requires: EXT_multisample] + [AutoGenerated(Category = "EXT_multisample", Version = "1.0", EntryPoint = "glSampleMaskEXT")] + public static + void SampleMask(Single value, bool invert) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSampleMaskEXT((Single)value, (bool)invert); + #if DEBUG + } + #endif + } + + /// [requires: EXT_multisample] + [AutoGenerated(Category = "EXT_multisample", Version = "1.0", EntryPoint = "glSamplePatternEXT")] + public static + void SamplePattern(OpenTK.Graphics.OpenGL.ExtMultisample pattern) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSamplePatternEXT((OpenTK.Graphics.OpenGL.ExtMultisample)pattern); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_secondary_color] + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_secondary_color", Version = "1.1", EntryPoint = "glSecondaryColor3bEXT")] + public static + void SecondaryColor3(SByte red, SByte green, SByte blue) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSecondaryColor3bEXT((SByte)red, (SByte)green, (SByte)blue); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_secondary_color] + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_secondary_color", Version = "1.1", EntryPoint = "glSecondaryColor3bvEXT")] + public static + void SecondaryColor3(SByte[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (SByte* v_ptr = v) + { + Delegates.glSecondaryColor3bvEXT((SByte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_secondary_color] + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_secondary_color", Version = "1.1", EntryPoint = "glSecondaryColor3bvEXT")] + public static + void SecondaryColor3(ref SByte v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (SByte* v_ptr = &v) + { + Delegates.glSecondaryColor3bvEXT((SByte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_secondary_color] + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_secondary_color", Version = "1.1", EntryPoint = "glSecondaryColor3bvEXT")] + public static + unsafe void SecondaryColor3(SByte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSecondaryColor3bvEXT((SByte*)v); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_secondary_color] + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [AutoGenerated(Category = "EXT_secondary_color", Version = "1.1", EntryPoint = "glSecondaryColor3dEXT")] + public static + void SecondaryColor3(Double red, Double green, Double blue) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSecondaryColor3dEXT((Double)red, (Double)green, (Double)blue); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_secondary_color] + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [AutoGenerated(Category = "EXT_secondary_color", Version = "1.1", EntryPoint = "glSecondaryColor3dvEXT")] + public static + void SecondaryColor3(Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glSecondaryColor3dvEXT((Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_secondary_color] + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [AutoGenerated(Category = "EXT_secondary_color", Version = "1.1", EntryPoint = "glSecondaryColor3dvEXT")] + public static + void SecondaryColor3(ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glSecondaryColor3dvEXT((Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_secondary_color] + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_secondary_color", Version = "1.1", EntryPoint = "glSecondaryColor3dvEXT")] + public static + unsafe void SecondaryColor3(Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSecondaryColor3dvEXT((Double*)v); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_secondary_color] + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [AutoGenerated(Category = "EXT_secondary_color", Version = "1.1", EntryPoint = "glSecondaryColor3fEXT")] + public static + void SecondaryColor3(Single red, Single green, Single blue) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSecondaryColor3fEXT((Single)red, (Single)green, (Single)blue); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_secondary_color] + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [AutoGenerated(Category = "EXT_secondary_color", Version = "1.1", EntryPoint = "glSecondaryColor3fvEXT")] + public static + void SecondaryColor3(Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glSecondaryColor3fvEXT((Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_secondary_color] + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [AutoGenerated(Category = "EXT_secondary_color", Version = "1.1", EntryPoint = "glSecondaryColor3fvEXT")] + public static + void SecondaryColor3(ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glSecondaryColor3fvEXT((Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_secondary_color] + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_secondary_color", Version = "1.1", EntryPoint = "glSecondaryColor3fvEXT")] + public static + unsafe void SecondaryColor3(Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSecondaryColor3fvEXT((Single*)v); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_secondary_color] + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [AutoGenerated(Category = "EXT_secondary_color", Version = "1.1", EntryPoint = "glSecondaryColor3iEXT")] + public static + void SecondaryColor3(Int32 red, Int32 green, Int32 blue) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSecondaryColor3iEXT((Int32)red, (Int32)green, (Int32)blue); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_secondary_color] + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [AutoGenerated(Category = "EXT_secondary_color", Version = "1.1", EntryPoint = "glSecondaryColor3ivEXT")] + public static + void SecondaryColor3(Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glSecondaryColor3ivEXT((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_secondary_color] + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [AutoGenerated(Category = "EXT_secondary_color", Version = "1.1", EntryPoint = "glSecondaryColor3ivEXT")] + public static + void SecondaryColor3(ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glSecondaryColor3ivEXT((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_secondary_color] + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_secondary_color", Version = "1.1", EntryPoint = "glSecondaryColor3ivEXT")] + public static + unsafe void SecondaryColor3(Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSecondaryColor3ivEXT((Int32*)v); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_secondary_color] + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [AutoGenerated(Category = "EXT_secondary_color", Version = "1.1", EntryPoint = "glSecondaryColor3sEXT")] + public static + void SecondaryColor3(Int16 red, Int16 green, Int16 blue) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSecondaryColor3sEXT((Int16)red, (Int16)green, (Int16)blue); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_secondary_color] + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [AutoGenerated(Category = "EXT_secondary_color", Version = "1.1", EntryPoint = "glSecondaryColor3svEXT")] + public static + void SecondaryColor3(Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glSecondaryColor3svEXT((Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_secondary_color] + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [AutoGenerated(Category = "EXT_secondary_color", Version = "1.1", EntryPoint = "glSecondaryColor3svEXT")] + public static + void SecondaryColor3(ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glSecondaryColor3svEXT((Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_secondary_color] + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_secondary_color", Version = "1.1", EntryPoint = "glSecondaryColor3svEXT")] + public static + unsafe void SecondaryColor3(Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSecondaryColor3svEXT((Int16*)v); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_secondary_color] + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [AutoGenerated(Category = "EXT_secondary_color", Version = "1.1", EntryPoint = "glSecondaryColor3ubEXT")] + public static + void SecondaryColor3(Byte red, Byte green, Byte blue) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSecondaryColor3ubEXT((Byte)red, (Byte)green, (Byte)blue); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_secondary_color] + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [AutoGenerated(Category = "EXT_secondary_color", Version = "1.1", EntryPoint = "glSecondaryColor3ubvEXT")] + public static + void SecondaryColor3(Byte[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = v) + { + Delegates.glSecondaryColor3ubvEXT((Byte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_secondary_color] + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [AutoGenerated(Category = "EXT_secondary_color", Version = "1.1", EntryPoint = "glSecondaryColor3ubvEXT")] + public static + void SecondaryColor3(ref Byte v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = &v) + { + Delegates.glSecondaryColor3ubvEXT((Byte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_secondary_color] + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_secondary_color", Version = "1.1", EntryPoint = "glSecondaryColor3ubvEXT")] + public static + unsafe void SecondaryColor3(Byte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSecondaryColor3ubvEXT((Byte*)v); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_secondary_color] + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_secondary_color", Version = "1.1", EntryPoint = "glSecondaryColor3uiEXT")] + public static + void SecondaryColor3(UInt32 red, UInt32 green, UInt32 blue) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSecondaryColor3uiEXT((UInt32)red, (UInt32)green, (UInt32)blue); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_secondary_color] + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_secondary_color", Version = "1.1", EntryPoint = "glSecondaryColor3uivEXT")] + public static + void SecondaryColor3(UInt32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* v_ptr = v) + { + Delegates.glSecondaryColor3uivEXT((UInt32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_secondary_color] + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_secondary_color", Version = "1.1", EntryPoint = "glSecondaryColor3uivEXT")] + public static + void SecondaryColor3(ref UInt32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* v_ptr = &v) + { + Delegates.glSecondaryColor3uivEXT((UInt32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_secondary_color] + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_secondary_color", Version = "1.1", EntryPoint = "glSecondaryColor3uivEXT")] + public static + unsafe void SecondaryColor3(UInt32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSecondaryColor3uivEXT((UInt32*)v); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_secondary_color] + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_secondary_color", Version = "1.1", EntryPoint = "glSecondaryColor3usEXT")] + public static + void SecondaryColor3(UInt16 red, UInt16 green, UInt16 blue) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSecondaryColor3usEXT((UInt16)red, (UInt16)green, (UInt16)blue); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_secondary_color] + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_secondary_color", Version = "1.1", EntryPoint = "glSecondaryColor3usvEXT")] + public static + void SecondaryColor3(UInt16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt16* v_ptr = v) + { + Delegates.glSecondaryColor3usvEXT((UInt16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_secondary_color] + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_secondary_color", Version = "1.1", EntryPoint = "glSecondaryColor3usvEXT")] + public static + void SecondaryColor3(ref UInt16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt16* v_ptr = &v) + { + Delegates.glSecondaryColor3usvEXT((UInt16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_secondary_color] + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_secondary_color", Version = "1.1", EntryPoint = "glSecondaryColor3usvEXT")] + public static + unsafe void SecondaryColor3(UInt16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSecondaryColor3usvEXT((UInt16*)v); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_secondary_color] + /// Define an array of secondary colors + /// + /// + /// + /// Specifies the number of components per color. Must be 3. + /// + /// + /// + /// + /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "EXT_secondary_color", Version = "1.1", EntryPoint = "glSecondaryColorPointerEXT")] + public static + void SecondaryColorPointer(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSecondaryColorPointerEXT((Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_secondary_color] + /// Define an array of secondary colors + /// + /// + /// + /// Specifies the number of components per color. Must be 3. + /// + /// + /// + /// + /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "EXT_secondary_color", Version = "1.1", EntryPoint = "glSecondaryColorPointerEXT")] + public static + void SecondaryColorPointer(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[] pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glSecondaryColorPointerEXT((Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_secondary_color] + /// Define an array of secondary colors + /// + /// + /// + /// Specifies the number of components per color. Must be 3. + /// + /// + /// + /// + /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "EXT_secondary_color", Version = "1.1", EntryPoint = "glSecondaryColorPointerEXT")] + public static + void SecondaryColorPointer(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[,] pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glSecondaryColorPointerEXT((Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_secondary_color] + /// Define an array of secondary colors + /// + /// + /// + /// Specifies the number of components per color. Must be 3. + /// + /// + /// + /// + /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "EXT_secondary_color", Version = "1.1", EntryPoint = "glSecondaryColorPointerEXT")] + public static + void SecondaryColorPointer(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[,,] pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glSecondaryColorPointerEXT((Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_secondary_color] + /// Define an array of secondary colors + /// + /// + /// + /// Specifies the number of components per color. Must be 3. + /// + /// + /// + /// + /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "EXT_secondary_color", Version = "1.1", EntryPoint = "glSecondaryColorPointerEXT")] + public static + void SecondaryColorPointer(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, [InAttribute, OutAttribute] ref T3 pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glSecondaryColorPointerEXT((Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + pointer = (T3)pointer_ptr.Target; + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_convolution] + /// Define a separable two-dimensional convolution filter + /// + /// + /// + /// Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// + /// + /// + /// + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. + /// + /// + [AutoGenerated(Category = "EXT_convolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] + public static + void SeparableFilter2D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr row, IntPtr column) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_convolution] + /// Define a separable two-dimensional convolution filter + /// + /// + /// + /// Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// + /// + /// + /// + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. + /// + /// + [AutoGenerated(Category = "EXT_convolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] + public static + void SeparableFilter2D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr row, [InAttribute, OutAttribute] T7[] column) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + try + { + Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject()); + } + finally + { + column_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_convolution] + /// Define a separable two-dimensional convolution filter + /// + /// + /// + /// Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// + /// + /// + /// + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. + /// + /// + [AutoGenerated(Category = "EXT_convolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] + public static + void SeparableFilter2D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr row, [InAttribute, OutAttribute] T7[,] column) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + try + { + Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject()); + } + finally + { + column_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_convolution] + /// Define a separable two-dimensional convolution filter + /// + /// + /// + /// Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// + /// + /// + /// + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. + /// + /// + [AutoGenerated(Category = "EXT_convolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] + public static + void SeparableFilter2D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr row, [InAttribute, OutAttribute] T7[,,] column) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + try + { + Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject()); + } + finally + { + column_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_convolution] + /// Define a separable two-dimensional convolution filter + /// + /// + /// + /// Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// + /// + /// + /// + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. + /// + /// + [AutoGenerated(Category = "EXT_convolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] + public static + void SeparableFilter2D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr row, [InAttribute, OutAttribute] ref T7 column) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + try + { + Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject()); + column = (T7)column_ptr.Target; + } + finally + { + column_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_convolution] + /// Define a separable two-dimensional convolution filter + /// + /// + /// + /// Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// + /// + /// + /// + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. + /// + /// + [AutoGenerated(Category = "EXT_convolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] + public static + void SeparableFilter2D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[] row, [InAttribute, OutAttribute] T7[,,] column) + where T6 : struct + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + try + { + Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); + } + finally + { + row_ptr.Free(); + column_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_convolution] + /// Define a separable two-dimensional convolution filter + /// + /// + /// + /// Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// + /// + /// + /// + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. + /// + /// + [AutoGenerated(Category = "EXT_convolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] + public static + void SeparableFilter2D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[,] row, [InAttribute, OutAttribute] T7[,,] column) + where T6 : struct + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + try + { + Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); + } + finally + { + row_ptr.Free(); + column_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_convolution] + /// Define a separable two-dimensional convolution filter + /// + /// + /// + /// Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// + /// + /// + /// + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. + /// + /// + [AutoGenerated(Category = "EXT_convolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] + public static + void SeparableFilter2D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[,,] row, [InAttribute, OutAttribute] T7[,,] column) + where T6 : struct + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + try + { + Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); + } + finally + { + row_ptr.Free(); + column_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_convolution] + /// Define a separable two-dimensional convolution filter + /// + /// + /// + /// Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// + /// + /// + /// + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. + /// + /// + [AutoGenerated(Category = "EXT_convolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] + public static + void SeparableFilter2D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T6 row, [InAttribute, OutAttribute] T7[,,] column) + where T6 : struct + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + try + { + Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); + row = (T6)row_ptr.Target; + } + finally + { + row_ptr.Free(); + column_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glSetInvariantEXT")] + public static + void SetInvariant(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, IntPtr addr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSetInvariantEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (IntPtr)addr); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glSetInvariantEXT")] + public static + void SetInvariant(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, [InAttribute, OutAttribute] T2[] addr) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); + try + { + Delegates.glSetInvariantEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); + } + finally + { + addr_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glSetInvariantEXT")] + public static + void SetInvariant(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, [InAttribute, OutAttribute] T2[,] addr) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); + try + { + Delegates.glSetInvariantEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); + } + finally + { + addr_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glSetInvariantEXT")] + public static + void SetInvariant(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, [InAttribute, OutAttribute] T2[,,] addr) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); + try + { + Delegates.glSetInvariantEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); + } + finally + { + addr_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glSetInvariantEXT")] + public static + void SetInvariant(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, [InAttribute, OutAttribute] ref T2 addr) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); + try + { + Delegates.glSetInvariantEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); + addr = (T2)addr_ptr.Target; + } + finally + { + addr_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glSetInvariantEXT")] + public static + void SetInvariant(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, IntPtr addr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSetInvariantEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (IntPtr)addr); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glSetInvariantEXT")] + public static + void SetInvariant(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, [InAttribute, OutAttribute] T2[] addr) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); + try + { + Delegates.glSetInvariantEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); + } + finally + { + addr_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glSetInvariantEXT")] + public static + void SetInvariant(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, [InAttribute, OutAttribute] T2[,] addr) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); + try + { + Delegates.glSetInvariantEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); + } + finally + { + addr_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glSetInvariantEXT")] + public static + void SetInvariant(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, [InAttribute, OutAttribute] T2[,,] addr) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); + try + { + Delegates.glSetInvariantEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); + } + finally + { + addr_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glSetInvariantEXT")] + public static + void SetInvariant(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, [InAttribute, OutAttribute] ref T2 addr) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); + try + { + Delegates.glSetInvariantEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); + addr = (T2)addr_ptr.Target; + } + finally + { + addr_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glSetLocalConstantEXT")] + public static + void SetLocalConstant(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, IntPtr addr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSetLocalConstantEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (IntPtr)addr); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glSetLocalConstantEXT")] + public static + void SetLocalConstant(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, [InAttribute, OutAttribute] T2[] addr) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); + try + { + Delegates.glSetLocalConstantEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); + } + finally + { + addr_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glSetLocalConstantEXT")] + public static + void SetLocalConstant(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, [InAttribute, OutAttribute] T2[,] addr) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); + try + { + Delegates.glSetLocalConstantEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); + } + finally + { + addr_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glSetLocalConstantEXT")] + public static + void SetLocalConstant(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, [InAttribute, OutAttribute] T2[,,] addr) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); + try + { + Delegates.glSetLocalConstantEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); + } + finally + { + addr_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glSetLocalConstantEXT")] + public static + void SetLocalConstant(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, [InAttribute, OutAttribute] ref T2 addr) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); + try + { + Delegates.glSetLocalConstantEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); + addr = (T2)addr_ptr.Target; + } + finally + { + addr_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glSetLocalConstantEXT")] + public static + void SetLocalConstant(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, IntPtr addr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSetLocalConstantEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (IntPtr)addr); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glSetLocalConstantEXT")] + public static + void SetLocalConstant(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, [InAttribute, OutAttribute] T2[] addr) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); + try + { + Delegates.glSetLocalConstantEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); + } + finally + { + addr_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glSetLocalConstantEXT")] + public static + void SetLocalConstant(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, [InAttribute, OutAttribute] T2[,] addr) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); + try + { + Delegates.glSetLocalConstantEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); + } + finally + { + addr_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glSetLocalConstantEXT")] + public static + void SetLocalConstant(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, [InAttribute, OutAttribute] T2[,,] addr) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); + try + { + Delegates.glSetLocalConstantEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); + } + finally + { + addr_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glSetLocalConstantEXT")] + public static + void SetLocalConstant(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, [InAttribute, OutAttribute] ref T2 addr) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); + try + { + Delegates.glSetLocalConstantEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); + addr = (T2)addr_ptr.Target; + } + finally + { + addr_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glShaderOp1EXT")] + public static + void ShaderOp1(OpenTK.Graphics.OpenGL.ExtVertexShader op, Int32 res, Int32 arg1) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glShaderOp1EXT((OpenTK.Graphics.OpenGL.ExtVertexShader)op, (UInt32)res, (UInt32)arg1); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glShaderOp1EXT")] + public static + void ShaderOp1(OpenTK.Graphics.OpenGL.ExtVertexShader op, UInt32 res, UInt32 arg1) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glShaderOp1EXT((OpenTK.Graphics.OpenGL.ExtVertexShader)op, (UInt32)res, (UInt32)arg1); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glShaderOp2EXT")] + public static + void ShaderOp2(OpenTK.Graphics.OpenGL.ExtVertexShader op, Int32 res, Int32 arg1, Int32 arg2) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glShaderOp2EXT((OpenTK.Graphics.OpenGL.ExtVertexShader)op, (UInt32)res, (UInt32)arg1, (UInt32)arg2); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glShaderOp2EXT")] + public static + void ShaderOp2(OpenTK.Graphics.OpenGL.ExtVertexShader op, UInt32 res, UInt32 arg1, UInt32 arg2) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glShaderOp2EXT((OpenTK.Graphics.OpenGL.ExtVertexShader)op, (UInt32)res, (UInt32)arg1, (UInt32)arg2); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glShaderOp3EXT")] + public static + void ShaderOp3(OpenTK.Graphics.OpenGL.ExtVertexShader op, Int32 res, Int32 arg1, Int32 arg2, Int32 arg3) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glShaderOp3EXT((OpenTK.Graphics.OpenGL.ExtVertexShader)op, (UInt32)res, (UInt32)arg1, (UInt32)arg2, (UInt32)arg3); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glShaderOp3EXT")] + public static + void ShaderOp3(OpenTK.Graphics.OpenGL.ExtVertexShader op, UInt32 res, UInt32 arg1, UInt32 arg2, UInt32 arg3) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glShaderOp3EXT((OpenTK.Graphics.OpenGL.ExtVertexShader)op, (UInt32)res, (UInt32)arg1, (UInt32)arg2, (UInt32)arg3); + #if DEBUG + } + #endif + } + + /// [requires: EXT_stencil_clear_tag] + [AutoGenerated(Category = "EXT_stencil_clear_tag", Version = "1.5", EntryPoint = "glStencilClearTagEXT")] + public static + void StencilClearTag(Int32 stencilTagBits, Int32 stencilClearTag) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glStencilClearTagEXT((Int32)stencilTagBits, (UInt32)stencilClearTag); + #if DEBUG + } + #endif + } + + /// [requires: EXT_stencil_clear_tag] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_stencil_clear_tag", Version = "1.5", EntryPoint = "glStencilClearTagEXT")] + public static + void StencilClearTag(Int32 stencilTagBits, UInt32 stencilClearTag) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glStencilClearTagEXT((Int32)stencilTagBits, (UInt32)stencilClearTag); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glSwizzleEXT")] + public static + void Swizzle(Int32 res, Int32 @in, OpenTK.Graphics.OpenGL.ExtVertexShader outX, OpenTK.Graphics.OpenGL.ExtVertexShader outY, OpenTK.Graphics.OpenGL.ExtVertexShader outZ, OpenTK.Graphics.OpenGL.ExtVertexShader outW) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSwizzleEXT((UInt32)res, (UInt32)@in, (OpenTK.Graphics.OpenGL.ExtVertexShader)outX, (OpenTK.Graphics.OpenGL.ExtVertexShader)outY, (OpenTK.Graphics.OpenGL.ExtVertexShader)outZ, (OpenTK.Graphics.OpenGL.ExtVertexShader)outW); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glSwizzleEXT")] + public static + void Swizzle(UInt32 res, UInt32 @in, OpenTK.Graphics.OpenGL.ExtVertexShader outX, OpenTK.Graphics.OpenGL.ExtVertexShader outY, OpenTK.Graphics.OpenGL.ExtVertexShader outZ, OpenTK.Graphics.OpenGL.ExtVertexShader outW) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSwizzleEXT((UInt32)res, (UInt32)@in, (OpenTK.Graphics.OpenGL.ExtVertexShader)outX, (OpenTK.Graphics.OpenGL.ExtVertexShader)outY, (OpenTK.Graphics.OpenGL.ExtVertexShader)outZ, (OpenTK.Graphics.OpenGL.ExtVertexShader)outW); + #if DEBUG + } + #endif + } + + /// [requires: EXT_coordinate_frame] + [AutoGenerated(Category = "EXT_coordinate_frame", Version = "1.1", EntryPoint = "glTangent3bEXT")] + public static + void Tangent3(Byte tx, Byte ty, Byte tz) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTangent3bEXT((SByte)tx, (SByte)ty, (SByte)tz); + #if DEBUG + } + #endif + } + + /// [requires: EXT_coordinate_frame] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_coordinate_frame", Version = "1.1", EntryPoint = "glTangent3bEXT")] + public static + void Tangent3(SByte tx, SByte ty, SByte tz) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTangent3bEXT((SByte)tx, (SByte)ty, (SByte)tz); + #if DEBUG + } + #endif + } + + /// [requires: EXT_coordinate_frame] + [AutoGenerated(Category = "EXT_coordinate_frame", Version = "1.1", EntryPoint = "glTangent3bvEXT")] + public static + void Tangent3(Byte[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = v) + { + Delegates.glTangent3bvEXT((SByte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_coordinate_frame] + [AutoGenerated(Category = "EXT_coordinate_frame", Version = "1.1", EntryPoint = "glTangent3bvEXT")] + public static + void Tangent3(ref Byte v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = &v) + { + Delegates.glTangent3bvEXT((SByte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_coordinate_frame] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_coordinate_frame", Version = "1.1", EntryPoint = "glTangent3bvEXT")] + public static + unsafe void Tangent3(Byte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTangent3bvEXT((SByte*)v); + #if DEBUG + } + #endif + } + + /// [requires: EXT_coordinate_frame] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_coordinate_frame", Version = "1.1", EntryPoint = "glTangent3bvEXT")] + public static + void Tangent3(SByte[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (SByte* v_ptr = v) + { + Delegates.glTangent3bvEXT((SByte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_coordinate_frame] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_coordinate_frame", Version = "1.1", EntryPoint = "glTangent3bvEXT")] + public static + void Tangent3(ref SByte v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (SByte* v_ptr = &v) + { + Delegates.glTangent3bvEXT((SByte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_coordinate_frame] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_coordinate_frame", Version = "1.1", EntryPoint = "glTangent3bvEXT")] + public static + unsafe void Tangent3(SByte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTangent3bvEXT((SByte*)v); + #if DEBUG + } + #endif + } + + /// [requires: EXT_coordinate_frame] + [AutoGenerated(Category = "EXT_coordinate_frame", Version = "1.1", EntryPoint = "glTangent3dEXT")] + public static + void Tangent3(Double tx, Double ty, Double tz) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTangent3dEXT((Double)tx, (Double)ty, (Double)tz); + #if DEBUG + } + #endif + } + + /// [requires: EXT_coordinate_frame] + [AutoGenerated(Category = "EXT_coordinate_frame", Version = "1.1", EntryPoint = "glTangent3dvEXT")] + public static + void Tangent3(Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glTangent3dvEXT((Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_coordinate_frame] + [AutoGenerated(Category = "EXT_coordinate_frame", Version = "1.1", EntryPoint = "glTangent3dvEXT")] + public static + void Tangent3(ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glTangent3dvEXT((Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_coordinate_frame] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_coordinate_frame", Version = "1.1", EntryPoint = "glTangent3dvEXT")] + public static + unsafe void Tangent3(Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTangent3dvEXT((Double*)v); + #if DEBUG + } + #endif + } + + /// [requires: EXT_coordinate_frame] + [AutoGenerated(Category = "EXT_coordinate_frame", Version = "1.1", EntryPoint = "glTangent3fEXT")] + public static + void Tangent3(Single tx, Single ty, Single tz) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTangent3fEXT((Single)tx, (Single)ty, (Single)tz); + #if DEBUG + } + #endif + } + + /// [requires: EXT_coordinate_frame] + [AutoGenerated(Category = "EXT_coordinate_frame", Version = "1.1", EntryPoint = "glTangent3fvEXT")] + public static + void Tangent3(Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glTangent3fvEXT((Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_coordinate_frame] + [AutoGenerated(Category = "EXT_coordinate_frame", Version = "1.1", EntryPoint = "glTangent3fvEXT")] + public static + void Tangent3(ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glTangent3fvEXT((Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_coordinate_frame] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_coordinate_frame", Version = "1.1", EntryPoint = "glTangent3fvEXT")] + public static + unsafe void Tangent3(Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTangent3fvEXT((Single*)v); + #if DEBUG + } + #endif + } + + /// [requires: EXT_coordinate_frame] + [AutoGenerated(Category = "EXT_coordinate_frame", Version = "1.1", EntryPoint = "glTangent3iEXT")] + public static + void Tangent3(Int32 tx, Int32 ty, Int32 tz) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTangent3iEXT((Int32)tx, (Int32)ty, (Int32)tz); + #if DEBUG + } + #endif + } + + /// [requires: EXT_coordinate_frame] + [AutoGenerated(Category = "EXT_coordinate_frame", Version = "1.1", EntryPoint = "glTangent3ivEXT")] + public static + void Tangent3(Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glTangent3ivEXT((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_coordinate_frame] + [AutoGenerated(Category = "EXT_coordinate_frame", Version = "1.1", EntryPoint = "glTangent3ivEXT")] + public static + void Tangent3(ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glTangent3ivEXT((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_coordinate_frame] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_coordinate_frame", Version = "1.1", EntryPoint = "glTangent3ivEXT")] + public static + unsafe void Tangent3(Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTangent3ivEXT((Int32*)v); + #if DEBUG + } + #endif + } + + /// [requires: EXT_coordinate_frame] + [AutoGenerated(Category = "EXT_coordinate_frame", Version = "1.1", EntryPoint = "glTangent3sEXT")] + public static + void Tangent3(Int16 tx, Int16 ty, Int16 tz) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTangent3sEXT((Int16)tx, (Int16)ty, (Int16)tz); + #if DEBUG + } + #endif + } + + /// [requires: EXT_coordinate_frame] + [AutoGenerated(Category = "EXT_coordinate_frame", Version = "1.1", EntryPoint = "glTangent3svEXT")] + public static + void Tangent3(Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glTangent3svEXT((Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_coordinate_frame] + [AutoGenerated(Category = "EXT_coordinate_frame", Version = "1.1", EntryPoint = "glTangent3svEXT")] + public static + void Tangent3(ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glTangent3svEXT((Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_coordinate_frame] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_coordinate_frame", Version = "1.1", EntryPoint = "glTangent3svEXT")] + public static + unsafe void Tangent3(Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTangent3svEXT((Int16*)v); + #if DEBUG + } + #endif + } + + /// [requires: EXT_coordinate_frame] + [AutoGenerated(Category = "EXT_coordinate_frame", Version = "1.1", EntryPoint = "glTangentPointerEXT")] + public static + void TangentPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTangentPointerEXT((OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + /// [requires: EXT_coordinate_frame] + [AutoGenerated(Category = "EXT_coordinate_frame", Version = "1.1", EntryPoint = "glTangentPointerEXT")] + public static + void TangentPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, [InAttribute, OutAttribute] T2[] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glTangentPointerEXT((OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_coordinate_frame] + [AutoGenerated(Category = "EXT_coordinate_frame", Version = "1.1", EntryPoint = "glTangentPointerEXT")] + public static + void TangentPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, [InAttribute, OutAttribute] T2[,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glTangentPointerEXT((OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_coordinate_frame] + [AutoGenerated(Category = "EXT_coordinate_frame", Version = "1.1", EntryPoint = "glTangentPointerEXT")] + public static + void TangentPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, [InAttribute, OutAttribute] T2[,,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glTangentPointerEXT((OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_coordinate_frame] + [AutoGenerated(Category = "EXT_coordinate_frame", Version = "1.1", EntryPoint = "glTangentPointerEXT")] + public static + void TangentPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, [InAttribute, OutAttribute] ref T2 pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glTangentPointerEXT((OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + pointer = (T2)pointer_ptr.Target; + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_texture_buffer_object] + /// Attach the storage for a buffer object to the active buffer texture + /// + /// + /// + /// Specifies the target of the operation and must be GL_TEXTURE_BUFFER. + /// + /// + /// + /// + /// Specifies the internal format of the data in the store belonging to buffer. + /// + /// + /// + /// + /// Specifies the name of the buffer object whose storage to attach to the active buffer texture. + /// + /// + [AutoGenerated(Category = "EXT_texture_buffer_object", Version = "2.0", EntryPoint = "glTexBufferEXT")] + public static + void TexBuffer(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.ExtTextureBufferObject internalformat, Int32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexBufferEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.ExtTextureBufferObject)internalformat, (UInt32)buffer); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_texture_buffer_object] + /// Attach the storage for a buffer object to the active buffer texture + /// + /// + /// + /// Specifies the target of the operation and must be GL_TEXTURE_BUFFER. + /// + /// + /// + /// + /// Specifies the internal format of the data in the store belonging to buffer. + /// + /// + /// + /// + /// Specifies the name of the buffer object whose storage to attach to the active buffer texture. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_texture_buffer_object", Version = "2.0", EntryPoint = "glTexBufferEXT")] + public static + void TexBuffer(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.ExtTextureBufferObject internalformat, UInt32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexBufferEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.ExtTextureBufferObject)internalformat, (UInt32)buffer); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_vertex_array] + /// Define an array of texture coordinates + /// + /// + /// + /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "EXT_vertex_array", Version = "1.0", EntryPoint = "glTexCoordPointerEXT")] + public static + void TexCoordPointer(Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, Int32 count, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoordPointerEXT((Int32)size, (OpenTK.Graphics.OpenGL.TexCoordPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_vertex_array] + /// Define an array of texture coordinates + /// + /// + /// + /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "EXT_vertex_array", Version = "1.0", EntryPoint = "glTexCoordPointerEXT")] + public static + void TexCoordPointer(Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, Int32 count, [InAttribute, OutAttribute] T4[] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glTexCoordPointerEXT((Int32)size, (OpenTK.Graphics.OpenGL.TexCoordPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_vertex_array] + /// Define an array of texture coordinates + /// + /// + /// + /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "EXT_vertex_array", Version = "1.0", EntryPoint = "glTexCoordPointerEXT")] + public static + void TexCoordPointer(Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, Int32 count, [InAttribute, OutAttribute] T4[,] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glTexCoordPointerEXT((Int32)size, (OpenTK.Graphics.OpenGL.TexCoordPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_vertex_array] + /// Define an array of texture coordinates + /// + /// + /// + /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "EXT_vertex_array", Version = "1.0", EntryPoint = "glTexCoordPointerEXT")] + public static + void TexCoordPointer(Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, Int32 count, [InAttribute, OutAttribute] T4[,,] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glTexCoordPointerEXT((Int32)size, (OpenTK.Graphics.OpenGL.TexCoordPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_vertex_array] + /// Define an array of texture coordinates + /// + /// + /// + /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "EXT_vertex_array", Version = "1.0", EntryPoint = "glTexCoordPointerEXT")] + public static + void TexCoordPointer(Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, Int32 count, [InAttribute, OutAttribute] ref T4 pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glTexCoordPointerEXT((Int32)size, (OpenTK.Graphics.OpenGL.TexCoordPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + pointer = (T4)pointer_ptr.Target; + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_texture3D] + /// Specify a three-dimensional texture image + /// + /// + /// + /// Specifies the target texture. Must be one of GL_TEXTURE_3D, GL_PROXY_TEXTURE_3D, GL_TEXTURE_2D_ARRAY or GL_PROXY_TEXTURE_2D_ARRAY. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level is the n sup th mipmap reduction image. + /// + /// + /// + /// + /// Specifies the number of color components in the texture. Must be one of the following symbolic constants: GL_RGBA32F, GL_RGBA32I, GL_RGBA32UI, GL_RGBA16, GL_RGBA16F, GL_RGBA16I, GL_RGBA16UI, GL_RGBA8, GL_RGBA8UI, GL_SRGB8_ALPHA8, GL_RGB10_A2, GL_RGBA10_A2UI, GL_R11_G11_B10F, GL_RG32F, GL_RG32I, GL_RG32UI, GL_RG16, GL_RG16F, GL_RGB16I, GL_RGB16UI, GL_RG8, GL_RG8I, GL_RG8UI, GL_R23F, GL_R32I, GL_R32UI, GL_R16F, GL_R16I, GL_R16UI, GL_R8, GL_R8I, GL_R8UI, GL_RGBA16_UNORM, GL_RGBA8_SNORM, GL_RGB32F, GL_RGB32I, GL_RGB32UI, GL_RGB16_SNORM, GL_RGB16F, GL_RGB16I, GL_RGB16UI, GL_RGB16, GL_RGB8_SNORM, GL_RGB8, GL_RGB8I, GL_RGB8UI, GL_SRGB8, GL_RGB9_E5, GL_RG16_SNORM, GL_RG8_SNORM, GL_COMPRESSED_RG_RGTC2, GL_COMPRESSED_SIGNED_RG_RGTC2, GL_R16_SNORM, GL_R8_SNORM, GL_COMPRESSED_RED_RGTC1, GL_COMPRESSED_SIGNED_RED_RGTC1, GL_DEPTH_COMPONENT32F, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT16, GL_DEPTH32F_STENCIL8, GL_DEPTH24_STENCIL8. + /// + /// + /// + /// + /// Specifies the width of the texture image. All implementations support 3D texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image. All implementations support 3D texture images that are at least 256 texels high. + /// + /// + /// + /// + /// Specifies the depth of the texture image, or the number of layers in a texture array. All implementations support 3D texture images that are at least 256 texels deep, and texture arrays that are at least 256 layers deep. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "EXT_texture3D", Version = "1.0", EntryPoint = "glTexImage3DEXT")] + public static + void TexImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexImage3DEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_texture3D] + /// Specify a three-dimensional texture image + /// + /// + /// + /// Specifies the target texture. Must be one of GL_TEXTURE_3D, GL_PROXY_TEXTURE_3D, GL_TEXTURE_2D_ARRAY or GL_PROXY_TEXTURE_2D_ARRAY. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level is the n sup th mipmap reduction image. + /// + /// + /// + /// + /// Specifies the number of color components in the texture. Must be one of the following symbolic constants: GL_RGBA32F, GL_RGBA32I, GL_RGBA32UI, GL_RGBA16, GL_RGBA16F, GL_RGBA16I, GL_RGBA16UI, GL_RGBA8, GL_RGBA8UI, GL_SRGB8_ALPHA8, GL_RGB10_A2, GL_RGBA10_A2UI, GL_R11_G11_B10F, GL_RG32F, GL_RG32I, GL_RG32UI, GL_RG16, GL_RG16F, GL_RGB16I, GL_RGB16UI, GL_RG8, GL_RG8I, GL_RG8UI, GL_R23F, GL_R32I, GL_R32UI, GL_R16F, GL_R16I, GL_R16UI, GL_R8, GL_R8I, GL_R8UI, GL_RGBA16_UNORM, GL_RGBA8_SNORM, GL_RGB32F, GL_RGB32I, GL_RGB32UI, GL_RGB16_SNORM, GL_RGB16F, GL_RGB16I, GL_RGB16UI, GL_RGB16, GL_RGB8_SNORM, GL_RGB8, GL_RGB8I, GL_RGB8UI, GL_SRGB8, GL_RGB9_E5, GL_RG16_SNORM, GL_RG8_SNORM, GL_COMPRESSED_RG_RGTC2, GL_COMPRESSED_SIGNED_RG_RGTC2, GL_R16_SNORM, GL_R8_SNORM, GL_COMPRESSED_RED_RGTC1, GL_COMPRESSED_SIGNED_RED_RGTC1, GL_DEPTH_COMPONENT32F, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT16, GL_DEPTH32F_STENCIL8, GL_DEPTH24_STENCIL8. + /// + /// + /// + /// + /// Specifies the width of the texture image. All implementations support 3D texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image. All implementations support 3D texture images that are at least 256 texels high. + /// + /// + /// + /// + /// Specifies the depth of the texture image, or the number of layers in a texture array. All implementations support 3D texture images that are at least 256 texels deep, and texture arrays that are at least 256 layers deep. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "EXT_texture3D", Version = "1.0", EntryPoint = "glTexImage3DEXT")] + public static + void TexImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[] pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexImage3DEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_texture3D] + /// Specify a three-dimensional texture image + /// + /// + /// + /// Specifies the target texture. Must be one of GL_TEXTURE_3D, GL_PROXY_TEXTURE_3D, GL_TEXTURE_2D_ARRAY or GL_PROXY_TEXTURE_2D_ARRAY. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level is the n sup th mipmap reduction image. + /// + /// + /// + /// + /// Specifies the number of color components in the texture. Must be one of the following symbolic constants: GL_RGBA32F, GL_RGBA32I, GL_RGBA32UI, GL_RGBA16, GL_RGBA16F, GL_RGBA16I, GL_RGBA16UI, GL_RGBA8, GL_RGBA8UI, GL_SRGB8_ALPHA8, GL_RGB10_A2, GL_RGBA10_A2UI, GL_R11_G11_B10F, GL_RG32F, GL_RG32I, GL_RG32UI, GL_RG16, GL_RG16F, GL_RGB16I, GL_RGB16UI, GL_RG8, GL_RG8I, GL_RG8UI, GL_R23F, GL_R32I, GL_R32UI, GL_R16F, GL_R16I, GL_R16UI, GL_R8, GL_R8I, GL_R8UI, GL_RGBA16_UNORM, GL_RGBA8_SNORM, GL_RGB32F, GL_RGB32I, GL_RGB32UI, GL_RGB16_SNORM, GL_RGB16F, GL_RGB16I, GL_RGB16UI, GL_RGB16, GL_RGB8_SNORM, GL_RGB8, GL_RGB8I, GL_RGB8UI, GL_SRGB8, GL_RGB9_E5, GL_RG16_SNORM, GL_RG8_SNORM, GL_COMPRESSED_RG_RGTC2, GL_COMPRESSED_SIGNED_RG_RGTC2, GL_R16_SNORM, GL_R8_SNORM, GL_COMPRESSED_RED_RGTC1, GL_COMPRESSED_SIGNED_RED_RGTC1, GL_DEPTH_COMPONENT32F, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT16, GL_DEPTH32F_STENCIL8, GL_DEPTH24_STENCIL8. + /// + /// + /// + /// + /// Specifies the width of the texture image. All implementations support 3D texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image. All implementations support 3D texture images that are at least 256 texels high. + /// + /// + /// + /// + /// Specifies the depth of the texture image, or the number of layers in a texture array. All implementations support 3D texture images that are at least 256 texels deep, and texture arrays that are at least 256 layers deep. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "EXT_texture3D", Version = "1.0", EntryPoint = "glTexImage3DEXT")] + public static + void TexImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[,] pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexImage3DEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_texture3D] + /// Specify a three-dimensional texture image + /// + /// + /// + /// Specifies the target texture. Must be one of GL_TEXTURE_3D, GL_PROXY_TEXTURE_3D, GL_TEXTURE_2D_ARRAY or GL_PROXY_TEXTURE_2D_ARRAY. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level is the n sup th mipmap reduction image. + /// + /// + /// + /// + /// Specifies the number of color components in the texture. Must be one of the following symbolic constants: GL_RGBA32F, GL_RGBA32I, GL_RGBA32UI, GL_RGBA16, GL_RGBA16F, GL_RGBA16I, GL_RGBA16UI, GL_RGBA8, GL_RGBA8UI, GL_SRGB8_ALPHA8, GL_RGB10_A2, GL_RGBA10_A2UI, GL_R11_G11_B10F, GL_RG32F, GL_RG32I, GL_RG32UI, GL_RG16, GL_RG16F, GL_RGB16I, GL_RGB16UI, GL_RG8, GL_RG8I, GL_RG8UI, GL_R23F, GL_R32I, GL_R32UI, GL_R16F, GL_R16I, GL_R16UI, GL_R8, GL_R8I, GL_R8UI, GL_RGBA16_UNORM, GL_RGBA8_SNORM, GL_RGB32F, GL_RGB32I, GL_RGB32UI, GL_RGB16_SNORM, GL_RGB16F, GL_RGB16I, GL_RGB16UI, GL_RGB16, GL_RGB8_SNORM, GL_RGB8, GL_RGB8I, GL_RGB8UI, GL_SRGB8, GL_RGB9_E5, GL_RG16_SNORM, GL_RG8_SNORM, GL_COMPRESSED_RG_RGTC2, GL_COMPRESSED_SIGNED_RG_RGTC2, GL_R16_SNORM, GL_R8_SNORM, GL_COMPRESSED_RED_RGTC1, GL_COMPRESSED_SIGNED_RED_RGTC1, GL_DEPTH_COMPONENT32F, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT16, GL_DEPTH32F_STENCIL8, GL_DEPTH24_STENCIL8. + /// + /// + /// + /// + /// Specifies the width of the texture image. All implementations support 3D texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image. All implementations support 3D texture images that are at least 256 texels high. + /// + /// + /// + /// + /// Specifies the depth of the texture image, or the number of layers in a texture array. All implementations support 3D texture images that are at least 256 texels deep, and texture arrays that are at least 256 layers deep. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "EXT_texture3D", Version = "1.0", EntryPoint = "glTexImage3DEXT")] + public static + void TexImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[,,] pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexImage3DEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_texture3D] + /// Specify a three-dimensional texture image + /// + /// + /// + /// Specifies the target texture. Must be one of GL_TEXTURE_3D, GL_PROXY_TEXTURE_3D, GL_TEXTURE_2D_ARRAY or GL_PROXY_TEXTURE_2D_ARRAY. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level is the n sup th mipmap reduction image. + /// + /// + /// + /// + /// Specifies the number of color components in the texture. Must be one of the following symbolic constants: GL_RGBA32F, GL_RGBA32I, GL_RGBA32UI, GL_RGBA16, GL_RGBA16F, GL_RGBA16I, GL_RGBA16UI, GL_RGBA8, GL_RGBA8UI, GL_SRGB8_ALPHA8, GL_RGB10_A2, GL_RGBA10_A2UI, GL_R11_G11_B10F, GL_RG32F, GL_RG32I, GL_RG32UI, GL_RG16, GL_RG16F, GL_RGB16I, GL_RGB16UI, GL_RG8, GL_RG8I, GL_RG8UI, GL_R23F, GL_R32I, GL_R32UI, GL_R16F, GL_R16I, GL_R16UI, GL_R8, GL_R8I, GL_R8UI, GL_RGBA16_UNORM, GL_RGBA8_SNORM, GL_RGB32F, GL_RGB32I, GL_RGB32UI, GL_RGB16_SNORM, GL_RGB16F, GL_RGB16I, GL_RGB16UI, GL_RGB16, GL_RGB8_SNORM, GL_RGB8, GL_RGB8I, GL_RGB8UI, GL_SRGB8, GL_RGB9_E5, GL_RG16_SNORM, GL_RG8_SNORM, GL_COMPRESSED_RG_RGTC2, GL_COMPRESSED_SIGNED_RG_RGTC2, GL_R16_SNORM, GL_R8_SNORM, GL_COMPRESSED_RED_RGTC1, GL_COMPRESSED_SIGNED_RED_RGTC1, GL_DEPTH_COMPONENT32F, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT16, GL_DEPTH32F_STENCIL8, GL_DEPTH24_STENCIL8. + /// + /// + /// + /// + /// Specifies the width of the texture image. All implementations support 3D texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image. All implementations support 3D texture images that are at least 256 texels high. + /// + /// + /// + /// + /// Specifies the depth of the texture image, or the number of layers in a texture array. All implementations support 3D texture images that are at least 256 texels deep, and texture arrays that are at least 256 layers deep. + /// + /// + /// + /// + /// This value must be 0. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "EXT_texture3D", Version = "1.0", EntryPoint = "glTexImage3DEXT")] + public static + void TexImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T9 pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexImage3DEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + pixels = (T9)pixels_ptr.Target; + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_texture_integer] + [AutoGenerated(Category = "EXT_texture_integer", Version = "2.0", EntryPoint = "glTexParameterIivEXT")] + public static + void TexParameterI(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glTexParameterIivEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_texture_integer] + [AutoGenerated(Category = "EXT_texture_integer", Version = "2.0", EntryPoint = "glTexParameterIivEXT")] + public static + void TexParameterI(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, ref Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glTexParameterIivEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_texture_integer] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_texture_integer", Version = "2.0", EntryPoint = "glTexParameterIivEXT")] + public static + unsafe void TexParameterI(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexParameterIivEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_texture_integer] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_texture_integer", Version = "2.0", EntryPoint = "glTexParameterIuivEXT")] + public static + void TexParameterI(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, UInt32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = @params) + { + Delegates.glTexParameterIuivEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_texture_integer] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_texture_integer", Version = "2.0", EntryPoint = "glTexParameterIuivEXT")] + public static + void TexParameterI(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, ref UInt32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = &@params) + { + Delegates.glTexParameterIuivEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_texture_integer] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_texture_integer", Version = "2.0", EntryPoint = "glTexParameterIuivEXT")] + public static + unsafe void TexParameterI(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, UInt32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexParameterIuivEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (UInt32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_subtexture] + /// Specify a one-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "EXT_subtexture", Version = "1.0", EntryPoint = "glTexSubImage1DEXT")] + public static + void TexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexSubImage1DEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_subtexture] + /// Specify a one-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "EXT_subtexture", Version = "1.0", EntryPoint = "glTexSubImage1DEXT")] + public static + void TexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[] pixels) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage1DEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_subtexture] + /// Specify a one-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "EXT_subtexture", Version = "1.0", EntryPoint = "glTexSubImage1DEXT")] + public static + void TexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[,] pixels) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage1DEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_subtexture] + /// Specify a one-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "EXT_subtexture", Version = "1.0", EntryPoint = "glTexSubImage1DEXT")] + public static + void TexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[,,] pixels) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage1DEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_subtexture] + /// Specify a one-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "EXT_subtexture", Version = "1.0", EntryPoint = "glTexSubImage1DEXT")] + public static + void TexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T6 pixels) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage1DEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + pixels = (T6)pixels_ptr.Target; + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_subtexture] + /// Specify a two-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "EXT_subtexture", Version = "1.0", EntryPoint = "glTexSubImage2DEXT")] + public static + void TexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexSubImage2DEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_subtexture] + /// Specify a two-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "EXT_subtexture", Version = "1.0", EntryPoint = "glTexSubImage2DEXT")] + public static + void TexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T8[] pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage2DEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_subtexture] + /// Specify a two-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "EXT_subtexture", Version = "1.0", EntryPoint = "glTexSubImage2DEXT")] + public static + void TexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T8[,] pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage2DEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_subtexture] + /// Specify a two-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "EXT_subtexture", Version = "1.0", EntryPoint = "glTexSubImage2DEXT")] + public static + void TexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T8[,,] pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage2DEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_subtexture] + /// Specify a two-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "EXT_subtexture", Version = "1.0", EntryPoint = "glTexSubImage2DEXT")] + public static + void TexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T8 pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage2DEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + pixels = (T8)pixels_ptr.Target; + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_texture3D] + /// Specify a three-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the z direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the depth of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "EXT_texture3D", Version = "1.0", EntryPoint = "glTexSubImage3DEXT")] + public static + void TexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexSubImage3DEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_texture3D] + /// Specify a three-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the z direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the depth of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "EXT_texture3D", Version = "1.0", EntryPoint = "glTexSubImage3DEXT")] + public static + void TexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[] pixels) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage3DEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_texture3D] + /// Specify a three-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the z direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the depth of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "EXT_texture3D", Version = "1.0", EntryPoint = "glTexSubImage3DEXT")] + public static + void TexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[,] pixels) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage3DEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_texture3D] + /// Specify a three-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the z direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the depth of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "EXT_texture3D", Version = "1.0", EntryPoint = "glTexSubImage3DEXT")] + public static + void TexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[,,] pixels) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage3DEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_texture3D] + /// Specify a three-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the z direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the depth of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "EXT_texture3D", Version = "1.0", EntryPoint = "glTexSubImage3DEXT")] + public static + void TexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T10 pixels) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage3DEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + pixels = (T10)pixels_ptr.Target; + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureBufferEXT")] + public static + void TextureBuffer(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureBufferEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (UInt32)buffer); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureBufferEXT")] + public static + void TextureBuffer(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, UInt32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureBufferEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (UInt32)buffer); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage1DEXT")] + public static + void TextureImage1D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage1DEXT")] + public static + void TextureImage1D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T8[] pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage1DEXT")] + public static + void TextureImage1D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T8[,] pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage1DEXT")] + public static + void TextureImage1D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T8[,,] pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage1DEXT")] + public static + void TextureImage1D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T8 pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + pixels = (T8)pixels_ptr.Target; + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage1DEXT")] + public static + void TextureImage1D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage1DEXT")] + public static + void TextureImage1D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T8[] pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage1DEXT")] + public static + void TextureImage1D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T8[,] pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage1DEXT")] + public static + void TextureImage1D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T8[,,] pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage1DEXT")] + public static + void TextureImage1D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T8 pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + pixels = (T8)pixels_ptr.Target; + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage2DEXT")] + public static + void TextureImage2D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage2DEXT")] + public static + void TextureImage2D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[] pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage2DEXT")] + public static + void TextureImage2D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[,] pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage2DEXT")] + public static + void TextureImage2D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[,,] pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage2DEXT")] + public static + void TextureImage2D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T9 pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + pixels = (T9)pixels_ptr.Target; + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage2DEXT")] + public static + void TextureImage2D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage2DEXT")] + public static + void TextureImage2D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[] pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage2DEXT")] + public static + void TextureImage2D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[,] pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage2DEXT")] + public static + void TextureImage2D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[,,] pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage2DEXT")] + public static + void TextureImage2D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T9 pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + pixels = (T9)pixels_ptr.Target; + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage3DEXT")] + public static + void TextureImage3D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage3DEXT")] + public static + void TextureImage3D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[] pixels) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage3DEXT")] + public static + void TextureImage3D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[,] pixels) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage3DEXT")] + public static + void TextureImage3D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[,,] pixels) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage3DEXT")] + public static + void TextureImage3D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T10 pixels) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + pixels = (T10)pixels_ptr.Target; + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage3DEXT")] + public static + void TextureImage3D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage3DEXT")] + public static + void TextureImage3D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[] pixels) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage3DEXT")] + public static + void TextureImage3D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[,] pixels) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage3DEXT")] + public static + void TextureImage3D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[,,] pixels) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage3DEXT")] + public static + void TextureImage3D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T10 pixels) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + pixels = (T10)pixels_ptr.Target; + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_light_texture] + [AutoGenerated(Category = "EXT_light_texture", Version = "1.1", EntryPoint = "glTextureLightEXT")] + public static + void TextureLight(OpenTK.Graphics.OpenGL.ExtLightTexture pname) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureLightEXT((OpenTK.Graphics.OpenGL.ExtLightTexture)pname); + #if DEBUG + } + #endif + } + + /// [requires: EXT_light_texture] + [AutoGenerated(Category = "EXT_light_texture", Version = "1.1", EntryPoint = "glTextureMaterialEXT")] + public static + void TextureMaterial(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureMaterialEXT((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)mode); + #if DEBUG + } + #endif + } + + /// [requires: EXT_texture_perturb_normal] + [AutoGenerated(Category = "EXT_texture_perturb_normal", Version = "1.1", EntryPoint = "glTextureNormalEXT")] + public static + void TextureNormal(OpenTK.Graphics.OpenGL.ExtTexturePerturbNormal mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureNormalEXT((OpenTK.Graphics.OpenGL.ExtTexturePerturbNormal)mode); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureParameterfEXT")] + public static + void TextureParameter(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureParameterfEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Single)param); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureParameterfEXT")] + public static + void TextureParameter(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureParameterfEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Single)param); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureParameterfvEXT")] + public static + void TextureParameter(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glTextureParameterfvEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureParameterfvEXT")] + public static + unsafe void TextureParameter(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureParameterfvEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureParameterfvEXT")] + public static + void TextureParameter(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glTextureParameterfvEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureParameterfvEXT")] + public static + unsafe void TextureParameter(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureParameterfvEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureParameteriEXT")] + public static + void TextureParameter(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureParameteriEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Int32)param); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureParameteriEXT")] + public static + void TextureParameter(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureParameteriEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Int32)param); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureParameterIivEXT")] + public static + void TextureParameterI(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glTextureParameterIivEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureParameterIivEXT")] + public static + void TextureParameterI(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, ref Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glTextureParameterIivEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureParameterIivEXT")] + public static + unsafe void TextureParameterI(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureParameterIivEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureParameterIivEXT")] + public static + void TextureParameterI(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glTextureParameterIivEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureParameterIivEXT")] + public static + void TextureParameterI(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, ref Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glTextureParameterIivEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureParameterIivEXT")] + public static + unsafe void TextureParameterI(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureParameterIivEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureParameterIuivEXT")] + public static + void TextureParameterI(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, UInt32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = @params) + { + Delegates.glTextureParameterIuivEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureParameterIuivEXT")] + public static + void TextureParameterI(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, ref UInt32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = &@params) + { + Delegates.glTextureParameterIuivEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureParameterIuivEXT")] + public static + unsafe void TextureParameterI(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, UInt32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureParameterIuivEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (UInt32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureParameterivEXT")] + public static + void TextureParameter(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glTextureParameterivEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureParameterivEXT")] + public static + unsafe void TextureParameter(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureParameterivEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureParameterivEXT")] + public static + void TextureParameter(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glTextureParameterivEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureParameterivEXT")] + public static + unsafe void TextureParameter(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureParameterivEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureRenderbufferEXT")] + public static + void TextureRenderbuffer(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 renderbuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureRenderbufferEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (UInt32)renderbuffer); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureRenderbufferEXT")] + public static + void TextureRenderbuffer(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, UInt32 renderbuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureRenderbufferEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (UInt32)renderbuffer); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureSubImage1DEXT")] + public static + void TextureSubImage1D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureSubImage1DEXT")] + public static + void TextureSubImage1D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T7[] pixels) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureSubImage1DEXT")] + public static + void TextureSubImage1D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T7[,] pixels) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureSubImage1DEXT")] + public static + void TextureSubImage1D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T7[,,] pixels) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureSubImage1DEXT")] + public static + void TextureSubImage1D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T7 pixels) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + pixels = (T7)pixels_ptr.Target; + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureSubImage1DEXT")] + public static + void TextureSubImage1D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureSubImage1DEXT")] + public static + void TextureSubImage1D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T7[] pixels) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureSubImage1DEXT")] + public static + void TextureSubImage1D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T7[,] pixels) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureSubImage1DEXT")] + public static + void TextureSubImage1D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T7[,,] pixels) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureSubImage1DEXT")] + public static + void TextureSubImage1D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T7 pixels) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + pixels = (T7)pixels_ptr.Target; + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureSubImage2DEXT")] + public static + void TextureSubImage2D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureSubImage2DEXT")] + public static + void TextureSubImage2D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[] pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureSubImage2DEXT")] + public static + void TextureSubImage2D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[,] pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureSubImage2DEXT")] + public static + void TextureSubImage2D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[,,] pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureSubImage2DEXT")] + public static + void TextureSubImage2D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T9 pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + pixels = (T9)pixels_ptr.Target; + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureSubImage2DEXT")] + public static + void TextureSubImage2D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureSubImage2DEXT")] + public static + void TextureSubImage2D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[] pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureSubImage2DEXT")] + public static + void TextureSubImage2D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[,] pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureSubImage2DEXT")] + public static + void TextureSubImage2D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[,,] pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureSubImage2DEXT")] + public static + void TextureSubImage2D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T9 pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + pixels = (T9)pixels_ptr.Target; + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureSubImage3DEXT")] + public static + void TextureSubImage3D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureSubImage3DEXT")] + public static + void TextureSubImage3D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T11[] pixels) + where T11 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureSubImage3DEXT")] + public static + void TextureSubImage3D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T11[,] pixels) + where T11 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureSubImage3DEXT")] + public static + void TextureSubImage3D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T11[,,] pixels) + where T11 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureSubImage3DEXT")] + public static + void TextureSubImage3D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T11 pixels) + where T11 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + pixels = (T11)pixels_ptr.Target; + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureSubImage3DEXT")] + public static + void TextureSubImage3D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureSubImage3DEXT")] + public static + void TextureSubImage3D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T11[] pixels) + where T11 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureSubImage3DEXT")] + public static + void TextureSubImage3D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T11[,] pixels) + where T11 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureSubImage3DEXT")] + public static + void TextureSubImage3D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T11[,,] pixels) + where T11 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureSubImage3DEXT")] + public static + void TextureSubImage3D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T11 pixels) + where T11 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + pixels = (T11)pixels_ptr.Target; + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_transform_feedback] + /// Specify values to record in transform feedback buffers + /// + /// + /// + /// The name of the target program object. + /// + /// + /// + /// + /// The number of varying variables used for transform feedback. + /// + /// + /// + /// + /// An array of count zero-terminated strings specifying the names of the varying variables to use for transform feedback. + /// + /// + /// + /// + /// Identifies the mode used to capture the varying variables when transform feedback is active. bufferMode must be GL_INTERLEAVED_ATTRIBS or GL_SEPARATE_ATTRIBS. + /// + /// + [AutoGenerated(Category = "EXT_transform_feedback", Version = "2.0", EntryPoint = "glTransformFeedbackVaryingsEXT")] + public static + void TransformFeedbackVaryings(Int32 program, Int32 count, String[] varyings, OpenTK.Graphics.OpenGL.ExtTransformFeedback bufferMode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTransformFeedbackVaryingsEXT((UInt32)program, (Int32)count, (String[])varyings, (OpenTK.Graphics.OpenGL.ExtTransformFeedback)bufferMode); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_transform_feedback] + /// Specify values to record in transform feedback buffers + /// + /// + /// + /// The name of the target program object. + /// + /// + /// + /// + /// The number of varying variables used for transform feedback. + /// + /// + /// + /// + /// An array of count zero-terminated strings specifying the names of the varying variables to use for transform feedback. + /// + /// + /// + /// + /// Identifies the mode used to capture the varying variables when transform feedback is active. bufferMode must be GL_INTERLEAVED_ATTRIBS or GL_SEPARATE_ATTRIBS. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_transform_feedback", Version = "2.0", EntryPoint = "glTransformFeedbackVaryingsEXT")] + public static + void TransformFeedbackVaryings(UInt32 program, Int32 count, String[] varyings, OpenTK.Graphics.OpenGL.ExtTransformFeedback bufferMode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTransformFeedbackVaryingsEXT((UInt32)program, (Int32)count, (String[])varyings, (OpenTK.Graphics.OpenGL.ExtTransformFeedback)bufferMode); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_gpu_shader4] + /// 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 = "EXT_gpu_shader4", Version = "2.0", EntryPoint = "glUniform1uiEXT")] + public static + void Uniform1(Int32 location, Int32 v0) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform1uiEXT((Int32)location, (UInt32)v0); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_gpu_shader4] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_gpu_shader4", Version = "2.0", EntryPoint = "glUniform1uiEXT")] + public static + void Uniform1(Int32 location, UInt32 v0) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform1uiEXT((Int32)location, (UInt32)v0); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_gpu_shader4] + /// 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 = "EXT_gpu_shader4", Version = "2.0", EntryPoint = "glUniform1uivEXT")] + public static + void Uniform1(Int32 location, Int32 count, Int32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = value) + { + Delegates.glUniform1uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_gpu_shader4] + /// 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 = "EXT_gpu_shader4", Version = "2.0", EntryPoint = "glUniform1uivEXT")] + public static + void Uniform1(Int32 location, Int32 count, ref Int32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = &value) + { + Delegates.glUniform1uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_gpu_shader4] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_gpu_shader4", Version = "2.0", EntryPoint = "glUniform1uivEXT")] + public static + unsafe void Uniform1(Int32 location, Int32 count, Int32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform1uivEXT((Int32)location, (Int32)count, (UInt32*)value); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_gpu_shader4] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_gpu_shader4", Version = "2.0", EntryPoint = "glUniform1uivEXT")] + public static + void Uniform1(Int32 location, Int32 count, UInt32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* value_ptr = value) + { + Delegates.glUniform1uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_gpu_shader4] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_gpu_shader4", Version = "2.0", EntryPoint = "glUniform1uivEXT")] + public static + void Uniform1(Int32 location, Int32 count, ref UInt32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* value_ptr = &value) + { + Delegates.glUniform1uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_gpu_shader4] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_gpu_shader4", Version = "2.0", EntryPoint = "glUniform1uivEXT")] + public static + unsafe void Uniform1(Int32 location, Int32 count, UInt32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform1uivEXT((Int32)location, (Int32)count, (UInt32*)value); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_gpu_shader4] + /// 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 = "EXT_gpu_shader4", Version = "2.0", EntryPoint = "glUniform2uiEXT")] + public static + void Uniform2(Int32 location, Int32 v0, Int32 v1) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform2uiEXT((Int32)location, (UInt32)v0, (UInt32)v1); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_gpu_shader4] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_gpu_shader4", Version = "2.0", EntryPoint = "glUniform2uiEXT")] + public static + void Uniform2(Int32 location, UInt32 v0, UInt32 v1) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform2uiEXT((Int32)location, (UInt32)v0, (UInt32)v1); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_gpu_shader4] + /// 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 = "EXT_gpu_shader4", Version = "2.0", EntryPoint = "glUniform2uivEXT")] + public static + void Uniform2(Int32 location, Int32 count, Int32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = value) + { + Delegates.glUniform2uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_gpu_shader4] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_gpu_shader4", Version = "2.0", EntryPoint = "glUniform2uivEXT")] + public static + unsafe void Uniform2(Int32 location, Int32 count, Int32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform2uivEXT((Int32)location, (Int32)count, (UInt32*)value); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_gpu_shader4] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_gpu_shader4", Version = "2.0", EntryPoint = "glUniform2uivEXT")] + public static + void Uniform2(Int32 location, Int32 count, UInt32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* value_ptr = value) + { + Delegates.glUniform2uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_gpu_shader4] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_gpu_shader4", Version = "2.0", EntryPoint = "glUniform2uivEXT")] + public static + void Uniform2(Int32 location, Int32 count, ref UInt32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* value_ptr = &value) + { + Delegates.glUniform2uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_gpu_shader4] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_gpu_shader4", Version = "2.0", EntryPoint = "glUniform2uivEXT")] + public static + unsafe void Uniform2(Int32 location, Int32 count, UInt32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform2uivEXT((Int32)location, (Int32)count, (UInt32*)value); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_gpu_shader4] + /// 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 = "EXT_gpu_shader4", Version = "2.0", EntryPoint = "glUniform3uiEXT")] + public static + void Uniform3(Int32 location, Int32 v0, Int32 v1, Int32 v2) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform3uiEXT((Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_gpu_shader4] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_gpu_shader4", Version = "2.0", EntryPoint = "glUniform3uiEXT")] + public static + void Uniform3(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform3uiEXT((Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_gpu_shader4] + /// 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 = "EXT_gpu_shader4", Version = "2.0", EntryPoint = "glUniform3uivEXT")] + public static + void Uniform3(Int32 location, Int32 count, Int32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = value) + { + Delegates.glUniform3uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_gpu_shader4] + /// 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 = "EXT_gpu_shader4", Version = "2.0", EntryPoint = "glUniform3uivEXT")] + public static + void Uniform3(Int32 location, Int32 count, ref Int32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = &value) + { + Delegates.glUniform3uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_gpu_shader4] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_gpu_shader4", Version = "2.0", EntryPoint = "glUniform3uivEXT")] + public static + unsafe void Uniform3(Int32 location, Int32 count, Int32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform3uivEXT((Int32)location, (Int32)count, (UInt32*)value); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_gpu_shader4] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_gpu_shader4", Version = "2.0", EntryPoint = "glUniform3uivEXT")] + public static + void Uniform3(Int32 location, Int32 count, UInt32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* value_ptr = value) + { + Delegates.glUniform3uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_gpu_shader4] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_gpu_shader4", Version = "2.0", EntryPoint = "glUniform3uivEXT")] + public static + void Uniform3(Int32 location, Int32 count, ref UInt32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* value_ptr = &value) + { + Delegates.glUniform3uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_gpu_shader4] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_gpu_shader4", Version = "2.0", EntryPoint = "glUniform3uivEXT")] + public static + unsafe void Uniform3(Int32 location, Int32 count, UInt32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform3uivEXT((Int32)location, (Int32)count, (UInt32*)value); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_gpu_shader4] + /// 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 = "EXT_gpu_shader4", Version = "2.0", EntryPoint = "glUniform4uiEXT")] + public static + void Uniform4(Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform4uiEXT((Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2, (UInt32)v3); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_gpu_shader4] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_gpu_shader4", Version = "2.0", EntryPoint = "glUniform4uiEXT")] + public static + void Uniform4(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform4uiEXT((Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2, (UInt32)v3); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_gpu_shader4] + /// 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 = "EXT_gpu_shader4", Version = "2.0", EntryPoint = "glUniform4uivEXT")] + public static + void Uniform4(Int32 location, Int32 count, Int32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = value) + { + Delegates.glUniform4uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_gpu_shader4] + /// 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 = "EXT_gpu_shader4", Version = "2.0", EntryPoint = "glUniform4uivEXT")] + public static + void Uniform4(Int32 location, Int32 count, ref Int32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = &value) + { + Delegates.glUniform4uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_gpu_shader4] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_gpu_shader4", Version = "2.0", EntryPoint = "glUniform4uivEXT")] + public static + unsafe void Uniform4(Int32 location, Int32 count, Int32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform4uivEXT((Int32)location, (Int32)count, (UInt32*)value); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_gpu_shader4] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_gpu_shader4", Version = "2.0", EntryPoint = "glUniform4uivEXT")] + public static + void Uniform4(Int32 location, Int32 count, UInt32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* value_ptr = value) + { + Delegates.glUniform4uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_gpu_shader4] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_gpu_shader4", Version = "2.0", EntryPoint = "glUniform4uivEXT")] + public static + void Uniform4(Int32 location, Int32 count, ref UInt32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* value_ptr = &value) + { + Delegates.glUniform4uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_gpu_shader4] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_gpu_shader4", Version = "2.0", EntryPoint = "glUniform4uivEXT")] + public static + unsafe void Uniform4(Int32 location, Int32 count, UInt32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform4uivEXT((Int32)location, (Int32)count, (UInt32*)value); + #if DEBUG + } + #endif + } + + /// [requires: EXT_bindable_uniform] + [AutoGenerated(Category = "EXT_bindable_uniform", Version = "2.0", EntryPoint = "glUniformBufferEXT")] + public static + void UniformBuffer(Int32 program, Int32 location, Int32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniformBufferEXT((UInt32)program, (Int32)location, (UInt32)buffer); + #if DEBUG + } + #endif + } + + /// [requires: EXT_bindable_uniform] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_bindable_uniform", Version = "2.0", EntryPoint = "glUniformBufferEXT")] + public static + void UniformBuffer(UInt32 program, Int32 location, UInt32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniformBufferEXT((UInt32)program, (Int32)location, (UInt32)buffer); + #if DEBUG + } + #endif + } + + /// [requires: EXT_compiled_vertex_array] + [AutoGenerated(Category = "EXT_compiled_vertex_array", Version = "1.1", EntryPoint = "glUnlockArraysEXT")] + public static + void UnlockArrays() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUnlockArraysEXT(); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glUnmapNamedBufferEXT")] + public static + bool UnmapNamedBuffer(Int32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glUnmapNamedBufferEXT((UInt32)buffer); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glUnmapNamedBufferEXT")] + public static + bool UnmapNamedBuffer(UInt32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glUnmapNamedBufferEXT((UInt32)buffer); + #if DEBUG + } + #endif + } + + /// [requires: EXT_separate_shader_objects] + [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "1.2", EntryPoint = "glUseShaderProgramEXT")] + public static + void UseShaderProgram(OpenTK.Graphics.OpenGL.ExtSeparateShaderObjects type, Int32 program) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUseShaderProgramEXT((OpenTK.Graphics.OpenGL.ExtSeparateShaderObjects)type, (UInt32)program); + #if DEBUG + } + #endif + } + + /// [requires: EXT_separate_shader_objects] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "1.2", EntryPoint = "glUseShaderProgramEXT")] + public static + void UseShaderProgram(OpenTK.Graphics.OpenGL.ExtSeparateShaderObjects type, UInt32 program) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUseShaderProgramEXT((OpenTK.Graphics.OpenGL.ExtSeparateShaderObjects)type, (UInt32)program); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glVariantbvEXT")] + public static + void Variant(UInt32 id, SByte[] addr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (SByte* addr_ptr = addr) + { + Delegates.glVariantbvEXT((UInt32)id, (SByte*)addr_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glVariantbvEXT")] + public static + void Variant(UInt32 id, ref SByte addr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (SByte* addr_ptr = &addr) + { + Delegates.glVariantbvEXT((UInt32)id, (SByte*)addr_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glVariantbvEXT")] + public static + unsafe void Variant(UInt32 id, SByte* addr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVariantbvEXT((UInt32)id, (SByte*)addr); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glVariantdvEXT")] + public static + void Variant(Int32 id, Double[] addr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* addr_ptr = addr) + { + Delegates.glVariantdvEXT((UInt32)id, (Double*)addr_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glVariantdvEXT")] + public static + void Variant(Int32 id, ref Double addr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* addr_ptr = &addr) + { + Delegates.glVariantdvEXT((UInt32)id, (Double*)addr_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glVariantdvEXT")] + public static + unsafe void Variant(Int32 id, Double* addr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVariantdvEXT((UInt32)id, (Double*)addr); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glVariantdvEXT")] + public static + void Variant(UInt32 id, Double[] addr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* addr_ptr = addr) + { + Delegates.glVariantdvEXT((UInt32)id, (Double*)addr_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glVariantdvEXT")] + public static + void Variant(UInt32 id, ref Double addr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* addr_ptr = &addr) + { + Delegates.glVariantdvEXT((UInt32)id, (Double*)addr_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glVariantdvEXT")] + public static + unsafe void Variant(UInt32 id, Double* addr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVariantdvEXT((UInt32)id, (Double*)addr); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glVariantfvEXT")] + public static + void Variant(Int32 id, Single[] addr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* addr_ptr = addr) + { + Delegates.glVariantfvEXT((UInt32)id, (Single*)addr_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glVariantfvEXT")] + public static + void Variant(Int32 id, ref Single addr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* addr_ptr = &addr) + { + Delegates.glVariantfvEXT((UInt32)id, (Single*)addr_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glVariantfvEXT")] + public static + unsafe void Variant(Int32 id, Single* addr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVariantfvEXT((UInt32)id, (Single*)addr); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glVariantfvEXT")] + public static + void Variant(UInt32 id, Single[] addr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* addr_ptr = addr) + { + Delegates.glVariantfvEXT((UInt32)id, (Single*)addr_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glVariantfvEXT")] + public static + void Variant(UInt32 id, ref Single addr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* addr_ptr = &addr) + { + Delegates.glVariantfvEXT((UInt32)id, (Single*)addr_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glVariantfvEXT")] + public static + unsafe void Variant(UInt32 id, Single* addr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVariantfvEXT((UInt32)id, (Single*)addr); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glVariantivEXT")] + public static + void Variant(Int32 id, Int32[] addr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* addr_ptr = addr) + { + Delegates.glVariantivEXT((UInt32)id, (Int32*)addr_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glVariantivEXT")] + public static + void Variant(Int32 id, ref Int32 addr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* addr_ptr = &addr) + { + Delegates.glVariantivEXT((UInt32)id, (Int32*)addr_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glVariantivEXT")] + public static + unsafe void Variant(Int32 id, Int32* addr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVariantivEXT((UInt32)id, (Int32*)addr); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glVariantivEXT")] + public static + void Variant(UInt32 id, Int32[] addr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* addr_ptr = addr) + { + Delegates.glVariantivEXT((UInt32)id, (Int32*)addr_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glVariantivEXT")] + public static + void Variant(UInt32 id, ref Int32 addr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* addr_ptr = &addr) + { + Delegates.glVariantivEXT((UInt32)id, (Int32*)addr_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glVariantivEXT")] + public static + unsafe void Variant(UInt32 id, Int32* addr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVariantivEXT((UInt32)id, (Int32*)addr); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glVariantPointerEXT")] + public static + void VariantPointer(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, Int32 stride, IntPtr addr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVariantPointerEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (UInt32)stride, (IntPtr)addr); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glVariantPointerEXT")] + public static + void VariantPointer(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, Int32 stride, [InAttribute, OutAttribute] T3[] addr) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); + try + { + Delegates.glVariantPointerEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (UInt32)stride, (IntPtr)addr_ptr.AddrOfPinnedObject()); + } + finally + { + addr_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glVariantPointerEXT")] + public static + void VariantPointer(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, Int32 stride, [InAttribute, OutAttribute] T3[,] addr) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); + try + { + Delegates.glVariantPointerEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (UInt32)stride, (IntPtr)addr_ptr.AddrOfPinnedObject()); + } + finally + { + addr_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glVariantPointerEXT")] + public static + void VariantPointer(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, Int32 stride, [InAttribute, OutAttribute] T3[,,] addr) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); + try + { + Delegates.glVariantPointerEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (UInt32)stride, (IntPtr)addr_ptr.AddrOfPinnedObject()); + } + finally + { + addr_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glVariantPointerEXT")] + public static + void VariantPointer(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, Int32 stride, [InAttribute, OutAttribute] ref T3 addr) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); + try + { + Delegates.glVariantPointerEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (UInt32)stride, (IntPtr)addr_ptr.AddrOfPinnedObject()); + addr = (T3)addr_ptr.Target; + } + finally + { + addr_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glVariantPointerEXT")] + public static + void VariantPointer(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, UInt32 stride, IntPtr addr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVariantPointerEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (UInt32)stride, (IntPtr)addr); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glVariantPointerEXT")] + public static + void VariantPointer(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, UInt32 stride, [InAttribute, OutAttribute] T3[] addr) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); + try + { + Delegates.glVariantPointerEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (UInt32)stride, (IntPtr)addr_ptr.AddrOfPinnedObject()); + } + finally + { + addr_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glVariantPointerEXT")] + public static + void VariantPointer(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, UInt32 stride, [InAttribute, OutAttribute] T3[,] addr) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); + try + { + Delegates.glVariantPointerEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (UInt32)stride, (IntPtr)addr_ptr.AddrOfPinnedObject()); + } + finally + { + addr_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glVariantPointerEXT")] + public static + void VariantPointer(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, UInt32 stride, [InAttribute, OutAttribute] T3[,,] addr) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); + try + { + Delegates.glVariantPointerEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (UInt32)stride, (IntPtr)addr_ptr.AddrOfPinnedObject()); + } + finally + { + addr_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glVariantPointerEXT")] + public static + void VariantPointer(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, UInt32 stride, [InAttribute, OutAttribute] ref T3 addr) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); + try + { + Delegates.glVariantPointerEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (UInt32)stride, (IntPtr)addr_ptr.AddrOfPinnedObject()); + addr = (T3)addr_ptr.Target; + } + finally + { + addr_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glVariantsvEXT")] + public static + void Variant(Int32 id, Int16[] addr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* addr_ptr = addr) + { + Delegates.glVariantsvEXT((UInt32)id, (Int16*)addr_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glVariantsvEXT")] + public static + void Variant(Int32 id, ref Int16 addr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* addr_ptr = &addr) + { + Delegates.glVariantsvEXT((UInt32)id, (Int16*)addr_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glVariantsvEXT")] + public static + unsafe void Variant(Int32 id, Int16* addr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVariantsvEXT((UInt32)id, (Int16*)addr); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glVariantsvEXT")] + public static + void Variant(UInt32 id, Int16[] addr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* addr_ptr = addr) + { + Delegates.glVariantsvEXT((UInt32)id, (Int16*)addr_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glVariantsvEXT")] + public static + void Variant(UInt32 id, ref Int16 addr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* addr_ptr = &addr) + { + Delegates.glVariantsvEXT((UInt32)id, (Int16*)addr_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glVariantsvEXT")] + public static + unsafe void Variant(UInt32 id, Int16* addr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVariantsvEXT((UInt32)id, (Int16*)addr); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glVariantubvEXT")] + public static + void Variant(Int32 id, Byte[] addr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* addr_ptr = addr) + { + Delegates.glVariantubvEXT((UInt32)id, (Byte*)addr_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glVariantubvEXT")] + public static + void Variant(Int32 id, ref Byte addr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* addr_ptr = &addr) + { + Delegates.glVariantubvEXT((UInt32)id, (Byte*)addr_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glVariantubvEXT")] + public static + unsafe void Variant(Int32 id, Byte* addr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVariantubvEXT((UInt32)id, (Byte*)addr); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glVariantubvEXT")] + public static + void Variant(UInt32 id, Byte[] addr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* addr_ptr = addr) + { + Delegates.glVariantubvEXT((UInt32)id, (Byte*)addr_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glVariantubvEXT")] + public static + void Variant(UInt32 id, ref Byte addr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* addr_ptr = &addr) + { + Delegates.glVariantubvEXT((UInt32)id, (Byte*)addr_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glVariantubvEXT")] + public static + unsafe void Variant(UInt32 id, Byte* addr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVariantubvEXT((UInt32)id, (Byte*)addr); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glVariantuivEXT")] + public static + void Variant(UInt32 id, UInt32[] addr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* addr_ptr = addr) + { + Delegates.glVariantuivEXT((UInt32)id, (UInt32*)addr_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glVariantuivEXT")] + public static + void Variant(UInt32 id, ref UInt32 addr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* addr_ptr = &addr) + { + Delegates.glVariantuivEXT((UInt32)id, (UInt32*)addr_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glVariantuivEXT")] + public static + unsafe void Variant(UInt32 id, UInt32* addr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVariantuivEXT((UInt32)id, (UInt32*)addr); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glVariantusvEXT")] + public static + void Variant(UInt32 id, UInt16[] addr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt16* addr_ptr = addr) + { + Delegates.glVariantusvEXT((UInt32)id, (UInt16*)addr_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glVariantusvEXT")] + public static + void Variant(UInt32 id, ref UInt16 addr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt16* addr_ptr = &addr) + { + Delegates.glVariantusvEXT((UInt32)id, (UInt16*)addr_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glVariantusvEXT")] + public static + unsafe void Variant(UInt32 id, UInt16* addr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVariantusvEXT((UInt32)id, (UInt16*)addr); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_attrib_64bit] + [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexArrayVertexAttribLOffsetEXT")] + public static + void VertexArrayVertexAttribLOffset(Int32 vaobj, Int32 buffer, Int32 index, Int32 size, OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit type, Int32 stride, IntPtr offset) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexArrayVertexAttribLOffsetEXT((UInt32)vaobj, (UInt32)buffer, (UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit)type, (Int32)stride, (IntPtr)offset); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_attrib_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexArrayVertexAttribLOffsetEXT")] + public static + void VertexArrayVertexAttribLOffset(UInt32 vaobj, UInt32 buffer, UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit type, Int32 stride, IntPtr offset) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexArrayVertexAttribLOffsetEXT((UInt32)vaobj, (UInt32)buffer, (UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit)type, (Int32)stride, (IntPtr)offset); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program4] + [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI1iEXT")] + public static + void VertexAttribI1(Int32 index, Int32 x) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI1iEXT((UInt32)index, (Int32)x); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI1iEXT")] + public static + void VertexAttribI1(UInt32 index, Int32 x) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI1iEXT((UInt32)index, (Int32)x); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI1ivEXT")] + public static + unsafe void VertexAttribI1(Int32 index, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI1ivEXT((UInt32)index, (Int32*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI1ivEXT")] + public static + unsafe void VertexAttribI1(UInt32 index, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI1ivEXT((UInt32)index, (Int32*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI1uiEXT")] + public static + void VertexAttribI1(UInt32 index, UInt32 x) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI1uiEXT((UInt32)index, (UInt32)x); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI1uivEXT")] + public static + unsafe void VertexAttribI1(UInt32 index, UInt32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI1uivEXT((UInt32)index, (UInt32*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program4] + [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI2iEXT")] + public static + void VertexAttribI2(Int32 index, Int32 x, Int32 y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI2iEXT((UInt32)index, (Int32)x, (Int32)y); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI2iEXT")] + public static + void VertexAttribI2(UInt32 index, Int32 x, Int32 y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI2iEXT((UInt32)index, (Int32)x, (Int32)y); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program4] + [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI2ivEXT")] + public static + void VertexAttribI2(Int32 index, Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glVertexAttribI2ivEXT((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program4] + [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI2ivEXT")] + public static + void VertexAttribI2(Int32 index, ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glVertexAttribI2ivEXT((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI2ivEXT")] + public static + unsafe void VertexAttribI2(Int32 index, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI2ivEXT((UInt32)index, (Int32*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI2ivEXT")] + public static + void VertexAttribI2(UInt32 index, Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glVertexAttribI2ivEXT((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI2ivEXT")] + public static + void VertexAttribI2(UInt32 index, ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glVertexAttribI2ivEXT((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI2ivEXT")] + public static + unsafe void VertexAttribI2(UInt32 index, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI2ivEXT((UInt32)index, (Int32*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI2uiEXT")] + public static + void VertexAttribI2(UInt32 index, UInt32 x, UInt32 y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI2uiEXT((UInt32)index, (UInt32)x, (UInt32)y); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI2uivEXT")] + public static + void VertexAttribI2(UInt32 index, UInt32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* v_ptr = v) + { + Delegates.glVertexAttribI2uivEXT((UInt32)index, (UInt32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI2uivEXT")] + public static + void VertexAttribI2(UInt32 index, ref UInt32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* v_ptr = &v) + { + Delegates.glVertexAttribI2uivEXT((UInt32)index, (UInt32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI2uivEXT")] + public static + unsafe void VertexAttribI2(UInt32 index, UInt32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI2uivEXT((UInt32)index, (UInt32*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program4] + [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI3iEXT")] + public static + void VertexAttribI3(Int32 index, Int32 x, Int32 y, Int32 z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI3iEXT((UInt32)index, (Int32)x, (Int32)y, (Int32)z); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI3iEXT")] + public static + void VertexAttribI3(UInt32 index, Int32 x, Int32 y, Int32 z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI3iEXT((UInt32)index, (Int32)x, (Int32)y, (Int32)z); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program4] + [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI3ivEXT")] + public static + void VertexAttribI3(Int32 index, Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glVertexAttribI3ivEXT((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program4] + [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI3ivEXT")] + public static + void VertexAttribI3(Int32 index, ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glVertexAttribI3ivEXT((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI3ivEXT")] + public static + unsafe void VertexAttribI3(Int32 index, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI3ivEXT((UInt32)index, (Int32*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI3ivEXT")] + public static + void VertexAttribI3(UInt32 index, Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glVertexAttribI3ivEXT((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI3ivEXT")] + public static + void VertexAttribI3(UInt32 index, ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glVertexAttribI3ivEXT((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI3ivEXT")] + public static + unsafe void VertexAttribI3(UInt32 index, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI3ivEXT((UInt32)index, (Int32*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI3uiEXT")] + public static + void VertexAttribI3(UInt32 index, UInt32 x, UInt32 y, UInt32 z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI3uiEXT((UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI3uivEXT")] + public static + void VertexAttribI3(UInt32 index, UInt32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* v_ptr = v) + { + Delegates.glVertexAttribI3uivEXT((UInt32)index, (UInt32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI3uivEXT")] + public static + void VertexAttribI3(UInt32 index, ref UInt32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* v_ptr = &v) + { + Delegates.glVertexAttribI3uivEXT((UInt32)index, (UInt32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI3uivEXT")] + public static + unsafe void VertexAttribI3(UInt32 index, UInt32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI3uivEXT((UInt32)index, (UInt32*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4bvEXT")] + public static + void VertexAttribI4(UInt32 index, SByte[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (SByte* v_ptr = v) + { + Delegates.glVertexAttribI4bvEXT((UInt32)index, (SByte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4bvEXT")] + public static + void VertexAttribI4(UInt32 index, ref SByte v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (SByte* v_ptr = &v) + { + Delegates.glVertexAttribI4bvEXT((UInt32)index, (SByte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4bvEXT")] + public static + unsafe void VertexAttribI4(UInt32 index, SByte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI4bvEXT((UInt32)index, (SByte*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program4] + [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4iEXT")] + public static + void VertexAttribI4(Int32 index, Int32 x, Int32 y, Int32 z, Int32 w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI4iEXT((UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4iEXT")] + public static + void VertexAttribI4(UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI4iEXT((UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program4] + [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4ivEXT")] + public static + void VertexAttribI4(Int32 index, Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glVertexAttribI4ivEXT((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program4] + [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4ivEXT")] + public static + void VertexAttribI4(Int32 index, ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glVertexAttribI4ivEXT((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4ivEXT")] + public static + unsafe void VertexAttribI4(Int32 index, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI4ivEXT((UInt32)index, (Int32*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4ivEXT")] + public static + void VertexAttribI4(UInt32 index, Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glVertexAttribI4ivEXT((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4ivEXT")] + public static + void VertexAttribI4(UInt32 index, ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glVertexAttribI4ivEXT((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4ivEXT")] + public static + unsafe void VertexAttribI4(UInt32 index, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI4ivEXT((UInt32)index, (Int32*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program4] + [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4svEXT")] + public static + void VertexAttribI4(Int32 index, Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glVertexAttribI4svEXT((UInt32)index, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program4] + [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4svEXT")] + public static + void VertexAttribI4(Int32 index, ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glVertexAttribI4svEXT((UInt32)index, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4svEXT")] + public static + unsafe void VertexAttribI4(Int32 index, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI4svEXT((UInt32)index, (Int16*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4svEXT")] + public static + void VertexAttribI4(UInt32 index, Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glVertexAttribI4svEXT((UInt32)index, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4svEXT")] + public static + void VertexAttribI4(UInt32 index, ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glVertexAttribI4svEXT((UInt32)index, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4svEXT")] + public static + unsafe void VertexAttribI4(UInt32 index, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI4svEXT((UInt32)index, (Int16*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program4] + [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4ubvEXT")] + public static + void VertexAttribI4(Int32 index, Byte[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = v) + { + Delegates.glVertexAttribI4ubvEXT((UInt32)index, (Byte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program4] + [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4ubvEXT")] + public static + void VertexAttribI4(Int32 index, ref Byte v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = &v) + { + Delegates.glVertexAttribI4ubvEXT((UInt32)index, (Byte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4ubvEXT")] + public static + unsafe void VertexAttribI4(Int32 index, Byte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI4ubvEXT((UInt32)index, (Byte*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4ubvEXT")] + public static + void VertexAttribI4(UInt32 index, Byte[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = v) + { + Delegates.glVertexAttribI4ubvEXT((UInt32)index, (Byte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4ubvEXT")] + public static + void VertexAttribI4(UInt32 index, ref Byte v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = &v) + { + Delegates.glVertexAttribI4ubvEXT((UInt32)index, (Byte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4ubvEXT")] + public static + unsafe void VertexAttribI4(UInt32 index, Byte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI4ubvEXT((UInt32)index, (Byte*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4uiEXT")] + public static + void VertexAttribI4(UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI4uiEXT((UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z, (UInt32)w); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4uivEXT")] + public static + void VertexAttribI4(UInt32 index, UInt32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* v_ptr = v) + { + Delegates.glVertexAttribI4uivEXT((UInt32)index, (UInt32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4uivEXT")] + public static + void VertexAttribI4(UInt32 index, ref UInt32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* v_ptr = &v) + { + Delegates.glVertexAttribI4uivEXT((UInt32)index, (UInt32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4uivEXT")] + public static + unsafe void VertexAttribI4(UInt32 index, UInt32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI4uivEXT((UInt32)index, (UInt32*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4usvEXT")] + public static + void VertexAttribI4(UInt32 index, UInt16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt16* v_ptr = v) + { + Delegates.glVertexAttribI4usvEXT((UInt32)index, (UInt16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4usvEXT")] + public static + void VertexAttribI4(UInt32 index, ref UInt16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt16* v_ptr = &v) + { + Delegates.glVertexAttribI4usvEXT((UInt32)index, (UInt16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4usvEXT")] + public static + unsafe void VertexAttribI4(UInt32 index, UInt16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI4usvEXT((UInt32)index, (UInt16*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program4] + [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] + public static + void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexProgram4 type, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program4] + [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] + public static + void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexProgram4 type, Int32 stride, [InAttribute, OutAttribute] T4[] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program4] + [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] + public static + void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexProgram4 type, Int32 stride, [InAttribute, OutAttribute] T4[,] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program4] + [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] + public static + void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexProgram4 type, Int32 stride, [InAttribute, OutAttribute] T4[,,] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program4] + [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] + public static + void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexProgram4 type, Int32 stride, [InAttribute, OutAttribute] ref T4 pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + pointer = (T4)pointer_ptr.Target; + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] + public static + void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexProgram4 type, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] + public static + void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexProgram4 type, Int32 stride, [InAttribute, OutAttribute] T4[] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] + public static + void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexProgram4 type, Int32 stride, [InAttribute, OutAttribute] T4[,] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] + public static + void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexProgram4 type, Int32 stride, [InAttribute, OutAttribute] T4[,,] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] + public static + void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexProgram4 type, Int32 stride, [InAttribute, OutAttribute] ref T4 pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + pointer = (T4)pointer_ptr.Target; + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_attrib_64bit] + [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexAttribL1dEXT")] + public static + void VertexAttribL1(Int32 index, Double x) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribL1dEXT((UInt32)index, (Double)x); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_attrib_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexAttribL1dEXT")] + public static + void VertexAttribL1(UInt32 index, Double x) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribL1dEXT((UInt32)index, (Double)x); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_attrib_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexAttribL1dvEXT")] + public static + unsafe void VertexAttribL1(Int32 index, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribL1dvEXT((UInt32)index, (Double*)v); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_attrib_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexAttribL1dvEXT")] + public static + unsafe void VertexAttribL1(UInt32 index, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribL1dvEXT((UInt32)index, (Double*)v); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_attrib_64bit] + [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexAttribL2dEXT")] + public static + void VertexAttribL2(Int32 index, Double x, Double y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribL2dEXT((UInt32)index, (Double)x, (Double)y); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_attrib_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexAttribL2dEXT")] + public static + void VertexAttribL2(UInt32 index, Double x, Double y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribL2dEXT((UInt32)index, (Double)x, (Double)y); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_attrib_64bit] + [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexAttribL2dvEXT")] + public static + void VertexAttribL2(Int32 index, Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glVertexAttribL2dvEXT((UInt32)index, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_attrib_64bit] + [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexAttribL2dvEXT")] + public static + void VertexAttribL2(Int32 index, ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glVertexAttribL2dvEXT((UInt32)index, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_attrib_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexAttribL2dvEXT")] + public static + unsafe void VertexAttribL2(Int32 index, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribL2dvEXT((UInt32)index, (Double*)v); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_attrib_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexAttribL2dvEXT")] + public static + void VertexAttribL2(UInt32 index, Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glVertexAttribL2dvEXT((UInt32)index, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_attrib_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexAttribL2dvEXT")] + public static + void VertexAttribL2(UInt32 index, ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glVertexAttribL2dvEXT((UInt32)index, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_attrib_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexAttribL2dvEXT")] + public static + unsafe void VertexAttribL2(UInt32 index, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribL2dvEXT((UInt32)index, (Double*)v); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_attrib_64bit] + [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexAttribL3dEXT")] + public static + void VertexAttribL3(Int32 index, Double x, Double y, Double z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribL3dEXT((UInt32)index, (Double)x, (Double)y, (Double)z); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_attrib_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexAttribL3dEXT")] + public static + void VertexAttribL3(UInt32 index, Double x, Double y, Double z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribL3dEXT((UInt32)index, (Double)x, (Double)y, (Double)z); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_attrib_64bit] + [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexAttribL3dvEXT")] + public static + void VertexAttribL3(Int32 index, Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glVertexAttribL3dvEXT((UInt32)index, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_attrib_64bit] + [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexAttribL3dvEXT")] + public static + void VertexAttribL3(Int32 index, ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glVertexAttribL3dvEXT((UInt32)index, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_attrib_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexAttribL3dvEXT")] + public static + unsafe void VertexAttribL3(Int32 index, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribL3dvEXT((UInt32)index, (Double*)v); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_attrib_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexAttribL3dvEXT")] + public static + void VertexAttribL3(UInt32 index, Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glVertexAttribL3dvEXT((UInt32)index, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_attrib_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexAttribL3dvEXT")] + public static + void VertexAttribL3(UInt32 index, ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glVertexAttribL3dvEXT((UInt32)index, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_attrib_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexAttribL3dvEXT")] + public static + unsafe void VertexAttribL3(UInt32 index, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribL3dvEXT((UInt32)index, (Double*)v); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_attrib_64bit] + [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexAttribL4dEXT")] + public static + void VertexAttribL4(Int32 index, Double x, Double y, Double z, Double w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribL4dEXT((UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_attrib_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexAttribL4dEXT")] + public static + void VertexAttribL4(UInt32 index, Double x, Double y, Double z, Double w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribL4dEXT((UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_attrib_64bit] + [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexAttribL4dvEXT")] + public static + void VertexAttribL4(Int32 index, Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glVertexAttribL4dvEXT((UInt32)index, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_attrib_64bit] + [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexAttribL4dvEXT")] + public static + void VertexAttribL4(Int32 index, ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glVertexAttribL4dvEXT((UInt32)index, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_attrib_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexAttribL4dvEXT")] + public static + unsafe void VertexAttribL4(Int32 index, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribL4dvEXT((UInt32)index, (Double*)v); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_attrib_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexAttribL4dvEXT")] + public static + void VertexAttribL4(UInt32 index, Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glVertexAttribL4dvEXT((UInt32)index, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_attrib_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexAttribL4dvEXT")] + public static + void VertexAttribL4(UInt32 index, ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glVertexAttribL4dvEXT((UInt32)index, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_attrib_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexAttribL4dvEXT")] + public static + unsafe void VertexAttribL4(UInt32 index, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribL4dvEXT((UInt32)index, (Double*)v); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_attrib_64bit] + [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexAttribLPointerEXT")] + public static + void VertexAttribLPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit type, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribLPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit)type, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_attrib_64bit] + [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexAttribLPointerEXT")] + public static + void VertexAttribLPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit type, Int32 stride, [InAttribute, OutAttribute] T4[] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribLPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_attrib_64bit] + [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexAttribLPointerEXT")] + public static + void VertexAttribLPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit type, Int32 stride, [InAttribute, OutAttribute] T4[,] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribLPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_attrib_64bit] + [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexAttribLPointerEXT")] + public static + void VertexAttribLPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit type, Int32 stride, [InAttribute, OutAttribute] T4[,,] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribLPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_attrib_64bit] + [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexAttribLPointerEXT")] + public static + void VertexAttribLPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit type, Int32 stride, [InAttribute, OutAttribute] ref T4 pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribLPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + pointer = (T4)pointer_ptr.Target; + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_attrib_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexAttribLPointerEXT")] + public static + void VertexAttribLPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit type, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribLPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit)type, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_attrib_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexAttribLPointerEXT")] + public static + void VertexAttribLPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit type, Int32 stride, [InAttribute, OutAttribute] T4[] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribLPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_attrib_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexAttribLPointerEXT")] + public static + void VertexAttribLPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit type, Int32 stride, [InAttribute, OutAttribute] T4[,] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribLPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_attrib_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexAttribLPointerEXT")] + public static + void VertexAttribLPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit type, Int32 stride, [InAttribute, OutAttribute] T4[,,] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribLPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_attrib_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexAttribLPointerEXT")] + public static + void VertexAttribLPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit type, Int32 stride, [InAttribute, OutAttribute] ref T4 pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribLPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + pointer = (T4)pointer_ptr.Target; + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_vertex_array] + /// Define an array of vertex data + /// + /// + /// + /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "EXT_vertex_array", Version = "1.0", EntryPoint = "glVertexPointerEXT")] + public static + void VertexPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, Int32 stride, Int32 count, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexPointerEXT((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + + /// [requires: EXT_vertex_array] + /// Define an array of vertex data + /// + /// + /// + /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "EXT_vertex_array", Version = "1.0", EntryPoint = "glVertexPointerEXT")] + public static + void VertexPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, Int32 stride, Int32 count, [InAttribute, OutAttribute] T4[] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexPointerEXT((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_vertex_array] + /// Define an array of vertex data + /// + /// + /// + /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "EXT_vertex_array", Version = "1.0", EntryPoint = "glVertexPointerEXT")] + public static + void VertexPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, Int32 stride, Int32 count, [InAttribute, OutAttribute] T4[,] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexPointerEXT((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_vertex_array] + /// Define an array of vertex data + /// + /// + /// + /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "EXT_vertex_array", Version = "1.0", EntryPoint = "glVertexPointerEXT")] + public static + void VertexPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, Int32 stride, Int32 count, [InAttribute, OutAttribute] T4[,,] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexPointerEXT((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: EXT_vertex_array] + /// Define an array of vertex data + /// + /// + /// + /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "EXT_vertex_array", Version = "1.0", EntryPoint = "glVertexPointerEXT")] + public static + void VertexPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, Int32 stride, Int32 count, [InAttribute, OutAttribute] ref T4 pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexPointerEXT((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + pointer = (T4)pointer_ptr.Target; + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_weighting] + [AutoGenerated(Category = "EXT_vertex_weighting", Version = "1.1", EntryPoint = "glVertexWeightfEXT")] + public static + void VertexWeight(Single weight) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexWeightfEXT((Single)weight); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_weighting] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_weighting", Version = "1.1", EntryPoint = "glVertexWeightfvEXT")] + public static + unsafe void VertexWeight(Single* weight) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexWeightfvEXT((Single*)weight); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_weighting] + [AutoGenerated(Category = "EXT_vertex_weighting", Version = "1.1", EntryPoint = "glVertexWeightPointerEXT")] + public static + void VertexWeightPointer(Int32 size, OpenTK.Graphics.OpenGL.ExtVertexWeighting type, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexWeightPointerEXT((Int32)size, (OpenTK.Graphics.OpenGL.ExtVertexWeighting)type, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_weighting] + [AutoGenerated(Category = "EXT_vertex_weighting", Version = "1.1", EntryPoint = "glVertexWeightPointerEXT")] + public static + void VertexWeightPointer(Int32 size, OpenTK.Graphics.OpenGL.ExtVertexWeighting type, Int32 stride, [InAttribute, OutAttribute] T3[] pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexWeightPointerEXT((Int32)size, (OpenTK.Graphics.OpenGL.ExtVertexWeighting)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_weighting] + [AutoGenerated(Category = "EXT_vertex_weighting", Version = "1.1", EntryPoint = "glVertexWeightPointerEXT")] + public static + void VertexWeightPointer(Int32 size, OpenTK.Graphics.OpenGL.ExtVertexWeighting type, Int32 stride, [InAttribute, OutAttribute] T3[,] pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexWeightPointerEXT((Int32)size, (OpenTK.Graphics.OpenGL.ExtVertexWeighting)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_weighting] + [AutoGenerated(Category = "EXT_vertex_weighting", Version = "1.1", EntryPoint = "glVertexWeightPointerEXT")] + public static + void VertexWeightPointer(Int32 size, OpenTK.Graphics.OpenGL.ExtVertexWeighting type, Int32 stride, [InAttribute, OutAttribute] T3[,,] pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexWeightPointerEXT((Int32)size, (OpenTK.Graphics.OpenGL.ExtVertexWeighting)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_weighting] + [AutoGenerated(Category = "EXT_vertex_weighting", Version = "1.1", EntryPoint = "glVertexWeightPointerEXT")] + public static + void VertexWeightPointer(Int32 size, OpenTK.Graphics.OpenGL.ExtVertexWeighting type, Int32 stride, [InAttribute, OutAttribute] ref T3 pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexWeightPointerEXT((Int32)size, (OpenTK.Graphics.OpenGL.ExtVertexWeighting)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + pointer = (T3)pointer_ptr.Target; + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glWriteMaskEXT")] + public static + void WriteMask(Int32 res, Int32 @in, OpenTK.Graphics.OpenGL.ExtVertexShader outX, OpenTK.Graphics.OpenGL.ExtVertexShader outY, OpenTK.Graphics.OpenGL.ExtVertexShader outZ, OpenTK.Graphics.OpenGL.ExtVertexShader outW) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWriteMaskEXT((UInt32)res, (UInt32)@in, (OpenTK.Graphics.OpenGL.ExtVertexShader)outX, (OpenTK.Graphics.OpenGL.ExtVertexShader)outY, (OpenTK.Graphics.OpenGL.ExtVertexShader)outZ, (OpenTK.Graphics.OpenGL.ExtVertexShader)outW); + #if DEBUG + } + #endif + } + + /// [requires: EXT_vertex_shader] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_vertex_shader", Version = "1.2", EntryPoint = "glWriteMaskEXT")] + public static + void WriteMask(UInt32 res, UInt32 @in, OpenTK.Graphics.OpenGL.ExtVertexShader outX, OpenTK.Graphics.OpenGL.ExtVertexShader outY, OpenTK.Graphics.OpenGL.ExtVertexShader outZ, OpenTK.Graphics.OpenGL.ExtVertexShader outW) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWriteMaskEXT((UInt32)res, (UInt32)@in, (OpenTK.Graphics.OpenGL.ExtVertexShader)outX, (OpenTK.Graphics.OpenGL.ExtVertexShader)outY, (OpenTK.Graphics.OpenGL.ExtVertexShader)outZ, (OpenTK.Graphics.OpenGL.ExtVertexShader)outW); + #if DEBUG + } + #endif + } + + } + + public static partial class Gremedy + { + /// [requires: GREMEDY_frame_terminator] + [AutoGenerated(Category = "GREMEDY_frame_terminator", Version = "1.0", EntryPoint = "glFrameTerminatorGREMEDY")] + public static + void FrameTerminator() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFrameTerminatorGREMEDY(); + #if DEBUG + } + #endif + } + + /// [requires: GREMEDY_string_marker] + [AutoGenerated(Category = "GREMEDY_string_marker", Version = "1.0", EntryPoint = "glStringMarkerGREMEDY")] + public static + void StringMarker(Int32 len, IntPtr @string) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glStringMarkerGREMEDY((Int32)len, (IntPtr)@string); + #if DEBUG + } + #endif + } + + /// [requires: GREMEDY_string_marker] + [AutoGenerated(Category = "GREMEDY_string_marker", Version = "1.0", EntryPoint = "glStringMarkerGREMEDY")] + public static + void StringMarker(Int32 len, [InAttribute, OutAttribute] T1[] @string) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glStringMarkerGREMEDY((Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); + } + finally + { + @string_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: GREMEDY_string_marker] + [AutoGenerated(Category = "GREMEDY_string_marker", Version = "1.0", EntryPoint = "glStringMarkerGREMEDY")] + public static + void StringMarker(Int32 len, [InAttribute, OutAttribute] T1[,] @string) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glStringMarkerGREMEDY((Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); + } + finally + { + @string_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: GREMEDY_string_marker] + [AutoGenerated(Category = "GREMEDY_string_marker", Version = "1.0", EntryPoint = "glStringMarkerGREMEDY")] + public static + void StringMarker(Int32 len, [InAttribute, OutAttribute] T1[,,] @string) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glStringMarkerGREMEDY((Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); + } + finally + { + @string_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: GREMEDY_string_marker] + [AutoGenerated(Category = "GREMEDY_string_marker", Version = "1.0", EntryPoint = "glStringMarkerGREMEDY")] + public static + void StringMarker(Int32 len, [InAttribute, OutAttribute] ref T1 @string) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glStringMarkerGREMEDY((Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); + @string = (T1)@string_ptr.Target; + } + finally + { + @string_ptr.Free(); + } + #if DEBUG + } + #endif + } + + } + + public static partial class HP + { + /// [requires: HP_image_transform] + [AutoGenerated(Category = "HP_image_transform", Version = "1.1", EntryPoint = "glGetImageTransformParameterfvHP")] + public static + void GetImageTransformParameter(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetImageTransformParameterfvHP((OpenTK.Graphics.OpenGL.HpImageTransform)target, (OpenTK.Graphics.OpenGL.HpImageTransform)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: HP_image_transform] + [AutoGenerated(Category = "HP_image_transform", Version = "1.1", EntryPoint = "glGetImageTransformParameterfvHP")] + public static + void GetImageTransformParameter(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetImageTransformParameterfvHP((OpenTK.Graphics.OpenGL.HpImageTransform)target, (OpenTK.Graphics.OpenGL.HpImageTransform)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: HP_image_transform] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "HP_image_transform", Version = "1.1", EntryPoint = "glGetImageTransformParameterfvHP")] + public static + unsafe void GetImageTransformParameter(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetImageTransformParameterfvHP((OpenTK.Graphics.OpenGL.HpImageTransform)target, (OpenTK.Graphics.OpenGL.HpImageTransform)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: HP_image_transform] + [AutoGenerated(Category = "HP_image_transform", Version = "1.1", EntryPoint = "glGetImageTransformParameterivHP")] + public static + void GetImageTransformParameter(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetImageTransformParameterivHP((OpenTK.Graphics.OpenGL.HpImageTransform)target, (OpenTK.Graphics.OpenGL.HpImageTransform)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: HP_image_transform] + [AutoGenerated(Category = "HP_image_transform", Version = "1.1", EntryPoint = "glGetImageTransformParameterivHP")] + public static + void GetImageTransformParameter(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetImageTransformParameterivHP((OpenTK.Graphics.OpenGL.HpImageTransform)target, (OpenTK.Graphics.OpenGL.HpImageTransform)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: HP_image_transform] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "HP_image_transform", Version = "1.1", EntryPoint = "glGetImageTransformParameterivHP")] + public static + unsafe void GetImageTransformParameter(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetImageTransformParameterivHP((OpenTK.Graphics.OpenGL.HpImageTransform)target, (OpenTK.Graphics.OpenGL.HpImageTransform)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: HP_image_transform] + [AutoGenerated(Category = "HP_image_transform", Version = "1.1", EntryPoint = "glImageTransformParameterfHP")] + public static + void ImageTransformParameter(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, Single param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glImageTransformParameterfHP((OpenTK.Graphics.OpenGL.HpImageTransform)target, (OpenTK.Graphics.OpenGL.HpImageTransform)pname, (Single)param); + #if DEBUG + } + #endif + } + + /// [requires: HP_image_transform] + [AutoGenerated(Category = "HP_image_transform", Version = "1.1", EntryPoint = "glImageTransformParameterfvHP")] + public static + void ImageTransformParameter(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glImageTransformParameterfvHP((OpenTK.Graphics.OpenGL.HpImageTransform)target, (OpenTK.Graphics.OpenGL.HpImageTransform)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: HP_image_transform] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "HP_image_transform", Version = "1.1", EntryPoint = "glImageTransformParameterfvHP")] + public static + unsafe void ImageTransformParameter(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glImageTransformParameterfvHP((OpenTK.Graphics.OpenGL.HpImageTransform)target, (OpenTK.Graphics.OpenGL.HpImageTransform)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: HP_image_transform] + [AutoGenerated(Category = "HP_image_transform", Version = "1.1", EntryPoint = "glImageTransformParameteriHP")] + public static + void ImageTransformParameter(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, Int32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glImageTransformParameteriHP((OpenTK.Graphics.OpenGL.HpImageTransform)target, (OpenTK.Graphics.OpenGL.HpImageTransform)pname, (Int32)param); + #if DEBUG + } + #endif + } + + /// [requires: HP_image_transform] + [AutoGenerated(Category = "HP_image_transform", Version = "1.1", EntryPoint = "glImageTransformParameterivHP")] + public static + void ImageTransformParameter(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glImageTransformParameterivHP((OpenTK.Graphics.OpenGL.HpImageTransform)target, (OpenTK.Graphics.OpenGL.HpImageTransform)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: HP_image_transform] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "HP_image_transform", Version = "1.1", EntryPoint = "glImageTransformParameterivHP")] + public static + unsafe void ImageTransformParameter(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glImageTransformParameterivHP((OpenTK.Graphics.OpenGL.HpImageTransform)target, (OpenTK.Graphics.OpenGL.HpImageTransform)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + } + + public static partial class Ibm + { + /// [requires: IBM_vertex_array_lists] + [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "1.1", EntryPoint = "glColorPointerListIBM")] + public static + void ColorPointerList(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColorPointerListIBM((Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (IntPtr)pointer, (Int32)ptrstride); + #if DEBUG + } + #endif + } + + /// [requires: IBM_vertex_array_lists] + [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "1.1", EntryPoint = "glColorPointerListIBM")] + public static + void ColorPointerList(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[] pointer, Int32 ptrstride) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glColorPointerListIBM((Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: IBM_vertex_array_lists] + [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "1.1", EntryPoint = "glColorPointerListIBM")] + public static + void ColorPointerList(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[,] pointer, Int32 ptrstride) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glColorPointerListIBM((Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: IBM_vertex_array_lists] + [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "1.1", EntryPoint = "glColorPointerListIBM")] + public static + void ColorPointerList(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[,,] pointer, Int32 ptrstride) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glColorPointerListIBM((Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: IBM_vertex_array_lists] + [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "1.1", EntryPoint = "glColorPointerListIBM")] + public static + void ColorPointerList(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, [InAttribute, OutAttribute] ref T3 pointer, Int32 ptrstride) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glColorPointerListIBM((Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + pointer = (T3)pointer_ptr.Target; + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: IBM_vertex_array_lists] + [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "1.1", EntryPoint = "glEdgeFlagPointerListIBM")] + public static + void EdgeFlagPointerList(Int32 stride, bool[] pointer, Int32 ptrstride) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (bool* pointer_ptr = pointer) + { + Delegates.glEdgeFlagPointerListIBM((Int32)stride, (bool*)pointer_ptr, (Int32)ptrstride); + } + } + #if DEBUG + } + #endif + } + + /// [requires: IBM_vertex_array_lists] + [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "1.1", EntryPoint = "glEdgeFlagPointerListIBM")] + public static + void EdgeFlagPointerList(Int32 stride, ref bool pointer, Int32 ptrstride) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (bool* pointer_ptr = &pointer) + { + Delegates.glEdgeFlagPointerListIBM((Int32)stride, (bool*)pointer_ptr, (Int32)ptrstride); + } + } + #if DEBUG + } + #endif + } + + /// [requires: IBM_vertex_array_lists] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "1.1", EntryPoint = "glEdgeFlagPointerListIBM")] + public static + unsafe void EdgeFlagPointerList(Int32 stride, bool* pointer, Int32 ptrstride) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEdgeFlagPointerListIBM((Int32)stride, (bool*)pointer, (Int32)ptrstride); + #if DEBUG + } + #endif + } + + /// [requires: IBM_vertex_array_lists] + [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "1.1", EntryPoint = "glFogCoordPointerListIBM")] + public static + void FogCoordPointerList(OpenTK.Graphics.OpenGL.IbmVertexArrayLists type, Int32 stride, IntPtr pointer, Int32 ptrstride) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFogCoordPointerListIBM((OpenTK.Graphics.OpenGL.IbmVertexArrayLists)type, (Int32)stride, (IntPtr)pointer, (Int32)ptrstride); + #if DEBUG + } + #endif + } + + /// [requires: IBM_vertex_array_lists] + [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "1.1", EntryPoint = "glFogCoordPointerListIBM")] + public static + void FogCoordPointerList(OpenTK.Graphics.OpenGL.IbmVertexArrayLists type, Int32 stride, [InAttribute, OutAttribute] T2[] pointer, Int32 ptrstride) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glFogCoordPointerListIBM((OpenTK.Graphics.OpenGL.IbmVertexArrayLists)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: IBM_vertex_array_lists] + [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "1.1", EntryPoint = "glFogCoordPointerListIBM")] + public static + void FogCoordPointerList(OpenTK.Graphics.OpenGL.IbmVertexArrayLists type, Int32 stride, [InAttribute, OutAttribute] T2[,] pointer, Int32 ptrstride) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glFogCoordPointerListIBM((OpenTK.Graphics.OpenGL.IbmVertexArrayLists)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: IBM_vertex_array_lists] + [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "1.1", EntryPoint = "glFogCoordPointerListIBM")] + public static + void FogCoordPointerList(OpenTK.Graphics.OpenGL.IbmVertexArrayLists type, Int32 stride, [InAttribute, OutAttribute] T2[,,] pointer, Int32 ptrstride) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glFogCoordPointerListIBM((OpenTK.Graphics.OpenGL.IbmVertexArrayLists)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: IBM_vertex_array_lists] + [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "1.1", EntryPoint = "glFogCoordPointerListIBM")] + public static + void FogCoordPointerList(OpenTK.Graphics.OpenGL.IbmVertexArrayLists type, Int32 stride, [InAttribute, OutAttribute] ref T2 pointer, Int32 ptrstride) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glFogCoordPointerListIBM((OpenTK.Graphics.OpenGL.IbmVertexArrayLists)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + pointer = (T2)pointer_ptr.Target; + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: IBM_vertex_array_lists] + [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "1.1", EntryPoint = "glIndexPointerListIBM")] + public static + void IndexPointerList(OpenTK.Graphics.OpenGL.IndexPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glIndexPointerListIBM((OpenTK.Graphics.OpenGL.IndexPointerType)type, (Int32)stride, (IntPtr)pointer, (Int32)ptrstride); + #if DEBUG + } + #endif + } + + /// [requires: IBM_vertex_array_lists] + [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "1.1", EntryPoint = "glIndexPointerListIBM")] + public static + void IndexPointerList(OpenTK.Graphics.OpenGL.IndexPointerType type, Int32 stride, [InAttribute, OutAttribute] T2[] pointer, Int32 ptrstride) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glIndexPointerListIBM((OpenTK.Graphics.OpenGL.IndexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: IBM_vertex_array_lists] + [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "1.1", EntryPoint = "glIndexPointerListIBM")] + public static + void IndexPointerList(OpenTK.Graphics.OpenGL.IndexPointerType type, Int32 stride, [InAttribute, OutAttribute] T2[,] pointer, Int32 ptrstride) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glIndexPointerListIBM((OpenTK.Graphics.OpenGL.IndexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: IBM_vertex_array_lists] + [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "1.1", EntryPoint = "glIndexPointerListIBM")] + public static + void IndexPointerList(OpenTK.Graphics.OpenGL.IndexPointerType type, Int32 stride, [InAttribute, OutAttribute] T2[,,] pointer, Int32 ptrstride) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glIndexPointerListIBM((OpenTK.Graphics.OpenGL.IndexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: IBM_vertex_array_lists] + [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "1.1", EntryPoint = "glIndexPointerListIBM")] + public static + void IndexPointerList(OpenTK.Graphics.OpenGL.IndexPointerType type, Int32 stride, [InAttribute, OutAttribute] ref T2 pointer, Int32 ptrstride) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glIndexPointerListIBM((OpenTK.Graphics.OpenGL.IndexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + pointer = (T2)pointer_ptr.Target; + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: IBM_multimode_draw_arrays] + [AutoGenerated(Category = "IBM_multimode_draw_arrays", Version = "1.1", EntryPoint = "glMultiModeDrawArraysIBM")] + public static + void MultiModeDrawArrays(OpenTK.Graphics.OpenGL.BeginMode[] mode, Int32[] first, Int32[] count, Int32 primcount, Int32 modestride) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Graphics.OpenGL.BeginMode* mode_ptr = mode) + fixed (Int32* first_ptr = first) + fixed (Int32* count_ptr = count) + { + Delegates.glMultiModeDrawArraysIBM((OpenTK.Graphics.OpenGL.BeginMode*)mode_ptr, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount, (Int32)modestride); + } + } + #if DEBUG + } + #endif + } + + /// [requires: IBM_multimode_draw_arrays] + [AutoGenerated(Category = "IBM_multimode_draw_arrays", Version = "1.1", EntryPoint = "glMultiModeDrawArraysIBM")] + public static + void MultiModeDrawArrays(ref OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 first, ref Int32 count, Int32 primcount, Int32 modestride) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Graphics.OpenGL.BeginMode* mode_ptr = &mode) + fixed (Int32* first_ptr = &first) + fixed (Int32* count_ptr = &count) + { + Delegates.glMultiModeDrawArraysIBM((OpenTK.Graphics.OpenGL.BeginMode*)mode_ptr, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount, (Int32)modestride); + } + } + #if DEBUG + } + #endif + } + + /// [requires: IBM_multimode_draw_arrays] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "IBM_multimode_draw_arrays", Version = "1.1", EntryPoint = "glMultiModeDrawArraysIBM")] + public static + unsafe void MultiModeDrawArrays(OpenTK.Graphics.OpenGL.BeginMode* mode, Int32* first, Int32* count, Int32 primcount, Int32 modestride) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiModeDrawArraysIBM((OpenTK.Graphics.OpenGL.BeginMode*)mode, (Int32*)first, (Int32*)count, (Int32)primcount, (Int32)modestride); + #if DEBUG + } + #endif + } + + /// [requires: IBM_multimode_draw_arrays] + [AutoGenerated(Category = "IBM_multimode_draw_arrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] + public static + void MultiModeDrawElements(OpenTK.Graphics.OpenGL.BeginMode[] mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount, Int32 modestride) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Graphics.OpenGL.BeginMode* mode_ptr = mode) + fixed (Int32* count_ptr = count) + { + Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.OpenGL.BeginMode*)mode_ptr, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)primcount, (Int32)modestride); + } + } + #if DEBUG + } + #endif + } + + /// [requires: IBM_multimode_draw_arrays] + [AutoGenerated(Category = "IBM_multimode_draw_arrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] + public static + void MultiModeDrawElements(OpenTK.Graphics.OpenGL.BeginMode[] mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount, Int32 modestride) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Graphics.OpenGL.BeginMode* mode_ptr = mode) + fixed (Int32* count_ptr = count) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.OpenGL.BeginMode*)mode_ptr, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + /// [requires: IBM_multimode_draw_arrays] + [AutoGenerated(Category = "IBM_multimode_draw_arrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] + public static + void MultiModeDrawElements(OpenTK.Graphics.OpenGL.BeginMode[] mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount, Int32 modestride) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Graphics.OpenGL.BeginMode* mode_ptr = mode) + fixed (Int32* count_ptr = count) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.OpenGL.BeginMode*)mode_ptr, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + /// [requires: IBM_multimode_draw_arrays] + [AutoGenerated(Category = "IBM_multimode_draw_arrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] + public static + void MultiModeDrawElements(OpenTK.Graphics.OpenGL.BeginMode[] mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount, Int32 modestride) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Graphics.OpenGL.BeginMode* mode_ptr = mode) + fixed (Int32* count_ptr = count) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.OpenGL.BeginMode*)mode_ptr, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + /// [requires: IBM_multimode_draw_arrays] + [AutoGenerated(Category = "IBM_multimode_draw_arrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] + public static + void MultiModeDrawElements(OpenTK.Graphics.OpenGL.BeginMode[] mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount, Int32 modestride) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Graphics.OpenGL.BeginMode* mode_ptr = mode) + fixed (Int32* count_ptr = count) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.OpenGL.BeginMode*)mode_ptr, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); + indices = (T3)indices_ptr.Target; + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + /// [requires: IBM_multimode_draw_arrays] + [AutoGenerated(Category = "IBM_multimode_draw_arrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] + public static + void MultiModeDrawElements(ref OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount, Int32 modestride) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Graphics.OpenGL.BeginMode* mode_ptr = &mode) + fixed (Int32* count_ptr = &count) + { + Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.OpenGL.BeginMode*)mode_ptr, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)primcount, (Int32)modestride); + } + } + #if DEBUG + } + #endif + } + + /// [requires: IBM_multimode_draw_arrays] + [AutoGenerated(Category = "IBM_multimode_draw_arrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] + public static + void MultiModeDrawElements(ref OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount, Int32 modestride) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Graphics.OpenGL.BeginMode* mode_ptr = &mode) + fixed (Int32* count_ptr = &count) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.OpenGL.BeginMode*)mode_ptr, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + /// [requires: IBM_multimode_draw_arrays] + [AutoGenerated(Category = "IBM_multimode_draw_arrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] + public static + void MultiModeDrawElements(ref OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount, Int32 modestride) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Graphics.OpenGL.BeginMode* mode_ptr = &mode) + fixed (Int32* count_ptr = &count) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.OpenGL.BeginMode*)mode_ptr, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + /// [requires: IBM_multimode_draw_arrays] + [AutoGenerated(Category = "IBM_multimode_draw_arrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] + public static + void MultiModeDrawElements(ref OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount, Int32 modestride) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Graphics.OpenGL.BeginMode* mode_ptr = &mode) + fixed (Int32* count_ptr = &count) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.OpenGL.BeginMode*)mode_ptr, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + /// [requires: IBM_multimode_draw_arrays] + [AutoGenerated(Category = "IBM_multimode_draw_arrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] + public static + void MultiModeDrawElements(ref OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount, Int32 modestride) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Graphics.OpenGL.BeginMode* mode_ptr = &mode) + fixed (Int32* count_ptr = &count) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.OpenGL.BeginMode*)mode_ptr, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); + indices = (T3)indices_ptr.Target; + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + /// [requires: IBM_multimode_draw_arrays] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "IBM_multimode_draw_arrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] + public static + unsafe void MultiModeDrawElements(OpenTK.Graphics.OpenGL.BeginMode* mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount, Int32 modestride) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.OpenGL.BeginMode*)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)primcount, (Int32)modestride); + #if DEBUG + } + #endif + } + + /// [requires: IBM_multimode_draw_arrays] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "IBM_multimode_draw_arrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] + public static + unsafe void MultiModeDrawElements(OpenTK.Graphics.OpenGL.BeginMode* mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount, Int32 modestride) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.OpenGL.BeginMode*)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: IBM_multimode_draw_arrays] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "IBM_multimode_draw_arrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] + public static + unsafe void MultiModeDrawElements(OpenTK.Graphics.OpenGL.BeginMode* mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount, Int32 modestride) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.OpenGL.BeginMode*)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: IBM_multimode_draw_arrays] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "IBM_multimode_draw_arrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] + public static + unsafe void MultiModeDrawElements(OpenTK.Graphics.OpenGL.BeginMode* mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount, Int32 modestride) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.OpenGL.BeginMode*)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: IBM_multimode_draw_arrays] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "IBM_multimode_draw_arrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] + public static + unsafe void MultiModeDrawElements(OpenTK.Graphics.OpenGL.BeginMode* mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount, Int32 modestride) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.OpenGL.BeginMode*)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); + indices = (T3)indices_ptr.Target; + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: IBM_vertex_array_lists] + [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "1.1", EntryPoint = "glNormalPointerListIBM")] + public static + void NormalPointerList(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormalPointerListIBM((OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (IntPtr)pointer, (Int32)ptrstride); + #if DEBUG + } + #endif + } + + /// [requires: IBM_vertex_array_lists] + [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "1.1", EntryPoint = "glNormalPointerListIBM")] + public static + void NormalPointerList(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, [InAttribute, OutAttribute] T2[] pointer, Int32 ptrstride) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glNormalPointerListIBM((OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: IBM_vertex_array_lists] + [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "1.1", EntryPoint = "glNormalPointerListIBM")] + public static + void NormalPointerList(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, [InAttribute, OutAttribute] T2[,] pointer, Int32 ptrstride) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glNormalPointerListIBM((OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: IBM_vertex_array_lists] + [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "1.1", EntryPoint = "glNormalPointerListIBM")] + public static + void NormalPointerList(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, [InAttribute, OutAttribute] T2[,,] pointer, Int32 ptrstride) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glNormalPointerListIBM((OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: IBM_vertex_array_lists] + [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "1.1", EntryPoint = "glNormalPointerListIBM")] + public static + void NormalPointerList(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, [InAttribute, OutAttribute] ref T2 pointer, Int32 ptrstride) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glNormalPointerListIBM((OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + pointer = (T2)pointer_ptr.Target; + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: IBM_vertex_array_lists] + [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "1.1", EntryPoint = "glSecondaryColorPointerListIBM")] + public static + void SecondaryColorPointerList(Int32 size, OpenTK.Graphics.OpenGL.IbmVertexArrayLists type, Int32 stride, IntPtr pointer, Int32 ptrstride) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSecondaryColorPointerListIBM((Int32)size, (OpenTK.Graphics.OpenGL.IbmVertexArrayLists)type, (Int32)stride, (IntPtr)pointer, (Int32)ptrstride); + #if DEBUG + } + #endif + } + + /// [requires: IBM_vertex_array_lists] + [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "1.1", EntryPoint = "glSecondaryColorPointerListIBM")] + public static + void SecondaryColorPointerList(Int32 size, OpenTK.Graphics.OpenGL.IbmVertexArrayLists type, Int32 stride, [InAttribute, OutAttribute] T3[] pointer, Int32 ptrstride) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glSecondaryColorPointerListIBM((Int32)size, (OpenTK.Graphics.OpenGL.IbmVertexArrayLists)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: IBM_vertex_array_lists] + [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "1.1", EntryPoint = "glSecondaryColorPointerListIBM")] + public static + void SecondaryColorPointerList(Int32 size, OpenTK.Graphics.OpenGL.IbmVertexArrayLists type, Int32 stride, [InAttribute, OutAttribute] T3[,] pointer, Int32 ptrstride) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glSecondaryColorPointerListIBM((Int32)size, (OpenTK.Graphics.OpenGL.IbmVertexArrayLists)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: IBM_vertex_array_lists] + [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "1.1", EntryPoint = "glSecondaryColorPointerListIBM")] + public static + void SecondaryColorPointerList(Int32 size, OpenTK.Graphics.OpenGL.IbmVertexArrayLists type, Int32 stride, [InAttribute, OutAttribute] T3[,,] pointer, Int32 ptrstride) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glSecondaryColorPointerListIBM((Int32)size, (OpenTK.Graphics.OpenGL.IbmVertexArrayLists)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: IBM_vertex_array_lists] + [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "1.1", EntryPoint = "glSecondaryColorPointerListIBM")] + public static + void SecondaryColorPointerList(Int32 size, OpenTK.Graphics.OpenGL.IbmVertexArrayLists type, Int32 stride, [InAttribute, OutAttribute] ref T3 pointer, Int32 ptrstride) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glSecondaryColorPointerListIBM((Int32)size, (OpenTK.Graphics.OpenGL.IbmVertexArrayLists)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + pointer = (T3)pointer_ptr.Target; + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: IBM_vertex_array_lists] + [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "1.1", EntryPoint = "glTexCoordPointerListIBM")] + public static + void TexCoordPointerList(Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoordPointerListIBM((Int32)size, (OpenTK.Graphics.OpenGL.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer, (Int32)ptrstride); + #if DEBUG + } + #endif + } + + /// [requires: IBM_vertex_array_lists] + [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "1.1", EntryPoint = "glTexCoordPointerListIBM")] + public static + void TexCoordPointerList(Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[] pointer, Int32 ptrstride) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glTexCoordPointerListIBM((Int32)size, (OpenTK.Graphics.OpenGL.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: IBM_vertex_array_lists] + [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "1.1", EntryPoint = "glTexCoordPointerListIBM")] + public static + void TexCoordPointerList(Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[,] pointer, Int32 ptrstride) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glTexCoordPointerListIBM((Int32)size, (OpenTK.Graphics.OpenGL.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: IBM_vertex_array_lists] + [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "1.1", EntryPoint = "glTexCoordPointerListIBM")] + public static + void TexCoordPointerList(Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[,,] pointer, Int32 ptrstride) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glTexCoordPointerListIBM((Int32)size, (OpenTK.Graphics.OpenGL.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: IBM_vertex_array_lists] + [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "1.1", EntryPoint = "glTexCoordPointerListIBM")] + public static + void TexCoordPointerList(Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, [InAttribute, OutAttribute] ref T3 pointer, Int32 ptrstride) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glTexCoordPointerListIBM((Int32)size, (OpenTK.Graphics.OpenGL.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + pointer = (T3)pointer_ptr.Target; + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: IBM_vertex_array_lists] + [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "1.1", EntryPoint = "glVertexPointerListIBM")] + public static + void VertexPointerList(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexPointerListIBM((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (Int32)stride, (IntPtr)pointer, (Int32)ptrstride); + #if DEBUG + } + #endif + } + + /// [requires: IBM_vertex_array_lists] + [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "1.1", EntryPoint = "glVertexPointerListIBM")] + public static + void VertexPointerList(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[] pointer, Int32 ptrstride) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexPointerListIBM((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: IBM_vertex_array_lists] + [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "1.1", EntryPoint = "glVertexPointerListIBM")] + public static + void VertexPointerList(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[,] pointer, Int32 ptrstride) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexPointerListIBM((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: IBM_vertex_array_lists] + [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "1.1", EntryPoint = "glVertexPointerListIBM")] + public static + void VertexPointerList(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[,,] pointer, Int32 ptrstride) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexPointerListIBM((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: IBM_vertex_array_lists] + [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "1.1", EntryPoint = "glVertexPointerListIBM")] + public static + void VertexPointerList(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, Int32 stride, [InAttribute, OutAttribute] ref T3 pointer, Int32 ptrstride) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexPointerListIBM((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + pointer = (T3)pointer_ptr.Target; + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + } + + public static partial class Ingr + { + + /// [requires: INGR_blend_func_separate] + /// Specify pixel arithmetic for RGB and alpha components separately + /// + /// + /// + /// Specifies how the red, green, and blue blending factors are computed. The initial value is GL_ONE. + /// + /// + /// + /// + /// Specifies how the red, green, and blue destination blending factors are computed. The initial value is GL_ZERO. + /// + /// + /// + /// + /// Specified how the alpha source blending factor is computed. The initial value is GL_ONE. + /// + /// + /// + /// + /// Specified how the alpha destination blending factor is computed. The initial value is GL_ZERO. + /// + /// + [AutoGenerated(Category = "INGR_blend_func_separate", Version = "1.0", EntryPoint = "glBlendFuncSeparateINGR")] + public static + void BlendFuncSeparate(OpenTK.Graphics.OpenGL.All sfactorRGB, OpenTK.Graphics.OpenGL.All dfactorRGB, OpenTK.Graphics.OpenGL.All sfactorAlpha, OpenTK.Graphics.OpenGL.All dfactorAlpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBlendFuncSeparateINGR((OpenTK.Graphics.OpenGL.All)sfactorRGB, (OpenTK.Graphics.OpenGL.All)dfactorRGB, (OpenTK.Graphics.OpenGL.All)sfactorAlpha, (OpenTK.Graphics.OpenGL.All)dfactorAlpha); + #if DEBUG + } + #endif + } + + } + + public static partial class Intel + { + + /// [requires: INTEL_parallel_arrays] + /// Define an array of colors + /// + /// + /// + /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "INTEL_parallel_arrays", Version = "1.1", EntryPoint = "glColorPointervINTEL")] + public static + void ColorPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColorPointervINTEL((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + + /// [requires: INTEL_parallel_arrays] + /// Define an array of colors + /// + /// + /// + /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "INTEL_parallel_arrays", Version = "1.1", EntryPoint = "glColorPointervINTEL")] + public static + void ColorPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, [InAttribute, OutAttribute] T2[] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glColorPointervINTEL((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: INTEL_parallel_arrays] + /// Define an array of colors + /// + /// + /// + /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "INTEL_parallel_arrays", Version = "1.1", EntryPoint = "glColorPointervINTEL")] + public static + void ColorPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, [InAttribute, OutAttribute] T2[,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glColorPointervINTEL((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: INTEL_parallel_arrays] + /// Define an array of colors + /// + /// + /// + /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "INTEL_parallel_arrays", Version = "1.1", EntryPoint = "glColorPointervINTEL")] + public static + void ColorPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, [InAttribute, OutAttribute] T2[,,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glColorPointervINTEL((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: INTEL_parallel_arrays] + /// Define an array of colors + /// + /// + /// + /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "INTEL_parallel_arrays", Version = "1.1", EntryPoint = "glColorPointervINTEL")] + public static + void ColorPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, [InAttribute, OutAttribute] ref T2 pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glColorPointervINTEL((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + pointer = (T2)pointer_ptr.Target; + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: INTEL_parallel_arrays] + /// Define an array of normals + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "INTEL_parallel_arrays", Version = "1.1", EntryPoint = "glNormalPointervINTEL")] + public static + void NormalPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormalPointervINTEL((OpenTK.Graphics.OpenGL.NormalPointerType)type, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + + /// [requires: INTEL_parallel_arrays] + /// Define an array of normals + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "INTEL_parallel_arrays", Version = "1.1", EntryPoint = "glNormalPointervINTEL")] + public static + void NormalPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, [InAttribute, OutAttribute] T1[] pointer) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glNormalPointervINTEL((OpenTK.Graphics.OpenGL.NormalPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: INTEL_parallel_arrays] + /// Define an array of normals + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "INTEL_parallel_arrays", Version = "1.1", EntryPoint = "glNormalPointervINTEL")] + public static + void NormalPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, [InAttribute, OutAttribute] T1[,] pointer) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glNormalPointervINTEL((OpenTK.Graphics.OpenGL.NormalPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: INTEL_parallel_arrays] + /// Define an array of normals + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "INTEL_parallel_arrays", Version = "1.1", EntryPoint = "glNormalPointervINTEL")] + public static + void NormalPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, [InAttribute, OutAttribute] T1[,,] pointer) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glNormalPointervINTEL((OpenTK.Graphics.OpenGL.NormalPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: INTEL_parallel_arrays] + /// Define an array of normals + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "INTEL_parallel_arrays", Version = "1.1", EntryPoint = "glNormalPointervINTEL")] + public static + void NormalPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, [InAttribute, OutAttribute] ref T1 pointer) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glNormalPointervINTEL((OpenTK.Graphics.OpenGL.NormalPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + pointer = (T1)pointer_ptr.Target; + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: INTEL_parallel_arrays] + /// Define an array of texture coordinates + /// + /// + /// + /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "INTEL_parallel_arrays", Version = "1.1", EntryPoint = "glTexCoordPointervINTEL")] + public static + void TexCoordPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoordPointervINTEL((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + + /// [requires: INTEL_parallel_arrays] + /// Define an array of texture coordinates + /// + /// + /// + /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "INTEL_parallel_arrays", Version = "1.1", EntryPoint = "glTexCoordPointervINTEL")] + public static + void TexCoordPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, [InAttribute, OutAttribute] T2[] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glTexCoordPointervINTEL((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: INTEL_parallel_arrays] + /// Define an array of texture coordinates + /// + /// + /// + /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "INTEL_parallel_arrays", Version = "1.1", EntryPoint = "glTexCoordPointervINTEL")] + public static + void TexCoordPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, [InAttribute, OutAttribute] T2[,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glTexCoordPointervINTEL((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: INTEL_parallel_arrays] + /// Define an array of texture coordinates + /// + /// + /// + /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "INTEL_parallel_arrays", Version = "1.1", EntryPoint = "glTexCoordPointervINTEL")] + public static + void TexCoordPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, [InAttribute, OutAttribute] T2[,,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glTexCoordPointervINTEL((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: INTEL_parallel_arrays] + /// Define an array of texture coordinates + /// + /// + /// + /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "INTEL_parallel_arrays", Version = "1.1", EntryPoint = "glTexCoordPointervINTEL")] + public static + void TexCoordPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, [InAttribute, OutAttribute] ref T2 pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glTexCoordPointervINTEL((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + pointer = (T2)pointer_ptr.Target; + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: INTEL_parallel_arrays] + /// Define an array of vertex data + /// + /// + /// + /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "INTEL_parallel_arrays", Version = "1.1", EntryPoint = "glVertexPointervINTEL")] + public static + void VertexPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexPointervINTEL((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + + /// [requires: INTEL_parallel_arrays] + /// Define an array of vertex data + /// + /// + /// + /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "INTEL_parallel_arrays", Version = "1.1", EntryPoint = "glVertexPointervINTEL")] + public static + void VertexPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, [InAttribute, OutAttribute] T2[] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexPointervINTEL((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: INTEL_parallel_arrays] + /// Define an array of vertex data + /// + /// + /// + /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "INTEL_parallel_arrays", Version = "1.1", EntryPoint = "glVertexPointervINTEL")] + public static + void VertexPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, [InAttribute, OutAttribute] T2[,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexPointervINTEL((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: INTEL_parallel_arrays] + /// Define an array of vertex data + /// + /// + /// + /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "INTEL_parallel_arrays", Version = "1.1", EntryPoint = "glVertexPointervINTEL")] + public static + void VertexPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, [InAttribute, OutAttribute] T2[,,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexPointervINTEL((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: INTEL_parallel_arrays] + /// Define an array of vertex data + /// + /// + /// + /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "INTEL_parallel_arrays", Version = "1.1", EntryPoint = "glVertexPointervINTEL")] + public static + void VertexPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, [InAttribute, OutAttribute] ref T2 pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexPointervINTEL((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + pointer = (T2)pointer_ptr.Target; + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + } + + public static partial class Mesa + { + /// [requires: MESA_resize_buffers] + [AutoGenerated(Category = "MESA_resize_buffers", Version = "1.0", EntryPoint = "glResizeBuffersMESA")] + public static + void ResizeBuffers() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glResizeBuffersMESA(); + #if DEBUG + } + #endif + } + + + /// [requires: MESA_window_pos] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "MESA_window_pos", Version = "1.0", EntryPoint = "glWindowPos2dMESA")] + public static + void WindowPos2(Double x, Double y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos2dMESA((Double)x, (Double)y); + #if DEBUG + } + #endif + } + + + /// [requires: MESA_window_pos] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "MESA_window_pos", Version = "1.0", EntryPoint = "glWindowPos2dvMESA")] + public static + void WindowPos2(Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glWindowPos2dvMESA((Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: MESA_window_pos] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "MESA_window_pos", Version = "1.0", EntryPoint = "glWindowPos2dvMESA")] + public static + void WindowPos2(ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glWindowPos2dvMESA((Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: MESA_window_pos] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "MESA_window_pos", Version = "1.0", EntryPoint = "glWindowPos2dvMESA")] + public static + unsafe void WindowPos2(Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos2dvMESA((Double*)v); + #if DEBUG + } + #endif + } + + + /// [requires: MESA_window_pos] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "MESA_window_pos", Version = "1.0", EntryPoint = "glWindowPos2fMESA")] + public static + void WindowPos2(Single x, Single y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos2fMESA((Single)x, (Single)y); + #if DEBUG + } + #endif + } + + + /// [requires: MESA_window_pos] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "MESA_window_pos", Version = "1.0", EntryPoint = "glWindowPos2fvMESA")] + public static + void WindowPos2(Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glWindowPos2fvMESA((Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: MESA_window_pos] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "MESA_window_pos", Version = "1.0", EntryPoint = "glWindowPos2fvMESA")] + public static + void WindowPos2(ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glWindowPos2fvMESA((Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: MESA_window_pos] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "MESA_window_pos", Version = "1.0", EntryPoint = "glWindowPos2fvMESA")] + public static + unsafe void WindowPos2(Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos2fvMESA((Single*)v); + #if DEBUG + } + #endif + } + + + /// [requires: MESA_window_pos] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "MESA_window_pos", Version = "1.0", EntryPoint = "glWindowPos2iMESA")] + public static + void WindowPos2(Int32 x, Int32 y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos2iMESA((Int32)x, (Int32)y); + #if DEBUG + } + #endif + } + + + /// [requires: MESA_window_pos] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "MESA_window_pos", Version = "1.0", EntryPoint = "glWindowPos2ivMESA")] + public static + void WindowPos2(Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glWindowPos2ivMESA((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: MESA_window_pos] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "MESA_window_pos", Version = "1.0", EntryPoint = "glWindowPos2ivMESA")] + public static + void WindowPos2(ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glWindowPos2ivMESA((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: MESA_window_pos] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "MESA_window_pos", Version = "1.0", EntryPoint = "glWindowPos2ivMESA")] + public static + unsafe void WindowPos2(Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos2ivMESA((Int32*)v); + #if DEBUG + } + #endif + } + + + /// [requires: MESA_window_pos] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "MESA_window_pos", Version = "1.0", EntryPoint = "glWindowPos2sMESA")] + public static + void WindowPos2(Int16 x, Int16 y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos2sMESA((Int16)x, (Int16)y); + #if DEBUG + } + #endif + } + + + /// [requires: MESA_window_pos] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "MESA_window_pos", Version = "1.0", EntryPoint = "glWindowPos2svMESA")] + public static + void WindowPos2(Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glWindowPos2svMESA((Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: MESA_window_pos] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "MESA_window_pos", Version = "1.0", EntryPoint = "glWindowPos2svMESA")] + public static + void WindowPos2(ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glWindowPos2svMESA((Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: MESA_window_pos] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "MESA_window_pos", Version = "1.0", EntryPoint = "glWindowPos2svMESA")] + public static + unsafe void WindowPos2(Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos2svMESA((Int16*)v); + #if DEBUG + } + #endif + } + + + /// [requires: MESA_window_pos] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "MESA_window_pos", Version = "1.0", EntryPoint = "glWindowPos3dMESA")] + public static + void WindowPos3(Double x, Double y, Double z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos3dMESA((Double)x, (Double)y, (Double)z); + #if DEBUG + } + #endif + } + + + /// [requires: MESA_window_pos] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "MESA_window_pos", Version = "1.0", EntryPoint = "glWindowPos3dvMESA")] + public static + void WindowPos3(Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glWindowPos3dvMESA((Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: MESA_window_pos] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "MESA_window_pos", Version = "1.0", EntryPoint = "glWindowPos3dvMESA")] + public static + void WindowPos3(ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glWindowPos3dvMESA((Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: MESA_window_pos] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "MESA_window_pos", Version = "1.0", EntryPoint = "glWindowPos3dvMESA")] + public static + unsafe void WindowPos3(Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos3dvMESA((Double*)v); + #if DEBUG + } + #endif + } + + + /// [requires: MESA_window_pos] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "MESA_window_pos", Version = "1.0", EntryPoint = "glWindowPos3fMESA")] + public static + void WindowPos3(Single x, Single y, Single z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos3fMESA((Single)x, (Single)y, (Single)z); + #if DEBUG + } + #endif + } + + + /// [requires: MESA_window_pos] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "MESA_window_pos", Version = "1.0", EntryPoint = "glWindowPos3fvMESA")] + public static + void WindowPos3(Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glWindowPos3fvMESA((Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: MESA_window_pos] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "MESA_window_pos", Version = "1.0", EntryPoint = "glWindowPos3fvMESA")] + public static + void WindowPos3(ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glWindowPos3fvMESA((Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: MESA_window_pos] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "MESA_window_pos", Version = "1.0", EntryPoint = "glWindowPos3fvMESA")] + public static + unsafe void WindowPos3(Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos3fvMESA((Single*)v); + #if DEBUG + } + #endif + } + + + /// [requires: MESA_window_pos] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "MESA_window_pos", Version = "1.0", EntryPoint = "glWindowPos3iMESA")] + public static + void WindowPos3(Int32 x, Int32 y, Int32 z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos3iMESA((Int32)x, (Int32)y, (Int32)z); + #if DEBUG + } + #endif + } + + + /// [requires: MESA_window_pos] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "MESA_window_pos", Version = "1.0", EntryPoint = "glWindowPos3ivMESA")] + public static + void WindowPos3(Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glWindowPos3ivMESA((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: MESA_window_pos] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "MESA_window_pos", Version = "1.0", EntryPoint = "glWindowPos3ivMESA")] + public static + void WindowPos3(ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glWindowPos3ivMESA((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: MESA_window_pos] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "MESA_window_pos", Version = "1.0", EntryPoint = "glWindowPos3ivMESA")] + public static + unsafe void WindowPos3(Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos3ivMESA((Int32*)v); + #if DEBUG + } + #endif + } + + + /// [requires: MESA_window_pos] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "MESA_window_pos", Version = "1.0", EntryPoint = "glWindowPos3sMESA")] + public static + void WindowPos3(Int16 x, Int16 y, Int16 z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos3sMESA((Int16)x, (Int16)y, (Int16)z); + #if DEBUG + } + #endif + } + + + /// [requires: MESA_window_pos] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "MESA_window_pos", Version = "1.0", EntryPoint = "glWindowPos3svMESA")] + public static + void WindowPos3(Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glWindowPos3svMESA((Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: MESA_window_pos] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "MESA_window_pos", Version = "1.0", EntryPoint = "glWindowPos3svMESA")] + public static + void WindowPos3(ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glWindowPos3svMESA((Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: MESA_window_pos] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "MESA_window_pos", Version = "1.0", EntryPoint = "glWindowPos3svMESA")] + public static + unsafe void WindowPos3(Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos3svMESA((Int16*)v); + #if DEBUG + } + #endif + } + + + /// [requires: MESA_window_pos] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "MESA_window_pos", Version = "1.0", EntryPoint = "glWindowPos4dMESA")] + public static + void WindowPos4(Double x, Double y, Double z, Double w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos4dMESA((Double)x, (Double)y, (Double)z, (Double)w); + #if DEBUG + } + #endif + } + + + /// [requires: MESA_window_pos] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "MESA_window_pos", Version = "1.0", EntryPoint = "glWindowPos4dvMESA")] + public static + void WindowPos4(Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glWindowPos4dvMESA((Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: MESA_window_pos] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "MESA_window_pos", Version = "1.0", EntryPoint = "glWindowPos4dvMESA")] + public static + void WindowPos4(ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glWindowPos4dvMESA((Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: MESA_window_pos] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "MESA_window_pos", Version = "1.0", EntryPoint = "glWindowPos4dvMESA")] + public static + unsafe void WindowPos4(Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos4dvMESA((Double*)v); + #if DEBUG + } + #endif + } + + + /// [requires: MESA_window_pos] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "MESA_window_pos", Version = "1.0", EntryPoint = "glWindowPos4fMESA")] + public static + void WindowPos4(Single x, Single y, Single z, Single w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos4fMESA((Single)x, (Single)y, (Single)z, (Single)w); + #if DEBUG + } + #endif + } + + + /// [requires: MESA_window_pos] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "MESA_window_pos", Version = "1.0", EntryPoint = "glWindowPos4fvMESA")] + public static + void WindowPos4(Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glWindowPos4fvMESA((Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: MESA_window_pos] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "MESA_window_pos", Version = "1.0", EntryPoint = "glWindowPos4fvMESA")] + public static + void WindowPos4(ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glWindowPos4fvMESA((Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: MESA_window_pos] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "MESA_window_pos", Version = "1.0", EntryPoint = "glWindowPos4fvMESA")] + public static + unsafe void WindowPos4(Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos4fvMESA((Single*)v); + #if DEBUG + } + #endif + } + + + /// [requires: MESA_window_pos] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "MESA_window_pos", Version = "1.0", EntryPoint = "glWindowPos4iMESA")] + public static + void WindowPos4(Int32 x, Int32 y, Int32 z, Int32 w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos4iMESA((Int32)x, (Int32)y, (Int32)z, (Int32)w); + #if DEBUG + } + #endif + } + + + /// [requires: MESA_window_pos] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "MESA_window_pos", Version = "1.0", EntryPoint = "glWindowPos4ivMESA")] + public static + void WindowPos4(Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glWindowPos4ivMESA((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: MESA_window_pos] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "MESA_window_pos", Version = "1.0", EntryPoint = "glWindowPos4ivMESA")] + public static + void WindowPos4(ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glWindowPos4ivMESA((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: MESA_window_pos] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "MESA_window_pos", Version = "1.0", EntryPoint = "glWindowPos4ivMESA")] + public static + unsafe void WindowPos4(Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos4ivMESA((Int32*)v); + #if DEBUG + } + #endif + } + + + /// [requires: MESA_window_pos] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "MESA_window_pos", Version = "1.0", EntryPoint = "glWindowPos4sMESA")] + public static + void WindowPos4(Int16 x, Int16 y, Int16 z, Int16 w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos4sMESA((Int16)x, (Int16)y, (Int16)z, (Int16)w); + #if DEBUG + } + #endif + } + + + /// [requires: MESA_window_pos] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "MESA_window_pos", Version = "1.0", EntryPoint = "glWindowPos4svMESA")] + public static + void WindowPos4(Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glWindowPos4svMESA((Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: MESA_window_pos] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "MESA_window_pos", Version = "1.0", EntryPoint = "glWindowPos4svMESA")] + public static + void WindowPos4(ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glWindowPos4svMESA((Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: MESA_window_pos] + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "MESA_window_pos", Version = "1.0", EntryPoint = "glWindowPos4svMESA")] + public static + unsafe void WindowPos4(Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos4svMESA((Int16*)v); + #if DEBUG + } + #endif + } + + } + + public static partial class NV + { + /// [requires: NV_transform_feedback] + [AutoGenerated(Category = "NV_transform_feedback", Version = "1.5", EntryPoint = "glActiveVaryingNV")] + public static + void ActiveVarying(Int32 program, String name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glActiveVaryingNV((UInt32)program, (String)name); + #if DEBUG + } + #endif + } + + /// [requires: NV_transform_feedback] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_transform_feedback", Version = "1.5", EntryPoint = "glActiveVaryingNV")] + public static + void ActiveVarying(UInt32 program, String name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glActiveVaryingNV((UInt32)program, (String)name); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glAreProgramsResidentNV")] + public static + bool AreProgramsResident(Int32 n, Int32[] programs, [OutAttribute] bool[] residences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* programs_ptr = programs) + fixed (bool* residences_ptr = residences) + { + return Delegates.glAreProgramsResidentNV((Int32)n, (UInt32*)programs_ptr, (bool*)residences_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glAreProgramsResidentNV")] + public static + bool AreProgramsResident(Int32 n, ref Int32 programs, [OutAttribute] out bool residences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* programs_ptr = &programs) + fixed (bool* residences_ptr = &residences) + { + bool retval = Delegates.glAreProgramsResidentNV((Int32)n, (UInt32*)programs_ptr, (bool*)residences_ptr); + residences = *residences_ptr; + return retval; + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glAreProgramsResidentNV")] + public static + unsafe bool AreProgramsResident(Int32 n, Int32* programs, [OutAttribute] bool* residences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glAreProgramsResidentNV((Int32)n, (UInt32*)programs, (bool*)residences); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glAreProgramsResidentNV")] + public static + bool AreProgramsResident(Int32 n, UInt32[] programs, [OutAttribute] bool[] residences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* programs_ptr = programs) + fixed (bool* residences_ptr = residences) + { + return Delegates.glAreProgramsResidentNV((Int32)n, (UInt32*)programs_ptr, (bool*)residences_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glAreProgramsResidentNV")] + public static + bool AreProgramsResident(Int32 n, ref UInt32 programs, [OutAttribute] out bool residences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* programs_ptr = &programs) + fixed (bool* residences_ptr = &residences) + { + bool retval = Delegates.glAreProgramsResidentNV((Int32)n, (UInt32*)programs_ptr, (bool*)residences_ptr); + residences = *residences_ptr; + return retval; + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glAreProgramsResidentNV")] + public static + unsafe bool AreProgramsResident(Int32 n, UInt32* programs, [OutAttribute] bool* residences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glAreProgramsResidentNV((Int32)n, (UInt32*)programs, (bool*)residences); + #if DEBUG + } + #endif + } + + + /// [requires: NV_conditional_render] + /// Start conditional rendering + /// + /// + /// + /// Specifies the name of an occlusion query object whose results are used to determine if the rendering commands are discarded. + /// + /// + /// + /// + /// Specifies how glBeginConditionalRender interprets the results of the occlusion query. + /// + /// + [AutoGenerated(Category = "NV_conditional_render", Version = "", EntryPoint = "glBeginConditionalRenderNV")] + public static + void BeginConditionalRender(Int32 id, OpenTK.Graphics.OpenGL.NvConditionalRender mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBeginConditionalRenderNV((UInt32)id, (OpenTK.Graphics.OpenGL.NvConditionalRender)mode); + #if DEBUG + } + #endif + } + + + /// [requires: NV_conditional_render] + /// Start conditional rendering + /// + /// + /// + /// Specifies the name of an occlusion query object whose results are used to determine if the rendering commands are discarded. + /// + /// + /// + /// + /// Specifies how glBeginConditionalRender interprets the results of the occlusion query. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_conditional_render", Version = "", EntryPoint = "glBeginConditionalRenderNV")] + public static + void BeginConditionalRender(UInt32 id, OpenTK.Graphics.OpenGL.NvConditionalRender mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBeginConditionalRenderNV((UInt32)id, (OpenTK.Graphics.OpenGL.NvConditionalRender)mode); + #if DEBUG + } + #endif + } + + /// [requires: NV_occlusion_query] + [AutoGenerated(Category = "NV_occlusion_query", Version = "1.2", EntryPoint = "glBeginOcclusionQueryNV")] + public static + void BeginOcclusionQuery(Int32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBeginOcclusionQueryNV((UInt32)id); + #if DEBUG + } + #endif + } + + /// [requires: NV_occlusion_query] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_occlusion_query", Version = "1.2", EntryPoint = "glBeginOcclusionQueryNV")] + public static + void BeginOcclusionQuery(UInt32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBeginOcclusionQueryNV((UInt32)id); + #if DEBUG + } + #endif + } + + + /// [requires: NV_transform_feedback] + /// Start transform feedback operation + /// + /// + /// + /// Specify the output type of the primitives that will be recorded into the buffer objects that are bound for transform feedback. + /// + /// + [AutoGenerated(Category = "NV_transform_feedback", Version = "1.5", EntryPoint = "glBeginTransformFeedbackNV")] + public static + void BeginTransformFeedback(OpenTK.Graphics.OpenGL.NvTransformFeedback primitiveMode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBeginTransformFeedbackNV((OpenTK.Graphics.OpenGL.NvTransformFeedback)primitiveMode); + #if DEBUG + } + #endif + } + + /// [requires: NV_video_capture] + [AutoGenerated(Category = "NV_video_capture", Version = "1.2", EntryPoint = "glBeginVideoCaptureNV")] + public static + void BeginVideoCapture(Int32 video_capture_slot) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBeginVideoCaptureNV((UInt32)video_capture_slot); + #if DEBUG + } + #endif + } + + /// [requires: NV_video_capture] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_video_capture", Version = "1.2", EntryPoint = "glBeginVideoCaptureNV")] + public static + void BeginVideoCapture(UInt32 video_capture_slot) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBeginVideoCaptureNV((UInt32)video_capture_slot); + #if DEBUG + } + #endif + } + + + /// [requires: NV_transform_feedback] + /// Bind a buffer object to an indexed buffer target + /// + /// + /// + /// Specify the target of the bind operation. target must be either GL_TRANSFORM_FEEDBACK_BUFFER or GL_UNIFORM_BUFFER. + /// + /// + /// + /// + /// Specify the index of the binding point within the array specified by target. + /// + /// + /// + /// + /// The name of a buffer object to bind to the specified binding point. + /// + /// + [AutoGenerated(Category = "NV_transform_feedback", Version = "1.5", EntryPoint = "glBindBufferBaseNV")] + public static + void BindBufferBase(OpenTK.Graphics.OpenGL.NvTransformFeedback target, Int32 index, Int32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindBufferBaseNV((OpenTK.Graphics.OpenGL.NvTransformFeedback)target, (UInt32)index, (UInt32)buffer); + #if DEBUG + } + #endif + } + + + /// [requires: NV_transform_feedback] + /// Bind a buffer object to an indexed buffer target + /// + /// + /// + /// Specify the target of the bind operation. target must be either GL_TRANSFORM_FEEDBACK_BUFFER or GL_UNIFORM_BUFFER. + /// + /// + /// + /// + /// Specify the index of the binding point within the array specified by target. + /// + /// + /// + /// + /// The name of a buffer object to bind to the specified binding point. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_transform_feedback", Version = "1.5", EntryPoint = "glBindBufferBaseNV")] + public static + void BindBufferBase(OpenTK.Graphics.OpenGL.NvTransformFeedback target, UInt32 index, UInt32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindBufferBaseNV((OpenTK.Graphics.OpenGL.NvTransformFeedback)target, (UInt32)index, (UInt32)buffer); + #if DEBUG + } + #endif + } + + /// [requires: NV_transform_feedback] + [AutoGenerated(Category = "NV_transform_feedback", Version = "1.5", EntryPoint = "glBindBufferOffsetNV")] + public static + void BindBufferOffset(OpenTK.Graphics.OpenGL.NvTransformFeedback target, Int32 index, Int32 buffer, IntPtr offset) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindBufferOffsetNV((OpenTK.Graphics.OpenGL.NvTransformFeedback)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset); + #if DEBUG + } + #endif + } + + /// [requires: NV_transform_feedback] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_transform_feedback", Version = "1.5", EntryPoint = "glBindBufferOffsetNV")] + public static + void BindBufferOffset(OpenTK.Graphics.OpenGL.NvTransformFeedback target, UInt32 index, UInt32 buffer, IntPtr offset) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindBufferOffsetNV((OpenTK.Graphics.OpenGL.NvTransformFeedback)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset); + #if DEBUG + } + #endif + } + + + /// [requires: NV_transform_feedback] + /// Bind a range within a buffer object to an indexed buffer target + /// + /// + /// + /// Specify the target of the bind operation. target must be either GL_TRANSFORM_FEEDBACK_BUFFER or GL_UNIFORM_BUFFER. + /// + /// + /// + /// + /// Specify the index of the binding point within the array specified by target. + /// + /// + /// + /// + /// The name of a buffer object to bind to the specified binding point. + /// + /// + /// + /// + /// The starting offset in basic machine units into the buffer object buffer. + /// + /// + /// + /// + /// The amount of data in machine units that can be read from the buffet object while used as an indexed target. + /// + /// + [AutoGenerated(Category = "NV_transform_feedback", Version = "1.5", EntryPoint = "glBindBufferRangeNV")] + public static + void BindBufferRange(OpenTK.Graphics.OpenGL.NvTransformFeedback target, Int32 index, Int32 buffer, IntPtr offset, IntPtr size) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindBufferRangeNV((OpenTK.Graphics.OpenGL.NvTransformFeedback)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size); + #if DEBUG + } + #endif + } + + + /// [requires: NV_transform_feedback] + /// Bind a range within a buffer object to an indexed buffer target + /// + /// + /// + /// Specify the target of the bind operation. target must be either GL_TRANSFORM_FEEDBACK_BUFFER or GL_UNIFORM_BUFFER. + /// + /// + /// + /// + /// Specify the index of the binding point within the array specified by target. + /// + /// + /// + /// + /// The name of a buffer object to bind to the specified binding point. + /// + /// + /// + /// + /// The starting offset in basic machine units into the buffer object buffer. + /// + /// + /// + /// + /// The amount of data in machine units that can be read from the buffet object while used as an indexed target. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_transform_feedback", Version = "1.5", EntryPoint = "glBindBufferRangeNV")] + public static + void BindBufferRange(OpenTK.Graphics.OpenGL.NvTransformFeedback target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindBufferRangeNV((OpenTK.Graphics.OpenGL.NvTransformFeedback)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glBindProgramNV")] + public static + void BindProgram(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindProgramNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)id); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glBindProgramNV")] + public static + void BindProgram(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindProgramNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)id); + #if DEBUG + } + #endif + } + + + /// [requires: NV_transform_feedback2] + /// Bind a transform feedback object + /// + /// + /// + /// Specifies the target to which to bind the transform feedback object id. target must be GL_TRANSFORM_FEEDBACK. + /// + /// + /// + /// + /// Specifies the name of a transform feedback object reserved by glGenTransformFeedbacks. + /// + /// + [AutoGenerated(Category = "NV_transform_feedback2", Version = "", EntryPoint = "glBindTransformFeedbackNV")] + public static + void BindTransformFeedback(OpenTK.Graphics.OpenGL.NvTransformFeedback2 target, Int32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindTransformFeedbackNV((OpenTK.Graphics.OpenGL.NvTransformFeedback2)target, (UInt32)id); + #if DEBUG + } + #endif + } + + + /// [requires: NV_transform_feedback2] + /// Bind a transform feedback object + /// + /// + /// + /// Specifies the target to which to bind the transform feedback object id. target must be GL_TRANSFORM_FEEDBACK. + /// + /// + /// + /// + /// Specifies the name of a transform feedback object reserved by glGenTransformFeedbacks. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_transform_feedback2", Version = "", EntryPoint = "glBindTransformFeedbackNV")] + public static + void BindTransformFeedback(OpenTK.Graphics.OpenGL.NvTransformFeedback2 target, UInt32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindTransformFeedbackNV((OpenTK.Graphics.OpenGL.NvTransformFeedback2)target, (UInt32)id); + #if DEBUG + } + #endif + } + + /// [requires: NV_video_capture] + [AutoGenerated(Category = "NV_video_capture", Version = "1.2", EntryPoint = "glBindVideoCaptureStreamBufferNV")] + public static + void BindVideoCaptureStreamBuffer(Int32 video_capture_slot, Int32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture frame_region, IntPtr offset) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindVideoCaptureStreamBufferNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)frame_region, (IntPtr)offset); + #if DEBUG + } + #endif + } + + /// [requires: NV_video_capture] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_video_capture", Version = "1.2", EntryPoint = "glBindVideoCaptureStreamBufferNV")] + public static + void BindVideoCaptureStreamBuffer(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture frame_region, IntPtr offset) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindVideoCaptureStreamBufferNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)frame_region, (IntPtr)offset); + #if DEBUG + } + #endif + } + + /// [requires: NV_video_capture] + [AutoGenerated(Category = "NV_video_capture", Version = "1.2", EntryPoint = "glBindVideoCaptureStreamTextureNV")] + public static + void BindVideoCaptureStreamTexture(Int32 video_capture_slot, Int32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture frame_region, OpenTK.Graphics.OpenGL.NvVideoCapture target, Int32 texture) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindVideoCaptureStreamTextureNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)frame_region, (OpenTK.Graphics.OpenGL.NvVideoCapture)target, (UInt32)texture); + #if DEBUG + } + #endif + } + + /// [requires: NV_video_capture] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_video_capture", Version = "1.2", EntryPoint = "glBindVideoCaptureStreamTextureNV")] + public static + void BindVideoCaptureStreamTexture(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture frame_region, OpenTK.Graphics.OpenGL.NvVideoCapture target, UInt32 texture) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindVideoCaptureStreamTextureNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)frame_region, (OpenTK.Graphics.OpenGL.NvVideoCapture)target, (UInt32)texture); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_buffer_unified_memory] + [AutoGenerated(Category = "NV_vertex_buffer_unified_memory", Version = "1.2", EntryPoint = "glBufferAddressRangeNV")] + public static + void BufferAddressRange(OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory pname, Int32 index, Int64 address, IntPtr length) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBufferAddressRangeNV((OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory)pname, (UInt32)index, (UInt64)address, (IntPtr)length); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_buffer_unified_memory] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_buffer_unified_memory", Version = "1.2", EntryPoint = "glBufferAddressRangeNV")] + public static + void BufferAddressRange(OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory pname, UInt32 index, UInt64 address, IntPtr length) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBufferAddressRangeNV((OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory)pname, (UInt32)index, (UInt64)address, (IntPtr)length); + #if DEBUG + } + #endif + } + + + /// [requires: NV_depth_buffer_float] + /// Specify the clear value for the depth buffer + /// + /// + /// + /// Specifies the depth value used when the depth buffer is cleared. The initial value is 1. + /// + /// + [AutoGenerated(Category = "NV_depth_buffer_float", Version = "2.0", EntryPoint = "glClearDepthdNV")] + public static + void ClearDepth(Double depth) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glClearDepthdNV((Double)depth); + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glColor3hNV")] + public static + void Color3h(Half red, Half green, Half blue) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor3hNV((Half)red, (Half)green, (Half)blue); + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glColor3hvNV")] + public static + void Color3h(Half[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Half* v_ptr = v) + { + Delegates.glColor3hvNV((Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glColor3hvNV")] + public static + void Color3h(ref Half v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Half* v_ptr = &v) + { + Delegates.glColor3hvNV((Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glColor3hvNV")] + public static + unsafe void Color3h(Half* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor3hvNV((Half*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glColor4hNV")] + public static + void Color4h(Half red, Half green, Half blue, Half alpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor4hNV((Half)red, (Half)green, (Half)blue, (Half)alpha); + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glColor4hvNV")] + public static + void Color4h(Half[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Half* v_ptr = v) + { + Delegates.glColor4hvNV((Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glColor4hvNV")] + public static + void Color4h(ref Half v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Half* v_ptr = &v) + { + Delegates.glColor4hvNV((Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glColor4hvNV")] + public static + unsafe void Color4h(Half* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor4hvNV((Half*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_buffer_unified_memory] + [AutoGenerated(Category = "NV_vertex_buffer_unified_memory", Version = "1.2", EntryPoint = "glColorFormatNV")] + public static + void ColorFormat(Int32 size, OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColorFormatNV((Int32)size, (OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory)type, (Int32)stride); + #if DEBUG + } + #endif + } + + /// [requires: NV_register_combiners] + [AutoGenerated(Category = "NV_register_combiners", Version = "1.1", EntryPoint = "glCombinerInputNV")] + public static + void CombinerInput(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners input, OpenTK.Graphics.OpenGL.NvRegisterCombiners mapping, OpenTK.Graphics.OpenGL.NvRegisterCombiners componentUsage) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCombinerInputNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners)stage, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)portion, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)variable, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)input, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)mapping, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)componentUsage); + #if DEBUG + } + #endif + } + + /// [requires: NV_register_combiners] + [AutoGenerated(Category = "NV_register_combiners", Version = "1.1", EntryPoint = "glCombinerOutputNV")] + public static + void CombinerOutput(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners abOutput, OpenTK.Graphics.OpenGL.NvRegisterCombiners cdOutput, OpenTK.Graphics.OpenGL.NvRegisterCombiners sumOutput, OpenTK.Graphics.OpenGL.NvRegisterCombiners scale, OpenTK.Graphics.OpenGL.NvRegisterCombiners bias, bool abDotProduct, bool cdDotProduct, bool muxSum) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCombinerOutputNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners)stage, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)portion, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)abOutput, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)cdOutput, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)sumOutput, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)scale, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)bias, (bool)abDotProduct, (bool)cdDotProduct, (bool)muxSum); + #if DEBUG + } + #endif + } + + /// [requires: NV_register_combiners] + [AutoGenerated(Category = "NV_register_combiners", Version = "1.1", EntryPoint = "glCombinerParameterfNV")] + public static + void CombinerParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, Single param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCombinerParameterfNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (Single)param); + #if DEBUG + } + #endif + } + + /// [requires: NV_register_combiners] + [AutoGenerated(Category = "NV_register_combiners", Version = "1.1", EntryPoint = "glCombinerParameterfvNV")] + public static + void CombinerParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glCombinerParameterfvNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_register_combiners] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_register_combiners", Version = "1.1", EntryPoint = "glCombinerParameterfvNV")] + public static + unsafe void CombinerParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCombinerParameterfvNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: NV_register_combiners] + [AutoGenerated(Category = "NV_register_combiners", Version = "1.1", EntryPoint = "glCombinerParameteriNV")] + public static + void CombinerParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, Int32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCombinerParameteriNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (Int32)param); + #if DEBUG + } + #endif + } + + /// [requires: NV_register_combiners] + [AutoGenerated(Category = "NV_register_combiners", Version = "1.1", EntryPoint = "glCombinerParameterivNV")] + public static + void CombinerParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glCombinerParameterivNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_register_combiners] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_register_combiners", Version = "1.1", EntryPoint = "glCombinerParameterivNV")] + public static + unsafe void CombinerParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCombinerParameterivNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: NV_register_combiners2] + [AutoGenerated(Category = "NV_register_combiners2", Version = "1.1", EntryPoint = "glCombinerStageParameterfvNV")] + public static + void CombinerStageParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners2 stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners2 pname, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glCombinerStageParameterfvNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners2)stage, (OpenTK.Graphics.OpenGL.NvRegisterCombiners2)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_register_combiners2] + [AutoGenerated(Category = "NV_register_combiners2", Version = "1.1", EntryPoint = "glCombinerStageParameterfvNV")] + public static + void CombinerStageParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners2 stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners2 pname, ref Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glCombinerStageParameterfvNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners2)stage, (OpenTK.Graphics.OpenGL.NvRegisterCombiners2)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_register_combiners2] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_register_combiners2", Version = "1.1", EntryPoint = "glCombinerStageParameterfvNV")] + public static + unsafe void CombinerStageParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners2 stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners2 pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCombinerStageParameterfvNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners2)stage, (OpenTK.Graphics.OpenGL.NvRegisterCombiners2)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: NV_copy_image] + [AutoGenerated(Category = "NV_copy_image", Version = "1.2", EntryPoint = "glCopyImageSubDataNV")] + public static + void CopyImageSubData(Int32 srcName, OpenTK.Graphics.OpenGL.NvCopyImage srcTarget, Int32 srcLevel, Int32 srcX, Int32 srcY, Int32 srcZ, Int32 dstName, OpenTK.Graphics.OpenGL.NvCopyImage dstTarget, Int32 dstLevel, Int32 dstX, Int32 dstY, Int32 dstZ, Int32 width, Int32 height, Int32 depth) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCopyImageSubDataNV((UInt32)srcName, (OpenTK.Graphics.OpenGL.NvCopyImage)srcTarget, (Int32)srcLevel, (Int32)srcX, (Int32)srcY, (Int32)srcZ, (UInt32)dstName, (OpenTK.Graphics.OpenGL.NvCopyImage)dstTarget, (Int32)dstLevel, (Int32)dstX, (Int32)dstY, (Int32)dstZ, (Int32)width, (Int32)height, (Int32)depth); + #if DEBUG + } + #endif + } + + /// [requires: NV_copy_image] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_copy_image", Version = "1.2", EntryPoint = "glCopyImageSubDataNV")] + public static + void CopyImageSubData(UInt32 srcName, OpenTK.Graphics.OpenGL.NvCopyImage srcTarget, Int32 srcLevel, Int32 srcX, Int32 srcY, Int32 srcZ, UInt32 dstName, OpenTK.Graphics.OpenGL.NvCopyImage dstTarget, Int32 dstLevel, Int32 dstX, Int32 dstY, Int32 dstZ, Int32 width, Int32 height, Int32 depth) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCopyImageSubDataNV((UInt32)srcName, (OpenTK.Graphics.OpenGL.NvCopyImage)srcTarget, (Int32)srcLevel, (Int32)srcX, (Int32)srcY, (Int32)srcZ, (UInt32)dstName, (OpenTK.Graphics.OpenGL.NvCopyImage)dstTarget, (Int32)dstLevel, (Int32)dstX, (Int32)dstY, (Int32)dstZ, (Int32)width, (Int32)height, (Int32)depth); + #if DEBUG + } + #endif + } + + /// [requires: NV_fence] + [AutoGenerated(Category = "NV_fence", Version = "1.2", EntryPoint = "glDeleteFencesNV")] + public static + void DeleteFences(Int32 n, Int32[] fences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* fences_ptr = fences) + { + Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_fence] + [AutoGenerated(Category = "NV_fence", Version = "1.2", EntryPoint = "glDeleteFencesNV")] + public static + void DeleteFences(Int32 n, ref Int32 fences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* fences_ptr = &fences) + { + Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_fence] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_fence", Version = "1.2", EntryPoint = "glDeleteFencesNV")] + public static + unsafe void DeleteFences(Int32 n, Int32* fences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences); + #if DEBUG + } + #endif + } + + /// [requires: NV_fence] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_fence", Version = "1.2", EntryPoint = "glDeleteFencesNV")] + public static + void DeleteFences(Int32 n, UInt32[] fences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* fences_ptr = fences) + { + Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_fence] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_fence", Version = "1.2", EntryPoint = "glDeleteFencesNV")] + public static + void DeleteFences(Int32 n, ref UInt32 fences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* fences_ptr = &fences) + { + Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_fence] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_fence", Version = "1.2", EntryPoint = "glDeleteFencesNV")] + public static + unsafe void DeleteFences(Int32 n, UInt32* fences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences); + #if DEBUG + } + #endif + } + + /// [requires: NV_occlusion_query] + [AutoGenerated(Category = "NV_occlusion_query", Version = "1.2", EntryPoint = "glDeleteOcclusionQueriesNV")] + public static + void DeleteOcclusionQueries(Int32 n, Int32[] ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* ids_ptr = ids) + { + Delegates.glDeleteOcclusionQueriesNV((Int32)n, (UInt32*)ids_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_occlusion_query] + [AutoGenerated(Category = "NV_occlusion_query", Version = "1.2", EntryPoint = "glDeleteOcclusionQueriesNV")] + public static + void DeleteOcclusionQueries(Int32 n, ref Int32 ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* ids_ptr = &ids) + { + Delegates.glDeleteOcclusionQueriesNV((Int32)n, (UInt32*)ids_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_occlusion_query] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_occlusion_query", Version = "1.2", EntryPoint = "glDeleteOcclusionQueriesNV")] + public static + unsafe void DeleteOcclusionQueries(Int32 n, Int32* ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteOcclusionQueriesNV((Int32)n, (UInt32*)ids); + #if DEBUG + } + #endif + } + + /// [requires: NV_occlusion_query] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_occlusion_query", Version = "1.2", EntryPoint = "glDeleteOcclusionQueriesNV")] + public static + void DeleteOcclusionQueries(Int32 n, UInt32[] ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* ids_ptr = ids) + { + Delegates.glDeleteOcclusionQueriesNV((Int32)n, (UInt32*)ids_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_occlusion_query] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_occlusion_query", Version = "1.2", EntryPoint = "glDeleteOcclusionQueriesNV")] + public static + void DeleteOcclusionQueries(Int32 n, ref UInt32 ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* ids_ptr = &ids) + { + Delegates.glDeleteOcclusionQueriesNV((Int32)n, (UInt32*)ids_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_occlusion_query] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_occlusion_query", Version = "1.2", EntryPoint = "glDeleteOcclusionQueriesNV")] + public static + unsafe void DeleteOcclusionQueries(Int32 n, UInt32* ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteOcclusionQueriesNV((Int32)n, (UInt32*)ids); + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// Deletes a program object + /// + /// + /// + /// Specifies the program object to be deleted. + /// + /// + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glDeleteProgramsNV")] + public static + void DeleteProgram(Int32 n, Int32[] programs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* programs_ptr = programs) + { + Delegates.glDeleteProgramsNV((Int32)n, (UInt32*)programs_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// Deletes a program object + /// + /// + /// + /// Specifies the program object to be deleted. + /// + /// + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glDeleteProgramsNV")] + public static + void DeleteProgram(Int32 n, ref Int32 programs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* programs_ptr = &programs) + { + Delegates.glDeleteProgramsNV((Int32)n, (UInt32*)programs_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// Deletes a program object + /// + /// + /// + /// Specifies the program object to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glDeleteProgramsNV")] + public static + unsafe void DeleteProgram(Int32 n, Int32* programs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteProgramsNV((Int32)n, (UInt32*)programs); + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// Deletes a program object + /// + /// + /// + /// Specifies the program object to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glDeleteProgramsNV")] + public static + void DeleteProgram(Int32 n, UInt32[] programs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* programs_ptr = programs) + { + Delegates.glDeleteProgramsNV((Int32)n, (UInt32*)programs_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// Deletes a program object + /// + /// + /// + /// Specifies the program object to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glDeleteProgramsNV")] + public static + void DeleteProgram(Int32 n, ref UInt32 programs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* programs_ptr = &programs) + { + Delegates.glDeleteProgramsNV((Int32)n, (UInt32*)programs_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// Deletes a program object + /// + /// + /// + /// Specifies the program object to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glDeleteProgramsNV")] + public static + unsafe void DeleteProgram(Int32 n, UInt32* programs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteProgramsNV((Int32)n, (UInt32*)programs); + #if DEBUG + } + #endif + } + + /// [requires: NV_transform_feedback2] + [AutoGenerated(Category = "NV_transform_feedback2", Version = "", EntryPoint = "glDeleteTransformFeedbacksNV")] + public static + void DeleteTransformFeedback(Int32 n, Int32[] ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* ids_ptr = ids) + { + Delegates.glDeleteTransformFeedbacksNV((Int32)n, (UInt32*)ids_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_transform_feedback2] + [AutoGenerated(Category = "NV_transform_feedback2", Version = "", EntryPoint = "glDeleteTransformFeedbacksNV")] + public static + void DeleteTransformFeedback(Int32 n, ref Int32 ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* ids_ptr = &ids) + { + Delegates.glDeleteTransformFeedbacksNV((Int32)n, (UInt32*)ids_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_transform_feedback2] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_transform_feedback2", Version = "", EntryPoint = "glDeleteTransformFeedbacksNV")] + public static + unsafe void DeleteTransformFeedback(Int32 n, Int32* ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteTransformFeedbacksNV((Int32)n, (UInt32*)ids); + #if DEBUG + } + #endif + } + + /// [requires: NV_transform_feedback2] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_transform_feedback2", Version = "", EntryPoint = "glDeleteTransformFeedbacksNV")] + public static + void DeleteTransformFeedback(Int32 n, UInt32[] ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* ids_ptr = ids) + { + Delegates.glDeleteTransformFeedbacksNV((Int32)n, (UInt32*)ids_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_transform_feedback2] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_transform_feedback2", Version = "", EntryPoint = "glDeleteTransformFeedbacksNV")] + public static + void DeleteTransformFeedback(Int32 n, ref UInt32 ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* ids_ptr = &ids) + { + Delegates.glDeleteTransformFeedbacksNV((Int32)n, (UInt32*)ids_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_transform_feedback2] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_transform_feedback2", Version = "", EntryPoint = "glDeleteTransformFeedbacksNV")] + public static + unsafe void DeleteTransformFeedback(Int32 n, UInt32* ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteTransformFeedbacksNV((Int32)n, (UInt32*)ids); + #if DEBUG + } + #endif + } + + /// [requires: NV_depth_buffer_float] + [AutoGenerated(Category = "NV_depth_buffer_float", Version = "2.0", EntryPoint = "glDepthBoundsdNV")] + public static + void DepthBounds(Double zmin, Double zmax) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDepthBoundsdNV((Double)zmin, (Double)zmax); + #if DEBUG + } + #endif + } + + + /// [requires: NV_depth_buffer_float] + /// Specify mapping of depth values from normalized device coordinates to window coordinates + /// + /// + /// + /// Specifies the mapping of the near clipping plane to window coordinates. The initial value is 0. + /// + /// + /// + /// + /// Specifies the mapping of the far clipping plane to window coordinates. The initial value is 1. + /// + /// + [AutoGenerated(Category = "NV_depth_buffer_float", Version = "2.0", EntryPoint = "glDepthRangedNV")] + public static + void DepthRange(Double zNear, Double zFar) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDepthRangedNV((Double)zNear, (Double)zFar); + #if DEBUG + } + #endif + } + + + /// [requires: NV_transform_feedback2] + /// Render primitives using a count derived from a transform feedback object + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY, and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the name of a transform feedback object from which to retrieve a primitive count. + /// + /// + [AutoGenerated(Category = "NV_transform_feedback2", Version = "", EntryPoint = "glDrawTransformFeedbackNV")] + public static + void DrawTransformFeedback(OpenTK.Graphics.OpenGL.NvTransformFeedback2 mode, Int32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawTransformFeedbackNV((OpenTK.Graphics.OpenGL.NvTransformFeedback2)mode, (UInt32)id); + #if DEBUG + } + #endif + } + + + /// [requires: NV_transform_feedback2] + /// Render primitives using a count derived from a transform feedback object + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY, and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the name of a transform feedback object from which to retrieve a primitive count. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_transform_feedback2", Version = "", EntryPoint = "glDrawTransformFeedbackNV")] + public static + void DrawTransformFeedback(OpenTK.Graphics.OpenGL.NvTransformFeedback2 mode, UInt32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawTransformFeedbackNV((OpenTK.Graphics.OpenGL.NvTransformFeedback2)mode, (UInt32)id); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_buffer_unified_memory] + [AutoGenerated(Category = "NV_vertex_buffer_unified_memory", Version = "1.2", EntryPoint = "glEdgeFlagFormatNV")] + public static + void EdgeFlagFormat(Int32 stride) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEdgeFlagFormatNV((Int32)stride); + #if DEBUG + } + #endif + } + + /// [requires: NV_conditional_render] + [AutoGenerated(Category = "NV_conditional_render", Version = "", EntryPoint = "glEndConditionalRenderNV")] + public static + void EndConditionalRender() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEndConditionalRenderNV(); + #if DEBUG + } + #endif + } + + /// [requires: NV_occlusion_query] + [AutoGenerated(Category = "NV_occlusion_query", Version = "1.2", EntryPoint = "glEndOcclusionQueryNV")] + public static + void EndOcclusionQuery() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEndOcclusionQueryNV(); + #if DEBUG + } + #endif + } + + /// [requires: NV_transform_feedback] + [AutoGenerated(Category = "NV_transform_feedback", Version = "1.5", EntryPoint = "glEndTransformFeedbackNV")] + public static + void EndTransformFeedback() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEndTransformFeedbackNV(); + #if DEBUG + } + #endif + } + + /// [requires: NV_video_capture] + [AutoGenerated(Category = "NV_video_capture", Version = "1.2", EntryPoint = "glEndVideoCaptureNV")] + public static + void EndVideoCapture(Int32 video_capture_slot) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEndVideoCaptureNV((UInt32)video_capture_slot); + #if DEBUG + } + #endif + } + + /// [requires: NV_video_capture] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_video_capture", Version = "1.2", EntryPoint = "glEndVideoCaptureNV")] + public static + void EndVideoCapture(UInt32 video_capture_slot) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEndVideoCaptureNV((UInt32)video_capture_slot); + #if DEBUG + } + #endif + } + + /// [requires: NV_evaluators] + [AutoGenerated(Category = "NV_evaluators", Version = "1.1", EntryPoint = "glEvalMapsNV")] + public static + void EvalMap(OpenTK.Graphics.OpenGL.NvEvaluators target, OpenTK.Graphics.OpenGL.NvEvaluators mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEvalMapsNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (OpenTK.Graphics.OpenGL.NvEvaluators)mode); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glExecuteProgramNV")] + public static + void ExecuteProgram(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 id, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glExecuteProgramNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)id, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glExecuteProgramNV")] + public static + void ExecuteProgram(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 id, ref Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glExecuteProgramNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)id, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glExecuteProgramNV")] + public static + unsafe void ExecuteProgram(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 id, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glExecuteProgramNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)id, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glExecuteProgramNV")] + public static + void ExecuteProgram(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 id, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glExecuteProgramNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)id, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glExecuteProgramNV")] + public static + void ExecuteProgram(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 id, ref Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glExecuteProgramNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)id, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glExecuteProgramNV")] + public static + unsafe void ExecuteProgram(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 id, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glExecuteProgramNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)id, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: NV_register_combiners] + [AutoGenerated(Category = "NV_register_combiners", Version = "1.1", EntryPoint = "glFinalCombinerInputNV")] + public static + void FinalCombinerInput(OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners input, OpenTK.Graphics.OpenGL.NvRegisterCombiners mapping, OpenTK.Graphics.OpenGL.NvRegisterCombiners componentUsage) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFinalCombinerInputNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners)variable, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)input, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)mapping, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)componentUsage); + #if DEBUG + } + #endif + } + + /// [requires: NV_fence] + [AutoGenerated(Category = "NV_fence", Version = "1.2", EntryPoint = "glFinishFenceNV")] + public static + void FinishFence(Int32 fence) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFinishFenceNV((UInt32)fence); + #if DEBUG + } + #endif + } + + /// [requires: NV_fence] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_fence", Version = "1.2", EntryPoint = "glFinishFenceNV")] + public static + void FinishFence(UInt32 fence) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFinishFenceNV((UInt32)fence); + #if DEBUG + } + #endif + } + + /// [requires: NV_pixel_data_range] + [AutoGenerated(Category = "NV_pixel_data_range", Version = "1.2", EntryPoint = "glFlushPixelDataRangeNV")] + public static + void FlushPixelDataRange(OpenTK.Graphics.OpenGL.NvPixelDataRange target) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFlushPixelDataRangeNV((OpenTK.Graphics.OpenGL.NvPixelDataRange)target); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_array_range] + [AutoGenerated(Category = "NV_vertex_array_range", Version = "1.1", EntryPoint = "glFlushVertexArrayRangeNV")] + public static + void FlushVertexArrayRange() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFlushVertexArrayRangeNV(); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_buffer_unified_memory] + [AutoGenerated(Category = "NV_vertex_buffer_unified_memory", Version = "1.2", EntryPoint = "glFogCoordFormatNV")] + public static + void FogCoordFormat(OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFogCoordFormatNV((OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory)type, (Int32)stride); + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glFogCoordhNV")] + public static + void FogCoordh(Half fog) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFogCoordhNV((Half)fog); + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glFogCoordhvNV")] + public static + unsafe void FogCoordh(Half* fog) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFogCoordhvNV((Half*)fog); + #if DEBUG + } + #endif + } + + /// [requires: NV_fence] + [AutoGenerated(Category = "NV_fence", Version = "1.2", EntryPoint = "glGenFencesNV")] + public static + void GenFences(Int32 n, [OutAttribute] Int32[] fences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* fences_ptr = fences) + { + Delegates.glGenFencesNV((Int32)n, (UInt32*)fences_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_fence] + [AutoGenerated(Category = "NV_fence", Version = "1.2", EntryPoint = "glGenFencesNV")] + public static + void GenFences(Int32 n, [OutAttribute] out Int32 fences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* fences_ptr = &fences) + { + Delegates.glGenFencesNV((Int32)n, (UInt32*)fences_ptr); + fences = *fences_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_fence] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_fence", Version = "1.2", EntryPoint = "glGenFencesNV")] + public static + unsafe void GenFences(Int32 n, [OutAttribute] Int32* fences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenFencesNV((Int32)n, (UInt32*)fences); + #if DEBUG + } + #endif + } + + /// [requires: NV_fence] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_fence", Version = "1.2", EntryPoint = "glGenFencesNV")] + public static + void GenFences(Int32 n, [OutAttribute] UInt32[] fences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* fences_ptr = fences) + { + Delegates.glGenFencesNV((Int32)n, (UInt32*)fences_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_fence] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_fence", Version = "1.2", EntryPoint = "glGenFencesNV")] + public static + void GenFences(Int32 n, [OutAttribute] out UInt32 fences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* fences_ptr = &fences) + { + Delegates.glGenFencesNV((Int32)n, (UInt32*)fences_ptr); + fences = *fences_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_fence] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_fence", Version = "1.2", EntryPoint = "glGenFencesNV")] + public static + unsafe void GenFences(Int32 n, [OutAttribute] UInt32* fences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenFencesNV((Int32)n, (UInt32*)fences); + #if DEBUG + } + #endif + } + + /// [requires: NV_occlusion_query] + [AutoGenerated(Category = "NV_occlusion_query", Version = "1.2", EntryPoint = "glGenOcclusionQueriesNV")] + public static + void GenOcclusionQueries(Int32 n, [OutAttribute] Int32[] ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* ids_ptr = ids) + { + Delegates.glGenOcclusionQueriesNV((Int32)n, (UInt32*)ids_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_occlusion_query] + [AutoGenerated(Category = "NV_occlusion_query", Version = "1.2", EntryPoint = "glGenOcclusionQueriesNV")] + public static + void GenOcclusionQueries(Int32 n, [OutAttribute] out Int32 ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* ids_ptr = &ids) + { + Delegates.glGenOcclusionQueriesNV((Int32)n, (UInt32*)ids_ptr); + ids = *ids_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_occlusion_query] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_occlusion_query", Version = "1.2", EntryPoint = "glGenOcclusionQueriesNV")] + public static + unsafe void GenOcclusionQueries(Int32 n, [OutAttribute] Int32* ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenOcclusionQueriesNV((Int32)n, (UInt32*)ids); + #if DEBUG + } + #endif + } + + /// [requires: NV_occlusion_query] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_occlusion_query", Version = "1.2", EntryPoint = "glGenOcclusionQueriesNV")] + public static + void GenOcclusionQueries(Int32 n, [OutAttribute] UInt32[] ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* ids_ptr = ids) + { + Delegates.glGenOcclusionQueriesNV((Int32)n, (UInt32*)ids_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_occlusion_query] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_occlusion_query", Version = "1.2", EntryPoint = "glGenOcclusionQueriesNV")] + public static + void GenOcclusionQueries(Int32 n, [OutAttribute] out UInt32 ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* ids_ptr = &ids) + { + Delegates.glGenOcclusionQueriesNV((Int32)n, (UInt32*)ids_ptr); + ids = *ids_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_occlusion_query] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_occlusion_query", Version = "1.2", EntryPoint = "glGenOcclusionQueriesNV")] + public static + unsafe void GenOcclusionQueries(Int32 n, [OutAttribute] UInt32* ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenOcclusionQueriesNV((Int32)n, (UInt32*)ids); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glGenProgramsNV")] + public static + void GenProgram(Int32 n, [OutAttribute] Int32[] programs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* programs_ptr = programs) + { + Delegates.glGenProgramsNV((Int32)n, (UInt32*)programs_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glGenProgramsNV")] + public static + void GenProgram(Int32 n, [OutAttribute] out Int32 programs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* programs_ptr = &programs) + { + Delegates.glGenProgramsNV((Int32)n, (UInt32*)programs_ptr); + programs = *programs_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glGenProgramsNV")] + public static + unsafe void GenProgram(Int32 n, [OutAttribute] Int32* programs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenProgramsNV((Int32)n, (UInt32*)programs); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glGenProgramsNV")] + public static + void GenProgram(Int32 n, [OutAttribute] UInt32[] programs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* programs_ptr = programs) + { + Delegates.glGenProgramsNV((Int32)n, (UInt32*)programs_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glGenProgramsNV")] + public static + void GenProgram(Int32 n, [OutAttribute] out UInt32 programs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* programs_ptr = &programs) + { + Delegates.glGenProgramsNV((Int32)n, (UInt32*)programs_ptr); + programs = *programs_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glGenProgramsNV")] + public static + unsafe void GenProgram(Int32 n, [OutAttribute] UInt32* programs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenProgramsNV((Int32)n, (UInt32*)programs); + #if DEBUG + } + #endif + } + + /// [requires: NV_transform_feedback2] + [AutoGenerated(Category = "NV_transform_feedback2", Version = "", EntryPoint = "glGenTransformFeedbacksNV")] + public static + void GenTransformFeedback(Int32 n, [OutAttribute] Int32[] ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* ids_ptr = ids) + { + Delegates.glGenTransformFeedbacksNV((Int32)n, (UInt32*)ids_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_transform_feedback2] + [AutoGenerated(Category = "NV_transform_feedback2", Version = "", EntryPoint = "glGenTransformFeedbacksNV")] + public static + void GenTransformFeedback(Int32 n, [OutAttribute] out Int32 ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* ids_ptr = &ids) + { + Delegates.glGenTransformFeedbacksNV((Int32)n, (UInt32*)ids_ptr); + ids = *ids_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_transform_feedback2] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_transform_feedback2", Version = "", EntryPoint = "glGenTransformFeedbacksNV")] + public static + unsafe void GenTransformFeedback(Int32 n, [OutAttribute] Int32* ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenTransformFeedbacksNV((Int32)n, (UInt32*)ids); + #if DEBUG + } + #endif + } + + /// [requires: NV_transform_feedback2] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_transform_feedback2", Version = "", EntryPoint = "glGenTransformFeedbacksNV")] + public static + void GenTransformFeedback(Int32 n, [OutAttribute] UInt32[] ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* ids_ptr = ids) + { + Delegates.glGenTransformFeedbacksNV((Int32)n, (UInt32*)ids_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_transform_feedback2] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_transform_feedback2", Version = "", EntryPoint = "glGenTransformFeedbacksNV")] + public static + void GenTransformFeedback(Int32 n, [OutAttribute] out UInt32 ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* ids_ptr = &ids) + { + Delegates.glGenTransformFeedbacksNV((Int32)n, (UInt32*)ids_ptr); + ids = *ids_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_transform_feedback2] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_transform_feedback2", Version = "", EntryPoint = "glGenTransformFeedbacksNV")] + public static + unsafe void GenTransformFeedback(Int32 n, [OutAttribute] UInt32* ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenTransformFeedbacksNV((Int32)n, (UInt32*)ids); + #if DEBUG + } + #endif + } + + /// [requires: NV_transform_feedback] + [AutoGenerated(Category = "NV_transform_feedback", Version = "1.5", EntryPoint = "glGetActiveVaryingNV")] + public static + void GetActiveVarying(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.OpenGL.NvTransformFeedback type, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + fixed (Int32* size_ptr = &size) + fixed (OpenTK.Graphics.OpenGL.NvTransformFeedback* type_ptr = &type) + { + Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.OpenGL.NvTransformFeedback*)type_ptr, (StringBuilder)name); + length = *length_ptr; + size = *size_ptr; + type = *type_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_transform_feedback] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_transform_feedback", Version = "1.5", EntryPoint = "glGetActiveVaryingNV")] + public static + unsafe void GetActiveVarying(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.NvTransformFeedback* type, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.OpenGL.NvTransformFeedback*)type, (StringBuilder)name); + #if DEBUG + } + #endif + } + + /// [requires: NV_transform_feedback] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_transform_feedback", Version = "1.5", EntryPoint = "glGetActiveVaryingNV")] + public static + void GetActiveVarying(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.OpenGL.NvTransformFeedback type, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + fixed (Int32* size_ptr = &size) + fixed (OpenTK.Graphics.OpenGL.NvTransformFeedback* type_ptr = &type) + { + Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.OpenGL.NvTransformFeedback*)type_ptr, (StringBuilder)name); + length = *length_ptr; + size = *size_ptr; + type = *type_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_transform_feedback] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_transform_feedback", Version = "1.5", EntryPoint = "glGetActiveVaryingNV")] + public static + unsafe void GetActiveVarying(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.NvTransformFeedback* type, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.OpenGL.NvTransformFeedback*)type, (StringBuilder)name); + #if DEBUG + } + #endif + } + + + /// [requires: NV_shader_buffer_load] + /// Return parameters of a buffer object + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER. + /// + /// + /// + /// + /// Specifies the symbolic name of a buffer object parameter. Accepted values are GL_BUFFER_ACCESS, GL_BUFFER_MAPPED, GL_BUFFER_SIZE, or GL_BUFFER_USAGE. + /// + /// + /// + /// + /// Returns the requested parameter. + /// + /// + [AutoGenerated(Category = "NV_shader_buffer_load", Version = "1.2", EntryPoint = "glGetBufferParameterui64vNV")] + public static + void GetBufferParameter(OpenTK.Graphics.OpenGL.NvShaderBufferLoad target, OpenTK.Graphics.OpenGL.NvShaderBufferLoad pname, [OutAttribute] Int64[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* @params_ptr = @params) + { + Delegates.glGetBufferParameterui64vNV((OpenTK.Graphics.OpenGL.NvShaderBufferLoad)target, (OpenTK.Graphics.OpenGL.NvShaderBufferLoad)pname, (UInt64*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_shader_buffer_load] + /// Return parameters of a buffer object + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER. + /// + /// + /// + /// + /// Specifies the symbolic name of a buffer object parameter. Accepted values are GL_BUFFER_ACCESS, GL_BUFFER_MAPPED, GL_BUFFER_SIZE, or GL_BUFFER_USAGE. + /// + /// + /// + /// + /// Returns the requested parameter. + /// + /// + [AutoGenerated(Category = "NV_shader_buffer_load", Version = "1.2", EntryPoint = "glGetBufferParameterui64vNV")] + public static + void GetBufferParameter(OpenTK.Graphics.OpenGL.NvShaderBufferLoad target, OpenTK.Graphics.OpenGL.NvShaderBufferLoad pname, [OutAttribute] out Int64 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* @params_ptr = &@params) + { + Delegates.glGetBufferParameterui64vNV((OpenTK.Graphics.OpenGL.NvShaderBufferLoad)target, (OpenTK.Graphics.OpenGL.NvShaderBufferLoad)pname, (UInt64*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_shader_buffer_load] + /// Return parameters of a buffer object + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER. + /// + /// + /// + /// + /// Specifies the symbolic name of a buffer object parameter. Accepted values are GL_BUFFER_ACCESS, GL_BUFFER_MAPPED, GL_BUFFER_SIZE, or GL_BUFFER_USAGE. + /// + /// + /// + /// + /// Returns the requested parameter. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_shader_buffer_load", Version = "1.2", EntryPoint = "glGetBufferParameterui64vNV")] + public static + unsafe void GetBufferParameter(OpenTK.Graphics.OpenGL.NvShaderBufferLoad target, OpenTK.Graphics.OpenGL.NvShaderBufferLoad pname, [OutAttribute] Int64* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetBufferParameterui64vNV((OpenTK.Graphics.OpenGL.NvShaderBufferLoad)target, (OpenTK.Graphics.OpenGL.NvShaderBufferLoad)pname, (UInt64*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: NV_shader_buffer_load] + /// Return parameters of a buffer object + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER. + /// + /// + /// + /// + /// Specifies the symbolic name of a buffer object parameter. Accepted values are GL_BUFFER_ACCESS, GL_BUFFER_MAPPED, GL_BUFFER_SIZE, or GL_BUFFER_USAGE. + /// + /// + /// + /// + /// Returns the requested parameter. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_shader_buffer_load", Version = "1.2", EntryPoint = "glGetBufferParameterui64vNV")] + public static + void GetBufferParameter(OpenTK.Graphics.OpenGL.NvShaderBufferLoad target, OpenTK.Graphics.OpenGL.NvShaderBufferLoad pname, [OutAttribute] UInt64[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt64* @params_ptr = @params) + { + Delegates.glGetBufferParameterui64vNV((OpenTK.Graphics.OpenGL.NvShaderBufferLoad)target, (OpenTK.Graphics.OpenGL.NvShaderBufferLoad)pname, (UInt64*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_shader_buffer_load] + /// Return parameters of a buffer object + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER. + /// + /// + /// + /// + /// Specifies the symbolic name of a buffer object parameter. Accepted values are GL_BUFFER_ACCESS, GL_BUFFER_MAPPED, GL_BUFFER_SIZE, or GL_BUFFER_USAGE. + /// + /// + /// + /// + /// Returns the requested parameter. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_shader_buffer_load", Version = "1.2", EntryPoint = "glGetBufferParameterui64vNV")] + public static + void GetBufferParameter(OpenTK.Graphics.OpenGL.NvShaderBufferLoad target, OpenTK.Graphics.OpenGL.NvShaderBufferLoad pname, [OutAttribute] out UInt64 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt64* @params_ptr = &@params) + { + Delegates.glGetBufferParameterui64vNV((OpenTK.Graphics.OpenGL.NvShaderBufferLoad)target, (OpenTK.Graphics.OpenGL.NvShaderBufferLoad)pname, (UInt64*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_shader_buffer_load] + /// Return parameters of a buffer object + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER. + /// + /// + /// + /// + /// Specifies the symbolic name of a buffer object parameter. Accepted values are GL_BUFFER_ACCESS, GL_BUFFER_MAPPED, GL_BUFFER_SIZE, or GL_BUFFER_USAGE. + /// + /// + /// + /// + /// Returns the requested parameter. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_shader_buffer_load", Version = "1.2", EntryPoint = "glGetBufferParameterui64vNV")] + public static + unsafe void GetBufferParameter(OpenTK.Graphics.OpenGL.NvShaderBufferLoad target, OpenTK.Graphics.OpenGL.NvShaderBufferLoad pname, [OutAttribute] UInt64* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetBufferParameterui64vNV((OpenTK.Graphics.OpenGL.NvShaderBufferLoad)target, (OpenTK.Graphics.OpenGL.NvShaderBufferLoad)pname, (UInt64*)@params); + #if DEBUG + } + #endif + } + + /// [requires: NV_register_combiners] + [AutoGenerated(Category = "NV_register_combiners", Version = "1.1", EntryPoint = "glGetCombinerInputParameterfvNV")] + public static + void GetCombinerInputParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetCombinerInputParameterfvNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners)stage, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)portion, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)variable, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_register_combiners] + [AutoGenerated(Category = "NV_register_combiners", Version = "1.1", EntryPoint = "glGetCombinerInputParameterfvNV")] + public static + void GetCombinerInputParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetCombinerInputParameterfvNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners)stage, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)portion, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)variable, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_register_combiners] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_register_combiners", Version = "1.1", EntryPoint = "glGetCombinerInputParameterfvNV")] + public static + unsafe void GetCombinerInputParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetCombinerInputParameterfvNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners)stage, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)portion, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)variable, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: NV_register_combiners] + [AutoGenerated(Category = "NV_register_combiners", Version = "1.1", EntryPoint = "glGetCombinerInputParameterivNV")] + public static + void GetCombinerInputParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetCombinerInputParameterivNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners)stage, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)portion, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)variable, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_register_combiners] + [AutoGenerated(Category = "NV_register_combiners", Version = "1.1", EntryPoint = "glGetCombinerInputParameterivNV")] + public static + void GetCombinerInputParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetCombinerInputParameterivNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners)stage, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)portion, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)variable, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_register_combiners] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_register_combiners", Version = "1.1", EntryPoint = "glGetCombinerInputParameterivNV")] + public static + unsafe void GetCombinerInputParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetCombinerInputParameterivNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners)stage, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)portion, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)variable, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: NV_register_combiners] + [AutoGenerated(Category = "NV_register_combiners", Version = "1.1", EntryPoint = "glGetCombinerOutputParameterfvNV")] + public static + void GetCombinerOutputParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetCombinerOutputParameterfvNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners)stage, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)portion, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_register_combiners] + [AutoGenerated(Category = "NV_register_combiners", Version = "1.1", EntryPoint = "glGetCombinerOutputParameterfvNV")] + public static + void GetCombinerOutputParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetCombinerOutputParameterfvNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners)stage, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)portion, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_register_combiners] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_register_combiners", Version = "1.1", EntryPoint = "glGetCombinerOutputParameterfvNV")] + public static + unsafe void GetCombinerOutputParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetCombinerOutputParameterfvNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners)stage, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)portion, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: NV_register_combiners] + [AutoGenerated(Category = "NV_register_combiners", Version = "1.1", EntryPoint = "glGetCombinerOutputParameterivNV")] + public static + void GetCombinerOutputParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetCombinerOutputParameterivNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners)stage, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)portion, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_register_combiners] + [AutoGenerated(Category = "NV_register_combiners", Version = "1.1", EntryPoint = "glGetCombinerOutputParameterivNV")] + public static + void GetCombinerOutputParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetCombinerOutputParameterivNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners)stage, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)portion, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_register_combiners] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_register_combiners", Version = "1.1", EntryPoint = "glGetCombinerOutputParameterivNV")] + public static + unsafe void GetCombinerOutputParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetCombinerOutputParameterivNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners)stage, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)portion, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: NV_register_combiners2] + [AutoGenerated(Category = "NV_register_combiners2", Version = "1.1", EntryPoint = "glGetCombinerStageParameterfvNV")] + public static + void GetCombinerStageParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners2 stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners2 pname, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetCombinerStageParameterfvNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners2)stage, (OpenTK.Graphics.OpenGL.NvRegisterCombiners2)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_register_combiners2] + [AutoGenerated(Category = "NV_register_combiners2", Version = "1.1", EntryPoint = "glGetCombinerStageParameterfvNV")] + public static + void GetCombinerStageParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners2 stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners2 pname, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetCombinerStageParameterfvNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners2)stage, (OpenTK.Graphics.OpenGL.NvRegisterCombiners2)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_register_combiners2] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_register_combiners2", Version = "1.1", EntryPoint = "glGetCombinerStageParameterfvNV")] + public static + unsafe void GetCombinerStageParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners2 stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners2 pname, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetCombinerStageParameterfvNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners2)stage, (OpenTK.Graphics.OpenGL.NvRegisterCombiners2)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: NV_fence] + [AutoGenerated(Category = "NV_fence", Version = "1.2", EntryPoint = "glGetFenceivNV")] + public static + void GetFence(Int32 fence, OpenTK.Graphics.OpenGL.NvFence pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.OpenGL.NvFence)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_fence] + [AutoGenerated(Category = "NV_fence", Version = "1.2", EntryPoint = "glGetFenceivNV")] + public static + void GetFence(Int32 fence, OpenTK.Graphics.OpenGL.NvFence pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.OpenGL.NvFence)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_fence] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_fence", Version = "1.2", EntryPoint = "glGetFenceivNV")] + public static + unsafe void GetFence(Int32 fence, OpenTK.Graphics.OpenGL.NvFence pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.OpenGL.NvFence)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: NV_fence] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_fence", Version = "1.2", EntryPoint = "glGetFenceivNV")] + public static + void GetFence(UInt32 fence, OpenTK.Graphics.OpenGL.NvFence pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.OpenGL.NvFence)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_fence] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_fence", Version = "1.2", EntryPoint = "glGetFenceivNV")] + public static + void GetFence(UInt32 fence, OpenTK.Graphics.OpenGL.NvFence pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.OpenGL.NvFence)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_fence] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_fence", Version = "1.2", EntryPoint = "glGetFenceivNV")] + public static + unsafe void GetFence(UInt32 fence, OpenTK.Graphics.OpenGL.NvFence pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.OpenGL.NvFence)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: NV_register_combiners] + [AutoGenerated(Category = "NV_register_combiners", Version = "1.1", EntryPoint = "glGetFinalCombinerInputParameterfvNV")] + public static + void GetFinalCombinerInputParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetFinalCombinerInputParameterfvNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners)variable, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_register_combiners] + [AutoGenerated(Category = "NV_register_combiners", Version = "1.1", EntryPoint = "glGetFinalCombinerInputParameterfvNV")] + public static + void GetFinalCombinerInputParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetFinalCombinerInputParameterfvNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners)variable, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_register_combiners] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_register_combiners", Version = "1.1", EntryPoint = "glGetFinalCombinerInputParameterfvNV")] + public static + unsafe void GetFinalCombinerInputParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetFinalCombinerInputParameterfvNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners)variable, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: NV_register_combiners] + [AutoGenerated(Category = "NV_register_combiners", Version = "1.1", EntryPoint = "glGetFinalCombinerInputParameterivNV")] + public static + void GetFinalCombinerInputParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetFinalCombinerInputParameterivNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners)variable, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_register_combiners] + [AutoGenerated(Category = "NV_register_combiners", Version = "1.1", EntryPoint = "glGetFinalCombinerInputParameterivNV")] + public static + void GetFinalCombinerInputParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetFinalCombinerInputParameterivNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners)variable, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_register_combiners] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_register_combiners", Version = "1.1", EntryPoint = "glGetFinalCombinerInputParameterivNV")] + public static + unsafe void GetFinalCombinerInputParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetFinalCombinerInputParameterivNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners)variable, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_buffer_unified_memory] + [AutoGenerated(Category = "NV_vertex_buffer_unified_memory", Version = "1.2", EntryPoint = "glGetIntegerui64i_vNV")] + public static + void GetInteger(OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory value, Int32 index, [OutAttribute] Int64[] result) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* result_ptr = result) + { + Delegates.glGetIntegerui64i_vNV((OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory)value, (UInt32)index, (UInt64*)result_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_buffer_unified_memory] + [AutoGenerated(Category = "NV_vertex_buffer_unified_memory", Version = "1.2", EntryPoint = "glGetIntegerui64i_vNV")] + public static + void GetInteger(OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory value, Int32 index, [OutAttribute] out Int64 result) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* result_ptr = &result) + { + Delegates.glGetIntegerui64i_vNV((OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory)value, (UInt32)index, (UInt64*)result_ptr); + result = *result_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_buffer_unified_memory] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_buffer_unified_memory", Version = "1.2", EntryPoint = "glGetIntegerui64i_vNV")] + public static + unsafe void GetInteger(OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory value, Int32 index, [OutAttribute] Int64* result) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetIntegerui64i_vNV((OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory)value, (UInt32)index, (UInt64*)result); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_buffer_unified_memory] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_buffer_unified_memory", Version = "1.2", EntryPoint = "glGetIntegerui64i_vNV")] + public static + void GetInteger(OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory value, UInt32 index, [OutAttribute] UInt64[] result) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt64* result_ptr = result) + { + Delegates.glGetIntegerui64i_vNV((OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory)value, (UInt32)index, (UInt64*)result_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_buffer_unified_memory] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_buffer_unified_memory", Version = "1.2", EntryPoint = "glGetIntegerui64i_vNV")] + public static + void GetInteger(OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory value, UInt32 index, [OutAttribute] out UInt64 result) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt64* result_ptr = &result) + { + Delegates.glGetIntegerui64i_vNV((OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory)value, (UInt32)index, (UInt64*)result_ptr); + result = *result_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_buffer_unified_memory] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_buffer_unified_memory", Version = "1.2", EntryPoint = "glGetIntegerui64i_vNV")] + public static + unsafe void GetInteger(OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory value, UInt32 index, [OutAttribute] UInt64* result) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetIntegerui64i_vNV((OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory)value, (UInt32)index, (UInt64*)result); + #if DEBUG + } + #endif + } + + /// [requires: NV_shader_buffer_load] + [AutoGenerated(Category = "NV_shader_buffer_load", Version = "1.2", EntryPoint = "glGetIntegerui64vNV")] + public static + void GetInteger(OpenTK.Graphics.OpenGL.NvShaderBufferLoad value, [OutAttribute] Int64[] result) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* result_ptr = result) + { + Delegates.glGetIntegerui64vNV((OpenTK.Graphics.OpenGL.NvShaderBufferLoad)value, (UInt64*)result_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_shader_buffer_load] + [AutoGenerated(Category = "NV_shader_buffer_load", Version = "1.2", EntryPoint = "glGetIntegerui64vNV")] + public static + void GetInteger(OpenTK.Graphics.OpenGL.NvShaderBufferLoad value, [OutAttribute] out Int64 result) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* result_ptr = &result) + { + Delegates.glGetIntegerui64vNV((OpenTK.Graphics.OpenGL.NvShaderBufferLoad)value, (UInt64*)result_ptr); + result = *result_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_shader_buffer_load] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_shader_buffer_load", Version = "1.2", EntryPoint = "glGetIntegerui64vNV")] + public static + unsafe void GetInteger(OpenTK.Graphics.OpenGL.NvShaderBufferLoad value, [OutAttribute] Int64* result) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetIntegerui64vNV((OpenTK.Graphics.OpenGL.NvShaderBufferLoad)value, (UInt64*)result); + #if DEBUG + } + #endif + } + + /// [requires: NV_shader_buffer_load] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_shader_buffer_load", Version = "1.2", EntryPoint = "glGetIntegerui64vNV")] + public static + void GetInteger(OpenTK.Graphics.OpenGL.NvShaderBufferLoad value, [OutAttribute] UInt64[] result) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt64* result_ptr = result) + { + Delegates.glGetIntegerui64vNV((OpenTK.Graphics.OpenGL.NvShaderBufferLoad)value, (UInt64*)result_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_shader_buffer_load] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_shader_buffer_load", Version = "1.2", EntryPoint = "glGetIntegerui64vNV")] + public static + void GetInteger(OpenTK.Graphics.OpenGL.NvShaderBufferLoad value, [OutAttribute] out UInt64 result) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt64* result_ptr = &result) + { + Delegates.glGetIntegerui64vNV((OpenTK.Graphics.OpenGL.NvShaderBufferLoad)value, (UInt64*)result_ptr); + result = *result_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_shader_buffer_load] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_shader_buffer_load", Version = "1.2", EntryPoint = "glGetIntegerui64vNV")] + public static + unsafe void GetInteger(OpenTK.Graphics.OpenGL.NvShaderBufferLoad value, [OutAttribute] UInt64* result) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetIntegerui64vNV((OpenTK.Graphics.OpenGL.NvShaderBufferLoad)value, (UInt64*)result); + #if DEBUG + } + #endif + } + + /// [requires: NV_evaluators] + [AutoGenerated(Category = "NV_evaluators", Version = "1.1", EntryPoint = "glGetMapAttribParameterfvNV")] + public static + void GetMapAttribParameter(OpenTK.Graphics.OpenGL.NvEvaluators target, Int32 index, OpenTK.Graphics.OpenGL.NvEvaluators pname, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetMapAttribParameterfvNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_evaluators] + [AutoGenerated(Category = "NV_evaluators", Version = "1.1", EntryPoint = "glGetMapAttribParameterfvNV")] + public static + void GetMapAttribParameter(OpenTK.Graphics.OpenGL.NvEvaluators target, Int32 index, OpenTK.Graphics.OpenGL.NvEvaluators pname, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetMapAttribParameterfvNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_evaluators] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_evaluators", Version = "1.1", EntryPoint = "glGetMapAttribParameterfvNV")] + public static + unsafe void GetMapAttribParameter(OpenTK.Graphics.OpenGL.NvEvaluators target, Int32 index, OpenTK.Graphics.OpenGL.NvEvaluators pname, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMapAttribParameterfvNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: NV_evaluators] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_evaluators", Version = "1.1", EntryPoint = "glGetMapAttribParameterfvNV")] + public static + void GetMapAttribParameter(OpenTK.Graphics.OpenGL.NvEvaluators target, UInt32 index, OpenTK.Graphics.OpenGL.NvEvaluators pname, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetMapAttribParameterfvNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_evaluators] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_evaluators", Version = "1.1", EntryPoint = "glGetMapAttribParameterfvNV")] + public static + void GetMapAttribParameter(OpenTK.Graphics.OpenGL.NvEvaluators target, UInt32 index, OpenTK.Graphics.OpenGL.NvEvaluators pname, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetMapAttribParameterfvNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_evaluators] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_evaluators", Version = "1.1", EntryPoint = "glGetMapAttribParameterfvNV")] + public static + unsafe void GetMapAttribParameter(OpenTK.Graphics.OpenGL.NvEvaluators target, UInt32 index, OpenTK.Graphics.OpenGL.NvEvaluators pname, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMapAttribParameterfvNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: NV_evaluators] + [AutoGenerated(Category = "NV_evaluators", Version = "1.1", EntryPoint = "glGetMapAttribParameterivNV")] + public static + void GetMapAttribParameter(OpenTK.Graphics.OpenGL.NvEvaluators target, Int32 index, OpenTK.Graphics.OpenGL.NvEvaluators pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetMapAttribParameterivNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_evaluators] + [AutoGenerated(Category = "NV_evaluators", Version = "1.1", EntryPoint = "glGetMapAttribParameterivNV")] + public static + void GetMapAttribParameter(OpenTK.Graphics.OpenGL.NvEvaluators target, Int32 index, OpenTK.Graphics.OpenGL.NvEvaluators pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetMapAttribParameterivNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_evaluators] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_evaluators", Version = "1.1", EntryPoint = "glGetMapAttribParameterivNV")] + public static + unsafe void GetMapAttribParameter(OpenTK.Graphics.OpenGL.NvEvaluators target, Int32 index, OpenTK.Graphics.OpenGL.NvEvaluators pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMapAttribParameterivNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: NV_evaluators] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_evaluators", Version = "1.1", EntryPoint = "glGetMapAttribParameterivNV")] + public static + void GetMapAttribParameter(OpenTK.Graphics.OpenGL.NvEvaluators target, UInt32 index, OpenTK.Graphics.OpenGL.NvEvaluators pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetMapAttribParameterivNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_evaluators] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_evaluators", Version = "1.1", EntryPoint = "glGetMapAttribParameterivNV")] + public static + void GetMapAttribParameter(OpenTK.Graphics.OpenGL.NvEvaluators target, UInt32 index, OpenTK.Graphics.OpenGL.NvEvaluators pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetMapAttribParameterivNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_evaluators] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_evaluators", Version = "1.1", EntryPoint = "glGetMapAttribParameterivNV")] + public static + unsafe void GetMapAttribParameter(OpenTK.Graphics.OpenGL.NvEvaluators target, UInt32 index, OpenTK.Graphics.OpenGL.NvEvaluators pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMapAttribParameterivNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: NV_evaluators] + [AutoGenerated(Category = "NV_evaluators", Version = "1.1", EntryPoint = "glGetMapControlPointsNV")] + public static + void GetMapControlPoints(OpenTK.Graphics.OpenGL.NvEvaluators target, Int32 index, OpenTK.Graphics.OpenGL.NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [OutAttribute] IntPtr points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMapControlPointsNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (bool)packed, (IntPtr)points); + #if DEBUG + } + #endif + } + + /// [requires: NV_evaluators] + [AutoGenerated(Category = "NV_evaluators", Version = "1.1", EntryPoint = "glGetMapControlPointsNV")] + public static + void GetMapControlPoints(OpenTK.Graphics.OpenGL.NvEvaluators target, Int32 index, OpenTK.Graphics.OpenGL.NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [InAttribute, OutAttribute] T6[] points) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); + try + { + Delegates.glGetMapControlPointsNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); + } + finally + { + points_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: NV_evaluators] + [AutoGenerated(Category = "NV_evaluators", Version = "1.1", EntryPoint = "glGetMapControlPointsNV")] + public static + void GetMapControlPoints(OpenTK.Graphics.OpenGL.NvEvaluators target, Int32 index, OpenTK.Graphics.OpenGL.NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [InAttribute, OutAttribute] T6[,] points) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); + try + { + Delegates.glGetMapControlPointsNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); + } + finally + { + points_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: NV_evaluators] + [AutoGenerated(Category = "NV_evaluators", Version = "1.1", EntryPoint = "glGetMapControlPointsNV")] + public static + void GetMapControlPoints(OpenTK.Graphics.OpenGL.NvEvaluators target, Int32 index, OpenTK.Graphics.OpenGL.NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [InAttribute, OutAttribute] T6[,,] points) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); + try + { + Delegates.glGetMapControlPointsNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); + } + finally + { + points_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: NV_evaluators] + [AutoGenerated(Category = "NV_evaluators", Version = "1.1", EntryPoint = "glGetMapControlPointsNV")] + public static + void GetMapControlPoints(OpenTK.Graphics.OpenGL.NvEvaluators target, Int32 index, OpenTK.Graphics.OpenGL.NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [InAttribute, OutAttribute] ref T6 points) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); + try + { + Delegates.glGetMapControlPointsNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); + points = (T6)points_ptr.Target; + } + finally + { + points_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: NV_evaluators] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_evaluators", Version = "1.1", EntryPoint = "glGetMapControlPointsNV")] + public static + void GetMapControlPoints(OpenTK.Graphics.OpenGL.NvEvaluators target, UInt32 index, OpenTK.Graphics.OpenGL.NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [OutAttribute] IntPtr points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMapControlPointsNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (bool)packed, (IntPtr)points); + #if DEBUG + } + #endif + } + + /// [requires: NV_evaluators] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_evaluators", Version = "1.1", EntryPoint = "glGetMapControlPointsNV")] + public static + void GetMapControlPoints(OpenTK.Graphics.OpenGL.NvEvaluators target, UInt32 index, OpenTK.Graphics.OpenGL.NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [InAttribute, OutAttribute] T6[] points) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); + try + { + Delegates.glGetMapControlPointsNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); + } + finally + { + points_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: NV_evaluators] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_evaluators", Version = "1.1", EntryPoint = "glGetMapControlPointsNV")] + public static + void GetMapControlPoints(OpenTK.Graphics.OpenGL.NvEvaluators target, UInt32 index, OpenTK.Graphics.OpenGL.NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [InAttribute, OutAttribute] T6[,] points) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); + try + { + Delegates.glGetMapControlPointsNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); + } + finally + { + points_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: NV_evaluators] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_evaluators", Version = "1.1", EntryPoint = "glGetMapControlPointsNV")] + public static + void GetMapControlPoints(OpenTK.Graphics.OpenGL.NvEvaluators target, UInt32 index, OpenTK.Graphics.OpenGL.NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [InAttribute, OutAttribute] T6[,,] points) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); + try + { + Delegates.glGetMapControlPointsNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); + } + finally + { + points_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: NV_evaluators] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_evaluators", Version = "1.1", EntryPoint = "glGetMapControlPointsNV")] + public static + void GetMapControlPoints(OpenTK.Graphics.OpenGL.NvEvaluators target, UInt32 index, OpenTK.Graphics.OpenGL.NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [InAttribute, OutAttribute] ref T6 points) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); + try + { + Delegates.glGetMapControlPointsNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); + points = (T6)points_ptr.Target; + } + finally + { + points_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: NV_evaluators] + [AutoGenerated(Category = "NV_evaluators", Version = "1.1", EntryPoint = "glGetMapParameterfvNV")] + public static + void GetMapParameter(OpenTK.Graphics.OpenGL.NvEvaluators target, OpenTK.Graphics.OpenGL.NvEvaluators pname, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetMapParameterfvNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (OpenTK.Graphics.OpenGL.NvEvaluators)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_evaluators] + [AutoGenerated(Category = "NV_evaluators", Version = "1.1", EntryPoint = "glGetMapParameterfvNV")] + public static + void GetMapParameter(OpenTK.Graphics.OpenGL.NvEvaluators target, OpenTK.Graphics.OpenGL.NvEvaluators pname, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetMapParameterfvNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (OpenTK.Graphics.OpenGL.NvEvaluators)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_evaluators] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_evaluators", Version = "1.1", EntryPoint = "glGetMapParameterfvNV")] + public static + unsafe void GetMapParameter(OpenTK.Graphics.OpenGL.NvEvaluators target, OpenTK.Graphics.OpenGL.NvEvaluators pname, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMapParameterfvNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (OpenTK.Graphics.OpenGL.NvEvaluators)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: NV_evaluators] + [AutoGenerated(Category = "NV_evaluators", Version = "1.1", EntryPoint = "glGetMapParameterivNV")] + public static + void GetMapParameter(OpenTK.Graphics.OpenGL.NvEvaluators target, OpenTK.Graphics.OpenGL.NvEvaluators pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetMapParameterivNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (OpenTK.Graphics.OpenGL.NvEvaluators)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_evaluators] + [AutoGenerated(Category = "NV_evaluators", Version = "1.1", EntryPoint = "glGetMapParameterivNV")] + public static + void GetMapParameter(OpenTK.Graphics.OpenGL.NvEvaluators target, OpenTK.Graphics.OpenGL.NvEvaluators pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetMapParameterivNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (OpenTK.Graphics.OpenGL.NvEvaluators)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_evaluators] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_evaluators", Version = "1.1", EntryPoint = "glGetMapParameterivNV")] + public static + unsafe void GetMapParameter(OpenTK.Graphics.OpenGL.NvEvaluators target, OpenTK.Graphics.OpenGL.NvEvaluators pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMapParameterivNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (OpenTK.Graphics.OpenGL.NvEvaluators)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: NV_explicit_multisample] + /// Retrieve the location of a sample + /// + /// + /// + /// Specifies the sample parameter name. pname must be GL_SAMPLE_POSITION. + /// + /// + /// + /// + /// Specifies the index of the sample whose position to query. + /// + /// + /// + /// + /// Specifies the address of an array to receive the position of the sample. + /// + /// + [AutoGenerated(Category = "NV_explicit_multisample", Version = "", EntryPoint = "glGetMultisamplefvNV")] + public static + void GetMultisample(OpenTK.Graphics.OpenGL.NvExplicitMultisample pname, Int32 index, [OutAttribute] Single[] val) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* val_ptr = val) + { + Delegates.glGetMultisamplefvNV((OpenTK.Graphics.OpenGL.NvExplicitMultisample)pname, (UInt32)index, (Single*)val_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_explicit_multisample] + /// Retrieve the location of a sample + /// + /// + /// + /// Specifies the sample parameter name. pname must be GL_SAMPLE_POSITION. + /// + /// + /// + /// + /// Specifies the index of the sample whose position to query. + /// + /// + /// + /// + /// Specifies the address of an array to receive the position of the sample. + /// + /// + [AutoGenerated(Category = "NV_explicit_multisample", Version = "", EntryPoint = "glGetMultisamplefvNV")] + public static + void GetMultisample(OpenTK.Graphics.OpenGL.NvExplicitMultisample pname, Int32 index, [OutAttribute] out Single val) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* val_ptr = &val) + { + Delegates.glGetMultisamplefvNV((OpenTK.Graphics.OpenGL.NvExplicitMultisample)pname, (UInt32)index, (Single*)val_ptr); + val = *val_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_explicit_multisample] + /// Retrieve the location of a sample + /// + /// + /// + /// Specifies the sample parameter name. pname must be GL_SAMPLE_POSITION. + /// + /// + /// + /// + /// Specifies the index of the sample whose position to query. + /// + /// + /// + /// + /// Specifies the address of an array to receive the position of the sample. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_explicit_multisample", Version = "", EntryPoint = "glGetMultisamplefvNV")] + public static + unsafe void GetMultisample(OpenTK.Graphics.OpenGL.NvExplicitMultisample pname, Int32 index, [OutAttribute] Single* val) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMultisamplefvNV((OpenTK.Graphics.OpenGL.NvExplicitMultisample)pname, (UInt32)index, (Single*)val); + #if DEBUG + } + #endif + } + + + /// [requires: NV_explicit_multisample] + /// Retrieve the location of a sample + /// + /// + /// + /// Specifies the sample parameter name. pname must be GL_SAMPLE_POSITION. + /// + /// + /// + /// + /// Specifies the index of the sample whose position to query. + /// + /// + /// + /// + /// Specifies the address of an array to receive the position of the sample. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_explicit_multisample", Version = "", EntryPoint = "glGetMultisamplefvNV")] + public static + void GetMultisample(OpenTK.Graphics.OpenGL.NvExplicitMultisample pname, UInt32 index, [OutAttribute] Single[] val) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* val_ptr = val) + { + Delegates.glGetMultisamplefvNV((OpenTK.Graphics.OpenGL.NvExplicitMultisample)pname, (UInt32)index, (Single*)val_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_explicit_multisample] + /// Retrieve the location of a sample + /// + /// + /// + /// Specifies the sample parameter name. pname must be GL_SAMPLE_POSITION. + /// + /// + /// + /// + /// Specifies the index of the sample whose position to query. + /// + /// + /// + /// + /// Specifies the address of an array to receive the position of the sample. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_explicit_multisample", Version = "", EntryPoint = "glGetMultisamplefvNV")] + public static + void GetMultisample(OpenTK.Graphics.OpenGL.NvExplicitMultisample pname, UInt32 index, [OutAttribute] out Single val) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* val_ptr = &val) + { + Delegates.glGetMultisamplefvNV((OpenTK.Graphics.OpenGL.NvExplicitMultisample)pname, (UInt32)index, (Single*)val_ptr); + val = *val_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_explicit_multisample] + /// Retrieve the location of a sample + /// + /// + /// + /// Specifies the sample parameter name. pname must be GL_SAMPLE_POSITION. + /// + /// + /// + /// + /// Specifies the index of the sample whose position to query. + /// + /// + /// + /// + /// Specifies the address of an array to receive the position of the sample. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_explicit_multisample", Version = "", EntryPoint = "glGetMultisamplefvNV")] + public static + unsafe void GetMultisample(OpenTK.Graphics.OpenGL.NvExplicitMultisample pname, UInt32 index, [OutAttribute] Single* val) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMultisamplefvNV((OpenTK.Graphics.OpenGL.NvExplicitMultisample)pname, (UInt32)index, (Single*)val); + #if DEBUG + } + #endif + } + + /// [requires: NV_shader_buffer_load] + [AutoGenerated(Category = "NV_shader_buffer_load", Version = "1.2", EntryPoint = "glGetNamedBufferParameterui64vNV")] + public static + void GetNamedBufferParameter(Int32 buffer, OpenTK.Graphics.OpenGL.NvShaderBufferLoad pname, [OutAttribute] Int64[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* @params_ptr = @params) + { + Delegates.glGetNamedBufferParameterui64vNV((UInt32)buffer, (OpenTK.Graphics.OpenGL.NvShaderBufferLoad)pname, (UInt64*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_shader_buffer_load] + [AutoGenerated(Category = "NV_shader_buffer_load", Version = "1.2", EntryPoint = "glGetNamedBufferParameterui64vNV")] + public static + void GetNamedBufferParameter(Int32 buffer, OpenTK.Graphics.OpenGL.NvShaderBufferLoad pname, [OutAttribute] out Int64 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* @params_ptr = &@params) + { + Delegates.glGetNamedBufferParameterui64vNV((UInt32)buffer, (OpenTK.Graphics.OpenGL.NvShaderBufferLoad)pname, (UInt64*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_shader_buffer_load] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_shader_buffer_load", Version = "1.2", EntryPoint = "glGetNamedBufferParameterui64vNV")] + public static + unsafe void GetNamedBufferParameter(Int32 buffer, OpenTK.Graphics.OpenGL.NvShaderBufferLoad pname, [OutAttribute] Int64* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetNamedBufferParameterui64vNV((UInt32)buffer, (OpenTK.Graphics.OpenGL.NvShaderBufferLoad)pname, (UInt64*)@params); + #if DEBUG + } + #endif + } + + /// [requires: NV_shader_buffer_load] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_shader_buffer_load", Version = "1.2", EntryPoint = "glGetNamedBufferParameterui64vNV")] + public static + void GetNamedBufferParameter(UInt32 buffer, OpenTK.Graphics.OpenGL.NvShaderBufferLoad pname, [OutAttribute] UInt64[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt64* @params_ptr = @params) + { + Delegates.glGetNamedBufferParameterui64vNV((UInt32)buffer, (OpenTK.Graphics.OpenGL.NvShaderBufferLoad)pname, (UInt64*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_shader_buffer_load] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_shader_buffer_load", Version = "1.2", EntryPoint = "glGetNamedBufferParameterui64vNV")] + public static + void GetNamedBufferParameter(UInt32 buffer, OpenTK.Graphics.OpenGL.NvShaderBufferLoad pname, [OutAttribute] out UInt64 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt64* @params_ptr = &@params) + { + Delegates.glGetNamedBufferParameterui64vNV((UInt32)buffer, (OpenTK.Graphics.OpenGL.NvShaderBufferLoad)pname, (UInt64*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_shader_buffer_load] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_shader_buffer_load", Version = "1.2", EntryPoint = "glGetNamedBufferParameterui64vNV")] + public static + unsafe void GetNamedBufferParameter(UInt32 buffer, OpenTK.Graphics.OpenGL.NvShaderBufferLoad pname, [OutAttribute] UInt64* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetNamedBufferParameterui64vNV((UInt32)buffer, (OpenTK.Graphics.OpenGL.NvShaderBufferLoad)pname, (UInt64*)@params); + #if DEBUG + } + #endif + } + + /// [requires: NV_occlusion_query] + [AutoGenerated(Category = "NV_occlusion_query", Version = "1.2", EntryPoint = "glGetOcclusionQueryivNV")] + public static + void GetOcclusionQuery(Int32 id, OpenTK.Graphics.OpenGL.NvOcclusionQuery pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetOcclusionQueryivNV((UInt32)id, (OpenTK.Graphics.OpenGL.NvOcclusionQuery)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_occlusion_query] + [AutoGenerated(Category = "NV_occlusion_query", Version = "1.2", EntryPoint = "glGetOcclusionQueryivNV")] + public static + void GetOcclusionQuery(Int32 id, OpenTK.Graphics.OpenGL.NvOcclusionQuery pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetOcclusionQueryivNV((UInt32)id, (OpenTK.Graphics.OpenGL.NvOcclusionQuery)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_occlusion_query] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_occlusion_query", Version = "1.2", EntryPoint = "glGetOcclusionQueryivNV")] + public static + unsafe void GetOcclusionQuery(Int32 id, OpenTK.Graphics.OpenGL.NvOcclusionQuery pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetOcclusionQueryivNV((UInt32)id, (OpenTK.Graphics.OpenGL.NvOcclusionQuery)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: NV_occlusion_query] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_occlusion_query", Version = "1.2", EntryPoint = "glGetOcclusionQueryivNV")] + public static + void GetOcclusionQuery(UInt32 id, OpenTK.Graphics.OpenGL.NvOcclusionQuery pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetOcclusionQueryivNV((UInt32)id, (OpenTK.Graphics.OpenGL.NvOcclusionQuery)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_occlusion_query] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_occlusion_query", Version = "1.2", EntryPoint = "glGetOcclusionQueryivNV")] + public static + void GetOcclusionQuery(UInt32 id, OpenTK.Graphics.OpenGL.NvOcclusionQuery pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetOcclusionQueryivNV((UInt32)id, (OpenTK.Graphics.OpenGL.NvOcclusionQuery)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_occlusion_query] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_occlusion_query", Version = "1.2", EntryPoint = "glGetOcclusionQueryivNV")] + public static + unsafe void GetOcclusionQuery(UInt32 id, OpenTK.Graphics.OpenGL.NvOcclusionQuery pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetOcclusionQueryivNV((UInt32)id, (OpenTK.Graphics.OpenGL.NvOcclusionQuery)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: NV_occlusion_query] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_occlusion_query", Version = "1.2", EntryPoint = "glGetOcclusionQueryuivNV")] + public static + void GetOcclusionQuery(UInt32 id, OpenTK.Graphics.OpenGL.NvOcclusionQuery pname, [OutAttribute] UInt32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = @params) + { + Delegates.glGetOcclusionQueryuivNV((UInt32)id, (OpenTK.Graphics.OpenGL.NvOcclusionQuery)pname, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_occlusion_query] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_occlusion_query", Version = "1.2", EntryPoint = "glGetOcclusionQueryuivNV")] + public static + void GetOcclusionQuery(UInt32 id, OpenTK.Graphics.OpenGL.NvOcclusionQuery pname, [OutAttribute] out UInt32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = &@params) + { + Delegates.glGetOcclusionQueryuivNV((UInt32)id, (OpenTK.Graphics.OpenGL.NvOcclusionQuery)pname, (UInt32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_occlusion_query] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_occlusion_query", Version = "1.2", EntryPoint = "glGetOcclusionQueryuivNV")] + public static + unsafe void GetOcclusionQuery(UInt32 id, OpenTK.Graphics.OpenGL.NvOcclusionQuery pname, [OutAttribute] UInt32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetOcclusionQueryuivNV((UInt32)id, (OpenTK.Graphics.OpenGL.NvOcclusionQuery)pname, (UInt32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: NV_gpu_program4] + [AutoGenerated(Category = "NV_gpu_program4", Version = "1.3", EntryPoint = "glGetProgramEnvParameterIivNV")] + public static + void GetProgramEnvParameterI(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, Int32 index, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetProgramEnvParameterIivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_gpu_program4] + [AutoGenerated(Category = "NV_gpu_program4", Version = "1.3", EntryPoint = "glGetProgramEnvParameterIivNV")] + public static + void GetProgramEnvParameterI(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, Int32 index, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetProgramEnvParameterIivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_gpu_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_program4", Version = "1.3", EntryPoint = "glGetProgramEnvParameterIivNV")] + public static + unsafe void GetProgramEnvParameterI(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, Int32 index, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramEnvParameterIivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: NV_gpu_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_program4", Version = "1.3", EntryPoint = "glGetProgramEnvParameterIivNV")] + public static + void GetProgramEnvParameterI(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetProgramEnvParameterIivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_gpu_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_program4", Version = "1.3", EntryPoint = "glGetProgramEnvParameterIivNV")] + public static + void GetProgramEnvParameterI(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetProgramEnvParameterIivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_gpu_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_program4", Version = "1.3", EntryPoint = "glGetProgramEnvParameterIivNV")] + public static + unsafe void GetProgramEnvParameterI(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramEnvParameterIivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: NV_gpu_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_program4", Version = "1.3", EntryPoint = "glGetProgramEnvParameterIuivNV")] + public static + void GetProgramEnvParameterI(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, [OutAttribute] UInt32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = @params) + { + Delegates.glGetProgramEnvParameterIuivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_gpu_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_program4", Version = "1.3", EntryPoint = "glGetProgramEnvParameterIuivNV")] + public static + void GetProgramEnvParameterI(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, [OutAttribute] out UInt32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = &@params) + { + Delegates.glGetProgramEnvParameterIuivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (UInt32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_gpu_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_program4", Version = "1.3", EntryPoint = "glGetProgramEnvParameterIuivNV")] + public static + unsafe void GetProgramEnvParameterI(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, [OutAttribute] UInt32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramEnvParameterIuivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (UInt32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// Returns a parameter from a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_BLOCKS, GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH, GL_ACTIVE_UNIFORM_MAX_LENGTH, GL_PROGRAM_BINARY_LENGTH, GL_TRANSFORM_FEEDBACK_BUFFER_MODE, GL_TRANSFORM_FEEDBACK_VARYINGS, GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH, GL_GEOMETRY_VERTICES_OUT, GL_GEOMETRY_INPUT_TYPE, and GL_GEOMETRY_OUTPUT_TYPE. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glGetProgramivNV")] + public static + void GetProgram(Int32 id, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetProgramivNV((UInt32)id, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// Returns a parameter from a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_BLOCKS, GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH, GL_ACTIVE_UNIFORM_MAX_LENGTH, GL_PROGRAM_BINARY_LENGTH, GL_TRANSFORM_FEEDBACK_BUFFER_MODE, GL_TRANSFORM_FEEDBACK_VARYINGS, GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH, GL_GEOMETRY_VERTICES_OUT, GL_GEOMETRY_INPUT_TYPE, and GL_GEOMETRY_OUTPUT_TYPE. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glGetProgramivNV")] + public static + void GetProgram(Int32 id, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetProgramivNV((UInt32)id, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// Returns a parameter from a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_BLOCKS, GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH, GL_ACTIVE_UNIFORM_MAX_LENGTH, GL_PROGRAM_BINARY_LENGTH, GL_TRANSFORM_FEEDBACK_BUFFER_MODE, GL_TRANSFORM_FEEDBACK_VARYINGS, GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH, GL_GEOMETRY_VERTICES_OUT, GL_GEOMETRY_INPUT_TYPE, and GL_GEOMETRY_OUTPUT_TYPE. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glGetProgramivNV")] + public static + unsafe void GetProgram(Int32 id, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramivNV((UInt32)id, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// Returns a parameter from a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_BLOCKS, GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH, GL_ACTIVE_UNIFORM_MAX_LENGTH, GL_PROGRAM_BINARY_LENGTH, GL_TRANSFORM_FEEDBACK_BUFFER_MODE, GL_TRANSFORM_FEEDBACK_VARYINGS, GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH, GL_GEOMETRY_VERTICES_OUT, GL_GEOMETRY_INPUT_TYPE, and GL_GEOMETRY_OUTPUT_TYPE. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glGetProgramivNV")] + public static + void GetProgram(UInt32 id, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetProgramivNV((UInt32)id, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// Returns a parameter from a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_BLOCKS, GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH, GL_ACTIVE_UNIFORM_MAX_LENGTH, GL_PROGRAM_BINARY_LENGTH, GL_TRANSFORM_FEEDBACK_BUFFER_MODE, GL_TRANSFORM_FEEDBACK_VARYINGS, GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH, GL_GEOMETRY_VERTICES_OUT, GL_GEOMETRY_INPUT_TYPE, and GL_GEOMETRY_OUTPUT_TYPE. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glGetProgramivNV")] + public static + void GetProgram(UInt32 id, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetProgramivNV((UInt32)id, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// Returns a parameter from a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_BLOCKS, GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH, GL_ACTIVE_UNIFORM_MAX_LENGTH, GL_PROGRAM_BINARY_LENGTH, GL_TRANSFORM_FEEDBACK_BUFFER_MODE, GL_TRANSFORM_FEEDBACK_VARYINGS, GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH, GL_GEOMETRY_VERTICES_OUT, GL_GEOMETRY_INPUT_TYPE, and GL_GEOMETRY_OUTPUT_TYPE. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glGetProgramivNV")] + public static + unsafe void GetProgram(UInt32 id, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramivNV((UInt32)id, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: NV_gpu_program4] + [AutoGenerated(Category = "NV_gpu_program4", Version = "1.3", EntryPoint = "glGetProgramLocalParameterIivNV")] + public static + void GetProgramLocalParameterI(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, Int32 index, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetProgramLocalParameterIivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_gpu_program4] + [AutoGenerated(Category = "NV_gpu_program4", Version = "1.3", EntryPoint = "glGetProgramLocalParameterIivNV")] + public static + void GetProgramLocalParameterI(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, Int32 index, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetProgramLocalParameterIivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_gpu_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_program4", Version = "1.3", EntryPoint = "glGetProgramLocalParameterIivNV")] + public static + unsafe void GetProgramLocalParameterI(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, Int32 index, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramLocalParameterIivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: NV_gpu_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_program4", Version = "1.3", EntryPoint = "glGetProgramLocalParameterIivNV")] + public static + void GetProgramLocalParameterI(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetProgramLocalParameterIivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_gpu_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_program4", Version = "1.3", EntryPoint = "glGetProgramLocalParameterIivNV")] + public static + void GetProgramLocalParameterI(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetProgramLocalParameterIivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_gpu_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_program4", Version = "1.3", EntryPoint = "glGetProgramLocalParameterIivNV")] + public static + unsafe void GetProgramLocalParameterI(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramLocalParameterIivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: NV_gpu_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_program4", Version = "1.3", EntryPoint = "glGetProgramLocalParameterIuivNV")] + public static + void GetProgramLocalParameterI(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, [OutAttribute] UInt32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = @params) + { + Delegates.glGetProgramLocalParameterIuivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_gpu_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_program4", Version = "1.3", EntryPoint = "glGetProgramLocalParameterIuivNV")] + public static + void GetProgramLocalParameterI(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, [OutAttribute] out UInt32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = &@params) + { + Delegates.glGetProgramLocalParameterIuivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (UInt32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_gpu_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_program4", Version = "1.3", EntryPoint = "glGetProgramLocalParameterIuivNV")] + public static + unsafe void GetProgramLocalParameterI(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, [OutAttribute] UInt32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramLocalParameterIuivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (UInt32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: NV_fragment_program] + [AutoGenerated(Category = "NV_fragment_program", Version = "1.2", EntryPoint = "glGetProgramNamedParameterdvNV")] + public static + void GetProgramNamedParameter(Int32 id, Int32 len, ref Byte name, [OutAttribute] out Double @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* name_ptr = &name) + fixed (Double* @params_ptr = &@params) + { + Delegates.glGetProgramNamedParameterdvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Double*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_fragment_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_fragment_program", Version = "1.2", EntryPoint = "glGetProgramNamedParameterdvNV")] + public static + unsafe void GetProgramNamedParameter(Int32 id, Int32 len, Byte* name, [OutAttribute] Double[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (Double* @params_ptr = @params) + { + Delegates.glGetProgramNamedParameterdvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)@params_ptr); + } + #if DEBUG + } + #endif + } + + /// [requires: NV_fragment_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_fragment_program", Version = "1.2", EntryPoint = "glGetProgramNamedParameterdvNV")] + public static + unsafe void GetProgramNamedParameter(Int32 id, Int32 len, Byte* name, [OutAttribute] Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramNamedParameterdvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)@params); + #if DEBUG + } + #endif + } + + /// [requires: NV_fragment_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_fragment_program", Version = "1.2", EntryPoint = "glGetProgramNamedParameterdvNV")] + public static + void GetProgramNamedParameter(UInt32 id, Int32 len, ref Byte name, [OutAttribute] out Double @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* name_ptr = &name) + fixed (Double* @params_ptr = &@params) + { + Delegates.glGetProgramNamedParameterdvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Double*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_fragment_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_fragment_program", Version = "1.2", EntryPoint = "glGetProgramNamedParameterdvNV")] + public static + unsafe void GetProgramNamedParameter(UInt32 id, Int32 len, Byte* name, [OutAttribute] Double[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (Double* @params_ptr = @params) + { + Delegates.glGetProgramNamedParameterdvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)@params_ptr); + } + #if DEBUG + } + #endif + } + + /// [requires: NV_fragment_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_fragment_program", Version = "1.2", EntryPoint = "glGetProgramNamedParameterdvNV")] + public static + unsafe void GetProgramNamedParameter(UInt32 id, Int32 len, Byte* name, [OutAttribute] Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramNamedParameterdvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)@params); + #if DEBUG + } + #endif + } + + /// [requires: NV_fragment_program] + [AutoGenerated(Category = "NV_fragment_program", Version = "1.2", EntryPoint = "glGetProgramNamedParameterfvNV")] + public static + void GetProgramNamedParameter(Int32 id, Int32 len, ref Byte name, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* name_ptr = &name) + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetProgramNamedParameterfvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_fragment_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_fragment_program", Version = "1.2", EntryPoint = "glGetProgramNamedParameterfvNV")] + public static + unsafe void GetProgramNamedParameter(Int32 id, Int32 len, Byte* name, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (Single* @params_ptr = @params) + { + Delegates.glGetProgramNamedParameterfvNV((UInt32)id, (Int32)len, (Byte*)name, (Single*)@params_ptr); + } + #if DEBUG + } + #endif + } + + /// [requires: NV_fragment_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_fragment_program", Version = "1.2", EntryPoint = "glGetProgramNamedParameterfvNV")] + public static + unsafe void GetProgramNamedParameter(Int32 id, Int32 len, Byte* name, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramNamedParameterfvNV((UInt32)id, (Int32)len, (Byte*)name, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: NV_fragment_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_fragment_program", Version = "1.2", EntryPoint = "glGetProgramNamedParameterfvNV")] + public static + void GetProgramNamedParameter(UInt32 id, Int32 len, ref Byte name, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* name_ptr = &name) + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetProgramNamedParameterfvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_fragment_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_fragment_program", Version = "1.2", EntryPoint = "glGetProgramNamedParameterfvNV")] + public static + unsafe void GetProgramNamedParameter(UInt32 id, Int32 len, Byte* name, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (Single* @params_ptr = @params) + { + Delegates.glGetProgramNamedParameterfvNV((UInt32)id, (Int32)len, (Byte*)name, (Single*)@params_ptr); + } + #if DEBUG + } + #endif + } + + /// [requires: NV_fragment_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_fragment_program", Version = "1.2", EntryPoint = "glGetProgramNamedParameterfvNV")] + public static + unsafe void GetProgramNamedParameter(UInt32 id, Int32 len, Byte* name, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramNamedParameterfvNV((UInt32)id, (Int32)len, (Byte*)name, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glGetProgramParameterdvNV")] + public static + void GetProgramParameter(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] Double[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = @params) + { + Delegates.glGetProgramParameterdvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glGetProgramParameterdvNV")] + public static + void GetProgramParameter(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] out Double @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = &@params) + { + Delegates.glGetProgramParameterdvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (Double*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glGetProgramParameterdvNV")] + public static + unsafe void GetProgramParameter(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramParameterdvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (Double*)@params); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glGetProgramParameterdvNV")] + public static + void GetProgramParameter(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] Double[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = @params) + { + Delegates.glGetProgramParameterdvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glGetProgramParameterdvNV")] + public static + void GetProgramParameter(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] out Double @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = &@params) + { + Delegates.glGetProgramParameterdvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (Double*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glGetProgramParameterdvNV")] + public static + unsafe void GetProgramParameter(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramParameterdvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (Double*)@params); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glGetProgramParameterfvNV")] + public static + void GetProgramParameter(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetProgramParameterfvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glGetProgramParameterfvNV")] + public static + void GetProgramParameter(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetProgramParameterfvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glGetProgramParameterfvNV")] + public static + unsafe void GetProgramParameter(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramParameterfvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glGetProgramParameterfvNV")] + public static + void GetProgramParameter(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetProgramParameterfvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glGetProgramParameterfvNV")] + public static + void GetProgramParameter(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetProgramParameterfvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glGetProgramParameterfvNV")] + public static + unsafe void GetProgramParameter(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramParameterfvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glGetProgramStringNV")] + public static + void GetProgramString(Int32 id, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] Byte[] program) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* program_ptr = program) + { + Delegates.glGetProgramStringNV((UInt32)id, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (Byte*)program_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glGetProgramStringNV")] + public static + void GetProgramString(Int32 id, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] out Byte program) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* program_ptr = &program) + { + Delegates.glGetProgramStringNV((UInt32)id, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (Byte*)program_ptr); + program = *program_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glGetProgramStringNV")] + public static + unsafe void GetProgramString(Int32 id, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] Byte* program) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramStringNV((UInt32)id, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (Byte*)program); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glGetProgramStringNV")] + public static + void GetProgramString(UInt32 id, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] Byte[] program) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* program_ptr = program) + { + Delegates.glGetProgramStringNV((UInt32)id, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (Byte*)program_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glGetProgramStringNV")] + public static + void GetProgramString(UInt32 id, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] out Byte program) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* program_ptr = &program) + { + Delegates.glGetProgramStringNV((UInt32)id, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (Byte*)program_ptr); + program = *program_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glGetProgramStringNV")] + public static + unsafe void GetProgramString(UInt32 id, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] Byte* program) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramStringNV((UInt32)id, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (Byte*)program); + #if DEBUG + } + #endif + } + + /// [requires: NV_gpu_program5] + [AutoGenerated(Category = "NV_gpu_program5", Version = "4.1", EntryPoint = "glGetProgramSubroutineParameteruivNV")] + public static + void GetProgramSubroutineParameter(OpenTK.Graphics.OpenGL.NvGpuProgram5 target, Int32 index, [OutAttribute] Int32[] param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* param_ptr = param) + { + Delegates.glGetProgramSubroutineParameteruivNV((OpenTK.Graphics.OpenGL.NvGpuProgram5)target, (UInt32)index, (UInt32*)param_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_gpu_program5] + [AutoGenerated(Category = "NV_gpu_program5", Version = "4.1", EntryPoint = "glGetProgramSubroutineParameteruivNV")] + public static + void GetProgramSubroutineParameter(OpenTK.Graphics.OpenGL.NvGpuProgram5 target, Int32 index, [OutAttribute] out Int32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* param_ptr = ¶m) + { + Delegates.glGetProgramSubroutineParameteruivNV((OpenTK.Graphics.OpenGL.NvGpuProgram5)target, (UInt32)index, (UInt32*)param_ptr); + param = *param_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_gpu_program5] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_program5", Version = "4.1", EntryPoint = "glGetProgramSubroutineParameteruivNV")] + public static + unsafe void GetProgramSubroutineParameter(OpenTK.Graphics.OpenGL.NvGpuProgram5 target, Int32 index, [OutAttribute] Int32* param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramSubroutineParameteruivNV((OpenTK.Graphics.OpenGL.NvGpuProgram5)target, (UInt32)index, (UInt32*)param); + #if DEBUG + } + #endif + } + + /// [requires: NV_gpu_program5] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_program5", Version = "4.1", EntryPoint = "glGetProgramSubroutineParameteruivNV")] + public static + void GetProgramSubroutineParameter(OpenTK.Graphics.OpenGL.NvGpuProgram5 target, UInt32 index, [OutAttribute] UInt32[] param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* param_ptr = param) + { + Delegates.glGetProgramSubroutineParameteruivNV((OpenTK.Graphics.OpenGL.NvGpuProgram5)target, (UInt32)index, (UInt32*)param_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_gpu_program5] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_program5", Version = "4.1", EntryPoint = "glGetProgramSubroutineParameteruivNV")] + public static + void GetProgramSubroutineParameter(OpenTK.Graphics.OpenGL.NvGpuProgram5 target, UInt32 index, [OutAttribute] out UInt32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* param_ptr = ¶m) + { + Delegates.glGetProgramSubroutineParameteruivNV((OpenTK.Graphics.OpenGL.NvGpuProgram5)target, (UInt32)index, (UInt32*)param_ptr); + param = *param_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_gpu_program5] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_program5", Version = "4.1", EntryPoint = "glGetProgramSubroutineParameteruivNV")] + public static + unsafe void GetProgramSubroutineParameter(OpenTK.Graphics.OpenGL.NvGpuProgram5 target, UInt32 index, [OutAttribute] UInt32* param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramSubroutineParameteruivNV((OpenTK.Graphics.OpenGL.NvGpuProgram5)target, (UInt32)index, (UInt32*)param); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glGetTrackMatrixivNV")] + public static + void GetTrackMatrix(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 address, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetTrackMatrixivNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)address, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glGetTrackMatrixivNV")] + public static + unsafe void GetTrackMatrix(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 address, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTrackMatrixivNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)address, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glGetTrackMatrixivNV")] + public static + void GetTrackMatrix(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 address, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetTrackMatrixivNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)address, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glGetTrackMatrixivNV")] + public static + unsafe void GetTrackMatrix(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 address, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTrackMatrixivNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)address, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: NV_transform_feedback] + /// Retrieve information about varying variables selected for transform feedback + /// + /// + /// + /// The name of the target program object. + /// + /// + /// + /// + /// The index of the varying variable whose information to retrieve. + /// + /// + /// + /// + /// The maximum number of characters, including the null terminator, that may be written into name. + /// + /// + /// + /// + /// The address of a variable which will receive the number of characters written into name, excluding the null-terminator. If length is NULL no length is returned. + /// + /// + /// + /// + /// The address of a variable that will receive the size of the varying. + /// + /// + /// + /// + /// The address of a variable that will recieve the type of the varying. + /// + /// + /// + /// + /// The address of a buffer into which will be written the name of the varying. + /// + /// + [AutoGenerated(Category = "NV_transform_feedback", Version = "1.5", EntryPoint = "glGetTransformFeedbackVaryingNV")] + public static + void GetTransformFeedbackVarying(Int32 program, Int32 index, [OutAttribute] out Int32 location) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* location_ptr = &location) + { + Delegates.glGetTransformFeedbackVaryingNV((UInt32)program, (UInt32)index, (Int32*)location_ptr); + location = *location_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_transform_feedback] + /// Retrieve information about varying variables selected for transform feedback + /// + /// + /// + /// The name of the target program object. + /// + /// + /// + /// + /// The index of the varying variable whose information to retrieve. + /// + /// + /// + /// + /// The maximum number of characters, including the null terminator, that may be written into name. + /// + /// + /// + /// + /// The address of a variable which will receive the number of characters written into name, excluding the null-terminator. If length is NULL no length is returned. + /// + /// + /// + /// + /// The address of a variable that will receive the size of the varying. + /// + /// + /// + /// + /// The address of a variable that will recieve the type of the varying. + /// + /// + /// + /// + /// The address of a buffer into which will be written the name of the varying. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_transform_feedback", Version = "1.5", EntryPoint = "glGetTransformFeedbackVaryingNV")] + public static + unsafe void GetTransformFeedbackVarying(Int32 program, Int32 index, [OutAttribute] Int32* location) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTransformFeedbackVaryingNV((UInt32)program, (UInt32)index, (Int32*)location); + #if DEBUG + } + #endif + } + + + /// [requires: NV_transform_feedback] + /// Retrieve information about varying variables selected for transform feedback + /// + /// + /// + /// The name of the target program object. + /// + /// + /// + /// + /// The index of the varying variable whose information to retrieve. + /// + /// + /// + /// + /// The maximum number of characters, including the null terminator, that may be written into name. + /// + /// + /// + /// + /// The address of a variable which will receive the number of characters written into name, excluding the null-terminator. If length is NULL no length is returned. + /// + /// + /// + /// + /// The address of a variable that will receive the size of the varying. + /// + /// + /// + /// + /// The address of a variable that will recieve the type of the varying. + /// + /// + /// + /// + /// The address of a buffer into which will be written the name of the varying. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_transform_feedback", Version = "1.5", EntryPoint = "glGetTransformFeedbackVaryingNV")] + public static + void GetTransformFeedbackVarying(UInt32 program, UInt32 index, [OutAttribute] out Int32 location) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* location_ptr = &location) + { + Delegates.glGetTransformFeedbackVaryingNV((UInt32)program, (UInt32)index, (Int32*)location_ptr); + location = *location_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_transform_feedback] + /// Retrieve information about varying variables selected for transform feedback + /// + /// + /// + /// The name of the target program object. + /// + /// + /// + /// + /// The index of the varying variable whose information to retrieve. + /// + /// + /// + /// + /// The maximum number of characters, including the null terminator, that may be written into name. + /// + /// + /// + /// + /// The address of a variable which will receive the number of characters written into name, excluding the null-terminator. If length is NULL no length is returned. + /// + /// + /// + /// + /// The address of a variable that will receive the size of the varying. + /// + /// + /// + /// + /// The address of a variable that will recieve the type of the varying. + /// + /// + /// + /// + /// The address of a buffer into which will be written the name of the varying. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_transform_feedback", Version = "1.5", EntryPoint = "glGetTransformFeedbackVaryingNV")] + public static + unsafe void GetTransformFeedbackVarying(UInt32 program, UInt32 index, [OutAttribute] Int32* location) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTransformFeedbackVaryingNV((UInt32)program, (UInt32)index, (Int32*)location); + #if DEBUG + } + #endif + } + + + /// [requires: NV_gpu_shader5] + /// 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 = "NV_gpu_shader5", Version = "4.1", EntryPoint = "glGetUniformi64vNV")] + public static + void GetUniform(Int32 program, Int32 location, [OutAttribute] Int64[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* @params_ptr = @params) + { + Delegates.glGetUniformi64vNV((UInt32)program, (Int32)location, (Int64*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_gpu_shader5] + /// 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 = "NV_gpu_shader5", Version = "4.1", EntryPoint = "glGetUniformi64vNV")] + public static + void GetUniform(Int32 program, Int32 location, [OutAttribute] out Int64 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* @params_ptr = &@params) + { + Delegates.glGetUniformi64vNV((UInt32)program, (Int32)location, (Int64*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_gpu_shader5] + /// 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 = "NV_gpu_shader5", Version = "4.1", EntryPoint = "glGetUniformi64vNV")] + public static + unsafe void GetUniform(Int32 program, Int32 location, [OutAttribute] Int64* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetUniformi64vNV((UInt32)program, (Int32)location, (Int64*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: NV_gpu_shader5] + /// 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 = "NV_gpu_shader5", Version = "4.1", EntryPoint = "glGetUniformi64vNV")] + public static + void GetUniform(UInt32 program, Int32 location, [OutAttribute] Int64[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* @params_ptr = @params) + { + Delegates.glGetUniformi64vNV((UInt32)program, (Int32)location, (Int64*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_gpu_shader5] + /// 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 = "NV_gpu_shader5", Version = "4.1", EntryPoint = "glGetUniformi64vNV")] + public static + void GetUniform(UInt32 program, Int32 location, [OutAttribute] out Int64 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* @params_ptr = &@params) + { + Delegates.glGetUniformi64vNV((UInt32)program, (Int32)location, (Int64*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_gpu_shader5] + /// 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 = "NV_gpu_shader5", Version = "4.1", EntryPoint = "glGetUniformi64vNV")] + public static + unsafe void GetUniform(UInt32 program, Int32 location, [OutAttribute] Int64* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetUniformi64vNV((UInt32)program, (Int32)location, (Int64*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: NV_shader_buffer_load] + /// 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 = "NV_shader_buffer_load", Version = "1.2", EntryPoint = "glGetUniformui64vNV")] + public static + void GetUniform(UInt32 program, Int32 location, [OutAttribute] UInt64[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt64* @params_ptr = @params) + { + Delegates.glGetUniformui64vNV((UInt32)program, (Int32)location, (UInt64*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_shader_buffer_load] + /// 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 = "NV_shader_buffer_load", Version = "1.2", EntryPoint = "glGetUniformui64vNV")] + public static + void GetUniform(UInt32 program, Int32 location, [OutAttribute] out UInt64 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt64* @params_ptr = &@params) + { + Delegates.glGetUniformui64vNV((UInt32)program, (Int32)location, (UInt64*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_shader_buffer_load] + /// 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 = "NV_shader_buffer_load", Version = "1.2", EntryPoint = "glGetUniformui64vNV")] + public static + unsafe void GetUniform(UInt32 program, Int32 location, [OutAttribute] UInt64* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetUniformui64vNV((UInt32)program, (Int32)location, (UInt64*)@params); + #if DEBUG + } + #endif + } + + /// [requires: NV_transform_feedback] + [AutoGenerated(Category = "NV_transform_feedback", Version = "1.5", EntryPoint = "glGetVaryingLocationNV")] + public static + Int32 GetVaryingLocation(Int32 program, String name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glGetVaryingLocationNV((UInt32)program, (String)name); + #if DEBUG + } + #endif + } + + /// [requires: NV_transform_feedback] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_transform_feedback", Version = "1.5", EntryPoint = "glGetVaryingLocationNV")] + public static + Int32 GetVaryingLocation(UInt32 program, String name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glGetVaryingLocationNV((UInt32)program, (String)name); + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glGetVertexAttribdvNV")] + public static + void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] out Double @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = &@params) + { + Delegates.glGetVertexAttribdvNV((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (Double*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glGetVertexAttribdvNV")] + public static + unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribdvNV((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (Double*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glGetVertexAttribdvNV")] + public static + void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] out Double @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = &@params) + { + Delegates.glGetVertexAttribdvNV((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (Double*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glGetVertexAttribdvNV")] + public static + unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribdvNV((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (Double*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glGetVertexAttribfvNV")] + public static + void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetVertexAttribfvNV((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glGetVertexAttribfvNV")] + public static + unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribfvNV((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glGetVertexAttribfvNV")] + public static + void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetVertexAttribfvNV((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glGetVertexAttribfvNV")] + public static + unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribfvNV((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glGetVertexAttribivNV")] + public static + void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetVertexAttribivNV((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glGetVertexAttribivNV")] + public static + unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribivNV((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glGetVertexAttribivNV")] + public static + void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetVertexAttribivNV((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glGetVertexAttribivNV")] + public static + unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribivNV((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_attrib_integer_64bit] + /// 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, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "4.1", EntryPoint = "glGetVertexAttribLi64vNV")] + public static + void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit pname, [OutAttribute] Int64[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* @params_ptr = @params) + { + Delegates.glGetVertexAttribLi64vNV((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit)pname, (Int64*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_attrib_integer_64bit] + /// 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, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "4.1", EntryPoint = "glGetVertexAttribLi64vNV")] + public static + void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit pname, [OutAttribute] out Int64 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* @params_ptr = &@params) + { + Delegates.glGetVertexAttribLi64vNV((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit)pname, (Int64*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_attrib_integer_64bit] + /// 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, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "4.1", EntryPoint = "glGetVertexAttribLi64vNV")] + public static + unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit pname, [OutAttribute] Int64* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribLi64vNV((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit)pname, (Int64*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_attrib_integer_64bit] + /// 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, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "4.1", EntryPoint = "glGetVertexAttribLi64vNV")] + public static + void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit pname, [OutAttribute] Int64[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* @params_ptr = @params) + { + Delegates.glGetVertexAttribLi64vNV((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit)pname, (Int64*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_attrib_integer_64bit] + /// 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, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "4.1", EntryPoint = "glGetVertexAttribLi64vNV")] + public static + void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit pname, [OutAttribute] out Int64 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* @params_ptr = &@params) + { + Delegates.glGetVertexAttribLi64vNV((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit)pname, (Int64*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_attrib_integer_64bit] + /// 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, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "4.1", EntryPoint = "glGetVertexAttribLi64vNV")] + public static + unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit pname, [OutAttribute] Int64* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribLi64vNV((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit)pname, (Int64*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_attrib_integer_64bit] + /// 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, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "4.1", EntryPoint = "glGetVertexAttribLui64vNV")] + public static + void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit pname, [OutAttribute] UInt64[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt64* @params_ptr = @params) + { + Delegates.glGetVertexAttribLui64vNV((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit)pname, (UInt64*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_attrib_integer_64bit] + /// 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, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "4.1", EntryPoint = "glGetVertexAttribLui64vNV")] + public static + void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit pname, [OutAttribute] out UInt64 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt64* @params_ptr = &@params) + { + Delegates.glGetVertexAttribLui64vNV((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit)pname, (UInt64*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_attrib_integer_64bit] + /// 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, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "4.1", EntryPoint = "glGetVertexAttribLui64vNV")] + public static + unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit pname, [OutAttribute] UInt64* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribLui64vNV((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit)pname, (UInt64*)@params); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glGetVertexAttribPointervNV")] + public static + void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribPointervNV((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glGetVertexAttribPointervNV")] + public static + void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [InAttribute, OutAttribute] T2[] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribPointervNV((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glGetVertexAttribPointervNV")] + public static + void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [InAttribute, OutAttribute] T2[,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribPointervNV((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glGetVertexAttribPointervNV")] + public static + void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [InAttribute, OutAttribute] T2[,,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribPointervNV((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glGetVertexAttribPointervNV")] + public static + void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [InAttribute, OutAttribute] ref T2 pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribPointervNV((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + pointer = (T2)pointer_ptr.Target; + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glGetVertexAttribPointervNV")] + public static + void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribPointervNV((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glGetVertexAttribPointervNV")] + public static + void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [InAttribute, OutAttribute] T2[] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribPointervNV((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glGetVertexAttribPointervNV")] + public static + void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [InAttribute, OutAttribute] T2[,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribPointervNV((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glGetVertexAttribPointervNV")] + public static + void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [InAttribute, OutAttribute] T2[,,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribPointervNV((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glGetVertexAttribPointervNV")] + public static + void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [InAttribute, OutAttribute] ref T2 pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribPointervNV((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + pointer = (T2)pointer_ptr.Target; + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: NV_video_capture] + [AutoGenerated(Category = "NV_video_capture", Version = "1.2", EntryPoint = "glGetVideoCaptureivNV")] + public static + void GetVideoCapture(Int32 video_capture_slot, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetVideoCaptureivNV((UInt32)video_capture_slot, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_video_capture] + [AutoGenerated(Category = "NV_video_capture", Version = "1.2", EntryPoint = "glGetVideoCaptureivNV")] + public static + void GetVideoCapture(Int32 video_capture_slot, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetVideoCaptureivNV((UInt32)video_capture_slot, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_video_capture] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_video_capture", Version = "1.2", EntryPoint = "glGetVideoCaptureivNV")] + public static + unsafe void GetVideoCapture(Int32 video_capture_slot, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVideoCaptureivNV((UInt32)video_capture_slot, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: NV_video_capture] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_video_capture", Version = "1.2", EntryPoint = "glGetVideoCaptureivNV")] + public static + void GetVideoCapture(UInt32 video_capture_slot, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetVideoCaptureivNV((UInt32)video_capture_slot, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_video_capture] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_video_capture", Version = "1.2", EntryPoint = "glGetVideoCaptureivNV")] + public static + void GetVideoCapture(UInt32 video_capture_slot, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetVideoCaptureivNV((UInt32)video_capture_slot, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_video_capture] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_video_capture", Version = "1.2", EntryPoint = "glGetVideoCaptureivNV")] + public static + unsafe void GetVideoCapture(UInt32 video_capture_slot, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVideoCaptureivNV((UInt32)video_capture_slot, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: NV_video_capture] + [AutoGenerated(Category = "NV_video_capture", Version = "1.2", EntryPoint = "glGetVideoCaptureStreamdvNV")] + public static + void GetVideoCaptureStream(Int32 video_capture_slot, Int32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] Double[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = @params) + { + Delegates.glGetVideoCaptureStreamdvNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_video_capture] + [AutoGenerated(Category = "NV_video_capture", Version = "1.2", EntryPoint = "glGetVideoCaptureStreamdvNV")] + public static + void GetVideoCaptureStream(Int32 video_capture_slot, Int32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] out Double @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = &@params) + { + Delegates.glGetVideoCaptureStreamdvNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Double*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_video_capture] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_video_capture", Version = "1.2", EntryPoint = "glGetVideoCaptureStreamdvNV")] + public static + unsafe void GetVideoCaptureStream(Int32 video_capture_slot, Int32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVideoCaptureStreamdvNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Double*)@params); + #if DEBUG + } + #endif + } + + /// [requires: NV_video_capture] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_video_capture", Version = "1.2", EntryPoint = "glGetVideoCaptureStreamdvNV")] + public static + void GetVideoCaptureStream(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] Double[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = @params) + { + Delegates.glGetVideoCaptureStreamdvNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_video_capture] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_video_capture", Version = "1.2", EntryPoint = "glGetVideoCaptureStreamdvNV")] + public static + void GetVideoCaptureStream(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] out Double @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = &@params) + { + Delegates.glGetVideoCaptureStreamdvNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Double*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_video_capture] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_video_capture", Version = "1.2", EntryPoint = "glGetVideoCaptureStreamdvNV")] + public static + unsafe void GetVideoCaptureStream(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVideoCaptureStreamdvNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Double*)@params); + #if DEBUG + } + #endif + } + + /// [requires: NV_video_capture] + [AutoGenerated(Category = "NV_video_capture", Version = "1.2", EntryPoint = "glGetVideoCaptureStreamfvNV")] + public static + void GetVideoCaptureStream(Int32 video_capture_slot, Int32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetVideoCaptureStreamfvNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_video_capture] + [AutoGenerated(Category = "NV_video_capture", Version = "1.2", EntryPoint = "glGetVideoCaptureStreamfvNV")] + public static + void GetVideoCaptureStream(Int32 video_capture_slot, Int32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetVideoCaptureStreamfvNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_video_capture] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_video_capture", Version = "1.2", EntryPoint = "glGetVideoCaptureStreamfvNV")] + public static + unsafe void GetVideoCaptureStream(Int32 video_capture_slot, Int32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVideoCaptureStreamfvNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: NV_video_capture] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_video_capture", Version = "1.2", EntryPoint = "glGetVideoCaptureStreamfvNV")] + public static + void GetVideoCaptureStream(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetVideoCaptureStreamfvNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_video_capture] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_video_capture", Version = "1.2", EntryPoint = "glGetVideoCaptureStreamfvNV")] + public static + void GetVideoCaptureStream(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetVideoCaptureStreamfvNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_video_capture] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_video_capture", Version = "1.2", EntryPoint = "glGetVideoCaptureStreamfvNV")] + public static + unsafe void GetVideoCaptureStream(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVideoCaptureStreamfvNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: NV_video_capture] + [AutoGenerated(Category = "NV_video_capture", Version = "1.2", EntryPoint = "glGetVideoCaptureStreamivNV")] + public static + void GetVideoCaptureStream(Int32 video_capture_slot, Int32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetVideoCaptureStreamivNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_video_capture] + [AutoGenerated(Category = "NV_video_capture", Version = "1.2", EntryPoint = "glGetVideoCaptureStreamivNV")] + public static + void GetVideoCaptureStream(Int32 video_capture_slot, Int32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetVideoCaptureStreamivNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_video_capture] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_video_capture", Version = "1.2", EntryPoint = "glGetVideoCaptureStreamivNV")] + public static + unsafe void GetVideoCaptureStream(Int32 video_capture_slot, Int32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVideoCaptureStreamivNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: NV_video_capture] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_video_capture", Version = "1.2", EntryPoint = "glGetVideoCaptureStreamivNV")] + public static + void GetVideoCaptureStream(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetVideoCaptureStreamivNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_video_capture] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_video_capture", Version = "1.2", EntryPoint = "glGetVideoCaptureStreamivNV")] + public static + void GetVideoCaptureStream(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetVideoCaptureStreamivNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_video_capture] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_video_capture", Version = "1.2", EntryPoint = "glGetVideoCaptureStreamivNV")] + public static + unsafe void GetVideoCaptureStream(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVideoCaptureStreamivNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: NV_present_video] + [AutoGenerated(Category = "NV_present_video", Version = "1.2", EntryPoint = "glGetVideoi64vNV")] + public static + void GetVideo(Int32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] Int64[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* @params_ptr = @params) + { + Delegates.glGetVideoi64vNV((UInt32)video_slot, (OpenTK.Graphics.OpenGL.NvPresentVideo)pname, (Int64*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_present_video] + [AutoGenerated(Category = "NV_present_video", Version = "1.2", EntryPoint = "glGetVideoi64vNV")] + public static + void GetVideo(Int32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] out Int64 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* @params_ptr = &@params) + { + Delegates.glGetVideoi64vNV((UInt32)video_slot, (OpenTK.Graphics.OpenGL.NvPresentVideo)pname, (Int64*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_present_video] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_present_video", Version = "1.2", EntryPoint = "glGetVideoi64vNV")] + public static + unsafe void GetVideo(Int32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] Int64* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVideoi64vNV((UInt32)video_slot, (OpenTK.Graphics.OpenGL.NvPresentVideo)pname, (Int64*)@params); + #if DEBUG + } + #endif + } + + /// [requires: NV_present_video] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_present_video", Version = "1.2", EntryPoint = "glGetVideoi64vNV")] + public static + void GetVideo(UInt32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] Int64[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* @params_ptr = @params) + { + Delegates.glGetVideoi64vNV((UInt32)video_slot, (OpenTK.Graphics.OpenGL.NvPresentVideo)pname, (Int64*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_present_video] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_present_video", Version = "1.2", EntryPoint = "glGetVideoi64vNV")] + public static + void GetVideo(UInt32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] out Int64 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* @params_ptr = &@params) + { + Delegates.glGetVideoi64vNV((UInt32)video_slot, (OpenTK.Graphics.OpenGL.NvPresentVideo)pname, (Int64*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_present_video] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_present_video", Version = "1.2", EntryPoint = "glGetVideoi64vNV")] + public static + unsafe void GetVideo(UInt32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] Int64* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVideoi64vNV((UInt32)video_slot, (OpenTK.Graphics.OpenGL.NvPresentVideo)pname, (Int64*)@params); + #if DEBUG + } + #endif + } + + /// [requires: NV_present_video] + [AutoGenerated(Category = "NV_present_video", Version = "1.2", EntryPoint = "glGetVideoivNV")] + public static + void GetVideo(Int32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetVideoivNV((UInt32)video_slot, (OpenTK.Graphics.OpenGL.NvPresentVideo)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_present_video] + [AutoGenerated(Category = "NV_present_video", Version = "1.2", EntryPoint = "glGetVideoivNV")] + public static + void GetVideo(Int32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetVideoivNV((UInt32)video_slot, (OpenTK.Graphics.OpenGL.NvPresentVideo)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_present_video] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_present_video", Version = "1.2", EntryPoint = "glGetVideoivNV")] + public static + unsafe void GetVideo(Int32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVideoivNV((UInt32)video_slot, (OpenTK.Graphics.OpenGL.NvPresentVideo)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: NV_present_video] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_present_video", Version = "1.2", EntryPoint = "glGetVideoivNV")] + public static + void GetVideo(UInt32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetVideoivNV((UInt32)video_slot, (OpenTK.Graphics.OpenGL.NvPresentVideo)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_present_video] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_present_video", Version = "1.2", EntryPoint = "glGetVideoivNV")] + public static + void GetVideo(UInt32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetVideoivNV((UInt32)video_slot, (OpenTK.Graphics.OpenGL.NvPresentVideo)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_present_video] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_present_video", Version = "1.2", EntryPoint = "glGetVideoivNV")] + public static + unsafe void GetVideo(UInt32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVideoivNV((UInt32)video_slot, (OpenTK.Graphics.OpenGL.NvPresentVideo)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: NV_present_video] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_present_video", Version = "1.2", EntryPoint = "glGetVideoui64vNV")] + public static + void GetVideo(UInt32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] UInt64[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt64* @params_ptr = @params) + { + Delegates.glGetVideoui64vNV((UInt32)video_slot, (OpenTK.Graphics.OpenGL.NvPresentVideo)pname, (UInt64*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_present_video] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_present_video", Version = "1.2", EntryPoint = "glGetVideoui64vNV")] + public static + void GetVideo(UInt32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] out UInt64 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt64* @params_ptr = &@params) + { + Delegates.glGetVideoui64vNV((UInt32)video_slot, (OpenTK.Graphics.OpenGL.NvPresentVideo)pname, (UInt64*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_present_video] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_present_video", Version = "1.2", EntryPoint = "glGetVideoui64vNV")] + public static + unsafe void GetVideo(UInt32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] UInt64* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVideoui64vNV((UInt32)video_slot, (OpenTK.Graphics.OpenGL.NvPresentVideo)pname, (UInt64*)@params); + #if DEBUG + } + #endif + } + + /// [requires: NV_present_video] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_present_video", Version = "1.2", EntryPoint = "glGetVideouivNV")] + public static + void GetVideo(UInt32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] UInt32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = @params) + { + Delegates.glGetVideouivNV((UInt32)video_slot, (OpenTK.Graphics.OpenGL.NvPresentVideo)pname, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_present_video] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_present_video", Version = "1.2", EntryPoint = "glGetVideouivNV")] + public static + void GetVideo(UInt32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] out UInt32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = &@params) + { + Delegates.glGetVideouivNV((UInt32)video_slot, (OpenTK.Graphics.OpenGL.NvPresentVideo)pname, (UInt32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_present_video] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_present_video", Version = "1.2", EntryPoint = "glGetVideouivNV")] + public static + unsafe void GetVideo(UInt32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] UInt32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVideouivNV((UInt32)video_slot, (OpenTK.Graphics.OpenGL.NvPresentVideo)pname, (UInt32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_buffer_unified_memory] + [AutoGenerated(Category = "NV_vertex_buffer_unified_memory", Version = "1.2", EntryPoint = "glIndexFormatNV")] + public static + void IndexFormat(OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glIndexFormatNV((OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory)type, (Int32)stride); + #if DEBUG + } + #endif + } + + /// [requires: NV_shader_buffer_load] + [AutoGenerated(Category = "NV_shader_buffer_load", Version = "1.2", EntryPoint = "glIsBufferResidentNV")] + public static + bool IsBufferResident(OpenTK.Graphics.OpenGL.NvShaderBufferLoad target) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsBufferResidentNV((OpenTK.Graphics.OpenGL.NvShaderBufferLoad)target); + #if DEBUG + } + #endif + } + + /// [requires: NV_fence] + [AutoGenerated(Category = "NV_fence", Version = "1.2", EntryPoint = "glIsFenceNV")] + public static + bool IsFence(Int32 fence) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsFenceNV((UInt32)fence); + #if DEBUG + } + #endif + } + + /// [requires: NV_fence] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_fence", Version = "1.2", EntryPoint = "glIsFenceNV")] + public static + bool IsFence(UInt32 fence) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsFenceNV((UInt32)fence); + #if DEBUG + } + #endif + } + + /// [requires: NV_shader_buffer_load] + [AutoGenerated(Category = "NV_shader_buffer_load", Version = "1.2", EntryPoint = "glIsNamedBufferResidentNV")] + public static + bool IsNamedBufferResident(Int32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsNamedBufferResidentNV((UInt32)buffer); + #if DEBUG + } + #endif + } + + /// [requires: NV_shader_buffer_load] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_shader_buffer_load", Version = "1.2", EntryPoint = "glIsNamedBufferResidentNV")] + public static + bool IsNamedBufferResident(UInt32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsNamedBufferResidentNV((UInt32)buffer); + #if DEBUG + } + #endif + } + + /// [requires: NV_occlusion_query] + [AutoGenerated(Category = "NV_occlusion_query", Version = "1.2", EntryPoint = "glIsOcclusionQueryNV")] + public static + bool IsOcclusionQuery(Int32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsOcclusionQueryNV((UInt32)id); + #if DEBUG + } + #endif + } + + /// [requires: NV_occlusion_query] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_occlusion_query", Version = "1.2", EntryPoint = "glIsOcclusionQueryNV")] + public static + bool IsOcclusionQuery(UInt32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsOcclusionQueryNV((UInt32)id); + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// Determines if a name corresponds to a program object + /// + /// + /// + /// Specifies a potential program object. + /// + /// + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glIsProgramNV")] + public static + bool IsProgram(Int32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsProgramNV((UInt32)id); + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// Determines if a name corresponds to a program object + /// + /// + /// + /// Specifies a potential program object. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glIsProgramNV")] + public static + bool IsProgram(UInt32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsProgramNV((UInt32)id); + #if DEBUG + } + #endif + } + + + /// [requires: NV_transform_feedback2] + /// Determine if a name corresponds to a transform feedback object + /// + /// + /// + /// Specifies a value that may be the name of a transform feedback object. + /// + /// + [AutoGenerated(Category = "NV_transform_feedback2", Version = "", EntryPoint = "glIsTransformFeedbackNV")] + public static + bool IsTransformFeedback(Int32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsTransformFeedbackNV((UInt32)id); + #if DEBUG + } + #endif + } + + + /// [requires: NV_transform_feedback2] + /// Determine if a name corresponds to a transform feedback object + /// + /// + /// + /// Specifies a value that may be the name of a transform feedback object. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_transform_feedback2", Version = "", EntryPoint = "glIsTransformFeedbackNV")] + public static + bool IsTransformFeedback(UInt32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsTransformFeedbackNV((UInt32)id); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glLoadProgramNV")] + public static + void LoadProgram(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 id, Int32 len, Byte[] program) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* program_ptr = program) + { + Delegates.glLoadProgramNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)id, (Int32)len, (Byte*)program_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glLoadProgramNV")] + public static + void LoadProgram(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 id, Int32 len, ref Byte program) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* program_ptr = &program) + { + Delegates.glLoadProgramNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)id, (Int32)len, (Byte*)program_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glLoadProgramNV")] + public static + unsafe void LoadProgram(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 id, Int32 len, Byte* program) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLoadProgramNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)id, (Int32)len, (Byte*)program); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glLoadProgramNV")] + public static + void LoadProgram(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 id, Int32 len, Byte[] program) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* program_ptr = program) + { + Delegates.glLoadProgramNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)id, (Int32)len, (Byte*)program_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glLoadProgramNV")] + public static + void LoadProgram(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 id, Int32 len, ref Byte program) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* program_ptr = &program) + { + Delegates.glLoadProgramNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)id, (Int32)len, (Byte*)program_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glLoadProgramNV")] + public static + unsafe void LoadProgram(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 id, Int32 len, Byte* program) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLoadProgramNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)id, (Int32)len, (Byte*)program); + #if DEBUG + } + #endif + } + + /// [requires: NV_shader_buffer_load] + [AutoGenerated(Category = "NV_shader_buffer_load", Version = "1.2", EntryPoint = "glMakeBufferNonResidentNV")] + public static + void MakeBufferNonResident(OpenTK.Graphics.OpenGL.NvShaderBufferLoad target) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMakeBufferNonResidentNV((OpenTK.Graphics.OpenGL.NvShaderBufferLoad)target); + #if DEBUG + } + #endif + } + + /// [requires: NV_shader_buffer_load] + [AutoGenerated(Category = "NV_shader_buffer_load", Version = "1.2", EntryPoint = "glMakeBufferResidentNV")] + public static + void MakeBufferResident(OpenTK.Graphics.OpenGL.NvShaderBufferLoad target, OpenTK.Graphics.OpenGL.NvShaderBufferLoad access) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMakeBufferResidentNV((OpenTK.Graphics.OpenGL.NvShaderBufferLoad)target, (OpenTK.Graphics.OpenGL.NvShaderBufferLoad)access); + #if DEBUG + } + #endif + } + + /// [requires: NV_shader_buffer_load] + [AutoGenerated(Category = "NV_shader_buffer_load", Version = "1.2", EntryPoint = "glMakeNamedBufferNonResidentNV")] + public static + void MakeNamedBufferNonResident(Int32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMakeNamedBufferNonResidentNV((UInt32)buffer); + #if DEBUG + } + #endif + } + + /// [requires: NV_shader_buffer_load] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_shader_buffer_load", Version = "1.2", EntryPoint = "glMakeNamedBufferNonResidentNV")] + public static + void MakeNamedBufferNonResident(UInt32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMakeNamedBufferNonResidentNV((UInt32)buffer); + #if DEBUG + } + #endif + } + + /// [requires: NV_shader_buffer_load] + [AutoGenerated(Category = "NV_shader_buffer_load", Version = "1.2", EntryPoint = "glMakeNamedBufferResidentNV")] + public static + void MakeNamedBufferResident(Int32 buffer, OpenTK.Graphics.OpenGL.NvShaderBufferLoad access) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMakeNamedBufferResidentNV((UInt32)buffer, (OpenTK.Graphics.OpenGL.NvShaderBufferLoad)access); + #if DEBUG + } + #endif + } + + /// [requires: NV_shader_buffer_load] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_shader_buffer_load", Version = "1.2", EntryPoint = "glMakeNamedBufferResidentNV")] + public static + void MakeNamedBufferResident(UInt32 buffer, OpenTK.Graphics.OpenGL.NvShaderBufferLoad access) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMakeNamedBufferResidentNV((UInt32)buffer, (OpenTK.Graphics.OpenGL.NvShaderBufferLoad)access); + #if DEBUG + } + #endif + } + + /// [requires: NV_evaluators] + [AutoGenerated(Category = "NV_evaluators", Version = "1.1", EntryPoint = "glMapControlPointsNV")] + public static + void MapControlPoints(OpenTK.Graphics.OpenGL.NvEvaluators target, Int32 index, OpenTK.Graphics.OpenGL.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, IntPtr points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMapControlPointsNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points); + #if DEBUG + } + #endif + } + + /// [requires: NV_evaluators] + [AutoGenerated(Category = "NV_evaluators", Version = "1.1", EntryPoint = "glMapControlPointsNV")] + public static + void MapControlPoints(OpenTK.Graphics.OpenGL.NvEvaluators target, Int32 index, OpenTK.Graphics.OpenGL.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, [InAttribute, OutAttribute] T8[] points) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); + try + { + Delegates.glMapControlPointsNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); + } + finally + { + points_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: NV_evaluators] + [AutoGenerated(Category = "NV_evaluators", Version = "1.1", EntryPoint = "glMapControlPointsNV")] + public static + void MapControlPoints(OpenTK.Graphics.OpenGL.NvEvaluators target, Int32 index, OpenTK.Graphics.OpenGL.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, [InAttribute, OutAttribute] T8[,] points) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); + try + { + Delegates.glMapControlPointsNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); + } + finally + { + points_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: NV_evaluators] + [AutoGenerated(Category = "NV_evaluators", Version = "1.1", EntryPoint = "glMapControlPointsNV")] + public static + void MapControlPoints(OpenTK.Graphics.OpenGL.NvEvaluators target, Int32 index, OpenTK.Graphics.OpenGL.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, [InAttribute, OutAttribute] T8[,,] points) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); + try + { + Delegates.glMapControlPointsNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); + } + finally + { + points_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: NV_evaluators] + [AutoGenerated(Category = "NV_evaluators", Version = "1.1", EntryPoint = "glMapControlPointsNV")] + public static + void MapControlPoints(OpenTK.Graphics.OpenGL.NvEvaluators target, Int32 index, OpenTK.Graphics.OpenGL.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, [InAttribute, OutAttribute] ref T8 points) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); + try + { + Delegates.glMapControlPointsNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); + points = (T8)points_ptr.Target; + } + finally + { + points_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: NV_evaluators] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_evaluators", Version = "1.1", EntryPoint = "glMapControlPointsNV")] + public static + void MapControlPoints(OpenTK.Graphics.OpenGL.NvEvaluators target, UInt32 index, OpenTK.Graphics.OpenGL.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, IntPtr points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMapControlPointsNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points); + #if DEBUG + } + #endif + } + + /// [requires: NV_evaluators] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_evaluators", Version = "1.1", EntryPoint = "glMapControlPointsNV")] + public static + void MapControlPoints(OpenTK.Graphics.OpenGL.NvEvaluators target, UInt32 index, OpenTK.Graphics.OpenGL.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, [InAttribute, OutAttribute] T8[] points) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); + try + { + Delegates.glMapControlPointsNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); + } + finally + { + points_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: NV_evaluators] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_evaluators", Version = "1.1", EntryPoint = "glMapControlPointsNV")] + public static + void MapControlPoints(OpenTK.Graphics.OpenGL.NvEvaluators target, UInt32 index, OpenTK.Graphics.OpenGL.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, [InAttribute, OutAttribute] T8[,] points) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); + try + { + Delegates.glMapControlPointsNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); + } + finally + { + points_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: NV_evaluators] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_evaluators", Version = "1.1", EntryPoint = "glMapControlPointsNV")] + public static + void MapControlPoints(OpenTK.Graphics.OpenGL.NvEvaluators target, UInt32 index, OpenTK.Graphics.OpenGL.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, [InAttribute, OutAttribute] T8[,,] points) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); + try + { + Delegates.glMapControlPointsNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); + } + finally + { + points_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: NV_evaluators] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_evaluators", Version = "1.1", EntryPoint = "glMapControlPointsNV")] + public static + void MapControlPoints(OpenTK.Graphics.OpenGL.NvEvaluators target, UInt32 index, OpenTK.Graphics.OpenGL.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, [InAttribute, OutAttribute] ref T8 points) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); + try + { + Delegates.glMapControlPointsNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); + points = (T8)points_ptr.Target; + } + finally + { + points_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: NV_evaluators] + [AutoGenerated(Category = "NV_evaluators", Version = "1.1", EntryPoint = "glMapParameterfvNV")] + public static + void MapParameter(OpenTK.Graphics.OpenGL.NvEvaluators target, OpenTK.Graphics.OpenGL.NvEvaluators pname, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glMapParameterfvNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (OpenTK.Graphics.OpenGL.NvEvaluators)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_evaluators] + [AutoGenerated(Category = "NV_evaluators", Version = "1.1", EntryPoint = "glMapParameterfvNV")] + public static + void MapParameter(OpenTK.Graphics.OpenGL.NvEvaluators target, OpenTK.Graphics.OpenGL.NvEvaluators pname, ref Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glMapParameterfvNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (OpenTK.Graphics.OpenGL.NvEvaluators)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_evaluators] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_evaluators", Version = "1.1", EntryPoint = "glMapParameterfvNV")] + public static + unsafe void MapParameter(OpenTK.Graphics.OpenGL.NvEvaluators target, OpenTK.Graphics.OpenGL.NvEvaluators pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMapParameterfvNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (OpenTK.Graphics.OpenGL.NvEvaluators)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: NV_evaluators] + [AutoGenerated(Category = "NV_evaluators", Version = "1.1", EntryPoint = "glMapParameterivNV")] + public static + void MapParameter(OpenTK.Graphics.OpenGL.NvEvaluators target, OpenTK.Graphics.OpenGL.NvEvaluators pname, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glMapParameterivNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (OpenTK.Graphics.OpenGL.NvEvaluators)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_evaluators] + [AutoGenerated(Category = "NV_evaluators", Version = "1.1", EntryPoint = "glMapParameterivNV")] + public static + void MapParameter(OpenTK.Graphics.OpenGL.NvEvaluators target, OpenTK.Graphics.OpenGL.NvEvaluators pname, ref Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glMapParameterivNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (OpenTK.Graphics.OpenGL.NvEvaluators)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_evaluators] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_evaluators", Version = "1.1", EntryPoint = "glMapParameterivNV")] + public static + unsafe void MapParameter(OpenTK.Graphics.OpenGL.NvEvaluators target, OpenTK.Graphics.OpenGL.NvEvaluators pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMapParameterivNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (OpenTK.Graphics.OpenGL.NvEvaluators)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glMultiTexCoord1hNV")] + public static + void MultiTexCoord1h(OpenTK.Graphics.OpenGL.TextureUnit target, Half s) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord1hNV((OpenTK.Graphics.OpenGL.TextureUnit)target, (Half)s); + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glMultiTexCoord1hvNV")] + public static + unsafe void MultiTexCoord1h(OpenTK.Graphics.OpenGL.TextureUnit target, Half* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord1hvNV((OpenTK.Graphics.OpenGL.TextureUnit)target, (Half*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glMultiTexCoord2hNV")] + public static + void MultiTexCoord2h(OpenTK.Graphics.OpenGL.TextureUnit target, Half s, Half t) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord2hNV((OpenTK.Graphics.OpenGL.TextureUnit)target, (Half)s, (Half)t); + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glMultiTexCoord2hvNV")] + public static + void MultiTexCoord2h(OpenTK.Graphics.OpenGL.TextureUnit target, Half[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Half* v_ptr = v) + { + Delegates.glMultiTexCoord2hvNV((OpenTK.Graphics.OpenGL.TextureUnit)target, (Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glMultiTexCoord2hvNV")] + public static + void MultiTexCoord2h(OpenTK.Graphics.OpenGL.TextureUnit target, ref Half v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Half* v_ptr = &v) + { + Delegates.glMultiTexCoord2hvNV((OpenTK.Graphics.OpenGL.TextureUnit)target, (Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glMultiTexCoord2hvNV")] + public static + unsafe void MultiTexCoord2h(OpenTK.Graphics.OpenGL.TextureUnit target, Half* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord2hvNV((OpenTK.Graphics.OpenGL.TextureUnit)target, (Half*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glMultiTexCoord3hNV")] + public static + void MultiTexCoord3h(OpenTK.Graphics.OpenGL.TextureUnit target, Half s, Half t, Half r) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord3hNV((OpenTK.Graphics.OpenGL.TextureUnit)target, (Half)s, (Half)t, (Half)r); + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glMultiTexCoord3hvNV")] + public static + void MultiTexCoord3h(OpenTK.Graphics.OpenGL.TextureUnit target, Half[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Half* v_ptr = v) + { + Delegates.glMultiTexCoord3hvNV((OpenTK.Graphics.OpenGL.TextureUnit)target, (Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glMultiTexCoord3hvNV")] + public static + void MultiTexCoord3h(OpenTK.Graphics.OpenGL.TextureUnit target, ref Half v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Half* v_ptr = &v) + { + Delegates.glMultiTexCoord3hvNV((OpenTK.Graphics.OpenGL.TextureUnit)target, (Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glMultiTexCoord3hvNV")] + public static + unsafe void MultiTexCoord3h(OpenTK.Graphics.OpenGL.TextureUnit target, Half* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord3hvNV((OpenTK.Graphics.OpenGL.TextureUnit)target, (Half*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glMultiTexCoord4hNV")] + public static + void MultiTexCoord4h(OpenTK.Graphics.OpenGL.TextureUnit target, Half s, Half t, Half r, Half q) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord4hNV((OpenTK.Graphics.OpenGL.TextureUnit)target, (Half)s, (Half)t, (Half)r, (Half)q); + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glMultiTexCoord4hvNV")] + public static + void MultiTexCoord4h(OpenTK.Graphics.OpenGL.TextureUnit target, Half[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Half* v_ptr = v) + { + Delegates.glMultiTexCoord4hvNV((OpenTK.Graphics.OpenGL.TextureUnit)target, (Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glMultiTexCoord4hvNV")] + public static + void MultiTexCoord4h(OpenTK.Graphics.OpenGL.TextureUnit target, ref Half v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Half* v_ptr = &v) + { + Delegates.glMultiTexCoord4hvNV((OpenTK.Graphics.OpenGL.TextureUnit)target, (Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glMultiTexCoord4hvNV")] + public static + unsafe void MultiTexCoord4h(OpenTK.Graphics.OpenGL.TextureUnit target, Half* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord4hvNV((OpenTK.Graphics.OpenGL.TextureUnit)target, (Half*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glNormal3hNV")] + public static + void Normal3h(Half nx, Half ny, Half nz) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormal3hNV((Half)nx, (Half)ny, (Half)nz); + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glNormal3hvNV")] + public static + void Normal3h(Half[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Half* v_ptr = v) + { + Delegates.glNormal3hvNV((Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glNormal3hvNV")] + public static + void Normal3h(ref Half v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Half* v_ptr = &v) + { + Delegates.glNormal3hvNV((Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glNormal3hvNV")] + public static + unsafe void Normal3h(Half* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormal3hvNV((Half*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_buffer_unified_memory] + [AutoGenerated(Category = "NV_vertex_buffer_unified_memory", Version = "1.2", EntryPoint = "glNormalFormatNV")] + public static + void NormalFormat(OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormalFormatNV((OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory)type, (Int32)stride); + #if DEBUG + } + #endif + } + + + /// [requires: NV_transform_feedback2] + /// Pause transform feedback operations + /// + [AutoGenerated(Category = "NV_transform_feedback2", Version = "", EntryPoint = "glPauseTransformFeedbackNV")] + public static + void PauseTransformFeedback() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPauseTransformFeedbackNV(); + #if DEBUG + } + #endif + } + + /// [requires: NV_pixel_data_range] + [AutoGenerated(Category = "NV_pixel_data_range", Version = "1.2", EntryPoint = "glPixelDataRangeNV")] + public static + void PixelDataRange(OpenTK.Graphics.OpenGL.NvPixelDataRange target, Int32 length, [OutAttribute] IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPixelDataRangeNV((OpenTK.Graphics.OpenGL.NvPixelDataRange)target, (Int32)length, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + /// [requires: NV_pixel_data_range] + [AutoGenerated(Category = "NV_pixel_data_range", Version = "1.2", EntryPoint = "glPixelDataRangeNV")] + public static + void PixelDataRange(OpenTK.Graphics.OpenGL.NvPixelDataRange target, Int32 length, [InAttribute, OutAttribute] T2[] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glPixelDataRangeNV((OpenTK.Graphics.OpenGL.NvPixelDataRange)target, (Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: NV_pixel_data_range] + [AutoGenerated(Category = "NV_pixel_data_range", Version = "1.2", EntryPoint = "glPixelDataRangeNV")] + public static + void PixelDataRange(OpenTK.Graphics.OpenGL.NvPixelDataRange target, Int32 length, [InAttribute, OutAttribute] T2[,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glPixelDataRangeNV((OpenTK.Graphics.OpenGL.NvPixelDataRange)target, (Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: NV_pixel_data_range] + [AutoGenerated(Category = "NV_pixel_data_range", Version = "1.2", EntryPoint = "glPixelDataRangeNV")] + public static + void PixelDataRange(OpenTK.Graphics.OpenGL.NvPixelDataRange target, Int32 length, [InAttribute, OutAttribute] T2[,,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glPixelDataRangeNV((OpenTK.Graphics.OpenGL.NvPixelDataRange)target, (Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: NV_pixel_data_range] + [AutoGenerated(Category = "NV_pixel_data_range", Version = "1.2", EntryPoint = "glPixelDataRangeNV")] + public static + void PixelDataRange(OpenTK.Graphics.OpenGL.NvPixelDataRange target, Int32 length, [InAttribute, OutAttribute] ref T2 pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glPixelDataRangeNV((OpenTK.Graphics.OpenGL.NvPixelDataRange)target, (Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + pointer = (T2)pointer_ptr.Target; + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_point_sprite] + /// Specify point parameters + /// + /// + /// + /// Specifies a single-valued point parameter. GL_POINT_FADE_THRESHOLD_SIZE, and GL_POINT_SPRITE_COORD_ORIGIN are accepted. + /// + /// + /// + /// + /// Specifies the value that pname will be set to. + /// + /// + [AutoGenerated(Category = "NV_point_sprite", Version = "1.2", EntryPoint = "glPointParameteriNV")] + public static + void PointParameter(OpenTK.Graphics.OpenGL.NvPointSprite pname, Int32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPointParameteriNV((OpenTK.Graphics.OpenGL.NvPointSprite)pname, (Int32)param); + #if DEBUG + } + #endif + } + + + /// [requires: NV_point_sprite] + /// Specify point parameters + /// + /// + /// + /// Specifies a single-valued point parameter. GL_POINT_FADE_THRESHOLD_SIZE, and GL_POINT_SPRITE_COORD_ORIGIN are accepted. + /// + /// + /// + /// + /// Specifies the value that pname will be set to. + /// + /// + [AutoGenerated(Category = "NV_point_sprite", Version = "1.2", EntryPoint = "glPointParameterivNV")] + public static + void PointParameter(OpenTK.Graphics.OpenGL.NvPointSprite pname, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glPointParameterivNV((OpenTK.Graphics.OpenGL.NvPointSprite)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_point_sprite] + /// Specify point parameters + /// + /// + /// + /// Specifies a single-valued point parameter. GL_POINT_FADE_THRESHOLD_SIZE, and GL_POINT_SPRITE_COORD_ORIGIN are accepted. + /// + /// + /// + /// + /// Specifies the value that pname will be set to. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_point_sprite", Version = "1.2", EntryPoint = "glPointParameterivNV")] + public static + unsafe void PointParameter(OpenTK.Graphics.OpenGL.NvPointSprite pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPointParameterivNV((OpenTK.Graphics.OpenGL.NvPointSprite)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: NV_present_video] + [AutoGenerated(Category = "NV_present_video", Version = "1.2", EntryPoint = "glPresentFrameDualFillNV")] + public static + void PresentFrameDualFill(Int32 video_slot, Int64 minPresentTime, Int32 beginPresentTimeId, Int32 presentDurationId, OpenTK.Graphics.OpenGL.NvPresentVideo type, OpenTK.Graphics.OpenGL.NvPresentVideo target0, Int32 fill0, OpenTK.Graphics.OpenGL.NvPresentVideo target1, Int32 fill1, OpenTK.Graphics.OpenGL.NvPresentVideo target2, Int32 fill2, OpenTK.Graphics.OpenGL.NvPresentVideo target3, Int32 fill3) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPresentFrameDualFillNV((UInt32)video_slot, (UInt64)minPresentTime, (UInt32)beginPresentTimeId, (UInt32)presentDurationId, (OpenTK.Graphics.OpenGL.NvPresentVideo)type, (OpenTK.Graphics.OpenGL.NvPresentVideo)target0, (UInt32)fill0, (OpenTK.Graphics.OpenGL.NvPresentVideo)target1, (UInt32)fill1, (OpenTK.Graphics.OpenGL.NvPresentVideo)target2, (UInt32)fill2, (OpenTK.Graphics.OpenGL.NvPresentVideo)target3, (UInt32)fill3); + #if DEBUG + } + #endif + } + + /// [requires: NV_present_video] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_present_video", Version = "1.2", EntryPoint = "glPresentFrameDualFillNV")] + public static + void PresentFrameDualFill(UInt32 video_slot, UInt64 minPresentTime, UInt32 beginPresentTimeId, UInt32 presentDurationId, OpenTK.Graphics.OpenGL.NvPresentVideo type, OpenTK.Graphics.OpenGL.NvPresentVideo target0, UInt32 fill0, OpenTK.Graphics.OpenGL.NvPresentVideo target1, UInt32 fill1, OpenTK.Graphics.OpenGL.NvPresentVideo target2, UInt32 fill2, OpenTK.Graphics.OpenGL.NvPresentVideo target3, UInt32 fill3) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPresentFrameDualFillNV((UInt32)video_slot, (UInt64)minPresentTime, (UInt32)beginPresentTimeId, (UInt32)presentDurationId, (OpenTK.Graphics.OpenGL.NvPresentVideo)type, (OpenTK.Graphics.OpenGL.NvPresentVideo)target0, (UInt32)fill0, (OpenTK.Graphics.OpenGL.NvPresentVideo)target1, (UInt32)fill1, (OpenTK.Graphics.OpenGL.NvPresentVideo)target2, (UInt32)fill2, (OpenTK.Graphics.OpenGL.NvPresentVideo)target3, (UInt32)fill3); + #if DEBUG + } + #endif + } + + /// [requires: NV_present_video] + [AutoGenerated(Category = "NV_present_video", Version = "1.2", EntryPoint = "glPresentFrameKeyedNV")] + public static + void PresentFrameKeye(Int32 video_slot, Int64 minPresentTime, Int32 beginPresentTimeId, Int32 presentDurationId, OpenTK.Graphics.OpenGL.NvPresentVideo type, OpenTK.Graphics.OpenGL.NvPresentVideo target0, Int32 fill0, Int32 key0, OpenTK.Graphics.OpenGL.NvPresentVideo target1, Int32 fill1, Int32 key1) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPresentFrameKeyedNV((UInt32)video_slot, (UInt64)minPresentTime, (UInt32)beginPresentTimeId, (UInt32)presentDurationId, (OpenTK.Graphics.OpenGL.NvPresentVideo)type, (OpenTK.Graphics.OpenGL.NvPresentVideo)target0, (UInt32)fill0, (UInt32)key0, (OpenTK.Graphics.OpenGL.NvPresentVideo)target1, (UInt32)fill1, (UInt32)key1); + #if DEBUG + } + #endif + } + + /// [requires: NV_present_video] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_present_video", Version = "1.2", EntryPoint = "glPresentFrameKeyedNV")] + public static + void PresentFrameKeye(UInt32 video_slot, UInt64 minPresentTime, UInt32 beginPresentTimeId, UInt32 presentDurationId, OpenTK.Graphics.OpenGL.NvPresentVideo type, OpenTK.Graphics.OpenGL.NvPresentVideo target0, UInt32 fill0, UInt32 key0, OpenTK.Graphics.OpenGL.NvPresentVideo target1, UInt32 fill1, UInt32 key1) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPresentFrameKeyedNV((UInt32)video_slot, (UInt64)minPresentTime, (UInt32)beginPresentTimeId, (UInt32)presentDurationId, (OpenTK.Graphics.OpenGL.NvPresentVideo)type, (OpenTK.Graphics.OpenGL.NvPresentVideo)target0, (UInt32)fill0, (UInt32)key0, (OpenTK.Graphics.OpenGL.NvPresentVideo)target1, (UInt32)fill1, (UInt32)key1); + #if DEBUG + } + #endif + } + + + /// [requires: NV_primitive_restart] + /// Specify the primitive restart index + /// + /// + /// + /// Specifies the value to be interpreted as the primitive restart index. + /// + /// + [AutoGenerated(Category = "NV_primitive_restart", Version = "1.2", EntryPoint = "glPrimitiveRestartIndexNV")] + public static + void PrimitiveRestartIndex(Int32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPrimitiveRestartIndexNV((UInt32)index); + #if DEBUG + } + #endif + } + + + /// [requires: NV_primitive_restart] + /// Specify the primitive restart index + /// + /// + /// + /// Specifies the value to be interpreted as the primitive restart index. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_primitive_restart", Version = "1.2", EntryPoint = "glPrimitiveRestartIndexNV")] + public static + void PrimitiveRestartIndex(UInt32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPrimitiveRestartIndexNV((UInt32)index); + #if DEBUG + } + #endif + } + + /// [requires: NV_primitive_restart] + [AutoGenerated(Category = "NV_primitive_restart", Version = "1.2", EntryPoint = "glPrimitiveRestartNV")] + public static + void PrimitiveRestart() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPrimitiveRestartNV(); + #if DEBUG + } + #endif + } + + /// [requires: NV_parameter_buffer_object] + [AutoGenerated(Category = "NV_parameter_buffer_object", Version = "1.2", EntryPoint = "glProgramBufferParametersfvNV")] + public static + void ProgramBufferParameters(OpenTK.Graphics.OpenGL.NvParameterBufferObject target, Int32 buffer, Int32 index, Int32 count, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glProgramBufferParametersfvNV((OpenTK.Graphics.OpenGL.NvParameterBufferObject)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_parameter_buffer_object] + [AutoGenerated(Category = "NV_parameter_buffer_object", Version = "1.2", EntryPoint = "glProgramBufferParametersfvNV")] + public static + void ProgramBufferParameters(OpenTK.Graphics.OpenGL.NvParameterBufferObject target, Int32 buffer, Int32 index, Int32 count, ref Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glProgramBufferParametersfvNV((OpenTK.Graphics.OpenGL.NvParameterBufferObject)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_parameter_buffer_object] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_parameter_buffer_object", Version = "1.2", EntryPoint = "glProgramBufferParametersfvNV")] + public static + unsafe void ProgramBufferParameters(OpenTK.Graphics.OpenGL.NvParameterBufferObject target, Int32 buffer, Int32 index, Int32 count, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramBufferParametersfvNV((OpenTK.Graphics.OpenGL.NvParameterBufferObject)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: NV_parameter_buffer_object] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_parameter_buffer_object", Version = "1.2", EntryPoint = "glProgramBufferParametersfvNV")] + public static + void ProgramBufferParameters(OpenTK.Graphics.OpenGL.NvParameterBufferObject target, UInt32 buffer, UInt32 index, Int32 count, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glProgramBufferParametersfvNV((OpenTK.Graphics.OpenGL.NvParameterBufferObject)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_parameter_buffer_object] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_parameter_buffer_object", Version = "1.2", EntryPoint = "glProgramBufferParametersfvNV")] + public static + void ProgramBufferParameters(OpenTK.Graphics.OpenGL.NvParameterBufferObject target, UInt32 buffer, UInt32 index, Int32 count, ref Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glProgramBufferParametersfvNV((OpenTK.Graphics.OpenGL.NvParameterBufferObject)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_parameter_buffer_object] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_parameter_buffer_object", Version = "1.2", EntryPoint = "glProgramBufferParametersfvNV")] + public static + unsafe void ProgramBufferParameters(OpenTK.Graphics.OpenGL.NvParameterBufferObject target, UInt32 buffer, UInt32 index, Int32 count, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramBufferParametersfvNV((OpenTK.Graphics.OpenGL.NvParameterBufferObject)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: NV_parameter_buffer_object] + [AutoGenerated(Category = "NV_parameter_buffer_object", Version = "1.2", EntryPoint = "glProgramBufferParametersIivNV")] + public static + void ProgramBufferParametersI(OpenTK.Graphics.OpenGL.NvParameterBufferObject target, Int32 buffer, Int32 index, Int32 count, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glProgramBufferParametersIivNV((OpenTK.Graphics.OpenGL.NvParameterBufferObject)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_parameter_buffer_object] + [AutoGenerated(Category = "NV_parameter_buffer_object", Version = "1.2", EntryPoint = "glProgramBufferParametersIivNV")] + public static + void ProgramBufferParametersI(OpenTK.Graphics.OpenGL.NvParameterBufferObject target, Int32 buffer, Int32 index, Int32 count, ref Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glProgramBufferParametersIivNV((OpenTK.Graphics.OpenGL.NvParameterBufferObject)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_parameter_buffer_object] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_parameter_buffer_object", Version = "1.2", EntryPoint = "glProgramBufferParametersIivNV")] + public static + unsafe void ProgramBufferParametersI(OpenTK.Graphics.OpenGL.NvParameterBufferObject target, Int32 buffer, Int32 index, Int32 count, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramBufferParametersIivNV((OpenTK.Graphics.OpenGL.NvParameterBufferObject)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: NV_parameter_buffer_object] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_parameter_buffer_object", Version = "1.2", EntryPoint = "glProgramBufferParametersIivNV")] + public static + void ProgramBufferParametersI(OpenTK.Graphics.OpenGL.NvParameterBufferObject target, UInt32 buffer, UInt32 index, Int32 count, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glProgramBufferParametersIivNV((OpenTK.Graphics.OpenGL.NvParameterBufferObject)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_parameter_buffer_object] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_parameter_buffer_object", Version = "1.2", EntryPoint = "glProgramBufferParametersIivNV")] + public static + void ProgramBufferParametersI(OpenTK.Graphics.OpenGL.NvParameterBufferObject target, UInt32 buffer, UInt32 index, Int32 count, ref Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glProgramBufferParametersIivNV((OpenTK.Graphics.OpenGL.NvParameterBufferObject)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_parameter_buffer_object] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_parameter_buffer_object", Version = "1.2", EntryPoint = "glProgramBufferParametersIivNV")] + public static + unsafe void ProgramBufferParametersI(OpenTK.Graphics.OpenGL.NvParameterBufferObject target, UInt32 buffer, UInt32 index, Int32 count, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramBufferParametersIivNV((OpenTK.Graphics.OpenGL.NvParameterBufferObject)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: NV_parameter_buffer_object] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_parameter_buffer_object", Version = "1.2", EntryPoint = "glProgramBufferParametersIuivNV")] + public static + void ProgramBufferParametersI(OpenTK.Graphics.OpenGL.NvParameterBufferObject target, UInt32 buffer, UInt32 index, Int32 count, UInt32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = @params) + { + Delegates.glProgramBufferParametersIuivNV((OpenTK.Graphics.OpenGL.NvParameterBufferObject)target, (UInt32)buffer, (UInt32)index, (Int32)count, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_parameter_buffer_object] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_parameter_buffer_object", Version = "1.2", EntryPoint = "glProgramBufferParametersIuivNV")] + public static + void ProgramBufferParametersI(OpenTK.Graphics.OpenGL.NvParameterBufferObject target, UInt32 buffer, UInt32 index, Int32 count, ref UInt32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = &@params) + { + Delegates.glProgramBufferParametersIuivNV((OpenTK.Graphics.OpenGL.NvParameterBufferObject)target, (UInt32)buffer, (UInt32)index, (Int32)count, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_parameter_buffer_object] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_parameter_buffer_object", Version = "1.2", EntryPoint = "glProgramBufferParametersIuivNV")] + public static + unsafe void ProgramBufferParametersI(OpenTK.Graphics.OpenGL.NvParameterBufferObject target, UInt32 buffer, UInt32 index, Int32 count, UInt32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramBufferParametersIuivNV((OpenTK.Graphics.OpenGL.NvParameterBufferObject)target, (UInt32)buffer, (UInt32)index, (Int32)count, (UInt32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: NV_gpu_program4] + [AutoGenerated(Category = "NV_gpu_program4", Version = "1.3", EntryPoint = "glProgramEnvParameterI4iNV")] + public static + void ProgramEnvParameterI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, Int32 index, Int32 x, Int32 y, Int32 z, Int32 w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramEnvParameterI4iNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w); + #if DEBUG + } + #endif + } + + /// [requires: NV_gpu_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_program4", Version = "1.3", EntryPoint = "glProgramEnvParameterI4iNV")] + public static + void ProgramEnvParameterI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramEnvParameterI4iNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w); + #if DEBUG + } + #endif + } + + /// [requires: NV_gpu_program4] + [AutoGenerated(Category = "NV_gpu_program4", Version = "1.3", EntryPoint = "glProgramEnvParameterI4ivNV")] + public static + void ProgramEnvParameterI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, Int32 index, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glProgramEnvParameterI4ivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_gpu_program4] + [AutoGenerated(Category = "NV_gpu_program4", Version = "1.3", EntryPoint = "glProgramEnvParameterI4ivNV")] + public static + void ProgramEnvParameterI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, Int32 index, ref Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glProgramEnvParameterI4ivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_gpu_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_program4", Version = "1.3", EntryPoint = "glProgramEnvParameterI4ivNV")] + public static + unsafe void ProgramEnvParameterI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, Int32 index, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramEnvParameterI4ivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: NV_gpu_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_program4", Version = "1.3", EntryPoint = "glProgramEnvParameterI4ivNV")] + public static + void ProgramEnvParameterI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glProgramEnvParameterI4ivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_gpu_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_program4", Version = "1.3", EntryPoint = "glProgramEnvParameterI4ivNV")] + public static + void ProgramEnvParameterI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, ref Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glProgramEnvParameterI4ivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_gpu_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_program4", Version = "1.3", EntryPoint = "glProgramEnvParameterI4ivNV")] + public static + unsafe void ProgramEnvParameterI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramEnvParameterI4ivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: NV_gpu_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_program4", Version = "1.3", EntryPoint = "glProgramEnvParameterI4uiNV")] + public static + void ProgramEnvParameterI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramEnvParameterI4uiNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z, (UInt32)w); + #if DEBUG + } + #endif + } + + /// [requires: NV_gpu_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_program4", Version = "1.3", EntryPoint = "glProgramEnvParameterI4uivNV")] + public static + void ProgramEnvParameterI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, UInt32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = @params) + { + Delegates.glProgramEnvParameterI4uivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_gpu_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_program4", Version = "1.3", EntryPoint = "glProgramEnvParameterI4uivNV")] + public static + void ProgramEnvParameterI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, ref UInt32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = &@params) + { + Delegates.glProgramEnvParameterI4uivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_gpu_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_program4", Version = "1.3", EntryPoint = "glProgramEnvParameterI4uivNV")] + public static + unsafe void ProgramEnvParameterI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, UInt32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramEnvParameterI4uivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (UInt32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: NV_gpu_program4] + [AutoGenerated(Category = "NV_gpu_program4", Version = "1.3", EntryPoint = "glProgramEnvParametersI4ivNV")] + public static + void ProgramEnvParametersI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, Int32 index, Int32 count, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glProgramEnvParametersI4ivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_gpu_program4] + [AutoGenerated(Category = "NV_gpu_program4", Version = "1.3", EntryPoint = "glProgramEnvParametersI4ivNV")] + public static + void ProgramEnvParametersI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, Int32 index, Int32 count, ref Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glProgramEnvParametersI4ivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_gpu_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_program4", Version = "1.3", EntryPoint = "glProgramEnvParametersI4ivNV")] + public static + unsafe void ProgramEnvParametersI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, Int32 index, Int32 count, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramEnvParametersI4ivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32)count, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: NV_gpu_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_program4", Version = "1.3", EntryPoint = "glProgramEnvParametersI4ivNV")] + public static + void ProgramEnvParametersI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 count, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glProgramEnvParametersI4ivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_gpu_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_program4", Version = "1.3", EntryPoint = "glProgramEnvParametersI4ivNV")] + public static + void ProgramEnvParametersI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 count, ref Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glProgramEnvParametersI4ivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_gpu_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_program4", Version = "1.3", EntryPoint = "glProgramEnvParametersI4ivNV")] + public static + unsafe void ProgramEnvParametersI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 count, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramEnvParametersI4ivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32)count, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: NV_gpu_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_program4", Version = "1.3", EntryPoint = "glProgramEnvParametersI4uivNV")] + public static + void ProgramEnvParametersI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 count, UInt32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = @params) + { + Delegates.glProgramEnvParametersI4uivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32)count, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_gpu_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_program4", Version = "1.3", EntryPoint = "glProgramEnvParametersI4uivNV")] + public static + void ProgramEnvParametersI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 count, ref UInt32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = &@params) + { + Delegates.glProgramEnvParametersI4uivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32)count, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_gpu_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_program4", Version = "1.3", EntryPoint = "glProgramEnvParametersI4uivNV")] + public static + unsafe void ProgramEnvParametersI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 count, UInt32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramEnvParametersI4uivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32)count, (UInt32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: NV_gpu_program4] + [AutoGenerated(Category = "NV_gpu_program4", Version = "1.3", EntryPoint = "glProgramLocalParameterI4iNV")] + public static + void ProgramLocalParameterI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, Int32 index, Int32 x, Int32 y, Int32 z, Int32 w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramLocalParameterI4iNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w); + #if DEBUG + } + #endif + } + + /// [requires: NV_gpu_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_program4", Version = "1.3", EntryPoint = "glProgramLocalParameterI4iNV")] + public static + void ProgramLocalParameterI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramLocalParameterI4iNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w); + #if DEBUG + } + #endif + } + + /// [requires: NV_gpu_program4] + [AutoGenerated(Category = "NV_gpu_program4", Version = "1.3", EntryPoint = "glProgramLocalParameterI4ivNV")] + public static + void ProgramLocalParameterI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, Int32 index, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glProgramLocalParameterI4ivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_gpu_program4] + [AutoGenerated(Category = "NV_gpu_program4", Version = "1.3", EntryPoint = "glProgramLocalParameterI4ivNV")] + public static + void ProgramLocalParameterI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, Int32 index, ref Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glProgramLocalParameterI4ivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_gpu_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_program4", Version = "1.3", EntryPoint = "glProgramLocalParameterI4ivNV")] + public static + unsafe void ProgramLocalParameterI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, Int32 index, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramLocalParameterI4ivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: NV_gpu_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_program4", Version = "1.3", EntryPoint = "glProgramLocalParameterI4ivNV")] + public static + void ProgramLocalParameterI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glProgramLocalParameterI4ivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_gpu_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_program4", Version = "1.3", EntryPoint = "glProgramLocalParameterI4ivNV")] + public static + void ProgramLocalParameterI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, ref Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glProgramLocalParameterI4ivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_gpu_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_program4", Version = "1.3", EntryPoint = "glProgramLocalParameterI4ivNV")] + public static + unsafe void ProgramLocalParameterI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramLocalParameterI4ivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: NV_gpu_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_program4", Version = "1.3", EntryPoint = "glProgramLocalParameterI4uiNV")] + public static + void ProgramLocalParameterI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramLocalParameterI4uiNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z, (UInt32)w); + #if DEBUG + } + #endif + } + + /// [requires: NV_gpu_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_program4", Version = "1.3", EntryPoint = "glProgramLocalParameterI4uivNV")] + public static + void ProgramLocalParameterI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, UInt32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = @params) + { + Delegates.glProgramLocalParameterI4uivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_gpu_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_program4", Version = "1.3", EntryPoint = "glProgramLocalParameterI4uivNV")] + public static + void ProgramLocalParameterI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, ref UInt32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = &@params) + { + Delegates.glProgramLocalParameterI4uivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_gpu_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_program4", Version = "1.3", EntryPoint = "glProgramLocalParameterI4uivNV")] + public static + unsafe void ProgramLocalParameterI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, UInt32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramLocalParameterI4uivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (UInt32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: NV_gpu_program4] + [AutoGenerated(Category = "NV_gpu_program4", Version = "1.3", EntryPoint = "glProgramLocalParametersI4ivNV")] + public static + void ProgramLocalParametersI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, Int32 index, Int32 count, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glProgramLocalParametersI4ivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_gpu_program4] + [AutoGenerated(Category = "NV_gpu_program4", Version = "1.3", EntryPoint = "glProgramLocalParametersI4ivNV")] + public static + void ProgramLocalParametersI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, Int32 index, Int32 count, ref Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glProgramLocalParametersI4ivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_gpu_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_program4", Version = "1.3", EntryPoint = "glProgramLocalParametersI4ivNV")] + public static + unsafe void ProgramLocalParametersI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, Int32 index, Int32 count, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramLocalParametersI4ivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32)count, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: NV_gpu_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_program4", Version = "1.3", EntryPoint = "glProgramLocalParametersI4ivNV")] + public static + void ProgramLocalParametersI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 count, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glProgramLocalParametersI4ivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_gpu_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_program4", Version = "1.3", EntryPoint = "glProgramLocalParametersI4ivNV")] + public static + void ProgramLocalParametersI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 count, ref Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glProgramLocalParametersI4ivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_gpu_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_program4", Version = "1.3", EntryPoint = "glProgramLocalParametersI4ivNV")] + public static + unsafe void ProgramLocalParametersI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 count, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramLocalParametersI4ivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32)count, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: NV_gpu_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_program4", Version = "1.3", EntryPoint = "glProgramLocalParametersI4uivNV")] + public static + void ProgramLocalParametersI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 count, UInt32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = @params) + { + Delegates.glProgramLocalParametersI4uivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32)count, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_gpu_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_program4", Version = "1.3", EntryPoint = "glProgramLocalParametersI4uivNV")] + public static + void ProgramLocalParametersI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 count, ref UInt32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = &@params) + { + Delegates.glProgramLocalParametersI4uivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32)count, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_gpu_program4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_program4", Version = "1.3", EntryPoint = "glProgramLocalParametersI4uivNV")] + public static + unsafe void ProgramLocalParametersI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 count, UInt32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramLocalParametersI4uivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32)count, (UInt32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: NV_fragment_program] + [AutoGenerated(Category = "NV_fragment_program", Version = "1.2", EntryPoint = "glProgramNamedParameter4dNV")] + public static + void ProgramNamedParameter4(Int32 id, Int32 len, ref Byte name, Double x, Double y, Double z, Double w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* name_ptr = &name) + { + Delegates.glProgramNamedParameter4dNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Double)x, (Double)y, (Double)z, (Double)w); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_fragment_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_fragment_program", Version = "1.2", EntryPoint = "glProgramNamedParameter4dNV")] + public static + unsafe void ProgramNamedParameter4(Int32 id, Int32 len, Byte* name, Double x, Double y, Double z, Double w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramNamedParameter4dNV((UInt32)id, (Int32)len, (Byte*)name, (Double)x, (Double)y, (Double)z, (Double)w); + #if DEBUG + } + #endif + } + + /// [requires: NV_fragment_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_fragment_program", Version = "1.2", EntryPoint = "glProgramNamedParameter4dNV")] + public static + void ProgramNamedParameter4(UInt32 id, Int32 len, ref Byte name, Double x, Double y, Double z, Double w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* name_ptr = &name) + { + Delegates.glProgramNamedParameter4dNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Double)x, (Double)y, (Double)z, (Double)w); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_fragment_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_fragment_program", Version = "1.2", EntryPoint = "glProgramNamedParameter4dNV")] + public static + unsafe void ProgramNamedParameter4(UInt32 id, Int32 len, Byte* name, Double x, Double y, Double z, Double w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramNamedParameter4dNV((UInt32)id, (Int32)len, (Byte*)name, (Double)x, (Double)y, (Double)z, (Double)w); + #if DEBUG + } + #endif + } + + /// [requires: NV_fragment_program] + [AutoGenerated(Category = "NV_fragment_program", Version = "1.2", EntryPoint = "glProgramNamedParameter4dvNV")] + public static + void ProgramNamedParameter4(Int32 id, Int32 len, ref Byte name, ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* name_ptr = &name) + fixed (Double* v_ptr = &v) + { + Delegates.glProgramNamedParameter4dvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_fragment_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_fragment_program", Version = "1.2", EntryPoint = "glProgramNamedParameter4dvNV")] + public static + unsafe void ProgramNamedParameter4(Int32 id, Int32 len, Byte* name, Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (Double* v_ptr = v) + { + Delegates.glProgramNamedParameter4dvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)v_ptr); + } + #if DEBUG + } + #endif + } + + /// [requires: NV_fragment_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_fragment_program", Version = "1.2", EntryPoint = "glProgramNamedParameter4dvNV")] + public static + unsafe void ProgramNamedParameter4(Int32 id, Int32 len, Byte* name, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramNamedParameter4dvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_fragment_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_fragment_program", Version = "1.2", EntryPoint = "glProgramNamedParameter4dvNV")] + public static + void ProgramNamedParameter4(UInt32 id, Int32 len, ref Byte name, ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* name_ptr = &name) + fixed (Double* v_ptr = &v) + { + Delegates.glProgramNamedParameter4dvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_fragment_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_fragment_program", Version = "1.2", EntryPoint = "glProgramNamedParameter4dvNV")] + public static + unsafe void ProgramNamedParameter4(UInt32 id, Int32 len, Byte* name, Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (Double* v_ptr = v) + { + Delegates.glProgramNamedParameter4dvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)v_ptr); + } + #if DEBUG + } + #endif + } + + /// [requires: NV_fragment_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_fragment_program", Version = "1.2", EntryPoint = "glProgramNamedParameter4dvNV")] + public static + unsafe void ProgramNamedParameter4(UInt32 id, Int32 len, Byte* name, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramNamedParameter4dvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_fragment_program] + [AutoGenerated(Category = "NV_fragment_program", Version = "1.2", EntryPoint = "glProgramNamedParameter4fNV")] + public static + void ProgramNamedParameter4(Int32 id, Int32 len, ref Byte name, Single x, Single y, Single z, Single w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* name_ptr = &name) + { + Delegates.glProgramNamedParameter4fNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Single)x, (Single)y, (Single)z, (Single)w); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_fragment_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_fragment_program", Version = "1.2", EntryPoint = "glProgramNamedParameter4fNV")] + public static + unsafe void ProgramNamedParameter4(Int32 id, Int32 len, Byte* name, Single x, Single y, Single z, Single w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramNamedParameter4fNV((UInt32)id, (Int32)len, (Byte*)name, (Single)x, (Single)y, (Single)z, (Single)w); + #if DEBUG + } + #endif + } + + /// [requires: NV_fragment_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_fragment_program", Version = "1.2", EntryPoint = "glProgramNamedParameter4fNV")] + public static + void ProgramNamedParameter4(UInt32 id, Int32 len, ref Byte name, Single x, Single y, Single z, Single w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* name_ptr = &name) + { + Delegates.glProgramNamedParameter4fNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Single)x, (Single)y, (Single)z, (Single)w); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_fragment_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_fragment_program", Version = "1.2", EntryPoint = "glProgramNamedParameter4fNV")] + public static + unsafe void ProgramNamedParameter4(UInt32 id, Int32 len, Byte* name, Single x, Single y, Single z, Single w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramNamedParameter4fNV((UInt32)id, (Int32)len, (Byte*)name, (Single)x, (Single)y, (Single)z, (Single)w); + #if DEBUG + } + #endif + } + + /// [requires: NV_fragment_program] + [AutoGenerated(Category = "NV_fragment_program", Version = "1.2", EntryPoint = "glProgramNamedParameter4fvNV")] + public static + void ProgramNamedParameter4(Int32 id, Int32 len, ref Byte name, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* name_ptr = &name) + fixed (Single* v_ptr = &v) + { + Delegates.glProgramNamedParameter4fvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_fragment_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_fragment_program", Version = "1.2", EntryPoint = "glProgramNamedParameter4fvNV")] + public static + unsafe void ProgramNamedParameter4(Int32 id, Int32 len, Byte* name, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (Single* v_ptr = v) + { + Delegates.glProgramNamedParameter4fvNV((UInt32)id, (Int32)len, (Byte*)name, (Single*)v_ptr); + } + #if DEBUG + } + #endif + } + + /// [requires: NV_fragment_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_fragment_program", Version = "1.2", EntryPoint = "glProgramNamedParameter4fvNV")] + public static + unsafe void ProgramNamedParameter4(Int32 id, Int32 len, Byte* name, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramNamedParameter4fvNV((UInt32)id, (Int32)len, (Byte*)name, (Single*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_fragment_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_fragment_program", Version = "1.2", EntryPoint = "glProgramNamedParameter4fvNV")] + public static + void ProgramNamedParameter4(UInt32 id, Int32 len, ref Byte name, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* name_ptr = &name) + fixed (Single* v_ptr = &v) + { + Delegates.glProgramNamedParameter4fvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_fragment_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_fragment_program", Version = "1.2", EntryPoint = "glProgramNamedParameter4fvNV")] + public static + unsafe void ProgramNamedParameter4(UInt32 id, Int32 len, Byte* name, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (Single* v_ptr = v) + { + Delegates.glProgramNamedParameter4fvNV((UInt32)id, (Int32)len, (Byte*)name, (Single*)v_ptr); + } + #if DEBUG + } + #endif + } + + /// [requires: NV_fragment_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_fragment_program", Version = "1.2", EntryPoint = "glProgramNamedParameter4fvNV")] + public static + unsafe void ProgramNamedParameter4(UInt32 id, Int32 len, Byte* name, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramNamedParameter4fvNV((UInt32)id, (Int32)len, (Byte*)name, (Single*)v); + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// Specify a parameter for a program object + /// + /// + /// + /// Specifies the name of a program object whose parameter to modify. + /// + /// + /// + /// + /// Specifies the name of the parameter to modify. + /// + /// + /// + /// + /// Specifies the new value of the parameter specified by pname for program. + /// + /// + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glProgramParameter4dNV")] + public static + void ProgramParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, Double x, Double y, Double z, Double w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramParameter4dNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// Specify a parameter for a program object + /// + /// + /// + /// Specifies the name of a program object whose parameter to modify. + /// + /// + /// + /// + /// Specifies the name of the parameter to modify. + /// + /// + /// + /// + /// Specifies the new value of the parameter specified by pname for program. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glProgramParameter4dNV")] + public static + void ProgramParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Double x, Double y, Double z, Double w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramParameter4dNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// Specify a parameter for a program object + /// + /// + /// + /// Specifies the name of a program object whose parameter to modify. + /// + /// + /// + /// + /// Specifies the name of the parameter to modify. + /// + /// + /// + /// + /// Specifies the new value of the parameter specified by pname for program. + /// + /// + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glProgramParameter4dvNV")] + public static + void ProgramParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glProgramParameter4dvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// Specify a parameter for a program object + /// + /// + /// + /// Specifies the name of a program object whose parameter to modify. + /// + /// + /// + /// + /// Specifies the name of the parameter to modify. + /// + /// + /// + /// + /// Specifies the new value of the parameter specified by pname for program. + /// + /// + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glProgramParameter4dvNV")] + public static + void ProgramParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glProgramParameter4dvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// Specify a parameter for a program object + /// + /// + /// + /// Specifies the name of a program object whose parameter to modify. + /// + /// + /// + /// + /// Specifies the name of the parameter to modify. + /// + /// + /// + /// + /// Specifies the new value of the parameter specified by pname for program. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glProgramParameter4dvNV")] + public static + unsafe void ProgramParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramParameter4dvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)v); + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// Specify a parameter for a program object + /// + /// + /// + /// Specifies the name of a program object whose parameter to modify. + /// + /// + /// + /// + /// Specifies the name of the parameter to modify. + /// + /// + /// + /// + /// Specifies the new value of the parameter specified by pname for program. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glProgramParameter4dvNV")] + public static + void ProgramParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glProgramParameter4dvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// Specify a parameter for a program object + /// + /// + /// + /// Specifies the name of a program object whose parameter to modify. + /// + /// + /// + /// + /// Specifies the name of the parameter to modify. + /// + /// + /// + /// + /// Specifies the new value of the parameter specified by pname for program. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glProgramParameter4dvNV")] + public static + void ProgramParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glProgramParameter4dvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// Specify a parameter for a program object + /// + /// + /// + /// Specifies the name of a program object whose parameter to modify. + /// + /// + /// + /// + /// Specifies the name of the parameter to modify. + /// + /// + /// + /// + /// Specifies the new value of the parameter specified by pname for program. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glProgramParameter4dvNV")] + public static + unsafe void ProgramParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramParameter4dvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)v); + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// Specify a parameter for a program object + /// + /// + /// + /// Specifies the name of a program object whose parameter to modify. + /// + /// + /// + /// + /// Specifies the name of the parameter to modify. + /// + /// + /// + /// + /// Specifies the new value of the parameter specified by pname for program. + /// + /// + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glProgramParameter4fNV")] + public static + void ProgramParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, Single x, Single y, Single z, Single w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramParameter4fNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// Specify a parameter for a program object + /// + /// + /// + /// Specifies the name of a program object whose parameter to modify. + /// + /// + /// + /// + /// Specifies the name of the parameter to modify. + /// + /// + /// + /// + /// Specifies the new value of the parameter specified by pname for program. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glProgramParameter4fNV")] + public static + void ProgramParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Single x, Single y, Single z, Single w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramParameter4fNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// Specify a parameter for a program object + /// + /// + /// + /// Specifies the name of a program object whose parameter to modify. + /// + /// + /// + /// + /// Specifies the name of the parameter to modify. + /// + /// + /// + /// + /// Specifies the new value of the parameter specified by pname for program. + /// + /// + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glProgramParameter4fvNV")] + public static + void ProgramParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glProgramParameter4fvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// Specify a parameter for a program object + /// + /// + /// + /// Specifies the name of a program object whose parameter to modify. + /// + /// + /// + /// + /// Specifies the name of the parameter to modify. + /// + /// + /// + /// + /// Specifies the new value of the parameter specified by pname for program. + /// + /// + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glProgramParameter4fvNV")] + public static + void ProgramParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glProgramParameter4fvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// Specify a parameter for a program object + /// + /// + /// + /// Specifies the name of a program object whose parameter to modify. + /// + /// + /// + /// + /// Specifies the name of the parameter to modify. + /// + /// + /// + /// + /// Specifies the new value of the parameter specified by pname for program. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glProgramParameter4fvNV")] + public static + unsafe void ProgramParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramParameter4fvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)v); + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// Specify a parameter for a program object + /// + /// + /// + /// Specifies the name of a program object whose parameter to modify. + /// + /// + /// + /// + /// Specifies the name of the parameter to modify. + /// + /// + /// + /// + /// Specifies the new value of the parameter specified by pname for program. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glProgramParameter4fvNV")] + public static + void ProgramParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glProgramParameter4fvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// Specify a parameter for a program object + /// + /// + /// + /// Specifies the name of a program object whose parameter to modify. + /// + /// + /// + /// + /// Specifies the name of the parameter to modify. + /// + /// + /// + /// + /// Specifies the new value of the parameter specified by pname for program. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glProgramParameter4fvNV")] + public static + void ProgramParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glProgramParameter4fvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// Specify a parameter for a program object + /// + /// + /// + /// Specifies the name of a program object whose parameter to modify. + /// + /// + /// + /// + /// Specifies the name of the parameter to modify. + /// + /// + /// + /// + /// Specifies the new value of the parameter specified by pname for program. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glProgramParameter4fvNV")] + public static + unsafe void ProgramParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramParameter4fvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glProgramParameters4dvNV")] + public static + void ProgramParameters4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, Int32 count, Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glProgramParameters4dvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Int32)count, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glProgramParameters4dvNV")] + public static + void ProgramParameters4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, Int32 count, ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glProgramParameters4dvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Int32)count, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glProgramParameters4dvNV")] + public static + unsafe void ProgramParameters4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, Int32 count, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramParameters4dvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Int32)count, (Double*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glProgramParameters4dvNV")] + public static + void ProgramParameters4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Int32 count, Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glProgramParameters4dvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Int32)count, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glProgramParameters4dvNV")] + public static + void ProgramParameters4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Int32 count, ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glProgramParameters4dvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Int32)count, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glProgramParameters4dvNV")] + public static + unsafe void ProgramParameters4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Int32 count, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramParameters4dvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Int32)count, (Double*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glProgramParameters4fvNV")] + public static + void ProgramParameters4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, Int32 count, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glProgramParameters4fvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Int32)count, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glProgramParameters4fvNV")] + public static + void ProgramParameters4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, Int32 count, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glProgramParameters4fvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Int32)count, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glProgramParameters4fvNV")] + public static + unsafe void ProgramParameters4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, Int32 count, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramParameters4fvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Int32)count, (Single*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glProgramParameters4fvNV")] + public static + void ProgramParameters4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Int32 count, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glProgramParameters4fvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Int32)count, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glProgramParameters4fvNV")] + public static + void ProgramParameters4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Int32 count, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glProgramParameters4fvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Int32)count, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glProgramParameters4fvNV")] + public static + unsafe void ProgramParameters4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Int32 count, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramParameters4fvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Int32)count, (Single*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_gpu_program5] + [AutoGenerated(Category = "NV_gpu_program5", Version = "4.1", EntryPoint = "glProgramSubroutineParametersuivNV")] + public static + void ProgramSubroutineParameters(OpenTK.Graphics.OpenGL.NvGpuProgram5 target, Int32 count, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glProgramSubroutineParametersuivNV((OpenTK.Graphics.OpenGL.NvGpuProgram5)target, (Int32)count, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_gpu_program5] + [AutoGenerated(Category = "NV_gpu_program5", Version = "4.1", EntryPoint = "glProgramSubroutineParametersuivNV")] + public static + void ProgramSubroutineParameters(OpenTK.Graphics.OpenGL.NvGpuProgram5 target, Int32 count, ref Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glProgramSubroutineParametersuivNV((OpenTK.Graphics.OpenGL.NvGpuProgram5)target, (Int32)count, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_gpu_program5] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_program5", Version = "4.1", EntryPoint = "glProgramSubroutineParametersuivNV")] + public static + unsafe void ProgramSubroutineParameters(OpenTK.Graphics.OpenGL.NvGpuProgram5 target, Int32 count, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramSubroutineParametersuivNV((OpenTK.Graphics.OpenGL.NvGpuProgram5)target, (Int32)count, (UInt32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: NV_gpu_program5] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_program5", Version = "4.1", EntryPoint = "glProgramSubroutineParametersuivNV")] + public static + void ProgramSubroutineParameters(OpenTK.Graphics.OpenGL.NvGpuProgram5 target, Int32 count, UInt32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = @params) + { + Delegates.glProgramSubroutineParametersuivNV((OpenTK.Graphics.OpenGL.NvGpuProgram5)target, (Int32)count, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_gpu_program5] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_program5", Version = "4.1", EntryPoint = "glProgramSubroutineParametersuivNV")] + public static + void ProgramSubroutineParameters(OpenTK.Graphics.OpenGL.NvGpuProgram5 target, Int32 count, ref UInt32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = &@params) + { + Delegates.glProgramSubroutineParametersuivNV((OpenTK.Graphics.OpenGL.NvGpuProgram5)target, (Int32)count, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_gpu_program5] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_program5", Version = "4.1", EntryPoint = "glProgramSubroutineParametersuivNV")] + public static + unsafe void ProgramSubroutineParameters(OpenTK.Graphics.OpenGL.NvGpuProgram5 target, Int32 count, UInt32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramSubroutineParametersuivNV((OpenTK.Graphics.OpenGL.NvGpuProgram5)target, (Int32)count, (UInt32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: NV_gpu_shader5] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "NV_gpu_shader5", Version = "4.1", EntryPoint = "glProgramUniform1i64NV")] + public static + void ProgramUniform1(Int32 program, Int32 location, Int64 x) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform1i64NV((UInt32)program, (Int32)location, (Int64)x); + #if DEBUG + } + #endif + } + + + /// [requires: NV_gpu_shader5] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_shader5", Version = "4.1", EntryPoint = "glProgramUniform1i64NV")] + public static + void ProgramUniform1(UInt32 program, Int32 location, Int64 x) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform1i64NV((UInt32)program, (Int32)location, (Int64)x); + #if DEBUG + } + #endif + } + + + /// [requires: NV_gpu_shader5] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "NV_gpu_shader5", Version = "4.1", EntryPoint = "glProgramUniform1i64vNV")] + public static + void ProgramUniform1(Int32 program, Int32 location, Int32 count, Int64[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* value_ptr = value) + { + Delegates.glProgramUniform1i64vNV((UInt32)program, (Int32)location, (Int32)count, (Int64*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_gpu_shader5] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "NV_gpu_shader5", Version = "4.1", EntryPoint = "glProgramUniform1i64vNV")] + public static + void ProgramUniform1(Int32 program, Int32 location, Int32 count, ref Int64 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* value_ptr = &value) + { + Delegates.glProgramUniform1i64vNV((UInt32)program, (Int32)location, (Int32)count, (Int64*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_gpu_shader5] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_shader5", Version = "4.1", EntryPoint = "glProgramUniform1i64vNV")] + public static + unsafe void ProgramUniform1(Int32 program, Int32 location, Int32 count, Int64* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform1i64vNV((UInt32)program, (Int32)location, (Int32)count, (Int64*)value); + #if DEBUG + } + #endif + } + + + /// [requires: NV_gpu_shader5] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_shader5", Version = "4.1", EntryPoint = "glProgramUniform1i64vNV")] + public static + void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Int64[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* value_ptr = value) + { + Delegates.glProgramUniform1i64vNV((UInt32)program, (Int32)location, (Int32)count, (Int64*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_gpu_shader5] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_shader5", Version = "4.1", EntryPoint = "glProgramUniform1i64vNV")] + public static + void ProgramUniform1(UInt32 program, Int32 location, Int32 count, ref Int64 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* value_ptr = &value) + { + Delegates.glProgramUniform1i64vNV((UInt32)program, (Int32)location, (Int32)count, (Int64*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_gpu_shader5] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_shader5", Version = "4.1", EntryPoint = "glProgramUniform1i64vNV")] + public static + unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Int64* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform1i64vNV((UInt32)program, (Int32)location, (Int32)count, (Int64*)value); + #if DEBUG + } + #endif + } + + + /// [requires: NV_gpu_shader5] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_shader5", Version = "4.1", EntryPoint = "glProgramUniform1ui64NV")] + public static + void ProgramUniform1(UInt32 program, Int32 location, UInt64 x) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform1ui64NV((UInt32)program, (Int32)location, (UInt64)x); + #if DEBUG + } + #endif + } + + + /// [requires: NV_gpu_shader5] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_shader5", Version = "4.1", EntryPoint = "glProgramUniform1ui64vNV")] + public static + void ProgramUniform1(UInt32 program, Int32 location, Int32 count, UInt64[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt64* value_ptr = value) + { + Delegates.glProgramUniform1ui64vNV((UInt32)program, (Int32)location, (Int32)count, (UInt64*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_gpu_shader5] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_shader5", Version = "4.1", EntryPoint = "glProgramUniform1ui64vNV")] + public static + void ProgramUniform1(UInt32 program, Int32 location, Int32 count, ref UInt64 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt64* value_ptr = &value) + { + Delegates.glProgramUniform1ui64vNV((UInt32)program, (Int32)location, (Int32)count, (UInt64*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_gpu_shader5] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_shader5", Version = "4.1", EntryPoint = "glProgramUniform1ui64vNV")] + public static + unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, UInt64* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform1ui64vNV((UInt32)program, (Int32)location, (Int32)count, (UInt64*)value); + #if DEBUG + } + #endif + } + + + /// [requires: NV_gpu_shader5] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "NV_gpu_shader5", Version = "4.1", EntryPoint = "glProgramUniform2i64NV")] + public static + void ProgramUniform2(Int32 program, Int32 location, Int64 x, Int64 y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform2i64NV((UInt32)program, (Int32)location, (Int64)x, (Int64)y); + #if DEBUG + } + #endif + } + + + /// [requires: NV_gpu_shader5] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_shader5", Version = "4.1", EntryPoint = "glProgramUniform2i64NV")] + public static + void ProgramUniform2(UInt32 program, Int32 location, Int64 x, Int64 y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform2i64NV((UInt32)program, (Int32)location, (Int64)x, (Int64)y); + #if DEBUG + } + #endif + } + + + /// [requires: NV_gpu_shader5] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "NV_gpu_shader5", Version = "4.1", EntryPoint = "glProgramUniform2i64vNV")] + public static + void ProgramUniform2(Int32 program, Int32 location, Int32 count, Int64[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* value_ptr = value) + { + Delegates.glProgramUniform2i64vNV((UInt32)program, (Int32)location, (Int32)count, (Int64*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_gpu_shader5] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "NV_gpu_shader5", Version = "4.1", EntryPoint = "glProgramUniform2i64vNV")] + public static + void ProgramUniform2(Int32 program, Int32 location, Int32 count, ref Int64 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* value_ptr = &value) + { + Delegates.glProgramUniform2i64vNV((UInt32)program, (Int32)location, (Int32)count, (Int64*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_gpu_shader5] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_shader5", Version = "4.1", EntryPoint = "glProgramUniform2i64vNV")] + public static + unsafe void ProgramUniform2(Int32 program, Int32 location, Int32 count, Int64* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform2i64vNV((UInt32)program, (Int32)location, (Int32)count, (Int64*)value); + #if DEBUG + } + #endif + } + + + /// [requires: NV_gpu_shader5] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_shader5", Version = "4.1", EntryPoint = "glProgramUniform2i64vNV")] + public static + void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Int64[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* value_ptr = value) + { + Delegates.glProgramUniform2i64vNV((UInt32)program, (Int32)location, (Int32)count, (Int64*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_gpu_shader5] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_shader5", Version = "4.1", EntryPoint = "glProgramUniform2i64vNV")] + public static + void ProgramUniform2(UInt32 program, Int32 location, Int32 count, ref Int64 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* value_ptr = &value) + { + Delegates.glProgramUniform2i64vNV((UInt32)program, (Int32)location, (Int32)count, (Int64*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_gpu_shader5] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_shader5", Version = "4.1", EntryPoint = "glProgramUniform2i64vNV")] + public static + unsafe void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Int64* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform2i64vNV((UInt32)program, (Int32)location, (Int32)count, (Int64*)value); + #if DEBUG + } + #endif + } + + + /// [requires: NV_gpu_shader5] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_shader5", Version = "4.1", EntryPoint = "glProgramUniform2ui64NV")] + public static + void ProgramUniform2(UInt32 program, Int32 location, UInt64 x, UInt64 y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform2ui64NV((UInt32)program, (Int32)location, (UInt64)x, (UInt64)y); + #if DEBUG + } + #endif + } + + + /// [requires: NV_gpu_shader5] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_shader5", Version = "4.1", EntryPoint = "glProgramUniform2ui64vNV")] + public static + void ProgramUniform2(UInt32 program, Int32 location, Int32 count, UInt64[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt64* value_ptr = value) + { + Delegates.glProgramUniform2ui64vNV((UInt32)program, (Int32)location, (Int32)count, (UInt64*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_gpu_shader5] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_shader5", Version = "4.1", EntryPoint = "glProgramUniform2ui64vNV")] + public static + void ProgramUniform2(UInt32 program, Int32 location, Int32 count, ref UInt64 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt64* value_ptr = &value) + { + Delegates.glProgramUniform2ui64vNV((UInt32)program, (Int32)location, (Int32)count, (UInt64*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_gpu_shader5] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_shader5", Version = "4.1", EntryPoint = "glProgramUniform2ui64vNV")] + public static + unsafe void ProgramUniform2(UInt32 program, Int32 location, Int32 count, UInt64* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform2ui64vNV((UInt32)program, (Int32)location, (Int32)count, (UInt64*)value); + #if DEBUG + } + #endif + } + + + /// [requires: NV_gpu_shader5] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "NV_gpu_shader5", Version = "4.1", EntryPoint = "glProgramUniform3i64NV")] + public static + void ProgramUniform3(Int32 program, Int32 location, Int64 x, Int64 y, Int64 z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform3i64NV((UInt32)program, (Int32)location, (Int64)x, (Int64)y, (Int64)z); + #if DEBUG + } + #endif + } + + + /// [requires: NV_gpu_shader5] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_shader5", Version = "4.1", EntryPoint = "glProgramUniform3i64NV")] + public static + void ProgramUniform3(UInt32 program, Int32 location, Int64 x, Int64 y, Int64 z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform3i64NV((UInt32)program, (Int32)location, (Int64)x, (Int64)y, (Int64)z); + #if DEBUG + } + #endif + } + + + /// [requires: NV_gpu_shader5] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "NV_gpu_shader5", Version = "4.1", EntryPoint = "glProgramUniform3i64vNV")] + public static + void ProgramUniform3(Int32 program, Int32 location, Int32 count, Int64[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* value_ptr = value) + { + Delegates.glProgramUniform3i64vNV((UInt32)program, (Int32)location, (Int32)count, (Int64*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_gpu_shader5] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "NV_gpu_shader5", Version = "4.1", EntryPoint = "glProgramUniform3i64vNV")] + public static + void ProgramUniform3(Int32 program, Int32 location, Int32 count, ref Int64 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* value_ptr = &value) + { + Delegates.glProgramUniform3i64vNV((UInt32)program, (Int32)location, (Int32)count, (Int64*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_gpu_shader5] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_shader5", Version = "4.1", EntryPoint = "glProgramUniform3i64vNV")] + public static + unsafe void ProgramUniform3(Int32 program, Int32 location, Int32 count, Int64* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform3i64vNV((UInt32)program, (Int32)location, (Int32)count, (Int64*)value); + #if DEBUG + } + #endif + } + + + /// [requires: NV_gpu_shader5] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_shader5", Version = "4.1", EntryPoint = "glProgramUniform3i64vNV")] + public static + void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Int64[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* value_ptr = value) + { + Delegates.glProgramUniform3i64vNV((UInt32)program, (Int32)location, (Int32)count, (Int64*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_gpu_shader5] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_shader5", Version = "4.1", EntryPoint = "glProgramUniform3i64vNV")] + public static + void ProgramUniform3(UInt32 program, Int32 location, Int32 count, ref Int64 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* value_ptr = &value) + { + Delegates.glProgramUniform3i64vNV((UInt32)program, (Int32)location, (Int32)count, (Int64*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_gpu_shader5] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_shader5", Version = "4.1", EntryPoint = "glProgramUniform3i64vNV")] + public static + unsafe void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Int64* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform3i64vNV((UInt32)program, (Int32)location, (Int32)count, (Int64*)value); + #if DEBUG + } + #endif + } + + + /// [requires: NV_gpu_shader5] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_shader5", Version = "4.1", EntryPoint = "glProgramUniform3ui64NV")] + public static + void ProgramUniform3(UInt32 program, Int32 location, UInt64 x, UInt64 y, UInt64 z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform3ui64NV((UInt32)program, (Int32)location, (UInt64)x, (UInt64)y, (UInt64)z); + #if DEBUG + } + #endif + } + + + /// [requires: NV_gpu_shader5] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_shader5", Version = "4.1", EntryPoint = "glProgramUniform3ui64vNV")] + public static + void ProgramUniform3(UInt32 program, Int32 location, Int32 count, UInt64[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt64* value_ptr = value) + { + Delegates.glProgramUniform3ui64vNV((UInt32)program, (Int32)location, (Int32)count, (UInt64*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_gpu_shader5] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_shader5", Version = "4.1", EntryPoint = "glProgramUniform3ui64vNV")] + public static + void ProgramUniform3(UInt32 program, Int32 location, Int32 count, ref UInt64 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt64* value_ptr = &value) + { + Delegates.glProgramUniform3ui64vNV((UInt32)program, (Int32)location, (Int32)count, (UInt64*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_gpu_shader5] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_shader5", Version = "4.1", EntryPoint = "glProgramUniform3ui64vNV")] + public static + unsafe void ProgramUniform3(UInt32 program, Int32 location, Int32 count, UInt64* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform3ui64vNV((UInt32)program, (Int32)location, (Int32)count, (UInt64*)value); + #if DEBUG + } + #endif + } + + + /// [requires: NV_gpu_shader5] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "NV_gpu_shader5", Version = "4.1", EntryPoint = "glProgramUniform4i64NV")] + public static + void ProgramUniform4(Int32 program, Int32 location, Int64 x, Int64 y, Int64 z, Int64 w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform4i64NV((UInt32)program, (Int32)location, (Int64)x, (Int64)y, (Int64)z, (Int64)w); + #if DEBUG + } + #endif + } + + + /// [requires: NV_gpu_shader5] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_shader5", Version = "4.1", EntryPoint = "glProgramUniform4i64NV")] + public static + void ProgramUniform4(UInt32 program, Int32 location, Int64 x, Int64 y, Int64 z, Int64 w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform4i64NV((UInt32)program, (Int32)location, (Int64)x, (Int64)y, (Int64)z, (Int64)w); + #if DEBUG + } + #endif + } + + + /// [requires: NV_gpu_shader5] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "NV_gpu_shader5", Version = "4.1", EntryPoint = "glProgramUniform4i64vNV")] + public static + void ProgramUniform4(Int32 program, Int32 location, Int32 count, Int64[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* value_ptr = value) + { + Delegates.glProgramUniform4i64vNV((UInt32)program, (Int32)location, (Int32)count, (Int64*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_gpu_shader5] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "NV_gpu_shader5", Version = "4.1", EntryPoint = "glProgramUniform4i64vNV")] + public static + void ProgramUniform4(Int32 program, Int32 location, Int32 count, ref Int64 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* value_ptr = &value) + { + Delegates.glProgramUniform4i64vNV((UInt32)program, (Int32)location, (Int32)count, (Int64*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_gpu_shader5] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_shader5", Version = "4.1", EntryPoint = "glProgramUniform4i64vNV")] + public static + unsafe void ProgramUniform4(Int32 program, Int32 location, Int32 count, Int64* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform4i64vNV((UInt32)program, (Int32)location, (Int32)count, (Int64*)value); + #if DEBUG + } + #endif + } + + + /// [requires: NV_gpu_shader5] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_shader5", Version = "4.1", EntryPoint = "glProgramUniform4i64vNV")] + public static + void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Int64[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* value_ptr = value) + { + Delegates.glProgramUniform4i64vNV((UInt32)program, (Int32)location, (Int32)count, (Int64*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_gpu_shader5] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_shader5", Version = "4.1", EntryPoint = "glProgramUniform4i64vNV")] + public static + void ProgramUniform4(UInt32 program, Int32 location, Int32 count, ref Int64 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* value_ptr = &value) + { + Delegates.glProgramUniform4i64vNV((UInt32)program, (Int32)location, (Int32)count, (Int64*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_gpu_shader5] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_shader5", Version = "4.1", EntryPoint = "glProgramUniform4i64vNV")] + public static + unsafe void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Int64* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform4i64vNV((UInt32)program, (Int32)location, (Int32)count, (Int64*)value); + #if DEBUG + } + #endif + } + + + /// [requires: NV_gpu_shader5] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_shader5", Version = "4.1", EntryPoint = "glProgramUniform4ui64NV")] + public static + void ProgramUniform4(UInt32 program, Int32 location, UInt64 x, UInt64 y, UInt64 z, UInt64 w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform4ui64NV((UInt32)program, (Int32)location, (UInt64)x, (UInt64)y, (UInt64)z, (UInt64)w); + #if DEBUG + } + #endif + } + + + /// [requires: NV_gpu_shader5] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_shader5", Version = "4.1", EntryPoint = "glProgramUniform4ui64vNV")] + public static + void ProgramUniform4(UInt32 program, Int32 location, Int32 count, UInt64[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt64* value_ptr = value) + { + Delegates.glProgramUniform4ui64vNV((UInt32)program, (Int32)location, (Int32)count, (UInt64*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_gpu_shader5] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_shader5", Version = "4.1", EntryPoint = "glProgramUniform4ui64vNV")] + public static + void ProgramUniform4(UInt32 program, Int32 location, Int32 count, ref UInt64 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt64* value_ptr = &value) + { + Delegates.glProgramUniform4ui64vNV((UInt32)program, (Int32)location, (Int32)count, (UInt64*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_gpu_shader5] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_shader5", Version = "4.1", EntryPoint = "glProgramUniform4ui64vNV")] + public static + unsafe void ProgramUniform4(UInt32 program, Int32 location, Int32 count, UInt64* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform4ui64vNV((UInt32)program, (Int32)location, (Int32)count, (UInt64*)value); + #if DEBUG + } + #endif + } + + + /// [requires: NV_shader_buffer_load] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "NV_shader_buffer_load", Version = "1.2", EntryPoint = "glProgramUniformui64NV")] + public static + void ProgramUniform(Int32 program, Int32 location, Int64 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformui64NV((UInt32)program, (Int32)location, (UInt64)value); + #if DEBUG + } + #endif + } + + + /// [requires: NV_shader_buffer_load] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_shader_buffer_load", Version = "1.2", EntryPoint = "glProgramUniformui64NV")] + public static + void ProgramUniform(UInt32 program, Int32 location, UInt64 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformui64NV((UInt32)program, (Int32)location, (UInt64)value); + #if DEBUG + } + #endif + } + + + /// [requires: NV_shader_buffer_load] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "NV_shader_buffer_load", Version = "1.2", EntryPoint = "glProgramUniformui64vNV")] + public static + void ProgramUniform(Int32 program, Int32 location, Int32 count, Int64[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* value_ptr = value) + { + Delegates.glProgramUniformui64vNV((UInt32)program, (Int32)location, (Int32)count, (UInt64*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_shader_buffer_load] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "NV_shader_buffer_load", Version = "1.2", EntryPoint = "glProgramUniformui64vNV")] + public static + void ProgramUniform(Int32 program, Int32 location, Int32 count, ref Int64 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* value_ptr = &value) + { + Delegates.glProgramUniformui64vNV((UInt32)program, (Int32)location, (Int32)count, (UInt64*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_shader_buffer_load] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_shader_buffer_load", Version = "1.2", EntryPoint = "glProgramUniformui64vNV")] + public static + unsafe void ProgramUniform(Int32 program, Int32 location, Int32 count, Int64* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformui64vNV((UInt32)program, (Int32)location, (Int32)count, (UInt64*)value); + #if DEBUG + } + #endif + } + + + /// [requires: NV_shader_buffer_load] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_shader_buffer_load", Version = "1.2", EntryPoint = "glProgramUniformui64vNV")] + public static + void ProgramUniform(UInt32 program, Int32 location, Int32 count, UInt64[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt64* value_ptr = value) + { + Delegates.glProgramUniformui64vNV((UInt32)program, (Int32)location, (Int32)count, (UInt64*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_shader_buffer_load] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_shader_buffer_load", Version = "1.2", EntryPoint = "glProgramUniformui64vNV")] + public static + void ProgramUniform(UInt32 program, Int32 location, Int32 count, ref UInt64 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt64* value_ptr = &value) + { + Delegates.glProgramUniformui64vNV((UInt32)program, (Int32)location, (Int32)count, (UInt64*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_shader_buffer_load] + /// Specify the value of a uniform variable for a specified program object + /// + /// + /// + /// Specifies the handle of the program containing the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_shader_buffer_load", Version = "1.2", EntryPoint = "glProgramUniformui64vNV")] + public static + unsafe void ProgramUniform(UInt32 program, Int32 location, Int32 count, UInt64* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformui64vNV((UInt32)program, (Int32)location, (Int32)count, (UInt64*)value); + #if DEBUG + } + #endif + } + + /// [requires: NV_geometry_program4] + [AutoGenerated(Category = "NV_geometry_program4", Version = "2.0", EntryPoint = "glProgramVertexLimitNV")] + public static + void ProgramVertexLimit(OpenTK.Graphics.OpenGL.NvGeometryProgram4 target, Int32 limit) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramVertexLimitNV((OpenTK.Graphics.OpenGL.NvGeometryProgram4)target, (Int32)limit); + #if DEBUG + } + #endif + } + + /// [requires: NV_framebuffer_multisample_coverage] + [AutoGenerated(Category = "NV_framebuffer_multisample_coverage", Version = "1.5", EntryPoint = "glRenderbufferStorageMultisampleCoverageNV")] + public static + void RenderbufferStorageMultisampleCoverage(OpenTK.Graphics.OpenGL.RenderbufferTarget target, Int32 coverageSamples, Int32 colorSamples, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glRenderbufferStorageMultisampleCoverageNV((OpenTK.Graphics.OpenGL.RenderbufferTarget)target, (Int32)coverageSamples, (Int32)colorSamples, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glRequestResidentProgramsNV")] + public static + void RequestResidentProgram(Int32 n, Int32[] programs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* programs_ptr = programs) + { + Delegates.glRequestResidentProgramsNV((Int32)n, (UInt32*)programs_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glRequestResidentProgramsNV")] + public static + void RequestResidentProgram(Int32 n, ref Int32 programs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* programs_ptr = &programs) + { + Delegates.glRequestResidentProgramsNV((Int32)n, (UInt32*)programs_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glRequestResidentProgramsNV")] + public static + unsafe void RequestResidentProgram(Int32 n, Int32* programs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glRequestResidentProgramsNV((Int32)n, (UInt32*)programs); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glRequestResidentProgramsNV")] + public static + void RequestResidentProgram(Int32 n, UInt32[] programs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* programs_ptr = programs) + { + Delegates.glRequestResidentProgramsNV((Int32)n, (UInt32*)programs_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glRequestResidentProgramsNV")] + public static + void RequestResidentProgram(Int32 n, ref UInt32 programs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* programs_ptr = &programs) + { + Delegates.glRequestResidentProgramsNV((Int32)n, (UInt32*)programs_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glRequestResidentProgramsNV")] + public static + unsafe void RequestResidentProgram(Int32 n, UInt32* programs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glRequestResidentProgramsNV((Int32)n, (UInt32*)programs); + #if DEBUG + } + #endif + } + + + /// [requires: NV_transform_feedback2] + /// Resume transform feedback operations + /// + [AutoGenerated(Category = "NV_transform_feedback2", Version = "", EntryPoint = "glResumeTransformFeedbackNV")] + public static + void ResumeTransformFeedback() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glResumeTransformFeedbackNV(); + #if DEBUG + } + #endif + } + + /// [requires: NV_explicit_multisample] + [AutoGenerated(Category = "NV_explicit_multisample", Version = "", EntryPoint = "glSampleMaskIndexedNV")] + public static + void SampleMaskIndexed(Int32 index, Int32 mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSampleMaskIndexedNV((UInt32)index, (UInt32)mask); + #if DEBUG + } + #endif + } + + /// [requires: NV_explicit_multisample] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_explicit_multisample", Version = "", EntryPoint = "glSampleMaskIndexedNV")] + public static + void SampleMaskIndexed(UInt32 index, UInt32 mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSampleMaskIndexedNV((UInt32)index, (UInt32)mask); + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glSecondaryColor3hNV")] + public static + void SecondaryColor3h(Half red, Half green, Half blue) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSecondaryColor3hNV((Half)red, (Half)green, (Half)blue); + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glSecondaryColor3hvNV")] + public static + void SecondaryColor3h(Half[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Half* v_ptr = v) + { + Delegates.glSecondaryColor3hvNV((Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glSecondaryColor3hvNV")] + public static + void SecondaryColor3h(ref Half v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Half* v_ptr = &v) + { + Delegates.glSecondaryColor3hvNV((Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glSecondaryColor3hvNV")] + public static + unsafe void SecondaryColor3h(Half* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSecondaryColor3hvNV((Half*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_buffer_unified_memory] + [AutoGenerated(Category = "NV_vertex_buffer_unified_memory", Version = "1.2", EntryPoint = "glSecondaryColorFormatNV")] + public static + void SecondaryColorFormat(Int32 size, OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSecondaryColorFormatNV((Int32)size, (OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory)type, (Int32)stride); + #if DEBUG + } + #endif + } + + /// [requires: NV_fence] + [AutoGenerated(Category = "NV_fence", Version = "1.2", EntryPoint = "glSetFenceNV")] + public static + void SetFence(Int32 fence, OpenTK.Graphics.OpenGL.NvFence condition) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSetFenceNV((UInt32)fence, (OpenTK.Graphics.OpenGL.NvFence)condition); + #if DEBUG + } + #endif + } + + /// [requires: NV_fence] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_fence", Version = "1.2", EntryPoint = "glSetFenceNV")] + public static + void SetFence(UInt32 fence, OpenTK.Graphics.OpenGL.NvFence condition) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSetFenceNV((UInt32)fence, (OpenTK.Graphics.OpenGL.NvFence)condition); + #if DEBUG + } + #endif + } + + /// [requires: NV_fence] + [AutoGenerated(Category = "NV_fence", Version = "1.2", EntryPoint = "glTestFenceNV")] + public static + bool TestFence(Int32 fence) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glTestFenceNV((UInt32)fence); + #if DEBUG + } + #endif + } + + /// [requires: NV_fence] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_fence", Version = "1.2", EntryPoint = "glTestFenceNV")] + public static + bool TestFence(UInt32 fence) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glTestFenceNV((UInt32)fence); + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glTexCoord1hNV")] + public static + void TexCoord1h(Half s) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord1hNV((Half)s); + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glTexCoord1hvNV")] + public static + unsafe void TexCoord1h(Half* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord1hvNV((Half*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glTexCoord2hNV")] + public static + void TexCoord2h(Half s, Half t) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord2hNV((Half)s, (Half)t); + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glTexCoord2hvNV")] + public static + void TexCoord2h(Half[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Half* v_ptr = v) + { + Delegates.glTexCoord2hvNV((Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glTexCoord2hvNV")] + public static + void TexCoord2h(ref Half v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Half* v_ptr = &v) + { + Delegates.glTexCoord2hvNV((Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glTexCoord2hvNV")] + public static + unsafe void TexCoord2h(Half* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord2hvNV((Half*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glTexCoord3hNV")] + public static + void TexCoord3h(Half s, Half t, Half r) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord3hNV((Half)s, (Half)t, (Half)r); + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glTexCoord3hvNV")] + public static + void TexCoord3h(Half[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Half* v_ptr = v) + { + Delegates.glTexCoord3hvNV((Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glTexCoord3hvNV")] + public static + void TexCoord3h(ref Half v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Half* v_ptr = &v) + { + Delegates.glTexCoord3hvNV((Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glTexCoord3hvNV")] + public static + unsafe void TexCoord3h(Half* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord3hvNV((Half*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glTexCoord4hNV")] + public static + void TexCoord4h(Half s, Half t, Half r, Half q) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord4hNV((Half)s, (Half)t, (Half)r, (Half)q); + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glTexCoord4hvNV")] + public static + void TexCoord4h(Half[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Half* v_ptr = v) + { + Delegates.glTexCoord4hvNV((Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glTexCoord4hvNV")] + public static + void TexCoord4h(ref Half v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Half* v_ptr = &v) + { + Delegates.glTexCoord4hvNV((Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glTexCoord4hvNV")] + public static + unsafe void TexCoord4h(Half* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord4hvNV((Half*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_buffer_unified_memory] + [AutoGenerated(Category = "NV_vertex_buffer_unified_memory", Version = "1.2", EntryPoint = "glTexCoordFormatNV")] + public static + void TexCoordFormat(Int32 size, OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoordFormatNV((Int32)size, (OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory)type, (Int32)stride); + #if DEBUG + } + #endif + } + + /// [requires: NV_texture_multisample] + [AutoGenerated(Category = "NV_texture_multisample", Version = "4.1", EntryPoint = "glTexImage2DMultisampleCoverageNV")] + public static + void TexImage2DMultisampleCoverage(OpenTK.Graphics.OpenGL.NvTextureMultisample target, Int32 coverageSamples, Int32 colorSamples, Int32 internalFormat, Int32 width, Int32 height, bool fixedSampleLocations) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexImage2DMultisampleCoverageNV((OpenTK.Graphics.OpenGL.NvTextureMultisample)target, (Int32)coverageSamples, (Int32)colorSamples, (Int32)internalFormat, (Int32)width, (Int32)height, (bool)fixedSampleLocations); + #if DEBUG + } + #endif + } + + /// [requires: NV_texture_multisample] + [AutoGenerated(Category = "NV_texture_multisample", Version = "4.1", EntryPoint = "glTexImage3DMultisampleCoverageNV")] + public static + void TexImage3DMultisampleCoverage(OpenTK.Graphics.OpenGL.NvTextureMultisample target, Int32 coverageSamples, Int32 colorSamples, Int32 internalFormat, Int32 width, Int32 height, Int32 depth, bool fixedSampleLocations) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexImage3DMultisampleCoverageNV((OpenTK.Graphics.OpenGL.NvTextureMultisample)target, (Int32)coverageSamples, (Int32)colorSamples, (Int32)internalFormat, (Int32)width, (Int32)height, (Int32)depth, (bool)fixedSampleLocations); + #if DEBUG + } + #endif + } + + /// [requires: NV_explicit_multisample] + [AutoGenerated(Category = "NV_explicit_multisample", Version = "", EntryPoint = "glTexRenderbufferNV")] + public static + void TexRenderbuffer(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 renderbuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexRenderbufferNV((OpenTK.Graphics.OpenGL.TextureTarget)target, (UInt32)renderbuffer); + #if DEBUG + } + #endif + } + + /// [requires: NV_explicit_multisample] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_explicit_multisample", Version = "", EntryPoint = "glTexRenderbufferNV")] + public static + void TexRenderbuffer(OpenTK.Graphics.OpenGL.TextureTarget target, UInt32 renderbuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexRenderbufferNV((OpenTK.Graphics.OpenGL.TextureTarget)target, (UInt32)renderbuffer); + #if DEBUG + } + #endif + } + + /// [requires: NV_texture_barrier] + [AutoGenerated(Category = "NV_texture_barrier", Version = "1.2", EntryPoint = "glTextureBarrierNV")] + public static + void TextureBarrier() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureBarrierNV(); + #if DEBUG + } + #endif + } + + /// [requires: NV_texture_multisample] + [AutoGenerated(Category = "NV_texture_multisample", Version = "4.1", EntryPoint = "glTextureImage2DMultisampleCoverageNV")] + public static + void TextureImage2DMultisampleCoverage(Int32 texture, OpenTK.Graphics.OpenGL.NvTextureMultisample target, Int32 coverageSamples, Int32 colorSamples, Int32 internalFormat, Int32 width, Int32 height, bool fixedSampleLocations) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureImage2DMultisampleCoverageNV((UInt32)texture, (OpenTK.Graphics.OpenGL.NvTextureMultisample)target, (Int32)coverageSamples, (Int32)colorSamples, (Int32)internalFormat, (Int32)width, (Int32)height, (bool)fixedSampleLocations); + #if DEBUG + } + #endif + } + + /// [requires: NV_texture_multisample] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_texture_multisample", Version = "4.1", EntryPoint = "glTextureImage2DMultisampleCoverageNV")] + public static + void TextureImage2DMultisampleCoverage(UInt32 texture, OpenTK.Graphics.OpenGL.NvTextureMultisample target, Int32 coverageSamples, Int32 colorSamples, Int32 internalFormat, Int32 width, Int32 height, bool fixedSampleLocations) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureImage2DMultisampleCoverageNV((UInt32)texture, (OpenTK.Graphics.OpenGL.NvTextureMultisample)target, (Int32)coverageSamples, (Int32)colorSamples, (Int32)internalFormat, (Int32)width, (Int32)height, (bool)fixedSampleLocations); + #if DEBUG + } + #endif + } + + /// [requires: NV_texture_multisample] + [AutoGenerated(Category = "NV_texture_multisample", Version = "4.1", EntryPoint = "glTextureImage2DMultisampleNV")] + public static + void TextureImage2DMultisample(Int32 texture, OpenTK.Graphics.OpenGL.NvTextureMultisample target, Int32 samples, Int32 internalFormat, Int32 width, Int32 height, bool fixedSampleLocations) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureImage2DMultisampleNV((UInt32)texture, (OpenTK.Graphics.OpenGL.NvTextureMultisample)target, (Int32)samples, (Int32)internalFormat, (Int32)width, (Int32)height, (bool)fixedSampleLocations); + #if DEBUG + } + #endif + } + + /// [requires: NV_texture_multisample] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_texture_multisample", Version = "4.1", EntryPoint = "glTextureImage2DMultisampleNV")] + public static + void TextureImage2DMultisample(UInt32 texture, OpenTK.Graphics.OpenGL.NvTextureMultisample target, Int32 samples, Int32 internalFormat, Int32 width, Int32 height, bool fixedSampleLocations) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureImage2DMultisampleNV((UInt32)texture, (OpenTK.Graphics.OpenGL.NvTextureMultisample)target, (Int32)samples, (Int32)internalFormat, (Int32)width, (Int32)height, (bool)fixedSampleLocations); + #if DEBUG + } + #endif + } + + /// [requires: NV_texture_multisample] + [AutoGenerated(Category = "NV_texture_multisample", Version = "4.1", EntryPoint = "glTextureImage3DMultisampleCoverageNV")] + public static + void TextureImage3DMultisampleCoverage(Int32 texture, OpenTK.Graphics.OpenGL.NvTextureMultisample target, Int32 coverageSamples, Int32 colorSamples, Int32 internalFormat, Int32 width, Int32 height, Int32 depth, bool fixedSampleLocations) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureImage3DMultisampleCoverageNV((UInt32)texture, (OpenTK.Graphics.OpenGL.NvTextureMultisample)target, (Int32)coverageSamples, (Int32)colorSamples, (Int32)internalFormat, (Int32)width, (Int32)height, (Int32)depth, (bool)fixedSampleLocations); + #if DEBUG + } + #endif + } + + /// [requires: NV_texture_multisample] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_texture_multisample", Version = "4.1", EntryPoint = "glTextureImage3DMultisampleCoverageNV")] + public static + void TextureImage3DMultisampleCoverage(UInt32 texture, OpenTK.Graphics.OpenGL.NvTextureMultisample target, Int32 coverageSamples, Int32 colorSamples, Int32 internalFormat, Int32 width, Int32 height, Int32 depth, bool fixedSampleLocations) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureImage3DMultisampleCoverageNV((UInt32)texture, (OpenTK.Graphics.OpenGL.NvTextureMultisample)target, (Int32)coverageSamples, (Int32)colorSamples, (Int32)internalFormat, (Int32)width, (Int32)height, (Int32)depth, (bool)fixedSampleLocations); + #if DEBUG + } + #endif + } + + /// [requires: NV_texture_multisample] + [AutoGenerated(Category = "NV_texture_multisample", Version = "4.1", EntryPoint = "glTextureImage3DMultisampleNV")] + public static + void TextureImage3DMultisample(Int32 texture, OpenTK.Graphics.OpenGL.NvTextureMultisample target, Int32 samples, Int32 internalFormat, Int32 width, Int32 height, Int32 depth, bool fixedSampleLocations) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureImage3DMultisampleNV((UInt32)texture, (OpenTK.Graphics.OpenGL.NvTextureMultisample)target, (Int32)samples, (Int32)internalFormat, (Int32)width, (Int32)height, (Int32)depth, (bool)fixedSampleLocations); + #if DEBUG + } + #endif + } + + /// [requires: NV_texture_multisample] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_texture_multisample", Version = "4.1", EntryPoint = "glTextureImage3DMultisampleNV")] + public static + void TextureImage3DMultisample(UInt32 texture, OpenTK.Graphics.OpenGL.NvTextureMultisample target, Int32 samples, Int32 internalFormat, Int32 width, Int32 height, Int32 depth, bool fixedSampleLocations) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureImage3DMultisampleNV((UInt32)texture, (OpenTK.Graphics.OpenGL.NvTextureMultisample)target, (Int32)samples, (Int32)internalFormat, (Int32)width, (Int32)height, (Int32)depth, (bool)fixedSampleLocations); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glTrackMatrixNV")] + public static + void TrackMatrix(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 address, OpenTK.Graphics.OpenGL.NvVertexProgram matrix, OpenTK.Graphics.OpenGL.NvVertexProgram transform) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTrackMatrixNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)address, (OpenTK.Graphics.OpenGL.NvVertexProgram)matrix, (OpenTK.Graphics.OpenGL.NvVertexProgram)transform); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glTrackMatrixNV")] + public static + void TrackMatrix(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 address, OpenTK.Graphics.OpenGL.NvVertexProgram matrix, OpenTK.Graphics.OpenGL.NvVertexProgram transform) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTrackMatrixNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)address, (OpenTK.Graphics.OpenGL.NvVertexProgram)matrix, (OpenTK.Graphics.OpenGL.NvVertexProgram)transform); + #if DEBUG + } + #endif + } + + /// [requires: NV_transform_feedback] + [AutoGenerated(Category = "NV_transform_feedback", Version = "1.5", EntryPoint = "glTransformFeedbackAttribsNV")] + public static + void TransformFeedbackAttrib(Int32 count, Int32[] attribs, OpenTK.Graphics.OpenGL.NvTransformFeedback bufferMode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* attribs_ptr = attribs) + { + Delegates.glTransformFeedbackAttribsNV((UInt32)count, (Int32*)attribs_ptr, (OpenTK.Graphics.OpenGL.NvTransformFeedback)bufferMode); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_transform_feedback] + [AutoGenerated(Category = "NV_transform_feedback", Version = "1.5", EntryPoint = "glTransformFeedbackAttribsNV")] + public static + void TransformFeedbackAttrib(Int32 count, ref Int32 attribs, OpenTK.Graphics.OpenGL.NvTransformFeedback bufferMode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* attribs_ptr = &attribs) + { + Delegates.glTransformFeedbackAttribsNV((UInt32)count, (Int32*)attribs_ptr, (OpenTK.Graphics.OpenGL.NvTransformFeedback)bufferMode); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_transform_feedback] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_transform_feedback", Version = "1.5", EntryPoint = "glTransformFeedbackAttribsNV")] + public static + unsafe void TransformFeedbackAttrib(Int32 count, Int32* attribs, OpenTK.Graphics.OpenGL.NvTransformFeedback bufferMode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTransformFeedbackAttribsNV((UInt32)count, (Int32*)attribs, (OpenTK.Graphics.OpenGL.NvTransformFeedback)bufferMode); + #if DEBUG + } + #endif + } + + /// [requires: NV_transform_feedback] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_transform_feedback", Version = "1.5", EntryPoint = "glTransformFeedbackAttribsNV")] + public static + void TransformFeedbackAttrib(UInt32 count, Int32[] attribs, OpenTK.Graphics.OpenGL.NvTransformFeedback bufferMode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* attribs_ptr = attribs) + { + Delegates.glTransformFeedbackAttribsNV((UInt32)count, (Int32*)attribs_ptr, (OpenTK.Graphics.OpenGL.NvTransformFeedback)bufferMode); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_transform_feedback] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_transform_feedback", Version = "1.5", EntryPoint = "glTransformFeedbackAttribsNV")] + public static + void TransformFeedbackAttrib(UInt32 count, ref Int32 attribs, OpenTK.Graphics.OpenGL.NvTransformFeedback bufferMode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* attribs_ptr = &attribs) + { + Delegates.glTransformFeedbackAttribsNV((UInt32)count, (Int32*)attribs_ptr, (OpenTK.Graphics.OpenGL.NvTransformFeedback)bufferMode); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_transform_feedback] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_transform_feedback", Version = "1.5", EntryPoint = "glTransformFeedbackAttribsNV")] + public static + unsafe void TransformFeedbackAttrib(UInt32 count, Int32* attribs, OpenTK.Graphics.OpenGL.NvTransformFeedback bufferMode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTransformFeedbackAttribsNV((UInt32)count, (Int32*)attribs, (OpenTK.Graphics.OpenGL.NvTransformFeedback)bufferMode); + #if DEBUG + } + #endif + } + + /// [requires: NV_transform_feedback] + [AutoGenerated(Category = "NV_transform_feedback", Version = "4.1", EntryPoint = "glTransformFeedbackStreamAttribsNV")] + public static + void TransformFeedbackStreamAttrib(Int32 count, Int32[] attribs, Int32 nbuffers, Int32[] bufstreams, OpenTK.Graphics.OpenGL.NvTransformFeedback bufferMode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* attribs_ptr = attribs) + fixed (Int32* bufstreams_ptr = bufstreams) + { + Delegates.glTransformFeedbackStreamAttribsNV((Int32)count, (Int32*)attribs_ptr, (Int32)nbuffers, (Int32*)bufstreams_ptr, (OpenTK.Graphics.OpenGL.NvTransformFeedback)bufferMode); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_transform_feedback] + [AutoGenerated(Category = "NV_transform_feedback", Version = "4.1", EntryPoint = "glTransformFeedbackStreamAttribsNV")] + public static + void TransformFeedbackStreamAttrib(Int32 count, ref Int32 attribs, Int32 nbuffers, ref Int32 bufstreams, OpenTK.Graphics.OpenGL.NvTransformFeedback bufferMode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* attribs_ptr = &attribs) + fixed (Int32* bufstreams_ptr = &bufstreams) + { + Delegates.glTransformFeedbackStreamAttribsNV((Int32)count, (Int32*)attribs_ptr, (Int32)nbuffers, (Int32*)bufstreams_ptr, (OpenTK.Graphics.OpenGL.NvTransformFeedback)bufferMode); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_transform_feedback] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_transform_feedback", Version = "4.1", EntryPoint = "glTransformFeedbackStreamAttribsNV")] + public static + unsafe void TransformFeedbackStreamAttrib(Int32 count, Int32* attribs, Int32 nbuffers, Int32* bufstreams, OpenTK.Graphics.OpenGL.NvTransformFeedback bufferMode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTransformFeedbackStreamAttribsNV((Int32)count, (Int32*)attribs, (Int32)nbuffers, (Int32*)bufstreams, (OpenTK.Graphics.OpenGL.NvTransformFeedback)bufferMode); + #if DEBUG + } + #endif + } + + + /// [requires: NV_transform_feedback] + /// Specify values to record in transform feedback buffers + /// + /// + /// + /// The name of the target program object. + /// + /// + /// + /// + /// The number of varying variables used for transform feedback. + /// + /// + /// + /// + /// An array of count zero-terminated strings specifying the names of the varying variables to use for transform feedback. + /// + /// + /// + /// + /// Identifies the mode used to capture the varying variables when transform feedback is active. bufferMode must be GL_INTERLEAVED_ATTRIBS or GL_SEPARATE_ATTRIBS. + /// + /// + [AutoGenerated(Category = "NV_transform_feedback", Version = "1.5", EntryPoint = "glTransformFeedbackVaryingsNV")] + public static + void TransformFeedbackVaryings(Int32 program, Int32 count, Int32[] locations, OpenTK.Graphics.OpenGL.NvTransformFeedback bufferMode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* locations_ptr = locations) + { + Delegates.glTransformFeedbackVaryingsNV((UInt32)program, (Int32)count, (Int32*)locations_ptr, (OpenTK.Graphics.OpenGL.NvTransformFeedback)bufferMode); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_transform_feedback] + /// Specify values to record in transform feedback buffers + /// + /// + /// + /// The name of the target program object. + /// + /// + /// + /// + /// The number of varying variables used for transform feedback. + /// + /// + /// + /// + /// An array of count zero-terminated strings specifying the names of the varying variables to use for transform feedback. + /// + /// + /// + /// + /// Identifies the mode used to capture the varying variables when transform feedback is active. bufferMode must be GL_INTERLEAVED_ATTRIBS or GL_SEPARATE_ATTRIBS. + /// + /// + [AutoGenerated(Category = "NV_transform_feedback", Version = "1.5", EntryPoint = "glTransformFeedbackVaryingsNV")] + public static + void TransformFeedbackVaryings(Int32 program, Int32 count, ref Int32 locations, OpenTK.Graphics.OpenGL.NvTransformFeedback bufferMode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* locations_ptr = &locations) + { + Delegates.glTransformFeedbackVaryingsNV((UInt32)program, (Int32)count, (Int32*)locations_ptr, (OpenTK.Graphics.OpenGL.NvTransformFeedback)bufferMode); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_transform_feedback] + /// Specify values to record in transform feedback buffers + /// + /// + /// + /// The name of the target program object. + /// + /// + /// + /// + /// The number of varying variables used for transform feedback. + /// + /// + /// + /// + /// An array of count zero-terminated strings specifying the names of the varying variables to use for transform feedback. + /// + /// + /// + /// + /// Identifies the mode used to capture the varying variables when transform feedback is active. bufferMode must be GL_INTERLEAVED_ATTRIBS or GL_SEPARATE_ATTRIBS. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_transform_feedback", Version = "1.5", EntryPoint = "glTransformFeedbackVaryingsNV")] + public static + unsafe void TransformFeedbackVaryings(Int32 program, Int32 count, Int32* locations, OpenTK.Graphics.OpenGL.NvTransformFeedback bufferMode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTransformFeedbackVaryingsNV((UInt32)program, (Int32)count, (Int32*)locations, (OpenTK.Graphics.OpenGL.NvTransformFeedback)bufferMode); + #if DEBUG + } + #endif + } + + + /// [requires: NV_transform_feedback] + /// Specify values to record in transform feedback buffers + /// + /// + /// + /// The name of the target program object. + /// + /// + /// + /// + /// The number of varying variables used for transform feedback. + /// + /// + /// + /// + /// An array of count zero-terminated strings specifying the names of the varying variables to use for transform feedback. + /// + /// + /// + /// + /// Identifies the mode used to capture the varying variables when transform feedback is active. bufferMode must be GL_INTERLEAVED_ATTRIBS or GL_SEPARATE_ATTRIBS. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_transform_feedback", Version = "1.5", EntryPoint = "glTransformFeedbackVaryingsNV")] + public static + void TransformFeedbackVaryings(UInt32 program, Int32 count, Int32[] locations, OpenTK.Graphics.OpenGL.NvTransformFeedback bufferMode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* locations_ptr = locations) + { + Delegates.glTransformFeedbackVaryingsNV((UInt32)program, (Int32)count, (Int32*)locations_ptr, (OpenTK.Graphics.OpenGL.NvTransformFeedback)bufferMode); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_transform_feedback] + /// Specify values to record in transform feedback buffers + /// + /// + /// + /// The name of the target program object. + /// + /// + /// + /// + /// The number of varying variables used for transform feedback. + /// + /// + /// + /// + /// An array of count zero-terminated strings specifying the names of the varying variables to use for transform feedback. + /// + /// + /// + /// + /// Identifies the mode used to capture the varying variables when transform feedback is active. bufferMode must be GL_INTERLEAVED_ATTRIBS or GL_SEPARATE_ATTRIBS. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_transform_feedback", Version = "1.5", EntryPoint = "glTransformFeedbackVaryingsNV")] + public static + void TransformFeedbackVaryings(UInt32 program, Int32 count, ref Int32 locations, OpenTK.Graphics.OpenGL.NvTransformFeedback bufferMode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* locations_ptr = &locations) + { + Delegates.glTransformFeedbackVaryingsNV((UInt32)program, (Int32)count, (Int32*)locations_ptr, (OpenTK.Graphics.OpenGL.NvTransformFeedback)bufferMode); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_transform_feedback] + /// Specify values to record in transform feedback buffers + /// + /// + /// + /// The name of the target program object. + /// + /// + /// + /// + /// The number of varying variables used for transform feedback. + /// + /// + /// + /// + /// An array of count zero-terminated strings specifying the names of the varying variables to use for transform feedback. + /// + /// + /// + /// + /// Identifies the mode used to capture the varying variables when transform feedback is active. bufferMode must be GL_INTERLEAVED_ATTRIBS or GL_SEPARATE_ATTRIBS. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_transform_feedback", Version = "1.5", EntryPoint = "glTransformFeedbackVaryingsNV")] + public static + unsafe void TransformFeedbackVaryings(UInt32 program, Int32 count, Int32* locations, OpenTK.Graphics.OpenGL.NvTransformFeedback bufferMode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTransformFeedbackVaryingsNV((UInt32)program, (Int32)count, (Int32*)locations, (OpenTK.Graphics.OpenGL.NvTransformFeedback)bufferMode); + #if DEBUG + } + #endif + } + + + /// [requires: NV_gpu_shader5] + /// 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 = "NV_gpu_shader5", Version = "4.1", EntryPoint = "glUniform1i64NV")] + public static + void Uniform1(Int32 location, Int64 x) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform1i64NV((Int32)location, (Int64)x); + #if DEBUG + } + #endif + } + + + /// [requires: NV_gpu_shader5] + /// 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 = "NV_gpu_shader5", Version = "4.1", EntryPoint = "glUniform1i64vNV")] + public static + void Uniform1(Int32 location, Int32 count, Int64[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* value_ptr = value) + { + Delegates.glUniform1i64vNV((Int32)location, (Int32)count, (Int64*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_gpu_shader5] + /// 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 = "NV_gpu_shader5", Version = "4.1", EntryPoint = "glUniform1i64vNV")] + public static + void Uniform1(Int32 location, Int32 count, ref Int64 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* value_ptr = &value) + { + Delegates.glUniform1i64vNV((Int32)location, (Int32)count, (Int64*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_gpu_shader5] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_shader5", Version = "4.1", EntryPoint = "glUniform1i64vNV")] + public static + unsafe void Uniform1(Int32 location, Int32 count, Int64* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform1i64vNV((Int32)location, (Int32)count, (Int64*)value); + #if DEBUG + } + #endif + } + + + /// [requires: NV_gpu_shader5] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_shader5", Version = "4.1", EntryPoint = "glUniform1ui64NV")] + public static + void Uniform1(Int32 location, UInt64 x) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform1ui64NV((Int32)location, (UInt64)x); + #if DEBUG + } + #endif + } + + + /// [requires: NV_gpu_shader5] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_shader5", Version = "4.1", EntryPoint = "glUniform1ui64vNV")] + public static + void Uniform1(Int32 location, Int32 count, UInt64[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt64* value_ptr = value) + { + Delegates.glUniform1ui64vNV((Int32)location, (Int32)count, (UInt64*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_gpu_shader5] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_shader5", Version = "4.1", EntryPoint = "glUniform1ui64vNV")] + public static + void Uniform1(Int32 location, Int32 count, ref UInt64 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt64* value_ptr = &value) + { + Delegates.glUniform1ui64vNV((Int32)location, (Int32)count, (UInt64*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_gpu_shader5] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_shader5", Version = "4.1", EntryPoint = "glUniform1ui64vNV")] + public static + unsafe void Uniform1(Int32 location, Int32 count, UInt64* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform1ui64vNV((Int32)location, (Int32)count, (UInt64*)value); + #if DEBUG + } + #endif + } + + + /// [requires: NV_gpu_shader5] + /// 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 = "NV_gpu_shader5", Version = "4.1", EntryPoint = "glUniform2i64NV")] + public static + void Uniform2(Int32 location, Int64 x, Int64 y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform2i64NV((Int32)location, (Int64)x, (Int64)y); + #if DEBUG + } + #endif + } + + + /// [requires: NV_gpu_shader5] + /// 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 = "NV_gpu_shader5", Version = "4.1", EntryPoint = "glUniform2i64vNV")] + public static + void Uniform2(Int32 location, Int32 count, Int64[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* value_ptr = value) + { + Delegates.glUniform2i64vNV((Int32)location, (Int32)count, (Int64*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_gpu_shader5] + /// 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 = "NV_gpu_shader5", Version = "4.1", EntryPoint = "glUniform2i64vNV")] + public static + void Uniform2(Int32 location, Int32 count, ref Int64 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* value_ptr = &value) + { + Delegates.glUniform2i64vNV((Int32)location, (Int32)count, (Int64*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_gpu_shader5] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_shader5", Version = "4.1", EntryPoint = "glUniform2i64vNV")] + public static + unsafe void Uniform2(Int32 location, Int32 count, Int64* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform2i64vNV((Int32)location, (Int32)count, (Int64*)value); + #if DEBUG + } + #endif + } + + + /// [requires: NV_gpu_shader5] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_shader5", Version = "4.1", EntryPoint = "glUniform2ui64NV")] + public static + void Uniform2(Int32 location, UInt64 x, UInt64 y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform2ui64NV((Int32)location, (UInt64)x, (UInt64)y); + #if DEBUG + } + #endif + } + + + /// [requires: NV_gpu_shader5] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_shader5", Version = "4.1", EntryPoint = "glUniform2ui64vNV")] + public static + void Uniform2(Int32 location, Int32 count, UInt64[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt64* value_ptr = value) + { + Delegates.glUniform2ui64vNV((Int32)location, (Int32)count, (UInt64*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_gpu_shader5] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_shader5", Version = "4.1", EntryPoint = "glUniform2ui64vNV")] + public static + void Uniform2(Int32 location, Int32 count, ref UInt64 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt64* value_ptr = &value) + { + Delegates.glUniform2ui64vNV((Int32)location, (Int32)count, (UInt64*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_gpu_shader5] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_shader5", Version = "4.1", EntryPoint = "glUniform2ui64vNV")] + public static + unsafe void Uniform2(Int32 location, Int32 count, UInt64* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform2ui64vNV((Int32)location, (Int32)count, (UInt64*)value); + #if DEBUG + } + #endif + } + + + /// [requires: NV_gpu_shader5] + /// 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 = "NV_gpu_shader5", Version = "4.1", EntryPoint = "glUniform3i64NV")] + public static + void Uniform3(Int32 location, Int64 x, Int64 y, Int64 z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform3i64NV((Int32)location, (Int64)x, (Int64)y, (Int64)z); + #if DEBUG + } + #endif + } + + + /// [requires: NV_gpu_shader5] + /// 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 = "NV_gpu_shader5", Version = "4.1", EntryPoint = "glUniform3i64vNV")] + public static + void Uniform3(Int32 location, Int32 count, Int64[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* value_ptr = value) + { + Delegates.glUniform3i64vNV((Int32)location, (Int32)count, (Int64*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_gpu_shader5] + /// 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 = "NV_gpu_shader5", Version = "4.1", EntryPoint = "glUniform3i64vNV")] + public static + void Uniform3(Int32 location, Int32 count, ref Int64 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* value_ptr = &value) + { + Delegates.glUniform3i64vNV((Int32)location, (Int32)count, (Int64*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_gpu_shader5] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_shader5", Version = "4.1", EntryPoint = "glUniform3i64vNV")] + public static + unsafe void Uniform3(Int32 location, Int32 count, Int64* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform3i64vNV((Int32)location, (Int32)count, (Int64*)value); + #if DEBUG + } + #endif + } + + + /// [requires: NV_gpu_shader5] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_shader5", Version = "4.1", EntryPoint = "glUniform3ui64NV")] + public static + void Uniform3(Int32 location, UInt64 x, UInt64 y, UInt64 z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform3ui64NV((Int32)location, (UInt64)x, (UInt64)y, (UInt64)z); + #if DEBUG + } + #endif + } + + + /// [requires: NV_gpu_shader5] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_shader5", Version = "4.1", EntryPoint = "glUniform3ui64vNV")] + public static + void Uniform3(Int32 location, Int32 count, UInt64[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt64* value_ptr = value) + { + Delegates.glUniform3ui64vNV((Int32)location, (Int32)count, (UInt64*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_gpu_shader5] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_shader5", Version = "4.1", EntryPoint = "glUniform3ui64vNV")] + public static + void Uniform3(Int32 location, Int32 count, ref UInt64 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt64* value_ptr = &value) + { + Delegates.glUniform3ui64vNV((Int32)location, (Int32)count, (UInt64*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_gpu_shader5] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_shader5", Version = "4.1", EntryPoint = "glUniform3ui64vNV")] + public static + unsafe void Uniform3(Int32 location, Int32 count, UInt64* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform3ui64vNV((Int32)location, (Int32)count, (UInt64*)value); + #if DEBUG + } + #endif + } + + + /// [requires: NV_gpu_shader5] + /// 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 = "NV_gpu_shader5", Version = "4.1", EntryPoint = "glUniform4i64NV")] + public static + void Uniform4(Int32 location, Int64 x, Int64 y, Int64 z, Int64 w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform4i64NV((Int32)location, (Int64)x, (Int64)y, (Int64)z, (Int64)w); + #if DEBUG + } + #endif + } + + + /// [requires: NV_gpu_shader5] + /// 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 = "NV_gpu_shader5", Version = "4.1", EntryPoint = "glUniform4i64vNV")] + public static + void Uniform4(Int32 location, Int32 count, Int64[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* value_ptr = value) + { + Delegates.glUniform4i64vNV((Int32)location, (Int32)count, (Int64*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_gpu_shader5] + /// 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 = "NV_gpu_shader5", Version = "4.1", EntryPoint = "glUniform4i64vNV")] + public static + void Uniform4(Int32 location, Int32 count, ref Int64 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* value_ptr = &value) + { + Delegates.glUniform4i64vNV((Int32)location, (Int32)count, (Int64*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_gpu_shader5] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_shader5", Version = "4.1", EntryPoint = "glUniform4i64vNV")] + public static + unsafe void Uniform4(Int32 location, Int32 count, Int64* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform4i64vNV((Int32)location, (Int32)count, (Int64*)value); + #if DEBUG + } + #endif + } + + + /// [requires: NV_gpu_shader5] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_shader5", Version = "4.1", EntryPoint = "glUniform4ui64NV")] + public static + void Uniform4(Int32 location, UInt64 x, UInt64 y, UInt64 z, UInt64 w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform4ui64NV((Int32)location, (UInt64)x, (UInt64)y, (UInt64)z, (UInt64)w); + #if DEBUG + } + #endif + } + + + /// [requires: NV_gpu_shader5] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_shader5", Version = "4.1", EntryPoint = "glUniform4ui64vNV")] + public static + void Uniform4(Int32 location, Int32 count, UInt64[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt64* value_ptr = value) + { + Delegates.glUniform4ui64vNV((Int32)location, (Int32)count, (UInt64*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_gpu_shader5] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_shader5", Version = "4.1", EntryPoint = "glUniform4ui64vNV")] + public static + void Uniform4(Int32 location, Int32 count, ref UInt64 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt64* value_ptr = &value) + { + Delegates.glUniform4ui64vNV((Int32)location, (Int32)count, (UInt64*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_gpu_shader5] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_gpu_shader5", Version = "4.1", EntryPoint = "glUniform4ui64vNV")] + public static + unsafe void Uniform4(Int32 location, Int32 count, UInt64* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform4ui64vNV((Int32)location, (Int32)count, (UInt64*)value); + #if DEBUG + } + #endif + } + + + /// [requires: NV_shader_buffer_load] + /// 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 = "NV_shader_buffer_load", Version = "1.2", EntryPoint = "glUniformui64NV")] + public static + void Uniform(Int32 location, Int64 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniformui64NV((Int32)location, (UInt64)value); + #if DEBUG + } + #endif + } + + + /// [requires: NV_shader_buffer_load] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_shader_buffer_load", Version = "1.2", EntryPoint = "glUniformui64NV")] + public static + void Uniform(Int32 location, UInt64 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniformui64NV((Int32)location, (UInt64)value); + #if DEBUG + } + #endif + } + + + /// [requires: NV_shader_buffer_load] + /// 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 = "NV_shader_buffer_load", Version = "1.2", EntryPoint = "glUniformui64vNV")] + public static + void Uniform(Int32 location, Int32 count, Int64[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* value_ptr = value) + { + Delegates.glUniformui64vNV((Int32)location, (Int32)count, (UInt64*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_shader_buffer_load] + /// 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 = "NV_shader_buffer_load", Version = "1.2", EntryPoint = "glUniformui64vNV")] + public static + void Uniform(Int32 location, Int32 count, ref Int64 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* value_ptr = &value) + { + Delegates.glUniformui64vNV((Int32)location, (Int32)count, (UInt64*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_shader_buffer_load] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_shader_buffer_load", Version = "1.2", EntryPoint = "glUniformui64vNV")] + public static + unsafe void Uniform(Int32 location, Int32 count, Int64* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniformui64vNV((Int32)location, (Int32)count, (UInt64*)value); + #if DEBUG + } + #endif + } + + + /// [requires: NV_shader_buffer_load] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_shader_buffer_load", Version = "1.2", EntryPoint = "glUniformui64vNV")] + public static + void Uniform(Int32 location, Int32 count, UInt64[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt64* value_ptr = value) + { + Delegates.glUniformui64vNV((Int32)location, (Int32)count, (UInt64*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_shader_buffer_load] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_shader_buffer_load", Version = "1.2", EntryPoint = "glUniformui64vNV")] + public static + void Uniform(Int32 location, Int32 count, ref UInt64 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt64* value_ptr = &value) + { + Delegates.glUniformui64vNV((Int32)location, (Int32)count, (UInt64*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_shader_buffer_load] + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_shader_buffer_load", Version = "1.2", EntryPoint = "glUniformui64vNV")] + public static + unsafe void Uniform(Int32 location, Int32 count, UInt64* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniformui64vNV((Int32)location, (Int32)count, (UInt64*)value); + #if DEBUG + } + #endif + } + + /// [requires: NV_vdpau_interop] + [AutoGenerated(Category = "NV_vdpau_interop", Version = "4.1", EntryPoint = "glVDPAUFiniNV")] + public static + void VDPAUFin() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVDPAUFiniNV(); + #if DEBUG + } + #endif + } + + /// [requires: NV_vdpau_interop] + [AutoGenerated(Category = "NV_vdpau_interop", Version = "4.1", EntryPoint = "glVDPAUGetSurfaceivNV")] + public static + void VDPAUGetSurface(IntPtr surface, OpenTK.Graphics.OpenGL.NvVdpauInterop pname, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] Int32[] values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = length) + fixed (Int32* values_ptr = values) + { + Delegates.glVDPAUGetSurfaceivNV((IntPtr)surface, (OpenTK.Graphics.OpenGL.NvVdpauInterop)pname, (Int32)bufSize, (Int32*)length_ptr, (Int32*)values_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vdpau_interop] + [AutoGenerated(Category = "NV_vdpau_interop", Version = "4.1", EntryPoint = "glVDPAUGetSurfaceivNV")] + public static + void VDPAUGetSurface(IntPtr surface, OpenTK.Graphics.OpenGL.NvVdpauInterop pname, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + fixed (Int32* values_ptr = &values) + { + Delegates.glVDPAUGetSurfaceivNV((IntPtr)surface, (OpenTK.Graphics.OpenGL.NvVdpauInterop)pname, (Int32)bufSize, (Int32*)length_ptr, (Int32*)values_ptr); + length = *length_ptr; + values = *values_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vdpau_interop] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vdpau_interop", Version = "4.1", EntryPoint = "glVDPAUGetSurfaceivNV")] + public static + unsafe void VDPAUGetSurface(IntPtr surface, OpenTK.Graphics.OpenGL.NvVdpauInterop pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVDPAUGetSurfaceivNV((IntPtr)surface, (OpenTK.Graphics.OpenGL.NvVdpauInterop)pname, (Int32)bufSize, (Int32*)length, (Int32*)values); + #if DEBUG + } + #endif + } + + /// [requires: NV_vdpau_interop] + [AutoGenerated(Category = "NV_vdpau_interop", Version = "4.1", EntryPoint = "glVDPAUInitNV")] + public static + void VDPAUInit(IntPtr vdpDevice, IntPtr getProcAddress) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVDPAUInitNV((IntPtr)vdpDevice, (IntPtr)getProcAddress); + #if DEBUG + } + #endif + } + + /// [requires: NV_vdpau_interop] + [AutoGenerated(Category = "NV_vdpau_interop", Version = "4.1", EntryPoint = "glVDPAUInitNV")] + public static + void VDPAUInit(IntPtr vdpDevice, [InAttribute, OutAttribute] T1[] getProcAddress) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle getProcAddress_ptr = GCHandle.Alloc(getProcAddress, GCHandleType.Pinned); + try + { + Delegates.glVDPAUInitNV((IntPtr)vdpDevice, (IntPtr)getProcAddress_ptr.AddrOfPinnedObject()); + } + finally + { + getProcAddress_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vdpau_interop] + [AutoGenerated(Category = "NV_vdpau_interop", Version = "4.1", EntryPoint = "glVDPAUInitNV")] + public static + void VDPAUInit(IntPtr vdpDevice, [InAttribute, OutAttribute] T1[,] getProcAddress) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle getProcAddress_ptr = GCHandle.Alloc(getProcAddress, GCHandleType.Pinned); + try + { + Delegates.glVDPAUInitNV((IntPtr)vdpDevice, (IntPtr)getProcAddress_ptr.AddrOfPinnedObject()); + } + finally + { + getProcAddress_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vdpau_interop] + [AutoGenerated(Category = "NV_vdpau_interop", Version = "4.1", EntryPoint = "glVDPAUInitNV")] + public static + void VDPAUInit(IntPtr vdpDevice, [InAttribute, OutAttribute] T1[,,] getProcAddress) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle getProcAddress_ptr = GCHandle.Alloc(getProcAddress, GCHandleType.Pinned); + try + { + Delegates.glVDPAUInitNV((IntPtr)vdpDevice, (IntPtr)getProcAddress_ptr.AddrOfPinnedObject()); + } + finally + { + getProcAddress_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vdpau_interop] + [AutoGenerated(Category = "NV_vdpau_interop", Version = "4.1", EntryPoint = "glVDPAUInitNV")] + public static + void VDPAUInit(IntPtr vdpDevice, [InAttribute, OutAttribute] ref T1 getProcAddress) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle getProcAddress_ptr = GCHandle.Alloc(getProcAddress, GCHandleType.Pinned); + try + { + Delegates.glVDPAUInitNV((IntPtr)vdpDevice, (IntPtr)getProcAddress_ptr.AddrOfPinnedObject()); + getProcAddress = (T1)getProcAddress_ptr.Target; + } + finally + { + getProcAddress_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vdpau_interop] + [AutoGenerated(Category = "NV_vdpau_interop", Version = "4.1", EntryPoint = "glVDPAUInitNV")] + public static + void VDPAUInit([InAttribute, OutAttribute] T0[] vdpDevice, [InAttribute, OutAttribute] T1[,,] getProcAddress) + where T0 : struct + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle vdpDevice_ptr = GCHandle.Alloc(vdpDevice, GCHandleType.Pinned); + GCHandle getProcAddress_ptr = GCHandle.Alloc(getProcAddress, GCHandleType.Pinned); + try + { + Delegates.glVDPAUInitNV((IntPtr)vdpDevice_ptr.AddrOfPinnedObject(), (IntPtr)getProcAddress_ptr.AddrOfPinnedObject()); + } + finally + { + vdpDevice_ptr.Free(); + getProcAddress_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vdpau_interop] + [AutoGenerated(Category = "NV_vdpau_interop", Version = "4.1", EntryPoint = "glVDPAUInitNV")] + public static + void VDPAUInit([InAttribute, OutAttribute] T0[,] vdpDevice, [InAttribute, OutAttribute] T1[,,] getProcAddress) + where T0 : struct + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle vdpDevice_ptr = GCHandle.Alloc(vdpDevice, GCHandleType.Pinned); + GCHandle getProcAddress_ptr = GCHandle.Alloc(getProcAddress, GCHandleType.Pinned); + try + { + Delegates.glVDPAUInitNV((IntPtr)vdpDevice_ptr.AddrOfPinnedObject(), (IntPtr)getProcAddress_ptr.AddrOfPinnedObject()); + } + finally + { + vdpDevice_ptr.Free(); + getProcAddress_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vdpau_interop] + [AutoGenerated(Category = "NV_vdpau_interop", Version = "4.1", EntryPoint = "glVDPAUInitNV")] + public static + void VDPAUInit([InAttribute, OutAttribute] T0[,,] vdpDevice, [InAttribute, OutAttribute] T1[,,] getProcAddress) + where T0 : struct + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle vdpDevice_ptr = GCHandle.Alloc(vdpDevice, GCHandleType.Pinned); + GCHandle getProcAddress_ptr = GCHandle.Alloc(getProcAddress, GCHandleType.Pinned); + try + { + Delegates.glVDPAUInitNV((IntPtr)vdpDevice_ptr.AddrOfPinnedObject(), (IntPtr)getProcAddress_ptr.AddrOfPinnedObject()); + } + finally + { + vdpDevice_ptr.Free(); + getProcAddress_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vdpau_interop] + [AutoGenerated(Category = "NV_vdpau_interop", Version = "4.1", EntryPoint = "glVDPAUInitNV")] + public static + void VDPAUInit([InAttribute, OutAttribute] ref T0 vdpDevice, [InAttribute, OutAttribute] T1[,,] getProcAddress) + where T0 : struct + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle vdpDevice_ptr = GCHandle.Alloc(vdpDevice, GCHandleType.Pinned); + GCHandle getProcAddress_ptr = GCHandle.Alloc(getProcAddress, GCHandleType.Pinned); + try + { + Delegates.glVDPAUInitNV((IntPtr)vdpDevice_ptr.AddrOfPinnedObject(), (IntPtr)getProcAddress_ptr.AddrOfPinnedObject()); + vdpDevice = (T0)vdpDevice_ptr.Target; + } + finally + { + vdpDevice_ptr.Free(); + getProcAddress_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vdpau_interop] + [AutoGenerated(Category = "NV_vdpau_interop", Version = "4.1", EntryPoint = "glVDPAUIsSurfaceNV")] + public static + void VDPAUIsSurface(IntPtr surface) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVDPAUIsSurfaceNV((IntPtr)surface); + #if DEBUG + } + #endif + } + + /// [requires: NV_vdpau_interop] + [AutoGenerated(Category = "NV_vdpau_interop", Version = "4.1", EntryPoint = "glVDPAUMapSurfacesNV")] + public static + void VDPAUMapSurfaces(Int32 numSurfaces, IntPtr[] surfaces) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (IntPtr* surfaces_ptr = surfaces) + { + Delegates.glVDPAUMapSurfacesNV((Int32)numSurfaces, (IntPtr*)surfaces_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vdpau_interop] + [AutoGenerated(Category = "NV_vdpau_interop", Version = "4.1", EntryPoint = "glVDPAUMapSurfacesNV")] + public static + void VDPAUMapSurfaces(Int32 numSurfaces, ref IntPtr surfaces) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (IntPtr* surfaces_ptr = &surfaces) + { + Delegates.glVDPAUMapSurfacesNV((Int32)numSurfaces, (IntPtr*)surfaces_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vdpau_interop] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vdpau_interop", Version = "4.1", EntryPoint = "glVDPAUMapSurfacesNV")] + public static + unsafe void VDPAUMapSurfaces(Int32 numSurfaces, IntPtr* surfaces) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVDPAUMapSurfacesNV((Int32)numSurfaces, (IntPtr*)surfaces); + #if DEBUG + } + #endif + } + + /// [requires: NV_vdpau_interop] + [AutoGenerated(Category = "NV_vdpau_interop", Version = "4.1", EntryPoint = "glVDPAURegisterOutputSurfaceNV")] + public static + IntPtr VDPAURegisterOutputSurface([OutAttribute] IntPtr vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, Int32[] textureNames) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* textureNames_ptr = textureNames) + { + return Delegates.glVDPAURegisterOutputSurfaceNV((IntPtr)vdpSurface, (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vdpau_interop] + [AutoGenerated(Category = "NV_vdpau_interop", Version = "4.1", EntryPoint = "glVDPAURegisterOutputSurfaceNV")] + public static + IntPtr VDPAURegisterOutputSurface([OutAttribute] IntPtr vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, ref Int32 textureNames) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* textureNames_ptr = &textureNames) + { + return Delegates.glVDPAURegisterOutputSurfaceNV((IntPtr)vdpSurface, (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vdpau_interop] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vdpau_interop", Version = "4.1", EntryPoint = "glVDPAURegisterOutputSurfaceNV")] + public static + unsafe IntPtr VDPAURegisterOutputSurface([OutAttribute] IntPtr vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, Int32* textureNames) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glVDPAURegisterOutputSurfaceNV((IntPtr)vdpSurface, (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames); + #if DEBUG + } + #endif + } + + /// [requires: NV_vdpau_interop] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vdpau_interop", Version = "4.1", EntryPoint = "glVDPAURegisterOutputSurfaceNV")] + public static + IntPtr VDPAURegisterOutputSurface([OutAttribute] IntPtr vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, UInt32[] textureNames) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* textureNames_ptr = textureNames) + { + return Delegates.glVDPAURegisterOutputSurfaceNV((IntPtr)vdpSurface, (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vdpau_interop] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vdpau_interop", Version = "4.1", EntryPoint = "glVDPAURegisterOutputSurfaceNV")] + public static + IntPtr VDPAURegisterOutputSurface([OutAttribute] IntPtr vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, ref UInt32 textureNames) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* textureNames_ptr = &textureNames) + { + return Delegates.glVDPAURegisterOutputSurfaceNV((IntPtr)vdpSurface, (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vdpau_interop] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vdpau_interop", Version = "4.1", EntryPoint = "glVDPAURegisterOutputSurfaceNV")] + public static + unsafe IntPtr VDPAURegisterOutputSurface([OutAttribute] IntPtr vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, UInt32* textureNames) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glVDPAURegisterOutputSurfaceNV((IntPtr)vdpSurface, (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames); + #if DEBUG + } + #endif + } + + /// [requires: NV_vdpau_interop] + [AutoGenerated(Category = "NV_vdpau_interop", Version = "4.1", EntryPoint = "glVDPAURegisterOutputSurfaceNV")] + public static + IntPtr VDPAURegisterOutputSurface([InAttribute, OutAttribute] T0[] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, Int32[] textureNames) + where T0 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* textureNames_ptr = textureNames) + { + GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); + try + { + return Delegates.glVDPAURegisterOutputSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames_ptr); + } + finally + { + vdpSurface_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vdpau_interop] + [AutoGenerated(Category = "NV_vdpau_interop", Version = "4.1", EntryPoint = "glVDPAURegisterOutputSurfaceNV")] + public static + IntPtr VDPAURegisterOutputSurface([InAttribute, OutAttribute] T0[] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, ref Int32 textureNames) + where T0 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* textureNames_ptr = &textureNames) + { + GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); + try + { + return Delegates.glVDPAURegisterOutputSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames_ptr); + } + finally + { + vdpSurface_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vdpau_interop] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vdpau_interop", Version = "4.1", EntryPoint = "glVDPAURegisterOutputSurfaceNV")] + public static + unsafe IntPtr VDPAURegisterOutputSurface([InAttribute, OutAttribute] T0[] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, Int32* textureNames) + where T0 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); + try + { + return Delegates.glVDPAURegisterOutputSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames); + } + finally + { + vdpSurface_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vdpau_interop] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vdpau_interop", Version = "4.1", EntryPoint = "glVDPAURegisterOutputSurfaceNV")] + public static + IntPtr VDPAURegisterOutputSurface([InAttribute, OutAttribute] T0[] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, UInt32[] textureNames) + where T0 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* textureNames_ptr = textureNames) + { + GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); + try + { + return Delegates.glVDPAURegisterOutputSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames_ptr); + } + finally + { + vdpSurface_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vdpau_interop] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vdpau_interop", Version = "4.1", EntryPoint = "glVDPAURegisterOutputSurfaceNV")] + public static + IntPtr VDPAURegisterOutputSurface([InAttribute, OutAttribute] T0[] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, ref UInt32 textureNames) + where T0 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* textureNames_ptr = &textureNames) + { + GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); + try + { + return Delegates.glVDPAURegisterOutputSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames_ptr); + } + finally + { + vdpSurface_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vdpau_interop] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vdpau_interop", Version = "4.1", EntryPoint = "glVDPAURegisterOutputSurfaceNV")] + public static + unsafe IntPtr VDPAURegisterOutputSurface([InAttribute, OutAttribute] T0[] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, UInt32* textureNames) + where T0 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); + try + { + return Delegates.glVDPAURegisterOutputSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames); + } + finally + { + vdpSurface_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vdpau_interop] + [AutoGenerated(Category = "NV_vdpau_interop", Version = "4.1", EntryPoint = "glVDPAURegisterOutputSurfaceNV")] + public static + IntPtr VDPAURegisterOutputSurface([InAttribute, OutAttribute] T0[,] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, Int32[] textureNames) + where T0 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* textureNames_ptr = textureNames) + { + GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); + try + { + return Delegates.glVDPAURegisterOutputSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames_ptr); + } + finally + { + vdpSurface_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vdpau_interop] + [AutoGenerated(Category = "NV_vdpau_interop", Version = "4.1", EntryPoint = "glVDPAURegisterOutputSurfaceNV")] + public static + IntPtr VDPAURegisterOutputSurface([InAttribute, OutAttribute] T0[,] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, ref Int32 textureNames) + where T0 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* textureNames_ptr = &textureNames) + { + GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); + try + { + return Delegates.glVDPAURegisterOutputSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames_ptr); + } + finally + { + vdpSurface_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vdpau_interop] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vdpau_interop", Version = "4.1", EntryPoint = "glVDPAURegisterOutputSurfaceNV")] + public static + unsafe IntPtr VDPAURegisterOutputSurface([InAttribute, OutAttribute] T0[,] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, Int32* textureNames) + where T0 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); + try + { + return Delegates.glVDPAURegisterOutputSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames); + } + finally + { + vdpSurface_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vdpau_interop] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vdpau_interop", Version = "4.1", EntryPoint = "glVDPAURegisterOutputSurfaceNV")] + public static + IntPtr VDPAURegisterOutputSurface([InAttribute, OutAttribute] T0[,] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, UInt32[] textureNames) + where T0 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* textureNames_ptr = textureNames) + { + GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); + try + { + return Delegates.glVDPAURegisterOutputSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames_ptr); + } + finally + { + vdpSurface_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vdpau_interop] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vdpau_interop", Version = "4.1", EntryPoint = "glVDPAURegisterOutputSurfaceNV")] + public static + IntPtr VDPAURegisterOutputSurface([InAttribute, OutAttribute] T0[,] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, ref UInt32 textureNames) + where T0 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* textureNames_ptr = &textureNames) + { + GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); + try + { + return Delegates.glVDPAURegisterOutputSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames_ptr); + } + finally + { + vdpSurface_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vdpau_interop] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vdpau_interop", Version = "4.1", EntryPoint = "glVDPAURegisterOutputSurfaceNV")] + public static + unsafe IntPtr VDPAURegisterOutputSurface([InAttribute, OutAttribute] T0[,] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, UInt32* textureNames) + where T0 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); + try + { + return Delegates.glVDPAURegisterOutputSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames); + } + finally + { + vdpSurface_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vdpau_interop] + [AutoGenerated(Category = "NV_vdpau_interop", Version = "4.1", EntryPoint = "glVDPAURegisterOutputSurfaceNV")] + public static + IntPtr VDPAURegisterOutputSurface([InAttribute, OutAttribute] T0[,,] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, Int32[] textureNames) + where T0 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* textureNames_ptr = textureNames) + { + GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); + try + { + return Delegates.glVDPAURegisterOutputSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames_ptr); + } + finally + { + vdpSurface_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vdpau_interop] + [AutoGenerated(Category = "NV_vdpau_interop", Version = "4.1", EntryPoint = "glVDPAURegisterOutputSurfaceNV")] + public static + IntPtr VDPAURegisterOutputSurface([InAttribute, OutAttribute] T0[,,] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, ref Int32 textureNames) + where T0 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* textureNames_ptr = &textureNames) + { + GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); + try + { + return Delegates.glVDPAURegisterOutputSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames_ptr); + } + finally + { + vdpSurface_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vdpau_interop] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vdpau_interop", Version = "4.1", EntryPoint = "glVDPAURegisterOutputSurfaceNV")] + public static + unsafe IntPtr VDPAURegisterOutputSurface([InAttribute, OutAttribute] T0[,,] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, Int32* textureNames) + where T0 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); + try + { + return Delegates.glVDPAURegisterOutputSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames); + } + finally + { + vdpSurface_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vdpau_interop] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vdpau_interop", Version = "4.1", EntryPoint = "glVDPAURegisterOutputSurfaceNV")] + public static + IntPtr VDPAURegisterOutputSurface([InAttribute, OutAttribute] T0[,,] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, UInt32[] textureNames) + where T0 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* textureNames_ptr = textureNames) + { + GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); + try + { + return Delegates.glVDPAURegisterOutputSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames_ptr); + } + finally + { + vdpSurface_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vdpau_interop] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vdpau_interop", Version = "4.1", EntryPoint = "glVDPAURegisterOutputSurfaceNV")] + public static + IntPtr VDPAURegisterOutputSurface([InAttribute, OutAttribute] T0[,,] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, ref UInt32 textureNames) + where T0 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* textureNames_ptr = &textureNames) + { + GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); + try + { + return Delegates.glVDPAURegisterOutputSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames_ptr); + } + finally + { + vdpSurface_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vdpau_interop] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vdpau_interop", Version = "4.1", EntryPoint = "glVDPAURegisterOutputSurfaceNV")] + public static + unsafe IntPtr VDPAURegisterOutputSurface([InAttribute, OutAttribute] T0[,,] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, UInt32* textureNames) + where T0 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); + try + { + return Delegates.glVDPAURegisterOutputSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames); + } + finally + { + vdpSurface_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vdpau_interop] + [AutoGenerated(Category = "NV_vdpau_interop", Version = "4.1", EntryPoint = "glVDPAURegisterOutputSurfaceNV")] + public static + IntPtr VDPAURegisterOutputSurface([InAttribute, OutAttribute] ref T0 vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, Int32[] textureNames) + where T0 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* textureNames_ptr = textureNames) + { + GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); + try + { + IntPtr retval = Delegates.glVDPAURegisterOutputSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames_ptr); + vdpSurface = (T0)vdpSurface_ptr.Target; + return retval; + } + finally + { + vdpSurface_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vdpau_interop] + [AutoGenerated(Category = "NV_vdpau_interop", Version = "4.1", EntryPoint = "glVDPAURegisterOutputSurfaceNV")] + public static + IntPtr VDPAURegisterOutputSurface([InAttribute, OutAttribute] ref T0 vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, ref Int32 textureNames) + where T0 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* textureNames_ptr = &textureNames) + { + GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); + try + { + IntPtr retval = Delegates.glVDPAURegisterOutputSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames_ptr); + vdpSurface = (T0)vdpSurface_ptr.Target; + return retval; + } + finally + { + vdpSurface_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vdpau_interop] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vdpau_interop", Version = "4.1", EntryPoint = "glVDPAURegisterOutputSurfaceNV")] + public static + unsafe IntPtr VDPAURegisterOutputSurface([InAttribute, OutAttribute] ref T0 vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, Int32* textureNames) + where T0 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); + try + { + IntPtr retval = Delegates.glVDPAURegisterOutputSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames); + vdpSurface = (T0)vdpSurface_ptr.Target; + return retval; + } + finally + { + vdpSurface_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vdpau_interop] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vdpau_interop", Version = "4.1", EntryPoint = "glVDPAURegisterOutputSurfaceNV")] + public static + IntPtr VDPAURegisterOutputSurface([InAttribute, OutAttribute] ref T0 vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, UInt32[] textureNames) + where T0 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* textureNames_ptr = textureNames) + { + GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); + try + { + IntPtr retval = Delegates.glVDPAURegisterOutputSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames_ptr); + vdpSurface = (T0)vdpSurface_ptr.Target; + return retval; + } + finally + { + vdpSurface_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vdpau_interop] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vdpau_interop", Version = "4.1", EntryPoint = "glVDPAURegisterOutputSurfaceNV")] + public static + IntPtr VDPAURegisterOutputSurface([InAttribute, OutAttribute] ref T0 vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, ref UInt32 textureNames) + where T0 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* textureNames_ptr = &textureNames) + { + GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); + try + { + IntPtr retval = Delegates.glVDPAURegisterOutputSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames_ptr); + vdpSurface = (T0)vdpSurface_ptr.Target; + return retval; + } + finally + { + vdpSurface_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vdpau_interop] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vdpau_interop", Version = "4.1", EntryPoint = "glVDPAURegisterOutputSurfaceNV")] + public static + unsafe IntPtr VDPAURegisterOutputSurface([InAttribute, OutAttribute] ref T0 vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, UInt32* textureNames) + where T0 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); + try + { + IntPtr retval = Delegates.glVDPAURegisterOutputSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames); + vdpSurface = (T0)vdpSurface_ptr.Target; + return retval; + } + finally + { + vdpSurface_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vdpau_interop] + [AutoGenerated(Category = "NV_vdpau_interop", Version = "4.1", EntryPoint = "glVDPAURegisterVideoSurfaceNV")] + public static + IntPtr VDPAURegisterVideoSurface([OutAttribute] IntPtr vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, Int32[] textureNames) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* textureNames_ptr = textureNames) + { + return Delegates.glVDPAURegisterVideoSurfaceNV((IntPtr)vdpSurface, (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vdpau_interop] + [AutoGenerated(Category = "NV_vdpau_interop", Version = "4.1", EntryPoint = "glVDPAURegisterVideoSurfaceNV")] + public static + IntPtr VDPAURegisterVideoSurface([OutAttribute] IntPtr vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, ref Int32 textureNames) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* textureNames_ptr = &textureNames) + { + return Delegates.glVDPAURegisterVideoSurfaceNV((IntPtr)vdpSurface, (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vdpau_interop] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vdpau_interop", Version = "4.1", EntryPoint = "glVDPAURegisterVideoSurfaceNV")] + public static + unsafe IntPtr VDPAURegisterVideoSurface([OutAttribute] IntPtr vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, Int32* textureNames) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glVDPAURegisterVideoSurfaceNV((IntPtr)vdpSurface, (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames); + #if DEBUG + } + #endif + } + + /// [requires: NV_vdpau_interop] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vdpau_interop", Version = "4.1", EntryPoint = "glVDPAURegisterVideoSurfaceNV")] + public static + IntPtr VDPAURegisterVideoSurface([OutAttribute] IntPtr vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, UInt32[] textureNames) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* textureNames_ptr = textureNames) + { + return Delegates.glVDPAURegisterVideoSurfaceNV((IntPtr)vdpSurface, (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vdpau_interop] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vdpau_interop", Version = "4.1", EntryPoint = "glVDPAURegisterVideoSurfaceNV")] + public static + IntPtr VDPAURegisterVideoSurface([OutAttribute] IntPtr vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, ref UInt32 textureNames) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* textureNames_ptr = &textureNames) + { + return Delegates.glVDPAURegisterVideoSurfaceNV((IntPtr)vdpSurface, (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vdpau_interop] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vdpau_interop", Version = "4.1", EntryPoint = "glVDPAURegisterVideoSurfaceNV")] + public static + unsafe IntPtr VDPAURegisterVideoSurface([OutAttribute] IntPtr vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, UInt32* textureNames) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glVDPAURegisterVideoSurfaceNV((IntPtr)vdpSurface, (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames); + #if DEBUG + } + #endif + } + + /// [requires: NV_vdpau_interop] + [AutoGenerated(Category = "NV_vdpau_interop", Version = "4.1", EntryPoint = "glVDPAURegisterVideoSurfaceNV")] + public static + IntPtr VDPAURegisterVideoSurface([InAttribute, OutAttribute] T0[] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, Int32[] textureNames) + where T0 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* textureNames_ptr = textureNames) + { + GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); + try + { + return Delegates.glVDPAURegisterVideoSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames_ptr); + } + finally + { + vdpSurface_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vdpau_interop] + [AutoGenerated(Category = "NV_vdpau_interop", Version = "4.1", EntryPoint = "glVDPAURegisterVideoSurfaceNV")] + public static + IntPtr VDPAURegisterVideoSurface([InAttribute, OutAttribute] T0[] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, ref Int32 textureNames) + where T0 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* textureNames_ptr = &textureNames) + { + GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); + try + { + return Delegates.glVDPAURegisterVideoSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames_ptr); + } + finally + { + vdpSurface_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vdpau_interop] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vdpau_interop", Version = "4.1", EntryPoint = "glVDPAURegisterVideoSurfaceNV")] + public static + unsafe IntPtr VDPAURegisterVideoSurface([InAttribute, OutAttribute] T0[] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, Int32* textureNames) + where T0 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); + try + { + return Delegates.glVDPAURegisterVideoSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames); + } + finally + { + vdpSurface_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vdpau_interop] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vdpau_interop", Version = "4.1", EntryPoint = "glVDPAURegisterVideoSurfaceNV")] + public static + IntPtr VDPAURegisterVideoSurface([InAttribute, OutAttribute] T0[] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, UInt32[] textureNames) + where T0 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* textureNames_ptr = textureNames) + { + GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); + try + { + return Delegates.glVDPAURegisterVideoSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames_ptr); + } + finally + { + vdpSurface_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vdpau_interop] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vdpau_interop", Version = "4.1", EntryPoint = "glVDPAURegisterVideoSurfaceNV")] + public static + IntPtr VDPAURegisterVideoSurface([InAttribute, OutAttribute] T0[] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, ref UInt32 textureNames) + where T0 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* textureNames_ptr = &textureNames) + { + GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); + try + { + return Delegates.glVDPAURegisterVideoSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames_ptr); + } + finally + { + vdpSurface_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vdpau_interop] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vdpau_interop", Version = "4.1", EntryPoint = "glVDPAURegisterVideoSurfaceNV")] + public static + unsafe IntPtr VDPAURegisterVideoSurface([InAttribute, OutAttribute] T0[] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, UInt32* textureNames) + where T0 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); + try + { + return Delegates.glVDPAURegisterVideoSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames); + } + finally + { + vdpSurface_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vdpau_interop] + [AutoGenerated(Category = "NV_vdpau_interop", Version = "4.1", EntryPoint = "glVDPAURegisterVideoSurfaceNV")] + public static + IntPtr VDPAURegisterVideoSurface([InAttribute, OutAttribute] T0[,] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, Int32[] textureNames) + where T0 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* textureNames_ptr = textureNames) + { + GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); + try + { + return Delegates.glVDPAURegisterVideoSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames_ptr); + } + finally + { + vdpSurface_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vdpau_interop] + [AutoGenerated(Category = "NV_vdpau_interop", Version = "4.1", EntryPoint = "glVDPAURegisterVideoSurfaceNV")] + public static + IntPtr VDPAURegisterVideoSurface([InAttribute, OutAttribute] T0[,] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, ref Int32 textureNames) + where T0 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* textureNames_ptr = &textureNames) + { + GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); + try + { + return Delegates.glVDPAURegisterVideoSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames_ptr); + } + finally + { + vdpSurface_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vdpau_interop] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vdpau_interop", Version = "4.1", EntryPoint = "glVDPAURegisterVideoSurfaceNV")] + public static + unsafe IntPtr VDPAURegisterVideoSurface([InAttribute, OutAttribute] T0[,] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, Int32* textureNames) + where T0 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); + try + { + return Delegates.glVDPAURegisterVideoSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames); + } + finally + { + vdpSurface_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vdpau_interop] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vdpau_interop", Version = "4.1", EntryPoint = "glVDPAURegisterVideoSurfaceNV")] + public static + IntPtr VDPAURegisterVideoSurface([InAttribute, OutAttribute] T0[,] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, UInt32[] textureNames) + where T0 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* textureNames_ptr = textureNames) + { + GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); + try + { + return Delegates.glVDPAURegisterVideoSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames_ptr); + } + finally + { + vdpSurface_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vdpau_interop] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vdpau_interop", Version = "4.1", EntryPoint = "glVDPAURegisterVideoSurfaceNV")] + public static + IntPtr VDPAURegisterVideoSurface([InAttribute, OutAttribute] T0[,] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, ref UInt32 textureNames) + where T0 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* textureNames_ptr = &textureNames) + { + GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); + try + { + return Delegates.glVDPAURegisterVideoSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames_ptr); + } + finally + { + vdpSurface_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vdpau_interop] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vdpau_interop", Version = "4.1", EntryPoint = "glVDPAURegisterVideoSurfaceNV")] + public static + unsafe IntPtr VDPAURegisterVideoSurface([InAttribute, OutAttribute] T0[,] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, UInt32* textureNames) + where T0 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); + try + { + return Delegates.glVDPAURegisterVideoSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames); + } + finally + { + vdpSurface_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vdpau_interop] + [AutoGenerated(Category = "NV_vdpau_interop", Version = "4.1", EntryPoint = "glVDPAURegisterVideoSurfaceNV")] + public static + IntPtr VDPAURegisterVideoSurface([InAttribute, OutAttribute] T0[,,] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, Int32[] textureNames) + where T0 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* textureNames_ptr = textureNames) + { + GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); + try + { + return Delegates.glVDPAURegisterVideoSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames_ptr); + } + finally + { + vdpSurface_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vdpau_interop] + [AutoGenerated(Category = "NV_vdpau_interop", Version = "4.1", EntryPoint = "glVDPAURegisterVideoSurfaceNV")] + public static + IntPtr VDPAURegisterVideoSurface([InAttribute, OutAttribute] T0[,,] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, ref Int32 textureNames) + where T0 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* textureNames_ptr = &textureNames) + { + GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); + try + { + return Delegates.glVDPAURegisterVideoSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames_ptr); + } + finally + { + vdpSurface_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vdpau_interop] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vdpau_interop", Version = "4.1", EntryPoint = "glVDPAURegisterVideoSurfaceNV")] + public static + unsafe IntPtr VDPAURegisterVideoSurface([InAttribute, OutAttribute] T0[,,] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, Int32* textureNames) + where T0 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); + try + { + return Delegates.glVDPAURegisterVideoSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames); + } + finally + { + vdpSurface_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vdpau_interop] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vdpau_interop", Version = "4.1", EntryPoint = "glVDPAURegisterVideoSurfaceNV")] + public static + IntPtr VDPAURegisterVideoSurface([InAttribute, OutAttribute] T0[,,] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, UInt32[] textureNames) + where T0 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* textureNames_ptr = textureNames) + { + GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); + try + { + return Delegates.glVDPAURegisterVideoSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames_ptr); + } + finally + { + vdpSurface_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vdpau_interop] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vdpau_interop", Version = "4.1", EntryPoint = "glVDPAURegisterVideoSurfaceNV")] + public static + IntPtr VDPAURegisterVideoSurface([InAttribute, OutAttribute] T0[,,] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, ref UInt32 textureNames) + where T0 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* textureNames_ptr = &textureNames) + { + GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); + try + { + return Delegates.glVDPAURegisterVideoSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames_ptr); + } + finally + { + vdpSurface_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vdpau_interop] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vdpau_interop", Version = "4.1", EntryPoint = "glVDPAURegisterVideoSurfaceNV")] + public static + unsafe IntPtr VDPAURegisterVideoSurface([InAttribute, OutAttribute] T0[,,] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, UInt32* textureNames) + where T0 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); + try + { + return Delegates.glVDPAURegisterVideoSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames); + } + finally + { + vdpSurface_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vdpau_interop] + [AutoGenerated(Category = "NV_vdpau_interop", Version = "4.1", EntryPoint = "glVDPAURegisterVideoSurfaceNV")] + public static + IntPtr VDPAURegisterVideoSurface([InAttribute, OutAttribute] ref T0 vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, Int32[] textureNames) + where T0 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* textureNames_ptr = textureNames) + { + GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); + try + { + IntPtr retval = Delegates.glVDPAURegisterVideoSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames_ptr); + vdpSurface = (T0)vdpSurface_ptr.Target; + return retval; + } + finally + { + vdpSurface_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vdpau_interop] + [AutoGenerated(Category = "NV_vdpau_interop", Version = "4.1", EntryPoint = "glVDPAURegisterVideoSurfaceNV")] + public static + IntPtr VDPAURegisterVideoSurface([InAttribute, OutAttribute] ref T0 vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, ref Int32 textureNames) + where T0 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* textureNames_ptr = &textureNames) + { + GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); + try + { + IntPtr retval = Delegates.glVDPAURegisterVideoSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames_ptr); + vdpSurface = (T0)vdpSurface_ptr.Target; + return retval; + } + finally + { + vdpSurface_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vdpau_interop] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vdpau_interop", Version = "4.1", EntryPoint = "glVDPAURegisterVideoSurfaceNV")] + public static + unsafe IntPtr VDPAURegisterVideoSurface([InAttribute, OutAttribute] ref T0 vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, Int32* textureNames) + where T0 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); + try + { + IntPtr retval = Delegates.glVDPAURegisterVideoSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames); + vdpSurface = (T0)vdpSurface_ptr.Target; + return retval; + } + finally + { + vdpSurface_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vdpau_interop] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vdpau_interop", Version = "4.1", EntryPoint = "glVDPAURegisterVideoSurfaceNV")] + public static + IntPtr VDPAURegisterVideoSurface([InAttribute, OutAttribute] ref T0 vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, UInt32[] textureNames) + where T0 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* textureNames_ptr = textureNames) + { + GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); + try + { + IntPtr retval = Delegates.glVDPAURegisterVideoSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames_ptr); + vdpSurface = (T0)vdpSurface_ptr.Target; + return retval; + } + finally + { + vdpSurface_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vdpau_interop] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vdpau_interop", Version = "4.1", EntryPoint = "glVDPAURegisterVideoSurfaceNV")] + public static + IntPtr VDPAURegisterVideoSurface([InAttribute, OutAttribute] ref T0 vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, ref UInt32 textureNames) + where T0 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* textureNames_ptr = &textureNames) + { + GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); + try + { + IntPtr retval = Delegates.glVDPAURegisterVideoSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames_ptr); + vdpSurface = (T0)vdpSurface_ptr.Target; + return retval; + } + finally + { + vdpSurface_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vdpau_interop] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vdpau_interop", Version = "4.1", EntryPoint = "glVDPAURegisterVideoSurfaceNV")] + public static + unsafe IntPtr VDPAURegisterVideoSurface([InAttribute, OutAttribute] ref T0 vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, UInt32* textureNames) + where T0 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); + try + { + IntPtr retval = Delegates.glVDPAURegisterVideoSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames); + vdpSurface = (T0)vdpSurface_ptr.Target; + return retval; + } + finally + { + vdpSurface_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vdpau_interop] + [AutoGenerated(Category = "NV_vdpau_interop", Version = "4.1", EntryPoint = "glVDPAUSurfaceAccessNV")] + public static + void VDPAUSurfaceAccess(IntPtr surface, OpenTK.Graphics.OpenGL.NvVdpauInterop access) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVDPAUSurfaceAccessNV((IntPtr)surface, (OpenTK.Graphics.OpenGL.NvVdpauInterop)access); + #if DEBUG + } + #endif + } + + /// [requires: NV_vdpau_interop] + [AutoGenerated(Category = "NV_vdpau_interop", Version = "4.1", EntryPoint = "glVDPAUUnmapSurfacesNV")] + public static + void VDPAUUnmapSurfaces(Int32 numSurface, IntPtr[] surfaces) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (IntPtr* surfaces_ptr = surfaces) + { + Delegates.glVDPAUUnmapSurfacesNV((Int32)numSurface, (IntPtr*)surfaces_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vdpau_interop] + [AutoGenerated(Category = "NV_vdpau_interop", Version = "4.1", EntryPoint = "glVDPAUUnmapSurfacesNV")] + public static + void VDPAUUnmapSurfaces(Int32 numSurface, ref IntPtr surfaces) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (IntPtr* surfaces_ptr = &surfaces) + { + Delegates.glVDPAUUnmapSurfacesNV((Int32)numSurface, (IntPtr*)surfaces_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vdpau_interop] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vdpau_interop", Version = "4.1", EntryPoint = "glVDPAUUnmapSurfacesNV")] + public static + unsafe void VDPAUUnmapSurfaces(Int32 numSurface, IntPtr* surfaces) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVDPAUUnmapSurfacesNV((Int32)numSurface, (IntPtr*)surfaces); + #if DEBUG + } + #endif + } + + /// [requires: NV_vdpau_interop] + [AutoGenerated(Category = "NV_vdpau_interop", Version = "4.1", EntryPoint = "glVDPAUUnregisterSurfaceNV")] + public static + void VDPAUUnregisterSurface(IntPtr surface) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVDPAUUnregisterSurfaceNV((IntPtr)surface); + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glVertex2hNV")] + public static + void Vertex2h(Half x, Half y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertex2hNV((Half)x, (Half)y); + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glVertex2hvNV")] + public static + void Vertex2h(Half[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Half* v_ptr = v) + { + Delegates.glVertex2hvNV((Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glVertex2hvNV")] + public static + void Vertex2h(ref Half v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Half* v_ptr = &v) + { + Delegates.glVertex2hvNV((Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glVertex2hvNV")] + public static + unsafe void Vertex2h(Half* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertex2hvNV((Half*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glVertex3hNV")] + public static + void Vertex3h(Half x, Half y, Half z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertex3hNV((Half)x, (Half)y, (Half)z); + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glVertex3hvNV")] + public static + void Vertex3h(Half[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Half* v_ptr = v) + { + Delegates.glVertex3hvNV((Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glVertex3hvNV")] + public static + void Vertex3h(ref Half v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Half* v_ptr = &v) + { + Delegates.glVertex3hvNV((Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glVertex3hvNV")] + public static + unsafe void Vertex3h(Half* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertex3hvNV((Half*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glVertex4hNV")] + public static + void Vertex4h(Half x, Half y, Half z, Half w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertex4hNV((Half)x, (Half)y, (Half)z, (Half)w); + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glVertex4hvNV")] + public static + void Vertex4h(Half[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Half* v_ptr = v) + { + Delegates.glVertex4hvNV((Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glVertex4hvNV")] + public static + void Vertex4h(ref Half v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Half* v_ptr = &v) + { + Delegates.glVertex4hvNV((Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glVertex4hvNV")] + public static + unsafe void Vertex4h(Half* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertex4hvNV((Half*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_array_range] + [AutoGenerated(Category = "NV_vertex_array_range", Version = "1.1", EntryPoint = "glVertexArrayRangeNV")] + public static + void VertexArrayRange(Int32 length, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexArrayRangeNV((Int32)length, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_array_range] + [AutoGenerated(Category = "NV_vertex_array_range", Version = "1.1", EntryPoint = "glVertexArrayRangeNV")] + public static + void VertexArrayRange(Int32 length, [InAttribute, OutAttribute] T1[] pointer) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexArrayRangeNV((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_array_range] + [AutoGenerated(Category = "NV_vertex_array_range", Version = "1.1", EntryPoint = "glVertexArrayRangeNV")] + public static + void VertexArrayRange(Int32 length, [InAttribute, OutAttribute] T1[,] pointer) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexArrayRangeNV((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_array_range] + [AutoGenerated(Category = "NV_vertex_array_range", Version = "1.1", EntryPoint = "glVertexArrayRangeNV")] + public static + void VertexArrayRange(Int32 length, [InAttribute, OutAttribute] T1[,,] pointer) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexArrayRangeNV((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_array_range] + [AutoGenerated(Category = "NV_vertex_array_range", Version = "1.1", EntryPoint = "glVertexArrayRangeNV")] + public static + void VertexArrayRange(Int32 length, [InAttribute, OutAttribute] ref T1 pointer) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexArrayRangeNV((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + pointer = (T1)pointer_ptr.Target; + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib1dNV")] + public static + void VertexAttrib1(Int32 index, Double x) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib1dNV((UInt32)index, (Double)x); + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib1dNV")] + public static + void VertexAttrib1(UInt32 index, Double x) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib1dNV((UInt32)index, (Double)x); + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib1dvNV")] + public static + unsafe void VertexAttrib1(Int32 index, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib1dvNV((UInt32)index, (Double*)v); + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib1dvNV")] + public static + unsafe void VertexAttrib1(UInt32 index, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib1dvNV((UInt32)index, (Double*)v); + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib1fNV")] + public static + void VertexAttrib1(Int32 index, Single x) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib1fNV((UInt32)index, (Single)x); + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib1fNV")] + public static + void VertexAttrib1(UInt32 index, Single x) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib1fNV((UInt32)index, (Single)x); + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib1fvNV")] + public static + unsafe void VertexAttrib1(Int32 index, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib1fvNV((UInt32)index, (Single*)v); + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib1fvNV")] + public static + unsafe void VertexAttrib1(UInt32 index, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib1fvNV((UInt32)index, (Single*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glVertexAttrib1hNV")] + public static + void VertexAttrib1h(Int32 index, Half x) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib1hNV((UInt32)index, (Half)x); + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glVertexAttrib1hNV")] + public static + void VertexAttrib1h(UInt32 index, Half x) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib1hNV((UInt32)index, (Half)x); + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glVertexAttrib1hvNV")] + public static + unsafe void VertexAttrib1h(Int32 index, Half* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib1hvNV((UInt32)index, (Half*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glVertexAttrib1hvNV")] + public static + unsafe void VertexAttrib1h(UInt32 index, Half* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib1hvNV((UInt32)index, (Half*)v); + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib1sNV")] + public static + void VertexAttrib1(Int32 index, Int16 x) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib1sNV((UInt32)index, (Int16)x); + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib1sNV")] + public static + void VertexAttrib1(UInt32 index, Int16 x) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib1sNV((UInt32)index, (Int16)x); + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib1svNV")] + public static + unsafe void VertexAttrib1(Int32 index, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib1svNV((UInt32)index, (Int16*)v); + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib1svNV")] + public static + unsafe void VertexAttrib1(UInt32 index, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib1svNV((UInt32)index, (Int16*)v); + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib2dNV")] + public static + void VertexAttrib2(Int32 index, Double x, Double y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib2dNV((UInt32)index, (Double)x, (Double)y); + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib2dNV")] + public static + void VertexAttrib2(UInt32 index, Double x, Double y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib2dNV((UInt32)index, (Double)x, (Double)y); + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib2dvNV")] + public static + void VertexAttrib2(Int32 index, Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glVertexAttrib2dvNV((UInt32)index, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib2dvNV")] + public static + void VertexAttrib2(Int32 index, ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glVertexAttrib2dvNV((UInt32)index, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib2dvNV")] + public static + unsafe void VertexAttrib2(Int32 index, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib2dvNV((UInt32)index, (Double*)v); + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib2dvNV")] + public static + void VertexAttrib2(UInt32 index, Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glVertexAttrib2dvNV((UInt32)index, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib2dvNV")] + public static + void VertexAttrib2(UInt32 index, ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glVertexAttrib2dvNV((UInt32)index, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib2dvNV")] + public static + unsafe void VertexAttrib2(UInt32 index, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib2dvNV((UInt32)index, (Double*)v); + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib2fNV")] + public static + void VertexAttrib2(Int32 index, Single x, Single y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib2fNV((UInt32)index, (Single)x, (Single)y); + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib2fNV")] + public static + void VertexAttrib2(UInt32 index, Single x, Single y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib2fNV((UInt32)index, (Single)x, (Single)y); + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib2fvNV")] + public static + void VertexAttrib2(Int32 index, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glVertexAttrib2fvNV((UInt32)index, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib2fvNV")] + public static + void VertexAttrib2(Int32 index, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glVertexAttrib2fvNV((UInt32)index, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib2fvNV")] + public static + unsafe void VertexAttrib2(Int32 index, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib2fvNV((UInt32)index, (Single*)v); + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib2fvNV")] + public static + void VertexAttrib2(UInt32 index, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glVertexAttrib2fvNV((UInt32)index, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib2fvNV")] + public static + void VertexAttrib2(UInt32 index, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glVertexAttrib2fvNV((UInt32)index, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib2fvNV")] + public static + unsafe void VertexAttrib2(UInt32 index, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib2fvNV((UInt32)index, (Single*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glVertexAttrib2hNV")] + public static + void VertexAttrib2h(Int32 index, Half x, Half y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib2hNV((UInt32)index, (Half)x, (Half)y); + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glVertexAttrib2hNV")] + public static + void VertexAttrib2h(UInt32 index, Half x, Half y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib2hNV((UInt32)index, (Half)x, (Half)y); + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glVertexAttrib2hvNV")] + public static + void VertexAttrib2h(Int32 index, Half[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Half* v_ptr = v) + { + Delegates.glVertexAttrib2hvNV((UInt32)index, (Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glVertexAttrib2hvNV")] + public static + void VertexAttrib2h(Int32 index, ref Half v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Half* v_ptr = &v) + { + Delegates.glVertexAttrib2hvNV((UInt32)index, (Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glVertexAttrib2hvNV")] + public static + unsafe void VertexAttrib2h(Int32 index, Half* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib2hvNV((UInt32)index, (Half*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glVertexAttrib2hvNV")] + public static + void VertexAttrib2h(UInt32 index, Half[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Half* v_ptr = v) + { + Delegates.glVertexAttrib2hvNV((UInt32)index, (Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glVertexAttrib2hvNV")] + public static + void VertexAttrib2h(UInt32 index, ref Half v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Half* v_ptr = &v) + { + Delegates.glVertexAttrib2hvNV((UInt32)index, (Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glVertexAttrib2hvNV")] + public static + unsafe void VertexAttrib2h(UInt32 index, Half* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib2hvNV((UInt32)index, (Half*)v); + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib2sNV")] + public static + void VertexAttrib2(Int32 index, Int16 x, Int16 y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib2sNV((UInt32)index, (Int16)x, (Int16)y); + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib2sNV")] + public static + void VertexAttrib2(UInt32 index, Int16 x, Int16 y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib2sNV((UInt32)index, (Int16)x, (Int16)y); + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib2svNV")] + public static + void VertexAttrib2(Int32 index, Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glVertexAttrib2svNV((UInt32)index, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib2svNV")] + public static + void VertexAttrib2(Int32 index, ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glVertexAttrib2svNV((UInt32)index, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib2svNV")] + public static + unsafe void VertexAttrib2(Int32 index, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib2svNV((UInt32)index, (Int16*)v); + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib2svNV")] + public static + void VertexAttrib2(UInt32 index, Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glVertexAttrib2svNV((UInt32)index, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib2svNV")] + public static + void VertexAttrib2(UInt32 index, ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glVertexAttrib2svNV((UInt32)index, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib2svNV")] + public static + unsafe void VertexAttrib2(UInt32 index, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib2svNV((UInt32)index, (Int16*)v); + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib3dNV")] + public static + void VertexAttrib3(Int32 index, Double x, Double y, Double z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib3dNV((UInt32)index, (Double)x, (Double)y, (Double)z); + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib3dNV")] + public static + void VertexAttrib3(UInt32 index, Double x, Double y, Double z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib3dNV((UInt32)index, (Double)x, (Double)y, (Double)z); + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib3dvNV")] + public static + void VertexAttrib3(Int32 index, Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glVertexAttrib3dvNV((UInt32)index, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib3dvNV")] + public static + void VertexAttrib3(Int32 index, ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glVertexAttrib3dvNV((UInt32)index, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib3dvNV")] + public static + unsafe void VertexAttrib3(Int32 index, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib3dvNV((UInt32)index, (Double*)v); + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib3dvNV")] + public static + void VertexAttrib3(UInt32 index, Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glVertexAttrib3dvNV((UInt32)index, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib3dvNV")] + public static + void VertexAttrib3(UInt32 index, ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glVertexAttrib3dvNV((UInt32)index, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib3dvNV")] + public static + unsafe void VertexAttrib3(UInt32 index, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib3dvNV((UInt32)index, (Double*)v); + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib3fNV")] + public static + void VertexAttrib3(Int32 index, Single x, Single y, Single z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib3fNV((UInt32)index, (Single)x, (Single)y, (Single)z); + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib3fNV")] + public static + void VertexAttrib3(UInt32 index, Single x, Single y, Single z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib3fNV((UInt32)index, (Single)x, (Single)y, (Single)z); + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib3fvNV")] + public static + void VertexAttrib3(Int32 index, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glVertexAttrib3fvNV((UInt32)index, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib3fvNV")] + public static + void VertexAttrib3(Int32 index, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glVertexAttrib3fvNV((UInt32)index, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib3fvNV")] + public static + unsafe void VertexAttrib3(Int32 index, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib3fvNV((UInt32)index, (Single*)v); + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib3fvNV")] + public static + void VertexAttrib3(UInt32 index, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glVertexAttrib3fvNV((UInt32)index, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib3fvNV")] + public static + void VertexAttrib3(UInt32 index, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glVertexAttrib3fvNV((UInt32)index, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib3fvNV")] + public static + unsafe void VertexAttrib3(UInt32 index, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib3fvNV((UInt32)index, (Single*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glVertexAttrib3hNV")] + public static + void VertexAttrib3h(Int32 index, Half x, Half y, Half z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib3hNV((UInt32)index, (Half)x, (Half)y, (Half)z); + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glVertexAttrib3hNV")] + public static + void VertexAttrib3h(UInt32 index, Half x, Half y, Half z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib3hNV((UInt32)index, (Half)x, (Half)y, (Half)z); + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glVertexAttrib3hvNV")] + public static + void VertexAttrib3h(Int32 index, Half[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Half* v_ptr = v) + { + Delegates.glVertexAttrib3hvNV((UInt32)index, (Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glVertexAttrib3hvNV")] + public static + void VertexAttrib3h(Int32 index, ref Half v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Half* v_ptr = &v) + { + Delegates.glVertexAttrib3hvNV((UInt32)index, (Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glVertexAttrib3hvNV")] + public static + unsafe void VertexAttrib3h(Int32 index, Half* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib3hvNV((UInt32)index, (Half*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glVertexAttrib3hvNV")] + public static + void VertexAttrib3h(UInt32 index, Half[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Half* v_ptr = v) + { + Delegates.glVertexAttrib3hvNV((UInt32)index, (Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glVertexAttrib3hvNV")] + public static + void VertexAttrib3h(UInt32 index, ref Half v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Half* v_ptr = &v) + { + Delegates.glVertexAttrib3hvNV((UInt32)index, (Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glVertexAttrib3hvNV")] + public static + unsafe void VertexAttrib3h(UInt32 index, Half* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib3hvNV((UInt32)index, (Half*)v); + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib3sNV")] + public static + void VertexAttrib3(Int32 index, Int16 x, Int16 y, Int16 z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib3sNV((UInt32)index, (Int16)x, (Int16)y, (Int16)z); + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib3sNV")] + public static + void VertexAttrib3(UInt32 index, Int16 x, Int16 y, Int16 z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib3sNV((UInt32)index, (Int16)x, (Int16)y, (Int16)z); + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib3svNV")] + public static + void VertexAttrib3(Int32 index, Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glVertexAttrib3svNV((UInt32)index, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib3svNV")] + public static + void VertexAttrib3(Int32 index, ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glVertexAttrib3svNV((UInt32)index, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib3svNV")] + public static + unsafe void VertexAttrib3(Int32 index, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib3svNV((UInt32)index, (Int16*)v); + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib3svNV")] + public static + void VertexAttrib3(UInt32 index, Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glVertexAttrib3svNV((UInt32)index, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib3svNV")] + public static + void VertexAttrib3(UInt32 index, ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glVertexAttrib3svNV((UInt32)index, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib3svNV")] + public static + unsafe void VertexAttrib3(UInt32 index, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib3svNV((UInt32)index, (Int16*)v); + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib4dNV")] + public static + void VertexAttrib4(Int32 index, Double x, Double y, Double z, Double w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4dNV((UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib4dNV")] + public static + void VertexAttrib4(UInt32 index, Double x, Double y, Double z, Double w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4dNV((UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib4dvNV")] + public static + void VertexAttrib4(Int32 index, Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glVertexAttrib4dvNV((UInt32)index, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib4dvNV")] + public static + void VertexAttrib4(Int32 index, ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glVertexAttrib4dvNV((UInt32)index, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib4dvNV")] + public static + unsafe void VertexAttrib4(Int32 index, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4dvNV((UInt32)index, (Double*)v); + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib4dvNV")] + public static + void VertexAttrib4(UInt32 index, Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glVertexAttrib4dvNV((UInt32)index, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib4dvNV")] + public static + void VertexAttrib4(UInt32 index, ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glVertexAttrib4dvNV((UInt32)index, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib4dvNV")] + public static + unsafe void VertexAttrib4(UInt32 index, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4dvNV((UInt32)index, (Double*)v); + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib4fNV")] + public static + void VertexAttrib4(Int32 index, Single x, Single y, Single z, Single w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4fNV((UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib4fNV")] + public static + void VertexAttrib4(UInt32 index, Single x, Single y, Single z, Single w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4fNV((UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib4fvNV")] + public static + void VertexAttrib4(Int32 index, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glVertexAttrib4fvNV((UInt32)index, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib4fvNV")] + public static + void VertexAttrib4(Int32 index, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glVertexAttrib4fvNV((UInt32)index, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib4fvNV")] + public static + unsafe void VertexAttrib4(Int32 index, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4fvNV((UInt32)index, (Single*)v); + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib4fvNV")] + public static + void VertexAttrib4(UInt32 index, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glVertexAttrib4fvNV((UInt32)index, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib4fvNV")] + public static + void VertexAttrib4(UInt32 index, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glVertexAttrib4fvNV((UInt32)index, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib4fvNV")] + public static + unsafe void VertexAttrib4(UInt32 index, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4fvNV((UInt32)index, (Single*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glVertexAttrib4hNV")] + public static + void VertexAttrib4h(Int32 index, Half x, Half y, Half z, Half w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4hNV((UInt32)index, (Half)x, (Half)y, (Half)z, (Half)w); + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glVertexAttrib4hNV")] + public static + void VertexAttrib4h(UInt32 index, Half x, Half y, Half z, Half w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4hNV((UInt32)index, (Half)x, (Half)y, (Half)z, (Half)w); + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glVertexAttrib4hvNV")] + public static + void VertexAttrib4h(Int32 index, Half[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Half* v_ptr = v) + { + Delegates.glVertexAttrib4hvNV((UInt32)index, (Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glVertexAttrib4hvNV")] + public static + void VertexAttrib4h(Int32 index, ref Half v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Half* v_ptr = &v) + { + Delegates.glVertexAttrib4hvNV((UInt32)index, (Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glVertexAttrib4hvNV")] + public static + unsafe void VertexAttrib4h(Int32 index, Half* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4hvNV((UInt32)index, (Half*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glVertexAttrib4hvNV")] + public static + void VertexAttrib4h(UInt32 index, Half[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Half* v_ptr = v) + { + Delegates.glVertexAttrib4hvNV((UInt32)index, (Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glVertexAttrib4hvNV")] + public static + void VertexAttrib4h(UInt32 index, ref Half v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Half* v_ptr = &v) + { + Delegates.glVertexAttrib4hvNV((UInt32)index, (Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glVertexAttrib4hvNV")] + public static + unsafe void VertexAttrib4h(UInt32 index, Half* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4hvNV((UInt32)index, (Half*)v); + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib4sNV")] + public static + void VertexAttrib4(Int32 index, Int16 x, Int16 y, Int16 z, Int16 w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4sNV((UInt32)index, (Int16)x, (Int16)y, (Int16)z, (Int16)w); + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib4sNV")] + public static + void VertexAttrib4(UInt32 index, Int16 x, Int16 y, Int16 z, Int16 w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4sNV((UInt32)index, (Int16)x, (Int16)y, (Int16)z, (Int16)w); + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib4svNV")] + public static + void VertexAttrib4(Int32 index, Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glVertexAttrib4svNV((UInt32)index, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib4svNV")] + public static + void VertexAttrib4(Int32 index, ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glVertexAttrib4svNV((UInt32)index, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib4svNV")] + public static + unsafe void VertexAttrib4(Int32 index, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4svNV((UInt32)index, (Int16*)v); + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib4svNV")] + public static + void VertexAttrib4(UInt32 index, Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glVertexAttrib4svNV((UInt32)index, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib4svNV")] + public static + void VertexAttrib4(UInt32 index, ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glVertexAttrib4svNV((UInt32)index, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib4svNV")] + public static + unsafe void VertexAttrib4(UInt32 index, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4svNV((UInt32)index, (Int16*)v); + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib4ubNV")] + public static + void VertexAttrib4(Int32 index, Byte x, Byte y, Byte z, Byte w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4ubNV((UInt32)index, (Byte)x, (Byte)y, (Byte)z, (Byte)w); + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib4ubNV")] + public static + void VertexAttrib4(UInt32 index, Byte x, Byte y, Byte z, Byte w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4ubNV((UInt32)index, (Byte)x, (Byte)y, (Byte)z, (Byte)w); + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib4ubvNV")] + public static + void VertexAttrib4(Int32 index, Byte[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = v) + { + Delegates.glVertexAttrib4ubvNV((UInt32)index, (Byte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib4ubvNV")] + public static + void VertexAttrib4(Int32 index, ref Byte v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = &v) + { + Delegates.glVertexAttrib4ubvNV((UInt32)index, (Byte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib4ubvNV")] + public static + unsafe void VertexAttrib4(Int32 index, Byte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4ubvNV((UInt32)index, (Byte*)v); + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib4ubvNV")] + public static + void VertexAttrib4(UInt32 index, Byte[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = v) + { + Delegates.glVertexAttrib4ubvNV((UInt32)index, (Byte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib4ubvNV")] + public static + void VertexAttrib4(UInt32 index, ref Byte v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = &v) + { + Delegates.glVertexAttrib4ubvNV((UInt32)index, (Byte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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 = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttrib4ubvNV")] + public static + unsafe void VertexAttrib4(UInt32 index, Byte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4ubvNV((UInt32)index, (Byte*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_buffer_unified_memory] + [AutoGenerated(Category = "NV_vertex_buffer_unified_memory", Version = "1.2", EntryPoint = "glVertexAttribFormatNV")] + public static + void VertexAttribFormat(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, bool normalized, Int32 stride) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribFormatNV((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory)type, (bool)normalized, (Int32)stride); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_buffer_unified_memory] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_buffer_unified_memory", Version = "1.2", EntryPoint = "glVertexAttribFormatNV")] + public static + void VertexAttribFormat(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, bool normalized, Int32 stride) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribFormatNV((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory)type, (bool)normalized, (Int32)stride); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_buffer_unified_memory] + [AutoGenerated(Category = "NV_vertex_buffer_unified_memory", Version = "1.2", EntryPoint = "glVertexAttribIFormatNV")] + public static + void VertexAttribIFormat(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribIFormatNV((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory)type, (Int32)stride); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_buffer_unified_memory] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_buffer_unified_memory", Version = "1.2", EntryPoint = "glVertexAttribIFormatNV")] + public static + void VertexAttribIFormat(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribIFormatNV((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory)type, (Int32)stride); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_attrib_integer_64bit] + [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "4.1", EntryPoint = "glVertexAttribL1i64NV")] + public static + void VertexAttribL1(Int32 index, Int64 x) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribL1i64NV((UInt32)index, (Int64)x); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_attrib_integer_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "4.1", EntryPoint = "glVertexAttribL1i64NV")] + public static + void VertexAttribL1(UInt32 index, Int64 x) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribL1i64NV((UInt32)index, (Int64)x); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_attrib_integer_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "4.1", EntryPoint = "glVertexAttribL1i64vNV")] + public static + unsafe void VertexAttribL1(Int32 index, Int64* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribL1i64vNV((UInt32)index, (Int64*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_attrib_integer_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "4.1", EntryPoint = "glVertexAttribL1i64vNV")] + public static + unsafe void VertexAttribL1(UInt32 index, Int64* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribL1i64vNV((UInt32)index, (Int64*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_attrib_integer_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "4.1", EntryPoint = "glVertexAttribL1ui64NV")] + public static + void VertexAttribL1(UInt32 index, UInt64 x) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribL1ui64NV((UInt32)index, (UInt64)x); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_attrib_integer_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "4.1", EntryPoint = "glVertexAttribL1ui64vNV")] + public static + unsafe void VertexAttribL1(UInt32 index, UInt64* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribL1ui64vNV((UInt32)index, (UInt64*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_attrib_integer_64bit] + [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "4.1", EntryPoint = "glVertexAttribL2i64NV")] + public static + void VertexAttribL2(Int32 index, Int64 x, Int64 y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribL2i64NV((UInt32)index, (Int64)x, (Int64)y); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_attrib_integer_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "4.1", EntryPoint = "glVertexAttribL2i64NV")] + public static + void VertexAttribL2(UInt32 index, Int64 x, Int64 y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribL2i64NV((UInt32)index, (Int64)x, (Int64)y); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_attrib_integer_64bit] + [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "4.1", EntryPoint = "glVertexAttribL2i64vNV")] + public static + void VertexAttribL2(Int32 index, Int64[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* v_ptr = v) + { + Delegates.glVertexAttribL2i64vNV((UInt32)index, (Int64*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_attrib_integer_64bit] + [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "4.1", EntryPoint = "glVertexAttribL2i64vNV")] + public static + void VertexAttribL2(Int32 index, ref Int64 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* v_ptr = &v) + { + Delegates.glVertexAttribL2i64vNV((UInt32)index, (Int64*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_attrib_integer_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "4.1", EntryPoint = "glVertexAttribL2i64vNV")] + public static + unsafe void VertexAttribL2(Int32 index, Int64* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribL2i64vNV((UInt32)index, (Int64*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_attrib_integer_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "4.1", EntryPoint = "glVertexAttribL2i64vNV")] + public static + void VertexAttribL2(UInt32 index, Int64[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* v_ptr = v) + { + Delegates.glVertexAttribL2i64vNV((UInt32)index, (Int64*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_attrib_integer_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "4.1", EntryPoint = "glVertexAttribL2i64vNV")] + public static + void VertexAttribL2(UInt32 index, ref Int64 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* v_ptr = &v) + { + Delegates.glVertexAttribL2i64vNV((UInt32)index, (Int64*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_attrib_integer_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "4.1", EntryPoint = "glVertexAttribL2i64vNV")] + public static + unsafe void VertexAttribL2(UInt32 index, Int64* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribL2i64vNV((UInt32)index, (Int64*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_attrib_integer_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "4.1", EntryPoint = "glVertexAttribL2ui64NV")] + public static + void VertexAttribL2(UInt32 index, UInt64 x, UInt64 y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribL2ui64NV((UInt32)index, (UInt64)x, (UInt64)y); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_attrib_integer_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "4.1", EntryPoint = "glVertexAttribL2ui64vNV")] + public static + void VertexAttribL2(UInt32 index, UInt64[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt64* v_ptr = v) + { + Delegates.glVertexAttribL2ui64vNV((UInt32)index, (UInt64*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_attrib_integer_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "4.1", EntryPoint = "glVertexAttribL2ui64vNV")] + public static + void VertexAttribL2(UInt32 index, ref UInt64 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt64* v_ptr = &v) + { + Delegates.glVertexAttribL2ui64vNV((UInt32)index, (UInt64*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_attrib_integer_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "4.1", EntryPoint = "glVertexAttribL2ui64vNV")] + public static + unsafe void VertexAttribL2(UInt32 index, UInt64* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribL2ui64vNV((UInt32)index, (UInt64*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_attrib_integer_64bit] + [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "4.1", EntryPoint = "glVertexAttribL3i64NV")] + public static + void VertexAttribL3(Int32 index, Int64 x, Int64 y, Int64 z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribL3i64NV((UInt32)index, (Int64)x, (Int64)y, (Int64)z); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_attrib_integer_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "4.1", EntryPoint = "glVertexAttribL3i64NV")] + public static + void VertexAttribL3(UInt32 index, Int64 x, Int64 y, Int64 z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribL3i64NV((UInt32)index, (Int64)x, (Int64)y, (Int64)z); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_attrib_integer_64bit] + [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "4.1", EntryPoint = "glVertexAttribL3i64vNV")] + public static + void VertexAttribL3(Int32 index, Int64[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* v_ptr = v) + { + Delegates.glVertexAttribL3i64vNV((UInt32)index, (Int64*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_attrib_integer_64bit] + [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "4.1", EntryPoint = "glVertexAttribL3i64vNV")] + public static + void VertexAttribL3(Int32 index, ref Int64 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* v_ptr = &v) + { + Delegates.glVertexAttribL3i64vNV((UInt32)index, (Int64*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_attrib_integer_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "4.1", EntryPoint = "glVertexAttribL3i64vNV")] + public static + unsafe void VertexAttribL3(Int32 index, Int64* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribL3i64vNV((UInt32)index, (Int64*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_attrib_integer_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "4.1", EntryPoint = "glVertexAttribL3i64vNV")] + public static + void VertexAttribL3(UInt32 index, Int64[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* v_ptr = v) + { + Delegates.glVertexAttribL3i64vNV((UInt32)index, (Int64*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_attrib_integer_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "4.1", EntryPoint = "glVertexAttribL3i64vNV")] + public static + void VertexAttribL3(UInt32 index, ref Int64 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* v_ptr = &v) + { + Delegates.glVertexAttribL3i64vNV((UInt32)index, (Int64*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_attrib_integer_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "4.1", EntryPoint = "glVertexAttribL3i64vNV")] + public static + unsafe void VertexAttribL3(UInt32 index, Int64* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribL3i64vNV((UInt32)index, (Int64*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_attrib_integer_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "4.1", EntryPoint = "glVertexAttribL3ui64NV")] + public static + void VertexAttribL3(UInt32 index, UInt64 x, UInt64 y, UInt64 z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribL3ui64NV((UInt32)index, (UInt64)x, (UInt64)y, (UInt64)z); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_attrib_integer_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "4.1", EntryPoint = "glVertexAttribL3ui64vNV")] + public static + void VertexAttribL3(UInt32 index, UInt64[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt64* v_ptr = v) + { + Delegates.glVertexAttribL3ui64vNV((UInt32)index, (UInt64*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_attrib_integer_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "4.1", EntryPoint = "glVertexAttribL3ui64vNV")] + public static + void VertexAttribL3(UInt32 index, ref UInt64 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt64* v_ptr = &v) + { + Delegates.glVertexAttribL3ui64vNV((UInt32)index, (UInt64*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_attrib_integer_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "4.1", EntryPoint = "glVertexAttribL3ui64vNV")] + public static + unsafe void VertexAttribL3(UInt32 index, UInt64* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribL3ui64vNV((UInt32)index, (UInt64*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_attrib_integer_64bit] + [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "4.1", EntryPoint = "glVertexAttribL4i64NV")] + public static + void VertexAttribL4(Int32 index, Int64 x, Int64 y, Int64 z, Int64 w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribL4i64NV((UInt32)index, (Int64)x, (Int64)y, (Int64)z, (Int64)w); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_attrib_integer_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "4.1", EntryPoint = "glVertexAttribL4i64NV")] + public static + void VertexAttribL4(UInt32 index, Int64 x, Int64 y, Int64 z, Int64 w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribL4i64NV((UInt32)index, (Int64)x, (Int64)y, (Int64)z, (Int64)w); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_attrib_integer_64bit] + [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "4.1", EntryPoint = "glVertexAttribL4i64vNV")] + public static + void VertexAttribL4(Int32 index, Int64[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* v_ptr = v) + { + Delegates.glVertexAttribL4i64vNV((UInt32)index, (Int64*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_attrib_integer_64bit] + [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "4.1", EntryPoint = "glVertexAttribL4i64vNV")] + public static + void VertexAttribL4(Int32 index, ref Int64 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* v_ptr = &v) + { + Delegates.glVertexAttribL4i64vNV((UInt32)index, (Int64*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_attrib_integer_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "4.1", EntryPoint = "glVertexAttribL4i64vNV")] + public static + unsafe void VertexAttribL4(Int32 index, Int64* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribL4i64vNV((UInt32)index, (Int64*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_attrib_integer_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "4.1", EntryPoint = "glVertexAttribL4i64vNV")] + public static + void VertexAttribL4(UInt32 index, Int64[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* v_ptr = v) + { + Delegates.glVertexAttribL4i64vNV((UInt32)index, (Int64*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_attrib_integer_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "4.1", EntryPoint = "glVertexAttribL4i64vNV")] + public static + void VertexAttribL4(UInt32 index, ref Int64 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* v_ptr = &v) + { + Delegates.glVertexAttribL4i64vNV((UInt32)index, (Int64*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_attrib_integer_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "4.1", EntryPoint = "glVertexAttribL4i64vNV")] + public static + unsafe void VertexAttribL4(UInt32 index, Int64* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribL4i64vNV((UInt32)index, (Int64*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_attrib_integer_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "4.1", EntryPoint = "glVertexAttribL4ui64NV")] + public static + void VertexAttribL4(UInt32 index, UInt64 x, UInt64 y, UInt64 z, UInt64 w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribL4ui64NV((UInt32)index, (UInt64)x, (UInt64)y, (UInt64)z, (UInt64)w); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_attrib_integer_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "4.1", EntryPoint = "glVertexAttribL4ui64vNV")] + public static + void VertexAttribL4(UInt32 index, UInt64[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt64* v_ptr = v) + { + Delegates.glVertexAttribL4ui64vNV((UInt32)index, (UInt64*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_attrib_integer_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "4.1", EntryPoint = "glVertexAttribL4ui64vNV")] + public static + void VertexAttribL4(UInt32 index, ref UInt64 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt64* v_ptr = &v) + { + Delegates.glVertexAttribL4ui64vNV((UInt32)index, (UInt64*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_attrib_integer_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "4.1", EntryPoint = "glVertexAttribL4ui64vNV")] + public static + unsafe void VertexAttribL4(UInt32 index, UInt64* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribL4ui64vNV((UInt32)index, (UInt64*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_attrib_integer_64bit] + [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "4.1", EntryPoint = "glVertexAttribLFormatNV")] + public static + void VertexAttribLFormat(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit type, Int32 stride) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribLFormatNV((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit)type, (Int32)stride); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_attrib_integer_64bit] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "4.1", EntryPoint = "glVertexAttribLFormatNV")] + public static + void VertexAttribLFormat(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit type, Int32 stride) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribLFormatNV((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit)type, (Int32)stride); + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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, 4. Additionally, the symbolic constant GL_BGRA is accepted by glVertexAttribPointer. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. The symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, and GL_UNSIGNED_INT are accepted by both functions. Additionally GL_HALF_FLOAT, GL_FLOAT, GL_DOUBLE, GL_FIXED, GL_INT_2_10_10_10_REV, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted by glVertexAttribPointer. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// For glVertexAttribPointer, 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 offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the GL_ARRAY_BUFFER target. The initial value is 0. + /// + /// + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribPointerNV")] + public static + void VertexAttribPointer(Int32 index, Int32 fsize, OpenTK.Graphics.OpenGL.VertexAttribParameterArb type, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)type, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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, 4. Additionally, the symbolic constant GL_BGRA is accepted by glVertexAttribPointer. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. The symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, and GL_UNSIGNED_INT are accepted by both functions. Additionally GL_HALF_FLOAT, GL_FLOAT, GL_DOUBLE, GL_FIXED, GL_INT_2_10_10_10_REV, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted by glVertexAttribPointer. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// For glVertexAttribPointer, 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 offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the GL_ARRAY_BUFFER target. The initial value is 0. + /// + /// + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribPointerNV")] + public static + void VertexAttribPointer(Int32 index, Int32 fsize, OpenTK.Graphics.OpenGL.VertexAttribParameterArb type, Int32 stride, [InAttribute, OutAttribute] T4[] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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, 4. Additionally, the symbolic constant GL_BGRA is accepted by glVertexAttribPointer. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. The symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, and GL_UNSIGNED_INT are accepted by both functions. Additionally GL_HALF_FLOAT, GL_FLOAT, GL_DOUBLE, GL_FIXED, GL_INT_2_10_10_10_REV, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted by glVertexAttribPointer. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// For glVertexAttribPointer, 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 offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the GL_ARRAY_BUFFER target. The initial value is 0. + /// + /// + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribPointerNV")] + public static + void VertexAttribPointer(Int32 index, Int32 fsize, OpenTK.Graphics.OpenGL.VertexAttribParameterArb type, Int32 stride, [InAttribute, OutAttribute] T4[,] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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, 4. Additionally, the symbolic constant GL_BGRA is accepted by glVertexAttribPointer. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. The symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, and GL_UNSIGNED_INT are accepted by both functions. Additionally GL_HALF_FLOAT, GL_FLOAT, GL_DOUBLE, GL_FIXED, GL_INT_2_10_10_10_REV, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted by glVertexAttribPointer. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// For glVertexAttribPointer, 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 offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the GL_ARRAY_BUFFER target. The initial value is 0. + /// + /// + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribPointerNV")] + public static + void VertexAttribPointer(Int32 index, Int32 fsize, OpenTK.Graphics.OpenGL.VertexAttribParameterArb type, Int32 stride, [InAttribute, OutAttribute] T4[,,] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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, 4. Additionally, the symbolic constant GL_BGRA is accepted by glVertexAttribPointer. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. The symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, and GL_UNSIGNED_INT are accepted by both functions. Additionally GL_HALF_FLOAT, GL_FLOAT, GL_DOUBLE, GL_FIXED, GL_INT_2_10_10_10_REV, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted by glVertexAttribPointer. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// For glVertexAttribPointer, 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 offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the GL_ARRAY_BUFFER target. The initial value is 0. + /// + /// + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribPointerNV")] + public static + void VertexAttribPointer(Int32 index, Int32 fsize, OpenTK.Graphics.OpenGL.VertexAttribParameterArb type, Int32 stride, [InAttribute, OutAttribute] ref T4 pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + pointer = (T4)pointer_ptr.Target; + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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, 4. Additionally, the symbolic constant GL_BGRA is accepted by glVertexAttribPointer. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. The symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, and GL_UNSIGNED_INT are accepted by both functions. Additionally GL_HALF_FLOAT, GL_FLOAT, GL_DOUBLE, GL_FIXED, GL_INT_2_10_10_10_REV, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted by glVertexAttribPointer. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// For glVertexAttribPointer, 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 offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the GL_ARRAY_BUFFER target. The initial value is 0. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribPointerNV")] + public static + void VertexAttribPointer(UInt32 index, Int32 fsize, OpenTK.Graphics.OpenGL.VertexAttribParameterArb type, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)type, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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, 4. Additionally, the symbolic constant GL_BGRA is accepted by glVertexAttribPointer. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. The symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, and GL_UNSIGNED_INT are accepted by both functions. Additionally GL_HALF_FLOAT, GL_FLOAT, GL_DOUBLE, GL_FIXED, GL_INT_2_10_10_10_REV, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted by glVertexAttribPointer. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// For glVertexAttribPointer, 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 offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the GL_ARRAY_BUFFER target. The initial value is 0. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribPointerNV")] + public static + void VertexAttribPointer(UInt32 index, Int32 fsize, OpenTK.Graphics.OpenGL.VertexAttribParameterArb type, Int32 stride, [InAttribute, OutAttribute] T4[] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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, 4. Additionally, the symbolic constant GL_BGRA is accepted by glVertexAttribPointer. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. The symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, and GL_UNSIGNED_INT are accepted by both functions. Additionally GL_HALF_FLOAT, GL_FLOAT, GL_DOUBLE, GL_FIXED, GL_INT_2_10_10_10_REV, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted by glVertexAttribPointer. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// For glVertexAttribPointer, 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 offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the GL_ARRAY_BUFFER target. The initial value is 0. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribPointerNV")] + public static + void VertexAttribPointer(UInt32 index, Int32 fsize, OpenTK.Graphics.OpenGL.VertexAttribParameterArb type, Int32 stride, [InAttribute, OutAttribute] T4[,] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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, 4. Additionally, the symbolic constant GL_BGRA is accepted by glVertexAttribPointer. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. The symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, and GL_UNSIGNED_INT are accepted by both functions. Additionally GL_HALF_FLOAT, GL_FLOAT, GL_DOUBLE, GL_FIXED, GL_INT_2_10_10_10_REV, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted by glVertexAttribPointer. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// For glVertexAttribPointer, 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 offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the GL_ARRAY_BUFFER target. The initial value is 0. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribPointerNV")] + public static + void VertexAttribPointer(UInt32 index, Int32 fsize, OpenTK.Graphics.OpenGL.VertexAttribParameterArb type, Int32 stride, [InAttribute, OutAttribute] T4[,,] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: NV_vertex_program] + /// 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, 4. Additionally, the symbolic constant GL_BGRA is accepted by glVertexAttribPointer. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. The symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, and GL_UNSIGNED_INT are accepted by both functions. Additionally GL_HALF_FLOAT, GL_FLOAT, GL_DOUBLE, GL_FIXED, GL_INT_2_10_10_10_REV, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted by glVertexAttribPointer. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// For glVertexAttribPointer, 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 offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the GL_ARRAY_BUFFER target. The initial value is 0. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribPointerNV")] + public static + void VertexAttribPointer(UInt32 index, Int32 fsize, OpenTK.Graphics.OpenGL.VertexAttribParameterArb type, Int32 stride, [InAttribute, OutAttribute] ref T4 pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + pointer = (T4)pointer_ptr.Target; + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribs1dvNV")] + public static + void VertexAttribs1(Int32 index, Int32 count, Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glVertexAttribs1dvNV((UInt32)index, (Int32)count, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribs1dvNV")] + public static + void VertexAttribs1(Int32 index, Int32 count, ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glVertexAttribs1dvNV((UInt32)index, (Int32)count, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribs1dvNV")] + public static + unsafe void VertexAttribs1(Int32 index, Int32 count, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribs1dvNV((UInt32)index, (Int32)count, (Double*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribs1dvNV")] + public static + void VertexAttribs1(UInt32 index, Int32 count, Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glVertexAttribs1dvNV((UInt32)index, (Int32)count, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribs1dvNV")] + public static + void VertexAttribs1(UInt32 index, Int32 count, ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glVertexAttribs1dvNV((UInt32)index, (Int32)count, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribs1dvNV")] + public static + unsafe void VertexAttribs1(UInt32 index, Int32 count, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribs1dvNV((UInt32)index, (Int32)count, (Double*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribs1fvNV")] + public static + void VertexAttribs1(Int32 index, Int32 count, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glVertexAttribs1fvNV((UInt32)index, (Int32)count, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribs1fvNV")] + public static + void VertexAttribs1(Int32 index, Int32 count, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glVertexAttribs1fvNV((UInt32)index, (Int32)count, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribs1fvNV")] + public static + unsafe void VertexAttribs1(Int32 index, Int32 count, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribs1fvNV((UInt32)index, (Int32)count, (Single*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribs1fvNV")] + public static + void VertexAttribs1(UInt32 index, Int32 count, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glVertexAttribs1fvNV((UInt32)index, (Int32)count, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribs1fvNV")] + public static + void VertexAttribs1(UInt32 index, Int32 count, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glVertexAttribs1fvNV((UInt32)index, (Int32)count, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribs1fvNV")] + public static + unsafe void VertexAttribs1(UInt32 index, Int32 count, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribs1fvNV((UInt32)index, (Int32)count, (Single*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glVertexAttribs1hvNV")] + public static + void VertexAttribs1h(Int32 index, Int32 n, Half[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Half* v_ptr = v) + { + Delegates.glVertexAttribs1hvNV((UInt32)index, (Int32)n, (Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glVertexAttribs1hvNV")] + public static + void VertexAttribs1h(Int32 index, Int32 n, ref Half v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Half* v_ptr = &v) + { + Delegates.glVertexAttribs1hvNV((UInt32)index, (Int32)n, (Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glVertexAttribs1hvNV")] + public static + unsafe void VertexAttribs1h(Int32 index, Int32 n, Half* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribs1hvNV((UInt32)index, (Int32)n, (Half*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glVertexAttribs1hvNV")] + public static + void VertexAttribs1h(UInt32 index, Int32 n, Half[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Half* v_ptr = v) + { + Delegates.glVertexAttribs1hvNV((UInt32)index, (Int32)n, (Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glVertexAttribs1hvNV")] + public static + void VertexAttribs1h(UInt32 index, Int32 n, ref Half v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Half* v_ptr = &v) + { + Delegates.glVertexAttribs1hvNV((UInt32)index, (Int32)n, (Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glVertexAttribs1hvNV")] + public static + unsafe void VertexAttribs1h(UInt32 index, Int32 n, Half* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribs1hvNV((UInt32)index, (Int32)n, (Half*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribs1svNV")] + public static + void VertexAttribs1(Int32 index, Int32 count, Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glVertexAttribs1svNV((UInt32)index, (Int32)count, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribs1svNV")] + public static + void VertexAttribs1(Int32 index, Int32 count, ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glVertexAttribs1svNV((UInt32)index, (Int32)count, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribs1svNV")] + public static + unsafe void VertexAttribs1(Int32 index, Int32 count, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribs1svNV((UInt32)index, (Int32)count, (Int16*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribs1svNV")] + public static + void VertexAttribs1(UInt32 index, Int32 count, Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glVertexAttribs1svNV((UInt32)index, (Int32)count, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribs1svNV")] + public static + void VertexAttribs1(UInt32 index, Int32 count, ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glVertexAttribs1svNV((UInt32)index, (Int32)count, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribs1svNV")] + public static + unsafe void VertexAttribs1(UInt32 index, Int32 count, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribs1svNV((UInt32)index, (Int32)count, (Int16*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribs2dvNV")] + public static + void VertexAttribs2(Int32 index, Int32 count, Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glVertexAttribs2dvNV((UInt32)index, (Int32)count, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribs2dvNV")] + public static + void VertexAttribs2(Int32 index, Int32 count, ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glVertexAttribs2dvNV((UInt32)index, (Int32)count, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribs2dvNV")] + public static + unsafe void VertexAttribs2(Int32 index, Int32 count, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribs2dvNV((UInt32)index, (Int32)count, (Double*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribs2dvNV")] + public static + void VertexAttribs2(UInt32 index, Int32 count, Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glVertexAttribs2dvNV((UInt32)index, (Int32)count, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribs2dvNV")] + public static + void VertexAttribs2(UInt32 index, Int32 count, ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glVertexAttribs2dvNV((UInt32)index, (Int32)count, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribs2dvNV")] + public static + unsafe void VertexAttribs2(UInt32 index, Int32 count, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribs2dvNV((UInt32)index, (Int32)count, (Double*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribs2fvNV")] + public static + void VertexAttribs2(Int32 index, Int32 count, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glVertexAttribs2fvNV((UInt32)index, (Int32)count, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribs2fvNV")] + public static + void VertexAttribs2(Int32 index, Int32 count, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glVertexAttribs2fvNV((UInt32)index, (Int32)count, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribs2fvNV")] + public static + unsafe void VertexAttribs2(Int32 index, Int32 count, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribs2fvNV((UInt32)index, (Int32)count, (Single*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribs2fvNV")] + public static + void VertexAttribs2(UInt32 index, Int32 count, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glVertexAttribs2fvNV((UInt32)index, (Int32)count, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribs2fvNV")] + public static + void VertexAttribs2(UInt32 index, Int32 count, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glVertexAttribs2fvNV((UInt32)index, (Int32)count, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribs2fvNV")] + public static + unsafe void VertexAttribs2(UInt32 index, Int32 count, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribs2fvNV((UInt32)index, (Int32)count, (Single*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glVertexAttribs2hvNV")] + public static + void VertexAttribs2h(Int32 index, Int32 n, Half[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Half* v_ptr = v) + { + Delegates.glVertexAttribs2hvNV((UInt32)index, (Int32)n, (Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glVertexAttribs2hvNV")] + public static + void VertexAttribs2h(Int32 index, Int32 n, ref Half v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Half* v_ptr = &v) + { + Delegates.glVertexAttribs2hvNV((UInt32)index, (Int32)n, (Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glVertexAttribs2hvNV")] + public static + unsafe void VertexAttribs2h(Int32 index, Int32 n, Half* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribs2hvNV((UInt32)index, (Int32)n, (Half*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glVertexAttribs2hvNV")] + public static + void VertexAttribs2h(UInt32 index, Int32 n, Half[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Half* v_ptr = v) + { + Delegates.glVertexAttribs2hvNV((UInt32)index, (Int32)n, (Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glVertexAttribs2hvNV")] + public static + void VertexAttribs2h(UInt32 index, Int32 n, ref Half v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Half* v_ptr = &v) + { + Delegates.glVertexAttribs2hvNV((UInt32)index, (Int32)n, (Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glVertexAttribs2hvNV")] + public static + unsafe void VertexAttribs2h(UInt32 index, Int32 n, Half* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribs2hvNV((UInt32)index, (Int32)n, (Half*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribs2svNV")] + public static + void VertexAttribs2(Int32 index, Int32 count, Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glVertexAttribs2svNV((UInt32)index, (Int32)count, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribs2svNV")] + public static + void VertexAttribs2(Int32 index, Int32 count, ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glVertexAttribs2svNV((UInt32)index, (Int32)count, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribs2svNV")] + public static + unsafe void VertexAttribs2(Int32 index, Int32 count, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribs2svNV((UInt32)index, (Int32)count, (Int16*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribs2svNV")] + public static + void VertexAttribs2(UInt32 index, Int32 count, Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glVertexAttribs2svNV((UInt32)index, (Int32)count, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribs2svNV")] + public static + void VertexAttribs2(UInt32 index, Int32 count, ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glVertexAttribs2svNV((UInt32)index, (Int32)count, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribs2svNV")] + public static + unsafe void VertexAttribs2(UInt32 index, Int32 count, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribs2svNV((UInt32)index, (Int32)count, (Int16*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribs3dvNV")] + public static + void VertexAttribs3(Int32 index, Int32 count, Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glVertexAttribs3dvNV((UInt32)index, (Int32)count, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribs3dvNV")] + public static + void VertexAttribs3(Int32 index, Int32 count, ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glVertexAttribs3dvNV((UInt32)index, (Int32)count, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribs3dvNV")] + public static + unsafe void VertexAttribs3(Int32 index, Int32 count, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribs3dvNV((UInt32)index, (Int32)count, (Double*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribs3dvNV")] + public static + void VertexAttribs3(UInt32 index, Int32 count, Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glVertexAttribs3dvNV((UInt32)index, (Int32)count, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribs3dvNV")] + public static + void VertexAttribs3(UInt32 index, Int32 count, ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glVertexAttribs3dvNV((UInt32)index, (Int32)count, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribs3dvNV")] + public static + unsafe void VertexAttribs3(UInt32 index, Int32 count, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribs3dvNV((UInt32)index, (Int32)count, (Double*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribs3fvNV")] + public static + void VertexAttribs3(Int32 index, Int32 count, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glVertexAttribs3fvNV((UInt32)index, (Int32)count, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribs3fvNV")] + public static + void VertexAttribs3(Int32 index, Int32 count, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glVertexAttribs3fvNV((UInt32)index, (Int32)count, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribs3fvNV")] + public static + unsafe void VertexAttribs3(Int32 index, Int32 count, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribs3fvNV((UInt32)index, (Int32)count, (Single*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribs3fvNV")] + public static + void VertexAttribs3(UInt32 index, Int32 count, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glVertexAttribs3fvNV((UInt32)index, (Int32)count, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribs3fvNV")] + public static + void VertexAttribs3(UInt32 index, Int32 count, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glVertexAttribs3fvNV((UInt32)index, (Int32)count, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribs3fvNV")] + public static + unsafe void VertexAttribs3(UInt32 index, Int32 count, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribs3fvNV((UInt32)index, (Int32)count, (Single*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glVertexAttribs3hvNV")] + public static + void VertexAttribs3h(Int32 index, Int32 n, Half[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Half* v_ptr = v) + { + Delegates.glVertexAttribs3hvNV((UInt32)index, (Int32)n, (Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glVertexAttribs3hvNV")] + public static + void VertexAttribs3h(Int32 index, Int32 n, ref Half v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Half* v_ptr = &v) + { + Delegates.glVertexAttribs3hvNV((UInt32)index, (Int32)n, (Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glVertexAttribs3hvNV")] + public static + unsafe void VertexAttribs3h(Int32 index, Int32 n, Half* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribs3hvNV((UInt32)index, (Int32)n, (Half*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glVertexAttribs3hvNV")] + public static + void VertexAttribs3h(UInt32 index, Int32 n, Half[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Half* v_ptr = v) + { + Delegates.glVertexAttribs3hvNV((UInt32)index, (Int32)n, (Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glVertexAttribs3hvNV")] + public static + void VertexAttribs3h(UInt32 index, Int32 n, ref Half v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Half* v_ptr = &v) + { + Delegates.glVertexAttribs3hvNV((UInt32)index, (Int32)n, (Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glVertexAttribs3hvNV")] + public static + unsafe void VertexAttribs3h(UInt32 index, Int32 n, Half* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribs3hvNV((UInt32)index, (Int32)n, (Half*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribs3svNV")] + public static + void VertexAttribs3(Int32 index, Int32 count, Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glVertexAttribs3svNV((UInt32)index, (Int32)count, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribs3svNV")] + public static + void VertexAttribs3(Int32 index, Int32 count, ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glVertexAttribs3svNV((UInt32)index, (Int32)count, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribs3svNV")] + public static + unsafe void VertexAttribs3(Int32 index, Int32 count, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribs3svNV((UInt32)index, (Int32)count, (Int16*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribs3svNV")] + public static + void VertexAttribs3(UInt32 index, Int32 count, Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glVertexAttribs3svNV((UInt32)index, (Int32)count, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribs3svNV")] + public static + void VertexAttribs3(UInt32 index, Int32 count, ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glVertexAttribs3svNV((UInt32)index, (Int32)count, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribs3svNV")] + public static + unsafe void VertexAttribs3(UInt32 index, Int32 count, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribs3svNV((UInt32)index, (Int32)count, (Int16*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribs4dvNV")] + public static + void VertexAttribs4(Int32 index, Int32 count, Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glVertexAttribs4dvNV((UInt32)index, (Int32)count, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribs4dvNV")] + public static + void VertexAttribs4(Int32 index, Int32 count, ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glVertexAttribs4dvNV((UInt32)index, (Int32)count, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribs4dvNV")] + public static + unsafe void VertexAttribs4(Int32 index, Int32 count, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribs4dvNV((UInt32)index, (Int32)count, (Double*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribs4dvNV")] + public static + void VertexAttribs4(UInt32 index, Int32 count, Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glVertexAttribs4dvNV((UInt32)index, (Int32)count, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribs4dvNV")] + public static + void VertexAttribs4(UInt32 index, Int32 count, ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glVertexAttribs4dvNV((UInt32)index, (Int32)count, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribs4dvNV")] + public static + unsafe void VertexAttribs4(UInt32 index, Int32 count, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribs4dvNV((UInt32)index, (Int32)count, (Double*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribs4fvNV")] + public static + void VertexAttribs4(Int32 index, Int32 count, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glVertexAttribs4fvNV((UInt32)index, (Int32)count, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribs4fvNV")] + public static + void VertexAttribs4(Int32 index, Int32 count, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glVertexAttribs4fvNV((UInt32)index, (Int32)count, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribs4fvNV")] + public static + unsafe void VertexAttribs4(Int32 index, Int32 count, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribs4fvNV((UInt32)index, (Int32)count, (Single*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribs4fvNV")] + public static + void VertexAttribs4(UInt32 index, Int32 count, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glVertexAttribs4fvNV((UInt32)index, (Int32)count, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribs4fvNV")] + public static + void VertexAttribs4(UInt32 index, Int32 count, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glVertexAttribs4fvNV((UInt32)index, (Int32)count, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribs4fvNV")] + public static + unsafe void VertexAttribs4(UInt32 index, Int32 count, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribs4fvNV((UInt32)index, (Int32)count, (Single*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glVertexAttribs4hvNV")] + public static + void VertexAttribs4h(Int32 index, Int32 n, Half[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Half* v_ptr = v) + { + Delegates.glVertexAttribs4hvNV((UInt32)index, (Int32)n, (Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glVertexAttribs4hvNV")] + public static + void VertexAttribs4h(Int32 index, Int32 n, ref Half v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Half* v_ptr = &v) + { + Delegates.glVertexAttribs4hvNV((UInt32)index, (Int32)n, (Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glVertexAttribs4hvNV")] + public static + unsafe void VertexAttribs4h(Int32 index, Int32 n, Half* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribs4hvNV((UInt32)index, (Int32)n, (Half*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glVertexAttribs4hvNV")] + public static + void VertexAttribs4h(UInt32 index, Int32 n, Half[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Half* v_ptr = v) + { + Delegates.glVertexAttribs4hvNV((UInt32)index, (Int32)n, (Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glVertexAttribs4hvNV")] + public static + void VertexAttribs4h(UInt32 index, Int32 n, ref Half v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Half* v_ptr = &v) + { + Delegates.glVertexAttribs4hvNV((UInt32)index, (Int32)n, (Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glVertexAttribs4hvNV")] + public static + unsafe void VertexAttribs4h(UInt32 index, Int32 n, Half* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribs4hvNV((UInt32)index, (Int32)n, (Half*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribs4svNV")] + public static + void VertexAttribs4(Int32 index, Int32 count, Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glVertexAttribs4svNV((UInt32)index, (Int32)count, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribs4svNV")] + public static + void VertexAttribs4(Int32 index, Int32 count, ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glVertexAttribs4svNV((UInt32)index, (Int32)count, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribs4svNV")] + public static + unsafe void VertexAttribs4(Int32 index, Int32 count, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribs4svNV((UInt32)index, (Int32)count, (Int16*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribs4svNV")] + public static + void VertexAttribs4(UInt32 index, Int32 count, Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glVertexAttribs4svNV((UInt32)index, (Int32)count, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribs4svNV")] + public static + void VertexAttribs4(UInt32 index, Int32 count, ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glVertexAttribs4svNV((UInt32)index, (Int32)count, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribs4svNV")] + public static + unsafe void VertexAttribs4(UInt32 index, Int32 count, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribs4svNV((UInt32)index, (Int32)count, (Int16*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribs4ubvNV")] + public static + void VertexAttribs4(Int32 index, Int32 count, Byte[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = v) + { + Delegates.glVertexAttribs4ubvNV((UInt32)index, (Int32)count, (Byte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribs4ubvNV")] + public static + void VertexAttribs4(Int32 index, Int32 count, ref Byte v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = &v) + { + Delegates.glVertexAttribs4ubvNV((UInt32)index, (Int32)count, (Byte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribs4ubvNV")] + public static + unsafe void VertexAttribs4(Int32 index, Int32 count, Byte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribs4ubvNV((UInt32)index, (Int32)count, (Byte*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribs4ubvNV")] + public static + void VertexAttribs4(UInt32 index, Int32 count, Byte[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = v) + { + Delegates.glVertexAttribs4ubvNV((UInt32)index, (Int32)count, (Byte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribs4ubvNV")] + public static + void VertexAttribs4(UInt32 index, Int32 count, ref Byte v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = &v) + { + Delegates.glVertexAttribs4ubvNV((UInt32)index, (Int32)count, (Byte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "1.2", EntryPoint = "glVertexAttribs4ubvNV")] + public static + unsafe void VertexAttribs4(UInt32 index, Int32 count, Byte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribs4ubvNV((UInt32)index, (Int32)count, (Byte*)v); + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_buffer_unified_memory] + [AutoGenerated(Category = "NV_vertex_buffer_unified_memory", Version = "1.2", EntryPoint = "glVertexFormatNV")] + public static + void VertexFormat(Int32 size, OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexFormatNV((Int32)size, (OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory)type, (Int32)stride); + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glVertexWeighthNV")] + public static + void VertexWeighth(Half weight) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexWeighthNV((Half)weight); + #if DEBUG + } + #endif + } + + /// [requires: NV_half_float] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_half_float", Version = "1.2", EntryPoint = "glVertexWeighthvNV")] + public static + unsafe void VertexWeighth(Half* weight) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexWeighthvNV((Half*)weight); + #if DEBUG + } + #endif + } + + /// [requires: NV_video_capture] + [AutoGenerated(Category = "NV_video_capture", Version = "1.2", EntryPoint = "glVideoCaptureNV")] + public static + OpenTK.Graphics.OpenGL.NvVideoCapture VideoCapture(Int32 video_capture_slot, [OutAttribute] Int32[] sequence_num, [OutAttribute] Int64[] capture_time) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* sequence_num_ptr = sequence_num) + fixed (Int64* capture_time_ptr = capture_time) + { + return Delegates.glVideoCaptureNV((UInt32)video_capture_slot, (UInt32*)sequence_num_ptr, (UInt64*)capture_time_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_video_capture] + [AutoGenerated(Category = "NV_video_capture", Version = "1.2", EntryPoint = "glVideoCaptureNV")] + public static + OpenTK.Graphics.OpenGL.NvVideoCapture VideoCapture(Int32 video_capture_slot, [OutAttribute] out Int32 sequence_num, [OutAttribute] out Int64 capture_time) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* sequence_num_ptr = &sequence_num) + fixed (Int64* capture_time_ptr = &capture_time) + { + OpenTK.Graphics.OpenGL.NvVideoCapture retval = Delegates.glVideoCaptureNV((UInt32)video_capture_slot, (UInt32*)sequence_num_ptr, (UInt64*)capture_time_ptr); + sequence_num = *sequence_num_ptr; + capture_time = *capture_time_ptr; + return retval; + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_video_capture] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_video_capture", Version = "1.2", EntryPoint = "glVideoCaptureNV")] + public static + unsafe OpenTK.Graphics.OpenGL.NvVideoCapture VideoCapture(Int32 video_capture_slot, [OutAttribute] Int32* sequence_num, [OutAttribute] Int64* capture_time) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glVideoCaptureNV((UInt32)video_capture_slot, (UInt32*)sequence_num, (UInt64*)capture_time); + #if DEBUG + } + #endif + } + + /// [requires: NV_video_capture] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_video_capture", Version = "1.2", EntryPoint = "glVideoCaptureNV")] + public static + OpenTK.Graphics.OpenGL.NvVideoCapture VideoCapture(UInt32 video_capture_slot, [OutAttribute] UInt32[] sequence_num, [OutAttribute] UInt64[] capture_time) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* sequence_num_ptr = sequence_num) + fixed (UInt64* capture_time_ptr = capture_time) + { + return Delegates.glVideoCaptureNV((UInt32)video_capture_slot, (UInt32*)sequence_num_ptr, (UInt64*)capture_time_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_video_capture] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_video_capture", Version = "1.2", EntryPoint = "glVideoCaptureNV")] + public static + OpenTK.Graphics.OpenGL.NvVideoCapture VideoCapture(UInt32 video_capture_slot, [OutAttribute] out UInt32 sequence_num, [OutAttribute] out UInt64 capture_time) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* sequence_num_ptr = &sequence_num) + fixed (UInt64* capture_time_ptr = &capture_time) + { + OpenTK.Graphics.OpenGL.NvVideoCapture retval = Delegates.glVideoCaptureNV((UInt32)video_capture_slot, (UInt32*)sequence_num_ptr, (UInt64*)capture_time_ptr); + sequence_num = *sequence_num_ptr; + capture_time = *capture_time_ptr; + return retval; + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_video_capture] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_video_capture", Version = "1.2", EntryPoint = "glVideoCaptureNV")] + public static + unsafe OpenTK.Graphics.OpenGL.NvVideoCapture VideoCapture(UInt32 video_capture_slot, [OutAttribute] UInt32* sequence_num, [OutAttribute] UInt64* capture_time) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glVideoCaptureNV((UInt32)video_capture_slot, (UInt32*)sequence_num, (UInt64*)capture_time); + #if DEBUG + } + #endif + } + + /// [requires: NV_video_capture] + [AutoGenerated(Category = "NV_video_capture", Version = "1.2", EntryPoint = "glVideoCaptureStreamParameterdvNV")] + public static + void VideoCaptureStreamParameter(Int32 video_capture_slot, Int32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, Double[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = @params) + { + Delegates.glVideoCaptureStreamParameterdvNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_video_capture] + [AutoGenerated(Category = "NV_video_capture", Version = "1.2", EntryPoint = "glVideoCaptureStreamParameterdvNV")] + public static + void VideoCaptureStreamParameter(Int32 video_capture_slot, Int32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, ref Double @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = &@params) + { + Delegates.glVideoCaptureStreamParameterdvNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_video_capture] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_video_capture", Version = "1.2", EntryPoint = "glVideoCaptureStreamParameterdvNV")] + public static + unsafe void VideoCaptureStreamParameter(Int32 video_capture_slot, Int32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVideoCaptureStreamParameterdvNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Double*)@params); + #if DEBUG + } + #endif + } + + /// [requires: NV_video_capture] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_video_capture", Version = "1.2", EntryPoint = "glVideoCaptureStreamParameterdvNV")] + public static + void VideoCaptureStreamParameter(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, Double[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = @params) + { + Delegates.glVideoCaptureStreamParameterdvNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_video_capture] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_video_capture", Version = "1.2", EntryPoint = "glVideoCaptureStreamParameterdvNV")] + public static + void VideoCaptureStreamParameter(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, ref Double @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = &@params) + { + Delegates.glVideoCaptureStreamParameterdvNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_video_capture] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_video_capture", Version = "1.2", EntryPoint = "glVideoCaptureStreamParameterdvNV")] + public static + unsafe void VideoCaptureStreamParameter(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVideoCaptureStreamParameterdvNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Double*)@params); + #if DEBUG + } + #endif + } + + /// [requires: NV_video_capture] + [AutoGenerated(Category = "NV_video_capture", Version = "1.2", EntryPoint = "glVideoCaptureStreamParameterfvNV")] + public static + void VideoCaptureStreamParameter(Int32 video_capture_slot, Int32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glVideoCaptureStreamParameterfvNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_video_capture] + [AutoGenerated(Category = "NV_video_capture", Version = "1.2", EntryPoint = "glVideoCaptureStreamParameterfvNV")] + public static + void VideoCaptureStreamParameter(Int32 video_capture_slot, Int32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, ref Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glVideoCaptureStreamParameterfvNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_video_capture] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_video_capture", Version = "1.2", EntryPoint = "glVideoCaptureStreamParameterfvNV")] + public static + unsafe void VideoCaptureStreamParameter(Int32 video_capture_slot, Int32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVideoCaptureStreamParameterfvNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: NV_video_capture] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_video_capture", Version = "1.2", EntryPoint = "glVideoCaptureStreamParameterfvNV")] + public static + void VideoCaptureStreamParameter(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glVideoCaptureStreamParameterfvNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_video_capture] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_video_capture", Version = "1.2", EntryPoint = "glVideoCaptureStreamParameterfvNV")] + public static + void VideoCaptureStreamParameter(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, ref Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glVideoCaptureStreamParameterfvNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_video_capture] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_video_capture", Version = "1.2", EntryPoint = "glVideoCaptureStreamParameterfvNV")] + public static + unsafe void VideoCaptureStreamParameter(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVideoCaptureStreamParameterfvNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: NV_video_capture] + [AutoGenerated(Category = "NV_video_capture", Version = "1.2", EntryPoint = "glVideoCaptureStreamParameterivNV")] + public static + void VideoCaptureStreamParameter(Int32 video_capture_slot, Int32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glVideoCaptureStreamParameterivNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_video_capture] + [AutoGenerated(Category = "NV_video_capture", Version = "1.2", EntryPoint = "glVideoCaptureStreamParameterivNV")] + public static + void VideoCaptureStreamParameter(Int32 video_capture_slot, Int32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, ref Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glVideoCaptureStreamParameterivNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_video_capture] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_video_capture", Version = "1.2", EntryPoint = "glVideoCaptureStreamParameterivNV")] + public static + unsafe void VideoCaptureStreamParameter(Int32 video_capture_slot, Int32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVideoCaptureStreamParameterivNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: NV_video_capture] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_video_capture", Version = "1.2", EntryPoint = "glVideoCaptureStreamParameterivNV")] + public static + void VideoCaptureStreamParameter(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glVideoCaptureStreamParameterivNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_video_capture] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_video_capture", Version = "1.2", EntryPoint = "glVideoCaptureStreamParameterivNV")] + public static + void VideoCaptureStreamParameter(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, ref Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glVideoCaptureStreamParameterivNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_video_capture] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_video_capture", Version = "1.2", EntryPoint = "glVideoCaptureStreamParameterivNV")] + public static + unsafe void VideoCaptureStreamParameter(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVideoCaptureStreamParameterivNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + } + + public static partial class Pgi + { + + /// [requires: PGI_misc_hints] + /// Specify implementation-specific hints + /// + /// + /// + /// Specifies a symbolic constant indicating the behavior to be controlled. GL_LINE_SMOOTH_HINT, GL_POLYGON_SMOOTH_HINT, GL_TEXTURE_COMPRESSION_HINT, and GL_FRAGMENT_SHADER_DERIVATIVE_HINT are accepted. + /// + /// + /// + /// + /// Specifies a symbolic constant indicating the desired behavior. GL_FASTEST, GL_NICEST, and GL_DONT_CARE are accepted. + /// + /// + [AutoGenerated(Category = "PGI_misc_hints", Version = "1.1", EntryPoint = "glHintPGI")] + public static + void Hint(OpenTK.Graphics.OpenGL.PgiMiscHints target, Int32 mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glHintPGI((OpenTK.Graphics.OpenGL.PgiMiscHints)target, (Int32)mode); + #if DEBUG + } + #endif + } + + } + + public static partial class Sgi + { + + /// [requires: SGI_color_table] + /// Set color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a texture color lookup table parameter. Must be one of GL_COLOR_TABLE_SCALE or GL_COLOR_TABLE_BIAS. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameters are stored. + /// + /// + [AutoGenerated(Category = "SGI_color_table", Version = "1.0", EntryPoint = "glColorTableParameterfvSGI")] + public static + void ColorTableParameter(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glColorTableParameterfvSGI((OpenTK.Graphics.OpenGL.SgiColorTable)target, (OpenTK.Graphics.OpenGL.SgiColorTable)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: SGI_color_table] + /// Set color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a texture color lookup table parameter. Must be one of GL_COLOR_TABLE_SCALE or GL_COLOR_TABLE_BIAS. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameters are stored. + /// + /// + [AutoGenerated(Category = "SGI_color_table", Version = "1.0", EntryPoint = "glColorTableParameterfvSGI")] + public static + void ColorTableParameter(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, ref Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glColorTableParameterfvSGI((OpenTK.Graphics.OpenGL.SgiColorTable)target, (OpenTK.Graphics.OpenGL.SgiColorTable)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: SGI_color_table] + /// Set color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a texture color lookup table parameter. Must be one of GL_COLOR_TABLE_SCALE or GL_COLOR_TABLE_BIAS. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameters are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SGI_color_table", Version = "1.0", EntryPoint = "glColorTableParameterfvSGI")] + public static + unsafe void ColorTableParameter(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColorTableParameterfvSGI((OpenTK.Graphics.OpenGL.SgiColorTable)target, (OpenTK.Graphics.OpenGL.SgiColorTable)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: SGI_color_table] + /// Set color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a texture color lookup table parameter. Must be one of GL_COLOR_TABLE_SCALE or GL_COLOR_TABLE_BIAS. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameters are stored. + /// + /// + [AutoGenerated(Category = "SGI_color_table", Version = "1.0", EntryPoint = "glColorTableParameterivSGI")] + public static + void ColorTableParameter(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glColorTableParameterivSGI((OpenTK.Graphics.OpenGL.SgiColorTable)target, (OpenTK.Graphics.OpenGL.SgiColorTable)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: SGI_color_table] + /// Set color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a texture color lookup table parameter. Must be one of GL_COLOR_TABLE_SCALE or GL_COLOR_TABLE_BIAS. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameters are stored. + /// + /// + [AutoGenerated(Category = "SGI_color_table", Version = "1.0", EntryPoint = "glColorTableParameterivSGI")] + public static + void ColorTableParameter(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, ref Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glColorTableParameterivSGI((OpenTK.Graphics.OpenGL.SgiColorTable)target, (OpenTK.Graphics.OpenGL.SgiColorTable)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: SGI_color_table] + /// Set color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a texture color lookup table parameter. Must be one of GL_COLOR_TABLE_SCALE or GL_COLOR_TABLE_BIAS. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameters are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SGI_color_table", Version = "1.0", EntryPoint = "glColorTableParameterivSGI")] + public static + unsafe void ColorTableParameter(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColorTableParameterivSGI((OpenTK.Graphics.OpenGL.SgiColorTable)target, (OpenTK.Graphics.OpenGL.SgiColorTable)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: SGI_color_table] + /// Define a color lookup table + /// + /// + /// + /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The internal format of the color table. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, and GL_RGBA16. + /// + /// + /// + /// + /// The number of entries in the color lookup table specified by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. + /// + /// + [AutoGenerated(Category = "SGI_color_table", Version = "1.0", EntryPoint = "glColorTableSGI")] + public static + void ColorTable(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr table) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColorTableSGI((OpenTK.Graphics.OpenGL.SgiColorTable)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table); + #if DEBUG + } + #endif + } + + + /// [requires: SGI_color_table] + /// Define a color lookup table + /// + /// + /// + /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The internal format of the color table. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, and GL_RGBA16. + /// + /// + /// + /// + /// The number of entries in the color lookup table specified by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. + /// + /// + [AutoGenerated(Category = "SGI_color_table", Version = "1.0", EntryPoint = "glColorTableSGI")] + public static + void ColorTable(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[] table) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); + try + { + Delegates.glColorTableSGI((OpenTK.Graphics.OpenGL.SgiColorTable)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + } + finally + { + table_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: SGI_color_table] + /// Define a color lookup table + /// + /// + /// + /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The internal format of the color table. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, and GL_RGBA16. + /// + /// + /// + /// + /// The number of entries in the color lookup table specified by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. + /// + /// + [AutoGenerated(Category = "SGI_color_table", Version = "1.0", EntryPoint = "glColorTableSGI")] + public static + void ColorTable(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[,] table) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); + try + { + Delegates.glColorTableSGI((OpenTK.Graphics.OpenGL.SgiColorTable)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + } + finally + { + table_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: SGI_color_table] + /// Define a color lookup table + /// + /// + /// + /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The internal format of the color table. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, and GL_RGBA16. + /// + /// + /// + /// + /// The number of entries in the color lookup table specified by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. + /// + /// + [AutoGenerated(Category = "SGI_color_table", Version = "1.0", EntryPoint = "glColorTableSGI")] + public static + void ColorTable(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[,,] table) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); + try + { + Delegates.glColorTableSGI((OpenTK.Graphics.OpenGL.SgiColorTable)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + } + finally + { + table_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: SGI_color_table] + /// Define a color lookup table + /// + /// + /// + /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The internal format of the color table. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, and GL_RGBA16. + /// + /// + /// + /// + /// The number of entries in the color lookup table specified by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. + /// + /// + [AutoGenerated(Category = "SGI_color_table", Version = "1.0", EntryPoint = "glColorTableSGI")] + public static + void ColorTable(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T5 table) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); + try + { + Delegates.glColorTableSGI((OpenTK.Graphics.OpenGL.SgiColorTable)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + table = (T5)table_ptr.Target; + } + finally + { + table_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: SGI_color_table] + /// Copy pixels into a color table + /// + /// + /// + /// The color table target. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The internal storage format of the texture image. Must be one of the following symbolic constants: GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The x coordinate of the lower-left corner of the pixel rectangle to be transferred to the color table. + /// + /// + /// + /// + /// The y coordinate of the lower-left corner of the pixel rectangle to be transferred to the color table. + /// + /// + /// + /// + /// The width of the pixel rectangle. + /// + /// + [AutoGenerated(Category = "SGI_color_table", Version = "1.0", EntryPoint = "glCopyColorTableSGI")] + public static + void CopyColorTable(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCopyColorTableSGI((OpenTK.Graphics.OpenGL.SgiColorTable)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width); + #if DEBUG + } + #endif + } + + + /// [requires: SGI_color_table] + /// Get color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a color lookup table parameter. Must be one of GL_COLOR_TABLE_BIAS, GL_COLOR_TABLE_SCALE, GL_COLOR_TABLE_FORMAT, GL_COLOR_TABLE_WIDTH, GL_COLOR_TABLE_RED_SIZE, GL_COLOR_TABLE_GREEN_SIZE, GL_COLOR_TABLE_BLUE_SIZE, GL_COLOR_TABLE_ALPHA_SIZE, GL_COLOR_TABLE_LUMINANCE_SIZE, or GL_COLOR_TABLE_INTENSITY_SIZE. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameter will be stored. + /// + /// + [AutoGenerated(Category = "SGI_color_table", Version = "1.0", EntryPoint = "glGetColorTableParameterfvSGI")] + public static + void GetColorTableParameter(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetColorTableParameterfvSGI((OpenTK.Graphics.OpenGL.SgiColorTable)target, (OpenTK.Graphics.OpenGL.SgiColorTable)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: SGI_color_table] + /// Get color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a color lookup table parameter. Must be one of GL_COLOR_TABLE_BIAS, GL_COLOR_TABLE_SCALE, GL_COLOR_TABLE_FORMAT, GL_COLOR_TABLE_WIDTH, GL_COLOR_TABLE_RED_SIZE, GL_COLOR_TABLE_GREEN_SIZE, GL_COLOR_TABLE_BLUE_SIZE, GL_COLOR_TABLE_ALPHA_SIZE, GL_COLOR_TABLE_LUMINANCE_SIZE, or GL_COLOR_TABLE_INTENSITY_SIZE. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameter will be stored. + /// + /// + [AutoGenerated(Category = "SGI_color_table", Version = "1.0", EntryPoint = "glGetColorTableParameterfvSGI")] + public static + void GetColorTableParameter(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetColorTableParameterfvSGI((OpenTK.Graphics.OpenGL.SgiColorTable)target, (OpenTK.Graphics.OpenGL.SgiColorTable)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: SGI_color_table] + /// Get color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a color lookup table parameter. Must be one of GL_COLOR_TABLE_BIAS, GL_COLOR_TABLE_SCALE, GL_COLOR_TABLE_FORMAT, GL_COLOR_TABLE_WIDTH, GL_COLOR_TABLE_RED_SIZE, GL_COLOR_TABLE_GREEN_SIZE, GL_COLOR_TABLE_BLUE_SIZE, GL_COLOR_TABLE_ALPHA_SIZE, GL_COLOR_TABLE_LUMINANCE_SIZE, or GL_COLOR_TABLE_INTENSITY_SIZE. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameter will be stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SGI_color_table", Version = "1.0", EntryPoint = "glGetColorTableParameterfvSGI")] + public static + unsafe void GetColorTableParameter(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetColorTableParameterfvSGI((OpenTK.Graphics.OpenGL.SgiColorTable)target, (OpenTK.Graphics.OpenGL.SgiColorTable)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: SGI_color_table] + /// Get color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a color lookup table parameter. Must be one of GL_COLOR_TABLE_BIAS, GL_COLOR_TABLE_SCALE, GL_COLOR_TABLE_FORMAT, GL_COLOR_TABLE_WIDTH, GL_COLOR_TABLE_RED_SIZE, GL_COLOR_TABLE_GREEN_SIZE, GL_COLOR_TABLE_BLUE_SIZE, GL_COLOR_TABLE_ALPHA_SIZE, GL_COLOR_TABLE_LUMINANCE_SIZE, or GL_COLOR_TABLE_INTENSITY_SIZE. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameter will be stored. + /// + /// + [AutoGenerated(Category = "SGI_color_table", Version = "1.0", EntryPoint = "glGetColorTableParameterivSGI")] + public static + void GetColorTableParameter(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetColorTableParameterivSGI((OpenTK.Graphics.OpenGL.SgiColorTable)target, (OpenTK.Graphics.OpenGL.SgiColorTable)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: SGI_color_table] + /// Get color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a color lookup table parameter. Must be one of GL_COLOR_TABLE_BIAS, GL_COLOR_TABLE_SCALE, GL_COLOR_TABLE_FORMAT, GL_COLOR_TABLE_WIDTH, GL_COLOR_TABLE_RED_SIZE, GL_COLOR_TABLE_GREEN_SIZE, GL_COLOR_TABLE_BLUE_SIZE, GL_COLOR_TABLE_ALPHA_SIZE, GL_COLOR_TABLE_LUMINANCE_SIZE, or GL_COLOR_TABLE_INTENSITY_SIZE. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameter will be stored. + /// + /// + [AutoGenerated(Category = "SGI_color_table", Version = "1.0", EntryPoint = "glGetColorTableParameterivSGI")] + public static + void GetColorTableParameter(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetColorTableParameterivSGI((OpenTK.Graphics.OpenGL.SgiColorTable)target, (OpenTK.Graphics.OpenGL.SgiColorTable)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// [requires: SGI_color_table] + /// Get color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a color lookup table parameter. Must be one of GL_COLOR_TABLE_BIAS, GL_COLOR_TABLE_SCALE, GL_COLOR_TABLE_FORMAT, GL_COLOR_TABLE_WIDTH, GL_COLOR_TABLE_RED_SIZE, GL_COLOR_TABLE_GREEN_SIZE, GL_COLOR_TABLE_BLUE_SIZE, GL_COLOR_TABLE_ALPHA_SIZE, GL_COLOR_TABLE_LUMINANCE_SIZE, or GL_COLOR_TABLE_INTENSITY_SIZE. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameter will be stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SGI_color_table", Version = "1.0", EntryPoint = "glGetColorTableParameterivSGI")] + public static + unsafe void GetColorTableParameter(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetColorTableParameterivSGI((OpenTK.Graphics.OpenGL.SgiColorTable)target, (OpenTK.Graphics.OpenGL.SgiColorTable)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: SGI_color_table] + /// Retrieve contents of a color lookup table + /// + /// + /// + /// Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The format of the pixel data in table. The possible values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in table. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. + /// + /// + [AutoGenerated(Category = "SGI_color_table", Version = "1.0", EntryPoint = "glGetColorTableSGI")] + public static + void GetColorTable(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr table) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetColorTableSGI((OpenTK.Graphics.OpenGL.SgiColorTable)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table); + #if DEBUG + } + #endif + } + + + /// [requires: SGI_color_table] + /// Retrieve contents of a color lookup table + /// + /// + /// + /// Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The format of the pixel data in table. The possible values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in table. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. + /// + /// + [AutoGenerated(Category = "SGI_color_table", Version = "1.0", EntryPoint = "glGetColorTableSGI")] + public static + void GetColorTable(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[] table) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); + try + { + Delegates.glGetColorTableSGI((OpenTK.Graphics.OpenGL.SgiColorTable)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + } + finally + { + table_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: SGI_color_table] + /// Retrieve contents of a color lookup table + /// + /// + /// + /// Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The format of the pixel data in table. The possible values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in table. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. + /// + /// + [AutoGenerated(Category = "SGI_color_table", Version = "1.0", EntryPoint = "glGetColorTableSGI")] + public static + void GetColorTable(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[,] table) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); + try + { + Delegates.glGetColorTableSGI((OpenTK.Graphics.OpenGL.SgiColorTable)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + } + finally + { + table_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: SGI_color_table] + /// Retrieve contents of a color lookup table + /// + /// + /// + /// Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The format of the pixel data in table. The possible values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in table. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. + /// + /// + [AutoGenerated(Category = "SGI_color_table", Version = "1.0", EntryPoint = "glGetColorTableSGI")] + public static + void GetColorTable(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[,,] table) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); + try + { + Delegates.glGetColorTableSGI((OpenTK.Graphics.OpenGL.SgiColorTable)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + } + finally + { + table_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// [requires: SGI_color_table] + /// Retrieve contents of a color lookup table + /// + /// + /// + /// Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The format of the pixel data in table. The possible values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in table. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. + /// + /// + [AutoGenerated(Category = "SGI_color_table", Version = "1.0", EntryPoint = "glGetColorTableSGI")] + public static + void GetColorTable(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T3 table) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); + try + { + Delegates.glGetColorTableSGI((OpenTK.Graphics.OpenGL.SgiColorTable)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + table = (T3)table_ptr.Target; + } + finally + { + table_ptr.Free(); + } + #if DEBUG + } + #endif + } + + } + + public static partial class Sgis + { + /// [requires: SGIS_detail_texture] + [AutoGenerated(Category = "SGIS_detail_texture", Version = "1.0", EntryPoint = "glDetailTexFuncSGIS")] + public static + void DetailTexFunc(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 n, Single[] points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* points_ptr = points) + { + Delegates.glDetailTexFuncSGIS((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)n, (Single*)points_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SGIS_detail_texture] + [AutoGenerated(Category = "SGIS_detail_texture", Version = "1.0", EntryPoint = "glDetailTexFuncSGIS")] + public static + void DetailTexFunc(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 n, ref Single points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* points_ptr = &points) + { + Delegates.glDetailTexFuncSGIS((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)n, (Single*)points_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SGIS_detail_texture] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SGIS_detail_texture", Version = "1.0", EntryPoint = "glDetailTexFuncSGIS")] + public static + unsafe void DetailTexFunc(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 n, Single* points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDetailTexFuncSGIS((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)n, (Single*)points); + #if DEBUG + } + #endif + } + + /// [requires: SGIS_fog_function] + [AutoGenerated(Category = "SGIS_fog_function", Version = "1.1", EntryPoint = "glFogFuncSGIS")] + public static + void FogFunc(Int32 n, Single[] points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* points_ptr = points) + { + Delegates.glFogFuncSGIS((Int32)n, (Single*)points_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SGIS_fog_function] + [AutoGenerated(Category = "SGIS_fog_function", Version = "1.1", EntryPoint = "glFogFuncSGIS")] + public static + void FogFunc(Int32 n, ref Single points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* points_ptr = &points) + { + Delegates.glFogFuncSGIS((Int32)n, (Single*)points_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SGIS_fog_function] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SGIS_fog_function", Version = "1.1", EntryPoint = "glFogFuncSGIS")] + public static + unsafe void FogFunc(Int32 n, Single* points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFogFuncSGIS((Int32)n, (Single*)points); + #if DEBUG + } + #endif + } + + /// [requires: SGIS_detail_texture] + [AutoGenerated(Category = "SGIS_detail_texture", Version = "1.0", EntryPoint = "glGetDetailTexFuncSGIS")] + public static + void GetDetailTexFunc(OpenTK.Graphics.OpenGL.TextureTarget target, [OutAttribute] Single[] points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* points_ptr = points) + { + Delegates.glGetDetailTexFuncSGIS((OpenTK.Graphics.OpenGL.TextureTarget)target, (Single*)points_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SGIS_detail_texture] + [AutoGenerated(Category = "SGIS_detail_texture", Version = "1.0", EntryPoint = "glGetDetailTexFuncSGIS")] + public static + void GetDetailTexFunc(OpenTK.Graphics.OpenGL.TextureTarget target, [OutAttribute] out Single points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* points_ptr = &points) + { + Delegates.glGetDetailTexFuncSGIS((OpenTK.Graphics.OpenGL.TextureTarget)target, (Single*)points_ptr); + points = *points_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: SGIS_detail_texture] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SGIS_detail_texture", Version = "1.0", EntryPoint = "glGetDetailTexFuncSGIS")] + public static + unsafe void GetDetailTexFunc(OpenTK.Graphics.OpenGL.TextureTarget target, [OutAttribute] Single* points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetDetailTexFuncSGIS((OpenTK.Graphics.OpenGL.TextureTarget)target, (Single*)points); + #if DEBUG + } + #endif + } + + /// [requires: SGIS_fog_function] + [AutoGenerated(Category = "SGIS_fog_function", Version = "1.1", EntryPoint = "glGetFogFuncSGIS")] + public static + void GetFogFunc([OutAttribute] Single[] points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* points_ptr = points) + { + Delegates.glGetFogFuncSGIS((Single*)points_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SGIS_fog_function] + [AutoGenerated(Category = "SGIS_fog_function", Version = "1.1", EntryPoint = "glGetFogFuncSGIS")] + public static + void GetFogFunc([OutAttribute] out Single points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* points_ptr = &points) + { + Delegates.glGetFogFuncSGIS((Single*)points_ptr); + points = *points_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: SGIS_fog_function] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SGIS_fog_function", Version = "1.1", EntryPoint = "glGetFogFuncSGIS")] + public static + unsafe void GetFogFunc([OutAttribute] Single* points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetFogFuncSGIS((Single*)points); + #if DEBUG + } + #endif + } + + /// [requires: SGIS_pixel_texture] + [AutoGenerated(Category = "SGIS_pixel_texture", Version = "1.0", EntryPoint = "glGetPixelTexGenParameterfvSGIS")] + public static + void GetPixelTexGenParameter(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetPixelTexGenParameterfvSGIS((OpenTK.Graphics.OpenGL.SgisPixelTexture)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SGIS_pixel_texture] + [AutoGenerated(Category = "SGIS_pixel_texture", Version = "1.0", EntryPoint = "glGetPixelTexGenParameterfvSGIS")] + public static + void GetPixelTexGenParameter(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetPixelTexGenParameterfvSGIS((OpenTK.Graphics.OpenGL.SgisPixelTexture)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: SGIS_pixel_texture] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SGIS_pixel_texture", Version = "1.0", EntryPoint = "glGetPixelTexGenParameterfvSGIS")] + public static + unsafe void GetPixelTexGenParameter(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPixelTexGenParameterfvSGIS((OpenTK.Graphics.OpenGL.SgisPixelTexture)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: SGIS_pixel_texture] + [AutoGenerated(Category = "SGIS_pixel_texture", Version = "1.0", EntryPoint = "glGetPixelTexGenParameterivSGIS")] + public static + void GetPixelTexGenParameter(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetPixelTexGenParameterivSGIS((OpenTK.Graphics.OpenGL.SgisPixelTexture)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SGIS_pixel_texture] + [AutoGenerated(Category = "SGIS_pixel_texture", Version = "1.0", EntryPoint = "glGetPixelTexGenParameterivSGIS")] + public static + void GetPixelTexGenParameter(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetPixelTexGenParameterivSGIS((OpenTK.Graphics.OpenGL.SgisPixelTexture)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: SGIS_pixel_texture] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SGIS_pixel_texture", Version = "1.0", EntryPoint = "glGetPixelTexGenParameterivSGIS")] + public static + unsafe void GetPixelTexGenParameter(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPixelTexGenParameterivSGIS((OpenTK.Graphics.OpenGL.SgisPixelTexture)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: SGIS_sharpen_texture] + [AutoGenerated(Category = "SGIS_sharpen_texture", Version = "1.0", EntryPoint = "glGetSharpenTexFuncSGIS")] + public static + void GetSharpenTexFunc(OpenTK.Graphics.OpenGL.TextureTarget target, [OutAttribute] Single[] points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* points_ptr = points) + { + Delegates.glGetSharpenTexFuncSGIS((OpenTK.Graphics.OpenGL.TextureTarget)target, (Single*)points_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SGIS_sharpen_texture] + [AutoGenerated(Category = "SGIS_sharpen_texture", Version = "1.0", EntryPoint = "glGetSharpenTexFuncSGIS")] + public static + void GetSharpenTexFunc(OpenTK.Graphics.OpenGL.TextureTarget target, [OutAttribute] out Single points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* points_ptr = &points) + { + Delegates.glGetSharpenTexFuncSGIS((OpenTK.Graphics.OpenGL.TextureTarget)target, (Single*)points_ptr); + points = *points_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: SGIS_sharpen_texture] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SGIS_sharpen_texture", Version = "1.0", EntryPoint = "glGetSharpenTexFuncSGIS")] + public static + unsafe void GetSharpenTexFunc(OpenTK.Graphics.OpenGL.TextureTarget target, [OutAttribute] Single* points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetSharpenTexFuncSGIS((OpenTK.Graphics.OpenGL.TextureTarget)target, (Single*)points); + #if DEBUG + } + #endif + } + + /// [requires: SGIS_texture_filter4] + [AutoGenerated(Category = "SGIS_texture_filter4", Version = "1.0", EntryPoint = "glGetTexFilterFuncSGIS")] + public static + void GetTexFilterFunc(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.SgisTextureFilter4 filter, [OutAttribute] Single[] weights) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* weights_ptr = weights) + { + Delegates.glGetTexFilterFuncSGIS((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.SgisTextureFilter4)filter, (Single*)weights_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SGIS_texture_filter4] + [AutoGenerated(Category = "SGIS_texture_filter4", Version = "1.0", EntryPoint = "glGetTexFilterFuncSGIS")] + public static + void GetTexFilterFunc(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.SgisTextureFilter4 filter, [OutAttribute] out Single weights) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* weights_ptr = &weights) + { + Delegates.glGetTexFilterFuncSGIS((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.SgisTextureFilter4)filter, (Single*)weights_ptr); + weights = *weights_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: SGIS_texture_filter4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SGIS_texture_filter4", Version = "1.0", EntryPoint = "glGetTexFilterFuncSGIS")] + public static + unsafe void GetTexFilterFunc(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.SgisTextureFilter4 filter, [OutAttribute] Single* weights) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTexFilterFuncSGIS((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.SgisTextureFilter4)filter, (Single*)weights); + #if DEBUG + } + #endif + } + + /// [requires: SGIS_pixel_texture] + [AutoGenerated(Category = "SGIS_pixel_texture", Version = "1.0", EntryPoint = "glPixelTexGenParameterfSGIS")] + public static + void PixelTexGenParameter(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, Single param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPixelTexGenParameterfSGIS((OpenTK.Graphics.OpenGL.SgisPixelTexture)pname, (Single)param); + #if DEBUG + } + #endif + } + + /// [requires: SGIS_pixel_texture] + [AutoGenerated(Category = "SGIS_pixel_texture", Version = "1.0", EntryPoint = "glPixelTexGenParameterfvSGIS")] + public static + void PixelTexGenParameter(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glPixelTexGenParameterfvSGIS((OpenTK.Graphics.OpenGL.SgisPixelTexture)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SGIS_pixel_texture] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SGIS_pixel_texture", Version = "1.0", EntryPoint = "glPixelTexGenParameterfvSGIS")] + public static + unsafe void PixelTexGenParameter(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPixelTexGenParameterfvSGIS((OpenTK.Graphics.OpenGL.SgisPixelTexture)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: SGIS_pixel_texture] + [AutoGenerated(Category = "SGIS_pixel_texture", Version = "1.0", EntryPoint = "glPixelTexGenParameteriSGIS")] + public static + void PixelTexGenParameter(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, Int32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPixelTexGenParameteriSGIS((OpenTK.Graphics.OpenGL.SgisPixelTexture)pname, (Int32)param); + #if DEBUG + } + #endif + } + + /// [requires: SGIS_pixel_texture] + [AutoGenerated(Category = "SGIS_pixel_texture", Version = "1.0", EntryPoint = "glPixelTexGenParameterivSGIS")] + public static + void PixelTexGenParameter(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glPixelTexGenParameterivSGIS((OpenTK.Graphics.OpenGL.SgisPixelTexture)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SGIS_pixel_texture] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SGIS_pixel_texture", Version = "1.0", EntryPoint = "glPixelTexGenParameterivSGIS")] + public static + unsafe void PixelTexGenParameter(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPixelTexGenParameterivSGIS((OpenTK.Graphics.OpenGL.SgisPixelTexture)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// [requires: SGIS_point_parameters] + /// Specify point parameters + /// + /// + /// + /// Specifies a single-valued point parameter. GL_POINT_FADE_THRESHOLD_SIZE, and GL_POINT_SPRITE_COORD_ORIGIN are accepted. + /// + /// + /// + /// + /// Specifies the value that pname will be set to. + /// + /// + [AutoGenerated(Category = "SGIS_point_parameters", Version = "1.0", EntryPoint = "glPointParameterfSGIS")] + public static + void PointParameter(OpenTK.Graphics.OpenGL.SgisPointParameters pname, Single param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPointParameterfSGIS((OpenTK.Graphics.OpenGL.SgisPointParameters)pname, (Single)param); + #if DEBUG + } + #endif + } + + + /// [requires: SGIS_point_parameters] + /// Specify point parameters + /// + /// + /// + /// Specifies a single-valued point parameter. GL_POINT_FADE_THRESHOLD_SIZE, and GL_POINT_SPRITE_COORD_ORIGIN are accepted. + /// + /// + /// + /// + /// Specifies the value that pname will be set to. + /// + /// + [AutoGenerated(Category = "SGIS_point_parameters", Version = "1.0", EntryPoint = "glPointParameterfvSGIS")] + public static + void PointParameter(OpenTK.Graphics.OpenGL.SgisPointParameters pname, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glPointParameterfvSGIS((OpenTK.Graphics.OpenGL.SgisPointParameters)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// [requires: SGIS_point_parameters] + /// Specify point parameters + /// + /// + /// + /// Specifies a single-valued point parameter. GL_POINT_FADE_THRESHOLD_SIZE, and GL_POINT_SPRITE_COORD_ORIGIN are accepted. + /// + /// + /// + /// + /// Specifies the value that pname will be set to. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SGIS_point_parameters", Version = "1.0", EntryPoint = "glPointParameterfvSGIS")] + public static + unsafe void PointParameter(OpenTK.Graphics.OpenGL.SgisPointParameters pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPointParameterfvSGIS((OpenTK.Graphics.OpenGL.SgisPointParameters)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: SGIS_multisample] + [AutoGenerated(Category = "SGIS_multisample", Version = "1.1", EntryPoint = "glSampleMaskSGIS")] + public static + void SampleMask(Single value, bool invert) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSampleMaskSGIS((Single)value, (bool)invert); + #if DEBUG + } + #endif + } + + /// [requires: SGIS_multisample] + [AutoGenerated(Category = "SGIS_multisample", Version = "1.0", EntryPoint = "glSamplePatternSGIS")] + public static + void SamplePattern(OpenTK.Graphics.OpenGL.SgisMultisample pattern) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSamplePatternSGIS((OpenTK.Graphics.OpenGL.SgisMultisample)pattern); + #if DEBUG + } + #endif + } + + /// [requires: SGIS_sharpen_texture] + [AutoGenerated(Category = "SGIS_sharpen_texture", Version = "1.0", EntryPoint = "glSharpenTexFuncSGIS")] + public static + void SharpenTexFunc(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 n, Single[] points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* points_ptr = points) + { + Delegates.glSharpenTexFuncSGIS((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)n, (Single*)points_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SGIS_sharpen_texture] + [AutoGenerated(Category = "SGIS_sharpen_texture", Version = "1.0", EntryPoint = "glSharpenTexFuncSGIS")] + public static + void SharpenTexFunc(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 n, ref Single points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* points_ptr = &points) + { + Delegates.glSharpenTexFuncSGIS((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)n, (Single*)points_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SGIS_sharpen_texture] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SGIS_sharpen_texture", Version = "1.0", EntryPoint = "glSharpenTexFuncSGIS")] + public static + unsafe void SharpenTexFunc(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 n, Single* points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSharpenTexFuncSGIS((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)n, (Single*)points); + #if DEBUG + } + #endif + } + + /// [requires: SGIS_texture_filter4] + [AutoGenerated(Category = "SGIS_texture_filter4", Version = "1.0", EntryPoint = "glTexFilterFuncSGIS")] + public static + void TexFilterFunc(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.SgisTextureFilter4 filter, Int32 n, Single[] weights) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* weights_ptr = weights) + { + Delegates.glTexFilterFuncSGIS((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.SgisTextureFilter4)filter, (Int32)n, (Single*)weights_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SGIS_texture_filter4] + [AutoGenerated(Category = "SGIS_texture_filter4", Version = "1.0", EntryPoint = "glTexFilterFuncSGIS")] + public static + void TexFilterFunc(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.SgisTextureFilter4 filter, Int32 n, ref Single weights) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* weights_ptr = &weights) + { + Delegates.glTexFilterFuncSGIS((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.SgisTextureFilter4)filter, (Int32)n, (Single*)weights_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SGIS_texture_filter4] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SGIS_texture_filter4", Version = "1.0", EntryPoint = "glTexFilterFuncSGIS")] + public static + unsafe void TexFilterFunc(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.SgisTextureFilter4 filter, Int32 n, Single* weights) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexFilterFuncSGIS((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.SgisTextureFilter4)filter, (Int32)n, (Single*)weights); + #if DEBUG + } + #endif + } + + /// [requires: SGIS_texture4D] + [AutoGenerated(Category = "SGIS_texture4D", Version = "1.0", EntryPoint = "glTexImage4DSGIS")] + public static + void TexImage4D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 size4d, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexImage4DSGIS((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + /// [requires: SGIS_texture4D] + [AutoGenerated(Category = "SGIS_texture4D", Version = "1.0", EntryPoint = "glTexImage4DSGIS")] + public static + void TexImage4D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 size4d, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[] pixels) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexImage4DSGIS((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: SGIS_texture4D] + [AutoGenerated(Category = "SGIS_texture4D", Version = "1.0", EntryPoint = "glTexImage4DSGIS")] + public static + void TexImage4D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 size4d, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[,] pixels) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexImage4DSGIS((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: SGIS_texture4D] + [AutoGenerated(Category = "SGIS_texture4D", Version = "1.0", EntryPoint = "glTexImage4DSGIS")] + public static + void TexImage4D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 size4d, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[,,] pixels) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexImage4DSGIS((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: SGIS_texture4D] + [AutoGenerated(Category = "SGIS_texture4D", Version = "1.0", EntryPoint = "glTexImage4DSGIS")] + public static + void TexImage4D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 size4d, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T10 pixels) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexImage4DSGIS((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + pixels = (T10)pixels_ptr.Target; + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: SGIS_texture4D] + [AutoGenerated(Category = "SGIS_texture4D", Version = "1.0", EntryPoint = "glTexSubImage4DSGIS")] + public static + void TexSubImage4D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 woffset, Int32 width, Int32 height, Int32 depth, Int32 size4d, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexSubImage4DSGIS((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)woffset, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + /// [requires: SGIS_texture4D] + [AutoGenerated(Category = "SGIS_texture4D", Version = "1.0", EntryPoint = "glTexSubImage4DSGIS")] + public static + void TexSubImage4D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 woffset, Int32 width, Int32 height, Int32 depth, Int32 size4d, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T12[] pixels) + where T12 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage4DSGIS((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)woffset, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: SGIS_texture4D] + [AutoGenerated(Category = "SGIS_texture4D", Version = "1.0", EntryPoint = "glTexSubImage4DSGIS")] + public static + void TexSubImage4D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 woffset, Int32 width, Int32 height, Int32 depth, Int32 size4d, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T12[,] pixels) + where T12 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage4DSGIS((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)woffset, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: SGIS_texture4D] + [AutoGenerated(Category = "SGIS_texture4D", Version = "1.0", EntryPoint = "glTexSubImage4DSGIS")] + public static + void TexSubImage4D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 woffset, Int32 width, Int32 height, Int32 depth, Int32 size4d, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T12[,,] pixels) + where T12 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage4DSGIS((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)woffset, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: SGIS_texture4D] + [AutoGenerated(Category = "SGIS_texture4D", Version = "1.0", EntryPoint = "glTexSubImage4DSGIS")] + public static + void TexSubImage4D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 woffset, Int32 width, Int32 height, Int32 depth, Int32 size4d, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T12 pixels) + where T12 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage4DSGIS((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)woffset, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + pixels = (T12)pixels_ptr.Target; + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: SGIS_texture_color_mask] + [AutoGenerated(Category = "SGIS_texture_color_mask", Version = "1.1", EntryPoint = "glTextureColorMaskSGIS")] + public static + void TextureColorMask(bool red, bool green, bool blue, bool alpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureColorMaskSGIS((bool)red, (bool)green, (bool)blue, (bool)alpha); + #if DEBUG + } + #endif + } + + } + + public static partial class Sgix + { + /// [requires: SGIX_async] + [AutoGenerated(Category = "SGIX_async", Version = "1.0", EntryPoint = "glAsyncMarkerSGIX")] + public static + void AsyncMarker(Int32 marker) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glAsyncMarkerSGIX((UInt32)marker); + #if DEBUG + } + #endif + } + + /// [requires: SGIX_async] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SGIX_async", Version = "1.0", EntryPoint = "glAsyncMarkerSGIX")] + public static + void AsyncMarker(UInt32 marker) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glAsyncMarkerSGIX((UInt32)marker); + #if DEBUG + } + #endif + } + + /// [requires: SGIX_polynomial_ffd] + [AutoGenerated(Category = "SGIX_polynomial_ffd", Version = "1.0", EntryPoint = "glDeformationMap3dSGIX")] + public static + void DeformationMap3(OpenTK.Graphics.OpenGL.SgixPolynomialFfd target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double w1, Double w2, Int32 wstride, Int32 worder, Double[] points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* points_ptr = points) + { + Delegates.glDeformationMap3dSGIX((OpenTK.Graphics.OpenGL.SgixPolynomialFfd)target, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double)w1, (Double)w2, (Int32)wstride, (Int32)worder, (Double*)points_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SGIX_polynomial_ffd] + [AutoGenerated(Category = "SGIX_polynomial_ffd", Version = "1.0", EntryPoint = "glDeformationMap3dSGIX")] + public static + void DeformationMap3(OpenTK.Graphics.OpenGL.SgixPolynomialFfd target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double w1, Double w2, Int32 wstride, Int32 worder, ref Double points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* points_ptr = &points) + { + Delegates.glDeformationMap3dSGIX((OpenTK.Graphics.OpenGL.SgixPolynomialFfd)target, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double)w1, (Double)w2, (Int32)wstride, (Int32)worder, (Double*)points_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SGIX_polynomial_ffd] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SGIX_polynomial_ffd", Version = "1.0", EntryPoint = "glDeformationMap3dSGIX")] + public static + unsafe void DeformationMap3(OpenTK.Graphics.OpenGL.SgixPolynomialFfd target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double w1, Double w2, Int32 wstride, Int32 worder, Double* points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeformationMap3dSGIX((OpenTK.Graphics.OpenGL.SgixPolynomialFfd)target, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double)w1, (Double)w2, (Int32)wstride, (Int32)worder, (Double*)points); + #if DEBUG + } + #endif + } + + /// [requires: SGIX_polynomial_ffd] + [AutoGenerated(Category = "SGIX_polynomial_ffd", Version = "1.0", EntryPoint = "glDeformationMap3fSGIX")] + public static + void DeformationMap3(OpenTK.Graphics.OpenGL.SgixPolynomialFfd target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single w1, Single w2, Int32 wstride, Int32 worder, Single[] points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* points_ptr = points) + { + Delegates.glDeformationMap3fSGIX((OpenTK.Graphics.OpenGL.SgixPolynomialFfd)target, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single)w1, (Single)w2, (Int32)wstride, (Int32)worder, (Single*)points_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SGIX_polynomial_ffd] + [AutoGenerated(Category = "SGIX_polynomial_ffd", Version = "1.0", EntryPoint = "glDeformationMap3fSGIX")] + public static + void DeformationMap3(OpenTK.Graphics.OpenGL.SgixPolynomialFfd target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single w1, Single w2, Int32 wstride, Int32 worder, ref Single points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* points_ptr = &points) + { + Delegates.glDeformationMap3fSGIX((OpenTK.Graphics.OpenGL.SgixPolynomialFfd)target, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single)w1, (Single)w2, (Int32)wstride, (Int32)worder, (Single*)points_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SGIX_polynomial_ffd] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SGIX_polynomial_ffd", Version = "1.0", EntryPoint = "glDeformationMap3fSGIX")] + public static + unsafe void DeformationMap3(OpenTK.Graphics.OpenGL.SgixPolynomialFfd target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single w1, Single w2, Int32 wstride, Int32 worder, Single* points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeformationMap3fSGIX((OpenTK.Graphics.OpenGL.SgixPolynomialFfd)target, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single)w1, (Single)w2, (Int32)wstride, (Int32)worder, (Single*)points); + #if DEBUG + } + #endif + } + + /// [requires: SGIX_polynomial_ffd] + [AutoGenerated(Category = "SGIX_polynomial_ffd", Version = "1.0", EntryPoint = "glDeformSGIX")] + public static + void Deform(Int32 mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeformSGIX((UInt32)mask); + #if DEBUG + } + #endif + } + + /// [requires: SGIX_polynomial_ffd] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SGIX_polynomial_ffd", Version = "1.0", EntryPoint = "glDeformSGIX")] + public static + void Deform(UInt32 mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeformSGIX((UInt32)mask); + #if DEBUG + } + #endif + } + + /// [requires: SGIX_async] + [AutoGenerated(Category = "SGIX_async", Version = "1.0", EntryPoint = "glDeleteAsyncMarkersSGIX")] + public static + void DeleteAsyncMarkers(Int32 marker, Int32 range) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteAsyncMarkersSGIX((UInt32)marker, (Int32)range); + #if DEBUG + } + #endif + } + + /// [requires: SGIX_async] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SGIX_async", Version = "1.0", EntryPoint = "glDeleteAsyncMarkersSGIX")] + public static + void DeleteAsyncMarkers(UInt32 marker, Int32 range) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteAsyncMarkersSGIX((UInt32)marker, (Int32)range); + #if DEBUG + } + #endif + } + + /// [requires: SGIX_async] + [AutoGenerated(Category = "SGIX_async", Version = "1.0", EntryPoint = "glFinishAsyncSGIX")] + public static + Int32 FinishAsync([OutAttribute] out Int32 markerp) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* markerp_ptr = &markerp) + { + Int32 retval = Delegates.glFinishAsyncSGIX((UInt32*)markerp_ptr); + markerp = *markerp_ptr; + return retval; + } + } + #if DEBUG + } + #endif + } + + /// [requires: SGIX_async] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SGIX_async", Version = "1.0", EntryPoint = "glFinishAsyncSGIX")] + public static + unsafe Int32 FinishAsync([OutAttribute] Int32* markerp) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glFinishAsyncSGIX((UInt32*)markerp); + #if DEBUG + } + #endif + } + + /// [requires: SGIX_async] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SGIX_async", Version = "1.0", EntryPoint = "glFinishAsyncSGIX")] + public static + Int32 FinishAsync([OutAttribute] out UInt32 markerp) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* markerp_ptr = &markerp) + { + Int32 retval = Delegates.glFinishAsyncSGIX((UInt32*)markerp_ptr); + markerp = *markerp_ptr; + return retval; + } + } + #if DEBUG + } + #endif + } + + /// [requires: SGIX_async] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SGIX_async", Version = "1.0", EntryPoint = "glFinishAsyncSGIX")] + public static + unsafe Int32 FinishAsync([OutAttribute] UInt32* markerp) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glFinishAsyncSGIX((UInt32*)markerp); + #if DEBUG + } + #endif + } + + /// [requires: SGIX_flush_raster] + [AutoGenerated(Category = "SGIX_flush_raster", Version = "1.0", EntryPoint = "glFlushRasterSGIX")] + public static + void FlushRaster() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFlushRasterSGIX(); + #if DEBUG + } + #endif + } + + /// [requires: SGIX_fragment_lighting] + [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "1.0", EntryPoint = "glFragmentColorMaterialSGIX")] + public static + void FragmentColorMaterial(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFragmentColorMaterialSGIX((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)mode); + #if DEBUG + } + #endif + } + + /// [requires: SGIX_fragment_lighting] + [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "1.0", EntryPoint = "glFragmentLightfSGIX")] + public static + void FragmentLight(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Single param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFragmentLightfSGIX((OpenTK.Graphics.OpenGL.SgixFragmentLighting)light, (OpenTK.Graphics.OpenGL.SgixFragmentLighting)pname, (Single)param); + #if DEBUG + } + #endif + } + + /// [requires: SGIX_fragment_lighting] + [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "1.0", EntryPoint = "glFragmentLightfvSGIX")] + public static + void FragmentLight(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glFragmentLightfvSGIX((OpenTK.Graphics.OpenGL.SgixFragmentLighting)light, (OpenTK.Graphics.OpenGL.SgixFragmentLighting)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SGIX_fragment_lighting] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "1.0", EntryPoint = "glFragmentLightfvSGIX")] + public static + unsafe void FragmentLight(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFragmentLightfvSGIX((OpenTK.Graphics.OpenGL.SgixFragmentLighting)light, (OpenTK.Graphics.OpenGL.SgixFragmentLighting)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: SGIX_fragment_lighting] + [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "1.0", EntryPoint = "glFragmentLightiSGIX")] + public static + void FragmentLight(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Int32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFragmentLightiSGIX((OpenTK.Graphics.OpenGL.SgixFragmentLighting)light, (OpenTK.Graphics.OpenGL.SgixFragmentLighting)pname, (Int32)param); + #if DEBUG + } + #endif + } + + /// [requires: SGIX_fragment_lighting] + [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "1.0", EntryPoint = "glFragmentLightivSGIX")] + public static + void FragmentLight(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glFragmentLightivSGIX((OpenTK.Graphics.OpenGL.SgixFragmentLighting)light, (OpenTK.Graphics.OpenGL.SgixFragmentLighting)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SGIX_fragment_lighting] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "1.0", EntryPoint = "glFragmentLightivSGIX")] + public static + unsafe void FragmentLight(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFragmentLightivSGIX((OpenTK.Graphics.OpenGL.SgixFragmentLighting)light, (OpenTK.Graphics.OpenGL.SgixFragmentLighting)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: SGIX_fragment_lighting] + [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "1.0", EntryPoint = "glFragmentLightModelfSGIX")] + public static + void FragmentLightModel(OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Single param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFragmentLightModelfSGIX((OpenTK.Graphics.OpenGL.SgixFragmentLighting)pname, (Single)param); + #if DEBUG + } + #endif + } + + /// [requires: SGIX_fragment_lighting] + [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "1.0", EntryPoint = "glFragmentLightModelfvSGIX")] + public static + void FragmentLightModel(OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glFragmentLightModelfvSGIX((OpenTK.Graphics.OpenGL.SgixFragmentLighting)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SGIX_fragment_lighting] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "1.0", EntryPoint = "glFragmentLightModelfvSGIX")] + public static + unsafe void FragmentLightModel(OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFragmentLightModelfvSGIX((OpenTK.Graphics.OpenGL.SgixFragmentLighting)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: SGIX_fragment_lighting] + [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "1.0", EntryPoint = "glFragmentLightModeliSGIX")] + public static + void FragmentLightModel(OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Int32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFragmentLightModeliSGIX((OpenTK.Graphics.OpenGL.SgixFragmentLighting)pname, (Int32)param); + #if DEBUG + } + #endif + } + + /// [requires: SGIX_fragment_lighting] + [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "1.0", EntryPoint = "glFragmentLightModelivSGIX")] + public static + void FragmentLightModel(OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glFragmentLightModelivSGIX((OpenTK.Graphics.OpenGL.SgixFragmentLighting)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SGIX_fragment_lighting] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "1.0", EntryPoint = "glFragmentLightModelivSGIX")] + public static + unsafe void FragmentLightModel(OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFragmentLightModelivSGIX((OpenTK.Graphics.OpenGL.SgixFragmentLighting)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: SGIX_fragment_lighting] + [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "1.0", EntryPoint = "glFragmentMaterialfSGIX")] + public static + void FragmentMaterial(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Single param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFragmentMaterialfSGIX((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (Single)param); + #if DEBUG + } + #endif + } + + /// [requires: SGIX_fragment_lighting] + [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "1.0", EntryPoint = "glFragmentMaterialfvSGIX")] + public static + void FragmentMaterial(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glFragmentMaterialfvSGIX((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SGIX_fragment_lighting] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "1.0", EntryPoint = "glFragmentMaterialfvSGIX")] + public static + unsafe void FragmentMaterial(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFragmentMaterialfvSGIX((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: SGIX_fragment_lighting] + [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "1.0", EntryPoint = "glFragmentMaterialiSGIX")] + public static + void FragmentMaterial(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Int32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFragmentMaterialiSGIX((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (Int32)param); + #if DEBUG + } + #endif + } + + /// [requires: SGIX_fragment_lighting] + [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "1.0", EntryPoint = "glFragmentMaterialivSGIX")] + public static + void FragmentMaterial(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glFragmentMaterialivSGIX((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SGIX_fragment_lighting] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "1.0", EntryPoint = "glFragmentMaterialivSGIX")] + public static + unsafe void FragmentMaterial(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFragmentMaterialivSGIX((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: SGIX_framezoom] + [AutoGenerated(Category = "SGIX_framezoom", Version = "1.0", EntryPoint = "glFrameZoomSGIX")] + public static + void FrameZoom(Int32 factor) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFrameZoomSGIX((Int32)factor); + #if DEBUG + } + #endif + } + + /// [requires: SGIX_async] + [AutoGenerated(Category = "SGIX_async", Version = "1.0", EntryPoint = "glGenAsyncMarkersSGIX")] + public static + Int32 GenAsyncMarkers(Int32 range) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glGenAsyncMarkersSGIX((Int32)range); + #if DEBUG + } + #endif + } + + /// [requires: SGIX_fragment_lighting] + [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "1.0", EntryPoint = "glGetFragmentLightfvSGIX")] + public static + void GetFragmentLight(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetFragmentLightfvSGIX((OpenTK.Graphics.OpenGL.SgixFragmentLighting)light, (OpenTK.Graphics.OpenGL.SgixFragmentLighting)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SGIX_fragment_lighting] + [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "1.0", EntryPoint = "glGetFragmentLightfvSGIX")] + public static + void GetFragmentLight(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetFragmentLightfvSGIX((OpenTK.Graphics.OpenGL.SgixFragmentLighting)light, (OpenTK.Graphics.OpenGL.SgixFragmentLighting)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: SGIX_fragment_lighting] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "1.0", EntryPoint = "glGetFragmentLightfvSGIX")] + public static + unsafe void GetFragmentLight(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetFragmentLightfvSGIX((OpenTK.Graphics.OpenGL.SgixFragmentLighting)light, (OpenTK.Graphics.OpenGL.SgixFragmentLighting)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: SGIX_fragment_lighting] + [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "1.0", EntryPoint = "glGetFragmentLightivSGIX")] + public static + void GetFragmentLight(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetFragmentLightivSGIX((OpenTK.Graphics.OpenGL.SgixFragmentLighting)light, (OpenTK.Graphics.OpenGL.SgixFragmentLighting)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SGIX_fragment_lighting] + [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "1.0", EntryPoint = "glGetFragmentLightivSGIX")] + public static + void GetFragmentLight(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetFragmentLightivSGIX((OpenTK.Graphics.OpenGL.SgixFragmentLighting)light, (OpenTK.Graphics.OpenGL.SgixFragmentLighting)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: SGIX_fragment_lighting] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "1.0", EntryPoint = "glGetFragmentLightivSGIX")] + public static + unsafe void GetFragmentLight(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetFragmentLightivSGIX((OpenTK.Graphics.OpenGL.SgixFragmentLighting)light, (OpenTK.Graphics.OpenGL.SgixFragmentLighting)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: SGIX_fragment_lighting] + [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "1.0", EntryPoint = "glGetFragmentMaterialfvSGIX")] + public static + void GetFragmentMaterial(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetFragmentMaterialfvSGIX((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SGIX_fragment_lighting] + [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "1.0", EntryPoint = "glGetFragmentMaterialfvSGIX")] + public static + void GetFragmentMaterial(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetFragmentMaterialfvSGIX((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: SGIX_fragment_lighting] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "1.0", EntryPoint = "glGetFragmentMaterialfvSGIX")] + public static + unsafe void GetFragmentMaterial(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetFragmentMaterialfvSGIX((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: SGIX_fragment_lighting] + [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "1.0", EntryPoint = "glGetFragmentMaterialivSGIX")] + public static + void GetFragmentMaterial(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetFragmentMaterialivSGIX((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SGIX_fragment_lighting] + [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "1.0", EntryPoint = "glGetFragmentMaterialivSGIX")] + public static + void GetFragmentMaterial(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetFragmentMaterialivSGIX((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: SGIX_fragment_lighting] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "1.0", EntryPoint = "glGetFragmentMaterialivSGIX")] + public static + unsafe void GetFragmentMaterial(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetFragmentMaterialivSGIX((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: SGIX_instruments] + [AutoGenerated(Category = "SGIX_instruments", Version = "1.0", EntryPoint = "glGetInstrumentsSGIX")] + public static + Int32 GetInstruments() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glGetInstrumentsSGIX(); + #if DEBUG + } + #endif + } + + /// [requires: SGIX_list_priority] + [AutoGenerated(Category = "SGIX_list_priority", Version = "1.0", EntryPoint = "glGetListParameterfvSGIX")] + public static + void GetListParameter(Int32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetListParameterfvSGIX((UInt32)list, (OpenTK.Graphics.OpenGL.ListParameterName)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SGIX_list_priority] + [AutoGenerated(Category = "SGIX_list_priority", Version = "1.0", EntryPoint = "glGetListParameterfvSGIX")] + public static + void GetListParameter(Int32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetListParameterfvSGIX((UInt32)list, (OpenTK.Graphics.OpenGL.ListParameterName)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: SGIX_list_priority] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SGIX_list_priority", Version = "1.0", EntryPoint = "glGetListParameterfvSGIX")] + public static + unsafe void GetListParameter(Int32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetListParameterfvSGIX((UInt32)list, (OpenTK.Graphics.OpenGL.ListParameterName)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: SGIX_list_priority] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SGIX_list_priority", Version = "1.0", EntryPoint = "glGetListParameterfvSGIX")] + public static + void GetListParameter(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetListParameterfvSGIX((UInt32)list, (OpenTK.Graphics.OpenGL.ListParameterName)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SGIX_list_priority] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SGIX_list_priority", Version = "1.0", EntryPoint = "glGetListParameterfvSGIX")] + public static + void GetListParameter(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetListParameterfvSGIX((UInt32)list, (OpenTK.Graphics.OpenGL.ListParameterName)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: SGIX_list_priority] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SGIX_list_priority", Version = "1.0", EntryPoint = "glGetListParameterfvSGIX")] + public static + unsafe void GetListParameter(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetListParameterfvSGIX((UInt32)list, (OpenTK.Graphics.OpenGL.ListParameterName)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: SGIX_list_priority] + [AutoGenerated(Category = "SGIX_list_priority", Version = "1.0", EntryPoint = "glGetListParameterivSGIX")] + public static + void GetListParameter(Int32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetListParameterivSGIX((UInt32)list, (OpenTK.Graphics.OpenGL.ListParameterName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SGIX_list_priority] + [AutoGenerated(Category = "SGIX_list_priority", Version = "1.0", EntryPoint = "glGetListParameterivSGIX")] + public static + void GetListParameter(Int32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetListParameterivSGIX((UInt32)list, (OpenTK.Graphics.OpenGL.ListParameterName)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: SGIX_list_priority] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SGIX_list_priority", Version = "1.0", EntryPoint = "glGetListParameterivSGIX")] + public static + unsafe void GetListParameter(Int32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetListParameterivSGIX((UInt32)list, (OpenTK.Graphics.OpenGL.ListParameterName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: SGIX_list_priority] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SGIX_list_priority", Version = "1.0", EntryPoint = "glGetListParameterivSGIX")] + public static + void GetListParameter(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetListParameterivSGIX((UInt32)list, (OpenTK.Graphics.OpenGL.ListParameterName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SGIX_list_priority] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SGIX_list_priority", Version = "1.0", EntryPoint = "glGetListParameterivSGIX")] + public static + void GetListParameter(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetListParameterivSGIX((UInt32)list, (OpenTK.Graphics.OpenGL.ListParameterName)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: SGIX_list_priority] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SGIX_list_priority", Version = "1.0", EntryPoint = "glGetListParameterivSGIX")] + public static + unsafe void GetListParameter(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetListParameterivSGIX((UInt32)list, (OpenTK.Graphics.OpenGL.ListParameterName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: SGIX_igloo_interface] + [AutoGenerated(Category = "SGIX_igloo_interface", Version = "1.0", EntryPoint = "glIglooInterfaceSGIX")] + public static + void IglooInterface(OpenTK.Graphics.OpenGL.All pname, IntPtr @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glIglooInterfaceSGIX((OpenTK.Graphics.OpenGL.All)pname, (IntPtr)@params); + #if DEBUG + } + #endif + } + + /// [requires: SGIX_igloo_interface] + [AutoGenerated(Category = "SGIX_igloo_interface", Version = "1.0", EntryPoint = "glIglooInterfaceSGIX")] + public static + void IglooInterface(OpenTK.Graphics.OpenGL.All pname, [InAttribute, OutAttribute] T1[] @params) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glIglooInterfaceSGIX((OpenTK.Graphics.OpenGL.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: SGIX_igloo_interface] + [AutoGenerated(Category = "SGIX_igloo_interface", Version = "1.0", EntryPoint = "glIglooInterfaceSGIX")] + public static + void IglooInterface(OpenTK.Graphics.OpenGL.All pname, [InAttribute, OutAttribute] T1[,] @params) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glIglooInterfaceSGIX((OpenTK.Graphics.OpenGL.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: SGIX_igloo_interface] + [AutoGenerated(Category = "SGIX_igloo_interface", Version = "1.0", EntryPoint = "glIglooInterfaceSGIX")] + public static + void IglooInterface(OpenTK.Graphics.OpenGL.All pname, [InAttribute, OutAttribute] T1[,,] @params) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glIglooInterfaceSGIX((OpenTK.Graphics.OpenGL.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: SGIX_igloo_interface] + [AutoGenerated(Category = "SGIX_igloo_interface", Version = "1.0", EntryPoint = "glIglooInterfaceSGIX")] + public static + void IglooInterface(OpenTK.Graphics.OpenGL.All pname, [InAttribute, OutAttribute] ref T1 @params) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glIglooInterfaceSGIX((OpenTK.Graphics.OpenGL.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + @params = (T1)@params_ptr.Target; + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: SGIX_instruments] + [AutoGenerated(Category = "SGIX_instruments", Version = "1.0", EntryPoint = "glInstrumentsBufferSGIX")] + public static + void InstrumentsBuffer(Int32 size, [OutAttribute] Int32[] buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* buffer_ptr = buffer) + { + Delegates.glInstrumentsBufferSGIX((Int32)size, (Int32*)buffer_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SGIX_instruments] + [AutoGenerated(Category = "SGIX_instruments", Version = "1.0", EntryPoint = "glInstrumentsBufferSGIX")] + public static + void InstrumentsBuffer(Int32 size, [OutAttribute] out Int32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* buffer_ptr = &buffer) + { + Delegates.glInstrumentsBufferSGIX((Int32)size, (Int32*)buffer_ptr); + buffer = *buffer_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: SGIX_instruments] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SGIX_instruments", Version = "1.0", EntryPoint = "glInstrumentsBufferSGIX")] + public static + unsafe void InstrumentsBuffer(Int32 size, [OutAttribute] Int32* buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glInstrumentsBufferSGIX((Int32)size, (Int32*)buffer); + #if DEBUG + } + #endif + } + + /// [requires: SGIX_async] + [AutoGenerated(Category = "SGIX_async", Version = "1.0", EntryPoint = "glIsAsyncMarkerSGIX")] + public static + bool IsAsyncMarker(Int32 marker) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsAsyncMarkerSGIX((UInt32)marker); + #if DEBUG + } + #endif + } + + /// [requires: SGIX_async] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SGIX_async", Version = "1.0", EntryPoint = "glIsAsyncMarkerSGIX")] + public static + bool IsAsyncMarker(UInt32 marker) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsAsyncMarkerSGIX((UInt32)marker); + #if DEBUG + } + #endif + } + + /// [requires: SGIX_fragment_lighting] + [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "1.0", EntryPoint = "glLightEnviSGIX")] + public static + void LightEnv(OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Int32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLightEnviSGIX((OpenTK.Graphics.OpenGL.SgixFragmentLighting)pname, (Int32)param); + #if DEBUG + } + #endif + } + + /// [requires: SGIX_list_priority] + [AutoGenerated(Category = "SGIX_list_priority", Version = "1.0", EntryPoint = "glListParameterfSGIX")] + public static + void ListParameter(Int32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, Single param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glListParameterfSGIX((UInt32)list, (OpenTK.Graphics.OpenGL.ListParameterName)pname, (Single)param); + #if DEBUG + } + #endif + } + + /// [requires: SGIX_list_priority] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SGIX_list_priority", Version = "1.0", EntryPoint = "glListParameterfSGIX")] + public static + void ListParameter(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, Single param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glListParameterfSGIX((UInt32)list, (OpenTK.Graphics.OpenGL.ListParameterName)pname, (Single)param); + #if DEBUG + } + #endif + } + + /// [requires: SGIX_list_priority] + [AutoGenerated(Category = "SGIX_list_priority", Version = "1.0", EntryPoint = "glListParameterfvSGIX")] + public static + void ListParameter(Int32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glListParameterfvSGIX((UInt32)list, (OpenTK.Graphics.OpenGL.ListParameterName)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SGIX_list_priority] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SGIX_list_priority", Version = "1.0", EntryPoint = "glListParameterfvSGIX")] + public static + unsafe void ListParameter(Int32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glListParameterfvSGIX((UInt32)list, (OpenTK.Graphics.OpenGL.ListParameterName)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: SGIX_list_priority] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SGIX_list_priority", Version = "1.0", EntryPoint = "glListParameterfvSGIX")] + public static + void ListParameter(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glListParameterfvSGIX((UInt32)list, (OpenTK.Graphics.OpenGL.ListParameterName)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SGIX_list_priority] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SGIX_list_priority", Version = "1.0", EntryPoint = "glListParameterfvSGIX")] + public static + unsafe void ListParameter(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glListParameterfvSGIX((UInt32)list, (OpenTK.Graphics.OpenGL.ListParameterName)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: SGIX_list_priority] + [AutoGenerated(Category = "SGIX_list_priority", Version = "1.0", EntryPoint = "glListParameteriSGIX")] + public static + void ListParameter(Int32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, Int32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glListParameteriSGIX((UInt32)list, (OpenTK.Graphics.OpenGL.ListParameterName)pname, (Int32)param); + #if DEBUG + } + #endif + } + + /// [requires: SGIX_list_priority] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SGIX_list_priority", Version = "1.0", EntryPoint = "glListParameteriSGIX")] + public static + void ListParameter(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, Int32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glListParameteriSGIX((UInt32)list, (OpenTK.Graphics.OpenGL.ListParameterName)pname, (Int32)param); + #if DEBUG + } + #endif + } + + /// [requires: SGIX_list_priority] + [AutoGenerated(Category = "SGIX_list_priority", Version = "1.0", EntryPoint = "glListParameterivSGIX")] + public static + void ListParameter(Int32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glListParameterivSGIX((UInt32)list, (OpenTK.Graphics.OpenGL.ListParameterName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SGIX_list_priority] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SGIX_list_priority", Version = "1.0", EntryPoint = "glListParameterivSGIX")] + public static + unsafe void ListParameter(Int32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glListParameterivSGIX((UInt32)list, (OpenTK.Graphics.OpenGL.ListParameterName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: SGIX_list_priority] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SGIX_list_priority", Version = "1.0", EntryPoint = "glListParameterivSGIX")] + public static + void ListParameter(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glListParameterivSGIX((UInt32)list, (OpenTK.Graphics.OpenGL.ListParameterName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SGIX_list_priority] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SGIX_list_priority", Version = "1.0", EntryPoint = "glListParameterivSGIX")] + public static + unsafe void ListParameter(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glListParameterivSGIX((UInt32)list, (OpenTK.Graphics.OpenGL.ListParameterName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: SGIX_polynomial_ffd] + [AutoGenerated(Category = "SGIX_polynomial_ffd", Version = "1.0", EntryPoint = "glLoadIdentityDeformationMapSGIX")] + public static + void LoadIdentityDeformationMap(Int32 mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLoadIdentityDeformationMapSGIX((UInt32)mask); + #if DEBUG + } + #endif + } + + /// [requires: SGIX_polynomial_ffd] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SGIX_polynomial_ffd", Version = "1.0", EntryPoint = "glLoadIdentityDeformationMapSGIX")] + public static + void LoadIdentityDeformationMap(UInt32 mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLoadIdentityDeformationMapSGIX((UInt32)mask); + #if DEBUG + } + #endif + } + + /// [requires: SGIX_pixel_texture] + [AutoGenerated(Category = "SGIX_pixel_texture", Version = "1.0", EntryPoint = "glPixelTexGenSGIX")] + public static + void PixelTexGen(OpenTK.Graphics.OpenGL.SgixPixelTexture mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPixelTexGenSGIX((OpenTK.Graphics.OpenGL.SgixPixelTexture)mode); + #if DEBUG + } + #endif + } + + /// [requires: SGIX_async] + [AutoGenerated(Category = "SGIX_async", Version = "1.0", EntryPoint = "glPollAsyncSGIX")] + public static + Int32 PollAsync([OutAttribute] out Int32 markerp) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* markerp_ptr = &markerp) + { + Int32 retval = Delegates.glPollAsyncSGIX((UInt32*)markerp_ptr); + markerp = *markerp_ptr; + return retval; + } + } + #if DEBUG + } + #endif + } + + /// [requires: SGIX_async] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SGIX_async", Version = "1.0", EntryPoint = "glPollAsyncSGIX")] + public static + unsafe Int32 PollAsync([OutAttribute] Int32* markerp) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glPollAsyncSGIX((UInt32*)markerp); + #if DEBUG + } + #endif + } + + /// [requires: SGIX_async] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SGIX_async", Version = "1.0", EntryPoint = "glPollAsyncSGIX")] + public static + Int32 PollAsync([OutAttribute] out UInt32 markerp) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* markerp_ptr = &markerp) + { + Int32 retval = Delegates.glPollAsyncSGIX((UInt32*)markerp_ptr); + markerp = *markerp_ptr; + return retval; + } + } + #if DEBUG + } + #endif + } + + /// [requires: SGIX_async] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SGIX_async", Version = "1.0", EntryPoint = "glPollAsyncSGIX")] + public static + unsafe Int32 PollAsync([OutAttribute] UInt32* markerp) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glPollAsyncSGIX((UInt32*)markerp); + #if DEBUG + } + #endif + } + + /// [requires: SGIX_instruments] + [AutoGenerated(Category = "SGIX_instruments", Version = "1.0", EntryPoint = "glPollInstrumentsSGIX")] + public static + Int32 PollInstruments([OutAttribute] out Int32 marker_p) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* marker_p_ptr = &marker_p) + { + Int32 retval = Delegates.glPollInstrumentsSGIX((Int32*)marker_p_ptr); + marker_p = *marker_p_ptr; + return retval; + } + } + #if DEBUG + } + #endif + } + + /// [requires: SGIX_instruments] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SGIX_instruments", Version = "1.0", EntryPoint = "glPollInstrumentsSGIX")] + public static + unsafe Int32 PollInstruments([OutAttribute] Int32* marker_p) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glPollInstrumentsSGIX((Int32*)marker_p); + #if DEBUG + } + #endif + } + + /// [requires: SGIX_instruments] + [AutoGenerated(Category = "SGIX_instruments", Version = "1.0", EntryPoint = "glReadInstrumentsSGIX")] + public static + void ReadInstruments(Int32 marker) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReadInstrumentsSGIX((Int32)marker); + #if DEBUG + } + #endif + } + + /// [requires: SGIX_reference_plane] + [AutoGenerated(Category = "SGIX_reference_plane", Version = "1.0", EntryPoint = "glReferencePlaneSGIX")] + public static + void ReferencePlane(Double[] equation) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* equation_ptr = equation) + { + Delegates.glReferencePlaneSGIX((Double*)equation_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SGIX_reference_plane] + [AutoGenerated(Category = "SGIX_reference_plane", Version = "1.0", EntryPoint = "glReferencePlaneSGIX")] + public static + void ReferencePlane(ref Double equation) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* equation_ptr = &equation) + { + Delegates.glReferencePlaneSGIX((Double*)equation_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SGIX_reference_plane] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SGIX_reference_plane", Version = "1.0", EntryPoint = "glReferencePlaneSGIX")] + public static + unsafe void ReferencePlane(Double* equation) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReferencePlaneSGIX((Double*)equation); + #if DEBUG + } + #endif + } + + /// [requires: SGIX_sprite] + [AutoGenerated(Category = "SGIX_sprite", Version = "1.0", EntryPoint = "glSpriteParameterfSGIX")] + public static + void SpriteParameter(OpenTK.Graphics.OpenGL.SgixSprite pname, Single param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSpriteParameterfSGIX((OpenTK.Graphics.OpenGL.SgixSprite)pname, (Single)param); + #if DEBUG + } + #endif + } + + /// [requires: SGIX_sprite] + [AutoGenerated(Category = "SGIX_sprite", Version = "1.0", EntryPoint = "glSpriteParameterfvSGIX")] + public static + void SpriteParameter(OpenTK.Graphics.OpenGL.SgixSprite pname, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glSpriteParameterfvSGIX((OpenTK.Graphics.OpenGL.SgixSprite)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SGIX_sprite] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SGIX_sprite", Version = "1.0", EntryPoint = "glSpriteParameterfvSGIX")] + public static + unsafe void SpriteParameter(OpenTK.Graphics.OpenGL.SgixSprite pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSpriteParameterfvSGIX((OpenTK.Graphics.OpenGL.SgixSprite)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: SGIX_sprite] + [AutoGenerated(Category = "SGIX_sprite", Version = "1.0", EntryPoint = "glSpriteParameteriSGIX")] + public static + void SpriteParameter(OpenTK.Graphics.OpenGL.SgixSprite pname, Int32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSpriteParameteriSGIX((OpenTK.Graphics.OpenGL.SgixSprite)pname, (Int32)param); + #if DEBUG + } + #endif + } + + /// [requires: SGIX_sprite] + [AutoGenerated(Category = "SGIX_sprite", Version = "1.0", EntryPoint = "glSpriteParameterivSGIX")] + public static + void SpriteParameter(OpenTK.Graphics.OpenGL.SgixSprite pname, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glSpriteParameterivSGIX((OpenTK.Graphics.OpenGL.SgixSprite)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SGIX_sprite] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SGIX_sprite", Version = "1.0", EntryPoint = "glSpriteParameterivSGIX")] + public static + unsafe void SpriteParameter(OpenTK.Graphics.OpenGL.SgixSprite pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSpriteParameterivSGIX((OpenTK.Graphics.OpenGL.SgixSprite)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: SGIX_instruments] + [AutoGenerated(Category = "SGIX_instruments", Version = "1.0", EntryPoint = "glStartInstrumentsSGIX")] + public static + void StartInstruments() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glStartInstrumentsSGIX(); + #if DEBUG + } + #endif + } + + /// [requires: SGIX_instruments] + [AutoGenerated(Category = "SGIX_instruments", Version = "1.0", EntryPoint = "glStopInstrumentsSGIX")] + public static + void StopInstruments(Int32 marker) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glStopInstrumentsSGIX((Int32)marker); + #if DEBUG + } + #endif + } + + /// [requires: SGIX_tag_sample_buffer] + [AutoGenerated(Category = "SGIX_tag_sample_buffer", Version = "1.0", EntryPoint = "glTagSampleBufferSGIX")] + public static + void TagSampleBuffer() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTagSampleBufferSGIX(); + #if DEBUG + } + #endif + } + + } + + public static partial class Sun + { + /// [requires: SUN_vertex] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glColor3fVertex3fSUN")] + public static + void Color3fVertex3(Single r, Single g, Single b, Single x, Single y, Single z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor3fVertex3fSUN((Single)r, (Single)g, (Single)b, (Single)x, (Single)y, (Single)z); + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glColor3fVertex3fvSUN")] + public static + void Color3fVertex3(Single[] c, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* c_ptr = c) + fixed (Single* v_ptr = v) + { + Delegates.glColor3fVertex3fvSUN((Single*)c_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glColor3fVertex3fvSUN")] + public static + void Color3fVertex3(ref Single c, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* c_ptr = &c) + fixed (Single* v_ptr = &v) + { + Delegates.glColor3fVertex3fvSUN((Single*)c_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glColor3fVertex3fvSUN")] + public static + unsafe void Color3fVertex3(Single* c, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor3fVertex3fvSUN((Single*)c, (Single*)v); + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glColor4fNormal3fVertex3fSUN")] + public static + void Color4fNormal3fVertex3(Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor4fNormal3fVertex3fSUN((Single)r, (Single)g, (Single)b, (Single)a, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z); + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glColor4fNormal3fVertex3fvSUN")] + public static + void Color4fNormal3fVertex3(Single[] c, Single[] n, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* c_ptr = c) + fixed (Single* n_ptr = n) + fixed (Single* v_ptr = v) + { + Delegates.glColor4fNormal3fVertex3fvSUN((Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glColor4fNormal3fVertex3fvSUN")] + public static + void Color4fNormal3fVertex3(ref Single c, ref Single n, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* c_ptr = &c) + fixed (Single* n_ptr = &n) + fixed (Single* v_ptr = &v) + { + Delegates.glColor4fNormal3fVertex3fvSUN((Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glColor4fNormal3fVertex3fvSUN")] + public static + unsafe void Color4fNormal3fVertex3(Single* c, Single* n, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor4fNormal3fVertex3fvSUN((Single*)c, (Single*)n, (Single*)v); + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glColor4ubVertex2fSUN")] + public static + void Color4ubVertex2(Byte r, Byte g, Byte b, Byte a, Single x, Single y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor4ubVertex2fSUN((Byte)r, (Byte)g, (Byte)b, (Byte)a, (Single)x, (Single)y); + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glColor4ubVertex2fvSUN")] + public static + void Color4ubVertex2(Byte[] c, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* c_ptr = c) + fixed (Single* v_ptr = v) + { + Delegates.glColor4ubVertex2fvSUN((Byte*)c_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glColor4ubVertex2fvSUN")] + public static + void Color4ubVertex2(ref Byte c, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* c_ptr = &c) + fixed (Single* v_ptr = &v) + { + Delegates.glColor4ubVertex2fvSUN((Byte*)c_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glColor4ubVertex2fvSUN")] + public static + unsafe void Color4ubVertex2(Byte* c, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor4ubVertex2fvSUN((Byte*)c, (Single*)v); + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glColor4ubVertex3fSUN")] + public static + void Color4ubVertex3(Byte r, Byte g, Byte b, Byte a, Single x, Single y, Single z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor4ubVertex3fSUN((Byte)r, (Byte)g, (Byte)b, (Byte)a, (Single)x, (Single)y, (Single)z); + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glColor4ubVertex3fvSUN")] + public static + void Color4ubVertex3(Byte[] c, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* c_ptr = c) + fixed (Single* v_ptr = v) + { + Delegates.glColor4ubVertex3fvSUN((Byte*)c_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glColor4ubVertex3fvSUN")] + public static + void Color4ubVertex3(ref Byte c, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* c_ptr = &c) + fixed (Single* v_ptr = &v) + { + Delegates.glColor4ubVertex3fvSUN((Byte*)c_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glColor4ubVertex3fvSUN")] + public static + unsafe void Color4ubVertex3(Byte* c, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor4ubVertex3fvSUN((Byte*)c, (Single*)v); + #if DEBUG + } + #endif + } + + /// [requires: SUN_mesh_array] + [AutoGenerated(Category = "SUN_mesh_array", Version = "1.1", EntryPoint = "glDrawMeshArraysSUN")] + public static + void DrawMeshArrays(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 first, Int32 count, Int32 width) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawMeshArraysSUN((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)first, (Int32)count, (Int32)width); + #if DEBUG + } + #endif + } + + /// [requires: SUN_global_alpha] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SUN_global_alpha", Version = "1.1", EntryPoint = "glGlobalAlphaFactorbSUN")] + public static + void GlobalAlphaFactor(SByte factor) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGlobalAlphaFactorbSUN((SByte)factor); + #if DEBUG + } + #endif + } + + /// [requires: SUN_global_alpha] + [AutoGenerated(Category = "SUN_global_alpha", Version = "1.1", EntryPoint = "glGlobalAlphaFactordSUN")] + public static + void GlobalAlphaFactor(Double factor) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGlobalAlphaFactordSUN((Double)factor); + #if DEBUG + } + #endif + } + + /// [requires: SUN_global_alpha] + [AutoGenerated(Category = "SUN_global_alpha", Version = "1.1", EntryPoint = "glGlobalAlphaFactorfSUN")] + public static + void GlobalAlphaFactor(Single factor) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGlobalAlphaFactorfSUN((Single)factor); + #if DEBUG + } + #endif + } + + /// [requires: SUN_global_alpha] + [AutoGenerated(Category = "SUN_global_alpha", Version = "1.1", EntryPoint = "glGlobalAlphaFactoriSUN")] + public static + void GlobalAlphaFactor(Int32 factor) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGlobalAlphaFactoriSUN((Int32)factor); + #if DEBUG + } + #endif + } + + /// [requires: SUN_global_alpha] + [AutoGenerated(Category = "SUN_global_alpha", Version = "1.1", EntryPoint = "glGlobalAlphaFactorsSUN")] + public static + void GlobalAlphaFactors(Int16 factor) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGlobalAlphaFactorsSUN((Int16)factor); + #if DEBUG + } + #endif + } + + /// [requires: SUN_global_alpha] + [AutoGenerated(Category = "SUN_global_alpha", Version = "1.1", EntryPoint = "glGlobalAlphaFactorubSUN")] + public static + void GlobalAlphaFactor(Byte factor) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGlobalAlphaFactorubSUN((Byte)factor); + #if DEBUG + } + #endif + } + + /// [requires: SUN_global_alpha] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SUN_global_alpha", Version = "1.1", EntryPoint = "glGlobalAlphaFactoruiSUN")] + public static + void GlobalAlphaFactor(UInt32 factor) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGlobalAlphaFactoruiSUN((UInt32)factor); + #if DEBUG + } + #endif + } + + /// [requires: SUN_global_alpha] + [AutoGenerated(Category = "SUN_global_alpha", Version = "1.1", EntryPoint = "glGlobalAlphaFactorusSUN")] + public static + void GlobalAlphaFactor(Int16 factor) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGlobalAlphaFactorusSUN((UInt16)factor); + #if DEBUG + } + #endif + } + + /// [requires: SUN_global_alpha] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SUN_global_alpha", Version = "1.1", EntryPoint = "glGlobalAlphaFactorusSUN")] + public static + void GlobalAlphaFactor(UInt16 factor) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGlobalAlphaFactorusSUN((UInt16)factor); + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glNormal3fVertex3fSUN")] + public static + void Normal3fVertex3(Single nx, Single ny, Single nz, Single x, Single y, Single z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormal3fVertex3fSUN((Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z); + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glNormal3fVertex3fvSUN")] + public static + void Normal3fVertex3(Single[] n, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* n_ptr = n) + fixed (Single* v_ptr = v) + { + Delegates.glNormal3fVertex3fvSUN((Single*)n_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glNormal3fVertex3fvSUN")] + public static + void Normal3fVertex3(ref Single n, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* n_ptr = &n) + fixed (Single* v_ptr = &v) + { + Delegates.glNormal3fVertex3fvSUN((Single*)n_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glNormal3fVertex3fvSUN")] + public static + unsafe void Normal3fVertex3(Single* n, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormal3fVertex3fvSUN((Single*)n, (Single*)v); + #if DEBUG + } + #endif + } + + /// [requires: SUN_triangle_list] + [AutoGenerated(Category = "SUN_triangle_list", Version = "1.1", EntryPoint = "glReplacementCodePointerSUN")] + public static + void ReplacementCodePointer(OpenTK.Graphics.OpenGL.SunTriangleList type, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReplacementCodePointerSUN((OpenTK.Graphics.OpenGL.SunTriangleList)type, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + /// [requires: SUN_triangle_list] + [AutoGenerated(Category = "SUN_triangle_list", Version = "1.1", EntryPoint = "glReplacementCodePointerSUN")] + public static + void ReplacementCodePointer(OpenTK.Graphics.OpenGL.SunTriangleList type, Int32 stride, [InAttribute, OutAttribute] T2[] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodePointerSUN((OpenTK.Graphics.OpenGL.SunTriangleList)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: SUN_triangle_list] + [AutoGenerated(Category = "SUN_triangle_list", Version = "1.1", EntryPoint = "glReplacementCodePointerSUN")] + public static + void ReplacementCodePointer(OpenTK.Graphics.OpenGL.SunTriangleList type, Int32 stride, [InAttribute, OutAttribute] T2[,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodePointerSUN((OpenTK.Graphics.OpenGL.SunTriangleList)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: SUN_triangle_list] + [AutoGenerated(Category = "SUN_triangle_list", Version = "1.1", EntryPoint = "glReplacementCodePointerSUN")] + public static + void ReplacementCodePointer(OpenTK.Graphics.OpenGL.SunTriangleList type, Int32 stride, [InAttribute, OutAttribute] T2[,,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodePointerSUN((OpenTK.Graphics.OpenGL.SunTriangleList)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: SUN_triangle_list] + [AutoGenerated(Category = "SUN_triangle_list", Version = "1.1", EntryPoint = "glReplacementCodePointerSUN")] + public static + void ReplacementCodePointer(OpenTK.Graphics.OpenGL.SunTriangleList type, Int32 stride, [InAttribute, OutAttribute] ref T2 pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodePointerSUN((OpenTK.Graphics.OpenGL.SunTriangleList)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + pointer = (T2)pointer_ptr.Target; + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: SUN_triangle_list] + [AutoGenerated(Category = "SUN_triangle_list", Version = "1.1", EntryPoint = "glReplacementCodeubSUN")] + public static + void ReplacementCode(Byte code) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReplacementCodeubSUN((Byte)code); + #if DEBUG + } + #endif + } + + /// [requires: SUN_triangle_list] + [AutoGenerated(Category = "SUN_triangle_list", Version = "1.1", EntryPoint = "glReplacementCodeubvSUN")] + public static + void ReplacementCode(Byte[] code) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* code_ptr = code) + { + Delegates.glReplacementCodeubvSUN((Byte*)code_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SUN_triangle_list] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SUN_triangle_list", Version = "1.1", EntryPoint = "glReplacementCodeubvSUN")] + public static + unsafe void ReplacementCode(Byte* code) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReplacementCodeubvSUN((Byte*)code); + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor3fVertex3fSUN")] + public static + void ReplacementCodeuiColor3fVertex3(Int32 rc, Single r, Single g, Single b, Single x, Single y, Single z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReplacementCodeuiColor3fVertex3fSUN((UInt32)rc, (Single)r, (Single)g, (Single)b, (Single)x, (Single)y, (Single)z); + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor3fVertex3fSUN")] + public static + void ReplacementCodeuiColor3fVertex3(UInt32 rc, Single r, Single g, Single b, Single x, Single y, Single z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReplacementCodeuiColor3fVertex3fSUN((UInt32)rc, (Single)r, (Single)g, (Single)b, (Single)x, (Single)y, (Single)z); + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor3fVertex3fvSUN")] + public static + void ReplacementCodeuiColor3fVertex3(ref Int32 rc, ref Single c, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* rc_ptr = &rc) + fixed (Single* c_ptr = &c) + fixed (Single* v_ptr = &v) + { + Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor3fVertex3fvSUN")] + public static + unsafe void ReplacementCodeuiColor3fVertex3(Int32* rc, Single[] c, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (Single* c_ptr = c) + fixed (Single* v_ptr = v) + { + Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)v_ptr); + } + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor3fVertex3fvSUN")] + public static + unsafe void ReplacementCodeuiColor3fVertex3(Int32* rc, Single* c, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc, (Single*)c, (Single*)v); + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor3fVertex3fvSUN")] + public static + void ReplacementCodeuiColor3fVertex3(ref UInt32 rc, ref Single c, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* rc_ptr = &rc) + fixed (Single* c_ptr = &c) + fixed (Single* v_ptr = &v) + { + Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor3fVertex3fvSUN")] + public static + unsafe void ReplacementCodeuiColor3fVertex3(UInt32* rc, Single[] c, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (Single* c_ptr = c) + fixed (Single* v_ptr = v) + { + Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)v_ptr); + } + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor3fVertex3fvSUN")] + public static + unsafe void ReplacementCodeuiColor3fVertex3(UInt32* rc, Single* c, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc, (Single*)c, (Single*)v); + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor4fNormal3fVertex3fSUN")] + public static + void ReplacementCodeuiColor4fNormal3fVertex3(Int32 rc, Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fSUN((UInt32)rc, (Single)r, (Single)g, (Single)b, (Single)a, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z); + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor4fNormal3fVertex3fSUN")] + public static + void ReplacementCodeuiColor4fNormal3fVertex3(UInt32 rc, Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fSUN((UInt32)rc, (Single)r, (Single)g, (Single)b, (Single)a, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z); + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor4fNormal3fVertex3fvSUN")] + public static + void ReplacementCodeuiColor4fNormal3fVertex3(ref Int32 rc, ref Single c, ref Single n, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* rc_ptr = &rc) + fixed (Single* c_ptr = &c) + fixed (Single* n_ptr = &n) + fixed (Single* v_ptr = &v) + { + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor4fNormal3fVertex3fvSUN")] + public static + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(Int32* rc, Single[] c, Single[] n, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (Single* c_ptr = c) + fixed (Single* n_ptr = n) + fixed (Single* v_ptr = v) + { + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); + } + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor4fNormal3fVertex3fvSUN")] + public static + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(Int32* rc, Single* c, Single* n, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c, (Single*)n, (Single*)v); + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor4fNormal3fVertex3fvSUN")] + public static + void ReplacementCodeuiColor4fNormal3fVertex3(ref UInt32 rc, ref Single c, ref Single n, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* rc_ptr = &rc) + fixed (Single* c_ptr = &c) + fixed (Single* n_ptr = &n) + fixed (Single* v_ptr = &v) + { + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor4fNormal3fVertex3fvSUN")] + public static + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(UInt32* rc, Single[] c, Single[] n, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (Single* c_ptr = c) + fixed (Single* n_ptr = n) + fixed (Single* v_ptr = v) + { + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); + } + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor4fNormal3fVertex3fvSUN")] + public static + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(UInt32* rc, Single* c, Single* n, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c, (Single*)n, (Single*)v); + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor4ubVertex3fSUN")] + public static + void ReplacementCodeuiColor4ubVertex3(Int32 rc, Byte r, Byte g, Byte b, Byte a, Single x, Single y, Single z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReplacementCodeuiColor4ubVertex3fSUN((UInt32)rc, (Byte)r, (Byte)g, (Byte)b, (Byte)a, (Single)x, (Single)y, (Single)z); + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor4ubVertex3fSUN")] + public static + void ReplacementCodeuiColor4ubVertex3(UInt32 rc, Byte r, Byte g, Byte b, Byte a, Single x, Single y, Single z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReplacementCodeuiColor4ubVertex3fSUN((UInt32)rc, (Byte)r, (Byte)g, (Byte)b, (Byte)a, (Single)x, (Single)y, (Single)z); + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor4ubVertex3fvSUN")] + public static + void ReplacementCodeuiColor4ubVertex3(ref Int32 rc, ref Byte c, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* rc_ptr = &rc) + fixed (Byte* c_ptr = &c) + fixed (Single* v_ptr = &v) + { + Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc_ptr, (Byte*)c_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor4ubVertex3fvSUN")] + public static + unsafe void ReplacementCodeuiColor4ubVertex3(Int32* rc, Byte[] c, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (Byte* c_ptr = c) + fixed (Single* v_ptr = v) + { + Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc, (Byte*)c_ptr, (Single*)v_ptr); + } + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor4ubVertex3fvSUN")] + public static + unsafe void ReplacementCodeuiColor4ubVertex3(Int32* rc, Byte* c, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc, (Byte*)c, (Single*)v); + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor4ubVertex3fvSUN")] + public static + void ReplacementCodeuiColor4ubVertex3(ref UInt32 rc, ref Byte c, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* rc_ptr = &rc) + fixed (Byte* c_ptr = &c) + fixed (Single* v_ptr = &v) + { + Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc_ptr, (Byte*)c_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor4ubVertex3fvSUN")] + public static + unsafe void ReplacementCodeuiColor4ubVertex3(UInt32* rc, Byte[] c, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (Byte* c_ptr = c) + fixed (Single* v_ptr = v) + { + Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc, (Byte*)c_ptr, (Single*)v_ptr); + } + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor4ubVertex3fvSUN")] + public static + unsafe void ReplacementCodeuiColor4ubVertex3(UInt32* rc, Byte* c, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc, (Byte*)c, (Single*)v); + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glReplacementCodeuiNormal3fVertex3fSUN")] + public static + void ReplacementCodeuiNormal3fVertex3(Int32 rc, Single nx, Single ny, Single nz, Single x, Single y, Single z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReplacementCodeuiNormal3fVertex3fSUN((UInt32)rc, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z); + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glReplacementCodeuiNormal3fVertex3fSUN")] + public static + void ReplacementCodeuiNormal3fVertex3(UInt32 rc, Single nx, Single ny, Single nz, Single x, Single y, Single z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReplacementCodeuiNormal3fVertex3fSUN((UInt32)rc, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z); + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glReplacementCodeuiNormal3fVertex3fvSUN")] + public static + void ReplacementCodeuiNormal3fVertex3(ref Int32 rc, ref Single n, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* rc_ptr = &rc) + fixed (Single* n_ptr = &n) + fixed (Single* v_ptr = &v) + { + Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)n_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glReplacementCodeuiNormal3fVertex3fvSUN")] + public static + unsafe void ReplacementCodeuiNormal3fVertex3(Int32* rc, Single[] n, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (Single* n_ptr = n) + fixed (Single* v_ptr = v) + { + Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc, (Single*)n_ptr, (Single*)v_ptr); + } + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glReplacementCodeuiNormal3fVertex3fvSUN")] + public static + unsafe void ReplacementCodeuiNormal3fVertex3(Int32* rc, Single* n, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc, (Single*)n, (Single*)v); + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glReplacementCodeuiNormal3fVertex3fvSUN")] + public static + void ReplacementCodeuiNormal3fVertex3(ref UInt32 rc, ref Single n, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* rc_ptr = &rc) + fixed (Single* n_ptr = &n) + fixed (Single* v_ptr = &v) + { + Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)n_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glReplacementCodeuiNormal3fVertex3fvSUN")] + public static + unsafe void ReplacementCodeuiNormal3fVertex3(UInt32* rc, Single[] n, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (Single* n_ptr = n) + fixed (Single* v_ptr = v) + { + Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc, (Single*)n_ptr, (Single*)v_ptr); + } + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glReplacementCodeuiNormal3fVertex3fvSUN")] + public static + unsafe void ReplacementCodeuiNormal3fVertex3(UInt32* rc, Single* n, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc, (Single*)n, (Single*)v); + #if DEBUG + } + #endif + } + + /// [requires: SUN_triangle_list] + [AutoGenerated(Category = "SUN_triangle_list", Version = "1.1", EntryPoint = "glReplacementCodeuiSUN")] + public static + void ReplacementCode(Int32 code) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReplacementCodeuiSUN((UInt32)code); + #if DEBUG + } + #endif + } + + /// [requires: SUN_triangle_list] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SUN_triangle_list", Version = "1.1", EntryPoint = "glReplacementCodeuiSUN")] + public static + void ReplacementCode(UInt32 code) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReplacementCodeuiSUN((UInt32)code); + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN")] + public static + void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32 rc, Single s, Single t, Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN((UInt32)rc, (Single)s, (Single)t, (Single)r, (Single)g, (Single)b, (Single)a, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z); + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN")] + public static + void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32 rc, Single s, Single t, Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN((UInt32)rc, (Single)s, (Single)t, (Single)r, (Single)g, (Single)b, (Single)a, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z); + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN")] + public static + void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, ref Single tc, ref Single c, ref Single n, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* rc_ptr = &rc) + fixed (Single* tc_ptr = &tc) + fixed (Single* c_ptr = &c) + fixed (Single* n_ptr = &n) + fixed (Single* v_ptr = &v) + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN")] + public static + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single[] tc, Single[] c, Single[] n, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (Single* tc_ptr = tc) + fixed (Single* c_ptr = c) + fixed (Single* n_ptr = n) + fixed (Single* v_ptr = v) + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); + } + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN")] + public static + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single* tc, Single* c, Single* n, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c, (Single*)n, (Single*)v); + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN")] + public static + void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, ref Single tc, ref Single c, ref Single n, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* rc_ptr = &rc) + fixed (Single* tc_ptr = &tc) + fixed (Single* c_ptr = &c) + fixed (Single* n_ptr = &n) + fixed (Single* v_ptr = &v) + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN")] + public static + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, Single[] tc, Single[] c, Single[] n, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (Single* tc_ptr = tc) + fixed (Single* c_ptr = c) + fixed (Single* n_ptr = n) + fixed (Single* v_ptr = v) + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); + } + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN")] + public static + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, Single* tc, Single* c, Single* n, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c, (Single*)n, (Single*)v); + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN")] + public static + void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32 rc, Single s, Single t, Single nx, Single ny, Single nz, Single x, Single y, Single z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN((UInt32)rc, (Single)s, (Single)t, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z); + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN")] + public static + void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32 rc, Single s, Single t, Single nx, Single ny, Single nz, Single x, Single y, Single z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN((UInt32)rc, (Single)s, (Single)t, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z); + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN")] + public static + void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref Int32 rc, ref Single tc, ref Single n, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* rc_ptr = &rc) + fixed (Single* tc_ptr = &tc) + fixed (Single* n_ptr = &n) + fixed (Single* v_ptr = &v) + { + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN")] + public static + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32* rc, Single[] tc, Single[] n, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (Single* tc_ptr = tc) + fixed (Single* n_ptr = n) + fixed (Single* v_ptr = v) + { + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr); + } + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN")] + public static + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32* rc, Single* tc, Single* n, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)n, (Single*)v); + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN")] + public static + void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref UInt32 rc, ref Single tc, ref Single n, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* rc_ptr = &rc) + fixed (Single* tc_ptr = &tc) + fixed (Single* n_ptr = &n) + fixed (Single* v_ptr = &v) + { + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN")] + public static + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32* rc, Single[] tc, Single[] n, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (Single* tc_ptr = tc) + fixed (Single* n_ptr = n) + fixed (Single* v_ptr = v) + { + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr); + } + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN")] + public static + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32* rc, Single* tc, Single* n, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)n, (Single*)v); + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fVertex3fSUN")] + public static + void ReplacementCodeuiTexCoord2fVertex3(Int32 rc, Single s, Single t, Single x, Single y, Single z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReplacementCodeuiTexCoord2fVertex3fSUN((UInt32)rc, (Single)s, (Single)t, (Single)x, (Single)y, (Single)z); + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fVertex3fSUN")] + public static + void ReplacementCodeuiTexCoord2fVertex3(UInt32 rc, Single s, Single t, Single x, Single y, Single z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReplacementCodeuiTexCoord2fVertex3fSUN((UInt32)rc, (Single)s, (Single)t, (Single)x, (Single)y, (Single)z); + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fVertex3fvSUN")] + public static + void ReplacementCodeuiTexCoord2fVertex3(ref Int32 rc, ref Single tc, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* rc_ptr = &rc) + fixed (Single* tc_ptr = &tc) + fixed (Single* v_ptr = &v) + { + Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fVertex3fvSUN")] + public static + unsafe void ReplacementCodeuiTexCoord2fVertex3(Int32* rc, Single[] tc, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (Single* tc_ptr = tc) + fixed (Single* v_ptr = v) + { + Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)v_ptr); + } + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fVertex3fvSUN")] + public static + unsafe void ReplacementCodeuiTexCoord2fVertex3(Int32* rc, Single* tc, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)v); + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fVertex3fvSUN")] + public static + void ReplacementCodeuiTexCoord2fVertex3(ref UInt32 rc, ref Single tc, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* rc_ptr = &rc) + fixed (Single* tc_ptr = &tc) + fixed (Single* v_ptr = &v) + { + Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fVertex3fvSUN")] + public static + unsafe void ReplacementCodeuiTexCoord2fVertex3(UInt32* rc, Single[] tc, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (Single* tc_ptr = tc) + fixed (Single* v_ptr = v) + { + Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)v_ptr); + } + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fVertex3fvSUN")] + public static + unsafe void ReplacementCodeuiTexCoord2fVertex3(UInt32* rc, Single* tc, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)v); + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glReplacementCodeuiVertex3fSUN")] + public static + void ReplacementCodeuiVertex3(Int32 rc, Single x, Single y, Single z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReplacementCodeuiVertex3fSUN((UInt32)rc, (Single)x, (Single)y, (Single)z); + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glReplacementCodeuiVertex3fSUN")] + public static + void ReplacementCodeuiVertex3(UInt32 rc, Single x, Single y, Single z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReplacementCodeuiVertex3fSUN((UInt32)rc, (Single)x, (Single)y, (Single)z); + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glReplacementCodeuiVertex3fvSUN")] + public static + void ReplacementCodeuiVertex3(ref Int32 rc, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* rc_ptr = &rc) + fixed (Single* v_ptr = &v) + { + Delegates.glReplacementCodeuiVertex3fvSUN((UInt32*)rc_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glReplacementCodeuiVertex3fvSUN")] + public static + unsafe void ReplacementCodeuiVertex3(Int32* rc, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (Single* v_ptr = v) + { + Delegates.glReplacementCodeuiVertex3fvSUN((UInt32*)rc, (Single*)v_ptr); + } + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glReplacementCodeuiVertex3fvSUN")] + public static + unsafe void ReplacementCodeuiVertex3(Int32* rc, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReplacementCodeuiVertex3fvSUN((UInt32*)rc, (Single*)v); + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glReplacementCodeuiVertex3fvSUN")] + public static + void ReplacementCodeuiVertex3(ref UInt32 rc, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* rc_ptr = &rc) + fixed (Single* v_ptr = &v) + { + Delegates.glReplacementCodeuiVertex3fvSUN((UInt32*)rc_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glReplacementCodeuiVertex3fvSUN")] + public static + unsafe void ReplacementCodeuiVertex3(UInt32* rc, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (Single* v_ptr = v) + { + Delegates.glReplacementCodeuiVertex3fvSUN((UInt32*)rc, (Single*)v_ptr); + } + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glReplacementCodeuiVertex3fvSUN")] + public static + unsafe void ReplacementCodeuiVertex3(UInt32* rc, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReplacementCodeuiVertex3fvSUN((UInt32*)rc, (Single*)v); + #if DEBUG + } + #endif + } + + /// [requires: SUN_triangle_list] + [AutoGenerated(Category = "SUN_triangle_list", Version = "1.1", EntryPoint = "glReplacementCodeuivSUN")] + public static + void ReplacementCode(Int32[] code) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* code_ptr = code) + { + Delegates.glReplacementCodeuivSUN((UInt32*)code_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SUN_triangle_list] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SUN_triangle_list", Version = "1.1", EntryPoint = "glReplacementCodeuivSUN")] + public static + unsafe void ReplacementCode(Int32* code) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReplacementCodeuivSUN((UInt32*)code); + #if DEBUG + } + #endif + } + + /// [requires: SUN_triangle_list] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SUN_triangle_list", Version = "1.1", EntryPoint = "glReplacementCodeuivSUN")] + public static + void ReplacementCode(UInt32[] code) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* code_ptr = code) + { + Delegates.glReplacementCodeuivSUN((UInt32*)code_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SUN_triangle_list] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SUN_triangle_list", Version = "1.1", EntryPoint = "glReplacementCodeuivSUN")] + public static + unsafe void ReplacementCode(UInt32* code) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReplacementCodeuivSUN((UInt32*)code); + #if DEBUG + } + #endif + } + + /// [requires: SUN_triangle_list] + [AutoGenerated(Category = "SUN_triangle_list", Version = "1.1", EntryPoint = "glReplacementCodeusSUN")] + public static + void ReplacementCode(Int16 code) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReplacementCodeusSUN((UInt16)code); + #if DEBUG + } + #endif + } + + /// [requires: SUN_triangle_list] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SUN_triangle_list", Version = "1.1", EntryPoint = "glReplacementCodeusSUN")] + public static + void ReplacementCode(UInt16 code) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReplacementCodeusSUN((UInt16)code); + #if DEBUG + } + #endif + } + + /// [requires: SUN_triangle_list] + [AutoGenerated(Category = "SUN_triangle_list", Version = "1.1", EntryPoint = "glReplacementCodeusvSUN")] + public static + void ReplacementCode(Int16[] code) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* code_ptr = code) + { + Delegates.glReplacementCodeusvSUN((UInt16*)code_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SUN_triangle_list] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SUN_triangle_list", Version = "1.1", EntryPoint = "glReplacementCodeusvSUN")] + public static + unsafe void ReplacementCode(Int16* code) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReplacementCodeusvSUN((UInt16*)code); + #if DEBUG + } + #endif + } + + /// [requires: SUN_triangle_list] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SUN_triangle_list", Version = "1.1", EntryPoint = "glReplacementCodeusvSUN")] + public static + void ReplacementCode(UInt16[] code) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt16* code_ptr = code) + { + Delegates.glReplacementCodeusvSUN((UInt16*)code_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SUN_triangle_list] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SUN_triangle_list", Version = "1.1", EntryPoint = "glReplacementCodeusvSUN")] + public static + unsafe void ReplacementCode(UInt16* code) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReplacementCodeusvSUN((UInt16*)code); + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glTexCoord2fColor3fVertex3fSUN")] + public static + void TexCoord2fColor3fVertex3(Single s, Single t, Single r, Single g, Single b, Single x, Single y, Single z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord2fColor3fVertex3fSUN((Single)s, (Single)t, (Single)r, (Single)g, (Single)b, (Single)x, (Single)y, (Single)z); + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glTexCoord2fColor3fVertex3fvSUN")] + public static + void TexCoord2fColor3fVertex3(Single[] tc, Single[] c, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* tc_ptr = tc) + fixed (Single* c_ptr = c) + fixed (Single* v_ptr = v) + { + Delegates.glTexCoord2fColor3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glTexCoord2fColor3fVertex3fvSUN")] + public static + void TexCoord2fColor3fVertex3(ref Single tc, ref Single c, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* tc_ptr = &tc) + fixed (Single* c_ptr = &c) + fixed (Single* v_ptr = &v) + { + Delegates.glTexCoord2fColor3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glTexCoord2fColor3fVertex3fvSUN")] + public static + unsafe void TexCoord2fColor3fVertex3(Single* tc, Single* c, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord2fColor3fVertex3fvSUN((Single*)tc, (Single*)c, (Single*)v); + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glTexCoord2fColor4fNormal3fVertex3fSUN")] + public static + void TexCoord2fColor4fNormal3fVertex3(Single s, Single t, Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord2fColor4fNormal3fVertex3fSUN((Single)s, (Single)t, (Single)r, (Single)g, (Single)b, (Single)a, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z); + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glTexCoord2fColor4fNormal3fVertex3fvSUN")] + public static + void TexCoord2fColor4fNormal3fVertex3(Single[] tc, Single[] c, Single[] n, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* tc_ptr = tc) + fixed (Single* c_ptr = c) + fixed (Single* n_ptr = n) + fixed (Single* v_ptr = v) + { + Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glTexCoord2fColor4fNormal3fVertex3fvSUN")] + public static + void TexCoord2fColor4fNormal3fVertex3(ref Single tc, ref Single c, ref Single n, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* tc_ptr = &tc) + fixed (Single* c_ptr = &c) + fixed (Single* n_ptr = &n) + fixed (Single* v_ptr = &v) + { + Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glTexCoord2fColor4fNormal3fVertex3fvSUN")] + public static + unsafe void TexCoord2fColor4fNormal3fVertex3(Single* tc, Single* c, Single* n, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc, (Single*)c, (Single*)n, (Single*)v); + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glTexCoord2fColor4ubVertex3fSUN")] + public static + void TexCoord2fColor4ubVertex3(Single s, Single t, Byte r, Byte g, Byte b, Byte a, Single x, Single y, Single z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord2fColor4ubVertex3fSUN((Single)s, (Single)t, (Byte)r, (Byte)g, (Byte)b, (Byte)a, (Single)x, (Single)y, (Single)z); + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glTexCoord2fColor4ubVertex3fvSUN")] + public static + void TexCoord2fColor4ubVertex3(Single[] tc, Byte[] c, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* tc_ptr = tc) + fixed (Byte* c_ptr = c) + fixed (Single* v_ptr = v) + { + Delegates.glTexCoord2fColor4ubVertex3fvSUN((Single*)tc_ptr, (Byte*)c_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glTexCoord2fColor4ubVertex3fvSUN")] + public static + void TexCoord2fColor4ubVertex3(ref Single tc, ref Byte c, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* tc_ptr = &tc) + fixed (Byte* c_ptr = &c) + fixed (Single* v_ptr = &v) + { + Delegates.glTexCoord2fColor4ubVertex3fvSUN((Single*)tc_ptr, (Byte*)c_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glTexCoord2fColor4ubVertex3fvSUN")] + public static + unsafe void TexCoord2fColor4ubVertex3(Single* tc, Byte* c, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord2fColor4ubVertex3fvSUN((Single*)tc, (Byte*)c, (Single*)v); + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glTexCoord2fNormal3fVertex3fSUN")] + public static + void TexCoord2fNormal3fVertex3(Single s, Single t, Single nx, Single ny, Single nz, Single x, Single y, Single z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord2fNormal3fVertex3fSUN((Single)s, (Single)t, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z); + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glTexCoord2fNormal3fVertex3fvSUN")] + public static + void TexCoord2fNormal3fVertex3(Single[] tc, Single[] n, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* tc_ptr = tc) + fixed (Single* n_ptr = n) + fixed (Single* v_ptr = v) + { + Delegates.glTexCoord2fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glTexCoord2fNormal3fVertex3fvSUN")] + public static + void TexCoord2fNormal3fVertex3(ref Single tc, ref Single n, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* tc_ptr = &tc) + fixed (Single* n_ptr = &n) + fixed (Single* v_ptr = &v) + { + Delegates.glTexCoord2fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glTexCoord2fNormal3fVertex3fvSUN")] + public static + unsafe void TexCoord2fNormal3fVertex3(Single* tc, Single* n, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord2fNormal3fVertex3fvSUN((Single*)tc, (Single*)n, (Single*)v); + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glTexCoord2fVertex3fSUN")] + public static + void TexCoord2fVertex3(Single s, Single t, Single x, Single y, Single z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord2fVertex3fSUN((Single)s, (Single)t, (Single)x, (Single)y, (Single)z); + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glTexCoord2fVertex3fvSUN")] + public static + void TexCoord2fVertex3(Single[] tc, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* tc_ptr = tc) + fixed (Single* v_ptr = v) + { + Delegates.glTexCoord2fVertex3fvSUN((Single*)tc_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glTexCoord2fVertex3fvSUN")] + public static + void TexCoord2fVertex3(ref Single tc, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* tc_ptr = &tc) + fixed (Single* v_ptr = &v) + { + Delegates.glTexCoord2fVertex3fvSUN((Single*)tc_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glTexCoord2fVertex3fvSUN")] + public static + unsafe void TexCoord2fVertex3(Single* tc, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord2fVertex3fvSUN((Single*)tc, (Single*)v); + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glTexCoord4fColor4fNormal3fVertex4fSUN")] + public static + void TexCoord4fColor4fNormal3fVertex4(Single s, Single t, Single p, Single q, Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z, Single w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord4fColor4fNormal3fVertex4fSUN((Single)s, (Single)t, (Single)p, (Single)q, (Single)r, (Single)g, (Single)b, (Single)a, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z, (Single)w); + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glTexCoord4fColor4fNormal3fVertex4fvSUN")] + public static + void TexCoord4fColor4fNormal3fVertex4(Single[] tc, Single[] c, Single[] n, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* tc_ptr = tc) + fixed (Single* c_ptr = c) + fixed (Single* n_ptr = n) + fixed (Single* v_ptr = v) + { + Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glTexCoord4fColor4fNormal3fVertex4fvSUN")] + public static + void TexCoord4fColor4fNormal3fVertex4(ref Single tc, ref Single c, ref Single n, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* tc_ptr = &tc) + fixed (Single* c_ptr = &c) + fixed (Single* n_ptr = &n) + fixed (Single* v_ptr = &v) + { + Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glTexCoord4fColor4fNormal3fVertex4fvSUN")] + public static + unsafe void TexCoord4fColor4fNormal3fVertex4(Single* tc, Single* c, Single* n, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc, (Single*)c, (Single*)n, (Single*)v); + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glTexCoord4fVertex4fSUN")] + public static + void TexCoord4fVertex4(Single s, Single t, Single p, Single q, Single x, Single y, Single z, Single w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord4fVertex4fSUN((Single)s, (Single)t, (Single)p, (Single)q, (Single)x, (Single)y, (Single)z, (Single)w); + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glTexCoord4fVertex4fvSUN")] + public static + void TexCoord4fVertex4(Single[] tc, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* tc_ptr = tc) + fixed (Single* v_ptr = v) + { + Delegates.glTexCoord4fVertex4fvSUN((Single*)tc_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glTexCoord4fVertex4fvSUN")] + public static + void TexCoord4fVertex4(ref Single tc, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* tc_ptr = &tc) + fixed (Single* v_ptr = &v) + { + Delegates.glTexCoord4fVertex4fvSUN((Single*)tc_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SUN_vertex] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SUN_vertex", Version = "1.1", EntryPoint = "glTexCoord4fVertex4fvSUN")] + public static + unsafe void TexCoord4fVertex4(Single* tc, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord4fVertex4fvSUN((Single*)tc, (Single*)v); + #if DEBUG + } + #endif + } + + } + + public static partial class Sunx + { + /// [requires: SUNX_constant_data] + [AutoGenerated(Category = "SUNX_constant_data", Version = "1.1", EntryPoint = "glFinishTextureSUNX")] + public static + void FinishTexture() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFinishTextureSUNX(); + #if DEBUG + } + #endif + } + + } + + } +} + +// flibit added this! +#pragma warning restore 3021 \ No newline at end of file diff --git a/src/MiniTK/Graphics/OpenGL/GLCore.cs b/src/MiniTK/Graphics/OpenGL/GLCore.cs new file mode 100644 index 0000000..33e98c6 --- /dev/null +++ b/src/MiniTK/Graphics/OpenGL/GLCore.cs @@ -0,0 +1,6881 @@ +// +// The Open Toolkit Library License +// +// Copyright (c) 2006 - 2010 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. +// + + + +namespace OpenTK.Graphics.OpenGL +{ + using System; + using System.Text; + using System.Runtime.InteropServices; + #pragma warning disable 3019 + #pragma warning disable 1591 + + partial class GL + { + + internal static partial class Core + { + + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glAccum", ExactSpelling = true)] + internal extern static void Accum(OpenTK.Graphics.OpenGL.AccumOp op, Single value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glActiveProgramEXT", ExactSpelling = true)] + internal extern static void ActiveProgramEXT(UInt32 program); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glActiveShaderProgram", ExactSpelling = true)] + internal extern static void ActiveShaderProgram(UInt32 pipeline, UInt32 program); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glActiveStencilFaceEXT", ExactSpelling = true)] + internal extern static void ActiveStencilFaceEXT(OpenTK.Graphics.OpenGL.ExtStencilTwoSide face); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glActiveTexture", ExactSpelling = true)] + internal extern static void ActiveTexture(OpenTK.Graphics.OpenGL.TextureUnit texture); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glActiveTextureARB", ExactSpelling = true)] + internal extern static void ActiveTextureARB(OpenTK.Graphics.OpenGL.TextureUnit texture); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glActiveVaryingNV", ExactSpelling = true)] + internal extern static void ActiveVaryingNV(UInt32 program, String name); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glAlphaFragmentOp1ATI", ExactSpelling = true)] + internal extern static void AlphaFragmentOp1ATI(OpenTK.Graphics.OpenGL.AtiFragmentShader op, UInt32 dst, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glAlphaFragmentOp2ATI", ExactSpelling = true)] + internal extern static void AlphaFragmentOp2ATI(OpenTK.Graphics.OpenGL.AtiFragmentShader op, UInt32 dst, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glAlphaFragmentOp3ATI", ExactSpelling = true)] + internal extern static void AlphaFragmentOp3ATI(OpenTK.Graphics.OpenGL.AtiFragmentShader op, UInt32 dst, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod, UInt32 arg3, UInt32 arg3Rep, UInt32 arg3Mod); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glAlphaFunc", ExactSpelling = true)] + internal extern static void AlphaFunc(OpenTK.Graphics.OpenGL.AlphaFunction func, Single @ref); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glApplyTextureEXT", ExactSpelling = true)] + internal extern static void ApplyTextureEXT(OpenTK.Graphics.OpenGL.ExtLightTexture mode); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glAreProgramsResidentNV", ExactSpelling = true)] + internal extern static unsafe bool AreProgramsResidentNV(Int32 n, UInt32* programs, [OutAttribute] bool* residences); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glAreTexturesResident", ExactSpelling = true)] + internal extern static unsafe bool AreTexturesResident(Int32 n, UInt32* textures, [OutAttribute] bool* residences); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glAreTexturesResidentEXT", ExactSpelling = true)] + internal extern static unsafe bool AreTexturesResidentEXT(Int32 n, UInt32* textures, [OutAttribute] bool* residences); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glArrayElement", ExactSpelling = true)] + internal extern static void ArrayElement(Int32 i); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glArrayElementEXT", ExactSpelling = true)] + internal extern static void ArrayElementEXT(Int32 i); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glArrayObjectATI", ExactSpelling = true)] + internal extern static void ArrayObjectATI(OpenTK.Graphics.OpenGL.EnableCap array, Int32 size, OpenTK.Graphics.OpenGL.AtiVertexArrayObject type, Int32 stride, UInt32 buffer, UInt32 offset); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glAsyncMarkerSGIX", ExactSpelling = true)] + internal extern static void AsyncMarkerSGIX(UInt32 marker); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glAttachObjectARB", ExactSpelling = true)] + internal extern static void AttachObjectARB(UInt32 containerObj, UInt32 obj); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glAttachShader", ExactSpelling = true)] + internal extern static void AttachShader(UInt32 program, UInt32 shader); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBegin", ExactSpelling = true)] + internal extern static void Begin(OpenTK.Graphics.OpenGL.BeginMode mode); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBeginConditionalRender", ExactSpelling = true)] + internal extern static void BeginConditionalRender(UInt32 id, OpenTK.Graphics.OpenGL.ConditionalRenderType mode); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBeginConditionalRenderNV", ExactSpelling = true)] + internal extern static void BeginConditionalRenderNV(UInt32 id, OpenTK.Graphics.OpenGL.NvConditionalRender mode); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBeginFragmentShaderATI", ExactSpelling = true)] + internal extern static void BeginFragmentShaderATI(); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBeginOcclusionQueryNV", ExactSpelling = true)] + internal extern static void BeginOcclusionQueryNV(UInt32 id); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBeginPerfMonitorAMD", ExactSpelling = true)] + internal extern static void BeginPerfMonitorAMD(UInt32 monitor); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBeginQuery", ExactSpelling = true)] + internal extern static void BeginQuery(OpenTK.Graphics.OpenGL.QueryTarget target, UInt32 id); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBeginQueryARB", ExactSpelling = true)] + internal extern static void BeginQueryARB(OpenTK.Graphics.OpenGL.ArbOcclusionQuery target, UInt32 id); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBeginQueryIndexed", ExactSpelling = true)] + internal extern static void BeginQueryIndexed(OpenTK.Graphics.OpenGL.QueryTarget target, UInt32 index, UInt32 id); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBeginTransformFeedback", ExactSpelling = true)] + internal extern static void BeginTransformFeedback(OpenTK.Graphics.OpenGL.BeginFeedbackMode primitiveMode); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBeginTransformFeedbackEXT", ExactSpelling = true)] + internal extern static void BeginTransformFeedbackEXT(OpenTK.Graphics.OpenGL.ExtTransformFeedback primitiveMode); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBeginTransformFeedbackNV", ExactSpelling = true)] + internal extern static void BeginTransformFeedbackNV(OpenTK.Graphics.OpenGL.NvTransformFeedback primitiveMode); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBeginVertexShaderEXT", ExactSpelling = true)] + internal extern static void BeginVertexShaderEXT(); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBeginVideoCaptureNV", ExactSpelling = true)] + internal extern static void BeginVideoCaptureNV(UInt32 video_capture_slot); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindAttribLocation", ExactSpelling = true)] + internal extern static void BindAttribLocation(UInt32 program, UInt32 index, String name); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindAttribLocationARB", ExactSpelling = true)] + internal extern static void BindAttribLocationARB(UInt32 programObj, UInt32 index, String name); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindBuffer", ExactSpelling = true)] + internal extern static void BindBuffer(OpenTK.Graphics.OpenGL.BufferTarget target, UInt32 buffer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindBufferARB", ExactSpelling = true)] + internal extern static void BindBufferARB(OpenTK.Graphics.OpenGL.BufferTargetArb target, UInt32 buffer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindBufferBase", ExactSpelling = true)] + internal extern static void BindBufferBase(OpenTK.Graphics.OpenGL.BufferTarget target, UInt32 index, UInt32 buffer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindBufferBaseEXT", ExactSpelling = true)] + internal extern static void BindBufferBaseEXT(OpenTK.Graphics.OpenGL.ExtTransformFeedback target, UInt32 index, UInt32 buffer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindBufferBaseNV", ExactSpelling = true)] + internal extern static void BindBufferBaseNV(OpenTK.Graphics.OpenGL.NvTransformFeedback target, UInt32 index, UInt32 buffer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindBufferOffsetEXT", ExactSpelling = true)] + internal extern static void BindBufferOffsetEXT(OpenTK.Graphics.OpenGL.ExtTransformFeedback target, UInt32 index, UInt32 buffer, IntPtr offset); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindBufferOffsetNV", ExactSpelling = true)] + internal extern static void BindBufferOffsetNV(OpenTK.Graphics.OpenGL.NvTransformFeedback target, UInt32 index, UInt32 buffer, IntPtr offset); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindBufferRange", ExactSpelling = true)] + internal extern static void BindBufferRange(OpenTK.Graphics.OpenGL.BufferTarget target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindBufferRangeEXT", ExactSpelling = true)] + internal extern static void BindBufferRangeEXT(OpenTK.Graphics.OpenGL.ExtTransformFeedback target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindBufferRangeNV", ExactSpelling = true)] + internal extern static void BindBufferRangeNV(OpenTK.Graphics.OpenGL.NvTransformFeedback target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindFragDataLocation", ExactSpelling = true)] + internal extern static void BindFragDataLocation(UInt32 program, UInt32 color, String name); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindFragDataLocationEXT", ExactSpelling = true)] + internal extern static void BindFragDataLocationEXT(UInt32 program, UInt32 color, String name); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindFragDataLocationIndexed", ExactSpelling = true)] + internal extern static void BindFragDataLocationIndexed(UInt32 program, UInt32 colorNumber, UInt32 index, String name); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindFragmentShaderATI", ExactSpelling = true)] + internal extern static void BindFragmentShaderATI(UInt32 id); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindFramebuffer", ExactSpelling = true)] + internal extern static void BindFramebuffer(OpenTK.Graphics.OpenGL.FramebufferTarget target, UInt32 framebuffer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindFramebufferEXT", ExactSpelling = true)] + internal extern static void BindFramebufferEXT(OpenTK.Graphics.OpenGL.FramebufferTarget target, UInt32 framebuffer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindImageTextureEXT", ExactSpelling = true)] + internal extern static void BindImageTextureEXT(UInt32 index, UInt32 texture, Int32 level, bool layered, Int32 layer, OpenTK.Graphics.OpenGL.ExtShaderImageLoadStore access, Int32 format); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindLightParameterEXT", ExactSpelling = true)] + internal extern static Int32 BindLightParameterEXT(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindMaterialParameterEXT", ExactSpelling = true)] + internal extern static Int32 BindMaterialParameterEXT(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindMultiTextureEXT", ExactSpelling = true)] + internal extern static void BindMultiTextureEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, UInt32 texture); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindParameterEXT", ExactSpelling = true)] + internal extern static Int32 BindParameterEXT(OpenTK.Graphics.OpenGL.ExtVertexShader value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindProgramARB", ExactSpelling = true)] + internal extern static void BindProgramARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 program); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindProgramNV", ExactSpelling = true)] + internal extern static void BindProgramNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 id); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindProgramPipeline", ExactSpelling = true)] + internal extern static void BindProgramPipeline(UInt32 pipeline); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindRenderbuffer", ExactSpelling = true)] + internal extern static void BindRenderbuffer(OpenTK.Graphics.OpenGL.RenderbufferTarget target, UInt32 renderbuffer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindRenderbufferEXT", ExactSpelling = true)] + internal extern static void BindRenderbufferEXT(OpenTK.Graphics.OpenGL.RenderbufferTarget target, UInt32 renderbuffer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindSampler", ExactSpelling = true)] + internal extern static void BindSampler(UInt32 unit, UInt32 sampler); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindTexGenParameterEXT", ExactSpelling = true)] + internal extern static Int32 BindTexGenParameterEXT(OpenTK.Graphics.OpenGL.TextureUnit unit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindTexture", ExactSpelling = true)] + internal extern static void BindTexture(OpenTK.Graphics.OpenGL.TextureTarget target, UInt32 texture); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindTextureEXT", ExactSpelling = true)] + internal extern static void BindTextureEXT(OpenTK.Graphics.OpenGL.TextureTarget target, UInt32 texture); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindTextureUnitParameterEXT", ExactSpelling = true)] + internal extern static Int32 BindTextureUnitParameterEXT(OpenTK.Graphics.OpenGL.TextureUnit unit, OpenTK.Graphics.OpenGL.ExtVertexShader value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindTransformFeedback", ExactSpelling = true)] + internal extern static void BindTransformFeedback(OpenTK.Graphics.OpenGL.TransformFeedbackTarget target, UInt32 id); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindTransformFeedbackNV", ExactSpelling = true)] + internal extern static void BindTransformFeedbackNV(OpenTK.Graphics.OpenGL.NvTransformFeedback2 target, UInt32 id); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindVertexArray", ExactSpelling = true)] + internal extern static void BindVertexArray(UInt32 array); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindVertexArrayAPPLE", ExactSpelling = true)] + internal extern static void BindVertexArrayAPPLE(UInt32 array); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindVertexShaderEXT", ExactSpelling = true)] + internal extern static void BindVertexShaderEXT(UInt32 id); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindVideoCaptureStreamBufferNV", ExactSpelling = true)] + internal extern static void BindVideoCaptureStreamBufferNV(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture frame_region, IntPtr offset); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindVideoCaptureStreamTextureNV", ExactSpelling = true)] + internal extern static void BindVideoCaptureStreamTextureNV(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture frame_region, OpenTK.Graphics.OpenGL.NvVideoCapture target, UInt32 texture); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBinormal3bEXT", ExactSpelling = true)] + internal extern static void Binormal3bEXT(SByte bx, SByte by, SByte bz); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBinormal3bvEXT", ExactSpelling = true)] + internal extern static unsafe void Binormal3bvEXT(SByte* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBinormal3dEXT", ExactSpelling = true)] + internal extern static void Binormal3dEXT(Double bx, Double by, Double bz); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBinormal3dvEXT", ExactSpelling = true)] + internal extern static unsafe void Binormal3dvEXT(Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBinormal3fEXT", ExactSpelling = true)] + internal extern static void Binormal3fEXT(Single bx, Single by, Single bz); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBinormal3fvEXT", ExactSpelling = true)] + internal extern static unsafe void Binormal3fvEXT(Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBinormal3iEXT", ExactSpelling = true)] + internal extern static void Binormal3iEXT(Int32 bx, Int32 by, Int32 bz); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBinormal3ivEXT", ExactSpelling = true)] + internal extern static unsafe void Binormal3ivEXT(Int32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBinormal3sEXT", ExactSpelling = true)] + internal extern static void Binormal3sEXT(Int16 bx, Int16 by, Int16 bz); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBinormal3svEXT", ExactSpelling = true)] + internal extern static unsafe void Binormal3svEXT(Int16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBinormalPointerEXT", ExactSpelling = true)] + internal extern static void BinormalPointerEXT(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBitmap", ExactSpelling = true)] + internal extern static unsafe void Bitmap(Int32 width, Int32 height, Single xorig, Single yorig, Single xmove, Single ymove, Byte* bitmap); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendColor", ExactSpelling = true)] + internal extern static void BlendColor(Single red, Single green, Single blue, Single alpha); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendColorEXT", ExactSpelling = true)] + internal extern static void BlendColorEXT(Single red, Single green, Single blue, Single alpha); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendEquation", ExactSpelling = true)] + internal extern static void BlendEquation(OpenTK.Graphics.OpenGL.BlendEquationMode mode); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendEquationEXT", ExactSpelling = true)] + internal extern static void BlendEquationEXT(OpenTK.Graphics.OpenGL.ExtBlendMinmax mode); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendEquationi", ExactSpelling = true)] + internal extern static void BlendEquationi(UInt32 buf, OpenTK.Graphics.OpenGL.Version40 mode); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendEquationiARB", ExactSpelling = true)] + internal extern static void BlendEquationiARB(UInt32 buf, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend mode); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendEquationIndexedAMD", ExactSpelling = true)] + internal extern static void BlendEquationIndexedAMD(UInt32 buf, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend mode); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendEquationSeparate", ExactSpelling = true)] + internal extern static void BlendEquationSeparate(OpenTK.Graphics.OpenGL.BlendEquationMode modeRGB, OpenTK.Graphics.OpenGL.BlendEquationMode modeAlpha); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendEquationSeparateEXT", ExactSpelling = true)] + internal extern static void BlendEquationSeparateEXT(OpenTK.Graphics.OpenGL.ExtBlendEquationSeparate modeRGB, OpenTK.Graphics.OpenGL.ExtBlendEquationSeparate modeAlpha); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendEquationSeparatei", ExactSpelling = true)] + internal extern static void BlendEquationSeparatei(UInt32 buf, OpenTK.Graphics.OpenGL.BlendEquationMode modeRGB, OpenTK.Graphics.OpenGL.BlendEquationMode modeAlpha); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendEquationSeparateiARB", ExactSpelling = true)] + internal extern static void BlendEquationSeparateiARB(UInt32 buf, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend modeRGB, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend modeAlpha); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendEquationSeparateIndexedAMD", ExactSpelling = true)] + internal extern static void BlendEquationSeparateIndexedAMD(UInt32 buf, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend modeRGB, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend modeAlpha); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendFunc", ExactSpelling = true)] + internal extern static void BlendFunc(OpenTK.Graphics.OpenGL.BlendingFactorSrc sfactor, OpenTK.Graphics.OpenGL.BlendingFactorDest dfactor); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendFunci", ExactSpelling = true)] + internal extern static void BlendFunci(UInt32 buf, OpenTK.Graphics.OpenGL.Version40 src, OpenTK.Graphics.OpenGL.Version40 dst); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendFunciARB", ExactSpelling = true)] + internal extern static void BlendFunciARB(UInt32 buf, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend src, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend dst); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendFuncIndexedAMD", ExactSpelling = true)] + internal extern static void BlendFuncIndexedAMD(UInt32 buf, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend src, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend dst); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendFuncSeparate", ExactSpelling = true)] + internal extern static void BlendFuncSeparate(OpenTK.Graphics.OpenGL.BlendingFactorSrc sfactorRGB, OpenTK.Graphics.OpenGL.BlendingFactorDest dfactorRGB, OpenTK.Graphics.OpenGL.BlendingFactorSrc sfactorAlpha, OpenTK.Graphics.OpenGL.BlendingFactorDest dfactorAlpha); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendFuncSeparateEXT", ExactSpelling = true)] + internal extern static void BlendFuncSeparateEXT(OpenTK.Graphics.OpenGL.ExtBlendFuncSeparate sfactorRGB, OpenTK.Graphics.OpenGL.ExtBlendFuncSeparate dfactorRGB, OpenTK.Graphics.OpenGL.ExtBlendFuncSeparate sfactorAlpha, OpenTK.Graphics.OpenGL.ExtBlendFuncSeparate dfactorAlpha); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendFuncSeparatei", ExactSpelling = true)] + internal extern static void BlendFuncSeparatei(UInt32 buf, OpenTK.Graphics.OpenGL.Version40 srcRGB, OpenTK.Graphics.OpenGL.Version40 dstRGB, OpenTK.Graphics.OpenGL.Version40 srcAlpha, OpenTK.Graphics.OpenGL.Version40 dstAlpha); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendFuncSeparateiARB", ExactSpelling = true)] + internal extern static void BlendFuncSeparateiARB(UInt32 buf, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend srcRGB, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend dstRGB, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend srcAlpha, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend dstAlpha); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendFuncSeparateIndexedAMD", ExactSpelling = true)] + internal extern static void BlendFuncSeparateIndexedAMD(UInt32 buf, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend srcRGB, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend dstRGB, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend srcAlpha, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend dstAlpha); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendFuncSeparateINGR", ExactSpelling = true)] + internal extern static void BlendFuncSeparateINGR(OpenTK.Graphics.OpenGL.All sfactorRGB, OpenTK.Graphics.OpenGL.All dfactorRGB, OpenTK.Graphics.OpenGL.All sfactorAlpha, OpenTK.Graphics.OpenGL.All dfactorAlpha); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlitFramebuffer", ExactSpelling = true)] + internal extern static void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.OpenGL.ClearBufferMask mask, OpenTK.Graphics.OpenGL.BlitFramebufferFilter filter); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlitFramebufferEXT", ExactSpelling = true)] + internal extern static void BlitFramebufferEXT(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.OpenGL.ClearBufferMask mask, OpenTK.Graphics.OpenGL.ExtFramebufferBlit filter); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBufferAddressRangeNV", ExactSpelling = true)] + internal extern static void BufferAddressRangeNV(OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory pname, UInt32 index, UInt64 address, IntPtr length); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBufferData", ExactSpelling = true)] + internal extern static void BufferData(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr size, IntPtr data, OpenTK.Graphics.OpenGL.BufferUsageHint usage); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBufferDataARB", ExactSpelling = true)] + internal extern static void BufferDataARB(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr size, IntPtr data, OpenTK.Graphics.OpenGL.BufferUsageArb usage); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBufferParameteriAPPLE", ExactSpelling = true)] + internal extern static void BufferParameteriAPPLE(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferParameterApple pname, Int32 param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBufferSubData", ExactSpelling = true)] + internal extern static void BufferSubData(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr size, IntPtr data); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBufferSubDataARB", ExactSpelling = true)] + internal extern static void BufferSubDataARB(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr offset, IntPtr size, IntPtr data); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCallList", ExactSpelling = true)] + internal extern static void CallList(UInt32 list); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCallLists", ExactSpelling = true)] + internal extern static void CallLists(Int32 n, OpenTK.Graphics.OpenGL.ListNameType type, IntPtr lists); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCheckFramebufferStatus", ExactSpelling = true)] + internal extern static OpenTK.Graphics.OpenGL.FramebufferErrorCode CheckFramebufferStatus(OpenTK.Graphics.OpenGL.FramebufferTarget target); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCheckFramebufferStatusEXT", ExactSpelling = true)] + internal extern static OpenTK.Graphics.OpenGL.FramebufferErrorCode CheckFramebufferStatusEXT(OpenTK.Graphics.OpenGL.FramebufferTarget target); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCheckNamedFramebufferStatusEXT", ExactSpelling = true)] + internal extern static OpenTK.Graphics.OpenGL.ExtDirectStateAccess CheckNamedFramebufferStatusEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferTarget target); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClampColor", ExactSpelling = true)] + internal extern static void ClampColor(OpenTK.Graphics.OpenGL.ClampColorTarget target, OpenTK.Graphics.OpenGL.ClampColorMode clamp); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClampColorARB", ExactSpelling = true)] + internal extern static void ClampColorARB(OpenTK.Graphics.OpenGL.ArbColorBufferFloat target, OpenTK.Graphics.OpenGL.ArbColorBufferFloat clamp); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClear", ExactSpelling = true)] + internal extern static void Clear(OpenTK.Graphics.OpenGL.ClearBufferMask mask); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearAccum", ExactSpelling = true)] + internal extern static void ClearAccum(Single red, Single green, Single blue, Single alpha); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearBufferfi", ExactSpelling = true)] + internal extern static void ClearBufferfi(OpenTK.Graphics.OpenGL.ClearBuffer buffer, Int32 drawbuffer, Single depth, Int32 stencil); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearBufferfv", ExactSpelling = true)] + internal extern static unsafe void ClearBufferfv(OpenTK.Graphics.OpenGL.ClearBuffer buffer, Int32 drawbuffer, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearBufferiv", ExactSpelling = true)] + internal extern static unsafe void ClearBufferiv(OpenTK.Graphics.OpenGL.ClearBuffer buffer, Int32 drawbuffer, Int32* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearBufferuiv", ExactSpelling = true)] + internal extern static unsafe void ClearBufferuiv(OpenTK.Graphics.OpenGL.ClearBuffer buffer, Int32 drawbuffer, UInt32* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearColor", ExactSpelling = true)] + internal extern static void ClearColor(Single red, Single green, Single blue, Single alpha); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearColorIiEXT", ExactSpelling = true)] + internal extern static void ClearColorIiEXT(Int32 red, Int32 green, Int32 blue, Int32 alpha); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearColorIuiEXT", ExactSpelling = true)] + internal extern static void ClearColorIuiEXT(UInt32 red, UInt32 green, UInt32 blue, UInt32 alpha); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearDepth", ExactSpelling = true)] + internal extern static void ClearDepth(Double depth); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearDepthdNV", ExactSpelling = true)] + internal extern static void ClearDepthdNV(Double depth); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearDepthf", ExactSpelling = true)] + internal extern static void ClearDepthf(Single d); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearIndex", ExactSpelling = true)] + internal extern static void ClearIndex(Single c); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearStencil", ExactSpelling = true)] + internal extern static void ClearStencil(Int32 s); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClientActiveTexture", ExactSpelling = true)] + internal extern static void ClientActiveTexture(OpenTK.Graphics.OpenGL.TextureUnit texture); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClientActiveTextureARB", ExactSpelling = true)] + internal extern static void ClientActiveTextureARB(OpenTK.Graphics.OpenGL.TextureUnit texture); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClientActiveVertexStreamATI", ExactSpelling = true)] + internal extern static void ClientActiveVertexStreamATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClientAttribDefaultEXT", ExactSpelling = true)] + internal extern static void ClientAttribDefaultEXT(OpenTK.Graphics.OpenGL.ClientAttribMask mask); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClientWaitSync", ExactSpelling = true)] + internal extern static OpenTK.Graphics.OpenGL.ArbSync ClientWaitSync(IntPtr sync, UInt32 flags, UInt64 timeout); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClipPlane", ExactSpelling = true)] + internal extern static unsafe void ClipPlane(OpenTK.Graphics.OpenGL.ClipPlaneName plane, Double* equation); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor3b", ExactSpelling = true)] + internal extern static void Color3b(SByte red, SByte green, SByte blue); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor3bv", ExactSpelling = true)] + internal extern static unsafe void Color3bv(SByte* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor3d", ExactSpelling = true)] + internal extern static void Color3d(Double red, Double green, Double blue); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor3dv", ExactSpelling = true)] + internal extern static unsafe void Color3dv(Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor3f", ExactSpelling = true)] + internal extern static void Color3f(Single red, Single green, Single blue); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor3fv", ExactSpelling = true)] + internal extern static unsafe void Color3fv(Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor3fVertex3fSUN", ExactSpelling = true)] + internal extern static void Color3fVertex3fSUN(Single r, Single g, Single b, Single x, Single y, Single z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor3fVertex3fvSUN", ExactSpelling = true)] + internal extern static unsafe void Color3fVertex3fvSUN(Single* c, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor3hNV", ExactSpelling = true)] + internal extern static void Color3hNV(Half red, Half green, Half blue); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor3hvNV", ExactSpelling = true)] + internal extern static unsafe void Color3hvNV(Half* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor3i", ExactSpelling = true)] + internal extern static void Color3i(Int32 red, Int32 green, Int32 blue); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor3iv", ExactSpelling = true)] + internal extern static unsafe void Color3iv(Int32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor3s", ExactSpelling = true)] + internal extern static void Color3s(Int16 red, Int16 green, Int16 blue); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor3sv", ExactSpelling = true)] + internal extern static unsafe void Color3sv(Int16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor3ub", ExactSpelling = true)] + internal extern static void Color3ub(Byte red, Byte green, Byte blue); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor3ubv", ExactSpelling = true)] + internal extern static unsafe void Color3ubv(Byte* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor3ui", ExactSpelling = true)] + internal extern static void Color3ui(UInt32 red, UInt32 green, UInt32 blue); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor3uiv", ExactSpelling = true)] + internal extern static unsafe void Color3uiv(UInt32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor3us", ExactSpelling = true)] + internal extern static void Color3us(UInt16 red, UInt16 green, UInt16 blue); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor3usv", ExactSpelling = true)] + internal extern static unsafe void Color3usv(UInt16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor4b", ExactSpelling = true)] + internal extern static void Color4b(SByte red, SByte green, SByte blue, SByte alpha); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor4bv", ExactSpelling = true)] + internal extern static unsafe void Color4bv(SByte* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor4d", ExactSpelling = true)] + internal extern static void Color4d(Double red, Double green, Double blue, Double alpha); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor4dv", ExactSpelling = true)] + internal extern static unsafe void Color4dv(Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor4f", ExactSpelling = true)] + internal extern static void Color4f(Single red, Single green, Single blue, Single alpha); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor4fNormal3fVertex3fSUN", ExactSpelling = true)] + internal extern static void Color4fNormal3fVertex3fSUN(Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor4fNormal3fVertex3fvSUN", ExactSpelling = true)] + internal extern static unsafe void Color4fNormal3fVertex3fvSUN(Single* c, Single* n, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor4fv", ExactSpelling = true)] + internal extern static unsafe void Color4fv(Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor4hNV", ExactSpelling = true)] + internal extern static void Color4hNV(Half red, Half green, Half blue, Half alpha); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor4hvNV", ExactSpelling = true)] + internal extern static unsafe void Color4hvNV(Half* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor4i", ExactSpelling = true)] + internal extern static void Color4i(Int32 red, Int32 green, Int32 blue, Int32 alpha); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor4iv", ExactSpelling = true)] + internal extern static unsafe void Color4iv(Int32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor4s", ExactSpelling = true)] + internal extern static void Color4s(Int16 red, Int16 green, Int16 blue, Int16 alpha); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor4sv", ExactSpelling = true)] + internal extern static unsafe void Color4sv(Int16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor4ub", ExactSpelling = true)] + internal extern static void Color4ub(Byte red, Byte green, Byte blue, Byte alpha); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor4ubv", ExactSpelling = true)] + internal extern static unsafe void Color4ubv(Byte* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor4ubVertex2fSUN", ExactSpelling = true)] + internal extern static void Color4ubVertex2fSUN(Byte r, Byte g, Byte b, Byte a, Single x, Single y); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor4ubVertex2fvSUN", ExactSpelling = true)] + internal extern static unsafe void Color4ubVertex2fvSUN(Byte* c, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor4ubVertex3fSUN", ExactSpelling = true)] + internal extern static void Color4ubVertex3fSUN(Byte r, Byte g, Byte b, Byte a, Single x, Single y, Single z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor4ubVertex3fvSUN", ExactSpelling = true)] + internal extern static unsafe void Color4ubVertex3fvSUN(Byte* c, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor4ui", ExactSpelling = true)] + internal extern static void Color4ui(UInt32 red, UInt32 green, UInt32 blue, UInt32 alpha); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor4uiv", ExactSpelling = true)] + internal extern static unsafe void Color4uiv(UInt32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor4us", ExactSpelling = true)] + internal extern static void Color4us(UInt16 red, UInt16 green, UInt16 blue, UInt16 alpha); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor4usv", ExactSpelling = true)] + internal extern static unsafe void Color4usv(UInt16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorFormatNV", ExactSpelling = true)] + internal extern static void ColorFormatNV(Int32 size, OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorFragmentOp1ATI", ExactSpelling = true)] + internal extern static void ColorFragmentOp1ATI(OpenTK.Graphics.OpenGL.AtiFragmentShader op, UInt32 dst, UInt32 dstMask, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorFragmentOp2ATI", ExactSpelling = true)] + internal extern static void ColorFragmentOp2ATI(OpenTK.Graphics.OpenGL.AtiFragmentShader op, UInt32 dst, UInt32 dstMask, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorFragmentOp3ATI", ExactSpelling = true)] + internal extern static void ColorFragmentOp3ATI(OpenTK.Graphics.OpenGL.AtiFragmentShader op, UInt32 dst, UInt32 dstMask, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod, UInt32 arg3, UInt32 arg3Rep, UInt32 arg3Mod); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorMask", ExactSpelling = true)] + internal extern static void ColorMask(bool red, bool green, bool blue, bool alpha); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorMaski", ExactSpelling = true)] + internal extern static void ColorMaski(UInt32 index, bool r, bool g, bool b, bool a); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorMaskIndexedEXT", ExactSpelling = true)] + internal extern static void ColorMaskIndexedEXT(UInt32 index, bool r, bool g, bool b, bool a); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorMaterial", ExactSpelling = true)] + internal extern static void ColorMaterial(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.ColorMaterialParameter mode); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorP3ui", ExactSpelling = true)] + internal extern static void ColorP3ui(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 color); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorP3uiv", ExactSpelling = true)] + internal extern static unsafe void ColorP3uiv(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* color); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorP4ui", ExactSpelling = true)] + internal extern static void ColorP4ui(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 color); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorP4uiv", ExactSpelling = true)] + internal extern static unsafe void ColorP4uiv(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* color); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorPointer", ExactSpelling = true)] + internal extern static void ColorPointer(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorPointerEXT", ExactSpelling = true)] + internal extern static void ColorPointerEXT(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, Int32 count, IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorPointerListIBM", ExactSpelling = true)] + internal extern static void ColorPointerListIBM(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorPointervINTEL", ExactSpelling = true)] + internal extern static void ColorPointervINTEL(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorSubTable", ExactSpelling = true)] + internal extern static void ColorSubTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr data); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorSubTableEXT", ExactSpelling = true)] + internal extern static void ColorSubTableEXT(OpenTK.Graphics.OpenGL.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr data); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorTable", ExactSpelling = true)] + internal extern static void ColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr table); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorTableEXT", ExactSpelling = true)] + internal extern static void ColorTableEXT(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalFormat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr table); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorTableParameterfv", ExactSpelling = true)] + internal extern static unsafe void ColorTableParameterfv(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.ColorTableParameterPName pname, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorTableParameterfvSGI", ExactSpelling = true)] + internal extern static unsafe void ColorTableParameterfvSGI(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorTableParameteriv", ExactSpelling = true)] + internal extern static unsafe void ColorTableParameteriv(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.ColorTableParameterPName pname, Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorTableParameterivSGI", ExactSpelling = true)] + internal extern static unsafe void ColorTableParameterivSGI(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorTableSGI", ExactSpelling = true)] + internal extern static void ColorTableSGI(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr table); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCombinerInputNV", ExactSpelling = true)] + internal extern static void CombinerInputNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners input, OpenTK.Graphics.OpenGL.NvRegisterCombiners mapping, OpenTK.Graphics.OpenGL.NvRegisterCombiners componentUsage); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCombinerOutputNV", ExactSpelling = true)] + internal extern static void CombinerOutputNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners abOutput, OpenTK.Graphics.OpenGL.NvRegisterCombiners cdOutput, OpenTK.Graphics.OpenGL.NvRegisterCombiners sumOutput, OpenTK.Graphics.OpenGL.NvRegisterCombiners scale, OpenTK.Graphics.OpenGL.NvRegisterCombiners bias, bool abDotProduct, bool cdDotProduct, bool muxSum); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCombinerParameterfNV", ExactSpelling = true)] + internal extern static void CombinerParameterfNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, Single param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCombinerParameterfvNV", ExactSpelling = true)] + internal extern static unsafe void CombinerParameterfvNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCombinerParameteriNV", ExactSpelling = true)] + internal extern static void CombinerParameteriNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, Int32 param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCombinerParameterivNV", ExactSpelling = true)] + internal extern static unsafe void CombinerParameterivNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCombinerStageParameterfvNV", ExactSpelling = true)] + internal extern static unsafe void CombinerStageParameterfvNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners2 stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners2 pname, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompileShader", ExactSpelling = true)] + internal extern static void CompileShader(UInt32 shader); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompileShaderARB", ExactSpelling = true)] + internal extern static void CompileShaderARB(UInt32 shaderObj); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompileShaderIncludeARB", ExactSpelling = true)] + internal extern static unsafe void CompileShaderIncludeARB(UInt32 shader, Int32 count, String[] path, Int32* length); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedMultiTexImage1DEXT", ExactSpelling = true)] + internal extern static void CompressedMultiTexImage1DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr bits); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedMultiTexImage2DEXT", ExactSpelling = true)] + internal extern static void CompressedMultiTexImage2DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr bits); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedMultiTexImage3DEXT", ExactSpelling = true)] + internal extern static void CompressedMultiTexImage3DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr bits); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedMultiTexSubImage1DEXT", ExactSpelling = true)] + internal extern static void CompressedMultiTexSubImage1DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr bits); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedMultiTexSubImage2DEXT", ExactSpelling = true)] + internal extern static void CompressedMultiTexSubImage2DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr bits); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedMultiTexSubImage3DEXT", ExactSpelling = true)] + internal extern static void CompressedMultiTexSubImage3DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr bits); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexImage1D", ExactSpelling = true)] + internal extern static void CompressedTexImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr data); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexImage1DARB", ExactSpelling = true)] + internal extern static void CompressedTexImage1DARB(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr data); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexImage2D", ExactSpelling = true)] + internal extern static void CompressedTexImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexImage2DARB", ExactSpelling = true)] + internal extern static void CompressedTexImage2DARB(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexImage3D", ExactSpelling = true)] + internal extern static void CompressedTexImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexImage3DARB", ExactSpelling = true)] + internal extern static void CompressedTexImage3DARB(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexSubImage1D", ExactSpelling = true)] + internal extern static void CompressedTexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr data); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexSubImage1DARB", ExactSpelling = true)] + internal extern static void CompressedTexSubImage1DARB(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr data); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexSubImage2D", ExactSpelling = true)] + internal extern static void CompressedTexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr data); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexSubImage2DARB", ExactSpelling = true)] + internal extern static void CompressedTexSubImage2DARB(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr data); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexSubImage3D", ExactSpelling = true)] + internal extern static void CompressedTexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr data); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexSubImage3DARB", ExactSpelling = true)] + internal extern static void CompressedTexSubImage3DARB(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr data); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTextureImage1DEXT", ExactSpelling = true)] + internal extern static void CompressedTextureImage1DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr bits); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTextureImage2DEXT", ExactSpelling = true)] + internal extern static void CompressedTextureImage2DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr bits); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTextureImage3DEXT", ExactSpelling = true)] + internal extern static void CompressedTextureImage3DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr bits); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTextureSubImage1DEXT", ExactSpelling = true)] + internal extern static void CompressedTextureSubImage1DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr bits); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTextureSubImage2DEXT", ExactSpelling = true)] + internal extern static void CompressedTextureSubImage2DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr bits); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTextureSubImage3DEXT", ExactSpelling = true)] + internal extern static void CompressedTextureSubImage3DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr bits); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glConvolutionFilter1D", ExactSpelling = true)] + internal extern static void ConvolutionFilter1D(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr image); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glConvolutionFilter1DEXT", ExactSpelling = true)] + internal extern static void ConvolutionFilter1DEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr image); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glConvolutionFilter2D", ExactSpelling = true)] + internal extern static void ConvolutionFilter2D(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr image); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glConvolutionFilter2DEXT", ExactSpelling = true)] + internal extern static void ConvolutionFilter2DEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr image); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glConvolutionParameterf", ExactSpelling = true)] + internal extern static void ConvolutionParameterf(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.ConvolutionParameter pname, Single @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glConvolutionParameterfEXT", ExactSpelling = true)] + internal extern static void ConvolutionParameterfEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, Single @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glConvolutionParameterfv", ExactSpelling = true)] + internal extern static unsafe void ConvolutionParameterfv(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.ConvolutionParameter pname, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glConvolutionParameterfvEXT", ExactSpelling = true)] + internal extern static unsafe void ConvolutionParameterfvEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glConvolutionParameteri", ExactSpelling = true)] + internal extern static void ConvolutionParameteri(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.ConvolutionParameter pname, Int32 @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glConvolutionParameteriEXT", ExactSpelling = true)] + internal extern static void ConvolutionParameteriEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, Int32 @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glConvolutionParameteriv", ExactSpelling = true)] + internal extern static unsafe void ConvolutionParameteriv(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.ConvolutionParameter pname, Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glConvolutionParameterivEXT", ExactSpelling = true)] + internal extern static unsafe void ConvolutionParameterivEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyBufferSubData", ExactSpelling = true)] + internal extern static void CopyBufferSubData(OpenTK.Graphics.OpenGL.BufferTarget readTarget, OpenTK.Graphics.OpenGL.BufferTarget writeTarget, IntPtr readOffset, IntPtr writeOffset, IntPtr size); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyColorSubTable", ExactSpelling = true)] + internal extern static void CopyColorSubTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, Int32 start, Int32 x, Int32 y, Int32 width); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyColorSubTableEXT", ExactSpelling = true)] + internal extern static void CopyColorSubTableEXT(OpenTK.Graphics.OpenGL.ColorTableTarget target, Int32 start, Int32 x, Int32 y, Int32 width); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyColorTable", ExactSpelling = true)] + internal extern static void CopyColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyColorTableSGI", ExactSpelling = true)] + internal extern static void CopyColorTableSGI(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyConvolutionFilter1D", ExactSpelling = true)] + internal extern static void CopyConvolutionFilter1D(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyConvolutionFilter1DEXT", ExactSpelling = true)] + internal extern static void CopyConvolutionFilter1DEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyConvolutionFilter2D", ExactSpelling = true)] + internal extern static void CopyConvolutionFilter2D(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyConvolutionFilter2DEXT", ExactSpelling = true)] + internal extern static void CopyConvolutionFilter2DEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyImageSubDataNV", ExactSpelling = true)] + internal extern static void CopyImageSubDataNV(UInt32 srcName, OpenTK.Graphics.OpenGL.NvCopyImage srcTarget, Int32 srcLevel, Int32 srcX, Int32 srcY, Int32 srcZ, UInt32 dstName, OpenTK.Graphics.OpenGL.NvCopyImage dstTarget, Int32 dstLevel, Int32 dstX, Int32 dstY, Int32 dstZ, Int32 width, Int32 height, Int32 depth); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyMultiTexImage1DEXT", ExactSpelling = true)] + internal extern static void CopyMultiTexImage1DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 border); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyMultiTexImage2DEXT", ExactSpelling = true)] + internal extern static void CopyMultiTexImage2DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyMultiTexSubImage1DEXT", ExactSpelling = true)] + internal extern static void CopyMultiTexSubImage1DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyMultiTexSubImage2DEXT", ExactSpelling = true)] + internal extern static void CopyMultiTexSubImage2DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyMultiTexSubImage3DEXT", ExactSpelling = true)] + internal extern static void CopyMultiTexSubImage3DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyPixels", ExactSpelling = true)] + internal extern static void CopyPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelCopyType type); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTexImage1D", ExactSpelling = true)] + internal extern static void CopyTexImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 border); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTexImage1DEXT", ExactSpelling = true)] + internal extern static void CopyTexImage1DEXT(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 border); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTexImage2D", ExactSpelling = true)] + internal extern static void CopyTexImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTexImage2DEXT", ExactSpelling = true)] + internal extern static void CopyTexImage2DEXT(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTexSubImage1D", ExactSpelling = true)] + internal extern static void CopyTexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTexSubImage1DEXT", ExactSpelling = true)] + internal extern static void CopyTexSubImage1DEXT(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTexSubImage2D", ExactSpelling = true)] + internal extern static void CopyTexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTexSubImage2DEXT", ExactSpelling = true)] + internal extern static void CopyTexSubImage2DEXT(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTexSubImage3D", ExactSpelling = true)] + internal extern static void CopyTexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTexSubImage3DEXT", ExactSpelling = true)] + internal extern static void CopyTexSubImage3DEXT(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTextureImage1DEXT", ExactSpelling = true)] + internal extern static void CopyTextureImage1DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 border); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTextureImage2DEXT", ExactSpelling = true)] + internal extern static void CopyTextureImage2DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTextureSubImage1DEXT", ExactSpelling = true)] + internal extern static void CopyTextureSubImage1DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTextureSubImage2DEXT", ExactSpelling = true)] + internal extern static void CopyTextureSubImage2DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTextureSubImage3DEXT", ExactSpelling = true)] + internal extern static void CopyTextureSubImage3DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCreateProgram", ExactSpelling = true)] + internal extern static Int32 CreateProgram(); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCreateProgramObjectARB", ExactSpelling = true)] + internal extern static Int32 CreateProgramObjectARB(); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCreateShader", ExactSpelling = true)] + internal extern static Int32 CreateShader(OpenTK.Graphics.OpenGL.ShaderType type); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCreateShaderObjectARB", ExactSpelling = true)] + internal extern static Int32 CreateShaderObjectARB(OpenTK.Graphics.OpenGL.ArbShaderObjects shaderType); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCreateShaderProgramEXT", ExactSpelling = true)] + internal extern static Int32 CreateShaderProgramEXT(OpenTK.Graphics.OpenGL.ExtSeparateShaderObjects type, String @string); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCreateShaderProgramv", ExactSpelling = true)] + internal extern static Int32 CreateShaderProgramv(OpenTK.Graphics.OpenGL.ShaderType type, Int32 count, String[] strings); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCreateSyncFromCLeventARB", ExactSpelling = true)] + internal extern static IntPtr CreateSyncFromCLeventARB(IntPtr context, IntPtr @event, UInt32 flags); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCullFace", ExactSpelling = true)] + internal extern static void CullFace(OpenTK.Graphics.OpenGL.CullFaceMode mode); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCullParameterdvEXT", ExactSpelling = true)] + internal extern static unsafe void CullParameterdvEXT(OpenTK.Graphics.OpenGL.ExtCullVertex pname, [OutAttribute] Double* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCullParameterfvEXT", ExactSpelling = true)] + internal extern static unsafe void CullParameterfvEXT(OpenTK.Graphics.OpenGL.ExtCullVertex pname, [OutAttribute] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCurrentPaletteMatrixARB", ExactSpelling = true)] + internal extern static void CurrentPaletteMatrixARB(Int32 index); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDebugMessageCallbackAMD", ExactSpelling = true)] + internal extern static void DebugMessageCallbackAMD(DebugProcAmd callback, [OutAttribute] IntPtr userParam); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDebugMessageCallbackARB", ExactSpelling = true)] + internal extern static void DebugMessageCallbackARB(DebugProcArb callback, IntPtr userParam); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDebugMessageControlARB", ExactSpelling = true)] + internal extern static unsafe void DebugMessageControlARB(OpenTK.Graphics.OpenGL.ArbDebugOutput source, OpenTK.Graphics.OpenGL.ArbDebugOutput type, OpenTK.Graphics.OpenGL.ArbDebugOutput severity, Int32 count, UInt32* ids, bool enabled); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDebugMessageEnableAMD", ExactSpelling = true)] + internal extern static unsafe void DebugMessageEnableAMD(OpenTK.Graphics.OpenGL.AmdDebugOutput category, OpenTK.Graphics.OpenGL.AmdDebugOutput severity, Int32 count, UInt32* ids, bool enabled); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDebugMessageInsertAMD", ExactSpelling = true)] + internal extern static void DebugMessageInsertAMD(OpenTK.Graphics.OpenGL.AmdDebugOutput category, OpenTK.Graphics.OpenGL.AmdDebugOutput severity, UInt32 id, Int32 length, String buf); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDebugMessageInsertARB", ExactSpelling = true)] + internal extern static void DebugMessageInsertARB(OpenTK.Graphics.OpenGL.ArbDebugOutput source, OpenTK.Graphics.OpenGL.ArbDebugOutput type, UInt32 id, OpenTK.Graphics.OpenGL.ArbDebugOutput severity, Int32 length, String buf); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeformationMap3dSGIX", ExactSpelling = true)] + internal extern static unsafe void DeformationMap3dSGIX(OpenTK.Graphics.OpenGL.SgixPolynomialFfd target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double w1, Double w2, Int32 wstride, Int32 worder, Double* points); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeformationMap3fSGIX", ExactSpelling = true)] + internal extern static unsafe void DeformationMap3fSGIX(OpenTK.Graphics.OpenGL.SgixPolynomialFfd target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single w1, Single w2, Int32 wstride, Int32 worder, Single* points); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeformSGIX", ExactSpelling = true)] + internal extern static void DeformSGIX(UInt32 mask); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteAsyncMarkersSGIX", ExactSpelling = true)] + internal extern static void DeleteAsyncMarkersSGIX(UInt32 marker, Int32 range); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteBuffers", ExactSpelling = true)] + internal extern static unsafe void DeleteBuffers(Int32 n, UInt32* buffers); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteBuffersARB", ExactSpelling = true)] + internal extern static unsafe void DeleteBuffersARB(Int32 n, UInt32* buffers); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteFencesAPPLE", ExactSpelling = true)] + internal extern static unsafe void DeleteFencesAPPLE(Int32 n, UInt32* fences); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteFencesNV", ExactSpelling = true)] + internal extern static unsafe void DeleteFencesNV(Int32 n, UInt32* fences); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteFragmentShaderATI", ExactSpelling = true)] + internal extern static void DeleteFragmentShaderATI(UInt32 id); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteFramebuffers", ExactSpelling = true)] + internal extern static unsafe void DeleteFramebuffers(Int32 n, UInt32* framebuffers); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteFramebuffersEXT", ExactSpelling = true)] + internal extern static unsafe void DeleteFramebuffersEXT(Int32 n, UInt32* framebuffers); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteLists", ExactSpelling = true)] + internal extern static void DeleteLists(UInt32 list, Int32 range); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteNamedStringARB", ExactSpelling = true)] + internal extern static void DeleteNamedStringARB(Int32 namelen, String name); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteNamesAMD", ExactSpelling = true)] + internal extern static unsafe void DeleteNamesAMD(OpenTK.Graphics.OpenGL.AmdNameGenDelete identifier, UInt32 num, UInt32* names); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteObjectARB", ExactSpelling = true)] + internal extern static void DeleteObjectARB(UInt32 obj); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteOcclusionQueriesNV", ExactSpelling = true)] + internal extern static unsafe void DeleteOcclusionQueriesNV(Int32 n, UInt32* ids); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeletePerfMonitorsAMD", ExactSpelling = true)] + internal extern static unsafe void DeletePerfMonitorsAMD(Int32 n, [OutAttribute] UInt32* monitors); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteProgram", ExactSpelling = true)] + internal extern static void DeleteProgram(UInt32 program); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteProgramPipelines", ExactSpelling = true)] + internal extern static unsafe void DeleteProgramPipelines(Int32 n, UInt32* pipelines); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteProgramsARB", ExactSpelling = true)] + internal extern static unsafe void DeleteProgramsARB(Int32 n, UInt32* programs); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteProgramsNV", ExactSpelling = true)] + internal extern static unsafe void DeleteProgramsNV(Int32 n, UInt32* programs); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteQueries", ExactSpelling = true)] + internal extern static unsafe void DeleteQueries(Int32 n, UInt32* ids); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteQueriesARB", ExactSpelling = true)] + internal extern static unsafe void DeleteQueriesARB(Int32 n, UInt32* ids); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteRenderbuffers", ExactSpelling = true)] + internal extern static unsafe void DeleteRenderbuffers(Int32 n, UInt32* renderbuffers); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteRenderbuffersEXT", ExactSpelling = true)] + internal extern static unsafe void DeleteRenderbuffersEXT(Int32 n, UInt32* renderbuffers); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteSamplers", ExactSpelling = true)] + internal extern static unsafe void DeleteSamplers(Int32 count, UInt32* samplers); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteShader", ExactSpelling = true)] + internal extern static void DeleteShader(UInt32 shader); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteSync", ExactSpelling = true)] + internal extern static void DeleteSync(IntPtr sync); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteTextures", ExactSpelling = true)] + internal extern static unsafe void DeleteTextures(Int32 n, UInt32* textures); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteTexturesEXT", ExactSpelling = true)] + internal extern static unsafe void DeleteTexturesEXT(Int32 n, UInt32* textures); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteTransformFeedbacks", ExactSpelling = true)] + internal extern static unsafe void DeleteTransformFeedbacks(Int32 n, UInt32* ids); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteTransformFeedbacksNV", ExactSpelling = true)] + internal extern static unsafe void DeleteTransformFeedbacksNV(Int32 n, UInt32* ids); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteVertexArrays", ExactSpelling = true)] + internal extern static unsafe void DeleteVertexArrays(Int32 n, UInt32* arrays); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteVertexArraysAPPLE", ExactSpelling = true)] + internal extern static unsafe void DeleteVertexArraysAPPLE(Int32 n, UInt32* arrays); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteVertexShaderEXT", ExactSpelling = true)] + internal extern static void DeleteVertexShaderEXT(UInt32 id); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDepthBoundsdNV", ExactSpelling = true)] + internal extern static void DepthBoundsdNV(Double zmin, Double zmax); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDepthBoundsEXT", ExactSpelling = true)] + internal extern static void DepthBoundsEXT(Double zmin, Double zmax); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDepthFunc", ExactSpelling = true)] + internal extern static void DepthFunc(OpenTK.Graphics.OpenGL.DepthFunction func); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDepthMask", ExactSpelling = true)] + internal extern static void DepthMask(bool flag); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDepthRange", ExactSpelling = true)] + internal extern static void DepthRange(Double near, Double far); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDepthRangeArrayv", ExactSpelling = true)] + internal extern static unsafe void DepthRangeArrayv(UInt32 first, Int32 count, Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDepthRangedNV", ExactSpelling = true)] + internal extern static void DepthRangedNV(Double zNear, Double zFar); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDepthRangef", ExactSpelling = true)] + internal extern static void DepthRangef(Single n, Single f); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDepthRangeIndexed", ExactSpelling = true)] + internal extern static void DepthRangeIndexed(UInt32 index, Double n, Double f); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDetachObjectARB", ExactSpelling = true)] + internal extern static void DetachObjectARB(UInt32 containerObj, UInt32 attachedObj); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDetachShader", ExactSpelling = true)] + internal extern static void DetachShader(UInt32 program, UInt32 shader); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDetailTexFuncSGIS", ExactSpelling = true)] + internal extern static unsafe void DetailTexFuncSGIS(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 n, Single* points); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDisable", ExactSpelling = true)] + internal extern static void Disable(OpenTK.Graphics.OpenGL.EnableCap cap); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDisableClientState", ExactSpelling = true)] + internal extern static void DisableClientState(OpenTK.Graphics.OpenGL.ArrayCap array); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDisableClientStateIndexedEXT", ExactSpelling = true)] + internal extern static void DisableClientStateIndexedEXT(OpenTK.Graphics.OpenGL.EnableCap array, UInt32 index); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDisablei", ExactSpelling = true)] + internal extern static void Disablei(OpenTK.Graphics.OpenGL.IndexedEnableCap target, UInt32 index); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDisableIndexedEXT", ExactSpelling = true)] + internal extern static void DisableIndexedEXT(OpenTK.Graphics.OpenGL.IndexedEnableCap target, UInt32 index); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDisableVariantClientStateEXT", ExactSpelling = true)] + internal extern static void DisableVariantClientStateEXT(UInt32 id); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDisableVertexAttribAPPLE", ExactSpelling = true)] + internal extern static void DisableVertexAttribAPPLE(UInt32 index, OpenTK.Graphics.OpenGL.AppleVertexProgramEvaluators pname); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDisableVertexAttribArray", ExactSpelling = true)] + internal extern static void DisableVertexAttribArray(UInt32 index); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDisableVertexAttribArrayARB", ExactSpelling = true)] + internal extern static void DisableVertexAttribArrayARB(UInt32 index); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawArrays", ExactSpelling = true)] + internal extern static void DrawArrays(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 first, Int32 count); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawArraysEXT", ExactSpelling = true)] + internal extern static void DrawArraysEXT(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 first, Int32 count); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawArraysIndirect", ExactSpelling = true)] + internal extern static void DrawArraysIndirect(OpenTK.Graphics.OpenGL.ArbDrawIndirect mode, IntPtr indirect); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawArraysInstanced", ExactSpelling = true)] + internal extern static void DrawArraysInstanced(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 first, Int32 count, Int32 primcount); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawArraysInstancedARB", ExactSpelling = true)] + internal extern static void DrawArraysInstancedARB(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 first, Int32 count, Int32 primcount); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawArraysInstancedEXT", ExactSpelling = true)] + internal extern static void DrawArraysInstancedEXT(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 count, Int32 primcount); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawBuffer", ExactSpelling = true)] + internal extern static void DrawBuffer(OpenTK.Graphics.OpenGL.DrawBufferMode mode); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawBuffers", ExactSpelling = true)] + internal extern static unsafe void DrawBuffers(Int32 n, OpenTK.Graphics.OpenGL.DrawBuffersEnum* bufs); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawBuffersARB", ExactSpelling = true)] + internal extern static unsafe void DrawBuffersARB(Int32 n, OpenTK.Graphics.OpenGL.ArbDrawBuffers* bufs); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawBuffersATI", ExactSpelling = true)] + internal extern static unsafe void DrawBuffersATI(Int32 n, OpenTK.Graphics.OpenGL.AtiDrawBuffers* bufs); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElementArrayAPPLE", ExactSpelling = true)] + internal extern static void DrawElementArrayAPPLE(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 first, Int32 count); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElementArrayATI", ExactSpelling = true)] + internal extern static void DrawElementArrayATI(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElements", ExactSpelling = true)] + internal extern static void DrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElementsBaseVertex", ExactSpelling = true)] + internal extern static void DrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 basevertex); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElementsIndirect", ExactSpelling = true)] + internal extern static void DrawElementsIndirect(OpenTK.Graphics.OpenGL.ArbDrawIndirect mode, OpenTK.Graphics.OpenGL.ArbDrawIndirect type, IntPtr indirect); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElementsInstanced", ExactSpelling = true)] + internal extern static void DrawElementsInstanced(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElementsInstancedARB", ExactSpelling = true)] + internal extern static void DrawElementsInstancedARB(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElementsInstancedBaseVertex", ExactSpelling = true)] + internal extern static void DrawElementsInstancedBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount, Int32 basevertex); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElementsInstancedEXT", ExactSpelling = true)] + internal extern static void DrawElementsInstancedEXT(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawMeshArraysSUN", ExactSpelling = true)] + internal extern static void DrawMeshArraysSUN(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 first, Int32 count, Int32 width); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawPixels", ExactSpelling = true)] + internal extern static void DrawPixels(Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawRangeElementArrayAPPLE", ExactSpelling = true)] + internal extern static void DrawRangeElementArrayAPPLE(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 first, Int32 count); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawRangeElementArrayATI", ExactSpelling = true)] + internal extern static void DrawRangeElementArrayATI(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 count); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawRangeElements", ExactSpelling = true)] + internal extern static void DrawRangeElements(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawRangeElementsBaseVertex", ExactSpelling = true)] + internal extern static void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 basevertex); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawRangeElementsEXT", ExactSpelling = true)] + internal extern static void DrawRangeElementsEXT(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawTransformFeedback", ExactSpelling = true)] + internal extern static void DrawTransformFeedback(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 id); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawTransformFeedbackNV", ExactSpelling = true)] + internal extern static void DrawTransformFeedbackNV(OpenTK.Graphics.OpenGL.NvTransformFeedback2 mode, UInt32 id); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawTransformFeedbackStream", ExactSpelling = true)] + internal extern static void DrawTransformFeedbackStream(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 id, UInt32 stream); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEdgeFlag", ExactSpelling = true)] + internal extern static void EdgeFlag(bool flag); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEdgeFlagFormatNV", ExactSpelling = true)] + internal extern static void EdgeFlagFormatNV(Int32 stride); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEdgeFlagPointer", ExactSpelling = true)] + internal extern static void EdgeFlagPointer(Int32 stride, IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEdgeFlagPointerEXT", ExactSpelling = true)] + internal extern static unsafe void EdgeFlagPointerEXT(Int32 stride, Int32 count, bool* pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEdgeFlagPointerListIBM", ExactSpelling = true)] + internal extern static unsafe void EdgeFlagPointerListIBM(Int32 stride, bool* pointer, Int32 ptrstride); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEdgeFlagv", ExactSpelling = true)] + internal extern static unsafe void EdgeFlagv(bool* flag); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glElementPointerAPPLE", ExactSpelling = true)] + internal extern static void ElementPointerAPPLE(OpenTK.Graphics.OpenGL.AppleElementArray type, IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glElementPointerATI", ExactSpelling = true)] + internal extern static void ElementPointerATI(OpenTK.Graphics.OpenGL.AtiElementArray type, IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEnable", ExactSpelling = true)] + internal extern static void Enable(OpenTK.Graphics.OpenGL.EnableCap cap); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEnableClientState", ExactSpelling = true)] + internal extern static void EnableClientState(OpenTK.Graphics.OpenGL.ArrayCap array); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEnableClientStateIndexedEXT", ExactSpelling = true)] + internal extern static void EnableClientStateIndexedEXT(OpenTK.Graphics.OpenGL.EnableCap array, UInt32 index); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEnablei", ExactSpelling = true)] + internal extern static void Enablei(OpenTK.Graphics.OpenGL.IndexedEnableCap target, UInt32 index); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEnableIndexedEXT", ExactSpelling = true)] + internal extern static void EnableIndexedEXT(OpenTK.Graphics.OpenGL.IndexedEnableCap target, UInt32 index); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEnableVariantClientStateEXT", ExactSpelling = true)] + internal extern static void EnableVariantClientStateEXT(UInt32 id); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEnableVertexAttribAPPLE", ExactSpelling = true)] + internal extern static void EnableVertexAttribAPPLE(UInt32 index, OpenTK.Graphics.OpenGL.AppleVertexProgramEvaluators pname); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEnableVertexAttribArray", ExactSpelling = true)] + internal extern static void EnableVertexAttribArray(UInt32 index); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEnableVertexAttribArrayARB", ExactSpelling = true)] + internal extern static void EnableVertexAttribArrayARB(UInt32 index); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEnd", ExactSpelling = true)] + internal extern static void End(); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEndConditionalRender", ExactSpelling = true)] + internal extern static void EndConditionalRender(); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEndConditionalRenderNV", ExactSpelling = true)] + internal extern static void EndConditionalRenderNV(); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEndFragmentShaderATI", ExactSpelling = true)] + internal extern static void EndFragmentShaderATI(); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEndList", ExactSpelling = true)] + internal extern static void EndList(); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEndOcclusionQueryNV", ExactSpelling = true)] + internal extern static void EndOcclusionQueryNV(); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEndPerfMonitorAMD", ExactSpelling = true)] + internal extern static void EndPerfMonitorAMD(UInt32 monitor); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEndQuery", ExactSpelling = true)] + internal extern static void EndQuery(OpenTK.Graphics.OpenGL.QueryTarget target); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEndQueryARB", ExactSpelling = true)] + internal extern static void EndQueryARB(OpenTK.Graphics.OpenGL.ArbOcclusionQuery target); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEndQueryIndexed", ExactSpelling = true)] + internal extern static void EndQueryIndexed(OpenTK.Graphics.OpenGL.QueryTarget target, UInt32 index); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEndTransformFeedback", ExactSpelling = true)] + internal extern static void EndTransformFeedback(); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEndTransformFeedbackEXT", ExactSpelling = true)] + internal extern static void EndTransformFeedbackEXT(); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEndTransformFeedbackNV", ExactSpelling = true)] + internal extern static void EndTransformFeedbackNV(); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEndVertexShaderEXT", ExactSpelling = true)] + internal extern static void EndVertexShaderEXT(); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEndVideoCaptureNV", ExactSpelling = true)] + internal extern static void EndVideoCaptureNV(UInt32 video_capture_slot); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEvalCoord1d", ExactSpelling = true)] + internal extern static void EvalCoord1d(Double u); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEvalCoord1dv", ExactSpelling = true)] + internal extern static unsafe void EvalCoord1dv(Double* u); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEvalCoord1f", ExactSpelling = true)] + internal extern static void EvalCoord1f(Single u); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEvalCoord1fv", ExactSpelling = true)] + internal extern static unsafe void EvalCoord1fv(Single* u); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEvalCoord2d", ExactSpelling = true)] + internal extern static void EvalCoord2d(Double u, Double v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEvalCoord2dv", ExactSpelling = true)] + internal extern static unsafe void EvalCoord2dv(Double* u); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEvalCoord2f", ExactSpelling = true)] + internal extern static void EvalCoord2f(Single u, Single v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEvalCoord2fv", ExactSpelling = true)] + internal extern static unsafe void EvalCoord2fv(Single* u); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEvalMapsNV", ExactSpelling = true)] + internal extern static void EvalMapsNV(OpenTK.Graphics.OpenGL.NvEvaluators target, OpenTK.Graphics.OpenGL.NvEvaluators mode); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEvalMesh1", ExactSpelling = true)] + internal extern static void EvalMesh1(OpenTK.Graphics.OpenGL.MeshMode1 mode, Int32 i1, Int32 i2); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEvalMesh2", ExactSpelling = true)] + internal extern static void EvalMesh2(OpenTK.Graphics.OpenGL.MeshMode2 mode, Int32 i1, Int32 i2, Int32 j1, Int32 j2); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEvalPoint1", ExactSpelling = true)] + internal extern static void EvalPoint1(Int32 i); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEvalPoint2", ExactSpelling = true)] + internal extern static void EvalPoint2(Int32 i, Int32 j); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glExecuteProgramNV", ExactSpelling = true)] + internal extern static unsafe void ExecuteProgramNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 id, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glExtractComponentEXT", ExactSpelling = true)] + internal extern static void ExtractComponentEXT(UInt32 res, UInt32 src, UInt32 num); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFeedbackBuffer", ExactSpelling = true)] + internal extern static unsafe void FeedbackBuffer(Int32 size, OpenTK.Graphics.OpenGL.FeedbackType type, [OutAttribute] Single* buffer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFenceSync", ExactSpelling = true)] + internal extern static IntPtr FenceSync(OpenTK.Graphics.OpenGL.ArbSync condition, UInt32 flags); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFinalCombinerInputNV", ExactSpelling = true)] + internal extern static void FinalCombinerInputNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners input, OpenTK.Graphics.OpenGL.NvRegisterCombiners mapping, OpenTK.Graphics.OpenGL.NvRegisterCombiners componentUsage); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFinish", ExactSpelling = true)] + internal extern static void Finish(); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFinishAsyncSGIX", ExactSpelling = true)] + internal extern static unsafe Int32 FinishAsyncSGIX([OutAttribute] UInt32* markerp); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFinishFenceAPPLE", ExactSpelling = true)] + internal extern static void FinishFenceAPPLE(UInt32 fence); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFinishFenceNV", ExactSpelling = true)] + internal extern static void FinishFenceNV(UInt32 fence); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFinishObjectAPPLE", ExactSpelling = true)] + internal extern static void FinishObjectAPPLE(OpenTK.Graphics.OpenGL.AppleFence @object, Int32 name); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFinishTextureSUNX", ExactSpelling = true)] + internal extern static void FinishTextureSUNX(); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFlush", ExactSpelling = true)] + internal extern static void Flush(); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFlushMappedBufferRange", ExactSpelling = true)] + internal extern static void FlushMappedBufferRange(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr length); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFlushMappedBufferRangeAPPLE", ExactSpelling = true)] + internal extern static void FlushMappedBufferRangeAPPLE(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr size); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFlushMappedNamedBufferRangeEXT", ExactSpelling = true)] + internal extern static void FlushMappedNamedBufferRangeEXT(UInt32 buffer, IntPtr offset, IntPtr length); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFlushPixelDataRangeNV", ExactSpelling = true)] + internal extern static void FlushPixelDataRangeNV(OpenTK.Graphics.OpenGL.NvPixelDataRange target); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFlushRasterSGIX", ExactSpelling = true)] + internal extern static void FlushRasterSGIX(); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFlushVertexArrayRangeAPPLE", ExactSpelling = true)] + internal extern static void FlushVertexArrayRangeAPPLE(Int32 length, [OutAttribute] IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFlushVertexArrayRangeNV", ExactSpelling = true)] + internal extern static void FlushVertexArrayRangeNV(); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogCoordd", ExactSpelling = true)] + internal extern static void FogCoordd(Double coord); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogCoorddEXT", ExactSpelling = true)] + internal extern static void FogCoorddEXT(Double coord); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogCoorddv", ExactSpelling = true)] + internal extern static unsafe void FogCoorddv(Double* coord); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogCoorddvEXT", ExactSpelling = true)] + internal extern static unsafe void FogCoorddvEXT(Double* coord); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogCoordf", ExactSpelling = true)] + internal extern static void FogCoordf(Single coord); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogCoordfEXT", ExactSpelling = true)] + internal extern static void FogCoordfEXT(Single coord); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogCoordFormatNV", ExactSpelling = true)] + internal extern static void FogCoordFormatNV(OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogCoordfv", ExactSpelling = true)] + internal extern static unsafe void FogCoordfv(Single* coord); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogCoordfvEXT", ExactSpelling = true)] + internal extern static unsafe void FogCoordfvEXT(Single* coord); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogCoordhNV", ExactSpelling = true)] + internal extern static void FogCoordhNV(Half fog); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogCoordhvNV", ExactSpelling = true)] + internal extern static unsafe void FogCoordhvNV(Half* fog); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogCoordPointer", ExactSpelling = true)] + internal extern static void FogCoordPointer(OpenTK.Graphics.OpenGL.FogPointerType type, Int32 stride, IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogCoordPointerEXT", ExactSpelling = true)] + internal extern static void FogCoordPointerEXT(OpenTK.Graphics.OpenGL.ExtFogCoord type, Int32 stride, IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogCoordPointerListIBM", ExactSpelling = true)] + internal extern static void FogCoordPointerListIBM(OpenTK.Graphics.OpenGL.IbmVertexArrayLists type, Int32 stride, IntPtr pointer, Int32 ptrstride); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogf", ExactSpelling = true)] + internal extern static void Fogf(OpenTK.Graphics.OpenGL.FogParameter pname, Single param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogFuncSGIS", ExactSpelling = true)] + internal extern static unsafe void FogFuncSGIS(Int32 n, Single* points); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogfv", ExactSpelling = true)] + internal extern static unsafe void Fogfv(OpenTK.Graphics.OpenGL.FogParameter pname, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogi", ExactSpelling = true)] + internal extern static void Fogi(OpenTK.Graphics.OpenGL.FogParameter pname, Int32 param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogiv", ExactSpelling = true)] + internal extern static unsafe void Fogiv(OpenTK.Graphics.OpenGL.FogParameter pname, Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFragmentColorMaterialSGIX", ExactSpelling = true)] + internal extern static void FragmentColorMaterialSGIX(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter mode); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFragmentLightfSGIX", ExactSpelling = true)] + internal extern static void FragmentLightfSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Single param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFragmentLightfvSGIX", ExactSpelling = true)] + internal extern static unsafe void FragmentLightfvSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFragmentLightiSGIX", ExactSpelling = true)] + internal extern static void FragmentLightiSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Int32 param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFragmentLightivSGIX", ExactSpelling = true)] + internal extern static unsafe void FragmentLightivSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFragmentLightModelfSGIX", ExactSpelling = true)] + internal extern static void FragmentLightModelfSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Single param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFragmentLightModelfvSGIX", ExactSpelling = true)] + internal extern static unsafe void FragmentLightModelfvSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFragmentLightModeliSGIX", ExactSpelling = true)] + internal extern static void FragmentLightModeliSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Int32 param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFragmentLightModelivSGIX", ExactSpelling = true)] + internal extern static unsafe void FragmentLightModelivSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFragmentMaterialfSGIX", ExactSpelling = true)] + internal extern static void FragmentMaterialfSGIX(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Single param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFragmentMaterialfvSGIX", ExactSpelling = true)] + internal extern static unsafe void FragmentMaterialfvSGIX(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFragmentMaterialiSGIX", ExactSpelling = true)] + internal extern static void FragmentMaterialiSGIX(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Int32 param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFragmentMaterialivSGIX", ExactSpelling = true)] + internal extern static unsafe void FragmentMaterialivSGIX(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferDrawBufferEXT", ExactSpelling = true)] + internal extern static void FramebufferDrawBufferEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.DrawBufferMode mode); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferDrawBuffersEXT", ExactSpelling = true)] + internal extern static unsafe void FramebufferDrawBuffersEXT(UInt32 framebuffer, Int32 n, OpenTK.Graphics.OpenGL.DrawBufferMode* bufs); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferReadBufferEXT", ExactSpelling = true)] + internal extern static void FramebufferReadBufferEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.ReadBufferMode mode); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferRenderbuffer", ExactSpelling = true)] + internal extern static void FramebufferRenderbuffer(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferRenderbufferEXT", ExactSpelling = true)] + internal extern static void FramebufferRenderbufferEXT(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTexture", ExactSpelling = true)] + internal extern static void FramebufferTexture(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTexture1D", ExactSpelling = true)] + internal extern static void FramebufferTexture1D(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTexture1DEXT", ExactSpelling = true)] + internal extern static void FramebufferTexture1DEXT(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTexture2D", ExactSpelling = true)] + internal extern static void FramebufferTexture2D(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTexture2DEXT", ExactSpelling = true)] + internal extern static void FramebufferTexture2DEXT(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTexture3D", ExactSpelling = true)] + internal extern static void FramebufferTexture3D(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level, Int32 zoffset); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTexture3DEXT", ExactSpelling = true)] + internal extern static void FramebufferTexture3DEXT(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level, Int32 zoffset); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTextureARB", ExactSpelling = true)] + internal extern static void FramebufferTextureARB(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTextureEXT", ExactSpelling = true)] + internal extern static void FramebufferTextureEXT(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTextureFaceARB", ExactSpelling = true)] + internal extern static void FramebufferTextureFaceARB(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level, OpenTK.Graphics.OpenGL.TextureTarget face); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTextureFaceEXT", ExactSpelling = true)] + internal extern static void FramebufferTextureFaceEXT(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level, OpenTK.Graphics.OpenGL.TextureTarget face); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTextureLayer", ExactSpelling = true)] + internal extern static void FramebufferTextureLayer(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTextureLayerARB", ExactSpelling = true)] + internal extern static void FramebufferTextureLayerARB(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTextureLayerEXT", ExactSpelling = true)] + internal extern static void FramebufferTextureLayerEXT(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFrameTerminatorGREMEDY", ExactSpelling = true)] + internal extern static void FrameTerminatorGREMEDY(); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFrameZoomSGIX", ExactSpelling = true)] + internal extern static void FrameZoomSGIX(Int32 factor); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFreeObjectBufferATI", ExactSpelling = true)] + internal extern static void FreeObjectBufferATI(UInt32 buffer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFrontFace", ExactSpelling = true)] + internal extern static void FrontFace(OpenTK.Graphics.OpenGL.FrontFaceDirection mode); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFrustum", ExactSpelling = true)] + internal extern static void Frustum(Double left, Double right, Double bottom, Double top, Double zNear, Double zFar); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenAsyncMarkersSGIX", ExactSpelling = true)] + internal extern static Int32 GenAsyncMarkersSGIX(Int32 range); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenBuffers", ExactSpelling = true)] + internal extern static unsafe void GenBuffers(Int32 n, [OutAttribute] UInt32* buffers); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenBuffersARB", ExactSpelling = true)] + internal extern static unsafe void GenBuffersARB(Int32 n, [OutAttribute] UInt32* buffers); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenerateMipmap", ExactSpelling = true)] + internal extern static void GenerateMipmap(OpenTK.Graphics.OpenGL.GenerateMipmapTarget target); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenerateMipmapEXT", ExactSpelling = true)] + internal extern static void GenerateMipmapEXT(OpenTK.Graphics.OpenGL.GenerateMipmapTarget target); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenerateMultiTexMipmapEXT", ExactSpelling = true)] + internal extern static void GenerateMultiTexMipmapEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenerateTextureMipmapEXT", ExactSpelling = true)] + internal extern static void GenerateTextureMipmapEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenFencesAPPLE", ExactSpelling = true)] + internal extern static unsafe void GenFencesAPPLE(Int32 n, [OutAttribute] UInt32* fences); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenFencesNV", ExactSpelling = true)] + internal extern static unsafe void GenFencesNV(Int32 n, [OutAttribute] UInt32* fences); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenFragmentShadersATI", ExactSpelling = true)] + internal extern static Int32 GenFragmentShadersATI(UInt32 range); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenFramebuffers", ExactSpelling = true)] + internal extern static unsafe void GenFramebuffers(Int32 n, [OutAttribute] UInt32* framebuffers); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenFramebuffersEXT", ExactSpelling = true)] + internal extern static unsafe void GenFramebuffersEXT(Int32 n, [OutAttribute] UInt32* framebuffers); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenLists", ExactSpelling = true)] + internal extern static Int32 GenLists(Int32 range); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenNamesAMD", ExactSpelling = true)] + internal extern static unsafe void GenNamesAMD(OpenTK.Graphics.OpenGL.AmdNameGenDelete identifier, UInt32 num, [OutAttribute] UInt32* names); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenOcclusionQueriesNV", ExactSpelling = true)] + internal extern static unsafe void GenOcclusionQueriesNV(Int32 n, [OutAttribute] UInt32* ids); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenPerfMonitorsAMD", ExactSpelling = true)] + internal extern static unsafe void GenPerfMonitorsAMD(Int32 n, [OutAttribute] UInt32* monitors); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenProgramPipelines", ExactSpelling = true)] + internal extern static unsafe void GenProgramPipelines(Int32 n, [OutAttribute] UInt32* pipelines); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenProgramsARB", ExactSpelling = true)] + internal extern static unsafe void GenProgramsARB(Int32 n, [OutAttribute] UInt32* programs); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenProgramsNV", ExactSpelling = true)] + internal extern static unsafe void GenProgramsNV(Int32 n, [OutAttribute] UInt32* programs); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenQueries", ExactSpelling = true)] + internal extern static unsafe void GenQueries(Int32 n, [OutAttribute] UInt32* ids); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenQueriesARB", ExactSpelling = true)] + internal extern static unsafe void GenQueriesARB(Int32 n, [OutAttribute] UInt32* ids); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenRenderbuffers", ExactSpelling = true)] + internal extern static unsafe void GenRenderbuffers(Int32 n, [OutAttribute] UInt32* renderbuffers); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenRenderbuffersEXT", ExactSpelling = true)] + internal extern static unsafe void GenRenderbuffersEXT(Int32 n, [OutAttribute] UInt32* renderbuffers); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenSamplers", ExactSpelling = true)] + internal extern static unsafe void GenSamplers(Int32 count, [OutAttribute] UInt32* samplers); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenSymbolsEXT", ExactSpelling = true)] + internal extern static Int32 GenSymbolsEXT(OpenTK.Graphics.OpenGL.ExtVertexShader datatype, OpenTK.Graphics.OpenGL.ExtVertexShader storagetype, OpenTK.Graphics.OpenGL.ExtVertexShader range, UInt32 components); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenTextures", ExactSpelling = true)] + internal extern static unsafe void GenTextures(Int32 n, [OutAttribute] UInt32* textures); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenTexturesEXT", ExactSpelling = true)] + internal extern static unsafe void GenTexturesEXT(Int32 n, [OutAttribute] UInt32* textures); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenTransformFeedbacks", ExactSpelling = true)] + internal extern static unsafe void GenTransformFeedbacks(Int32 n, [OutAttribute] UInt32* ids); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenTransformFeedbacksNV", ExactSpelling = true)] + internal extern static unsafe void GenTransformFeedbacksNV(Int32 n, [OutAttribute] UInt32* ids); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenVertexArrays", ExactSpelling = true)] + internal extern static unsafe void GenVertexArrays(Int32 n, [OutAttribute] UInt32* arrays); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenVertexArraysAPPLE", ExactSpelling = true)] + internal extern static unsafe void GenVertexArraysAPPLE(Int32 n, [OutAttribute] UInt32* arrays); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenVertexShadersEXT", ExactSpelling = true)] + internal extern static Int32 GenVertexShadersEXT(UInt32 range); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetActiveAttrib", ExactSpelling = true)] + internal extern static unsafe void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.ActiveAttribType* type, [OutAttribute] StringBuilder name); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetActiveAttribARB", ExactSpelling = true)] + internal extern static unsafe void GetActiveAttribARB(UInt32 programObj, UInt32 index, Int32 maxLength, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.ArbVertexShader* type, [OutAttribute] StringBuilder name); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetActiveSubroutineName", ExactSpelling = true)] + internal extern static unsafe void GetActiveSubroutineName(UInt32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, UInt32 index, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder name); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetActiveSubroutineUniformiv", ExactSpelling = true)] + internal extern static unsafe void GetActiveSubroutineUniformiv(UInt32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, UInt32 index, OpenTK.Graphics.OpenGL.ActiveSubroutineUniformParameter pname, [OutAttribute] Int32* values); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetActiveSubroutineUniformName", ExactSpelling = true)] + internal extern static unsafe void GetActiveSubroutineUniformName(UInt32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, UInt32 index, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder name); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetActiveUniform", ExactSpelling = true)] + internal extern static unsafe void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.ActiveUniformType* type, [OutAttribute] StringBuilder name); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetActiveUniformARB", ExactSpelling = true)] + internal extern static unsafe void GetActiveUniformARB(UInt32 programObj, UInt32 index, Int32 maxLength, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.ArbShaderObjects* type, [OutAttribute] StringBuilder name); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetActiveUniformBlockiv", ExactSpelling = true)] + internal extern static unsafe void GetActiveUniformBlockiv(UInt32 program, UInt32 uniformBlockIndex, OpenTK.Graphics.OpenGL.ActiveUniformBlockParameter pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetActiveUniformBlockName", ExactSpelling = true)] + internal extern static unsafe void GetActiveUniformBlockName(UInt32 program, UInt32 uniformBlockIndex, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder uniformBlockName); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetActiveUniformName", ExactSpelling = true)] + internal extern static unsafe void GetActiveUniformName(UInt32 program, UInt32 uniformIndex, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder uniformName); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetActiveUniformsiv", ExactSpelling = true)] + internal extern static unsafe void GetActiveUniformsiv(UInt32 program, Int32 uniformCount, UInt32* uniformIndices, OpenTK.Graphics.OpenGL.ActiveUniformParameter pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetActiveVaryingNV", ExactSpelling = true)] + internal extern static unsafe void GetActiveVaryingNV(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.NvTransformFeedback* type, [OutAttribute] StringBuilder name); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetArrayObjectfvATI", ExactSpelling = true)] + internal extern static unsafe void GetArrayObjectfvATI(OpenTK.Graphics.OpenGL.EnableCap array, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetArrayObjectivATI", ExactSpelling = true)] + internal extern static unsafe void GetArrayObjectivATI(OpenTK.Graphics.OpenGL.EnableCap array, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetAttachedObjectsARB", ExactSpelling = true)] + internal extern static unsafe void GetAttachedObjectsARB(UInt32 containerObj, Int32 maxCount, [OutAttribute] Int32* count, [OutAttribute] UInt32* obj); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetAttachedShaders", ExactSpelling = true)] + internal extern static unsafe void GetAttachedShaders(UInt32 program, Int32 maxCount, [OutAttribute] Int32* count, [OutAttribute] UInt32* obj); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetAttribLocation", ExactSpelling = true)] + internal extern static Int32 GetAttribLocation(UInt32 program, String name); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetAttribLocationARB", ExactSpelling = true)] + internal extern static Int32 GetAttribLocationARB(UInt32 programObj, String name); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetBooleani_v", ExactSpelling = true)] + internal extern static unsafe void GetBooleani_v(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] bool* data); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetBooleanIndexedvEXT", ExactSpelling = true)] + internal extern static unsafe void GetBooleanIndexedvEXT(OpenTK.Graphics.OpenGL.ExtDrawBuffers2 target, UInt32 index, [OutAttribute] bool* data); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetBooleanv", ExactSpelling = true)] + internal extern static unsafe void GetBooleanv(OpenTK.Graphics.OpenGL.GetPName pname, [OutAttribute] bool* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetBufferParameteri64v", ExactSpelling = true)] + internal extern static unsafe void GetBufferParameteri64v(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferParameterName pname, [OutAttribute] Int64* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetBufferParameteriv", ExactSpelling = true)] + internal extern static unsafe void GetBufferParameteriv(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferParameterName pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetBufferParameterivARB", ExactSpelling = true)] + internal extern static unsafe void GetBufferParameterivARB(OpenTK.Graphics.OpenGL.ArbVertexBufferObject target, OpenTK.Graphics.OpenGL.BufferParameterNameArb pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetBufferParameterui64vNV", ExactSpelling = true)] + internal extern static unsafe void GetBufferParameterui64vNV(OpenTK.Graphics.OpenGL.NvShaderBufferLoad target, OpenTK.Graphics.OpenGL.NvShaderBufferLoad pname, [OutAttribute] UInt64* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetBufferPointerv", ExactSpelling = true)] + internal extern static void GetBufferPointerv(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferPointer pname, [OutAttribute] IntPtr @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetBufferPointervARB", ExactSpelling = true)] + internal extern static void GetBufferPointervARB(OpenTK.Graphics.OpenGL.ArbVertexBufferObject target, OpenTK.Graphics.OpenGL.BufferPointerNameArb pname, [OutAttribute] IntPtr @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetBufferSubData", ExactSpelling = true)] + internal extern static void GetBufferSubData(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr size, [OutAttribute] IntPtr data); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetBufferSubDataARB", ExactSpelling = true)] + internal extern static void GetBufferSubDataARB(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr offset, IntPtr size, [OutAttribute] IntPtr data); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetClipPlane", ExactSpelling = true)] + internal extern static unsafe void GetClipPlane(OpenTK.Graphics.OpenGL.ClipPlaneName plane, [OutAttribute] Double* equation); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetColorTable", ExactSpelling = true)] + internal extern static void GetColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr table); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetColorTableEXT", ExactSpelling = true)] + internal extern static void GetColorTableEXT(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr data); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetColorTableParameterfv", ExactSpelling = true)] + internal extern static unsafe void GetColorTableParameterfv(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.GetColorTableParameterPName pname, [OutAttribute] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetColorTableParameterfvEXT", ExactSpelling = true)] + internal extern static unsafe void GetColorTableParameterfvEXT(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.GetColorTableParameterPName pname, [OutAttribute] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetColorTableParameterfvSGI", ExactSpelling = true)] + internal extern static unsafe void GetColorTableParameterfvSGI(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, [OutAttribute] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetColorTableParameteriv", ExactSpelling = true)] + internal extern static unsafe void GetColorTableParameteriv(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.GetColorTableParameterPName pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetColorTableParameterivEXT", ExactSpelling = true)] + internal extern static unsafe void GetColorTableParameterivEXT(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.GetColorTableParameterPName pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetColorTableParameterivSGI", ExactSpelling = true)] + internal extern static unsafe void GetColorTableParameterivSGI(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetColorTableSGI", ExactSpelling = true)] + internal extern static void GetColorTableSGI(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr table); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetCombinerInputParameterfvNV", ExactSpelling = true)] + internal extern static unsafe void GetCombinerInputParameterfvNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetCombinerInputParameterivNV", ExactSpelling = true)] + internal extern static unsafe void GetCombinerInputParameterivNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetCombinerOutputParameterfvNV", ExactSpelling = true)] + internal extern static unsafe void GetCombinerOutputParameterfvNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetCombinerOutputParameterivNV", ExactSpelling = true)] + internal extern static unsafe void GetCombinerOutputParameterivNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetCombinerStageParameterfvNV", ExactSpelling = true)] + internal extern static unsafe void GetCombinerStageParameterfvNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners2 stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners2 pname, [OutAttribute] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetCompressedMultiTexImageEXT", ExactSpelling = true)] + internal extern static void GetCompressedMultiTexImageEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 lod, [OutAttribute] IntPtr img); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetCompressedTexImage", ExactSpelling = true)] + internal extern static void GetCompressedTexImage(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, [OutAttribute] IntPtr img); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetCompressedTexImageARB", ExactSpelling = true)] + internal extern static void GetCompressedTexImageARB(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, [OutAttribute] IntPtr img); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetCompressedTextureImageEXT", ExactSpelling = true)] + internal extern static void GetCompressedTextureImageEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 lod, [OutAttribute] IntPtr img); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetConvolutionFilter", ExactSpelling = true)] + internal extern static void GetConvolutionFilter(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr image); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetConvolutionFilterEXT", ExactSpelling = true)] + internal extern static void GetConvolutionFilterEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr image); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetConvolutionParameterfv", ExactSpelling = true)] + internal extern static unsafe void GetConvolutionParameterfv(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.GetConvolutionParameterPName pname, [OutAttribute] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetConvolutionParameterfvEXT", ExactSpelling = true)] + internal extern static unsafe void GetConvolutionParameterfvEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, [OutAttribute] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetConvolutionParameteriv", ExactSpelling = true)] + internal extern static unsafe void GetConvolutionParameteriv(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.GetConvolutionParameterPName pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetConvolutionParameterivEXT", ExactSpelling = true)] + internal extern static unsafe void GetConvolutionParameterivEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetDebugMessageLogAMD", ExactSpelling = true)] + internal extern static unsafe Int32 GetDebugMessageLogAMD(UInt32 count, Int32 bufsize, [OutAttribute] OpenTK.Graphics.OpenGL.AmdDebugOutput* categories, [OutAttribute] UInt32* severities, [OutAttribute] UInt32* ids, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder message); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetDebugMessageLogARB", ExactSpelling = true)] + internal extern static unsafe Int32 GetDebugMessageLogARB(UInt32 count, Int32 bufsize, [OutAttribute] OpenTK.Graphics.OpenGL.ArbDebugOutput* sources, [OutAttribute] OpenTK.Graphics.OpenGL.ArbDebugOutput* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.OpenGL.ArbDebugOutput* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetDetailTexFuncSGIS", ExactSpelling = true)] + internal extern static unsafe void GetDetailTexFuncSGIS(OpenTK.Graphics.OpenGL.TextureTarget target, [OutAttribute] Single* points); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetDoublei_v", ExactSpelling = true)] + internal extern static unsafe void GetDoublei_v(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] Double* data); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetDoubleIndexedvEXT", ExactSpelling = true)] + internal extern static unsafe void GetDoubleIndexedvEXT(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] Double* data); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetDoublev", ExactSpelling = true)] + internal extern static unsafe void GetDoublev(OpenTK.Graphics.OpenGL.GetPName pname, [OutAttribute] Double* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetError", ExactSpelling = true)] + internal extern static OpenTK.Graphics.OpenGL.ErrorCode GetError(); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFenceivNV", ExactSpelling = true)] + internal extern static unsafe void GetFenceivNV(UInt32 fence, OpenTK.Graphics.OpenGL.NvFence pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFinalCombinerInputParameterfvNV", ExactSpelling = true)] + internal extern static unsafe void GetFinalCombinerInputParameterfvNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFinalCombinerInputParameterivNV", ExactSpelling = true)] + internal extern static unsafe void GetFinalCombinerInputParameterivNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFloati_v", ExactSpelling = true)] + internal extern static unsafe void GetFloati_v(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] Single* data); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFloatIndexedvEXT", ExactSpelling = true)] + internal extern static unsafe void GetFloatIndexedvEXT(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] Single* data); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFloatv", ExactSpelling = true)] + internal extern static unsafe void GetFloatv(OpenTK.Graphics.OpenGL.GetPName pname, [OutAttribute] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFogFuncSGIS", ExactSpelling = true)] + internal extern static unsafe void GetFogFuncSGIS([OutAttribute] Single* points); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFragDataIndex", ExactSpelling = true)] + internal extern static Int32 GetFragDataIndex(UInt32 program, String name); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFragDataLocation", ExactSpelling = true)] + internal extern static Int32 GetFragDataLocation(UInt32 program, String name); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFragDataLocationEXT", ExactSpelling = true)] + internal extern static Int32 GetFragDataLocationEXT(UInt32 program, String name); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFragmentLightfvSGIX", ExactSpelling = true)] + internal extern static unsafe void GetFragmentLightfvSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, [OutAttribute] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFragmentLightivSGIX", ExactSpelling = true)] + internal extern static unsafe void GetFragmentLightivSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFragmentMaterialfvSGIX", ExactSpelling = true)] + internal extern static unsafe void GetFragmentMaterialfvSGIX(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, [OutAttribute] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFragmentMaterialivSGIX", ExactSpelling = true)] + internal extern static unsafe void GetFragmentMaterialivSGIX(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFramebufferAttachmentParameteriv", ExactSpelling = true)] + internal extern static unsafe void GetFramebufferAttachmentParameteriv(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.FramebufferParameterName pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFramebufferAttachmentParameterivEXT", ExactSpelling = true)] + internal extern static unsafe void GetFramebufferAttachmentParameterivEXT(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.FramebufferParameterName pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFramebufferParameterivEXT", ExactSpelling = true)] + internal extern static unsafe void GetFramebufferParameterivEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetGraphicsResetStatusARB", ExactSpelling = true)] + internal extern static OpenTK.Graphics.OpenGL.ArbRobustness GetGraphicsResetStatusARB(); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetHandleARB", ExactSpelling = true)] + internal extern static Int32 GetHandleARB(OpenTK.Graphics.OpenGL.ArbShaderObjects pname); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetHistogram", ExactSpelling = true)] + internal extern static void GetHistogram(OpenTK.Graphics.OpenGL.HistogramTarget target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr values); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetHistogramEXT", ExactSpelling = true)] + internal extern static void GetHistogramEXT(OpenTK.Graphics.OpenGL.ExtHistogram target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr values); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetHistogramParameterfv", ExactSpelling = true)] + internal extern static unsafe void GetHistogramParameterfv(OpenTK.Graphics.OpenGL.HistogramTarget target, OpenTK.Graphics.OpenGL.GetHistogramParameterPName pname, [OutAttribute] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetHistogramParameterfvEXT", ExactSpelling = true)] + internal extern static unsafe void GetHistogramParameterfvEXT(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [OutAttribute] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetHistogramParameteriv", ExactSpelling = true)] + internal extern static unsafe void GetHistogramParameteriv(OpenTK.Graphics.OpenGL.HistogramTarget target, OpenTK.Graphics.OpenGL.GetHistogramParameterPName pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetHistogramParameterivEXT", ExactSpelling = true)] + internal extern static unsafe void GetHistogramParameterivEXT(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetImageTransformParameterfvHP", ExactSpelling = true)] + internal extern static unsafe void GetImageTransformParameterfvHP(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, [OutAttribute] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetImageTransformParameterivHP", ExactSpelling = true)] + internal extern static unsafe void GetImageTransformParameterivHP(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetInfoLogARB", ExactSpelling = true)] + internal extern static unsafe void GetInfoLogARB(UInt32 obj, Int32 maxLength, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetInstrumentsSGIX", ExactSpelling = true)] + internal extern static Int32 GetInstrumentsSGIX(); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetInteger64i_v", ExactSpelling = true)] + internal extern static unsafe void GetInteger64i_v(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] Int64* data); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetInteger64v", ExactSpelling = true)] + internal extern static unsafe void GetInteger64v(OpenTK.Graphics.OpenGL.ArbSync pname, [OutAttribute] Int64* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetIntegeri_v", ExactSpelling = true)] + internal extern static unsafe void GetIntegeri_v(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] Int32* data); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetIntegerIndexedvEXT", ExactSpelling = true)] + internal extern static unsafe void GetIntegerIndexedvEXT(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] Int32* data); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetIntegerui64i_vNV", ExactSpelling = true)] + internal extern static unsafe void GetIntegerui64i_vNV(OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory value, UInt32 index, [OutAttribute] UInt64* result); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetIntegerui64vNV", ExactSpelling = true)] + internal extern static unsafe void GetIntegerui64vNV(OpenTK.Graphics.OpenGL.NvShaderBufferLoad value, [OutAttribute] UInt64* result); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetIntegerv", ExactSpelling = true)] + internal extern static unsafe void GetIntegerv(OpenTK.Graphics.OpenGL.GetPName pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetInvariantBooleanvEXT", ExactSpelling = true)] + internal extern static unsafe void GetInvariantBooleanvEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] bool* data); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetInvariantFloatvEXT", ExactSpelling = true)] + internal extern static unsafe void GetInvariantFloatvEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Single* data); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetInvariantIntegervEXT", ExactSpelling = true)] + internal extern static unsafe void GetInvariantIntegervEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Int32* data); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetLightfv", ExactSpelling = true)] + internal extern static unsafe void GetLightfv(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, [OutAttribute] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetLightiv", ExactSpelling = true)] + internal extern static unsafe void GetLightiv(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetListParameterfvSGIX", ExactSpelling = true)] + internal extern static unsafe void GetListParameterfvSGIX(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, [OutAttribute] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetListParameterivSGIX", ExactSpelling = true)] + internal extern static unsafe void GetListParameterivSGIX(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetLocalConstantBooleanvEXT", ExactSpelling = true)] + internal extern static unsafe void GetLocalConstantBooleanvEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] bool* data); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetLocalConstantFloatvEXT", ExactSpelling = true)] + internal extern static unsafe void GetLocalConstantFloatvEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Single* data); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetLocalConstantIntegervEXT", ExactSpelling = true)] + internal extern static unsafe void GetLocalConstantIntegervEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Int32* data); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMapAttribParameterfvNV", ExactSpelling = true)] + internal extern static unsafe void GetMapAttribParameterfvNV(OpenTK.Graphics.OpenGL.NvEvaluators target, UInt32 index, OpenTK.Graphics.OpenGL.NvEvaluators pname, [OutAttribute] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMapAttribParameterivNV", ExactSpelling = true)] + internal extern static unsafe void GetMapAttribParameterivNV(OpenTK.Graphics.OpenGL.NvEvaluators target, UInt32 index, OpenTK.Graphics.OpenGL.NvEvaluators pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMapControlPointsNV", ExactSpelling = true)] + internal extern static void GetMapControlPointsNV(OpenTK.Graphics.OpenGL.NvEvaluators target, UInt32 index, OpenTK.Graphics.OpenGL.NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [OutAttribute] IntPtr points); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMapdv", ExactSpelling = true)] + internal extern static unsafe void GetMapdv(OpenTK.Graphics.OpenGL.MapTarget target, OpenTK.Graphics.OpenGL.GetMapQuery query, [OutAttribute] Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMapfv", ExactSpelling = true)] + internal extern static unsafe void GetMapfv(OpenTK.Graphics.OpenGL.MapTarget target, OpenTK.Graphics.OpenGL.GetMapQuery query, [OutAttribute] Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMapiv", ExactSpelling = true)] + internal extern static unsafe void GetMapiv(OpenTK.Graphics.OpenGL.MapTarget target, OpenTK.Graphics.OpenGL.GetMapQuery query, [OutAttribute] Int32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMapParameterfvNV", ExactSpelling = true)] + internal extern static unsafe void GetMapParameterfvNV(OpenTK.Graphics.OpenGL.NvEvaluators target, OpenTK.Graphics.OpenGL.NvEvaluators pname, [OutAttribute] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMapParameterivNV", ExactSpelling = true)] + internal extern static unsafe void GetMapParameterivNV(OpenTK.Graphics.OpenGL.NvEvaluators target, OpenTK.Graphics.OpenGL.NvEvaluators pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMaterialfv", ExactSpelling = true)] + internal extern static unsafe void GetMaterialfv(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, [OutAttribute] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMaterialiv", ExactSpelling = true)] + internal extern static unsafe void GetMaterialiv(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMinmax", ExactSpelling = true)] + internal extern static void GetMinmax(OpenTK.Graphics.OpenGL.MinmaxTarget target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr values); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMinmaxEXT", ExactSpelling = true)] + internal extern static void GetMinmaxEXT(OpenTK.Graphics.OpenGL.ExtHistogram target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr values); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMinmaxParameterfv", ExactSpelling = true)] + internal extern static unsafe void GetMinmaxParameterfv(OpenTK.Graphics.OpenGL.MinmaxTarget target, OpenTK.Graphics.OpenGL.GetMinmaxParameterPName pname, [OutAttribute] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMinmaxParameterfvEXT", ExactSpelling = true)] + internal extern static unsafe void GetMinmaxParameterfvEXT(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [OutAttribute] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMinmaxParameteriv", ExactSpelling = true)] + internal extern static unsafe void GetMinmaxParameteriv(OpenTK.Graphics.OpenGL.MinmaxTarget target, OpenTK.Graphics.OpenGL.GetMinmaxParameterPName pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMinmaxParameterivEXT", ExactSpelling = true)] + internal extern static unsafe void GetMinmaxParameterivEXT(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMultisamplefv", ExactSpelling = true)] + internal extern static unsafe void GetMultisamplefv(OpenTK.Graphics.OpenGL.GetMultisamplePName pname, UInt32 index, [OutAttribute] Single* val); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMultisamplefvNV", ExactSpelling = true)] + internal extern static unsafe void GetMultisamplefvNV(OpenTK.Graphics.OpenGL.NvExplicitMultisample pname, UInt32 index, [OutAttribute] Single* val); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMultiTexEnvfvEXT", ExactSpelling = true)] + internal extern static unsafe void GetMultiTexEnvfvEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, [OutAttribute] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMultiTexEnvivEXT", ExactSpelling = true)] + internal extern static unsafe void GetMultiTexEnvivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMultiTexGendvEXT", ExactSpelling = true)] + internal extern static unsafe void GetMultiTexGendvEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] Double* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMultiTexGenfvEXT", ExactSpelling = true)] + internal extern static unsafe void GetMultiTexGenfvEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMultiTexGenivEXT", ExactSpelling = true)] + internal extern static unsafe void GetMultiTexGenivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMultiTexImageEXT", ExactSpelling = true)] + internal extern static void GetMultiTexImageEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr pixels); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMultiTexLevelParameterfvEXT", ExactSpelling = true)] + internal extern static unsafe void GetMultiTexLevelParameterfvEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMultiTexLevelParameterivEXT", ExactSpelling = true)] + internal extern static unsafe void GetMultiTexLevelParameterivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMultiTexParameterfvEXT", ExactSpelling = true)] + internal extern static unsafe void GetMultiTexParameterfvEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMultiTexParameterIivEXT", ExactSpelling = true)] + internal extern static unsafe void GetMultiTexParameterIivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMultiTexParameterIuivEXT", ExactSpelling = true)] + internal extern static unsafe void GetMultiTexParameterIuivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] UInt32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMultiTexParameterivEXT", ExactSpelling = true)] + internal extern static unsafe void GetMultiTexParameterivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetNamedBufferParameterivEXT", ExactSpelling = true)] + internal extern static unsafe void GetNamedBufferParameterivEXT(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetNamedBufferParameterui64vNV", ExactSpelling = true)] + internal extern static unsafe void GetNamedBufferParameterui64vNV(UInt32 buffer, OpenTK.Graphics.OpenGL.NvShaderBufferLoad pname, [OutAttribute] UInt64* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetNamedBufferPointervEXT", ExactSpelling = true)] + internal extern static void GetNamedBufferPointervEXT(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] IntPtr @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetNamedBufferSubDataEXT", ExactSpelling = true)] + internal extern static void GetNamedBufferSubDataEXT(UInt32 buffer, IntPtr offset, IntPtr size, [OutAttribute] IntPtr data); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetNamedFramebufferAttachmentParameterivEXT", ExactSpelling = true)] + internal extern static unsafe void GetNamedFramebufferAttachmentParameterivEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetNamedProgramivEXT", ExactSpelling = true)] + internal extern static unsafe void GetNamedProgramivEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetNamedProgramLocalParameterdvEXT", ExactSpelling = true)] + internal extern static unsafe void GetNamedProgramLocalParameterdvEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] Double* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetNamedProgramLocalParameterfvEXT", ExactSpelling = true)] + internal extern static unsafe void GetNamedProgramLocalParameterfvEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetNamedProgramLocalParameterIivEXT", ExactSpelling = true)] + internal extern static unsafe void GetNamedProgramLocalParameterIivEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetNamedProgramLocalParameterIuivEXT", ExactSpelling = true)] + internal extern static unsafe void GetNamedProgramLocalParameterIuivEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] UInt32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetNamedProgramStringEXT", ExactSpelling = true)] + internal extern static void GetNamedProgramStringEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] IntPtr @string); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetNamedRenderbufferParameterivEXT", ExactSpelling = true)] + internal extern static unsafe void GetNamedRenderbufferParameterivEXT(UInt32 renderbuffer, OpenTK.Graphics.OpenGL.RenderbufferParameterName pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetNamedStringARB", ExactSpelling = true)] + internal extern static unsafe void GetNamedStringARB(Int32 namelen, String name, Int32 bufSize, [OutAttribute] Int32* stringlen, [OutAttribute] StringBuilder @string); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetNamedStringivARB", ExactSpelling = true)] + internal extern static unsafe void GetNamedStringivARB(Int32 namelen, String name, OpenTK.Graphics.OpenGL.ArbShadingLanguageInclude pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetnColorTableARB", ExactSpelling = true)] + internal extern static void GetnColorTableARB(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [OutAttribute] IntPtr table); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetnCompressedTexImageARB", ExactSpelling = true)] + internal extern static void GetnCompressedTexImageARB(OpenTK.Graphics.OpenGL.ArbRobustness target, Int32 lod, Int32 bufSize, [OutAttribute] IntPtr img); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetnConvolutionFilterARB", ExactSpelling = true)] + internal extern static void GetnConvolutionFilterARB(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [OutAttribute] IntPtr image); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetnHistogramARB", ExactSpelling = true)] + internal extern static void GetnHistogramARB(OpenTK.Graphics.OpenGL.ArbRobustness target, bool reset, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [OutAttribute] IntPtr values); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetnMapdvARB", ExactSpelling = true)] + internal extern static unsafe void GetnMapdvARB(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness query, Int32 bufSize, [OutAttribute] Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetnMapfvARB", ExactSpelling = true)] + internal extern static unsafe void GetnMapfvARB(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness query, Int32 bufSize, [OutAttribute] Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetnMapivARB", ExactSpelling = true)] + internal extern static unsafe void GetnMapivARB(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness query, Int32 bufSize, [OutAttribute] Int32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetnMinmaxARB", ExactSpelling = true)] + internal extern static void GetnMinmaxARB(OpenTK.Graphics.OpenGL.ArbRobustness target, bool reset, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [OutAttribute] IntPtr values); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetnPixelMapfvARB", ExactSpelling = true)] + internal extern static unsafe void GetnPixelMapfvARB(OpenTK.Graphics.OpenGL.ArbRobustness map, Int32 bufSize, [OutAttribute] Single* values); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetnPixelMapuivARB", ExactSpelling = true)] + internal extern static unsafe void GetnPixelMapuivARB(OpenTK.Graphics.OpenGL.ArbRobustness map, Int32 bufSize, [OutAttribute] UInt32* values); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetnPixelMapusvARB", ExactSpelling = true)] + internal extern static unsafe void GetnPixelMapusvARB(OpenTK.Graphics.OpenGL.ArbRobustness map, Int32 bufSize, [OutAttribute] UInt16* values); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetnPolygonStippleARB", ExactSpelling = true)] + internal extern static unsafe void GetnPolygonStippleARB(Int32 bufSize, [OutAttribute] Byte* pattern); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetnSeparableFilterARB", ExactSpelling = true)] + internal extern static void GetnSeparableFilterARB(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 rowBufSize, [OutAttribute] IntPtr row, Int32 columnBufSize, [OutAttribute] IntPtr column, [OutAttribute] IntPtr span); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetnTexImageARB", ExactSpelling = true)] + internal extern static void GetnTexImageARB(OpenTK.Graphics.OpenGL.ArbRobustness target, Int32 level, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [OutAttribute] IntPtr img); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetnUniformdvARB", ExactSpelling = true)] + internal extern static unsafe void GetnUniformdvARB(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Double* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetnUniformfvARB", ExactSpelling = true)] + internal extern static unsafe void GetnUniformfvARB(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetnUniformivARB", ExactSpelling = true)] + internal extern static unsafe void GetnUniformivARB(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetnUniformuivARB", ExactSpelling = true)] + internal extern static unsafe void GetnUniformuivARB(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] UInt32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetObjectBufferfvATI", ExactSpelling = true)] + internal extern static unsafe void GetObjectBufferfvATI(UInt32 buffer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetObjectBufferivATI", ExactSpelling = true)] + internal extern static unsafe void GetObjectBufferivATI(UInt32 buffer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetObjectParameterfvARB", ExactSpelling = true)] + internal extern static unsafe void GetObjectParameterfvARB(UInt32 obj, OpenTK.Graphics.OpenGL.ArbShaderObjects pname, [OutAttribute] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetObjectParameterivAPPLE", ExactSpelling = true)] + internal extern static unsafe void GetObjectParameterivAPPLE(OpenTK.Graphics.OpenGL.AppleObjectPurgeable objectType, UInt32 name, OpenTK.Graphics.OpenGL.AppleObjectPurgeable pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetObjectParameterivARB", ExactSpelling = true)] + internal extern static unsafe void GetObjectParameterivARB(UInt32 obj, OpenTK.Graphics.OpenGL.ArbShaderObjects pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetOcclusionQueryivNV", ExactSpelling = true)] + internal extern static unsafe void GetOcclusionQueryivNV(UInt32 id, OpenTK.Graphics.OpenGL.NvOcclusionQuery pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetOcclusionQueryuivNV", ExactSpelling = true)] + internal extern static unsafe void GetOcclusionQueryuivNV(UInt32 id, OpenTK.Graphics.OpenGL.NvOcclusionQuery pname, [OutAttribute] UInt32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPerfMonitorCounterDataAMD", ExactSpelling = true)] + internal extern static unsafe void GetPerfMonitorCounterDataAMD(UInt32 monitor, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, Int32 dataSize, [OutAttribute] UInt32* data, [OutAttribute] Int32* bytesWritten); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPerfMonitorCounterInfoAMD", ExactSpelling = true)] + internal extern static void GetPerfMonitorCounterInfoAMD(UInt32 group, UInt32 counter, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, [OutAttribute] IntPtr data); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPerfMonitorCountersAMD", ExactSpelling = true)] + internal extern static unsafe void GetPerfMonitorCountersAMD(UInt32 group, [OutAttribute] Int32* numCounters, [OutAttribute] Int32* maxActiveCounters, Int32 counterSize, [OutAttribute] UInt32* counters); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPerfMonitorCounterStringAMD", ExactSpelling = true)] + internal extern static unsafe void GetPerfMonitorCounterStringAMD(UInt32 group, UInt32 counter, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder counterString); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPerfMonitorGroupsAMD", ExactSpelling = true)] + internal extern static unsafe void GetPerfMonitorGroupsAMD([OutAttribute] Int32* numGroups, Int32 groupsSize, [OutAttribute] UInt32* groups); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPerfMonitorGroupStringAMD", ExactSpelling = true)] + internal extern static unsafe void GetPerfMonitorGroupStringAMD(UInt32 group, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder groupString); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPixelMapfv", ExactSpelling = true)] + internal extern static unsafe void GetPixelMapfv(OpenTK.Graphics.OpenGL.PixelMap map, [OutAttribute] Single* values); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPixelMapuiv", ExactSpelling = true)] + internal extern static unsafe void GetPixelMapuiv(OpenTK.Graphics.OpenGL.PixelMap map, [OutAttribute] UInt32* values); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPixelMapusv", ExactSpelling = true)] + internal extern static unsafe void GetPixelMapusv(OpenTK.Graphics.OpenGL.PixelMap map, [OutAttribute] UInt16* values); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPixelTexGenParameterfvSGIS", ExactSpelling = true)] + internal extern static unsafe void GetPixelTexGenParameterfvSGIS(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, [OutAttribute] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPixelTexGenParameterivSGIS", ExactSpelling = true)] + internal extern static unsafe void GetPixelTexGenParameterivSGIS(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPointerIndexedvEXT", ExactSpelling = true)] + internal extern static void GetPointerIndexedvEXT(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] IntPtr data); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPointerv", ExactSpelling = true)] + internal extern static void GetPointerv(OpenTK.Graphics.OpenGL.GetPointervPName pname, [OutAttribute] IntPtr @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPointervEXT", ExactSpelling = true)] + internal extern static void GetPointervEXT(OpenTK.Graphics.OpenGL.GetPointervPName pname, [OutAttribute] IntPtr @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPolygonStipple", ExactSpelling = true)] + internal extern static unsafe void GetPolygonStipple([OutAttribute] Byte* mask); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramBinary", ExactSpelling = true)] + internal extern static unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.OpenGL.BinaryFormat* binaryFormat, [OutAttribute] IntPtr binary); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramEnvParameterdvARB", ExactSpelling = true)] + internal extern static unsafe void GetProgramEnvParameterdvARB(OpenTK.Graphics.OpenGL.ArbVertexProgram target, UInt32 index, [OutAttribute] Double* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramEnvParameterfvARB", ExactSpelling = true)] + internal extern static unsafe void GetProgramEnvParameterfvARB(OpenTK.Graphics.OpenGL.ArbVertexProgram target, UInt32 index, [OutAttribute] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramEnvParameterIivNV", ExactSpelling = true)] + internal extern static unsafe void GetProgramEnvParameterIivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramEnvParameterIuivNV", ExactSpelling = true)] + internal extern static unsafe void GetProgramEnvParameterIuivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, [OutAttribute] UInt32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramInfoLog", ExactSpelling = true)] + internal extern static unsafe void GetProgramInfoLog(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramiv", ExactSpelling = true)] + internal extern static unsafe void GetProgramiv(UInt32 program, OpenTK.Graphics.OpenGL.ProgramParameter pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramivARB", ExactSpelling = true)] + internal extern static unsafe void GetProgramivARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramivNV", ExactSpelling = true)] + internal extern static unsafe void GetProgramivNV(UInt32 id, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramLocalParameterdvARB", ExactSpelling = true)] + internal extern static unsafe void GetProgramLocalParameterdvARB(OpenTK.Graphics.OpenGL.ArbVertexProgram target, UInt32 index, [OutAttribute] Double* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramLocalParameterfvARB", ExactSpelling = true)] + internal extern static unsafe void GetProgramLocalParameterfvARB(OpenTK.Graphics.OpenGL.ArbVertexProgram target, UInt32 index, [OutAttribute] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramLocalParameterIivNV", ExactSpelling = true)] + internal extern static unsafe void GetProgramLocalParameterIivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramLocalParameterIuivNV", ExactSpelling = true)] + internal extern static unsafe void GetProgramLocalParameterIuivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, [OutAttribute] UInt32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramNamedParameterdvNV", ExactSpelling = true)] + internal extern static unsafe void GetProgramNamedParameterdvNV(UInt32 id, Int32 len, Byte* name, [OutAttribute] Double* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramNamedParameterfvNV", ExactSpelling = true)] + internal extern static unsafe void GetProgramNamedParameterfvNV(UInt32 id, Int32 len, Byte* name, [OutAttribute] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramParameterdvNV", ExactSpelling = true)] + internal extern static unsafe void GetProgramParameterdvNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] Double* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramParameterfvNV", ExactSpelling = true)] + internal extern static unsafe void GetProgramParameterfvNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramPipelineInfoLog", ExactSpelling = true)] + internal extern static unsafe void GetProgramPipelineInfoLog(UInt32 pipeline, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramPipelineiv", ExactSpelling = true)] + internal extern static unsafe void GetProgramPipelineiv(UInt32 pipeline, OpenTK.Graphics.OpenGL.ProgramPipelineParameter pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramStageiv", ExactSpelling = true)] + internal extern static unsafe void GetProgramStageiv(UInt32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, OpenTK.Graphics.OpenGL.ProgramStageParameter pname, [OutAttribute] Int32* values); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramStringARB", ExactSpelling = true)] + internal extern static void GetProgramStringARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] IntPtr @string); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramStringNV", ExactSpelling = true)] + internal extern static unsafe void GetProgramStringNV(UInt32 id, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] Byte* program); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramSubroutineParameteruivNV", ExactSpelling = true)] + internal extern static unsafe void GetProgramSubroutineParameteruivNV(OpenTK.Graphics.OpenGL.NvGpuProgram5 target, UInt32 index, [OutAttribute] UInt32* param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetQueryIndexediv", ExactSpelling = true)] + internal extern static unsafe void GetQueryIndexediv(OpenTK.Graphics.OpenGL.QueryTarget target, UInt32 index, OpenTK.Graphics.OpenGL.GetQueryParam pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetQueryiv", ExactSpelling = true)] + internal extern static unsafe void GetQueryiv(OpenTK.Graphics.OpenGL.QueryTarget target, OpenTK.Graphics.OpenGL.GetQueryParam pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetQueryivARB", ExactSpelling = true)] + internal extern static unsafe void GetQueryivARB(OpenTK.Graphics.OpenGL.ArbOcclusionQuery target, OpenTK.Graphics.OpenGL.ArbOcclusionQuery pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetQueryObjecti64v", ExactSpelling = true)] + internal extern static unsafe void GetQueryObjecti64v(UInt32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [OutAttribute] Int64* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetQueryObjecti64vEXT", ExactSpelling = true)] + internal extern static unsafe void GetQueryObjecti64vEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtTimerQuery pname, [OutAttribute] Int64* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetQueryObjectiv", ExactSpelling = true)] + internal extern static unsafe void GetQueryObjectiv(UInt32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetQueryObjectivARB", ExactSpelling = true)] + internal extern static unsafe void GetQueryObjectivARB(UInt32 id, OpenTK.Graphics.OpenGL.ArbOcclusionQuery pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetQueryObjectui64v", ExactSpelling = true)] + internal extern static unsafe void GetQueryObjectui64v(UInt32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [OutAttribute] UInt64* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetQueryObjectui64vEXT", ExactSpelling = true)] + internal extern static unsafe void GetQueryObjectui64vEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtTimerQuery pname, [OutAttribute] UInt64* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetQueryObjectuiv", ExactSpelling = true)] + internal extern static unsafe void GetQueryObjectuiv(UInt32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [OutAttribute] UInt32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetQueryObjectuivARB", ExactSpelling = true)] + internal extern static unsafe void GetQueryObjectuivARB(UInt32 id, OpenTK.Graphics.OpenGL.ArbOcclusionQuery pname, [OutAttribute] UInt32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetRenderbufferParameteriv", ExactSpelling = true)] + internal extern static unsafe void GetRenderbufferParameteriv(OpenTK.Graphics.OpenGL.RenderbufferTarget target, OpenTK.Graphics.OpenGL.RenderbufferParameterName pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetRenderbufferParameterivEXT", ExactSpelling = true)] + internal extern static unsafe void GetRenderbufferParameterivEXT(OpenTK.Graphics.OpenGL.RenderbufferTarget target, OpenTK.Graphics.OpenGL.RenderbufferParameterName pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetSamplerParameterfv", ExactSpelling = true)] + internal extern static unsafe void GetSamplerParameterfv(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameter pname, [OutAttribute] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetSamplerParameterIiv", ExactSpelling = true)] + internal extern static unsafe void GetSamplerParameterIiv(UInt32 sampler, OpenTK.Graphics.OpenGL.ArbSamplerObjects pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetSamplerParameterIuiv", ExactSpelling = true)] + internal extern static unsafe void GetSamplerParameterIuiv(UInt32 sampler, OpenTK.Graphics.OpenGL.ArbSamplerObjects pname, [OutAttribute] UInt32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetSamplerParameteriv", ExactSpelling = true)] + internal extern static unsafe void GetSamplerParameteriv(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameter pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetSeparableFilter", ExactSpelling = true)] + internal extern static void GetSeparableFilter(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [OutAttribute] IntPtr column, [OutAttribute] IntPtr span); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetSeparableFilterEXT", ExactSpelling = true)] + internal extern static void GetSeparableFilterEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [OutAttribute] IntPtr column, [OutAttribute] IntPtr span); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetShaderInfoLog", ExactSpelling = true)] + internal extern static unsafe void GetShaderInfoLog(UInt32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetShaderiv", ExactSpelling = true)] + internal extern static unsafe void GetShaderiv(UInt32 shader, OpenTK.Graphics.OpenGL.ShaderParameter pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetShaderPrecisionFormat", ExactSpelling = true)] + internal extern static unsafe void GetShaderPrecisionFormat(OpenTK.Graphics.OpenGL.ShaderType shadertype, OpenTK.Graphics.OpenGL.ShaderPrecisionType precisiontype, [OutAttribute] Int32* range, [OutAttribute] Int32* precision); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetShaderSource", ExactSpelling = true)] + internal extern static unsafe void GetShaderSource(UInt32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetShaderSourceARB", ExactSpelling = true)] + internal extern static unsafe void GetShaderSourceARB(UInt32 obj, Int32 maxLength, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetSharpenTexFuncSGIS", ExactSpelling = true)] + internal extern static unsafe void GetSharpenTexFuncSGIS(OpenTK.Graphics.OpenGL.TextureTarget target, [OutAttribute] Single* points); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetString", ExactSpelling = true)] + internal extern static IntPtr GetString(OpenTK.Graphics.OpenGL.StringName name); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetStringi", ExactSpelling = true)] + internal extern static IntPtr GetStringi(OpenTK.Graphics.OpenGL.StringName name, UInt32 index); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetSubroutineIndex", ExactSpelling = true)] + internal extern static Int32 GetSubroutineIndex(UInt32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, String name); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetSubroutineUniformLocation", ExactSpelling = true)] + internal extern static Int32 GetSubroutineUniformLocation(UInt32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, String name); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetSynciv", ExactSpelling = true)] + internal extern static unsafe void GetSynciv(IntPtr sync, OpenTK.Graphics.OpenGL.ArbSync pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexBumpParameterfvATI", ExactSpelling = true)] + internal extern static unsafe void GetTexBumpParameterfvATI(OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap pname, [OutAttribute] Single* param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexBumpParameterivATI", ExactSpelling = true)] + internal extern static unsafe void GetTexBumpParameterivATI(OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap pname, [OutAttribute] Int32* param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexEnvfv", ExactSpelling = true)] + internal extern static unsafe void GetTexEnvfv(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, [OutAttribute] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexEnviv", ExactSpelling = true)] + internal extern static unsafe void GetTexEnviv(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexFilterFuncSGIS", ExactSpelling = true)] + internal extern static unsafe void GetTexFilterFuncSGIS(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.SgisTextureFilter4 filter, [OutAttribute] Single* weights); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexGendv", ExactSpelling = true)] + internal extern static unsafe void GetTexGendv(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] Double* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexGenfv", ExactSpelling = true)] + internal extern static unsafe void GetTexGenfv(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexGeniv", ExactSpelling = true)] + internal extern static unsafe void GetTexGeniv(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexImage", ExactSpelling = true)] + internal extern static void GetTexImage(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr pixels); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexLevelParameterfv", ExactSpelling = true)] + internal extern static unsafe void GetTexLevelParameterfv(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexLevelParameteriv", ExactSpelling = true)] + internal extern static unsafe void GetTexLevelParameteriv(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexParameterfv", ExactSpelling = true)] + internal extern static unsafe void GetTexParameterfv(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexParameterIiv", ExactSpelling = true)] + internal extern static unsafe void GetTexParameterIiv(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexParameterIivEXT", ExactSpelling = true)] + internal extern static unsafe void GetTexParameterIivEXT(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexParameterIuiv", ExactSpelling = true)] + internal extern static unsafe void GetTexParameterIuiv(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] UInt32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexParameterIuivEXT", ExactSpelling = true)] + internal extern static unsafe void GetTexParameterIuivEXT(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] UInt32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexParameteriv", ExactSpelling = true)] + internal extern static unsafe void GetTexParameteriv(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexParameterPointervAPPLE", ExactSpelling = true)] + internal extern static void GetTexParameterPointervAPPLE(OpenTK.Graphics.OpenGL.AppleTextureRange target, OpenTK.Graphics.OpenGL.AppleTextureRange pname, [OutAttribute] IntPtr @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTextureImageEXT", ExactSpelling = true)] + internal extern static void GetTextureImageEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr pixels); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTextureLevelParameterfvEXT", ExactSpelling = true)] + internal extern static unsafe void GetTextureLevelParameterfvEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTextureLevelParameterivEXT", ExactSpelling = true)] + internal extern static unsafe void GetTextureLevelParameterivEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTextureParameterfvEXT", ExactSpelling = true)] + internal extern static unsafe void GetTextureParameterfvEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTextureParameterIivEXT", ExactSpelling = true)] + internal extern static unsafe void GetTextureParameterIivEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTextureParameterIuivEXT", ExactSpelling = true)] + internal extern static unsafe void GetTextureParameterIuivEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] UInt32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTextureParameterivEXT", ExactSpelling = true)] + internal extern static unsafe void GetTextureParameterivEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTrackMatrixivNV", ExactSpelling = true)] + internal extern static unsafe void GetTrackMatrixivNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 address, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTransformFeedbackVarying", ExactSpelling = true)] + internal extern static unsafe void GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.ActiveAttribType* type, [OutAttribute] StringBuilder name); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTransformFeedbackVaryingEXT", ExactSpelling = true)] + internal extern static unsafe void GetTransformFeedbackVaryingEXT(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.ExtTransformFeedback* type, [OutAttribute] StringBuilder name); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTransformFeedbackVaryingNV", ExactSpelling = true)] + internal extern static unsafe void GetTransformFeedbackVaryingNV(UInt32 program, UInt32 index, [OutAttribute] Int32* location); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetUniformBlockIndex", ExactSpelling = true)] + internal extern static Int32 GetUniformBlockIndex(UInt32 program, String uniformBlockName); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetUniformBufferSizeEXT", ExactSpelling = true)] + internal extern static Int32 GetUniformBufferSizeEXT(UInt32 program, Int32 location); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetUniformdv", ExactSpelling = true)] + internal extern static unsafe void GetUniformdv(UInt32 program, Int32 location, [OutAttribute] Double* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetUniformfv", ExactSpelling = true)] + internal extern static unsafe void GetUniformfv(UInt32 program, Int32 location, [OutAttribute] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetUniformfvARB", ExactSpelling = true)] + internal extern static unsafe void GetUniformfvARB(UInt32 programObj, Int32 location, [OutAttribute] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetUniformi64vNV", ExactSpelling = true)] + internal extern static unsafe void GetUniformi64vNV(UInt32 program, Int32 location, [OutAttribute] Int64* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetUniformIndices", ExactSpelling = true)] + internal extern static unsafe void GetUniformIndices(UInt32 program, Int32 uniformCount, String[] uniformNames, [OutAttribute] UInt32* uniformIndices); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetUniformiv", ExactSpelling = true)] + internal extern static unsafe void GetUniformiv(UInt32 program, Int32 location, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetUniformivARB", ExactSpelling = true)] + internal extern static unsafe void GetUniformivARB(UInt32 programObj, Int32 location, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetUniformLocation", ExactSpelling = true)] + internal extern static Int32 GetUniformLocation(UInt32 program, String name); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetUniformLocationARB", ExactSpelling = true)] + internal extern static Int32 GetUniformLocationARB(UInt32 programObj, String name); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetUniformOffsetEXT", ExactSpelling = true)] + internal extern static IntPtr GetUniformOffsetEXT(UInt32 program, Int32 location); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetUniformSubroutineuiv", ExactSpelling = true)] + internal extern static unsafe void GetUniformSubroutineuiv(OpenTK.Graphics.OpenGL.ShaderType shadertype, Int32 location, [OutAttribute] UInt32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetUniformui64vNV", ExactSpelling = true)] + internal extern static unsafe void GetUniformui64vNV(UInt32 program, Int32 location, [OutAttribute] UInt64* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetUniformuiv", ExactSpelling = true)] + internal extern static unsafe void GetUniformuiv(UInt32 program, Int32 location, [OutAttribute] UInt32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetUniformuivEXT", ExactSpelling = true)] + internal extern static unsafe void GetUniformuivEXT(UInt32 program, Int32 location, [OutAttribute] UInt32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVariantArrayObjectfvATI", ExactSpelling = true)] + internal extern static unsafe void GetVariantArrayObjectfvATI(UInt32 id, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVariantArrayObjectivATI", ExactSpelling = true)] + internal extern static unsafe void GetVariantArrayObjectivATI(UInt32 id, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVariantBooleanvEXT", ExactSpelling = true)] + internal extern static unsafe void GetVariantBooleanvEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] bool* data); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVariantFloatvEXT", ExactSpelling = true)] + internal extern static unsafe void GetVariantFloatvEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Single* data); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVariantIntegervEXT", ExactSpelling = true)] + internal extern static unsafe void GetVariantIntegervEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Int32* data); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVariantPointervEXT", ExactSpelling = true)] + internal extern static void GetVariantPointervEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] IntPtr data); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVaryingLocationNV", ExactSpelling = true)] + internal extern static Int32 GetVaryingLocationNV(UInt32 program, String name); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribArrayObjectfvATI", ExactSpelling = true)] + internal extern static unsafe void GetVertexAttribArrayObjectfvATI(UInt32 index, OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject pname, [OutAttribute] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribArrayObjectivATI", ExactSpelling = true)] + internal extern static unsafe void GetVertexAttribArrayObjectivATI(UInt32 index, OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribdv", ExactSpelling = true)] + internal extern static unsafe void GetVertexAttribdv(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Double* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribdvARB", ExactSpelling = true)] + internal extern static unsafe void GetVertexAttribdvARB(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] Double* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribdvNV", ExactSpelling = true)] + internal extern static unsafe void GetVertexAttribdvNV(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] Double* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribfv", ExactSpelling = true)] + internal extern static unsafe void GetVertexAttribfv(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribfvARB", ExactSpelling = true)] + internal extern static unsafe void GetVertexAttribfvARB(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribfvNV", ExactSpelling = true)] + internal extern static unsafe void GetVertexAttribfvNV(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribIiv", ExactSpelling = true)] + internal extern static unsafe void GetVertexAttribIiv(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribIivEXT", ExactSpelling = true)] + internal extern static unsafe void GetVertexAttribIivEXT(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram4 pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribIuiv", ExactSpelling = true)] + internal extern static unsafe void GetVertexAttribIuiv(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] UInt32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribIuivEXT", ExactSpelling = true)] + internal extern static unsafe void GetVertexAttribIuivEXT(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram4 pname, [OutAttribute] UInt32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribiv", ExactSpelling = true)] + internal extern static unsafe void GetVertexAttribiv(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribivARB", ExactSpelling = true)] + internal extern static unsafe void GetVertexAttribivARB(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribivNV", ExactSpelling = true)] + internal extern static unsafe void GetVertexAttribivNV(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribLdv", ExactSpelling = true)] + internal extern static unsafe void GetVertexAttribLdv(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Double* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribLdvEXT", ExactSpelling = true)] + internal extern static unsafe void GetVertexAttribLdvEXT(UInt32 index, OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit pname, [OutAttribute] Double* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribLi64vNV", ExactSpelling = true)] + internal extern static unsafe void GetVertexAttribLi64vNV(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit pname, [OutAttribute] Int64* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribLui64vNV", ExactSpelling = true)] + internal extern static unsafe void GetVertexAttribLui64vNV(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit pname, [OutAttribute] UInt64* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribPointerv", ExactSpelling = true)] + internal extern static void GetVertexAttribPointerv(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameter pname, [OutAttribute] IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribPointervARB", ExactSpelling = true)] + internal extern static void GetVertexAttribPointervARB(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb pname, [OutAttribute] IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribPointervNV", ExactSpelling = true)] + internal extern static void GetVertexAttribPointervNV(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVideoCaptureivNV", ExactSpelling = true)] + internal extern static unsafe void GetVideoCaptureivNV(UInt32 video_capture_slot, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVideoCaptureStreamdvNV", ExactSpelling = true)] + internal extern static unsafe void GetVideoCaptureStreamdvNV(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] Double* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVideoCaptureStreamfvNV", ExactSpelling = true)] + internal extern static unsafe void GetVideoCaptureStreamfvNV(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVideoCaptureStreamivNV", ExactSpelling = true)] + internal extern static unsafe void GetVideoCaptureStreamivNV(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVideoi64vNV", ExactSpelling = true)] + internal extern static unsafe void GetVideoi64vNV(UInt32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] Int64* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVideoivNV", ExactSpelling = true)] + internal extern static unsafe void GetVideoivNV(UInt32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVideoui64vNV", ExactSpelling = true)] + internal extern static unsafe void GetVideoui64vNV(UInt32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] UInt64* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVideouivNV", ExactSpelling = true)] + internal extern static unsafe void GetVideouivNV(UInt32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] UInt32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGlobalAlphaFactorbSUN", ExactSpelling = true)] + internal extern static void GlobalAlphaFactorbSUN(SByte factor); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGlobalAlphaFactordSUN", ExactSpelling = true)] + internal extern static void GlobalAlphaFactordSUN(Double factor); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGlobalAlphaFactorfSUN", ExactSpelling = true)] + internal extern static void GlobalAlphaFactorfSUN(Single factor); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGlobalAlphaFactoriSUN", ExactSpelling = true)] + internal extern static void GlobalAlphaFactoriSUN(Int32 factor); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGlobalAlphaFactorsSUN", ExactSpelling = true)] + internal extern static void GlobalAlphaFactorsSUN(Int16 factor); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGlobalAlphaFactorubSUN", ExactSpelling = true)] + internal extern static void GlobalAlphaFactorubSUN(Byte factor); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGlobalAlphaFactoruiSUN", ExactSpelling = true)] + internal extern static void GlobalAlphaFactoruiSUN(UInt32 factor); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGlobalAlphaFactorusSUN", ExactSpelling = true)] + internal extern static void GlobalAlphaFactorusSUN(UInt16 factor); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glHint", ExactSpelling = true)] + internal extern static void Hint(OpenTK.Graphics.OpenGL.HintTarget target, OpenTK.Graphics.OpenGL.HintMode mode); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glHintPGI", ExactSpelling = true)] + internal extern static void HintPGI(OpenTK.Graphics.OpenGL.PgiMiscHints target, Int32 mode); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glHistogram", ExactSpelling = true)] + internal extern static void Histogram(OpenTK.Graphics.OpenGL.HistogramTarget target, Int32 width, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, bool sink); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glHistogramEXT", ExactSpelling = true)] + internal extern static void HistogramEXT(OpenTK.Graphics.OpenGL.ExtHistogram target, Int32 width, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, bool sink); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIglooInterfaceSGIX", ExactSpelling = true)] + internal extern static void IglooInterfaceSGIX(OpenTK.Graphics.OpenGL.All pname, IntPtr @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glImageTransformParameterfHP", ExactSpelling = true)] + internal extern static void ImageTransformParameterfHP(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, Single param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glImageTransformParameterfvHP", ExactSpelling = true)] + internal extern static unsafe void ImageTransformParameterfvHP(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glImageTransformParameteriHP", ExactSpelling = true)] + internal extern static void ImageTransformParameteriHP(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, Int32 param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glImageTransformParameterivHP", ExactSpelling = true)] + internal extern static unsafe void ImageTransformParameterivHP(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glImportSyncEXT", ExactSpelling = true)] + internal extern static IntPtr ImportSyncEXT(OpenTK.Graphics.OpenGL.ExtX11SyncObject external_sync_type, IntPtr external_sync, UInt32 flags); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIndexd", ExactSpelling = true)] + internal extern static void Indexd(Double c); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIndexdv", ExactSpelling = true)] + internal extern static unsafe void Indexdv(Double* c); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIndexf", ExactSpelling = true)] + internal extern static void Indexf(Single c); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIndexFormatNV", ExactSpelling = true)] + internal extern static void IndexFormatNV(OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIndexFuncEXT", ExactSpelling = true)] + internal extern static void IndexFuncEXT(OpenTK.Graphics.OpenGL.ExtIndexFunc func, Single @ref); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIndexfv", ExactSpelling = true)] + internal extern static unsafe void Indexfv(Single* c); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIndexi", ExactSpelling = true)] + internal extern static void Indexi(Int32 c); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIndexiv", ExactSpelling = true)] + internal extern static unsafe void Indexiv(Int32* c); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIndexMask", ExactSpelling = true)] + internal extern static void IndexMask(UInt32 mask); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIndexMaterialEXT", ExactSpelling = true)] + internal extern static void IndexMaterialEXT(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.ExtIndexMaterial mode); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIndexPointer", ExactSpelling = true)] + internal extern static void IndexPointer(OpenTK.Graphics.OpenGL.IndexPointerType type, Int32 stride, IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIndexPointerEXT", ExactSpelling = true)] + internal extern static void IndexPointerEXT(OpenTK.Graphics.OpenGL.IndexPointerType type, Int32 stride, Int32 count, IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIndexPointerListIBM", ExactSpelling = true)] + internal extern static void IndexPointerListIBM(OpenTK.Graphics.OpenGL.IndexPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIndexs", ExactSpelling = true)] + internal extern static void Indexs(Int16 c); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIndexsv", ExactSpelling = true)] + internal extern static unsafe void Indexsv(Int16* c); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIndexub", ExactSpelling = true)] + internal extern static void Indexub(Byte c); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIndexubv", ExactSpelling = true)] + internal extern static unsafe void Indexubv(Byte* c); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glInitNames", ExactSpelling = true)] + internal extern static void InitNames(); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glInsertComponentEXT", ExactSpelling = true)] + internal extern static void InsertComponentEXT(UInt32 res, UInt32 src, UInt32 num); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glInstrumentsBufferSGIX", ExactSpelling = true)] + internal extern static unsafe void InstrumentsBufferSGIX(Int32 size, [OutAttribute] Int32* buffer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glInterleavedArrays", ExactSpelling = true)] + internal extern static void InterleavedArrays(OpenTK.Graphics.OpenGL.InterleavedArrayFormat format, Int32 stride, IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsAsyncMarkerSGIX", ExactSpelling = true)] + internal extern static bool IsAsyncMarkerSGIX(UInt32 marker); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsBuffer", ExactSpelling = true)] + internal extern static bool IsBuffer(UInt32 buffer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsBufferARB", ExactSpelling = true)] + internal extern static bool IsBufferARB(UInt32 buffer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsBufferResidentNV", ExactSpelling = true)] + internal extern static bool IsBufferResidentNV(OpenTK.Graphics.OpenGL.NvShaderBufferLoad target); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsEnabled", ExactSpelling = true)] + internal extern static bool IsEnabled(OpenTK.Graphics.OpenGL.EnableCap cap); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsEnabledi", ExactSpelling = true)] + internal extern static bool IsEnabledi(OpenTK.Graphics.OpenGL.IndexedEnableCap target, UInt32 index); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsEnabledIndexedEXT", ExactSpelling = true)] + internal extern static bool IsEnabledIndexedEXT(OpenTK.Graphics.OpenGL.IndexedEnableCap target, UInt32 index); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsFenceAPPLE", ExactSpelling = true)] + internal extern static bool IsFenceAPPLE(UInt32 fence); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsFenceNV", ExactSpelling = true)] + internal extern static bool IsFenceNV(UInt32 fence); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsFramebuffer", ExactSpelling = true)] + internal extern static bool IsFramebuffer(UInt32 framebuffer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsFramebufferEXT", ExactSpelling = true)] + internal extern static bool IsFramebufferEXT(UInt32 framebuffer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsList", ExactSpelling = true)] + internal extern static bool IsList(UInt32 list); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsNameAMD", ExactSpelling = true)] + internal extern static bool IsNameAMD(OpenTK.Graphics.OpenGL.AmdNameGenDelete identifier, UInt32 name); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsNamedBufferResidentNV", ExactSpelling = true)] + internal extern static bool IsNamedBufferResidentNV(UInt32 buffer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsNamedStringARB", ExactSpelling = true)] + internal extern static bool IsNamedStringARB(Int32 namelen, String name); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsObjectBufferATI", ExactSpelling = true)] + internal extern static bool IsObjectBufferATI(UInt32 buffer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsOcclusionQueryNV", ExactSpelling = true)] + internal extern static bool IsOcclusionQueryNV(UInt32 id); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsProgram", ExactSpelling = true)] + internal extern static bool IsProgram(UInt32 program); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsProgramARB", ExactSpelling = true)] + internal extern static bool IsProgramARB(UInt32 program); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsProgramNV", ExactSpelling = true)] + internal extern static bool IsProgramNV(UInt32 id); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsProgramPipeline", ExactSpelling = true)] + internal extern static bool IsProgramPipeline(UInt32 pipeline); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsQuery", ExactSpelling = true)] + internal extern static bool IsQuery(UInt32 id); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsQueryARB", ExactSpelling = true)] + internal extern static bool IsQueryARB(UInt32 id); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsRenderbuffer", ExactSpelling = true)] + internal extern static bool IsRenderbuffer(UInt32 renderbuffer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsRenderbufferEXT", ExactSpelling = true)] + internal extern static bool IsRenderbufferEXT(UInt32 renderbuffer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsSampler", ExactSpelling = true)] + internal extern static bool IsSampler(UInt32 sampler); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsShader", ExactSpelling = true)] + internal extern static bool IsShader(UInt32 shader); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsSync", ExactSpelling = true)] + internal extern static bool IsSync(IntPtr sync); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsTexture", ExactSpelling = true)] + internal extern static bool IsTexture(UInt32 texture); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsTextureEXT", ExactSpelling = true)] + internal extern static bool IsTextureEXT(UInt32 texture); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsTransformFeedback", ExactSpelling = true)] + internal extern static bool IsTransformFeedback(UInt32 id); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsTransformFeedbackNV", ExactSpelling = true)] + internal extern static bool IsTransformFeedbackNV(UInt32 id); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsVariantEnabledEXT", ExactSpelling = true)] + internal extern static bool IsVariantEnabledEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader cap); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsVertexArray", ExactSpelling = true)] + internal extern static bool IsVertexArray(UInt32 array); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsVertexArrayAPPLE", ExactSpelling = true)] + internal extern static bool IsVertexArrayAPPLE(UInt32 array); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsVertexAttribEnabledAPPLE", ExactSpelling = true)] + internal extern static bool IsVertexAttribEnabledAPPLE(UInt32 index, OpenTK.Graphics.OpenGL.AppleVertexProgramEvaluators pname); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLightEnviSGIX", ExactSpelling = true)] + internal extern static void LightEnviSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Int32 param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLightf", ExactSpelling = true)] + internal extern static void Lightf(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, Single param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLightfv", ExactSpelling = true)] + internal extern static unsafe void Lightfv(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLighti", ExactSpelling = true)] + internal extern static void Lighti(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, Int32 param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLightiv", ExactSpelling = true)] + internal extern static unsafe void Lightiv(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLightModelf", ExactSpelling = true)] + internal extern static void LightModelf(OpenTK.Graphics.OpenGL.LightModelParameter pname, Single param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLightModelfv", ExactSpelling = true)] + internal extern static unsafe void LightModelfv(OpenTK.Graphics.OpenGL.LightModelParameter pname, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLightModeli", ExactSpelling = true)] + internal extern static void LightModeli(OpenTK.Graphics.OpenGL.LightModelParameter pname, Int32 param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLightModeliv", ExactSpelling = true)] + internal extern static unsafe void LightModeliv(OpenTK.Graphics.OpenGL.LightModelParameter pname, Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLineStipple", ExactSpelling = true)] + internal extern static void LineStipple(Int32 factor, UInt16 pattern); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLineWidth", ExactSpelling = true)] + internal extern static void LineWidth(Single width); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLinkProgram", ExactSpelling = true)] + internal extern static void LinkProgram(UInt32 program); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLinkProgramARB", ExactSpelling = true)] + internal extern static void LinkProgramARB(UInt32 programObj); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glListBase", ExactSpelling = true)] + internal extern static void ListBase(UInt32 @base); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glListParameterfSGIX", ExactSpelling = true)] + internal extern static void ListParameterfSGIX(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, Single param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glListParameterfvSGIX", ExactSpelling = true)] + internal extern static unsafe void ListParameterfvSGIX(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glListParameteriSGIX", ExactSpelling = true)] + internal extern static void ListParameteriSGIX(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, Int32 param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glListParameterivSGIX", ExactSpelling = true)] + internal extern static unsafe void ListParameterivSGIX(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLoadIdentity", ExactSpelling = true)] + internal extern static void LoadIdentity(); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLoadIdentityDeformationMapSGIX", ExactSpelling = true)] + internal extern static void LoadIdentityDeformationMapSGIX(UInt32 mask); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLoadMatrixd", ExactSpelling = true)] + internal extern static unsafe void LoadMatrixd(Double* m); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLoadMatrixf", ExactSpelling = true)] + internal extern static unsafe void LoadMatrixf(Single* m); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLoadName", ExactSpelling = true)] + internal extern static void LoadName(UInt32 name); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLoadProgramNV", ExactSpelling = true)] + internal extern static unsafe void LoadProgramNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 id, Int32 len, Byte* program); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLoadTransposeMatrixd", ExactSpelling = true)] + internal extern static unsafe void LoadTransposeMatrixd(Double* m); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLoadTransposeMatrixdARB", ExactSpelling = true)] + internal extern static unsafe void LoadTransposeMatrixdARB(Double* m); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLoadTransposeMatrixf", ExactSpelling = true)] + internal extern static unsafe void LoadTransposeMatrixf(Single* m); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLoadTransposeMatrixfARB", ExactSpelling = true)] + internal extern static unsafe void LoadTransposeMatrixfARB(Single* m); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLockArraysEXT", ExactSpelling = true)] + internal extern static void LockArraysEXT(Int32 first, Int32 count); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLogicOp", ExactSpelling = true)] + internal extern static void LogicOp(OpenTK.Graphics.OpenGL.LogicOp opcode); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMakeBufferNonResidentNV", ExactSpelling = true)] + internal extern static void MakeBufferNonResidentNV(OpenTK.Graphics.OpenGL.NvShaderBufferLoad target); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMakeBufferResidentNV", ExactSpelling = true)] + internal extern static void MakeBufferResidentNV(OpenTK.Graphics.OpenGL.NvShaderBufferLoad target, OpenTK.Graphics.OpenGL.NvShaderBufferLoad access); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMakeNamedBufferNonResidentNV", ExactSpelling = true)] + internal extern static void MakeNamedBufferNonResidentNV(UInt32 buffer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMakeNamedBufferResidentNV", ExactSpelling = true)] + internal extern static void MakeNamedBufferResidentNV(UInt32 buffer, OpenTK.Graphics.OpenGL.NvShaderBufferLoad access); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMap1d", ExactSpelling = true)] + internal extern static unsafe void Map1d(OpenTK.Graphics.OpenGL.MapTarget target, Double u1, Double u2, Int32 stride, Int32 order, Double* points); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMap1f", ExactSpelling = true)] + internal extern static unsafe void Map1f(OpenTK.Graphics.OpenGL.MapTarget target, Single u1, Single u2, Int32 stride, Int32 order, Single* points); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMap2d", ExactSpelling = true)] + internal extern static unsafe void Map2d(OpenTK.Graphics.OpenGL.MapTarget target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double* points); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMap2f", ExactSpelling = true)] + internal extern static unsafe void Map2f(OpenTK.Graphics.OpenGL.MapTarget target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single* points); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMapBuffer", ExactSpelling = true)] + internal extern static unsafe IntPtr MapBuffer(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferAccess access); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMapBufferARB", ExactSpelling = true)] + internal extern static unsafe IntPtr MapBufferARB(OpenTK.Graphics.OpenGL.BufferTargetArb target, OpenTK.Graphics.OpenGL.ArbVertexBufferObject access); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMapBufferRange", ExactSpelling = true)] + internal extern static unsafe IntPtr MapBufferRange(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr length, OpenTK.Graphics.OpenGL.BufferAccessMask access); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMapControlPointsNV", ExactSpelling = true)] + internal extern static void MapControlPointsNV(OpenTK.Graphics.OpenGL.NvEvaluators target, UInt32 index, OpenTK.Graphics.OpenGL.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, IntPtr points); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMapGrid1d", ExactSpelling = true)] + internal extern static void MapGrid1d(Int32 un, Double u1, Double u2); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMapGrid1f", ExactSpelling = true)] + internal extern static void MapGrid1f(Int32 un, Single u1, Single u2); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMapGrid2d", ExactSpelling = true)] + internal extern static void MapGrid2d(Int32 un, Double u1, Double u2, Int32 vn, Double v1, Double v2); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMapGrid2f", ExactSpelling = true)] + internal extern static void MapGrid2f(Int32 un, Single u1, Single u2, Int32 vn, Single v1, Single v2); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMapNamedBufferEXT", ExactSpelling = true)] + internal extern static unsafe IntPtr MapNamedBufferEXT(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess access); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMapNamedBufferRangeEXT", ExactSpelling = true)] + internal extern static unsafe IntPtr MapNamedBufferRangeEXT(UInt32 buffer, IntPtr offset, IntPtr length, OpenTK.Graphics.OpenGL.BufferAccessMask access); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMapObjectBufferATI", ExactSpelling = true)] + internal extern static unsafe IntPtr MapObjectBufferATI(UInt32 buffer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMapParameterfvNV", ExactSpelling = true)] + internal extern static unsafe void MapParameterfvNV(OpenTK.Graphics.OpenGL.NvEvaluators target, OpenTK.Graphics.OpenGL.NvEvaluators pname, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMapParameterivNV", ExactSpelling = true)] + internal extern static unsafe void MapParameterivNV(OpenTK.Graphics.OpenGL.NvEvaluators target, OpenTK.Graphics.OpenGL.NvEvaluators pname, Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMapVertexAttrib1dAPPLE", ExactSpelling = true)] + internal extern static unsafe void MapVertexAttrib1dAPPLE(UInt32 index, UInt32 size, Double u1, Double u2, Int32 stride, Int32 order, Double* points); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMapVertexAttrib1fAPPLE", ExactSpelling = true)] + internal extern static unsafe void MapVertexAttrib1fAPPLE(UInt32 index, UInt32 size, Single u1, Single u2, Int32 stride, Int32 order, Single* points); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMapVertexAttrib2dAPPLE", ExactSpelling = true)] + internal extern static unsafe void MapVertexAttrib2dAPPLE(UInt32 index, UInt32 size, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double* points); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMapVertexAttrib2fAPPLE", ExactSpelling = true)] + internal extern static unsafe void MapVertexAttrib2fAPPLE(UInt32 index, UInt32 size, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single* points); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMaterialf", ExactSpelling = true)] + internal extern static void Materialf(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Single param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMaterialfv", ExactSpelling = true)] + internal extern static unsafe void Materialfv(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMateriali", ExactSpelling = true)] + internal extern static void Materiali(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Int32 param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMaterialiv", ExactSpelling = true)] + internal extern static unsafe void Materialiv(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixFrustumEXT", ExactSpelling = true)] + internal extern static void MatrixFrustumEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Double left, Double right, Double bottom, Double top, Double zNear, Double zFar); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixIndexPointerARB", ExactSpelling = true)] + internal extern static void MatrixIndexPointerARB(Int32 size, OpenTK.Graphics.OpenGL.ArbMatrixPalette type, Int32 stride, IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixIndexubvARB", ExactSpelling = true)] + internal extern static unsafe void MatrixIndexubvARB(Int32 size, Byte* indices); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixIndexuivARB", ExactSpelling = true)] + internal extern static unsafe void MatrixIndexuivARB(Int32 size, UInt32* indices); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixIndexusvARB", ExactSpelling = true)] + internal extern static unsafe void MatrixIndexusvARB(Int32 size, UInt16* indices); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixLoaddEXT", ExactSpelling = true)] + internal extern static unsafe void MatrixLoaddEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Double* m); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixLoadfEXT", ExactSpelling = true)] + internal extern static unsafe void MatrixLoadfEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Single* m); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixLoadIdentityEXT", ExactSpelling = true)] + internal extern static void MatrixLoadIdentityEXT(OpenTK.Graphics.OpenGL.MatrixMode mode); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixLoadTransposedEXT", ExactSpelling = true)] + internal extern static unsafe void MatrixLoadTransposedEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Double* m); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixLoadTransposefEXT", ExactSpelling = true)] + internal extern static unsafe void MatrixLoadTransposefEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Single* m); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixMode", ExactSpelling = true)] + internal extern static void MatrixMode(OpenTK.Graphics.OpenGL.MatrixMode mode); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixMultdEXT", ExactSpelling = true)] + internal extern static unsafe void MatrixMultdEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Double* m); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixMultfEXT", ExactSpelling = true)] + internal extern static unsafe void MatrixMultfEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Single* m); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixMultTransposedEXT", ExactSpelling = true)] + internal extern static unsafe void MatrixMultTransposedEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Double* m); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixMultTransposefEXT", ExactSpelling = true)] + internal extern static unsafe void MatrixMultTransposefEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Single* m); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixOrthoEXT", ExactSpelling = true)] + internal extern static void MatrixOrthoEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Double left, Double right, Double bottom, Double top, Double zNear, Double zFar); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixPopEXT", ExactSpelling = true)] + internal extern static void MatrixPopEXT(OpenTK.Graphics.OpenGL.MatrixMode mode); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixPushEXT", ExactSpelling = true)] + internal extern static void MatrixPushEXT(OpenTK.Graphics.OpenGL.MatrixMode mode); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixRotatedEXT", ExactSpelling = true)] + internal extern static void MatrixRotatedEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Double angle, Double x, Double y, Double z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixRotatefEXT", ExactSpelling = true)] + internal extern static void MatrixRotatefEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Single angle, Single x, Single y, Single z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixScaledEXT", ExactSpelling = true)] + internal extern static void MatrixScaledEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Double x, Double y, Double z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixScalefEXT", ExactSpelling = true)] + internal extern static void MatrixScalefEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Single x, Single y, Single z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixTranslatedEXT", ExactSpelling = true)] + internal extern static void MatrixTranslatedEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Double x, Double y, Double z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixTranslatefEXT", ExactSpelling = true)] + internal extern static void MatrixTranslatefEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Single x, Single y, Single z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMemoryBarrierEXT", ExactSpelling = true)] + internal extern static void MemoryBarrierEXT(UInt32 barriers); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMinmax", ExactSpelling = true)] + internal extern static void Minmax(OpenTK.Graphics.OpenGL.MinmaxTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, bool sink); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMinmaxEXT", ExactSpelling = true)] + internal extern static void MinmaxEXT(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, bool sink); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMinSampleShading", ExactSpelling = true)] + internal extern static void MinSampleShading(Single value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMinSampleShadingARB", ExactSpelling = true)] + internal extern static void MinSampleShadingARB(Single value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiDrawArrays", ExactSpelling = true)] + internal extern static unsafe void MultiDrawArrays(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* first, Int32* count, Int32 primcount); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiDrawArraysEXT", ExactSpelling = true)] + internal extern static unsafe void MultiDrawArraysEXT(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* first, Int32* count, Int32 primcount); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiDrawArraysIndirectAMD", ExactSpelling = true)] + internal extern static void MultiDrawArraysIndirectAMD(OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect mode, IntPtr indirect, Int32 primcount, Int32 stride); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiDrawElementArrayAPPLE", ExactSpelling = true)] + internal extern static unsafe void MultiDrawElementArrayAPPLE(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* first, Int32* count, Int32 primcount); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiDrawElements", ExactSpelling = true)] + internal extern static unsafe void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiDrawElementsBaseVertex", ExactSpelling = true)] + internal extern static unsafe void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount, Int32* basevertex); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiDrawElementsEXT", ExactSpelling = true)] + internal extern static unsafe void MultiDrawElementsEXT(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiDrawElementsIndirectAMD", ExactSpelling = true)] + internal extern static void MultiDrawElementsIndirectAMD(OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect mode, OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect type, IntPtr indirect, Int32 primcount, Int32 stride); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiDrawRangeElementArrayAPPLE", ExactSpelling = true)] + internal extern static unsafe void MultiDrawRangeElementArrayAPPLE(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32* first, Int32* count, Int32 primcount); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiModeDrawArraysIBM", ExactSpelling = true)] + internal extern static unsafe void MultiModeDrawArraysIBM(OpenTK.Graphics.OpenGL.BeginMode* mode, Int32* first, Int32* count, Int32 primcount, Int32 modestride); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiModeDrawElementsIBM", ExactSpelling = true)] + internal extern static unsafe void MultiModeDrawElementsIBM(OpenTK.Graphics.OpenGL.BeginMode* mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount, Int32 modestride); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexBufferEXT", ExactSpelling = true)] + internal extern static void MultiTexBufferEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, UInt32 buffer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord1d", ExactSpelling = true)] + internal extern static void MultiTexCoord1d(OpenTK.Graphics.OpenGL.TextureUnit target, Double s); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord1dARB", ExactSpelling = true)] + internal extern static void MultiTexCoord1dARB(OpenTK.Graphics.OpenGL.TextureUnit target, Double s); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord1dv", ExactSpelling = true)] + internal extern static unsafe void MultiTexCoord1dv(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord1dvARB", ExactSpelling = true)] + internal extern static unsafe void MultiTexCoord1dvARB(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord1f", ExactSpelling = true)] + internal extern static void MultiTexCoord1f(OpenTK.Graphics.OpenGL.TextureUnit target, Single s); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord1fARB", ExactSpelling = true)] + internal extern static void MultiTexCoord1fARB(OpenTK.Graphics.OpenGL.TextureUnit target, Single s); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord1fv", ExactSpelling = true)] + internal extern static unsafe void MultiTexCoord1fv(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord1fvARB", ExactSpelling = true)] + internal extern static unsafe void MultiTexCoord1fvARB(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord1hNV", ExactSpelling = true)] + internal extern static void MultiTexCoord1hNV(OpenTK.Graphics.OpenGL.TextureUnit target, Half s); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord1hvNV", ExactSpelling = true)] + internal extern static unsafe void MultiTexCoord1hvNV(OpenTK.Graphics.OpenGL.TextureUnit target, Half* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord1i", ExactSpelling = true)] + internal extern static void MultiTexCoord1i(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord1iARB", ExactSpelling = true)] + internal extern static void MultiTexCoord1iARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord1iv", ExactSpelling = true)] + internal extern static unsafe void MultiTexCoord1iv(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord1ivARB", ExactSpelling = true)] + internal extern static unsafe void MultiTexCoord1ivARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord1s", ExactSpelling = true)] + internal extern static void MultiTexCoord1s(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord1sARB", ExactSpelling = true)] + internal extern static void MultiTexCoord1sARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord1sv", ExactSpelling = true)] + internal extern static unsafe void MultiTexCoord1sv(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord1svARB", ExactSpelling = true)] + internal extern static unsafe void MultiTexCoord1svARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord2d", ExactSpelling = true)] + internal extern static void MultiTexCoord2d(OpenTK.Graphics.OpenGL.TextureUnit target, Double s, Double t); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord2dARB", ExactSpelling = true)] + internal extern static void MultiTexCoord2dARB(OpenTK.Graphics.OpenGL.TextureUnit target, Double s, Double t); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord2dv", ExactSpelling = true)] + internal extern static unsafe void MultiTexCoord2dv(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord2dvARB", ExactSpelling = true)] + internal extern static unsafe void MultiTexCoord2dvARB(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord2f", ExactSpelling = true)] + internal extern static void MultiTexCoord2f(OpenTK.Graphics.OpenGL.TextureUnit target, Single s, Single t); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord2fARB", ExactSpelling = true)] + internal extern static void MultiTexCoord2fARB(OpenTK.Graphics.OpenGL.TextureUnit target, Single s, Single t); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord2fv", ExactSpelling = true)] + internal extern static unsafe void MultiTexCoord2fv(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord2fvARB", ExactSpelling = true)] + internal extern static unsafe void MultiTexCoord2fvARB(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord2hNV", ExactSpelling = true)] + internal extern static void MultiTexCoord2hNV(OpenTK.Graphics.OpenGL.TextureUnit target, Half s, Half t); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord2hvNV", ExactSpelling = true)] + internal extern static unsafe void MultiTexCoord2hvNV(OpenTK.Graphics.OpenGL.TextureUnit target, Half* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord2i", ExactSpelling = true)] + internal extern static void MultiTexCoord2i(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s, Int32 t); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord2iARB", ExactSpelling = true)] + internal extern static void MultiTexCoord2iARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s, Int32 t); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord2iv", ExactSpelling = true)] + internal extern static unsafe void MultiTexCoord2iv(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord2ivARB", ExactSpelling = true)] + internal extern static unsafe void MultiTexCoord2ivARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord2s", ExactSpelling = true)] + internal extern static void MultiTexCoord2s(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s, Int16 t); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord2sARB", ExactSpelling = true)] + internal extern static void MultiTexCoord2sARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s, Int16 t); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord2sv", ExactSpelling = true)] + internal extern static unsafe void MultiTexCoord2sv(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord2svARB", ExactSpelling = true)] + internal extern static unsafe void MultiTexCoord2svARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord3d", ExactSpelling = true)] + internal extern static void MultiTexCoord3d(OpenTK.Graphics.OpenGL.TextureUnit target, Double s, Double t, Double r); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord3dARB", ExactSpelling = true)] + internal extern static void MultiTexCoord3dARB(OpenTK.Graphics.OpenGL.TextureUnit target, Double s, Double t, Double r); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord3dv", ExactSpelling = true)] + internal extern static unsafe void MultiTexCoord3dv(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord3dvARB", ExactSpelling = true)] + internal extern static unsafe void MultiTexCoord3dvARB(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord3f", ExactSpelling = true)] + internal extern static void MultiTexCoord3f(OpenTK.Graphics.OpenGL.TextureUnit target, Single s, Single t, Single r); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord3fARB", ExactSpelling = true)] + internal extern static void MultiTexCoord3fARB(OpenTK.Graphics.OpenGL.TextureUnit target, Single s, Single t, Single r); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord3fv", ExactSpelling = true)] + internal extern static unsafe void MultiTexCoord3fv(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord3fvARB", ExactSpelling = true)] + internal extern static unsafe void MultiTexCoord3fvARB(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord3hNV", ExactSpelling = true)] + internal extern static void MultiTexCoord3hNV(OpenTK.Graphics.OpenGL.TextureUnit target, Half s, Half t, Half r); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord3hvNV", ExactSpelling = true)] + internal extern static unsafe void MultiTexCoord3hvNV(OpenTK.Graphics.OpenGL.TextureUnit target, Half* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord3i", ExactSpelling = true)] + internal extern static void MultiTexCoord3i(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s, Int32 t, Int32 r); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord3iARB", ExactSpelling = true)] + internal extern static void MultiTexCoord3iARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s, Int32 t, Int32 r); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord3iv", ExactSpelling = true)] + internal extern static unsafe void MultiTexCoord3iv(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord3ivARB", ExactSpelling = true)] + internal extern static unsafe void MultiTexCoord3ivARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord3s", ExactSpelling = true)] + internal extern static void MultiTexCoord3s(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s, Int16 t, Int16 r); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord3sARB", ExactSpelling = true)] + internal extern static void MultiTexCoord3sARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s, Int16 t, Int16 r); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord3sv", ExactSpelling = true)] + internal extern static unsafe void MultiTexCoord3sv(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord3svARB", ExactSpelling = true)] + internal extern static unsafe void MultiTexCoord3svARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4d", ExactSpelling = true)] + internal extern static void MultiTexCoord4d(OpenTK.Graphics.OpenGL.TextureUnit target, Double s, Double t, Double r, Double q); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4dARB", ExactSpelling = true)] + internal extern static void MultiTexCoord4dARB(OpenTK.Graphics.OpenGL.TextureUnit target, Double s, Double t, Double r, Double q); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4dv", ExactSpelling = true)] + internal extern static unsafe void MultiTexCoord4dv(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4dvARB", ExactSpelling = true)] + internal extern static unsafe void MultiTexCoord4dvARB(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4f", ExactSpelling = true)] + internal extern static void MultiTexCoord4f(OpenTK.Graphics.OpenGL.TextureUnit target, Single s, Single t, Single r, Single q); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4fARB", ExactSpelling = true)] + internal extern static void MultiTexCoord4fARB(OpenTK.Graphics.OpenGL.TextureUnit target, Single s, Single t, Single r, Single q); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4fv", ExactSpelling = true)] + internal extern static unsafe void MultiTexCoord4fv(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4fvARB", ExactSpelling = true)] + internal extern static unsafe void MultiTexCoord4fvARB(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4hNV", ExactSpelling = true)] + internal extern static void MultiTexCoord4hNV(OpenTK.Graphics.OpenGL.TextureUnit target, Half s, Half t, Half r, Half q); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4hvNV", ExactSpelling = true)] + internal extern static unsafe void MultiTexCoord4hvNV(OpenTK.Graphics.OpenGL.TextureUnit target, Half* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4i", ExactSpelling = true)] + internal extern static void MultiTexCoord4i(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s, Int32 t, Int32 r, Int32 q); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4iARB", ExactSpelling = true)] + internal extern static void MultiTexCoord4iARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s, Int32 t, Int32 r, Int32 q); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4iv", ExactSpelling = true)] + internal extern static unsafe void MultiTexCoord4iv(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4ivARB", ExactSpelling = true)] + internal extern static unsafe void MultiTexCoord4ivARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4s", ExactSpelling = true)] + internal extern static void MultiTexCoord4s(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s, Int16 t, Int16 r, Int16 q); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4sARB", ExactSpelling = true)] + internal extern static void MultiTexCoord4sARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s, Int16 t, Int16 r, Int16 q); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4sv", ExactSpelling = true)] + internal extern static unsafe void MultiTexCoord4sv(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4svARB", ExactSpelling = true)] + internal extern static unsafe void MultiTexCoord4svARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoordP1ui", ExactSpelling = true)] + internal extern static void MultiTexCoordP1ui(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoordP1uiv", ExactSpelling = true)] + internal extern static unsafe void MultiTexCoordP1uiv(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoordP2ui", ExactSpelling = true)] + internal extern static void MultiTexCoordP2ui(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoordP2uiv", ExactSpelling = true)] + internal extern static unsafe void MultiTexCoordP2uiv(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoordP3ui", ExactSpelling = true)] + internal extern static void MultiTexCoordP3ui(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoordP3uiv", ExactSpelling = true)] + internal extern static unsafe void MultiTexCoordP3uiv(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoordP4ui", ExactSpelling = true)] + internal extern static void MultiTexCoordP4ui(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoordP4uiv", ExactSpelling = true)] + internal extern static unsafe void MultiTexCoordP4uiv(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoordPointerEXT", ExactSpelling = true)] + internal extern static void MultiTexCoordPointerEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexEnvfEXT", ExactSpelling = true)] + internal extern static void MultiTexEnvfEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Single param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexEnvfvEXT", ExactSpelling = true)] + internal extern static unsafe void MultiTexEnvfvEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexEnviEXT", ExactSpelling = true)] + internal extern static void MultiTexEnviEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Int32 param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexEnvivEXT", ExactSpelling = true)] + internal extern static unsafe void MultiTexEnvivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexGendEXT", ExactSpelling = true)] + internal extern static void MultiTexGendEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Double param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexGendvEXT", ExactSpelling = true)] + internal extern static unsafe void MultiTexGendvEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Double* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexGenfEXT", ExactSpelling = true)] + internal extern static void MultiTexGenfEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Single param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexGenfvEXT", ExactSpelling = true)] + internal extern static unsafe void MultiTexGenfvEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexGeniEXT", ExactSpelling = true)] + internal extern static void MultiTexGeniEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Int32 param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexGenivEXT", ExactSpelling = true)] + internal extern static unsafe void MultiTexGenivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexImage1DEXT", ExactSpelling = true)] + internal extern static void MultiTexImage1DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexImage2DEXT", ExactSpelling = true)] + internal extern static void MultiTexImage2DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexImage3DEXT", ExactSpelling = true)] + internal extern static void MultiTexImage3DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexParameterfEXT", ExactSpelling = true)] + internal extern static void MultiTexParameterfEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexParameterfvEXT", ExactSpelling = true)] + internal extern static unsafe void MultiTexParameterfvEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexParameteriEXT", ExactSpelling = true)] + internal extern static void MultiTexParameteriEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32 param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexParameterIivEXT", ExactSpelling = true)] + internal extern static unsafe void MultiTexParameterIivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexParameterIuivEXT", ExactSpelling = true)] + internal extern static unsafe void MultiTexParameterIuivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, UInt32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexParameterivEXT", ExactSpelling = true)] + internal extern static unsafe void MultiTexParameterivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexRenderbufferEXT", ExactSpelling = true)] + internal extern static void MultiTexRenderbufferEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, UInt32 renderbuffer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexSubImage1DEXT", ExactSpelling = true)] + internal extern static void MultiTexSubImage1DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexSubImage2DEXT", ExactSpelling = true)] + internal extern static void MultiTexSubImage2DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexSubImage3DEXT", ExactSpelling = true)] + internal extern static void MultiTexSubImage3DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultMatrixd", ExactSpelling = true)] + internal extern static unsafe void MultMatrixd(Double* m); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultMatrixf", ExactSpelling = true)] + internal extern static unsafe void MultMatrixf(Single* m); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultTransposeMatrixd", ExactSpelling = true)] + internal extern static unsafe void MultTransposeMatrixd(Double* m); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultTransposeMatrixdARB", ExactSpelling = true)] + internal extern static unsafe void MultTransposeMatrixdARB(Double* m); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultTransposeMatrixf", ExactSpelling = true)] + internal extern static unsafe void MultTransposeMatrixf(Single* m); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultTransposeMatrixfARB", ExactSpelling = true)] + internal extern static unsafe void MultTransposeMatrixfARB(Single* m); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedBufferDataEXT", ExactSpelling = true)] + internal extern static void NamedBufferDataEXT(UInt32 buffer, IntPtr size, IntPtr data, OpenTK.Graphics.OpenGL.ExtDirectStateAccess usage); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedBufferSubDataEXT", ExactSpelling = true)] + internal extern static void NamedBufferSubDataEXT(UInt32 buffer, IntPtr offset, IntPtr size, IntPtr data); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedCopyBufferSubDataEXT", ExactSpelling = true)] + internal extern static void NamedCopyBufferSubDataEXT(UInt32 readBuffer, UInt32 writeBuffer, IntPtr readOffset, IntPtr writeOffset, IntPtr size); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedFramebufferRenderbufferEXT", ExactSpelling = true)] + internal extern static void NamedFramebufferRenderbufferEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedFramebufferTexture1DEXT", ExactSpelling = true)] + internal extern static void NamedFramebufferTexture1DEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedFramebufferTexture2DEXT", ExactSpelling = true)] + internal extern static void NamedFramebufferTexture2DEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedFramebufferTexture3DEXT", ExactSpelling = true)] + internal extern static void NamedFramebufferTexture3DEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level, Int32 zoffset); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedFramebufferTextureEXT", ExactSpelling = true)] + internal extern static void NamedFramebufferTextureEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedFramebufferTextureFaceEXT", ExactSpelling = true)] + internal extern static void NamedFramebufferTextureFaceEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level, OpenTK.Graphics.OpenGL.TextureTarget face); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedFramebufferTextureLayerEXT", ExactSpelling = true)] + internal extern static void NamedFramebufferTextureLayerEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedProgramLocalParameter4dEXT", ExactSpelling = true)] + internal extern static void NamedProgramLocalParameter4dEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Double x, Double y, Double z, Double w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedProgramLocalParameter4dvEXT", ExactSpelling = true)] + internal extern static unsafe void NamedProgramLocalParameter4dvEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Double* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedProgramLocalParameter4fEXT", ExactSpelling = true)] + internal extern static void NamedProgramLocalParameter4fEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Single x, Single y, Single z, Single w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedProgramLocalParameter4fvEXT", ExactSpelling = true)] + internal extern static unsafe void NamedProgramLocalParameter4fvEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedProgramLocalParameterI4iEXT", ExactSpelling = true)] + internal extern static void NamedProgramLocalParameterI4iEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedProgramLocalParameterI4ivEXT", ExactSpelling = true)] + internal extern static unsafe void NamedProgramLocalParameterI4ivEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedProgramLocalParameterI4uiEXT", ExactSpelling = true)] + internal extern static void NamedProgramLocalParameterI4uiEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedProgramLocalParameterI4uivEXT", ExactSpelling = true)] + internal extern static unsafe void NamedProgramLocalParameterI4uivEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, UInt32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedProgramLocalParameters4fvEXT", ExactSpelling = true)] + internal extern static unsafe void NamedProgramLocalParameters4fvEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Int32 count, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedProgramLocalParametersI4ivEXT", ExactSpelling = true)] + internal extern static unsafe void NamedProgramLocalParametersI4ivEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Int32 count, Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedProgramLocalParametersI4uivEXT", ExactSpelling = true)] + internal extern static unsafe void NamedProgramLocalParametersI4uivEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Int32 count, UInt32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedProgramStringEXT", ExactSpelling = true)] + internal extern static void NamedProgramStringEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess format, Int32 len, IntPtr @string); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedRenderbufferStorageEXT", ExactSpelling = true)] + internal extern static void NamedRenderbufferStorageEXT(UInt32 renderbuffer, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedRenderbufferStorageMultisampleCoverageEXT", ExactSpelling = true)] + internal extern static void NamedRenderbufferStorageMultisampleCoverageEXT(UInt32 renderbuffer, Int32 coverageSamples, Int32 colorSamples, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedRenderbufferStorageMultisampleEXT", ExactSpelling = true)] + internal extern static void NamedRenderbufferStorageMultisampleEXT(UInt32 renderbuffer, Int32 samples, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedStringARB", ExactSpelling = true)] + internal extern static void NamedStringARB(OpenTK.Graphics.OpenGL.ArbShadingLanguageInclude type, Int32 namelen, String name, Int32 stringlen, String @string); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNewList", ExactSpelling = true)] + internal extern static void NewList(UInt32 list, OpenTK.Graphics.OpenGL.ListMode mode); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNewObjectBufferATI", ExactSpelling = true)] + internal extern static Int32 NewObjectBufferATI(Int32 size, IntPtr pointer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject usage); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormal3b", ExactSpelling = true)] + internal extern static void Normal3b(SByte nx, SByte ny, SByte nz); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormal3bv", ExactSpelling = true)] + internal extern static unsafe void Normal3bv(SByte* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormal3d", ExactSpelling = true)] + internal extern static void Normal3d(Double nx, Double ny, Double nz); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormal3dv", ExactSpelling = true)] + internal extern static unsafe void Normal3dv(Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormal3f", ExactSpelling = true)] + internal extern static void Normal3f(Single nx, Single ny, Single nz); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormal3fv", ExactSpelling = true)] + internal extern static unsafe void Normal3fv(Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormal3fVertex3fSUN", ExactSpelling = true)] + internal extern static void Normal3fVertex3fSUN(Single nx, Single ny, Single nz, Single x, Single y, Single z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormal3fVertex3fvSUN", ExactSpelling = true)] + internal extern static unsafe void Normal3fVertex3fvSUN(Single* n, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormal3hNV", ExactSpelling = true)] + internal extern static void Normal3hNV(Half nx, Half ny, Half nz); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormal3hvNV", ExactSpelling = true)] + internal extern static unsafe void Normal3hvNV(Half* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormal3i", ExactSpelling = true)] + internal extern static void Normal3i(Int32 nx, Int32 ny, Int32 nz); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormal3iv", ExactSpelling = true)] + internal extern static unsafe void Normal3iv(Int32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormal3s", ExactSpelling = true)] + internal extern static void Normal3s(Int16 nx, Int16 ny, Int16 nz); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormal3sv", ExactSpelling = true)] + internal extern static unsafe void Normal3sv(Int16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormalFormatNV", ExactSpelling = true)] + internal extern static void NormalFormatNV(OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormalP3ui", ExactSpelling = true)] + internal extern static void NormalP3ui(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormalP3uiv", ExactSpelling = true)] + internal extern static unsafe void NormalP3uiv(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormalPointer", ExactSpelling = true)] + internal extern static void NormalPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormalPointerEXT", ExactSpelling = true)] + internal extern static void NormalPointerEXT(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, Int32 count, IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormalPointerListIBM", ExactSpelling = true)] + internal extern static void NormalPointerListIBM(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormalPointervINTEL", ExactSpelling = true)] + internal extern static void NormalPointervINTEL(OpenTK.Graphics.OpenGL.NormalPointerType type, IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormalStream3bATI", ExactSpelling = true)] + internal extern static void NormalStream3bATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, SByte nx, SByte ny, SByte nz); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormalStream3bvATI", ExactSpelling = true)] + internal extern static unsafe void NormalStream3bvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, SByte* coords); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormalStream3dATI", ExactSpelling = true)] + internal extern static void NormalStream3dATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double nx, Double ny, Double nz); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormalStream3dvATI", ExactSpelling = true)] + internal extern static unsafe void NormalStream3dvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double* coords); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormalStream3fATI", ExactSpelling = true)] + internal extern static void NormalStream3fATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single nx, Single ny, Single nz); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormalStream3fvATI", ExactSpelling = true)] + internal extern static unsafe void NormalStream3fvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single* coords); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormalStream3iATI", ExactSpelling = true)] + internal extern static void NormalStream3iATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32 nx, Int32 ny, Int32 nz); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormalStream3ivATI", ExactSpelling = true)] + internal extern static unsafe void NormalStream3ivATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32* coords); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormalStream3sATI", ExactSpelling = true)] + internal extern static void NormalStream3sATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16 nx, Int16 ny, Int16 nz); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormalStream3svATI", ExactSpelling = true)] + internal extern static unsafe void NormalStream3svATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16* coords); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glObjectPurgeableAPPLE", ExactSpelling = true)] + internal extern static OpenTK.Graphics.OpenGL.AppleObjectPurgeable ObjectPurgeableAPPLE(OpenTK.Graphics.OpenGL.AppleObjectPurgeable objectType, UInt32 name, OpenTK.Graphics.OpenGL.AppleObjectPurgeable option); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glObjectUnpurgeableAPPLE", ExactSpelling = true)] + internal extern static OpenTK.Graphics.OpenGL.AppleObjectPurgeable ObjectUnpurgeableAPPLE(OpenTK.Graphics.OpenGL.AppleObjectPurgeable objectType, UInt32 name, OpenTK.Graphics.OpenGL.AppleObjectPurgeable option); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glOrtho", ExactSpelling = true)] + internal extern static void Ortho(Double left, Double right, Double bottom, Double top, Double zNear, Double zFar); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPassTexCoordATI", ExactSpelling = true)] + internal extern static void PassTexCoordATI(UInt32 dst, UInt32 coord, OpenTK.Graphics.OpenGL.AtiFragmentShader swizzle); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPassThrough", ExactSpelling = true)] + internal extern static void PassThrough(Single token); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPatchParameterfv", ExactSpelling = true)] + internal extern static unsafe void PatchParameterfv(OpenTK.Graphics.OpenGL.PatchParameterFloat pname, Single* values); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPatchParameteri", ExactSpelling = true)] + internal extern static void PatchParameteri(OpenTK.Graphics.OpenGL.PatchParameterInt pname, Int32 value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPauseTransformFeedback", ExactSpelling = true)] + internal extern static void PauseTransformFeedback(); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPauseTransformFeedbackNV", ExactSpelling = true)] + internal extern static void PauseTransformFeedbackNV(); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelDataRangeNV", ExactSpelling = true)] + internal extern static void PixelDataRangeNV(OpenTK.Graphics.OpenGL.NvPixelDataRange target, Int32 length, [OutAttribute] IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelMapfv", ExactSpelling = true)] + internal extern static unsafe void PixelMapfv(OpenTK.Graphics.OpenGL.PixelMap map, Int32 mapsize, Single* values); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelMapuiv", ExactSpelling = true)] + internal extern static unsafe void PixelMapuiv(OpenTK.Graphics.OpenGL.PixelMap map, Int32 mapsize, UInt32* values); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelMapusv", ExactSpelling = true)] + internal extern static unsafe void PixelMapusv(OpenTK.Graphics.OpenGL.PixelMap map, Int32 mapsize, UInt16* values); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelStoref", ExactSpelling = true)] + internal extern static void PixelStoref(OpenTK.Graphics.OpenGL.PixelStoreParameter pname, Single param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelStorei", ExactSpelling = true)] + internal extern static void PixelStorei(OpenTK.Graphics.OpenGL.PixelStoreParameter pname, Int32 param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelTexGenParameterfSGIS", ExactSpelling = true)] + internal extern static void PixelTexGenParameterfSGIS(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, Single param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelTexGenParameterfvSGIS", ExactSpelling = true)] + internal extern static unsafe void PixelTexGenParameterfvSGIS(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelTexGenParameteriSGIS", ExactSpelling = true)] + internal extern static void PixelTexGenParameteriSGIS(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, Int32 param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelTexGenParameterivSGIS", ExactSpelling = true)] + internal extern static unsafe void PixelTexGenParameterivSGIS(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelTexGenSGIX", ExactSpelling = true)] + internal extern static void PixelTexGenSGIX(OpenTK.Graphics.OpenGL.SgixPixelTexture mode); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelTransferf", ExactSpelling = true)] + internal extern static void PixelTransferf(OpenTK.Graphics.OpenGL.PixelTransferParameter pname, Single param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelTransferi", ExactSpelling = true)] + internal extern static void PixelTransferi(OpenTK.Graphics.OpenGL.PixelTransferParameter pname, Int32 param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelTransformParameterfEXT", ExactSpelling = true)] + internal extern static void PixelTransformParameterfEXT(OpenTK.Graphics.OpenGL.ExtPixelTransform target, OpenTK.Graphics.OpenGL.ExtPixelTransform pname, Single param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelTransformParameterfvEXT", ExactSpelling = true)] + internal extern static unsafe void PixelTransformParameterfvEXT(OpenTK.Graphics.OpenGL.ExtPixelTransform target, OpenTK.Graphics.OpenGL.ExtPixelTransform pname, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelTransformParameteriEXT", ExactSpelling = true)] + internal extern static void PixelTransformParameteriEXT(OpenTK.Graphics.OpenGL.ExtPixelTransform target, OpenTK.Graphics.OpenGL.ExtPixelTransform pname, Int32 param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelTransformParameterivEXT", ExactSpelling = true)] + internal extern static unsafe void PixelTransformParameterivEXT(OpenTK.Graphics.OpenGL.ExtPixelTransform target, OpenTK.Graphics.OpenGL.ExtPixelTransform pname, Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelZoom", ExactSpelling = true)] + internal extern static void PixelZoom(Single xfactor, Single yfactor); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPNTrianglesfATI", ExactSpelling = true)] + internal extern static void PNTrianglesfATI(OpenTK.Graphics.OpenGL.AtiPnTriangles pname, Single param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPNTrianglesiATI", ExactSpelling = true)] + internal extern static void PNTrianglesiATI(OpenTK.Graphics.OpenGL.AtiPnTriangles pname, Int32 param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointParameterf", ExactSpelling = true)] + internal extern static void PointParameterf(OpenTK.Graphics.OpenGL.PointParameterName pname, Single param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointParameterfARB", ExactSpelling = true)] + internal extern static void PointParameterfARB(OpenTK.Graphics.OpenGL.ArbPointParameters pname, Single param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointParameterfEXT", ExactSpelling = true)] + internal extern static void PointParameterfEXT(OpenTK.Graphics.OpenGL.ExtPointParameters pname, Single param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointParameterfSGIS", ExactSpelling = true)] + internal extern static void PointParameterfSGIS(OpenTK.Graphics.OpenGL.SgisPointParameters pname, Single param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointParameterfv", ExactSpelling = true)] + internal extern static unsafe void PointParameterfv(OpenTK.Graphics.OpenGL.PointParameterName pname, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointParameterfvARB", ExactSpelling = true)] + internal extern static unsafe void PointParameterfvARB(OpenTK.Graphics.OpenGL.ArbPointParameters pname, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointParameterfvEXT", ExactSpelling = true)] + internal extern static unsafe void PointParameterfvEXT(OpenTK.Graphics.OpenGL.ExtPointParameters pname, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointParameterfvSGIS", ExactSpelling = true)] + internal extern static unsafe void PointParameterfvSGIS(OpenTK.Graphics.OpenGL.SgisPointParameters pname, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointParameteri", ExactSpelling = true)] + internal extern static void PointParameteri(OpenTK.Graphics.OpenGL.PointParameterName pname, Int32 param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointParameteriNV", ExactSpelling = true)] + internal extern static void PointParameteriNV(OpenTK.Graphics.OpenGL.NvPointSprite pname, Int32 param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointParameteriv", ExactSpelling = true)] + internal extern static unsafe void PointParameteriv(OpenTK.Graphics.OpenGL.PointParameterName pname, Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointParameterivNV", ExactSpelling = true)] + internal extern static unsafe void PointParameterivNV(OpenTK.Graphics.OpenGL.NvPointSprite pname, Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointSize", ExactSpelling = true)] + internal extern static void PointSize(Single size); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPollAsyncSGIX", ExactSpelling = true)] + internal extern static unsafe Int32 PollAsyncSGIX([OutAttribute] UInt32* markerp); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPollInstrumentsSGIX", ExactSpelling = true)] + internal extern static unsafe Int32 PollInstrumentsSGIX([OutAttribute] Int32* marker_p); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPolygonMode", ExactSpelling = true)] + internal extern static void PolygonMode(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.PolygonMode mode); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPolygonOffset", ExactSpelling = true)] + internal extern static void PolygonOffset(Single factor, Single units); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPolygonOffsetEXT", ExactSpelling = true)] + internal extern static void PolygonOffsetEXT(Single factor, Single bias); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPolygonStipple", ExactSpelling = true)] + internal extern static unsafe void PolygonStipple(Byte* mask); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPopAttrib", ExactSpelling = true)] + internal extern static void PopAttrib(); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPopClientAttrib", ExactSpelling = true)] + internal extern static void PopClientAttrib(); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPopMatrix", ExactSpelling = true)] + internal extern static void PopMatrix(); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPopName", ExactSpelling = true)] + internal extern static void PopName(); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPresentFrameDualFillNV", ExactSpelling = true)] + internal extern static void PresentFrameDualFillNV(UInt32 video_slot, UInt64 minPresentTime, UInt32 beginPresentTimeId, UInt32 presentDurationId, OpenTK.Graphics.OpenGL.NvPresentVideo type, OpenTK.Graphics.OpenGL.NvPresentVideo target0, UInt32 fill0, OpenTK.Graphics.OpenGL.NvPresentVideo target1, UInt32 fill1, OpenTK.Graphics.OpenGL.NvPresentVideo target2, UInt32 fill2, OpenTK.Graphics.OpenGL.NvPresentVideo target3, UInt32 fill3); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPresentFrameKeyedNV", ExactSpelling = true)] + internal extern static void PresentFrameKeyedNV(UInt32 video_slot, UInt64 minPresentTime, UInt32 beginPresentTimeId, UInt32 presentDurationId, OpenTK.Graphics.OpenGL.NvPresentVideo type, OpenTK.Graphics.OpenGL.NvPresentVideo target0, UInt32 fill0, UInt32 key0, OpenTK.Graphics.OpenGL.NvPresentVideo target1, UInt32 fill1, UInt32 key1); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPrimitiveRestartIndex", ExactSpelling = true)] + internal extern static void PrimitiveRestartIndex(UInt32 index); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPrimitiveRestartIndexNV", ExactSpelling = true)] + internal extern static void PrimitiveRestartIndexNV(UInt32 index); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPrimitiveRestartNV", ExactSpelling = true)] + internal extern static void PrimitiveRestartNV(); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPrioritizeTextures", ExactSpelling = true)] + internal extern static unsafe void PrioritizeTextures(Int32 n, UInt32* textures, Single* priorities); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPrioritizeTexturesEXT", ExactSpelling = true)] + internal extern static unsafe void PrioritizeTexturesEXT(Int32 n, UInt32* textures, Single* priorities); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramBinary", ExactSpelling = true)] + internal extern static void ProgramBinary(UInt32 program, OpenTK.Graphics.OpenGL.BinaryFormat binaryFormat, IntPtr binary, Int32 length); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramBufferParametersfvNV", ExactSpelling = true)] + internal extern static unsafe void ProgramBufferParametersfvNV(OpenTK.Graphics.OpenGL.NvParameterBufferObject target, UInt32 buffer, UInt32 index, Int32 count, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramBufferParametersIivNV", ExactSpelling = true)] + internal extern static unsafe void ProgramBufferParametersIivNV(OpenTK.Graphics.OpenGL.NvParameterBufferObject target, UInt32 buffer, UInt32 index, Int32 count, Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramBufferParametersIuivNV", ExactSpelling = true)] + internal extern static unsafe void ProgramBufferParametersIuivNV(OpenTK.Graphics.OpenGL.NvParameterBufferObject target, UInt32 buffer, UInt32 index, Int32 count, UInt32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramEnvParameter4dARB", ExactSpelling = true)] + internal extern static void ProgramEnvParameter4dARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Double x, Double y, Double z, Double w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramEnvParameter4dvARB", ExactSpelling = true)] + internal extern static unsafe void ProgramEnvParameter4dvARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Double* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramEnvParameter4fARB", ExactSpelling = true)] + internal extern static void ProgramEnvParameter4fARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Single x, Single y, Single z, Single w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramEnvParameter4fvARB", ExactSpelling = true)] + internal extern static unsafe void ProgramEnvParameter4fvARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramEnvParameterI4iNV", ExactSpelling = true)] + internal extern static void ProgramEnvParameterI4iNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramEnvParameterI4ivNV", ExactSpelling = true)] + internal extern static unsafe void ProgramEnvParameterI4ivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramEnvParameterI4uiNV", ExactSpelling = true)] + internal extern static void ProgramEnvParameterI4uiNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramEnvParameterI4uivNV", ExactSpelling = true)] + internal extern static unsafe void ProgramEnvParameterI4uivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, UInt32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramEnvParameters4fvEXT", ExactSpelling = true)] + internal extern static unsafe void ProgramEnvParameters4fvEXT(OpenTK.Graphics.OpenGL.ExtGpuProgramParameters target, UInt32 index, Int32 count, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramEnvParametersI4ivNV", ExactSpelling = true)] + internal extern static unsafe void ProgramEnvParametersI4ivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 count, Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramEnvParametersI4uivNV", ExactSpelling = true)] + internal extern static unsafe void ProgramEnvParametersI4uivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 count, UInt32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramLocalParameter4dARB", ExactSpelling = true)] + internal extern static void ProgramLocalParameter4dARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Double x, Double y, Double z, Double w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramLocalParameter4dvARB", ExactSpelling = true)] + internal extern static unsafe void ProgramLocalParameter4dvARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Double* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramLocalParameter4fARB", ExactSpelling = true)] + internal extern static void ProgramLocalParameter4fARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Single x, Single y, Single z, Single w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramLocalParameter4fvARB", ExactSpelling = true)] + internal extern static unsafe void ProgramLocalParameter4fvARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramLocalParameterI4iNV", ExactSpelling = true)] + internal extern static void ProgramLocalParameterI4iNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramLocalParameterI4ivNV", ExactSpelling = true)] + internal extern static unsafe void ProgramLocalParameterI4ivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramLocalParameterI4uiNV", ExactSpelling = true)] + internal extern static void ProgramLocalParameterI4uiNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramLocalParameterI4uivNV", ExactSpelling = true)] + internal extern static unsafe void ProgramLocalParameterI4uivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, UInt32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramLocalParameters4fvEXT", ExactSpelling = true)] + internal extern static unsafe void ProgramLocalParameters4fvEXT(OpenTK.Graphics.OpenGL.ExtGpuProgramParameters target, UInt32 index, Int32 count, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramLocalParametersI4ivNV", ExactSpelling = true)] + internal extern static unsafe void ProgramLocalParametersI4ivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 count, Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramLocalParametersI4uivNV", ExactSpelling = true)] + internal extern static unsafe void ProgramLocalParametersI4uivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 count, UInt32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramNamedParameter4dNV", ExactSpelling = true)] + internal extern static unsafe void ProgramNamedParameter4dNV(UInt32 id, Int32 len, Byte* name, Double x, Double y, Double z, Double w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramNamedParameter4dvNV", ExactSpelling = true)] + internal extern static unsafe void ProgramNamedParameter4dvNV(UInt32 id, Int32 len, Byte* name, Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramNamedParameter4fNV", ExactSpelling = true)] + internal extern static unsafe void ProgramNamedParameter4fNV(UInt32 id, Int32 len, Byte* name, Single x, Single y, Single z, Single w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramNamedParameter4fvNV", ExactSpelling = true)] + internal extern static unsafe void ProgramNamedParameter4fvNV(UInt32 id, Int32 len, Byte* name, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramParameter4dNV", ExactSpelling = true)] + internal extern static void ProgramParameter4dNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Double x, Double y, Double z, Double w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramParameter4dvNV", ExactSpelling = true)] + internal extern static unsafe void ProgramParameter4dvNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramParameter4fNV", ExactSpelling = true)] + internal extern static void ProgramParameter4fNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Single x, Single y, Single z, Single w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramParameter4fvNV", ExactSpelling = true)] + internal extern static unsafe void ProgramParameter4fvNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramParameteri", ExactSpelling = true)] + internal extern static void ProgramParameteri(UInt32 program, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, Int32 value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramParameteriARB", ExactSpelling = true)] + internal extern static void ProgramParameteriARB(UInt32 program, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, Int32 value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramParameteriEXT", ExactSpelling = true)] + internal extern static void ProgramParameteriEXT(UInt32 program, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, Int32 value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramParameters4dvNV", ExactSpelling = true)] + internal extern static unsafe void ProgramParameters4dvNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Int32 count, Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramParameters4fvNV", ExactSpelling = true)] + internal extern static unsafe void ProgramParameters4fvNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Int32 count, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramStringARB", ExactSpelling = true)] + internal extern static void ProgramStringARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.ArbVertexProgram format, Int32 len, IntPtr @string); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramSubroutineParametersuivNV", ExactSpelling = true)] + internal extern static unsafe void ProgramSubroutineParametersuivNV(OpenTK.Graphics.OpenGL.NvGpuProgram5 target, Int32 count, UInt32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform1d", ExactSpelling = true)] + internal extern static void ProgramUniform1d(UInt32 program, Int32 location, Double v0); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform1dEXT", ExactSpelling = true)] + internal extern static void ProgramUniform1dEXT(UInt32 program, Int32 location, Double x); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform1dv", ExactSpelling = true)] + internal extern static unsafe void ProgramUniform1dv(UInt32 program, Int32 location, Int32 count, Double* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform1dvEXT", ExactSpelling = true)] + internal extern static unsafe void ProgramUniform1dvEXT(UInt32 program, Int32 location, Int32 count, Double* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform1f", ExactSpelling = true)] + internal extern static void ProgramUniform1f(UInt32 program, Int32 location, Single v0); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform1fEXT", ExactSpelling = true)] + internal extern static void ProgramUniform1fEXT(UInt32 program, Int32 location, Single v0); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform1fv", ExactSpelling = true)] + internal extern static unsafe void ProgramUniform1fv(UInt32 program, Int32 location, Int32 count, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform1fvEXT", ExactSpelling = true)] + internal extern static unsafe void ProgramUniform1fvEXT(UInt32 program, Int32 location, Int32 count, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform1i", ExactSpelling = true)] + internal extern static void ProgramUniform1i(UInt32 program, Int32 location, Int32 v0); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform1i64NV", ExactSpelling = true)] + internal extern static void ProgramUniform1i64NV(UInt32 program, Int32 location, Int64 x); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform1i64vNV", ExactSpelling = true)] + internal extern static unsafe void ProgramUniform1i64vNV(UInt32 program, Int32 location, Int32 count, Int64* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform1iEXT", ExactSpelling = true)] + internal extern static void ProgramUniform1iEXT(UInt32 program, Int32 location, Int32 v0); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform1iv", ExactSpelling = true)] + internal extern static unsafe void ProgramUniform1iv(UInt32 program, Int32 location, Int32 count, Int32* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform1ivEXT", ExactSpelling = true)] + internal extern static unsafe void ProgramUniform1ivEXT(UInt32 program, Int32 location, Int32 count, Int32* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform1ui", ExactSpelling = true)] + internal extern static void ProgramUniform1ui(UInt32 program, Int32 location, UInt32 v0); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform1ui64NV", ExactSpelling = true)] + internal extern static void ProgramUniform1ui64NV(UInt32 program, Int32 location, UInt64 x); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform1ui64vNV", ExactSpelling = true)] + internal extern static unsafe void ProgramUniform1ui64vNV(UInt32 program, Int32 location, Int32 count, UInt64* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform1uiEXT", ExactSpelling = true)] + internal extern static void ProgramUniform1uiEXT(UInt32 program, Int32 location, UInt32 v0); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform1uiv", ExactSpelling = true)] + internal extern static unsafe void ProgramUniform1uiv(UInt32 program, Int32 location, Int32 count, UInt32* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform1uivEXT", ExactSpelling = true)] + internal extern static unsafe void ProgramUniform1uivEXT(UInt32 program, Int32 location, Int32 count, UInt32* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform2d", ExactSpelling = true)] + internal extern static void ProgramUniform2d(UInt32 program, Int32 location, Double v0, Double v1); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform2dEXT", ExactSpelling = true)] + internal extern static void ProgramUniform2dEXT(UInt32 program, Int32 location, Double x, Double y); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform2dv", ExactSpelling = true)] + internal extern static unsafe void ProgramUniform2dv(UInt32 program, Int32 location, Int32 count, Double* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform2dvEXT", ExactSpelling = true)] + internal extern static unsafe void ProgramUniform2dvEXT(UInt32 program, Int32 location, Int32 count, Double* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform2f", ExactSpelling = true)] + internal extern static void ProgramUniform2f(UInt32 program, Int32 location, Single v0, Single v1); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform2fEXT", ExactSpelling = true)] + internal extern static void ProgramUniform2fEXT(UInt32 program, Int32 location, Single v0, Single v1); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform2fv", ExactSpelling = true)] + internal extern static unsafe void ProgramUniform2fv(UInt32 program, Int32 location, Int32 count, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform2fvEXT", ExactSpelling = true)] + internal extern static unsafe void ProgramUniform2fvEXT(UInt32 program, Int32 location, Int32 count, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform2i", ExactSpelling = true)] + internal extern static void ProgramUniform2i(UInt32 program, Int32 location, Int32 v0, Int32 v1); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform2i64NV", ExactSpelling = true)] + internal extern static void ProgramUniform2i64NV(UInt32 program, Int32 location, Int64 x, Int64 y); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform2i64vNV", ExactSpelling = true)] + internal extern static unsafe void ProgramUniform2i64vNV(UInt32 program, Int32 location, Int32 count, Int64* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform2iEXT", ExactSpelling = true)] + internal extern static void ProgramUniform2iEXT(UInt32 program, Int32 location, Int32 v0, Int32 v1); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform2iv", ExactSpelling = true)] + internal extern static unsafe void ProgramUniform2iv(UInt32 program, Int32 location, Int32 count, Int32* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform2ivEXT", ExactSpelling = true)] + internal extern static unsafe void ProgramUniform2ivEXT(UInt32 program, Int32 location, Int32 count, Int32* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform2ui", ExactSpelling = true)] + internal extern static void ProgramUniform2ui(UInt32 program, Int32 location, UInt32 v0, UInt32 v1); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform2ui64NV", ExactSpelling = true)] + internal extern static void ProgramUniform2ui64NV(UInt32 program, Int32 location, UInt64 x, UInt64 y); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform2ui64vNV", ExactSpelling = true)] + internal extern static unsafe void ProgramUniform2ui64vNV(UInt32 program, Int32 location, Int32 count, UInt64* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform2uiEXT", ExactSpelling = true)] + internal extern static void ProgramUniform2uiEXT(UInt32 program, Int32 location, UInt32 v0, UInt32 v1); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform2uiv", ExactSpelling = true)] + internal extern static unsafe void ProgramUniform2uiv(UInt32 program, Int32 location, Int32 count, UInt32* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform2uivEXT", ExactSpelling = true)] + internal extern static unsafe void ProgramUniform2uivEXT(UInt32 program, Int32 location, Int32 count, UInt32* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform3d", ExactSpelling = true)] + internal extern static void ProgramUniform3d(UInt32 program, Int32 location, Double v0, Double v1, Double v2); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform3dEXT", ExactSpelling = true)] + internal extern static void ProgramUniform3dEXT(UInt32 program, Int32 location, Double x, Double y, Double z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform3dv", ExactSpelling = true)] + internal extern static unsafe void ProgramUniform3dv(UInt32 program, Int32 location, Int32 count, Double* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform3dvEXT", ExactSpelling = true)] + internal extern static unsafe void ProgramUniform3dvEXT(UInt32 program, Int32 location, Int32 count, Double* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform3f", ExactSpelling = true)] + internal extern static void ProgramUniform3f(UInt32 program, Int32 location, Single v0, Single v1, Single v2); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform3fEXT", ExactSpelling = true)] + internal extern static void ProgramUniform3fEXT(UInt32 program, Int32 location, Single v0, Single v1, Single v2); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform3fv", ExactSpelling = true)] + internal extern static unsafe void ProgramUniform3fv(UInt32 program, Int32 location, Int32 count, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform3fvEXT", ExactSpelling = true)] + internal extern static unsafe void ProgramUniform3fvEXT(UInt32 program, Int32 location, Int32 count, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform3i", ExactSpelling = true)] + internal extern static void ProgramUniform3i(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform3i64NV", ExactSpelling = true)] + internal extern static void ProgramUniform3i64NV(UInt32 program, Int32 location, Int64 x, Int64 y, Int64 z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform3i64vNV", ExactSpelling = true)] + internal extern static unsafe void ProgramUniform3i64vNV(UInt32 program, Int32 location, Int32 count, Int64* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform3iEXT", ExactSpelling = true)] + internal extern static void ProgramUniform3iEXT(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform3iv", ExactSpelling = true)] + internal extern static unsafe void ProgramUniform3iv(UInt32 program, Int32 location, Int32 count, Int32* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform3ivEXT", ExactSpelling = true)] + internal extern static unsafe void ProgramUniform3ivEXT(UInt32 program, Int32 location, Int32 count, Int32* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform3ui", ExactSpelling = true)] + internal extern static void ProgramUniform3ui(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform3ui64NV", ExactSpelling = true)] + internal extern static void ProgramUniform3ui64NV(UInt32 program, Int32 location, UInt64 x, UInt64 y, UInt64 z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform3ui64vNV", ExactSpelling = true)] + internal extern static unsafe void ProgramUniform3ui64vNV(UInt32 program, Int32 location, Int32 count, UInt64* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform3uiEXT", ExactSpelling = true)] + internal extern static void ProgramUniform3uiEXT(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform3uiv", ExactSpelling = true)] + internal extern static unsafe void ProgramUniform3uiv(UInt32 program, Int32 location, Int32 count, UInt32* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform3uivEXT", ExactSpelling = true)] + internal extern static unsafe void ProgramUniform3uivEXT(UInt32 program, Int32 location, Int32 count, UInt32* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform4d", ExactSpelling = true)] + internal extern static void ProgramUniform4d(UInt32 program, Int32 location, Double v0, Double v1, Double v2, Double v3); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform4dEXT", ExactSpelling = true)] + internal extern static void ProgramUniform4dEXT(UInt32 program, Int32 location, Double x, Double y, Double z, Double w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform4dv", ExactSpelling = true)] + internal extern static unsafe void ProgramUniform4dv(UInt32 program, Int32 location, Int32 count, Double* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform4dvEXT", ExactSpelling = true)] + internal extern static unsafe void ProgramUniform4dvEXT(UInt32 program, Int32 location, Int32 count, Double* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform4f", ExactSpelling = true)] + internal extern static void ProgramUniform4f(UInt32 program, Int32 location, Single v0, Single v1, Single v2, Single v3); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform4fEXT", ExactSpelling = true)] + internal extern static void ProgramUniform4fEXT(UInt32 program, Int32 location, Single v0, Single v1, Single v2, Single v3); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform4fv", ExactSpelling = true)] + internal extern static unsafe void ProgramUniform4fv(UInt32 program, Int32 location, Int32 count, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform4fvEXT", ExactSpelling = true)] + internal extern static unsafe void ProgramUniform4fvEXT(UInt32 program, Int32 location, Int32 count, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform4i", ExactSpelling = true)] + internal extern static void ProgramUniform4i(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform4i64NV", ExactSpelling = true)] + internal extern static void ProgramUniform4i64NV(UInt32 program, Int32 location, Int64 x, Int64 y, Int64 z, Int64 w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform4i64vNV", ExactSpelling = true)] + internal extern static unsafe void ProgramUniform4i64vNV(UInt32 program, Int32 location, Int32 count, Int64* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform4iEXT", ExactSpelling = true)] + internal extern static void ProgramUniform4iEXT(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform4iv", ExactSpelling = true)] + internal extern static unsafe void ProgramUniform4iv(UInt32 program, Int32 location, Int32 count, Int32* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform4ivEXT", ExactSpelling = true)] + internal extern static unsafe void ProgramUniform4ivEXT(UInt32 program, Int32 location, Int32 count, Int32* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform4ui", ExactSpelling = true)] + internal extern static void ProgramUniform4ui(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform4ui64NV", ExactSpelling = true)] + internal extern static void ProgramUniform4ui64NV(UInt32 program, Int32 location, UInt64 x, UInt64 y, UInt64 z, UInt64 w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform4ui64vNV", ExactSpelling = true)] + internal extern static unsafe void ProgramUniform4ui64vNV(UInt32 program, Int32 location, Int32 count, UInt64* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform4uiEXT", ExactSpelling = true)] + internal extern static void ProgramUniform4uiEXT(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform4uiv", ExactSpelling = true)] + internal extern static unsafe void ProgramUniform4uiv(UInt32 program, Int32 location, Int32 count, UInt32* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform4uivEXT", ExactSpelling = true)] + internal extern static unsafe void ProgramUniform4uivEXT(UInt32 program, Int32 location, Int32 count, UInt32* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix2dv", ExactSpelling = true)] + internal extern static unsafe void ProgramUniformMatrix2dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix2dvEXT", ExactSpelling = true)] + internal extern static unsafe void ProgramUniformMatrix2dvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix2fv", ExactSpelling = true)] + internal extern static unsafe void ProgramUniformMatrix2fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix2fvEXT", ExactSpelling = true)] + internal extern static unsafe void ProgramUniformMatrix2fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix2x3dv", ExactSpelling = true)] + internal extern static unsafe void ProgramUniformMatrix2x3dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix2x3dvEXT", ExactSpelling = true)] + internal extern static unsafe void ProgramUniformMatrix2x3dvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix2x3fv", ExactSpelling = true)] + internal extern static unsafe void ProgramUniformMatrix2x3fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix2x3fvEXT", ExactSpelling = true)] + internal extern static unsafe void ProgramUniformMatrix2x3fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix2x4dv", ExactSpelling = true)] + internal extern static unsafe void ProgramUniformMatrix2x4dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix2x4dvEXT", ExactSpelling = true)] + internal extern static unsafe void ProgramUniformMatrix2x4dvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix2x4fv", ExactSpelling = true)] + internal extern static unsafe void ProgramUniformMatrix2x4fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix2x4fvEXT", ExactSpelling = true)] + internal extern static unsafe void ProgramUniformMatrix2x4fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix3dv", ExactSpelling = true)] + internal extern static unsafe void ProgramUniformMatrix3dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix3dvEXT", ExactSpelling = true)] + internal extern static unsafe void ProgramUniformMatrix3dvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix3fv", ExactSpelling = true)] + internal extern static unsafe void ProgramUniformMatrix3fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix3fvEXT", ExactSpelling = true)] + internal extern static unsafe void ProgramUniformMatrix3fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix3x2dv", ExactSpelling = true)] + internal extern static unsafe void ProgramUniformMatrix3x2dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix3x2dvEXT", ExactSpelling = true)] + internal extern static unsafe void ProgramUniformMatrix3x2dvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix3x2fv", ExactSpelling = true)] + internal extern static unsafe void ProgramUniformMatrix3x2fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix3x2fvEXT", ExactSpelling = true)] + internal extern static unsafe void ProgramUniformMatrix3x2fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix3x4dv", ExactSpelling = true)] + internal extern static unsafe void ProgramUniformMatrix3x4dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix3x4dvEXT", ExactSpelling = true)] + internal extern static unsafe void ProgramUniformMatrix3x4dvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix3x4fv", ExactSpelling = true)] + internal extern static unsafe void ProgramUniformMatrix3x4fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix3x4fvEXT", ExactSpelling = true)] + internal extern static unsafe void ProgramUniformMatrix3x4fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix4dv", ExactSpelling = true)] + internal extern static unsafe void ProgramUniformMatrix4dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix4dvEXT", ExactSpelling = true)] + internal extern static unsafe void ProgramUniformMatrix4dvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix4fv", ExactSpelling = true)] + internal extern static unsafe void ProgramUniformMatrix4fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix4fvEXT", ExactSpelling = true)] + internal extern static unsafe void ProgramUniformMatrix4fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix4x2dv", ExactSpelling = true)] + internal extern static unsafe void ProgramUniformMatrix4x2dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix4x2dvEXT", ExactSpelling = true)] + internal extern static unsafe void ProgramUniformMatrix4x2dvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix4x2fv", ExactSpelling = true)] + internal extern static unsafe void ProgramUniformMatrix4x2fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix4x2fvEXT", ExactSpelling = true)] + internal extern static unsafe void ProgramUniformMatrix4x2fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix4x3dv", ExactSpelling = true)] + internal extern static unsafe void ProgramUniformMatrix4x3dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix4x3dvEXT", ExactSpelling = true)] + internal extern static unsafe void ProgramUniformMatrix4x3dvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix4x3fv", ExactSpelling = true)] + internal extern static unsafe void ProgramUniformMatrix4x3fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix4x3fvEXT", ExactSpelling = true)] + internal extern static unsafe void ProgramUniformMatrix4x3fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformui64NV", ExactSpelling = true)] + internal extern static void ProgramUniformui64NV(UInt32 program, Int32 location, UInt64 value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformui64vNV", ExactSpelling = true)] + internal extern static unsafe void ProgramUniformui64vNV(UInt32 program, Int32 location, Int32 count, UInt64* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramVertexLimitNV", ExactSpelling = true)] + internal extern static void ProgramVertexLimitNV(OpenTK.Graphics.OpenGL.NvGeometryProgram4 target, Int32 limit); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProvokingVertex", ExactSpelling = true)] + internal extern static void ProvokingVertex(OpenTK.Graphics.OpenGL.ProvokingVertexMode mode); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProvokingVertexEXT", ExactSpelling = true)] + internal extern static void ProvokingVertexEXT(OpenTK.Graphics.OpenGL.ExtProvokingVertex mode); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPushAttrib", ExactSpelling = true)] + internal extern static void PushAttrib(OpenTK.Graphics.OpenGL.AttribMask mask); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPushClientAttrib", ExactSpelling = true)] + internal extern static void PushClientAttrib(OpenTK.Graphics.OpenGL.ClientAttribMask mask); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPushClientAttribDefaultEXT", ExactSpelling = true)] + internal extern static void PushClientAttribDefaultEXT(OpenTK.Graphics.OpenGL.ClientAttribMask mask); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPushMatrix", ExactSpelling = true)] + internal extern static void PushMatrix(); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPushName", ExactSpelling = true)] + internal extern static void PushName(UInt32 name); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glQueryCounter", ExactSpelling = true)] + internal extern static void QueryCounter(UInt32 id, OpenTK.Graphics.OpenGL.QueryCounterTarget target); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRasterPos2d", ExactSpelling = true)] + internal extern static void RasterPos2d(Double x, Double y); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRasterPos2dv", ExactSpelling = true)] + internal extern static unsafe void RasterPos2dv(Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRasterPos2f", ExactSpelling = true)] + internal extern static void RasterPos2f(Single x, Single y); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRasterPos2fv", ExactSpelling = true)] + internal extern static unsafe void RasterPos2fv(Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRasterPos2i", ExactSpelling = true)] + internal extern static void RasterPos2i(Int32 x, Int32 y); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRasterPos2iv", ExactSpelling = true)] + internal extern static unsafe void RasterPos2iv(Int32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRasterPos2s", ExactSpelling = true)] + internal extern static void RasterPos2s(Int16 x, Int16 y); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRasterPos2sv", ExactSpelling = true)] + internal extern static unsafe void RasterPos2sv(Int16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRasterPos3d", ExactSpelling = true)] + internal extern static void RasterPos3d(Double x, Double y, Double z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRasterPos3dv", ExactSpelling = true)] + internal extern static unsafe void RasterPos3dv(Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRasterPos3f", ExactSpelling = true)] + internal extern static void RasterPos3f(Single x, Single y, Single z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRasterPos3fv", ExactSpelling = true)] + internal extern static unsafe void RasterPos3fv(Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRasterPos3i", ExactSpelling = true)] + internal extern static void RasterPos3i(Int32 x, Int32 y, Int32 z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRasterPos3iv", ExactSpelling = true)] + internal extern static unsafe void RasterPos3iv(Int32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRasterPos3s", ExactSpelling = true)] + internal extern static void RasterPos3s(Int16 x, Int16 y, Int16 z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRasterPos3sv", ExactSpelling = true)] + internal extern static unsafe void RasterPos3sv(Int16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRasterPos4d", ExactSpelling = true)] + internal extern static void RasterPos4d(Double x, Double y, Double z, Double w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRasterPos4dv", ExactSpelling = true)] + internal extern static unsafe void RasterPos4dv(Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRasterPos4f", ExactSpelling = true)] + internal extern static void RasterPos4f(Single x, Single y, Single z, Single w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRasterPos4fv", ExactSpelling = true)] + internal extern static unsafe void RasterPos4fv(Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRasterPos4i", ExactSpelling = true)] + internal extern static void RasterPos4i(Int32 x, Int32 y, Int32 z, Int32 w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRasterPos4iv", ExactSpelling = true)] + internal extern static unsafe void RasterPos4iv(Int32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRasterPos4s", ExactSpelling = true)] + internal extern static void RasterPos4s(Int16 x, Int16 y, Int16 z, Int16 w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRasterPos4sv", ExactSpelling = true)] + internal extern static unsafe void RasterPos4sv(Int16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReadBuffer", ExactSpelling = true)] + internal extern static void ReadBuffer(OpenTK.Graphics.OpenGL.ReadBufferMode mode); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReadInstrumentsSGIX", ExactSpelling = true)] + internal extern static void ReadInstrumentsSGIX(Int32 marker); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReadnPixelsARB", ExactSpelling = true)] + internal extern static void ReadnPixelsARB(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [OutAttribute] IntPtr data); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReadPixels", ExactSpelling = true)] + internal extern static void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr pixels); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRectd", ExactSpelling = true)] + internal extern static void Rectd(Double x1, Double y1, Double x2, Double y2); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRectdv", ExactSpelling = true)] + internal extern static unsafe void Rectdv(Double* v1, Double* v2); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRectf", ExactSpelling = true)] + internal extern static void Rectf(Single x1, Single y1, Single x2, Single y2); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRectfv", ExactSpelling = true)] + internal extern static unsafe void Rectfv(Single* v1, Single* v2); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRecti", ExactSpelling = true)] + internal extern static void Recti(Int32 x1, Int32 y1, Int32 x2, Int32 y2); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRectiv", ExactSpelling = true)] + internal extern static unsafe void Rectiv(Int32* v1, Int32* v2); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRects", ExactSpelling = true)] + internal extern static void Rects(Int16 x1, Int16 y1, Int16 x2, Int16 y2); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRectsv", ExactSpelling = true)] + internal extern static unsafe void Rectsv(Int16* v1, Int16* v2); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReferencePlaneSGIX", ExactSpelling = true)] + internal extern static unsafe void ReferencePlaneSGIX(Double* equation); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReleaseShaderCompiler", ExactSpelling = true)] + internal extern static void ReleaseShaderCompiler(); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRenderbufferStorage", ExactSpelling = true)] + internal extern static void RenderbufferStorage(OpenTK.Graphics.OpenGL.RenderbufferTarget target, OpenTK.Graphics.OpenGL.RenderbufferStorage internalformat, Int32 width, Int32 height); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRenderbufferStorageEXT", ExactSpelling = true)] + internal extern static void RenderbufferStorageEXT(OpenTK.Graphics.OpenGL.RenderbufferTarget target, OpenTK.Graphics.OpenGL.RenderbufferStorage internalformat, Int32 width, Int32 height); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRenderbufferStorageMultisample", ExactSpelling = true)] + internal extern static void RenderbufferStorageMultisample(OpenTK.Graphics.OpenGL.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.OpenGL.RenderbufferStorage internalformat, Int32 width, Int32 height); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRenderbufferStorageMultisampleCoverageNV", ExactSpelling = true)] + internal extern static void RenderbufferStorageMultisampleCoverageNV(OpenTK.Graphics.OpenGL.RenderbufferTarget target, Int32 coverageSamples, Int32 colorSamples, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRenderbufferStorageMultisampleEXT", ExactSpelling = true)] + internal extern static void RenderbufferStorageMultisampleEXT(OpenTK.Graphics.OpenGL.ExtFramebufferMultisample target, Int32 samples, OpenTK.Graphics.OpenGL.ExtFramebufferMultisample internalformat, Int32 width, Int32 height); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRenderMode", ExactSpelling = true)] + internal extern static Int32 RenderMode(OpenTK.Graphics.OpenGL.RenderingMode mode); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReplacementCodePointerSUN", ExactSpelling = true)] + internal extern static void ReplacementCodePointerSUN(OpenTK.Graphics.OpenGL.SunTriangleList type, Int32 stride, IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReplacementCodeubSUN", ExactSpelling = true)] + internal extern static void ReplacementCodeubSUN(Byte code); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReplacementCodeubvSUN", ExactSpelling = true)] + internal extern static unsafe void ReplacementCodeubvSUN(Byte* code); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReplacementCodeuiColor3fVertex3fSUN", ExactSpelling = true)] + internal extern static void ReplacementCodeuiColor3fVertex3fSUN(UInt32 rc, Single r, Single g, Single b, Single x, Single y, Single z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReplacementCodeuiColor3fVertex3fvSUN", ExactSpelling = true)] + internal extern static unsafe void ReplacementCodeuiColor3fVertex3fvSUN(UInt32* rc, Single* c, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReplacementCodeuiColor4fNormal3fVertex3fSUN", ExactSpelling = true)] + internal extern static void ReplacementCodeuiColor4fNormal3fVertex3fSUN(UInt32 rc, Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReplacementCodeuiColor4fNormal3fVertex3fvSUN", ExactSpelling = true)] + internal extern static unsafe void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(UInt32* rc, Single* c, Single* n, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReplacementCodeuiColor4ubVertex3fSUN", ExactSpelling = true)] + internal extern static void ReplacementCodeuiColor4ubVertex3fSUN(UInt32 rc, Byte r, Byte g, Byte b, Byte a, Single x, Single y, Single z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReplacementCodeuiColor4ubVertex3fvSUN", ExactSpelling = true)] + internal extern static unsafe void ReplacementCodeuiColor4ubVertex3fvSUN(UInt32* rc, Byte* c, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReplacementCodeuiNormal3fVertex3fSUN", ExactSpelling = true)] + internal extern static void ReplacementCodeuiNormal3fVertex3fSUN(UInt32 rc, Single nx, Single ny, Single nz, Single x, Single y, Single z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReplacementCodeuiNormal3fVertex3fvSUN", ExactSpelling = true)] + internal extern static unsafe void ReplacementCodeuiNormal3fVertex3fvSUN(UInt32* rc, Single* n, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReplacementCodeuiSUN", ExactSpelling = true)] + internal extern static void ReplacementCodeuiSUN(UInt32 code); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN", ExactSpelling = true)] + internal extern static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN(UInt32 rc, Single s, Single t, Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN", ExactSpelling = true)] + internal extern static unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32* rc, Single* tc, Single* c, Single* n, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN", ExactSpelling = true)] + internal extern static void ReplacementCodeuiTexCoord2fNormal3fVertex3fSUN(UInt32 rc, Single s, Single t, Single nx, Single ny, Single nz, Single x, Single y, Single z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN", ExactSpelling = true)] + internal extern static unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(UInt32* rc, Single* tc, Single* n, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReplacementCodeuiTexCoord2fVertex3fSUN", ExactSpelling = true)] + internal extern static void ReplacementCodeuiTexCoord2fVertex3fSUN(UInt32 rc, Single s, Single t, Single x, Single y, Single z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReplacementCodeuiTexCoord2fVertex3fvSUN", ExactSpelling = true)] + internal extern static unsafe void ReplacementCodeuiTexCoord2fVertex3fvSUN(UInt32* rc, Single* tc, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReplacementCodeuiVertex3fSUN", ExactSpelling = true)] + internal extern static void ReplacementCodeuiVertex3fSUN(UInt32 rc, Single x, Single y, Single z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReplacementCodeuiVertex3fvSUN", ExactSpelling = true)] + internal extern static unsafe void ReplacementCodeuiVertex3fvSUN(UInt32* rc, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReplacementCodeuivSUN", ExactSpelling = true)] + internal extern static unsafe void ReplacementCodeuivSUN(UInt32* code); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReplacementCodeusSUN", ExactSpelling = true)] + internal extern static void ReplacementCodeusSUN(UInt16 code); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReplacementCodeusvSUN", ExactSpelling = true)] + internal extern static unsafe void ReplacementCodeusvSUN(UInt16* code); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRequestResidentProgramsNV", ExactSpelling = true)] + internal extern static unsafe void RequestResidentProgramsNV(Int32 n, UInt32* programs); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glResetHistogram", ExactSpelling = true)] + internal extern static void ResetHistogram(OpenTK.Graphics.OpenGL.HistogramTarget target); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glResetHistogramEXT", ExactSpelling = true)] + internal extern static void ResetHistogramEXT(OpenTK.Graphics.OpenGL.ExtHistogram target); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glResetMinmax", ExactSpelling = true)] + internal extern static void ResetMinmax(OpenTK.Graphics.OpenGL.MinmaxTarget target); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glResetMinmaxEXT", ExactSpelling = true)] + internal extern static void ResetMinmaxEXT(OpenTK.Graphics.OpenGL.ExtHistogram target); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glResizeBuffersMESA", CharSet = CharSet.Auto)] + internal extern static void ResizeBuffersMESA(); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glResumeTransformFeedback", ExactSpelling = true)] + internal extern static void ResumeTransformFeedback(); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glResumeTransformFeedbackNV", ExactSpelling = true)] + internal extern static void ResumeTransformFeedbackNV(); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRotated", ExactSpelling = true)] + internal extern static void Rotated(Double angle, Double x, Double y, Double z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRotatef", ExactSpelling = true)] + internal extern static void Rotatef(Single angle, Single x, Single y, Single z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSampleCoverage", ExactSpelling = true)] + internal extern static void SampleCoverage(Single value, bool invert); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSampleCoverageARB", ExactSpelling = true)] + internal extern static void SampleCoverageARB(Single value, bool invert); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSampleMapATI", ExactSpelling = true)] + internal extern static void SampleMapATI(UInt32 dst, UInt32 interp, OpenTK.Graphics.OpenGL.AtiFragmentShader swizzle); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSampleMaskEXT", ExactSpelling = true)] + internal extern static void SampleMaskEXT(Single value, bool invert); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSampleMaski", ExactSpelling = true)] + internal extern static void SampleMaski(UInt32 index, UInt32 mask); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSampleMaskIndexedNV", ExactSpelling = true)] + internal extern static void SampleMaskIndexedNV(UInt32 index, UInt32 mask); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSampleMaskSGIS", ExactSpelling = true)] + internal extern static void SampleMaskSGIS(Single value, bool invert); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSamplePatternEXT", ExactSpelling = true)] + internal extern static void SamplePatternEXT(OpenTK.Graphics.OpenGL.ExtMultisample pattern); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSamplePatternSGIS", ExactSpelling = true)] + internal extern static void SamplePatternSGIS(OpenTK.Graphics.OpenGL.SgisMultisample pattern); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSamplerParameterf", ExactSpelling = true)] + internal extern static void SamplerParameterf(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameter pname, Single param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSamplerParameterfv", ExactSpelling = true)] + internal extern static unsafe void SamplerParameterfv(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameter pname, Single* param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSamplerParameteri", ExactSpelling = true)] + internal extern static void SamplerParameteri(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameter pname, Int32 param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSamplerParameterIiv", ExactSpelling = true)] + internal extern static unsafe void SamplerParameterIiv(UInt32 sampler, OpenTK.Graphics.OpenGL.ArbSamplerObjects pname, Int32* param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSamplerParameterIuiv", ExactSpelling = true)] + internal extern static unsafe void SamplerParameterIuiv(UInt32 sampler, OpenTK.Graphics.OpenGL.ArbSamplerObjects pname, UInt32* param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSamplerParameteriv", ExactSpelling = true)] + internal extern static unsafe void SamplerParameteriv(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameter pname, Int32* param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glScaled", ExactSpelling = true)] + internal extern static void Scaled(Double x, Double y, Double z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glScalef", ExactSpelling = true)] + internal extern static void Scalef(Single x, Single y, Single z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glScissor", ExactSpelling = true)] + internal extern static void Scissor(Int32 x, Int32 y, Int32 width, Int32 height); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glScissorArrayv", ExactSpelling = true)] + internal extern static unsafe void ScissorArrayv(UInt32 first, Int32 count, Int32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glScissorIndexed", ExactSpelling = true)] + internal extern static void ScissorIndexed(UInt32 index, Int32 left, Int32 bottom, Int32 width, Int32 height); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glScissorIndexedv", ExactSpelling = true)] + internal extern static unsafe void ScissorIndexedv(UInt32 index, Int32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3b", ExactSpelling = true)] + internal extern static void SecondaryColor3b(SByte red, SByte green, SByte blue); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3bEXT", ExactSpelling = true)] + internal extern static void SecondaryColor3bEXT(SByte red, SByte green, SByte blue); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3bv", ExactSpelling = true)] + internal extern static unsafe void SecondaryColor3bv(SByte* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3bvEXT", ExactSpelling = true)] + internal extern static unsafe void SecondaryColor3bvEXT(SByte* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3d", ExactSpelling = true)] + internal extern static void SecondaryColor3d(Double red, Double green, Double blue); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3dEXT", ExactSpelling = true)] + internal extern static void SecondaryColor3dEXT(Double red, Double green, Double blue); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3dv", ExactSpelling = true)] + internal extern static unsafe void SecondaryColor3dv(Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3dvEXT", ExactSpelling = true)] + internal extern static unsafe void SecondaryColor3dvEXT(Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3f", ExactSpelling = true)] + internal extern static void SecondaryColor3f(Single red, Single green, Single blue); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3fEXT", ExactSpelling = true)] + internal extern static void SecondaryColor3fEXT(Single red, Single green, Single blue); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3fv", ExactSpelling = true)] + internal extern static unsafe void SecondaryColor3fv(Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3fvEXT", ExactSpelling = true)] + internal extern static unsafe void SecondaryColor3fvEXT(Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3hNV", ExactSpelling = true)] + internal extern static void SecondaryColor3hNV(Half red, Half green, Half blue); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3hvNV", ExactSpelling = true)] + internal extern static unsafe void SecondaryColor3hvNV(Half* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3i", ExactSpelling = true)] + internal extern static void SecondaryColor3i(Int32 red, Int32 green, Int32 blue); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3iEXT", ExactSpelling = true)] + internal extern static void SecondaryColor3iEXT(Int32 red, Int32 green, Int32 blue); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3iv", ExactSpelling = true)] + internal extern static unsafe void SecondaryColor3iv(Int32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3ivEXT", ExactSpelling = true)] + internal extern static unsafe void SecondaryColor3ivEXT(Int32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3s", ExactSpelling = true)] + internal extern static void SecondaryColor3s(Int16 red, Int16 green, Int16 blue); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3sEXT", ExactSpelling = true)] + internal extern static void SecondaryColor3sEXT(Int16 red, Int16 green, Int16 blue); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3sv", ExactSpelling = true)] + internal extern static unsafe void SecondaryColor3sv(Int16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3svEXT", ExactSpelling = true)] + internal extern static unsafe void SecondaryColor3svEXT(Int16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3ub", ExactSpelling = true)] + internal extern static void SecondaryColor3ub(Byte red, Byte green, Byte blue); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3ubEXT", ExactSpelling = true)] + internal extern static void SecondaryColor3ubEXT(Byte red, Byte green, Byte blue); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3ubv", ExactSpelling = true)] + internal extern static unsafe void SecondaryColor3ubv(Byte* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3ubvEXT", ExactSpelling = true)] + internal extern static unsafe void SecondaryColor3ubvEXT(Byte* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3ui", ExactSpelling = true)] + internal extern static void SecondaryColor3ui(UInt32 red, UInt32 green, UInt32 blue); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3uiEXT", ExactSpelling = true)] + internal extern static void SecondaryColor3uiEXT(UInt32 red, UInt32 green, UInt32 blue); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3uiv", ExactSpelling = true)] + internal extern static unsafe void SecondaryColor3uiv(UInt32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3uivEXT", ExactSpelling = true)] + internal extern static unsafe void SecondaryColor3uivEXT(UInt32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3us", ExactSpelling = true)] + internal extern static void SecondaryColor3us(UInt16 red, UInt16 green, UInt16 blue); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3usEXT", ExactSpelling = true)] + internal extern static void SecondaryColor3usEXT(UInt16 red, UInt16 green, UInt16 blue); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3usv", ExactSpelling = true)] + internal extern static unsafe void SecondaryColor3usv(UInt16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3usvEXT", ExactSpelling = true)] + internal extern static unsafe void SecondaryColor3usvEXT(UInt16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColorFormatNV", ExactSpelling = true)] + internal extern static void SecondaryColorFormatNV(Int32 size, OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColorP3ui", ExactSpelling = true)] + internal extern static void SecondaryColorP3ui(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 color); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColorP3uiv", ExactSpelling = true)] + internal extern static unsafe void SecondaryColorP3uiv(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* color); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColorPointer", ExactSpelling = true)] + internal extern static void SecondaryColorPointer(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColorPointerEXT", ExactSpelling = true)] + internal extern static void SecondaryColorPointerEXT(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColorPointerListIBM", ExactSpelling = true)] + internal extern static void SecondaryColorPointerListIBM(Int32 size, OpenTK.Graphics.OpenGL.IbmVertexArrayLists type, Int32 stride, IntPtr pointer, Int32 ptrstride); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSelectBuffer", ExactSpelling = true)] + internal extern static unsafe void SelectBuffer(Int32 size, [OutAttribute] UInt32* buffer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSelectPerfMonitorCountersAMD", ExactSpelling = true)] + internal extern static unsafe void SelectPerfMonitorCountersAMD(UInt32 monitor, bool enable, UInt32 group, Int32 numCounters, [OutAttribute] UInt32* counterList); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSeparableFilter2D", ExactSpelling = true)] + internal extern static void SeparableFilter2D(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr row, IntPtr column); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSeparableFilter2DEXT", ExactSpelling = true)] + internal extern static void SeparableFilter2DEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr row, IntPtr column); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSetFenceAPPLE", ExactSpelling = true)] + internal extern static void SetFenceAPPLE(UInt32 fence); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSetFenceNV", ExactSpelling = true)] + internal extern static void SetFenceNV(UInt32 fence, OpenTK.Graphics.OpenGL.NvFence condition); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSetFragmentShaderConstantATI", ExactSpelling = true)] + internal extern static unsafe void SetFragmentShaderConstantATI(UInt32 dst, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSetInvariantEXT", ExactSpelling = true)] + internal extern static void SetInvariantEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, IntPtr addr); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSetLocalConstantEXT", ExactSpelling = true)] + internal extern static void SetLocalConstantEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, IntPtr addr); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSetMultisamplefvAMD", ExactSpelling = true)] + internal extern static unsafe void SetMultisamplefvAMD(OpenTK.Graphics.OpenGL.AmdSamplePositions pname, UInt32 index, Single* val); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glShadeModel", ExactSpelling = true)] + internal extern static void ShadeModel(OpenTK.Graphics.OpenGL.ShadingModel mode); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glShaderBinary", ExactSpelling = true)] + internal extern static unsafe void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, IntPtr binary, Int32 length); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glShaderOp1EXT", ExactSpelling = true)] + internal extern static void ShaderOp1EXT(OpenTK.Graphics.OpenGL.ExtVertexShader op, UInt32 res, UInt32 arg1); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glShaderOp2EXT", ExactSpelling = true)] + internal extern static void ShaderOp2EXT(OpenTK.Graphics.OpenGL.ExtVertexShader op, UInt32 res, UInt32 arg1, UInt32 arg2); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glShaderOp3EXT", ExactSpelling = true)] + internal extern static void ShaderOp3EXT(OpenTK.Graphics.OpenGL.ExtVertexShader op, UInt32 res, UInt32 arg1, UInt32 arg2, UInt32 arg3); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glShaderSource", ExactSpelling = true)] + internal extern static unsafe void ShaderSource(UInt32 shader, Int32 count, String[] @string, Int32* length); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glShaderSourceARB", ExactSpelling = true)] + internal extern static unsafe void ShaderSourceARB(UInt32 shaderObj, Int32 count, String[] @string, Int32* length); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSharpenTexFuncSGIS", ExactSpelling = true)] + internal extern static unsafe void SharpenTexFuncSGIS(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 n, Single* points); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSpriteParameterfSGIX", ExactSpelling = true)] + internal extern static void SpriteParameterfSGIX(OpenTK.Graphics.OpenGL.SgixSprite pname, Single param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSpriteParameterfvSGIX", ExactSpelling = true)] + internal extern static unsafe void SpriteParameterfvSGIX(OpenTK.Graphics.OpenGL.SgixSprite pname, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSpriteParameteriSGIX", ExactSpelling = true)] + internal extern static void SpriteParameteriSGIX(OpenTK.Graphics.OpenGL.SgixSprite pname, Int32 param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSpriteParameterivSGIX", ExactSpelling = true)] + internal extern static unsafe void SpriteParameterivSGIX(OpenTK.Graphics.OpenGL.SgixSprite pname, Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStartInstrumentsSGIX", ExactSpelling = true)] + internal extern static void StartInstrumentsSGIX(); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilClearTagEXT", ExactSpelling = true)] + internal extern static void StencilClearTagEXT(Int32 stencilTagBits, UInt32 stencilClearTag); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilFunc", ExactSpelling = true)] + internal extern static void StencilFunc(OpenTK.Graphics.OpenGL.StencilFunction func, Int32 @ref, UInt32 mask); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilFuncSeparate", ExactSpelling = true)] + internal extern static void StencilFuncSeparate(OpenTK.Graphics.OpenGL.Version20 face, OpenTK.Graphics.OpenGL.StencilFunction func, Int32 @ref, UInt32 mask); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilFuncSeparateATI", ExactSpelling = true)] + internal extern static void StencilFuncSeparateATI(OpenTK.Graphics.OpenGL.StencilFunction frontfunc, OpenTK.Graphics.OpenGL.StencilFunction backfunc, Int32 @ref, UInt32 mask); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilMask", ExactSpelling = true)] + internal extern static void StencilMask(UInt32 mask); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilMaskSeparate", ExactSpelling = true)] + internal extern static void StencilMaskSeparate(OpenTK.Graphics.OpenGL.StencilFace face, UInt32 mask); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilOp", ExactSpelling = true)] + internal extern static void StencilOp(OpenTK.Graphics.OpenGL.StencilOp fail, OpenTK.Graphics.OpenGL.StencilOp zfail, OpenTK.Graphics.OpenGL.StencilOp zpass); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilOpSeparate", ExactSpelling = true)] + internal extern static void StencilOpSeparate(OpenTK.Graphics.OpenGL.StencilFace face, OpenTK.Graphics.OpenGL.StencilOp sfail, OpenTK.Graphics.OpenGL.StencilOp dpfail, OpenTK.Graphics.OpenGL.StencilOp dppass); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilOpSeparateATI", ExactSpelling = true)] + internal extern static void StencilOpSeparateATI(OpenTK.Graphics.OpenGL.AtiSeparateStencil face, OpenTK.Graphics.OpenGL.StencilOp sfail, OpenTK.Graphics.OpenGL.StencilOp dpfail, OpenTK.Graphics.OpenGL.StencilOp dppass); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStopInstrumentsSGIX", ExactSpelling = true)] + internal extern static void StopInstrumentsSGIX(Int32 marker); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStringMarkerGREMEDY", ExactSpelling = true)] + internal extern static void StringMarkerGREMEDY(Int32 len, IntPtr @string); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSwizzleEXT", ExactSpelling = true)] + internal extern static void SwizzleEXT(UInt32 res, UInt32 @in, OpenTK.Graphics.OpenGL.ExtVertexShader outX, OpenTK.Graphics.OpenGL.ExtVertexShader outY, OpenTK.Graphics.OpenGL.ExtVertexShader outZ, OpenTK.Graphics.OpenGL.ExtVertexShader outW); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTagSampleBufferSGIX", ExactSpelling = true)] + internal extern static void TagSampleBufferSGIX(); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTangent3bEXT", ExactSpelling = true)] + internal extern static void Tangent3bEXT(SByte tx, SByte ty, SByte tz); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTangent3bvEXT", ExactSpelling = true)] + internal extern static unsafe void Tangent3bvEXT(SByte* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTangent3dEXT", ExactSpelling = true)] + internal extern static void Tangent3dEXT(Double tx, Double ty, Double tz); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTangent3dvEXT", ExactSpelling = true)] + internal extern static unsafe void Tangent3dvEXT(Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTangent3fEXT", ExactSpelling = true)] + internal extern static void Tangent3fEXT(Single tx, Single ty, Single tz); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTangent3fvEXT", ExactSpelling = true)] + internal extern static unsafe void Tangent3fvEXT(Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTangent3iEXT", ExactSpelling = true)] + internal extern static void Tangent3iEXT(Int32 tx, Int32 ty, Int32 tz); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTangent3ivEXT", ExactSpelling = true)] + internal extern static unsafe void Tangent3ivEXT(Int32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTangent3sEXT", ExactSpelling = true)] + internal extern static void Tangent3sEXT(Int16 tx, Int16 ty, Int16 tz); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTangent3svEXT", ExactSpelling = true)] + internal extern static unsafe void Tangent3svEXT(Int16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTangentPointerEXT", ExactSpelling = true)] + internal extern static void TangentPointerEXT(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTbufferMask3DFX", ExactSpelling = true)] + internal extern static void TbufferMask3DFX(UInt32 mask); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTessellationFactorAMD", ExactSpelling = true)] + internal extern static void TessellationFactorAMD(Single factor); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTessellationModeAMD", ExactSpelling = true)] + internal extern static void TessellationModeAMD(OpenTK.Graphics.OpenGL.AmdVertexShaderTesselator mode); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTestFenceAPPLE", ExactSpelling = true)] + internal extern static bool TestFenceAPPLE(UInt32 fence); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTestFenceNV", ExactSpelling = true)] + internal extern static bool TestFenceNV(UInt32 fence); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTestObjectAPPLE", ExactSpelling = true)] + internal extern static bool TestObjectAPPLE(OpenTK.Graphics.OpenGL.AppleFence @object, UInt32 name); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexBuffer", ExactSpelling = true)] + internal extern static void TexBuffer(OpenTK.Graphics.OpenGL.TextureBufferTarget target, OpenTK.Graphics.OpenGL.SizedInternalFormat internalformat, UInt32 buffer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexBufferARB", ExactSpelling = true)] + internal extern static void TexBufferARB(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.ArbTextureBufferObject internalformat, UInt32 buffer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexBufferEXT", ExactSpelling = true)] + internal extern static void TexBufferEXT(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.ExtTextureBufferObject internalformat, UInt32 buffer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexBumpParameterfvATI", ExactSpelling = true)] + internal extern static unsafe void TexBumpParameterfvATI(OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap pname, Single* param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexBumpParameterivATI", ExactSpelling = true)] + internal extern static unsafe void TexBumpParameterivATI(OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap pname, Int32* param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord1d", ExactSpelling = true)] + internal extern static void TexCoord1d(Double s); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord1dv", ExactSpelling = true)] + internal extern static unsafe void TexCoord1dv(Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord1f", ExactSpelling = true)] + internal extern static void TexCoord1f(Single s); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord1fv", ExactSpelling = true)] + internal extern static unsafe void TexCoord1fv(Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord1hNV", ExactSpelling = true)] + internal extern static void TexCoord1hNV(Half s); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord1hvNV", ExactSpelling = true)] + internal extern static unsafe void TexCoord1hvNV(Half* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord1i", ExactSpelling = true)] + internal extern static void TexCoord1i(Int32 s); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord1iv", ExactSpelling = true)] + internal extern static unsafe void TexCoord1iv(Int32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord1s", ExactSpelling = true)] + internal extern static void TexCoord1s(Int16 s); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord1sv", ExactSpelling = true)] + internal extern static unsafe void TexCoord1sv(Int16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord2d", ExactSpelling = true)] + internal extern static void TexCoord2d(Double s, Double t); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord2dv", ExactSpelling = true)] + internal extern static unsafe void TexCoord2dv(Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord2f", ExactSpelling = true)] + internal extern static void TexCoord2f(Single s, Single t); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord2fColor3fVertex3fSUN", ExactSpelling = true)] + internal extern static void TexCoord2fColor3fVertex3fSUN(Single s, Single t, Single r, Single g, Single b, Single x, Single y, Single z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord2fColor3fVertex3fvSUN", ExactSpelling = true)] + internal extern static unsafe void TexCoord2fColor3fVertex3fvSUN(Single* tc, Single* c, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord2fColor4fNormal3fVertex3fSUN", ExactSpelling = true)] + internal extern static void TexCoord2fColor4fNormal3fVertex3fSUN(Single s, Single t, Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord2fColor4fNormal3fVertex3fvSUN", ExactSpelling = true)] + internal extern static unsafe void TexCoord2fColor4fNormal3fVertex3fvSUN(Single* tc, Single* c, Single* n, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord2fColor4ubVertex3fSUN", ExactSpelling = true)] + internal extern static void TexCoord2fColor4ubVertex3fSUN(Single s, Single t, Byte r, Byte g, Byte b, Byte a, Single x, Single y, Single z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord2fColor4ubVertex3fvSUN", ExactSpelling = true)] + internal extern static unsafe void TexCoord2fColor4ubVertex3fvSUN(Single* tc, Byte* c, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord2fNormal3fVertex3fSUN", ExactSpelling = true)] + internal extern static void TexCoord2fNormal3fVertex3fSUN(Single s, Single t, Single nx, Single ny, Single nz, Single x, Single y, Single z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord2fNormal3fVertex3fvSUN", ExactSpelling = true)] + internal extern static unsafe void TexCoord2fNormal3fVertex3fvSUN(Single* tc, Single* n, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord2fv", ExactSpelling = true)] + internal extern static unsafe void TexCoord2fv(Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord2fVertex3fSUN", ExactSpelling = true)] + internal extern static void TexCoord2fVertex3fSUN(Single s, Single t, Single x, Single y, Single z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord2fVertex3fvSUN", ExactSpelling = true)] + internal extern static unsafe void TexCoord2fVertex3fvSUN(Single* tc, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord2hNV", ExactSpelling = true)] + internal extern static void TexCoord2hNV(Half s, Half t); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord2hvNV", ExactSpelling = true)] + internal extern static unsafe void TexCoord2hvNV(Half* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord2i", ExactSpelling = true)] + internal extern static void TexCoord2i(Int32 s, Int32 t); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord2iv", ExactSpelling = true)] + internal extern static unsafe void TexCoord2iv(Int32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord2s", ExactSpelling = true)] + internal extern static void TexCoord2s(Int16 s, Int16 t); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord2sv", ExactSpelling = true)] + internal extern static unsafe void TexCoord2sv(Int16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord3d", ExactSpelling = true)] + internal extern static void TexCoord3d(Double s, Double t, Double r); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord3dv", ExactSpelling = true)] + internal extern static unsafe void TexCoord3dv(Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord3f", ExactSpelling = true)] + internal extern static void TexCoord3f(Single s, Single t, Single r); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord3fv", ExactSpelling = true)] + internal extern static unsafe void TexCoord3fv(Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord3hNV", ExactSpelling = true)] + internal extern static void TexCoord3hNV(Half s, Half t, Half r); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord3hvNV", ExactSpelling = true)] + internal extern static unsafe void TexCoord3hvNV(Half* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord3i", ExactSpelling = true)] + internal extern static void TexCoord3i(Int32 s, Int32 t, Int32 r); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord3iv", ExactSpelling = true)] + internal extern static unsafe void TexCoord3iv(Int32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord3s", ExactSpelling = true)] + internal extern static void TexCoord3s(Int16 s, Int16 t, Int16 r); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord3sv", ExactSpelling = true)] + internal extern static unsafe void TexCoord3sv(Int16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord4d", ExactSpelling = true)] + internal extern static void TexCoord4d(Double s, Double t, Double r, Double q); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord4dv", ExactSpelling = true)] + internal extern static unsafe void TexCoord4dv(Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord4f", ExactSpelling = true)] + internal extern static void TexCoord4f(Single s, Single t, Single r, Single q); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord4fColor4fNormal3fVertex4fSUN", ExactSpelling = true)] + internal extern static void TexCoord4fColor4fNormal3fVertex4fSUN(Single s, Single t, Single p, Single q, Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z, Single w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord4fColor4fNormal3fVertex4fvSUN", ExactSpelling = true)] + internal extern static unsafe void TexCoord4fColor4fNormal3fVertex4fvSUN(Single* tc, Single* c, Single* n, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord4fv", ExactSpelling = true)] + internal extern static unsafe void TexCoord4fv(Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord4fVertex4fSUN", ExactSpelling = true)] + internal extern static void TexCoord4fVertex4fSUN(Single s, Single t, Single p, Single q, Single x, Single y, Single z, Single w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord4fVertex4fvSUN", ExactSpelling = true)] + internal extern static unsafe void TexCoord4fVertex4fvSUN(Single* tc, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord4hNV", ExactSpelling = true)] + internal extern static void TexCoord4hNV(Half s, Half t, Half r, Half q); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord4hvNV", ExactSpelling = true)] + internal extern static unsafe void TexCoord4hvNV(Half* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord4i", ExactSpelling = true)] + internal extern static void TexCoord4i(Int32 s, Int32 t, Int32 r, Int32 q); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord4iv", ExactSpelling = true)] + internal extern static unsafe void TexCoord4iv(Int32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord4s", ExactSpelling = true)] + internal extern static void TexCoord4s(Int16 s, Int16 t, Int16 r, Int16 q); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord4sv", ExactSpelling = true)] + internal extern static unsafe void TexCoord4sv(Int16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoordFormatNV", ExactSpelling = true)] + internal extern static void TexCoordFormatNV(Int32 size, OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoordP1ui", ExactSpelling = true)] + internal extern static void TexCoordP1ui(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoordP1uiv", ExactSpelling = true)] + internal extern static unsafe void TexCoordP1uiv(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoordP2ui", ExactSpelling = true)] + internal extern static void TexCoordP2ui(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoordP2uiv", ExactSpelling = true)] + internal extern static unsafe void TexCoordP2uiv(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoordP3ui", ExactSpelling = true)] + internal extern static void TexCoordP3ui(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoordP3uiv", ExactSpelling = true)] + internal extern static unsafe void TexCoordP3uiv(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoordP4ui", ExactSpelling = true)] + internal extern static void TexCoordP4ui(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoordP4uiv", ExactSpelling = true)] + internal extern static unsafe void TexCoordP4uiv(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoordPointer", ExactSpelling = true)] + internal extern static void TexCoordPointer(Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoordPointerEXT", ExactSpelling = true)] + internal extern static void TexCoordPointerEXT(Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, Int32 count, IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoordPointerListIBM", ExactSpelling = true)] + internal extern static void TexCoordPointerListIBM(Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoordPointervINTEL", ExactSpelling = true)] + internal extern static void TexCoordPointervINTEL(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexEnvf", ExactSpelling = true)] + internal extern static void TexEnvf(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Single param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexEnvfv", ExactSpelling = true)] + internal extern static unsafe void TexEnvfv(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexEnvi", ExactSpelling = true)] + internal extern static void TexEnvi(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Int32 param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexEnviv", ExactSpelling = true)] + internal extern static unsafe void TexEnviv(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexFilterFuncSGIS", ExactSpelling = true)] + internal extern static unsafe void TexFilterFuncSGIS(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.SgisTextureFilter4 filter, Int32 n, Single* weights); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexGend", ExactSpelling = true)] + internal extern static void TexGend(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Double param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexGendv", ExactSpelling = true)] + internal extern static unsafe void TexGendv(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Double* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexGenf", ExactSpelling = true)] + internal extern static void TexGenf(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Single param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexGenfv", ExactSpelling = true)] + internal extern static unsafe void TexGenfv(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexGeni", ExactSpelling = true)] + internal extern static void TexGeni(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Int32 param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexGeniv", ExactSpelling = true)] + internal extern static unsafe void TexGeniv(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexImage1D", ExactSpelling = true)] + internal extern static void TexImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexImage2D", ExactSpelling = true)] + internal extern static void TexImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexImage2DMultisample", ExactSpelling = true)] + internal extern static void TexImage2DMultisample(OpenTK.Graphics.OpenGL.TextureTargetMultisample target, Int32 samples, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, bool fixedsamplelocations); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexImage2DMultisampleCoverageNV", ExactSpelling = true)] + internal extern static void TexImage2DMultisampleCoverageNV(OpenTK.Graphics.OpenGL.NvTextureMultisample target, Int32 coverageSamples, Int32 colorSamples, Int32 internalFormat, Int32 width, Int32 height, bool fixedSampleLocations); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexImage3D", ExactSpelling = true)] + internal extern static void TexImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexImage3DEXT", ExactSpelling = true)] + internal extern static void TexImage3DEXT(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexImage3DMultisample", ExactSpelling = true)] + internal extern static void TexImage3DMultisample(OpenTK.Graphics.OpenGL.TextureTargetMultisample target, Int32 samples, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, bool fixedsamplelocations); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexImage3DMultisampleCoverageNV", ExactSpelling = true)] + internal extern static void TexImage3DMultisampleCoverageNV(OpenTK.Graphics.OpenGL.NvTextureMultisample target, Int32 coverageSamples, Int32 colorSamples, Int32 internalFormat, Int32 width, Int32 height, Int32 depth, bool fixedSampleLocations); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexImage4DSGIS", ExactSpelling = true)] + internal extern static void TexImage4DSGIS(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 size4d, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameterf", ExactSpelling = true)] + internal extern static void TexParameterf(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameterfv", ExactSpelling = true)] + internal extern static unsafe void TexParameterfv(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameteri", ExactSpelling = true)] + internal extern static void TexParameteri(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32 param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameterIiv", ExactSpelling = true)] + internal extern static unsafe void TexParameterIiv(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameterIivEXT", ExactSpelling = true)] + internal extern static unsafe void TexParameterIivEXT(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameterIuiv", ExactSpelling = true)] + internal extern static unsafe void TexParameterIuiv(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, UInt32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameterIuivEXT", ExactSpelling = true)] + internal extern static unsafe void TexParameterIuivEXT(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, UInt32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameteriv", ExactSpelling = true)] + internal extern static unsafe void TexParameteriv(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexRenderbufferNV", ExactSpelling = true)] + internal extern static void TexRenderbufferNV(OpenTK.Graphics.OpenGL.TextureTarget target, UInt32 renderbuffer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexSubImage1D", ExactSpelling = true)] + internal extern static void TexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexSubImage1DEXT", ExactSpelling = true)] + internal extern static void TexSubImage1DEXT(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexSubImage2D", ExactSpelling = true)] + internal extern static void TexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexSubImage2DEXT", ExactSpelling = true)] + internal extern static void TexSubImage2DEXT(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexSubImage3D", ExactSpelling = true)] + internal extern static void TexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexSubImage3DEXT", ExactSpelling = true)] + internal extern static void TexSubImage3DEXT(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexSubImage4DSGIS", ExactSpelling = true)] + internal extern static void TexSubImage4DSGIS(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 woffset, Int32 width, Int32 height, Int32 depth, Int32 size4d, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureBarrierNV", ExactSpelling = true)] + internal extern static void TextureBarrierNV(); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureBufferEXT", ExactSpelling = true)] + internal extern static void TextureBufferEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, UInt32 buffer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureColorMaskSGIS", ExactSpelling = true)] + internal extern static void TextureColorMaskSGIS(bool red, bool green, bool blue, bool alpha); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureImage1DEXT", ExactSpelling = true)] + internal extern static void TextureImage1DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureImage2DEXT", ExactSpelling = true)] + internal extern static void TextureImage2DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureImage2DMultisampleCoverageNV", ExactSpelling = true)] + internal extern static void TextureImage2DMultisampleCoverageNV(UInt32 texture, OpenTK.Graphics.OpenGL.NvTextureMultisample target, Int32 coverageSamples, Int32 colorSamples, Int32 internalFormat, Int32 width, Int32 height, bool fixedSampleLocations); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureImage2DMultisampleNV", ExactSpelling = true)] + internal extern static void TextureImage2DMultisampleNV(UInt32 texture, OpenTK.Graphics.OpenGL.NvTextureMultisample target, Int32 samples, Int32 internalFormat, Int32 width, Int32 height, bool fixedSampleLocations); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureImage3DEXT", ExactSpelling = true)] + internal extern static void TextureImage3DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureImage3DMultisampleCoverageNV", ExactSpelling = true)] + internal extern static void TextureImage3DMultisampleCoverageNV(UInt32 texture, OpenTK.Graphics.OpenGL.NvTextureMultisample target, Int32 coverageSamples, Int32 colorSamples, Int32 internalFormat, Int32 width, Int32 height, Int32 depth, bool fixedSampleLocations); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureImage3DMultisampleNV", ExactSpelling = true)] + internal extern static void TextureImage3DMultisampleNV(UInt32 texture, OpenTK.Graphics.OpenGL.NvTextureMultisample target, Int32 samples, Int32 internalFormat, Int32 width, Int32 height, Int32 depth, bool fixedSampleLocations); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureLightEXT", ExactSpelling = true)] + internal extern static void TextureLightEXT(OpenTK.Graphics.OpenGL.ExtLightTexture pname); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureMaterialEXT", ExactSpelling = true)] + internal extern static void TextureMaterialEXT(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter mode); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureNormalEXT", ExactSpelling = true)] + internal extern static void TextureNormalEXT(OpenTK.Graphics.OpenGL.ExtTexturePerturbNormal mode); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureParameterfEXT", ExactSpelling = true)] + internal extern static void TextureParameterfEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureParameterfvEXT", ExactSpelling = true)] + internal extern static unsafe void TextureParameterfvEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureParameteriEXT", ExactSpelling = true)] + internal extern static void TextureParameteriEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32 param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureParameterIivEXT", ExactSpelling = true)] + internal extern static unsafe void TextureParameterIivEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureParameterIuivEXT", ExactSpelling = true)] + internal extern static unsafe void TextureParameterIuivEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, UInt32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureParameterivEXT", ExactSpelling = true)] + internal extern static unsafe void TextureParameterivEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureRangeAPPLE", ExactSpelling = true)] + internal extern static void TextureRangeAPPLE(OpenTK.Graphics.OpenGL.AppleTextureRange target, Int32 length, IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureRenderbufferEXT", ExactSpelling = true)] + internal extern static void TextureRenderbufferEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, UInt32 renderbuffer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureSubImage1DEXT", ExactSpelling = true)] + internal extern static void TextureSubImage1DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureSubImage2DEXT", ExactSpelling = true)] + internal extern static void TextureSubImage2DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureSubImage3DEXT", ExactSpelling = true)] + internal extern static void TextureSubImage3DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTrackMatrixNV", ExactSpelling = true)] + internal extern static void TrackMatrixNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 address, OpenTK.Graphics.OpenGL.NvVertexProgram matrix, OpenTK.Graphics.OpenGL.NvVertexProgram transform); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTransformFeedbackAttribsNV", ExactSpelling = true)] + internal extern static unsafe void TransformFeedbackAttribsNV(UInt32 count, Int32* attribs, OpenTK.Graphics.OpenGL.NvTransformFeedback bufferMode); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTransformFeedbackStreamAttribsNV", ExactSpelling = true)] + internal extern static unsafe void TransformFeedbackStreamAttribsNV(Int32 count, Int32* attribs, Int32 nbuffers, Int32* bufstreams, OpenTK.Graphics.OpenGL.NvTransformFeedback bufferMode); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTransformFeedbackVaryings", ExactSpelling = true)] + internal extern static void TransformFeedbackVaryings(UInt32 program, Int32 count, String[] varyings, OpenTK.Graphics.OpenGL.TransformFeedbackMode bufferMode); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTransformFeedbackVaryingsEXT", ExactSpelling = true)] + internal extern static void TransformFeedbackVaryingsEXT(UInt32 program, Int32 count, String[] varyings, OpenTK.Graphics.OpenGL.ExtTransformFeedback bufferMode); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTransformFeedbackVaryingsNV", ExactSpelling = true)] + internal extern static unsafe void TransformFeedbackVaryingsNV(UInt32 program, Int32 count, Int32* locations, OpenTK.Graphics.OpenGL.NvTransformFeedback bufferMode); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTranslated", ExactSpelling = true)] + internal extern static void Translated(Double x, Double y, Double z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTranslatef", ExactSpelling = true)] + internal extern static void Translatef(Single x, Single y, Single z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform1d", ExactSpelling = true)] + internal extern static void Uniform1d(Int32 location, Double x); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform1dv", ExactSpelling = true)] + internal extern static unsafe void Uniform1dv(Int32 location, Int32 count, Double* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform1f", ExactSpelling = true)] + internal extern static void Uniform1f(Int32 location, Single v0); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform1fARB", ExactSpelling = true)] + internal extern static void Uniform1fARB(Int32 location, Single v0); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform1fv", ExactSpelling = true)] + internal extern static unsafe void Uniform1fv(Int32 location, Int32 count, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform1fvARB", ExactSpelling = true)] + internal extern static unsafe void Uniform1fvARB(Int32 location, Int32 count, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform1i", ExactSpelling = true)] + internal extern static void Uniform1i(Int32 location, Int32 v0); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform1i64NV", ExactSpelling = true)] + internal extern static void Uniform1i64NV(Int32 location, Int64 x); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform1i64vNV", ExactSpelling = true)] + internal extern static unsafe void Uniform1i64vNV(Int32 location, Int32 count, Int64* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform1iARB", ExactSpelling = true)] + internal extern static void Uniform1iARB(Int32 location, Int32 v0); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform1iv", ExactSpelling = true)] + internal extern static unsafe void Uniform1iv(Int32 location, Int32 count, Int32* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform1ivARB", ExactSpelling = true)] + internal extern static unsafe void Uniform1ivARB(Int32 location, Int32 count, Int32* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform1ui", ExactSpelling = true)] + internal extern static void Uniform1ui(Int32 location, UInt32 v0); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform1ui64NV", ExactSpelling = true)] + internal extern static void Uniform1ui64NV(Int32 location, UInt64 x); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform1ui64vNV", ExactSpelling = true)] + internal extern static unsafe void Uniform1ui64vNV(Int32 location, Int32 count, UInt64* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform1uiEXT", ExactSpelling = true)] + internal extern static void Uniform1uiEXT(Int32 location, UInt32 v0); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform1uiv", ExactSpelling = true)] + internal extern static unsafe void Uniform1uiv(Int32 location, Int32 count, UInt32* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform1uivEXT", ExactSpelling = true)] + internal extern static unsafe void Uniform1uivEXT(Int32 location, Int32 count, UInt32* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform2d", ExactSpelling = true)] + internal extern static void Uniform2d(Int32 location, Double x, Double y); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform2dv", ExactSpelling = true)] + internal extern static unsafe void Uniform2dv(Int32 location, Int32 count, Double* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform2f", ExactSpelling = true)] + internal extern static void Uniform2f(Int32 location, Single v0, Single v1); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform2fARB", ExactSpelling = true)] + internal extern static void Uniform2fARB(Int32 location, Single v0, Single v1); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform2fv", ExactSpelling = true)] + internal extern static unsafe void Uniform2fv(Int32 location, Int32 count, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform2fvARB", ExactSpelling = true)] + internal extern static unsafe void Uniform2fvARB(Int32 location, Int32 count, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform2i", ExactSpelling = true)] + internal extern static void Uniform2i(Int32 location, Int32 v0, Int32 v1); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform2i64NV", ExactSpelling = true)] + internal extern static void Uniform2i64NV(Int32 location, Int64 x, Int64 y); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform2i64vNV", ExactSpelling = true)] + internal extern static unsafe void Uniform2i64vNV(Int32 location, Int32 count, Int64* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform2iARB", ExactSpelling = true)] + internal extern static void Uniform2iARB(Int32 location, Int32 v0, Int32 v1); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform2iv", ExactSpelling = true)] + internal extern static unsafe void Uniform2iv(Int32 location, Int32 count, Int32* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform2ivARB", ExactSpelling = true)] + internal extern static unsafe void Uniform2ivARB(Int32 location, Int32 count, Int32* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform2ui", ExactSpelling = true)] + internal extern static void Uniform2ui(Int32 location, UInt32 v0, UInt32 v1); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform2ui64NV", ExactSpelling = true)] + internal extern static void Uniform2ui64NV(Int32 location, UInt64 x, UInt64 y); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform2ui64vNV", ExactSpelling = true)] + internal extern static unsafe void Uniform2ui64vNV(Int32 location, Int32 count, UInt64* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform2uiEXT", ExactSpelling = true)] + internal extern static void Uniform2uiEXT(Int32 location, UInt32 v0, UInt32 v1); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform2uiv", ExactSpelling = true)] + internal extern static unsafe void Uniform2uiv(Int32 location, Int32 count, UInt32* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform2uivEXT", ExactSpelling = true)] + internal extern static unsafe void Uniform2uivEXT(Int32 location, Int32 count, UInt32* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform3d", ExactSpelling = true)] + internal extern static void Uniform3d(Int32 location, Double x, Double y, Double z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform3dv", ExactSpelling = true)] + internal extern static unsafe void Uniform3dv(Int32 location, Int32 count, Double* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform3f", ExactSpelling = true)] + internal extern static void Uniform3f(Int32 location, Single v0, Single v1, Single v2); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform3fARB", ExactSpelling = true)] + internal extern static void Uniform3fARB(Int32 location, Single v0, Single v1, Single v2); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform3fv", ExactSpelling = true)] + internal extern static unsafe void Uniform3fv(Int32 location, Int32 count, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform3fvARB", ExactSpelling = true)] + internal extern static unsafe void Uniform3fvARB(Int32 location, Int32 count, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform3i", ExactSpelling = true)] + internal extern static void Uniform3i(Int32 location, Int32 v0, Int32 v1, Int32 v2); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform3i64NV", ExactSpelling = true)] + internal extern static void Uniform3i64NV(Int32 location, Int64 x, Int64 y, Int64 z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform3i64vNV", ExactSpelling = true)] + internal extern static unsafe void Uniform3i64vNV(Int32 location, Int32 count, Int64* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform3iARB", ExactSpelling = true)] + internal extern static void Uniform3iARB(Int32 location, Int32 v0, Int32 v1, Int32 v2); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform3iv", ExactSpelling = true)] + internal extern static unsafe void Uniform3iv(Int32 location, Int32 count, Int32* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform3ivARB", ExactSpelling = true)] + internal extern static unsafe void Uniform3ivARB(Int32 location, Int32 count, Int32* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform3ui", ExactSpelling = true)] + internal extern static void Uniform3ui(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform3ui64NV", ExactSpelling = true)] + internal extern static void Uniform3ui64NV(Int32 location, UInt64 x, UInt64 y, UInt64 z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform3ui64vNV", ExactSpelling = true)] + internal extern static unsafe void Uniform3ui64vNV(Int32 location, Int32 count, UInt64* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform3uiEXT", ExactSpelling = true)] + internal extern static void Uniform3uiEXT(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform3uiv", ExactSpelling = true)] + internal extern static unsafe void Uniform3uiv(Int32 location, Int32 count, UInt32* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform3uivEXT", ExactSpelling = true)] + internal extern static unsafe void Uniform3uivEXT(Int32 location, Int32 count, UInt32* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform4d", ExactSpelling = true)] + internal extern static void Uniform4d(Int32 location, Double x, Double y, Double z, Double w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform4dv", ExactSpelling = true)] + internal extern static unsafe void Uniform4dv(Int32 location, Int32 count, Double* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform4f", ExactSpelling = true)] + internal extern static void Uniform4f(Int32 location, Single v0, Single v1, Single v2, Single v3); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform4fARB", ExactSpelling = true)] + internal extern static void Uniform4fARB(Int32 location, Single v0, Single v1, Single v2, Single v3); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform4fv", ExactSpelling = true)] + internal extern static unsafe void Uniform4fv(Int32 location, Int32 count, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform4fvARB", ExactSpelling = true)] + internal extern static unsafe void Uniform4fvARB(Int32 location, Int32 count, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform4i", ExactSpelling = true)] + internal extern static void Uniform4i(Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform4i64NV", ExactSpelling = true)] + internal extern static void Uniform4i64NV(Int32 location, Int64 x, Int64 y, Int64 z, Int64 w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform4i64vNV", ExactSpelling = true)] + internal extern static unsafe void Uniform4i64vNV(Int32 location, Int32 count, Int64* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform4iARB", ExactSpelling = true)] + internal extern static void Uniform4iARB(Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform4iv", ExactSpelling = true)] + internal extern static unsafe void Uniform4iv(Int32 location, Int32 count, Int32* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform4ivARB", ExactSpelling = true)] + internal extern static unsafe void Uniform4ivARB(Int32 location, Int32 count, Int32* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform4ui", ExactSpelling = true)] + internal extern static void Uniform4ui(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform4ui64NV", ExactSpelling = true)] + internal extern static void Uniform4ui64NV(Int32 location, UInt64 x, UInt64 y, UInt64 z, UInt64 w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform4ui64vNV", ExactSpelling = true)] + internal extern static unsafe void Uniform4ui64vNV(Int32 location, Int32 count, UInt64* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform4uiEXT", ExactSpelling = true)] + internal extern static void Uniform4uiEXT(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform4uiv", ExactSpelling = true)] + internal extern static unsafe void Uniform4uiv(Int32 location, Int32 count, UInt32* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform4uivEXT", ExactSpelling = true)] + internal extern static unsafe void Uniform4uivEXT(Int32 location, Int32 count, UInt32* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformBlockBinding", ExactSpelling = true)] + internal extern static void UniformBlockBinding(UInt32 program, UInt32 uniformBlockIndex, UInt32 uniformBlockBinding); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformBufferEXT", ExactSpelling = true)] + internal extern static void UniformBufferEXT(UInt32 program, Int32 location, UInt32 buffer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix2dv", ExactSpelling = true)] + internal extern static unsafe void UniformMatrix2dv(Int32 location, Int32 count, bool transpose, Double* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix2fv", ExactSpelling = true)] + internal extern static unsafe void UniformMatrix2fv(Int32 location, Int32 count, bool transpose, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix2fvARB", ExactSpelling = true)] + internal extern static unsafe void UniformMatrix2fvARB(Int32 location, Int32 count, bool transpose, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix2x3dv", ExactSpelling = true)] + internal extern static unsafe void UniformMatrix2x3dv(Int32 location, Int32 count, bool transpose, Double* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix2x3fv", ExactSpelling = true)] + internal extern static unsafe void UniformMatrix2x3fv(Int32 location, Int32 count, bool transpose, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix2x4dv", ExactSpelling = true)] + internal extern static unsafe void UniformMatrix2x4dv(Int32 location, Int32 count, bool transpose, Double* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix2x4fv", ExactSpelling = true)] + internal extern static unsafe void UniformMatrix2x4fv(Int32 location, Int32 count, bool transpose, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix3dv", ExactSpelling = true)] + internal extern static unsafe void UniformMatrix3dv(Int32 location, Int32 count, bool transpose, Double* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix3fv", ExactSpelling = true)] + internal extern static unsafe void UniformMatrix3fv(Int32 location, Int32 count, bool transpose, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix3fvARB", ExactSpelling = true)] + internal extern static unsafe void UniformMatrix3fvARB(Int32 location, Int32 count, bool transpose, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix3x2dv", ExactSpelling = true)] + internal extern static unsafe void UniformMatrix3x2dv(Int32 location, Int32 count, bool transpose, Double* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix3x2fv", ExactSpelling = true)] + internal extern static unsafe void UniformMatrix3x2fv(Int32 location, Int32 count, bool transpose, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix3x4dv", ExactSpelling = true)] + internal extern static unsafe void UniformMatrix3x4dv(Int32 location, Int32 count, bool transpose, Double* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix3x4fv", ExactSpelling = true)] + internal extern static unsafe void UniformMatrix3x4fv(Int32 location, Int32 count, bool transpose, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix4dv", ExactSpelling = true)] + internal extern static unsafe void UniformMatrix4dv(Int32 location, Int32 count, bool transpose, Double* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix4fv", ExactSpelling = true)] + internal extern static unsafe void UniformMatrix4fv(Int32 location, Int32 count, bool transpose, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix4fvARB", ExactSpelling = true)] + internal extern static unsafe void UniformMatrix4fvARB(Int32 location, Int32 count, bool transpose, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix4x2dv", ExactSpelling = true)] + internal extern static unsafe void UniformMatrix4x2dv(Int32 location, Int32 count, bool transpose, Double* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix4x2fv", ExactSpelling = true)] + internal extern static unsafe void UniformMatrix4x2fv(Int32 location, Int32 count, bool transpose, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix4x3dv", ExactSpelling = true)] + internal extern static unsafe void UniformMatrix4x3dv(Int32 location, Int32 count, bool transpose, Double* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix4x3fv", ExactSpelling = true)] + internal extern static unsafe void UniformMatrix4x3fv(Int32 location, Int32 count, bool transpose, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformSubroutinesuiv", ExactSpelling = true)] + internal extern static unsafe void UniformSubroutinesuiv(OpenTK.Graphics.OpenGL.ShaderType shadertype, Int32 count, UInt32* indices); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformui64NV", ExactSpelling = true)] + internal extern static void Uniformui64NV(Int32 location, UInt64 value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformui64vNV", ExactSpelling = true)] + internal extern static unsafe void Uniformui64vNV(Int32 location, Int32 count, UInt64* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUnlockArraysEXT", ExactSpelling = true)] + internal extern static void UnlockArraysEXT(); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUnmapBuffer", ExactSpelling = true)] + internal extern static bool UnmapBuffer(OpenTK.Graphics.OpenGL.BufferTarget target); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUnmapBufferARB", ExactSpelling = true)] + internal extern static bool UnmapBufferARB(OpenTK.Graphics.OpenGL.BufferTargetArb target); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUnmapNamedBufferEXT", ExactSpelling = true)] + internal extern static bool UnmapNamedBufferEXT(UInt32 buffer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUnmapObjectBufferATI", ExactSpelling = true)] + internal extern static void UnmapObjectBufferATI(UInt32 buffer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUpdateObjectBufferATI", ExactSpelling = true)] + internal extern static void UpdateObjectBufferATI(UInt32 buffer, UInt32 offset, Int32 size, IntPtr pointer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject preserve); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUseProgram", ExactSpelling = true)] + internal extern static void UseProgram(UInt32 program); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUseProgramObjectARB", ExactSpelling = true)] + internal extern static void UseProgramObjectARB(UInt32 programObj); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUseProgramStages", ExactSpelling = true)] + internal extern static void UseProgramStages(UInt32 pipeline, OpenTK.Graphics.OpenGL.ProgramStageMask stages, UInt32 program); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUseShaderProgramEXT", ExactSpelling = true)] + internal extern static void UseShaderProgramEXT(OpenTK.Graphics.OpenGL.ExtSeparateShaderObjects type, UInt32 program); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glValidateProgram", ExactSpelling = true)] + internal extern static void ValidateProgram(UInt32 program); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glValidateProgramARB", ExactSpelling = true)] + internal extern static void ValidateProgramARB(UInt32 programObj); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glValidateProgramPipeline", ExactSpelling = true)] + internal extern static void ValidateProgramPipeline(UInt32 pipeline); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVariantArrayObjectATI", ExactSpelling = true)] + internal extern static void VariantArrayObjectATI(UInt32 id, OpenTK.Graphics.OpenGL.AtiVertexArrayObject type, Int32 stride, UInt32 buffer, UInt32 offset); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVariantbvEXT", ExactSpelling = true)] + internal extern static unsafe void VariantbvEXT(UInt32 id, SByte* addr); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVariantdvEXT", ExactSpelling = true)] + internal extern static unsafe void VariantdvEXT(UInt32 id, Double* addr); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVariantfvEXT", ExactSpelling = true)] + internal extern static unsafe void VariantfvEXT(UInt32 id, Single* addr); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVariantivEXT", ExactSpelling = true)] + internal extern static unsafe void VariantivEXT(UInt32 id, Int32* addr); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVariantPointerEXT", ExactSpelling = true)] + internal extern static void VariantPointerEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, UInt32 stride, IntPtr addr); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVariantsvEXT", ExactSpelling = true)] + internal extern static unsafe void VariantsvEXT(UInt32 id, Int16* addr); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVariantubvEXT", ExactSpelling = true)] + internal extern static unsafe void VariantubvEXT(UInt32 id, Byte* addr); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVariantuivEXT", ExactSpelling = true)] + internal extern static unsafe void VariantuivEXT(UInt32 id, UInt32* addr); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVariantusvEXT", ExactSpelling = true)] + internal extern static unsafe void VariantusvEXT(UInt32 id, UInt16* addr); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVDPAUFiniNV", ExactSpelling = true)] + internal extern static void VDPAUFiniNV(); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVDPAUGetSurfaceivNV", ExactSpelling = true)] + internal extern static unsafe void VDPAUGetSurfaceivNV(IntPtr surface, OpenTK.Graphics.OpenGL.NvVdpauInterop pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVDPAUInitNV", ExactSpelling = true)] + internal extern static void VDPAUInitNV(IntPtr vdpDevice, IntPtr getProcAddress); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVDPAUIsSurfaceNV", ExactSpelling = true)] + internal extern static void VDPAUIsSurfaceNV(IntPtr surface); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVDPAUMapSurfacesNV", ExactSpelling = true)] + internal extern static unsafe void VDPAUMapSurfacesNV(Int32 numSurfaces, IntPtr* surfaces); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVDPAURegisterOutputSurfaceNV", ExactSpelling = true)] + internal extern static unsafe IntPtr VDPAURegisterOutputSurfaceNV([OutAttribute] IntPtr vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, UInt32* textureNames); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVDPAURegisterVideoSurfaceNV", ExactSpelling = true)] + internal extern static unsafe IntPtr VDPAURegisterVideoSurfaceNV([OutAttribute] IntPtr vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, UInt32* textureNames); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVDPAUSurfaceAccessNV", ExactSpelling = true)] + internal extern static void VDPAUSurfaceAccessNV(IntPtr surface, OpenTK.Graphics.OpenGL.NvVdpauInterop access); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVDPAUUnmapSurfacesNV", ExactSpelling = true)] + internal extern static unsafe void VDPAUUnmapSurfacesNV(Int32 numSurface, IntPtr* surfaces); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVDPAUUnregisterSurfaceNV", ExactSpelling = true)] + internal extern static void VDPAUUnregisterSurfaceNV(IntPtr surface); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex2d", ExactSpelling = true)] + internal extern static void Vertex2d(Double x, Double y); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex2dv", ExactSpelling = true)] + internal extern static unsafe void Vertex2dv(Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex2f", ExactSpelling = true)] + internal extern static void Vertex2f(Single x, Single y); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex2fv", ExactSpelling = true)] + internal extern static unsafe void Vertex2fv(Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex2hNV", ExactSpelling = true)] + internal extern static void Vertex2hNV(Half x, Half y); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex2hvNV", ExactSpelling = true)] + internal extern static unsafe void Vertex2hvNV(Half* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex2i", ExactSpelling = true)] + internal extern static void Vertex2i(Int32 x, Int32 y); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex2iv", ExactSpelling = true)] + internal extern static unsafe void Vertex2iv(Int32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex2s", ExactSpelling = true)] + internal extern static void Vertex2s(Int16 x, Int16 y); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex2sv", ExactSpelling = true)] + internal extern static unsafe void Vertex2sv(Int16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex3d", ExactSpelling = true)] + internal extern static void Vertex3d(Double x, Double y, Double z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex3dv", ExactSpelling = true)] + internal extern static unsafe void Vertex3dv(Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex3f", ExactSpelling = true)] + internal extern static void Vertex3f(Single x, Single y, Single z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex3fv", ExactSpelling = true)] + internal extern static unsafe void Vertex3fv(Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex3hNV", ExactSpelling = true)] + internal extern static void Vertex3hNV(Half x, Half y, Half z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex3hvNV", ExactSpelling = true)] + internal extern static unsafe void Vertex3hvNV(Half* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex3i", ExactSpelling = true)] + internal extern static void Vertex3i(Int32 x, Int32 y, Int32 z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex3iv", ExactSpelling = true)] + internal extern static unsafe void Vertex3iv(Int32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex3s", ExactSpelling = true)] + internal extern static void Vertex3s(Int16 x, Int16 y, Int16 z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex3sv", ExactSpelling = true)] + internal extern static unsafe void Vertex3sv(Int16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex4d", ExactSpelling = true)] + internal extern static void Vertex4d(Double x, Double y, Double z, Double w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex4dv", ExactSpelling = true)] + internal extern static unsafe void Vertex4dv(Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex4f", ExactSpelling = true)] + internal extern static void Vertex4f(Single x, Single y, Single z, Single w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex4fv", ExactSpelling = true)] + internal extern static unsafe void Vertex4fv(Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex4hNV", ExactSpelling = true)] + internal extern static void Vertex4hNV(Half x, Half y, Half z, Half w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex4hvNV", ExactSpelling = true)] + internal extern static unsafe void Vertex4hvNV(Half* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex4i", ExactSpelling = true)] + internal extern static void Vertex4i(Int32 x, Int32 y, Int32 z, Int32 w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex4iv", ExactSpelling = true)] + internal extern static unsafe void Vertex4iv(Int32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex4s", ExactSpelling = true)] + internal extern static void Vertex4s(Int16 x, Int16 y, Int16 z, Int16 w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex4sv", ExactSpelling = true)] + internal extern static unsafe void Vertex4sv(Int16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexArrayParameteriAPPLE", ExactSpelling = true)] + internal extern static void VertexArrayParameteriAPPLE(OpenTK.Graphics.OpenGL.AppleVertexArrayRange pname, Int32 param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexArrayRangeAPPLE", ExactSpelling = true)] + internal extern static void VertexArrayRangeAPPLE(Int32 length, [OutAttribute] IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexArrayRangeNV", ExactSpelling = true)] + internal extern static void VertexArrayRangeNV(Int32 length, IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexArrayVertexAttribLOffsetEXT", ExactSpelling = true)] + internal extern static void VertexArrayVertexAttribLOffsetEXT(UInt32 vaobj, UInt32 buffer, UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit type, Int32 stride, IntPtr offset); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib1d", ExactSpelling = true)] + internal extern static void VertexAttrib1d(UInt32 index, Double x); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib1dARB", ExactSpelling = true)] + internal extern static void VertexAttrib1dARB(UInt32 index, Double x); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib1dNV", ExactSpelling = true)] + internal extern static void VertexAttrib1dNV(UInt32 index, Double x); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib1dv", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib1dv(UInt32 index, Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib1dvARB", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib1dvARB(UInt32 index, Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib1dvNV", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib1dvNV(UInt32 index, Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib1f", ExactSpelling = true)] + internal extern static void VertexAttrib1f(UInt32 index, Single x); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib1fARB", ExactSpelling = true)] + internal extern static void VertexAttrib1fARB(UInt32 index, Single x); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib1fNV", ExactSpelling = true)] + internal extern static void VertexAttrib1fNV(UInt32 index, Single x); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib1fv", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib1fv(UInt32 index, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib1fvARB", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib1fvARB(UInt32 index, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib1fvNV", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib1fvNV(UInt32 index, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib1hNV", ExactSpelling = true)] + internal extern static void VertexAttrib1hNV(UInt32 index, Half x); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib1hvNV", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib1hvNV(UInt32 index, Half* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib1s", ExactSpelling = true)] + internal extern static void VertexAttrib1s(UInt32 index, Int16 x); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib1sARB", ExactSpelling = true)] + internal extern static void VertexAttrib1sARB(UInt32 index, Int16 x); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib1sNV", ExactSpelling = true)] + internal extern static void VertexAttrib1sNV(UInt32 index, Int16 x); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib1sv", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib1sv(UInt32 index, Int16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib1svARB", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib1svARB(UInt32 index, Int16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib1svNV", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib1svNV(UInt32 index, Int16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib2d", ExactSpelling = true)] + internal extern static void VertexAttrib2d(UInt32 index, Double x, Double y); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib2dARB", ExactSpelling = true)] + internal extern static void VertexAttrib2dARB(UInt32 index, Double x, Double y); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib2dNV", ExactSpelling = true)] + internal extern static void VertexAttrib2dNV(UInt32 index, Double x, Double y); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib2dv", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib2dv(UInt32 index, Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib2dvARB", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib2dvARB(UInt32 index, Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib2dvNV", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib2dvNV(UInt32 index, Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib2f", ExactSpelling = true)] + internal extern static void VertexAttrib2f(UInt32 index, Single x, Single y); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib2fARB", ExactSpelling = true)] + internal extern static void VertexAttrib2fARB(UInt32 index, Single x, Single y); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib2fNV", ExactSpelling = true)] + internal extern static void VertexAttrib2fNV(UInt32 index, Single x, Single y); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib2fv", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib2fv(UInt32 index, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib2fvARB", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib2fvARB(UInt32 index, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib2fvNV", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib2fvNV(UInt32 index, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib2hNV", ExactSpelling = true)] + internal extern static void VertexAttrib2hNV(UInt32 index, Half x, Half y); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib2hvNV", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib2hvNV(UInt32 index, Half* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib2s", ExactSpelling = true)] + internal extern static void VertexAttrib2s(UInt32 index, Int16 x, Int16 y); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib2sARB", ExactSpelling = true)] + internal extern static void VertexAttrib2sARB(UInt32 index, Int16 x, Int16 y); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib2sNV", ExactSpelling = true)] + internal extern static void VertexAttrib2sNV(UInt32 index, Int16 x, Int16 y); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib2sv", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib2sv(UInt32 index, Int16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib2svARB", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib2svARB(UInt32 index, Int16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib2svNV", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib2svNV(UInt32 index, Int16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib3d", ExactSpelling = true)] + internal extern static void VertexAttrib3d(UInt32 index, Double x, Double y, Double z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib3dARB", ExactSpelling = true)] + internal extern static void VertexAttrib3dARB(UInt32 index, Double x, Double y, Double z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib3dNV", ExactSpelling = true)] + internal extern static void VertexAttrib3dNV(UInt32 index, Double x, Double y, Double z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib3dv", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib3dv(UInt32 index, Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib3dvARB", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib3dvARB(UInt32 index, Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib3dvNV", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib3dvNV(UInt32 index, Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib3f", ExactSpelling = true)] + internal extern static void VertexAttrib3f(UInt32 index, Single x, Single y, Single z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib3fARB", ExactSpelling = true)] + internal extern static void VertexAttrib3fARB(UInt32 index, Single x, Single y, Single z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib3fNV", ExactSpelling = true)] + internal extern static void VertexAttrib3fNV(UInt32 index, Single x, Single y, Single z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib3fv", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib3fv(UInt32 index, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib3fvARB", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib3fvARB(UInt32 index, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib3fvNV", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib3fvNV(UInt32 index, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib3hNV", ExactSpelling = true)] + internal extern static void VertexAttrib3hNV(UInt32 index, Half x, Half y, Half z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib3hvNV", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib3hvNV(UInt32 index, Half* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib3s", ExactSpelling = true)] + internal extern static void VertexAttrib3s(UInt32 index, Int16 x, Int16 y, Int16 z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib3sARB", ExactSpelling = true)] + internal extern static void VertexAttrib3sARB(UInt32 index, Int16 x, Int16 y, Int16 z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib3sNV", ExactSpelling = true)] + internal extern static void VertexAttrib3sNV(UInt32 index, Int16 x, Int16 y, Int16 z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib3sv", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib3sv(UInt32 index, Int16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib3svARB", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib3svARB(UInt32 index, Int16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib3svNV", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib3svNV(UInt32 index, Int16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4bv", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib4bv(UInt32 index, SByte* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4bvARB", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib4bvARB(UInt32 index, SByte* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4d", ExactSpelling = true)] + internal extern static void VertexAttrib4d(UInt32 index, Double x, Double y, Double z, Double w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4dARB", ExactSpelling = true)] + internal extern static void VertexAttrib4dARB(UInt32 index, Double x, Double y, Double z, Double w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4dNV", ExactSpelling = true)] + internal extern static void VertexAttrib4dNV(UInt32 index, Double x, Double y, Double z, Double w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4dv", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib4dv(UInt32 index, Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4dvARB", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib4dvARB(UInt32 index, Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4dvNV", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib4dvNV(UInt32 index, Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4f", ExactSpelling = true)] + internal extern static void VertexAttrib4f(UInt32 index, Single x, Single y, Single z, Single w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4fARB", ExactSpelling = true)] + internal extern static void VertexAttrib4fARB(UInt32 index, Single x, Single y, Single z, Single w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4fNV", ExactSpelling = true)] + internal extern static void VertexAttrib4fNV(UInt32 index, Single x, Single y, Single z, Single w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4fv", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib4fv(UInt32 index, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4fvARB", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib4fvARB(UInt32 index, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4fvNV", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib4fvNV(UInt32 index, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4hNV", ExactSpelling = true)] + internal extern static void VertexAttrib4hNV(UInt32 index, Half x, Half y, Half z, Half w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4hvNV", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib4hvNV(UInt32 index, Half* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4iv", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib4iv(UInt32 index, Int32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4ivARB", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib4ivARB(UInt32 index, Int32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4Nbv", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib4Nbv(UInt32 index, SByte* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4NbvARB", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib4NbvARB(UInt32 index, SByte* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4Niv", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib4Niv(UInt32 index, Int32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4NivARB", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib4NivARB(UInt32 index, Int32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4Nsv", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib4Nsv(UInt32 index, Int16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4NsvARB", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib4NsvARB(UInt32 index, Int16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4Nub", ExactSpelling = true)] + internal extern static void VertexAttrib4Nub(UInt32 index, Byte x, Byte y, Byte z, Byte w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4NubARB", ExactSpelling = true)] + internal extern static void VertexAttrib4NubARB(UInt32 index, Byte x, Byte y, Byte z, Byte w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4Nubv", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib4Nubv(UInt32 index, Byte* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4NubvARB", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib4NubvARB(UInt32 index, Byte* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4Nuiv", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib4Nuiv(UInt32 index, UInt32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4NuivARB", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib4NuivARB(UInt32 index, UInt32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4Nusv", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib4Nusv(UInt32 index, UInt16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4NusvARB", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib4NusvARB(UInt32 index, UInt16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4s", ExactSpelling = true)] + internal extern static void VertexAttrib4s(UInt32 index, Int16 x, Int16 y, Int16 z, Int16 w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4sARB", ExactSpelling = true)] + internal extern static void VertexAttrib4sARB(UInt32 index, Int16 x, Int16 y, Int16 z, Int16 w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4sNV", ExactSpelling = true)] + internal extern static void VertexAttrib4sNV(UInt32 index, Int16 x, Int16 y, Int16 z, Int16 w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4sv", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib4sv(UInt32 index, Int16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4svARB", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib4svARB(UInt32 index, Int16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4svNV", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib4svNV(UInt32 index, Int16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4ubNV", ExactSpelling = true)] + internal extern static void VertexAttrib4ubNV(UInt32 index, Byte x, Byte y, Byte z, Byte w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4ubv", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib4ubv(UInt32 index, Byte* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4ubvARB", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib4ubvARB(UInt32 index, Byte* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4ubvNV", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib4ubvNV(UInt32 index, Byte* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4uiv", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib4uiv(UInt32 index, UInt32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4uivARB", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib4uivARB(UInt32 index, UInt32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4usv", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib4usv(UInt32 index, UInt16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4usvARB", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib4usvARB(UInt32 index, UInt16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribArrayObjectATI", ExactSpelling = true)] + internal extern static void VertexAttribArrayObjectATI(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject type, bool normalized, Int32 stride, UInt32 buffer, UInt32 offset); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribDivisor", ExactSpelling = true)] + internal extern static void VertexAttribDivisor(UInt32 index, UInt32 divisor); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribDivisorARB", ExactSpelling = true)] + internal extern static void VertexAttribDivisorARB(UInt32 index, UInt32 divisor); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribFormatNV", ExactSpelling = true)] + internal extern static void VertexAttribFormatNV(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, bool normalized, Int32 stride); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI1i", ExactSpelling = true)] + internal extern static void VertexAttribI1i(UInt32 index, Int32 x); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI1iEXT", ExactSpelling = true)] + internal extern static void VertexAttribI1iEXT(UInt32 index, Int32 x); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI1iv", ExactSpelling = true)] + internal extern static unsafe void VertexAttribI1iv(UInt32 index, Int32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI1ivEXT", ExactSpelling = true)] + internal extern static unsafe void VertexAttribI1ivEXT(UInt32 index, Int32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI1ui", ExactSpelling = true)] + internal extern static void VertexAttribI1ui(UInt32 index, UInt32 x); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI1uiEXT", ExactSpelling = true)] + internal extern static void VertexAttribI1uiEXT(UInt32 index, UInt32 x); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI1uiv", ExactSpelling = true)] + internal extern static unsafe void VertexAttribI1uiv(UInt32 index, UInt32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI1uivEXT", ExactSpelling = true)] + internal extern static unsafe void VertexAttribI1uivEXT(UInt32 index, UInt32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI2i", ExactSpelling = true)] + internal extern static void VertexAttribI2i(UInt32 index, Int32 x, Int32 y); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI2iEXT", ExactSpelling = true)] + internal extern static void VertexAttribI2iEXT(UInt32 index, Int32 x, Int32 y); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI2iv", ExactSpelling = true)] + internal extern static unsafe void VertexAttribI2iv(UInt32 index, Int32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI2ivEXT", ExactSpelling = true)] + internal extern static unsafe void VertexAttribI2ivEXT(UInt32 index, Int32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI2ui", ExactSpelling = true)] + internal extern static void VertexAttribI2ui(UInt32 index, UInt32 x, UInt32 y); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI2uiEXT", ExactSpelling = true)] + internal extern static void VertexAttribI2uiEXT(UInt32 index, UInt32 x, UInt32 y); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI2uiv", ExactSpelling = true)] + internal extern static unsafe void VertexAttribI2uiv(UInt32 index, UInt32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI2uivEXT", ExactSpelling = true)] + internal extern static unsafe void VertexAttribI2uivEXT(UInt32 index, UInt32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI3i", ExactSpelling = true)] + internal extern static void VertexAttribI3i(UInt32 index, Int32 x, Int32 y, Int32 z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI3iEXT", ExactSpelling = true)] + internal extern static void VertexAttribI3iEXT(UInt32 index, Int32 x, Int32 y, Int32 z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI3iv", ExactSpelling = true)] + internal extern static unsafe void VertexAttribI3iv(UInt32 index, Int32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI3ivEXT", ExactSpelling = true)] + internal extern static unsafe void VertexAttribI3ivEXT(UInt32 index, Int32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI3ui", ExactSpelling = true)] + internal extern static void VertexAttribI3ui(UInt32 index, UInt32 x, UInt32 y, UInt32 z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI3uiEXT", ExactSpelling = true)] + internal extern static void VertexAttribI3uiEXT(UInt32 index, UInt32 x, UInt32 y, UInt32 z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI3uiv", ExactSpelling = true)] + internal extern static unsafe void VertexAttribI3uiv(UInt32 index, UInt32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI3uivEXT", ExactSpelling = true)] + internal extern static unsafe void VertexAttribI3uivEXT(UInt32 index, UInt32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI4bv", ExactSpelling = true)] + internal extern static unsafe void VertexAttribI4bv(UInt32 index, SByte* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI4bvEXT", ExactSpelling = true)] + internal extern static unsafe void VertexAttribI4bvEXT(UInt32 index, SByte* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI4i", ExactSpelling = true)] + internal extern static void VertexAttribI4i(UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI4iEXT", ExactSpelling = true)] + internal extern static void VertexAttribI4iEXT(UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI4iv", ExactSpelling = true)] + internal extern static unsafe void VertexAttribI4iv(UInt32 index, Int32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI4ivEXT", ExactSpelling = true)] + internal extern static unsafe void VertexAttribI4ivEXT(UInt32 index, Int32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI4sv", ExactSpelling = true)] + internal extern static unsafe void VertexAttribI4sv(UInt32 index, Int16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI4svEXT", ExactSpelling = true)] + internal extern static unsafe void VertexAttribI4svEXT(UInt32 index, Int16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI4ubv", ExactSpelling = true)] + internal extern static unsafe void VertexAttribI4ubv(UInt32 index, Byte* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI4ubvEXT", ExactSpelling = true)] + internal extern static unsafe void VertexAttribI4ubvEXT(UInt32 index, Byte* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI4ui", ExactSpelling = true)] + internal extern static void VertexAttribI4ui(UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI4uiEXT", ExactSpelling = true)] + internal extern static void VertexAttribI4uiEXT(UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI4uiv", ExactSpelling = true)] + internal extern static unsafe void VertexAttribI4uiv(UInt32 index, UInt32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI4uivEXT", ExactSpelling = true)] + internal extern static unsafe void VertexAttribI4uivEXT(UInt32 index, UInt32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI4usv", ExactSpelling = true)] + internal extern static unsafe void VertexAttribI4usv(UInt32 index, UInt16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI4usvEXT", ExactSpelling = true)] + internal extern static unsafe void VertexAttribI4usvEXT(UInt32 index, UInt16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribIFormatNV", ExactSpelling = true)] + internal extern static void VertexAttribIFormatNV(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribIPointer", ExactSpelling = true)] + internal extern static void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIPointerType type, Int32 stride, IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribIPointerEXT", ExactSpelling = true)] + internal extern static void VertexAttribIPointerEXT(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexProgram4 type, Int32 stride, IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribL1d", ExactSpelling = true)] + internal extern static void VertexAttribL1d(UInt32 index, Double x); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribL1dEXT", ExactSpelling = true)] + internal extern static void VertexAttribL1dEXT(UInt32 index, Double x); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribL1dv", ExactSpelling = true)] + internal extern static unsafe void VertexAttribL1dv(UInt32 index, Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribL1dvEXT", ExactSpelling = true)] + internal extern static unsafe void VertexAttribL1dvEXT(UInt32 index, Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribL1i64NV", ExactSpelling = true)] + internal extern static void VertexAttribL1i64NV(UInt32 index, Int64 x); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribL1i64vNV", ExactSpelling = true)] + internal extern static unsafe void VertexAttribL1i64vNV(UInt32 index, Int64* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribL1ui64NV", ExactSpelling = true)] + internal extern static void VertexAttribL1ui64NV(UInt32 index, UInt64 x); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribL1ui64vNV", ExactSpelling = true)] + internal extern static unsafe void VertexAttribL1ui64vNV(UInt32 index, UInt64* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribL2d", ExactSpelling = true)] + internal extern static void VertexAttribL2d(UInt32 index, Double x, Double y); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribL2dEXT", ExactSpelling = true)] + internal extern static void VertexAttribL2dEXT(UInt32 index, Double x, Double y); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribL2dv", ExactSpelling = true)] + internal extern static unsafe void VertexAttribL2dv(UInt32 index, Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribL2dvEXT", ExactSpelling = true)] + internal extern static unsafe void VertexAttribL2dvEXT(UInt32 index, Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribL2i64NV", ExactSpelling = true)] + internal extern static void VertexAttribL2i64NV(UInt32 index, Int64 x, Int64 y); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribL2i64vNV", ExactSpelling = true)] + internal extern static unsafe void VertexAttribL2i64vNV(UInt32 index, Int64* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribL2ui64NV", ExactSpelling = true)] + internal extern static void VertexAttribL2ui64NV(UInt32 index, UInt64 x, UInt64 y); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribL2ui64vNV", ExactSpelling = true)] + internal extern static unsafe void VertexAttribL2ui64vNV(UInt32 index, UInt64* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribL3d", ExactSpelling = true)] + internal extern static void VertexAttribL3d(UInt32 index, Double x, Double y, Double z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribL3dEXT", ExactSpelling = true)] + internal extern static void VertexAttribL3dEXT(UInt32 index, Double x, Double y, Double z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribL3dv", ExactSpelling = true)] + internal extern static unsafe void VertexAttribL3dv(UInt32 index, Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribL3dvEXT", ExactSpelling = true)] + internal extern static unsafe void VertexAttribL3dvEXT(UInt32 index, Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribL3i64NV", ExactSpelling = true)] + internal extern static void VertexAttribL3i64NV(UInt32 index, Int64 x, Int64 y, Int64 z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribL3i64vNV", ExactSpelling = true)] + internal extern static unsafe void VertexAttribL3i64vNV(UInt32 index, Int64* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribL3ui64NV", ExactSpelling = true)] + internal extern static void VertexAttribL3ui64NV(UInt32 index, UInt64 x, UInt64 y, UInt64 z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribL3ui64vNV", ExactSpelling = true)] + internal extern static unsafe void VertexAttribL3ui64vNV(UInt32 index, UInt64* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribL4d", ExactSpelling = true)] + internal extern static void VertexAttribL4d(UInt32 index, Double x, Double y, Double z, Double w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribL4dEXT", ExactSpelling = true)] + internal extern static void VertexAttribL4dEXT(UInt32 index, Double x, Double y, Double z, Double w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribL4dv", ExactSpelling = true)] + internal extern static unsafe void VertexAttribL4dv(UInt32 index, Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribL4dvEXT", ExactSpelling = true)] + internal extern static unsafe void VertexAttribL4dvEXT(UInt32 index, Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribL4i64NV", ExactSpelling = true)] + internal extern static void VertexAttribL4i64NV(UInt32 index, Int64 x, Int64 y, Int64 z, Int64 w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribL4i64vNV", ExactSpelling = true)] + internal extern static unsafe void VertexAttribL4i64vNV(UInt32 index, Int64* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribL4ui64NV", ExactSpelling = true)] + internal extern static void VertexAttribL4ui64NV(UInt32 index, UInt64 x, UInt64 y, UInt64 z, UInt64 w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribL4ui64vNV", ExactSpelling = true)] + internal extern static unsafe void VertexAttribL4ui64vNV(UInt32 index, UInt64* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribLFormatNV", ExactSpelling = true)] + internal extern static void VertexAttribLFormatNV(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit type, Int32 stride); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribLPointer", ExactSpelling = true)] + internal extern static void VertexAttribLPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribDPointerType type, Int32 stride, IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribLPointerEXT", ExactSpelling = true)] + internal extern static void VertexAttribLPointerEXT(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit type, Int32 stride, IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribP1ui", ExactSpelling = true)] + internal extern static void VertexAttribP1ui(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32 value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribP1uiv", ExactSpelling = true)] + internal extern static unsafe void VertexAttribP1uiv(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribP2ui", ExactSpelling = true)] + internal extern static void VertexAttribP2ui(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32 value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribP2uiv", ExactSpelling = true)] + internal extern static unsafe void VertexAttribP2uiv(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribP3ui", ExactSpelling = true)] + internal extern static void VertexAttribP3ui(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32 value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribP3uiv", ExactSpelling = true)] + internal extern static unsafe void VertexAttribP3uiv(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribP4ui", ExactSpelling = true)] + internal extern static void VertexAttribP4ui(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32 value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribP4uiv", ExactSpelling = true)] + internal extern static unsafe void VertexAttribP4uiv(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribPointer", ExactSpelling = true)] + internal extern static void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerType type, bool normalized, Int32 stride, IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribPointerARB", ExactSpelling = true)] + internal extern static void VertexAttribPointerARB(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribPointerNV", ExactSpelling = true)] + internal extern static void VertexAttribPointerNV(UInt32 index, Int32 fsize, OpenTK.Graphics.OpenGL.VertexAttribParameterArb type, Int32 stride, IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribs1dvNV", ExactSpelling = true)] + internal extern static unsafe void VertexAttribs1dvNV(UInt32 index, Int32 count, Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribs1fvNV", ExactSpelling = true)] + internal extern static unsafe void VertexAttribs1fvNV(UInt32 index, Int32 count, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribs1hvNV", ExactSpelling = true)] + internal extern static unsafe void VertexAttribs1hvNV(UInt32 index, Int32 n, Half* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribs1svNV", ExactSpelling = true)] + internal extern static unsafe void VertexAttribs1svNV(UInt32 index, Int32 count, Int16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribs2dvNV", ExactSpelling = true)] + internal extern static unsafe void VertexAttribs2dvNV(UInt32 index, Int32 count, Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribs2fvNV", ExactSpelling = true)] + internal extern static unsafe void VertexAttribs2fvNV(UInt32 index, Int32 count, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribs2hvNV", ExactSpelling = true)] + internal extern static unsafe void VertexAttribs2hvNV(UInt32 index, Int32 n, Half* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribs2svNV", ExactSpelling = true)] + internal extern static unsafe void VertexAttribs2svNV(UInt32 index, Int32 count, Int16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribs3dvNV", ExactSpelling = true)] + internal extern static unsafe void VertexAttribs3dvNV(UInt32 index, Int32 count, Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribs3fvNV", ExactSpelling = true)] + internal extern static unsafe void VertexAttribs3fvNV(UInt32 index, Int32 count, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribs3hvNV", ExactSpelling = true)] + internal extern static unsafe void VertexAttribs3hvNV(UInt32 index, Int32 n, Half* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribs3svNV", ExactSpelling = true)] + internal extern static unsafe void VertexAttribs3svNV(UInt32 index, Int32 count, Int16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribs4dvNV", ExactSpelling = true)] + internal extern static unsafe void VertexAttribs4dvNV(UInt32 index, Int32 count, Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribs4fvNV", ExactSpelling = true)] + internal extern static unsafe void VertexAttribs4fvNV(UInt32 index, Int32 count, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribs4hvNV", ExactSpelling = true)] + internal extern static unsafe void VertexAttribs4hvNV(UInt32 index, Int32 n, Half* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribs4svNV", ExactSpelling = true)] + internal extern static unsafe void VertexAttribs4svNV(UInt32 index, Int32 count, Int16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribs4ubvNV", ExactSpelling = true)] + internal extern static unsafe void VertexAttribs4ubvNV(UInt32 index, Int32 count, Byte* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexBlendARB", ExactSpelling = true)] + internal extern static void VertexBlendARB(Int32 count); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexBlendEnvfATI", ExactSpelling = true)] + internal extern static void VertexBlendEnvfATI(OpenTK.Graphics.OpenGL.AtiVertexStreams pname, Single param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexBlendEnviATI", ExactSpelling = true)] + internal extern static void VertexBlendEnviATI(OpenTK.Graphics.OpenGL.AtiVertexStreams pname, Int32 param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexFormatNV", ExactSpelling = true)] + internal extern static void VertexFormatNV(Int32 size, OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexP2ui", ExactSpelling = true)] + internal extern static void VertexP2ui(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexP2uiv", ExactSpelling = true)] + internal extern static unsafe void VertexP2uiv(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexP3ui", ExactSpelling = true)] + internal extern static void VertexP3ui(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexP3uiv", ExactSpelling = true)] + internal extern static unsafe void VertexP3uiv(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexP4ui", ExactSpelling = true)] + internal extern static void VertexP4ui(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexP4uiv", ExactSpelling = true)] + internal extern static unsafe void VertexP4uiv(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexPointer", ExactSpelling = true)] + internal extern static void VertexPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, Int32 stride, IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexPointerEXT", ExactSpelling = true)] + internal extern static void VertexPointerEXT(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, Int32 stride, Int32 count, IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexPointerListIBM", ExactSpelling = true)] + internal extern static void VertexPointerListIBM(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexPointervINTEL", ExactSpelling = true)] + internal extern static void VertexPointervINTEL(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream1dATI", ExactSpelling = true)] + internal extern static void VertexStream1dATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double x); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream1dvATI", ExactSpelling = true)] + internal extern static unsafe void VertexStream1dvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double* coords); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream1fATI", ExactSpelling = true)] + internal extern static void VertexStream1fATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single x); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream1fvATI", ExactSpelling = true)] + internal extern static unsafe void VertexStream1fvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single* coords); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream1iATI", ExactSpelling = true)] + internal extern static void VertexStream1iATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32 x); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream1ivATI", ExactSpelling = true)] + internal extern static unsafe void VertexStream1ivATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32* coords); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream1sATI", ExactSpelling = true)] + internal extern static void VertexStream1sATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16 x); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream1svATI", ExactSpelling = true)] + internal extern static unsafe void VertexStream1svATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16* coords); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream2dATI", ExactSpelling = true)] + internal extern static void VertexStream2dATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double x, Double y); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream2dvATI", ExactSpelling = true)] + internal extern static unsafe void VertexStream2dvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double* coords); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream2fATI", ExactSpelling = true)] + internal extern static void VertexStream2fATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single x, Single y); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream2fvATI", ExactSpelling = true)] + internal extern static unsafe void VertexStream2fvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single* coords); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream2iATI", ExactSpelling = true)] + internal extern static void VertexStream2iATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32 x, Int32 y); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream2ivATI", ExactSpelling = true)] + internal extern static unsafe void VertexStream2ivATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32* coords); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream2sATI", ExactSpelling = true)] + internal extern static void VertexStream2sATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16 x, Int16 y); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream2svATI", ExactSpelling = true)] + internal extern static unsafe void VertexStream2svATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16* coords); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream3dATI", ExactSpelling = true)] + internal extern static void VertexStream3dATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double x, Double y, Double z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream3dvATI", ExactSpelling = true)] + internal extern static unsafe void VertexStream3dvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double* coords); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream3fATI", ExactSpelling = true)] + internal extern static void VertexStream3fATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single x, Single y, Single z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream3fvATI", ExactSpelling = true)] + internal extern static unsafe void VertexStream3fvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single* coords); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream3iATI", ExactSpelling = true)] + internal extern static void VertexStream3iATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32 x, Int32 y, Int32 z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream3ivATI", ExactSpelling = true)] + internal extern static unsafe void VertexStream3ivATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32* coords); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream3sATI", ExactSpelling = true)] + internal extern static void VertexStream3sATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16 x, Int16 y, Int16 z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream3svATI", ExactSpelling = true)] + internal extern static unsafe void VertexStream3svATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16* coords); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream4dATI", ExactSpelling = true)] + internal extern static void VertexStream4dATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double x, Double y, Double z, Double w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream4dvATI", ExactSpelling = true)] + internal extern static unsafe void VertexStream4dvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double* coords); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream4fATI", ExactSpelling = true)] + internal extern static void VertexStream4fATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single x, Single y, Single z, Single w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream4fvATI", ExactSpelling = true)] + internal extern static unsafe void VertexStream4fvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single* coords); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream4iATI", ExactSpelling = true)] + internal extern static void VertexStream4iATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32 x, Int32 y, Int32 z, Int32 w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream4ivATI", ExactSpelling = true)] + internal extern static unsafe void VertexStream4ivATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32* coords); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream4sATI", ExactSpelling = true)] + internal extern static void VertexStream4sATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16 x, Int16 y, Int16 z, Int16 w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream4svATI", ExactSpelling = true)] + internal extern static unsafe void VertexStream4svATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16* coords); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexWeightfEXT", ExactSpelling = true)] + internal extern static void VertexWeightfEXT(Single weight); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexWeightfvEXT", ExactSpelling = true)] + internal extern static unsafe void VertexWeightfvEXT(Single* weight); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexWeighthNV", ExactSpelling = true)] + internal extern static void VertexWeighthNV(Half weight); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexWeighthvNV", ExactSpelling = true)] + internal extern static unsafe void VertexWeighthvNV(Half* weight); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexWeightPointerEXT", ExactSpelling = true)] + internal extern static void VertexWeightPointerEXT(Int32 size, OpenTK.Graphics.OpenGL.ExtVertexWeighting type, Int32 stride, IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVideoCaptureNV", ExactSpelling = true)] + internal extern static unsafe OpenTK.Graphics.OpenGL.NvVideoCapture VideoCaptureNV(UInt32 video_capture_slot, [OutAttribute] UInt32* sequence_num, [OutAttribute] UInt64* capture_time); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVideoCaptureStreamParameterdvNV", ExactSpelling = true)] + internal extern static unsafe void VideoCaptureStreamParameterdvNV(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, Double* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVideoCaptureStreamParameterfvNV", ExactSpelling = true)] + internal extern static unsafe void VideoCaptureStreamParameterfvNV(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVideoCaptureStreamParameterivNV", ExactSpelling = true)] + internal extern static unsafe void VideoCaptureStreamParameterivNV(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glViewport", ExactSpelling = true)] + internal extern static void Viewport(Int32 x, Int32 y, Int32 width, Int32 height); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glViewportArrayv", ExactSpelling = true)] + internal extern static unsafe void ViewportArrayv(UInt32 first, Int32 count, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glViewportIndexedf", ExactSpelling = true)] + internal extern static void ViewportIndexedf(UInt32 index, Single x, Single y, Single w, Single h); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glViewportIndexedfv", ExactSpelling = true)] + internal extern static unsafe void ViewportIndexedfv(UInt32 index, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWaitSync", ExactSpelling = true)] + internal extern static void WaitSync(IntPtr sync, UInt32 flags, UInt64 timeout); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWeightbvARB", ExactSpelling = true)] + internal extern static unsafe void WeightbvARB(Int32 size, SByte* weights); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWeightdvARB", ExactSpelling = true)] + internal extern static unsafe void WeightdvARB(Int32 size, Double* weights); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWeightfvARB", ExactSpelling = true)] + internal extern static unsafe void WeightfvARB(Int32 size, Single* weights); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWeightivARB", ExactSpelling = true)] + internal extern static unsafe void WeightivARB(Int32 size, Int32* weights); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWeightPointerARB", ExactSpelling = true)] + internal extern static void WeightPointerARB(Int32 size, OpenTK.Graphics.OpenGL.ArbVertexBlend type, Int32 stride, IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWeightsvARB", ExactSpelling = true)] + internal extern static unsafe void WeightsvARB(Int32 size, Int16* weights); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWeightubvARB", ExactSpelling = true)] + internal extern static unsafe void WeightubvARB(Int32 size, Byte* weights); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWeightuivARB", ExactSpelling = true)] + internal extern static unsafe void WeightuivARB(Int32 size, UInt32* weights); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWeightusvARB", ExactSpelling = true)] + internal extern static unsafe void WeightusvARB(Int32 size, UInt16* weights); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos2d", ExactSpelling = true)] + internal extern static void WindowPos2d(Double x, Double y); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos2dARB", ExactSpelling = true)] + internal extern static void WindowPos2dARB(Double x, Double y); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos2dMESA", CharSet = CharSet.Auto)] + internal extern static void WindowPos2dMESA(Double x, Double y); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos2dv", ExactSpelling = true)] + internal extern static unsafe void WindowPos2dv(Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos2dvARB", ExactSpelling = true)] + internal extern static unsafe void WindowPos2dvARB(Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos2dvMESA", CharSet = CharSet.Auto)] + internal extern static unsafe void WindowPos2dvMESA(Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos2f", ExactSpelling = true)] + internal extern static void WindowPos2f(Single x, Single y); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos2fARB", ExactSpelling = true)] + internal extern static void WindowPos2fARB(Single x, Single y); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos2fMESA", CharSet = CharSet.Auto)] + internal extern static void WindowPos2fMESA(Single x, Single y); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos2fv", ExactSpelling = true)] + internal extern static unsafe void WindowPos2fv(Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos2fvARB", ExactSpelling = true)] + internal extern static unsafe void WindowPos2fvARB(Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos2fvMESA", CharSet = CharSet.Auto)] + internal extern static unsafe void WindowPos2fvMESA(Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos2i", ExactSpelling = true)] + internal extern static void WindowPos2i(Int32 x, Int32 y); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos2iARB", ExactSpelling = true)] + internal extern static void WindowPos2iARB(Int32 x, Int32 y); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos2iMESA", CharSet = CharSet.Auto)] + internal extern static void WindowPos2iMESA(Int32 x, Int32 y); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos2iv", ExactSpelling = true)] + internal extern static unsafe void WindowPos2iv(Int32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos2ivARB", ExactSpelling = true)] + internal extern static unsafe void WindowPos2ivARB(Int32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos2ivMESA", CharSet = CharSet.Auto)] + internal extern static unsafe void WindowPos2ivMESA(Int32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos2s", ExactSpelling = true)] + internal extern static void WindowPos2s(Int16 x, Int16 y); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos2sARB", ExactSpelling = true)] + internal extern static void WindowPos2sARB(Int16 x, Int16 y); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos2sMESA", CharSet = CharSet.Auto)] + internal extern static void WindowPos2sMESA(Int16 x, Int16 y); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos2sv", ExactSpelling = true)] + internal extern static unsafe void WindowPos2sv(Int16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos2svARB", ExactSpelling = true)] + internal extern static unsafe void WindowPos2svARB(Int16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos2svMESA", CharSet = CharSet.Auto)] + internal extern static unsafe void WindowPos2svMESA(Int16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos3d", ExactSpelling = true)] + internal extern static void WindowPos3d(Double x, Double y, Double z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos3dARB", ExactSpelling = true)] + internal extern static void WindowPos3dARB(Double x, Double y, Double z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos3dMESA", CharSet = CharSet.Auto)] + internal extern static void WindowPos3dMESA(Double x, Double y, Double z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos3dv", ExactSpelling = true)] + internal extern static unsafe void WindowPos3dv(Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos3dvARB", ExactSpelling = true)] + internal extern static unsafe void WindowPos3dvARB(Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos3dvMESA", CharSet = CharSet.Auto)] + internal extern static unsafe void WindowPos3dvMESA(Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos3f", ExactSpelling = true)] + internal extern static void WindowPos3f(Single x, Single y, Single z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos3fARB", ExactSpelling = true)] + internal extern static void WindowPos3fARB(Single x, Single y, Single z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos3fMESA", CharSet = CharSet.Auto)] + internal extern static void WindowPos3fMESA(Single x, Single y, Single z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos3fv", ExactSpelling = true)] + internal extern static unsafe void WindowPos3fv(Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos3fvARB", ExactSpelling = true)] + internal extern static unsafe void WindowPos3fvARB(Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos3fvMESA", CharSet = CharSet.Auto)] + internal extern static unsafe void WindowPos3fvMESA(Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos3i", ExactSpelling = true)] + internal extern static void WindowPos3i(Int32 x, Int32 y, Int32 z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos3iARB", ExactSpelling = true)] + internal extern static void WindowPos3iARB(Int32 x, Int32 y, Int32 z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos3iMESA", CharSet = CharSet.Auto)] + internal extern static void WindowPos3iMESA(Int32 x, Int32 y, Int32 z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos3iv", ExactSpelling = true)] + internal extern static unsafe void WindowPos3iv(Int32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos3ivARB", ExactSpelling = true)] + internal extern static unsafe void WindowPos3ivARB(Int32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos3ivMESA", CharSet = CharSet.Auto)] + internal extern static unsafe void WindowPos3ivMESA(Int32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos3s", ExactSpelling = true)] + internal extern static void WindowPos3s(Int16 x, Int16 y, Int16 z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos3sARB", ExactSpelling = true)] + internal extern static void WindowPos3sARB(Int16 x, Int16 y, Int16 z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos3sMESA", CharSet = CharSet.Auto)] + internal extern static void WindowPos3sMESA(Int16 x, Int16 y, Int16 z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos3sv", ExactSpelling = true)] + internal extern static unsafe void WindowPos3sv(Int16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos3svARB", ExactSpelling = true)] + internal extern static unsafe void WindowPos3svARB(Int16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos3svMESA", CharSet = CharSet.Auto)] + internal extern static unsafe void WindowPos3svMESA(Int16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos4dMESA", CharSet = CharSet.Auto)] + internal extern static void WindowPos4dMESA(Double x, Double y, Double z, Double w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos4dvMESA", CharSet = CharSet.Auto)] + internal extern static unsafe void WindowPos4dvMESA(Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos4fMESA", CharSet = CharSet.Auto)] + internal extern static void WindowPos4fMESA(Single x, Single y, Single z, Single w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos4fvMESA", CharSet = CharSet.Auto)] + internal extern static unsafe void WindowPos4fvMESA(Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos4iMESA", CharSet = CharSet.Auto)] + internal extern static void WindowPos4iMESA(Int32 x, Int32 y, Int32 z, Int32 w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos4ivMESA", CharSet = CharSet.Auto)] + internal extern static unsafe void WindowPos4ivMESA(Int32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos4sMESA", CharSet = CharSet.Auto)] + internal extern static void WindowPos4sMESA(Int16 x, Int16 y, Int16 z, Int16 w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos4svMESA", CharSet = CharSet.Auto)] + internal extern static unsafe void WindowPos4svMESA(Int16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWriteMaskEXT", ExactSpelling = true)] + internal extern static void WriteMaskEXT(UInt32 res, UInt32 @in, OpenTK.Graphics.OpenGL.ExtVertexShader outX, OpenTK.Graphics.OpenGL.ExtVertexShader outY, OpenTK.Graphics.OpenGL.ExtVertexShader outZ, OpenTK.Graphics.OpenGL.ExtVertexShader outW); + } + } +} diff --git a/src/MiniTK/Graphics/OpenGL/GLDelegates.cs b/src/MiniTK/Graphics/OpenGL/GLDelegates.cs new file mode 100644 index 0000000..ffe7db4 --- /dev/null +++ b/src/MiniTK/Graphics/OpenGL/GLDelegates.cs @@ -0,0 +1,6880 @@ +// +// The Open Toolkit Library License +// +// Copyright (c) 2006 - 2010 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. +// + + + +namespace OpenTK.Graphics.OpenGL +{ + using System; + using System.Text; + using System.Runtime.InteropServices; + #pragma warning disable 0649 + #pragma warning disable 3019 + #pragma warning disable 1591 + + partial class GL + { + internal static partial class Delegates + { + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Accum(OpenTK.Graphics.OpenGL.AccumOp op, Single value); + internal static Accum glAccum; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ActiveProgramEXT(UInt32 program); + internal static ActiveProgramEXT glActiveProgramEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ActiveShaderProgram(UInt32 pipeline, UInt32 program); + internal static ActiveShaderProgram glActiveShaderProgram; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ActiveStencilFaceEXT(OpenTK.Graphics.OpenGL.ExtStencilTwoSide face); + internal static ActiveStencilFaceEXT glActiveStencilFaceEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ActiveTexture(OpenTK.Graphics.OpenGL.TextureUnit texture); + internal static ActiveTexture glActiveTexture; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ActiveTextureARB(OpenTK.Graphics.OpenGL.TextureUnit texture); + internal static ActiveTextureARB glActiveTextureARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ActiveVaryingNV(UInt32 program, String name); + internal static ActiveVaryingNV glActiveVaryingNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void AlphaFragmentOp1ATI(OpenTK.Graphics.OpenGL.AtiFragmentShader op, UInt32 dst, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod); + internal static AlphaFragmentOp1ATI glAlphaFragmentOp1ATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void AlphaFragmentOp2ATI(OpenTK.Graphics.OpenGL.AtiFragmentShader op, UInt32 dst, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod); + internal static AlphaFragmentOp2ATI glAlphaFragmentOp2ATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void AlphaFragmentOp3ATI(OpenTK.Graphics.OpenGL.AtiFragmentShader op, UInt32 dst, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod, UInt32 arg3, UInt32 arg3Rep, UInt32 arg3Mod); + internal static AlphaFragmentOp3ATI glAlphaFragmentOp3ATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void AlphaFunc(OpenTK.Graphics.OpenGL.AlphaFunction func, Single @ref); + internal static AlphaFunc glAlphaFunc; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ApplyTextureEXT(OpenTK.Graphics.OpenGL.ExtLightTexture mode); + internal static ApplyTextureEXT glApplyTextureEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate bool AreProgramsResidentNV(Int32 n, UInt32* programs, [OutAttribute] bool* residences); + internal unsafe static AreProgramsResidentNV glAreProgramsResidentNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate bool AreTexturesResident(Int32 n, UInt32* textures, [OutAttribute] bool* residences); + internal unsafe static AreTexturesResident glAreTexturesResident; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate bool AreTexturesResidentEXT(Int32 n, UInt32* textures, [OutAttribute] bool* residences); + internal unsafe static AreTexturesResidentEXT glAreTexturesResidentEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ArrayElement(Int32 i); + internal static ArrayElement glArrayElement; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ArrayElementEXT(Int32 i); + internal static ArrayElementEXT glArrayElementEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ArrayObjectATI(OpenTK.Graphics.OpenGL.EnableCap array, Int32 size, OpenTK.Graphics.OpenGL.AtiVertexArrayObject type, Int32 stride, UInt32 buffer, UInt32 offset); + internal static ArrayObjectATI glArrayObjectATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void AsyncMarkerSGIX(UInt32 marker); + internal static AsyncMarkerSGIX glAsyncMarkerSGIX; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void AttachObjectARB(UInt32 containerObj, UInt32 obj); + internal static AttachObjectARB glAttachObjectARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void AttachShader(UInt32 program, UInt32 shader); + internal static AttachShader glAttachShader; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Begin(OpenTK.Graphics.OpenGL.BeginMode mode); + internal static Begin glBegin; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BeginConditionalRender(UInt32 id, OpenTK.Graphics.OpenGL.ConditionalRenderType mode); + internal static BeginConditionalRender glBeginConditionalRender; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BeginConditionalRenderNV(UInt32 id, OpenTK.Graphics.OpenGL.NvConditionalRender mode); + internal static BeginConditionalRenderNV glBeginConditionalRenderNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BeginFragmentShaderATI(); + internal static BeginFragmentShaderATI glBeginFragmentShaderATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BeginOcclusionQueryNV(UInt32 id); + internal static BeginOcclusionQueryNV glBeginOcclusionQueryNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BeginPerfMonitorAMD(UInt32 monitor); + internal static BeginPerfMonitorAMD glBeginPerfMonitorAMD; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BeginQuery(OpenTK.Graphics.OpenGL.QueryTarget target, UInt32 id); + internal static BeginQuery glBeginQuery; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BeginQueryARB(OpenTK.Graphics.OpenGL.ArbOcclusionQuery target, UInt32 id); + internal static BeginQueryARB glBeginQueryARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BeginQueryIndexed(OpenTK.Graphics.OpenGL.QueryTarget target, UInt32 index, UInt32 id); + internal static BeginQueryIndexed glBeginQueryIndexed; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BeginTransformFeedback(OpenTK.Graphics.OpenGL.BeginFeedbackMode primitiveMode); + internal static BeginTransformFeedback glBeginTransformFeedback; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BeginTransformFeedbackEXT(OpenTK.Graphics.OpenGL.ExtTransformFeedback primitiveMode); + internal static BeginTransformFeedbackEXT glBeginTransformFeedbackEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BeginTransformFeedbackNV(OpenTK.Graphics.OpenGL.NvTransformFeedback primitiveMode); + internal static BeginTransformFeedbackNV glBeginTransformFeedbackNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BeginVertexShaderEXT(); + internal static BeginVertexShaderEXT glBeginVertexShaderEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BeginVideoCaptureNV(UInt32 video_capture_slot); + internal static BeginVideoCaptureNV glBeginVideoCaptureNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BindAttribLocation(UInt32 program, UInt32 index, String name); + internal static BindAttribLocation glBindAttribLocation; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BindAttribLocationARB(UInt32 programObj, UInt32 index, String name); + internal static BindAttribLocationARB glBindAttribLocationARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BindBuffer(OpenTK.Graphics.OpenGL.BufferTarget target, UInt32 buffer); + internal static BindBuffer glBindBuffer; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BindBufferARB(OpenTK.Graphics.OpenGL.BufferTargetArb target, UInt32 buffer); + internal static BindBufferARB glBindBufferARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BindBufferBase(OpenTK.Graphics.OpenGL.BufferTarget target, UInt32 index, UInt32 buffer); + internal static BindBufferBase glBindBufferBase; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BindBufferBaseEXT(OpenTK.Graphics.OpenGL.ExtTransformFeedback target, UInt32 index, UInt32 buffer); + internal static BindBufferBaseEXT glBindBufferBaseEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BindBufferBaseNV(OpenTK.Graphics.OpenGL.NvTransformFeedback target, UInt32 index, UInt32 buffer); + internal static BindBufferBaseNV glBindBufferBaseNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BindBufferOffsetEXT(OpenTK.Graphics.OpenGL.ExtTransformFeedback target, UInt32 index, UInt32 buffer, IntPtr offset); + internal static BindBufferOffsetEXT glBindBufferOffsetEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BindBufferOffsetNV(OpenTK.Graphics.OpenGL.NvTransformFeedback target, UInt32 index, UInt32 buffer, IntPtr offset); + internal static BindBufferOffsetNV glBindBufferOffsetNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BindBufferRange(OpenTK.Graphics.OpenGL.BufferTarget target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size); + internal static BindBufferRange glBindBufferRange; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BindBufferRangeEXT(OpenTK.Graphics.OpenGL.ExtTransformFeedback target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size); + internal static BindBufferRangeEXT glBindBufferRangeEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BindBufferRangeNV(OpenTK.Graphics.OpenGL.NvTransformFeedback target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size); + internal static BindBufferRangeNV glBindBufferRangeNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BindFragDataLocation(UInt32 program, UInt32 color, String name); + internal static BindFragDataLocation glBindFragDataLocation; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BindFragDataLocationEXT(UInt32 program, UInt32 color, String name); + internal static BindFragDataLocationEXT glBindFragDataLocationEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BindFragDataLocationIndexed(UInt32 program, UInt32 colorNumber, UInt32 index, String name); + internal static BindFragDataLocationIndexed glBindFragDataLocationIndexed; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BindFragmentShaderATI(UInt32 id); + internal static BindFragmentShaderATI glBindFragmentShaderATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BindFramebuffer(OpenTK.Graphics.OpenGL.FramebufferTarget target, UInt32 framebuffer); + internal static BindFramebuffer glBindFramebuffer; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BindFramebufferEXT(OpenTK.Graphics.OpenGL.FramebufferTarget target, UInt32 framebuffer); + internal static BindFramebufferEXT glBindFramebufferEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BindImageTextureEXT(UInt32 index, UInt32 texture, Int32 level, bool layered, Int32 layer, OpenTK.Graphics.OpenGL.ExtShaderImageLoadStore access, Int32 format); + internal static BindImageTextureEXT glBindImageTextureEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate Int32 BindLightParameterEXT(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter value); + internal static BindLightParameterEXT glBindLightParameterEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate Int32 BindMaterialParameterEXT(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter value); + internal static BindMaterialParameterEXT glBindMaterialParameterEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BindMultiTextureEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, UInt32 texture); + internal static BindMultiTextureEXT glBindMultiTextureEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate Int32 BindParameterEXT(OpenTK.Graphics.OpenGL.ExtVertexShader value); + internal static BindParameterEXT glBindParameterEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BindProgramARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 program); + internal static BindProgramARB glBindProgramARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BindProgramNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 id); + internal static BindProgramNV glBindProgramNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BindProgramPipeline(UInt32 pipeline); + internal static BindProgramPipeline glBindProgramPipeline; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BindRenderbuffer(OpenTK.Graphics.OpenGL.RenderbufferTarget target, UInt32 renderbuffer); + internal static BindRenderbuffer glBindRenderbuffer; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BindRenderbufferEXT(OpenTK.Graphics.OpenGL.RenderbufferTarget target, UInt32 renderbuffer); + internal static BindRenderbufferEXT glBindRenderbufferEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BindSampler(UInt32 unit, UInt32 sampler); + internal static BindSampler glBindSampler; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate Int32 BindTexGenParameterEXT(OpenTK.Graphics.OpenGL.TextureUnit unit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter value); + internal static BindTexGenParameterEXT glBindTexGenParameterEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BindTexture(OpenTK.Graphics.OpenGL.TextureTarget target, UInt32 texture); + internal static BindTexture glBindTexture; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BindTextureEXT(OpenTK.Graphics.OpenGL.TextureTarget target, UInt32 texture); + internal static BindTextureEXT glBindTextureEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate Int32 BindTextureUnitParameterEXT(OpenTK.Graphics.OpenGL.TextureUnit unit, OpenTK.Graphics.OpenGL.ExtVertexShader value); + internal static BindTextureUnitParameterEXT glBindTextureUnitParameterEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BindTransformFeedback(OpenTK.Graphics.OpenGL.TransformFeedbackTarget target, UInt32 id); + internal static BindTransformFeedback glBindTransformFeedback; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BindTransformFeedbackNV(OpenTK.Graphics.OpenGL.NvTransformFeedback2 target, UInt32 id); + internal static BindTransformFeedbackNV glBindTransformFeedbackNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BindVertexArray(UInt32 array); + internal static BindVertexArray glBindVertexArray; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BindVertexArrayAPPLE(UInt32 array); + internal static BindVertexArrayAPPLE glBindVertexArrayAPPLE; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BindVertexShaderEXT(UInt32 id); + internal static BindVertexShaderEXT glBindVertexShaderEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BindVideoCaptureStreamBufferNV(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture frame_region, IntPtr offset); + internal static BindVideoCaptureStreamBufferNV glBindVideoCaptureStreamBufferNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BindVideoCaptureStreamTextureNV(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture frame_region, OpenTK.Graphics.OpenGL.NvVideoCapture target, UInt32 texture); + internal static BindVideoCaptureStreamTextureNV glBindVideoCaptureStreamTextureNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Binormal3bEXT(SByte bx, SByte by, SByte bz); + internal static Binormal3bEXT glBinormal3bEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Binormal3bvEXT(SByte* v); + internal unsafe static Binormal3bvEXT glBinormal3bvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Binormal3dEXT(Double bx, Double by, Double bz); + internal static Binormal3dEXT glBinormal3dEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Binormal3dvEXT(Double* v); + internal unsafe static Binormal3dvEXT glBinormal3dvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Binormal3fEXT(Single bx, Single by, Single bz); + internal static Binormal3fEXT glBinormal3fEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Binormal3fvEXT(Single* v); + internal unsafe static Binormal3fvEXT glBinormal3fvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Binormal3iEXT(Int32 bx, Int32 by, Int32 bz); + internal static Binormal3iEXT glBinormal3iEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Binormal3ivEXT(Int32* v); + internal unsafe static Binormal3ivEXT glBinormal3ivEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Binormal3sEXT(Int16 bx, Int16 by, Int16 bz); + internal static Binormal3sEXT glBinormal3sEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Binormal3svEXT(Int16* v); + internal unsafe static Binormal3svEXT glBinormal3svEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BinormalPointerEXT(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, IntPtr pointer); + internal static BinormalPointerEXT glBinormalPointerEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Bitmap(Int32 width, Int32 height, Single xorig, Single yorig, Single xmove, Single ymove, Byte* bitmap); + internal unsafe static Bitmap glBitmap; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BlendColor(Single red, Single green, Single blue, Single alpha); + internal static BlendColor glBlendColor; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BlendColorEXT(Single red, Single green, Single blue, Single alpha); + internal static BlendColorEXT glBlendColorEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BlendEquation(OpenTK.Graphics.OpenGL.BlendEquationMode mode); + internal static BlendEquation glBlendEquation; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BlendEquationEXT(OpenTK.Graphics.OpenGL.ExtBlendMinmax mode); + internal static BlendEquationEXT glBlendEquationEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BlendEquationi(UInt32 buf, OpenTK.Graphics.OpenGL.Version40 mode); + internal static BlendEquationi glBlendEquationi; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BlendEquationiARB(UInt32 buf, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend mode); + internal static BlendEquationiARB glBlendEquationiARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BlendEquationIndexedAMD(UInt32 buf, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend mode); + internal static BlendEquationIndexedAMD glBlendEquationIndexedAMD; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BlendEquationSeparate(OpenTK.Graphics.OpenGL.BlendEquationMode modeRGB, OpenTK.Graphics.OpenGL.BlendEquationMode modeAlpha); + internal static BlendEquationSeparate glBlendEquationSeparate; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BlendEquationSeparateEXT(OpenTK.Graphics.OpenGL.ExtBlendEquationSeparate modeRGB, OpenTK.Graphics.OpenGL.ExtBlendEquationSeparate modeAlpha); + internal static BlendEquationSeparateEXT glBlendEquationSeparateEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BlendEquationSeparatei(UInt32 buf, OpenTK.Graphics.OpenGL.BlendEquationMode modeRGB, OpenTK.Graphics.OpenGL.BlendEquationMode modeAlpha); + internal static BlendEquationSeparatei glBlendEquationSeparatei; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BlendEquationSeparateiARB(UInt32 buf, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend modeRGB, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend modeAlpha); + internal static BlendEquationSeparateiARB glBlendEquationSeparateiARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BlendEquationSeparateIndexedAMD(UInt32 buf, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend modeRGB, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend modeAlpha); + internal static BlendEquationSeparateIndexedAMD glBlendEquationSeparateIndexedAMD; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BlendFunc(OpenTK.Graphics.OpenGL.BlendingFactorSrc sfactor, OpenTK.Graphics.OpenGL.BlendingFactorDest dfactor); + internal static BlendFunc glBlendFunc; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BlendFunci(UInt32 buf, OpenTK.Graphics.OpenGL.Version40 src, OpenTK.Graphics.OpenGL.Version40 dst); + internal static BlendFunci glBlendFunci; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BlendFunciARB(UInt32 buf, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend src, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend dst); + internal static BlendFunciARB glBlendFunciARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BlendFuncIndexedAMD(UInt32 buf, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend src, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend dst); + internal static BlendFuncIndexedAMD glBlendFuncIndexedAMD; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BlendFuncSeparate(OpenTK.Graphics.OpenGL.BlendingFactorSrc sfactorRGB, OpenTK.Graphics.OpenGL.BlendingFactorDest dfactorRGB, OpenTK.Graphics.OpenGL.BlendingFactorSrc sfactorAlpha, OpenTK.Graphics.OpenGL.BlendingFactorDest dfactorAlpha); + internal static BlendFuncSeparate glBlendFuncSeparate; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BlendFuncSeparateEXT(OpenTK.Graphics.OpenGL.ExtBlendFuncSeparate sfactorRGB, OpenTK.Graphics.OpenGL.ExtBlendFuncSeparate dfactorRGB, OpenTK.Graphics.OpenGL.ExtBlendFuncSeparate sfactorAlpha, OpenTK.Graphics.OpenGL.ExtBlendFuncSeparate dfactorAlpha); + internal static BlendFuncSeparateEXT glBlendFuncSeparateEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BlendFuncSeparatei(UInt32 buf, OpenTK.Graphics.OpenGL.Version40 srcRGB, OpenTK.Graphics.OpenGL.Version40 dstRGB, OpenTK.Graphics.OpenGL.Version40 srcAlpha, OpenTK.Graphics.OpenGL.Version40 dstAlpha); + internal static BlendFuncSeparatei glBlendFuncSeparatei; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BlendFuncSeparateiARB(UInt32 buf, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend srcRGB, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend dstRGB, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend srcAlpha, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend dstAlpha); + internal static BlendFuncSeparateiARB glBlendFuncSeparateiARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BlendFuncSeparateIndexedAMD(UInt32 buf, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend srcRGB, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend dstRGB, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend srcAlpha, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend dstAlpha); + internal static BlendFuncSeparateIndexedAMD glBlendFuncSeparateIndexedAMD; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BlendFuncSeparateINGR(OpenTK.Graphics.OpenGL.All sfactorRGB, OpenTK.Graphics.OpenGL.All dfactorRGB, OpenTK.Graphics.OpenGL.All sfactorAlpha, OpenTK.Graphics.OpenGL.All dfactorAlpha); + internal static BlendFuncSeparateINGR glBlendFuncSeparateINGR; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.OpenGL.ClearBufferMask mask, OpenTK.Graphics.OpenGL.BlitFramebufferFilter filter); + internal static BlitFramebuffer glBlitFramebuffer; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BlitFramebufferEXT(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.OpenGL.ClearBufferMask mask, OpenTK.Graphics.OpenGL.ExtFramebufferBlit filter); + internal static BlitFramebufferEXT glBlitFramebufferEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BufferAddressRangeNV(OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory pname, UInt32 index, UInt64 address, IntPtr length); + internal static BufferAddressRangeNV glBufferAddressRangeNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BufferData(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr size, IntPtr data, OpenTK.Graphics.OpenGL.BufferUsageHint usage); + internal static BufferData glBufferData; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BufferDataARB(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr size, IntPtr data, OpenTK.Graphics.OpenGL.BufferUsageArb usage); + internal static BufferDataARB glBufferDataARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BufferParameteriAPPLE(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferParameterApple pname, Int32 param); + internal static BufferParameteriAPPLE glBufferParameteriAPPLE; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BufferSubData(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr size, IntPtr data); + internal static BufferSubData glBufferSubData; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BufferSubDataARB(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr offset, IntPtr size, IntPtr data); + internal static BufferSubDataARB glBufferSubDataARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CallList(UInt32 list); + internal static CallList glCallList; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CallLists(Int32 n, OpenTK.Graphics.OpenGL.ListNameType type, IntPtr lists); + internal static CallLists glCallLists; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate OpenTK.Graphics.OpenGL.FramebufferErrorCode CheckFramebufferStatus(OpenTK.Graphics.OpenGL.FramebufferTarget target); + internal static CheckFramebufferStatus glCheckFramebufferStatus; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate OpenTK.Graphics.OpenGL.FramebufferErrorCode CheckFramebufferStatusEXT(OpenTK.Graphics.OpenGL.FramebufferTarget target); + internal static CheckFramebufferStatusEXT glCheckFramebufferStatusEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate OpenTK.Graphics.OpenGL.ExtDirectStateAccess CheckNamedFramebufferStatusEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferTarget target); + internal static CheckNamedFramebufferStatusEXT glCheckNamedFramebufferStatusEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ClampColor(OpenTK.Graphics.OpenGL.ClampColorTarget target, OpenTK.Graphics.OpenGL.ClampColorMode clamp); + internal static ClampColor glClampColor; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ClampColorARB(OpenTK.Graphics.OpenGL.ArbColorBufferFloat target, OpenTK.Graphics.OpenGL.ArbColorBufferFloat clamp); + internal static ClampColorARB glClampColorARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Clear(OpenTK.Graphics.OpenGL.ClearBufferMask mask); + internal static Clear glClear; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ClearAccum(Single red, Single green, Single blue, Single alpha); + internal static ClearAccum glClearAccum; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ClearBufferfi(OpenTK.Graphics.OpenGL.ClearBuffer buffer, Int32 drawbuffer, Single depth, Int32 stencil); + internal static ClearBufferfi glClearBufferfi; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ClearBufferfv(OpenTK.Graphics.OpenGL.ClearBuffer buffer, Int32 drawbuffer, Single* value); + internal unsafe static ClearBufferfv glClearBufferfv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ClearBufferiv(OpenTK.Graphics.OpenGL.ClearBuffer buffer, Int32 drawbuffer, Int32* value); + internal unsafe static ClearBufferiv glClearBufferiv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ClearBufferuiv(OpenTK.Graphics.OpenGL.ClearBuffer buffer, Int32 drawbuffer, UInt32* value); + internal unsafe static ClearBufferuiv glClearBufferuiv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ClearColor(Single red, Single green, Single blue, Single alpha); + internal static ClearColor glClearColor; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ClearColorIiEXT(Int32 red, Int32 green, Int32 blue, Int32 alpha); + internal static ClearColorIiEXT glClearColorIiEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ClearColorIuiEXT(UInt32 red, UInt32 green, UInt32 blue, UInt32 alpha); + internal static ClearColorIuiEXT glClearColorIuiEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ClearDepth(Double depth); + internal static ClearDepth glClearDepth; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ClearDepthdNV(Double depth); + internal static ClearDepthdNV glClearDepthdNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ClearDepthf(Single d); + internal static ClearDepthf glClearDepthf; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ClearIndex(Single c); + internal static ClearIndex glClearIndex; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ClearStencil(Int32 s); + internal static ClearStencil glClearStencil; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ClientActiveTexture(OpenTK.Graphics.OpenGL.TextureUnit texture); + internal static ClientActiveTexture glClientActiveTexture; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ClientActiveTextureARB(OpenTK.Graphics.OpenGL.TextureUnit texture); + internal static ClientActiveTextureARB glClientActiveTextureARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ClientActiveVertexStreamATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream); + internal static ClientActiveVertexStreamATI glClientActiveVertexStreamATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ClientAttribDefaultEXT(OpenTK.Graphics.OpenGL.ClientAttribMask mask); + internal static ClientAttribDefaultEXT glClientAttribDefaultEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate OpenTK.Graphics.OpenGL.ArbSync ClientWaitSync(IntPtr sync, UInt32 flags, UInt64 timeout); + internal static ClientWaitSync glClientWaitSync; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ClipPlane(OpenTK.Graphics.OpenGL.ClipPlaneName plane, Double* equation); + internal unsafe static ClipPlane glClipPlane; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Color3b(SByte red, SByte green, SByte blue); + internal static Color3b glColor3b; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Color3bv(SByte* v); + internal unsafe static Color3bv glColor3bv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Color3d(Double red, Double green, Double blue); + internal static Color3d glColor3d; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Color3dv(Double* v); + internal unsafe static Color3dv glColor3dv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Color3f(Single red, Single green, Single blue); + internal static Color3f glColor3f; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Color3fv(Single* v); + internal unsafe static Color3fv glColor3fv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Color3fVertex3fSUN(Single r, Single g, Single b, Single x, Single y, Single z); + internal static Color3fVertex3fSUN glColor3fVertex3fSUN; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Color3fVertex3fvSUN(Single* c, Single* v); + internal unsafe static Color3fVertex3fvSUN glColor3fVertex3fvSUN; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Color3hNV(Half red, Half green, Half blue); + internal static Color3hNV glColor3hNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Color3hvNV(Half* v); + internal unsafe static Color3hvNV glColor3hvNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Color3i(Int32 red, Int32 green, Int32 blue); + internal static Color3i glColor3i; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Color3iv(Int32* v); + internal unsafe static Color3iv glColor3iv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Color3s(Int16 red, Int16 green, Int16 blue); + internal static Color3s glColor3s; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Color3sv(Int16* v); + internal unsafe static Color3sv glColor3sv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Color3ub(Byte red, Byte green, Byte blue); + internal static Color3ub glColor3ub; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Color3ubv(Byte* v); + internal unsafe static Color3ubv glColor3ubv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Color3ui(UInt32 red, UInt32 green, UInt32 blue); + internal static Color3ui glColor3ui; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Color3uiv(UInt32* v); + internal unsafe static Color3uiv glColor3uiv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Color3us(UInt16 red, UInt16 green, UInt16 blue); + internal static Color3us glColor3us; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Color3usv(UInt16* v); + internal unsafe static Color3usv glColor3usv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Color4b(SByte red, SByte green, SByte blue, SByte alpha); + internal static Color4b glColor4b; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Color4bv(SByte* v); + internal unsafe static Color4bv glColor4bv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Color4d(Double red, Double green, Double blue, Double alpha); + internal static Color4d glColor4d; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Color4dv(Double* v); + internal unsafe static Color4dv glColor4dv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Color4f(Single red, Single green, Single blue, Single alpha); + internal static Color4f glColor4f; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Color4fNormal3fVertex3fSUN(Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z); + internal static Color4fNormal3fVertex3fSUN glColor4fNormal3fVertex3fSUN; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Color4fNormal3fVertex3fvSUN(Single* c, Single* n, Single* v); + internal unsafe static Color4fNormal3fVertex3fvSUN glColor4fNormal3fVertex3fvSUN; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Color4fv(Single* v); + internal unsafe static Color4fv glColor4fv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Color4hNV(Half red, Half green, Half blue, Half alpha); + internal static Color4hNV glColor4hNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Color4hvNV(Half* v); + internal unsafe static Color4hvNV glColor4hvNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Color4i(Int32 red, Int32 green, Int32 blue, Int32 alpha); + internal static Color4i glColor4i; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Color4iv(Int32* v); + internal unsafe static Color4iv glColor4iv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Color4s(Int16 red, Int16 green, Int16 blue, Int16 alpha); + internal static Color4s glColor4s; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Color4sv(Int16* v); + internal unsafe static Color4sv glColor4sv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Color4ub(Byte red, Byte green, Byte blue, Byte alpha); + internal static Color4ub glColor4ub; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Color4ubv(Byte* v); + internal unsafe static Color4ubv glColor4ubv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Color4ubVertex2fSUN(Byte r, Byte g, Byte b, Byte a, Single x, Single y); + internal static Color4ubVertex2fSUN glColor4ubVertex2fSUN; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Color4ubVertex2fvSUN(Byte* c, Single* v); + internal unsafe static Color4ubVertex2fvSUN glColor4ubVertex2fvSUN; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Color4ubVertex3fSUN(Byte r, Byte g, Byte b, Byte a, Single x, Single y, Single z); + internal static Color4ubVertex3fSUN glColor4ubVertex3fSUN; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Color4ubVertex3fvSUN(Byte* c, Single* v); + internal unsafe static Color4ubVertex3fvSUN glColor4ubVertex3fvSUN; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Color4ui(UInt32 red, UInt32 green, UInt32 blue, UInt32 alpha); + internal static Color4ui glColor4ui; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Color4uiv(UInt32* v); + internal unsafe static Color4uiv glColor4uiv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Color4us(UInt16 red, UInt16 green, UInt16 blue, UInt16 alpha); + internal static Color4us glColor4us; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Color4usv(UInt16* v); + internal unsafe static Color4usv glColor4usv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ColorFormatNV(Int32 size, OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride); + internal static ColorFormatNV glColorFormatNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ColorFragmentOp1ATI(OpenTK.Graphics.OpenGL.AtiFragmentShader op, UInt32 dst, UInt32 dstMask, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod); + internal static ColorFragmentOp1ATI glColorFragmentOp1ATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ColorFragmentOp2ATI(OpenTK.Graphics.OpenGL.AtiFragmentShader op, UInt32 dst, UInt32 dstMask, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod); + internal static ColorFragmentOp2ATI glColorFragmentOp2ATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ColorFragmentOp3ATI(OpenTK.Graphics.OpenGL.AtiFragmentShader op, UInt32 dst, UInt32 dstMask, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod, UInt32 arg3, UInt32 arg3Rep, UInt32 arg3Mod); + internal static ColorFragmentOp3ATI glColorFragmentOp3ATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ColorMask(bool red, bool green, bool blue, bool alpha); + internal static ColorMask glColorMask; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ColorMaski(UInt32 index, bool r, bool g, bool b, bool a); + internal static ColorMaski glColorMaski; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ColorMaskIndexedEXT(UInt32 index, bool r, bool g, bool b, bool a); + internal static ColorMaskIndexedEXT glColorMaskIndexedEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ColorMaterial(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.ColorMaterialParameter mode); + internal static ColorMaterial glColorMaterial; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ColorP3ui(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 color); + internal static ColorP3ui glColorP3ui; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ColorP3uiv(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* color); + internal unsafe static ColorP3uiv glColorP3uiv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ColorP4ui(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 color); + internal static ColorP4ui glColorP4ui; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ColorP4uiv(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* color); + internal unsafe static ColorP4uiv glColorP4uiv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ColorPointer(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, IntPtr pointer); + internal static ColorPointer glColorPointer; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ColorPointerEXT(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, Int32 count, IntPtr pointer); + internal static ColorPointerEXT glColorPointerEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ColorPointerListIBM(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride); + internal static ColorPointerListIBM glColorPointerListIBM; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ColorPointervINTEL(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, IntPtr pointer); + internal static ColorPointervINTEL glColorPointervINTEL; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ColorSubTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr data); + internal static ColorSubTable glColorSubTable; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ColorSubTableEXT(OpenTK.Graphics.OpenGL.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr data); + internal static ColorSubTableEXT glColorSubTableEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr table); + internal static ColorTable glColorTable; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ColorTableEXT(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalFormat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr table); + internal static ColorTableEXT glColorTableEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ColorTableParameterfv(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.ColorTableParameterPName pname, Single* @params); + internal unsafe static ColorTableParameterfv glColorTableParameterfv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ColorTableParameterfvSGI(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, Single* @params); + internal unsafe static ColorTableParameterfvSGI glColorTableParameterfvSGI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ColorTableParameteriv(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.ColorTableParameterPName pname, Int32* @params); + internal unsafe static ColorTableParameteriv glColorTableParameteriv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ColorTableParameterivSGI(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, Int32* @params); + internal unsafe static ColorTableParameterivSGI glColorTableParameterivSGI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ColorTableSGI(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr table); + internal static ColorTableSGI glColorTableSGI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CombinerInputNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners input, OpenTK.Graphics.OpenGL.NvRegisterCombiners mapping, OpenTK.Graphics.OpenGL.NvRegisterCombiners componentUsage); + internal static CombinerInputNV glCombinerInputNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CombinerOutputNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners abOutput, OpenTK.Graphics.OpenGL.NvRegisterCombiners cdOutput, OpenTK.Graphics.OpenGL.NvRegisterCombiners sumOutput, OpenTK.Graphics.OpenGL.NvRegisterCombiners scale, OpenTK.Graphics.OpenGL.NvRegisterCombiners bias, bool abDotProduct, bool cdDotProduct, bool muxSum); + internal static CombinerOutputNV glCombinerOutputNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CombinerParameterfNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, Single param); + internal static CombinerParameterfNV glCombinerParameterfNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void CombinerParameterfvNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, Single* @params); + internal unsafe static CombinerParameterfvNV glCombinerParameterfvNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CombinerParameteriNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, Int32 param); + internal static CombinerParameteriNV glCombinerParameteriNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void CombinerParameterivNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, Int32* @params); + internal unsafe static CombinerParameterivNV glCombinerParameterivNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void CombinerStageParameterfvNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners2 stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners2 pname, Single* @params); + internal unsafe static CombinerStageParameterfvNV glCombinerStageParameterfvNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CompileShader(UInt32 shader); + internal static CompileShader glCompileShader; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CompileShaderARB(UInt32 shaderObj); + internal static CompileShaderARB glCompileShaderARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void CompileShaderIncludeARB(UInt32 shader, Int32 count, String[] path, Int32* length); + internal unsafe static CompileShaderIncludeARB glCompileShaderIncludeARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CompressedMultiTexImage1DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr bits); + internal static CompressedMultiTexImage1DEXT glCompressedMultiTexImage1DEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CompressedMultiTexImage2DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr bits); + internal static CompressedMultiTexImage2DEXT glCompressedMultiTexImage2DEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CompressedMultiTexImage3DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr bits); + internal static CompressedMultiTexImage3DEXT glCompressedMultiTexImage3DEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CompressedMultiTexSubImage1DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr bits); + internal static CompressedMultiTexSubImage1DEXT glCompressedMultiTexSubImage1DEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CompressedMultiTexSubImage2DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr bits); + internal static CompressedMultiTexSubImage2DEXT glCompressedMultiTexSubImage2DEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CompressedMultiTexSubImage3DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr bits); + internal static CompressedMultiTexSubImage3DEXT glCompressedMultiTexSubImage3DEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CompressedTexImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr data); + internal static CompressedTexImage1D glCompressedTexImage1D; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CompressedTexImage1DARB(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr data); + internal static CompressedTexImage1DARB glCompressedTexImage1DARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CompressedTexImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data); + internal static CompressedTexImage2D glCompressedTexImage2D; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CompressedTexImage2DARB(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data); + internal static CompressedTexImage2DARB glCompressedTexImage2DARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CompressedTexImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data); + internal static CompressedTexImage3D glCompressedTexImage3D; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CompressedTexImage3DARB(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data); + internal static CompressedTexImage3DARB glCompressedTexImage3DARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CompressedTexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr data); + internal static CompressedTexSubImage1D glCompressedTexSubImage1D; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CompressedTexSubImage1DARB(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr data); + internal static CompressedTexSubImage1DARB glCompressedTexSubImage1DARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CompressedTexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr data); + internal static CompressedTexSubImage2D glCompressedTexSubImage2D; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CompressedTexSubImage2DARB(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr data); + internal static CompressedTexSubImage2DARB glCompressedTexSubImage2DARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CompressedTexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr data); + internal static CompressedTexSubImage3D glCompressedTexSubImage3D; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CompressedTexSubImage3DARB(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr data); + internal static CompressedTexSubImage3DARB glCompressedTexSubImage3DARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CompressedTextureImage1DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr bits); + internal static CompressedTextureImage1DEXT glCompressedTextureImage1DEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CompressedTextureImage2DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr bits); + internal static CompressedTextureImage2DEXT glCompressedTextureImage2DEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CompressedTextureImage3DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr bits); + internal static CompressedTextureImage3DEXT glCompressedTextureImage3DEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CompressedTextureSubImage1DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr bits); + internal static CompressedTextureSubImage1DEXT glCompressedTextureSubImage1DEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CompressedTextureSubImage2DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr bits); + internal static CompressedTextureSubImage2DEXT glCompressedTextureSubImage2DEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CompressedTextureSubImage3DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr bits); + internal static CompressedTextureSubImage3DEXT glCompressedTextureSubImage3DEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ConvolutionFilter1D(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr image); + internal static ConvolutionFilter1D glConvolutionFilter1D; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ConvolutionFilter1DEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr image); + internal static ConvolutionFilter1DEXT glConvolutionFilter1DEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ConvolutionFilter2D(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr image); + internal static ConvolutionFilter2D glConvolutionFilter2D; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ConvolutionFilter2DEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr image); + internal static ConvolutionFilter2DEXT glConvolutionFilter2DEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ConvolutionParameterf(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.ConvolutionParameter pname, Single @params); + internal static ConvolutionParameterf glConvolutionParameterf; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ConvolutionParameterfEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, Single @params); + internal static ConvolutionParameterfEXT glConvolutionParameterfEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ConvolutionParameterfv(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.ConvolutionParameter pname, Single* @params); + internal unsafe static ConvolutionParameterfv glConvolutionParameterfv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ConvolutionParameterfvEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, Single* @params); + internal unsafe static ConvolutionParameterfvEXT glConvolutionParameterfvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ConvolutionParameteri(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.ConvolutionParameter pname, Int32 @params); + internal static ConvolutionParameteri glConvolutionParameteri; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ConvolutionParameteriEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, Int32 @params); + internal static ConvolutionParameteriEXT glConvolutionParameteriEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ConvolutionParameteriv(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.ConvolutionParameter pname, Int32* @params); + internal unsafe static ConvolutionParameteriv glConvolutionParameteriv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ConvolutionParameterivEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, Int32* @params); + internal unsafe static ConvolutionParameterivEXT glConvolutionParameterivEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CopyBufferSubData(OpenTK.Graphics.OpenGL.BufferTarget readTarget, OpenTK.Graphics.OpenGL.BufferTarget writeTarget, IntPtr readOffset, IntPtr writeOffset, IntPtr size); + internal static CopyBufferSubData glCopyBufferSubData; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CopyColorSubTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, Int32 start, Int32 x, Int32 y, Int32 width); + internal static CopyColorSubTable glCopyColorSubTable; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CopyColorSubTableEXT(OpenTK.Graphics.OpenGL.ColorTableTarget target, Int32 start, Int32 x, Int32 y, Int32 width); + internal static CopyColorSubTableEXT glCopyColorSubTableEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CopyColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width); + internal static CopyColorTable glCopyColorTable; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CopyColorTableSGI(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width); + internal static CopyColorTableSGI glCopyColorTableSGI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CopyConvolutionFilter1D(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width); + internal static CopyConvolutionFilter1D glCopyConvolutionFilter1D; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CopyConvolutionFilter1DEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width); + internal static CopyConvolutionFilter1DEXT glCopyConvolutionFilter1DEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CopyConvolutionFilter2D(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height); + internal static CopyConvolutionFilter2D glCopyConvolutionFilter2D; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CopyConvolutionFilter2DEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height); + internal static CopyConvolutionFilter2DEXT glCopyConvolutionFilter2DEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CopyImageSubDataNV(UInt32 srcName, OpenTK.Graphics.OpenGL.NvCopyImage srcTarget, Int32 srcLevel, Int32 srcX, Int32 srcY, Int32 srcZ, UInt32 dstName, OpenTK.Graphics.OpenGL.NvCopyImage dstTarget, Int32 dstLevel, Int32 dstX, Int32 dstY, Int32 dstZ, Int32 width, Int32 height, Int32 depth); + internal static CopyImageSubDataNV glCopyImageSubDataNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CopyMultiTexImage1DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 border); + internal static CopyMultiTexImage1DEXT glCopyMultiTexImage1DEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CopyMultiTexImage2DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border); + internal static CopyMultiTexImage2DEXT glCopyMultiTexImage2DEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CopyMultiTexSubImage1DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width); + internal static CopyMultiTexSubImage1DEXT glCopyMultiTexSubImage1DEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CopyMultiTexSubImage2DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height); + internal static CopyMultiTexSubImage2DEXT glCopyMultiTexSubImage2DEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CopyMultiTexSubImage3DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height); + internal static CopyMultiTexSubImage3DEXT glCopyMultiTexSubImage3DEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CopyPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelCopyType type); + internal static CopyPixels glCopyPixels; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CopyTexImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 border); + internal static CopyTexImage1D glCopyTexImage1D; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CopyTexImage1DEXT(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 border); + internal static CopyTexImage1DEXT glCopyTexImage1DEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CopyTexImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border); + internal static CopyTexImage2D glCopyTexImage2D; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CopyTexImage2DEXT(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border); + internal static CopyTexImage2DEXT glCopyTexImage2DEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CopyTexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width); + internal static CopyTexSubImage1D glCopyTexSubImage1D; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CopyTexSubImage1DEXT(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width); + internal static CopyTexSubImage1DEXT glCopyTexSubImage1DEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CopyTexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height); + internal static CopyTexSubImage2D glCopyTexSubImage2D; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CopyTexSubImage2DEXT(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height); + internal static CopyTexSubImage2DEXT glCopyTexSubImage2DEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CopyTexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height); + internal static CopyTexSubImage3D glCopyTexSubImage3D; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CopyTexSubImage3DEXT(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height); + internal static CopyTexSubImage3DEXT glCopyTexSubImage3DEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CopyTextureImage1DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 border); + internal static CopyTextureImage1DEXT glCopyTextureImage1DEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CopyTextureImage2DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border); + internal static CopyTextureImage2DEXT glCopyTextureImage2DEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CopyTextureSubImage1DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width); + internal static CopyTextureSubImage1DEXT glCopyTextureSubImage1DEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CopyTextureSubImage2DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height); + internal static CopyTextureSubImage2DEXT glCopyTextureSubImage2DEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CopyTextureSubImage3DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height); + internal static CopyTextureSubImage3DEXT glCopyTextureSubImage3DEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate Int32 CreateProgram(); + internal static CreateProgram glCreateProgram; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate Int32 CreateProgramObjectARB(); + internal static CreateProgramObjectARB glCreateProgramObjectARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate Int32 CreateShader(OpenTK.Graphics.OpenGL.ShaderType type); + internal static CreateShader glCreateShader; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate Int32 CreateShaderObjectARB(OpenTK.Graphics.OpenGL.ArbShaderObjects shaderType); + internal static CreateShaderObjectARB glCreateShaderObjectARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate Int32 CreateShaderProgramEXT(OpenTK.Graphics.OpenGL.ExtSeparateShaderObjects type, String @string); + internal static CreateShaderProgramEXT glCreateShaderProgramEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate Int32 CreateShaderProgramv(OpenTK.Graphics.OpenGL.ShaderType type, Int32 count, String[] strings); + internal static CreateShaderProgramv glCreateShaderProgramv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate IntPtr CreateSyncFromCLeventARB(IntPtr context, IntPtr @event, UInt32 flags); + internal static CreateSyncFromCLeventARB glCreateSyncFromCLeventARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CullFace(OpenTK.Graphics.OpenGL.CullFaceMode mode); + internal static CullFace glCullFace; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void CullParameterdvEXT(OpenTK.Graphics.OpenGL.ExtCullVertex pname, [OutAttribute] Double* @params); + internal unsafe static CullParameterdvEXT glCullParameterdvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void CullParameterfvEXT(OpenTK.Graphics.OpenGL.ExtCullVertex pname, [OutAttribute] Single* @params); + internal unsafe static CullParameterfvEXT glCullParameterfvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void CurrentPaletteMatrixARB(Int32 index); + internal static CurrentPaletteMatrixARB glCurrentPaletteMatrixARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DebugMessageCallbackAMD(DebugProcAmd callback, [OutAttribute] IntPtr userParam); + internal static DebugMessageCallbackAMD glDebugMessageCallbackAMD; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DebugMessageCallbackARB(DebugProcArb callback, IntPtr userParam); + internal static DebugMessageCallbackARB glDebugMessageCallbackARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void DebugMessageControlARB(OpenTK.Graphics.OpenGL.ArbDebugOutput source, OpenTK.Graphics.OpenGL.ArbDebugOutput type, OpenTK.Graphics.OpenGL.ArbDebugOutput severity, Int32 count, UInt32* ids, bool enabled); + internal unsafe static DebugMessageControlARB glDebugMessageControlARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void DebugMessageEnableAMD(OpenTK.Graphics.OpenGL.AmdDebugOutput category, OpenTK.Graphics.OpenGL.AmdDebugOutput severity, Int32 count, UInt32* ids, bool enabled); + internal unsafe static DebugMessageEnableAMD glDebugMessageEnableAMD; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DebugMessageInsertAMD(OpenTK.Graphics.OpenGL.AmdDebugOutput category, OpenTK.Graphics.OpenGL.AmdDebugOutput severity, UInt32 id, Int32 length, String buf); + internal static DebugMessageInsertAMD glDebugMessageInsertAMD; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DebugMessageInsertARB(OpenTK.Graphics.OpenGL.ArbDebugOutput source, OpenTK.Graphics.OpenGL.ArbDebugOutput type, UInt32 id, OpenTK.Graphics.OpenGL.ArbDebugOutput severity, Int32 length, String buf); + internal static DebugMessageInsertARB glDebugMessageInsertARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void DeformationMap3dSGIX(OpenTK.Graphics.OpenGL.SgixPolynomialFfd target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double w1, Double w2, Int32 wstride, Int32 worder, Double* points); + internal unsafe static DeformationMap3dSGIX glDeformationMap3dSGIX; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void DeformationMap3fSGIX(OpenTK.Graphics.OpenGL.SgixPolynomialFfd target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single w1, Single w2, Int32 wstride, Int32 worder, Single* points); + internal unsafe static DeformationMap3fSGIX glDeformationMap3fSGIX; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DeformSGIX(UInt32 mask); + internal static DeformSGIX glDeformSGIX; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DeleteAsyncMarkersSGIX(UInt32 marker, Int32 range); + internal static DeleteAsyncMarkersSGIX glDeleteAsyncMarkersSGIX; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void DeleteBuffers(Int32 n, UInt32* buffers); + internal unsafe static DeleteBuffers glDeleteBuffers; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void DeleteBuffersARB(Int32 n, UInt32* buffers); + internal unsafe static DeleteBuffersARB glDeleteBuffersARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void DeleteFencesAPPLE(Int32 n, UInt32* fences); + internal unsafe static DeleteFencesAPPLE glDeleteFencesAPPLE; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void DeleteFencesNV(Int32 n, UInt32* fences); + internal unsafe static DeleteFencesNV glDeleteFencesNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DeleteFragmentShaderATI(UInt32 id); + internal static DeleteFragmentShaderATI glDeleteFragmentShaderATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void DeleteFramebuffers(Int32 n, UInt32* framebuffers); + internal unsafe static DeleteFramebuffers glDeleteFramebuffers; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void DeleteFramebuffersEXT(Int32 n, UInt32* framebuffers); + internal unsafe static DeleteFramebuffersEXT glDeleteFramebuffersEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DeleteLists(UInt32 list, Int32 range); + internal static DeleteLists glDeleteLists; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DeleteNamedStringARB(Int32 namelen, String name); + internal static DeleteNamedStringARB glDeleteNamedStringARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void DeleteNamesAMD(OpenTK.Graphics.OpenGL.AmdNameGenDelete identifier, UInt32 num, UInt32* names); + internal unsafe static DeleteNamesAMD glDeleteNamesAMD; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DeleteObjectARB(UInt32 obj); + internal static DeleteObjectARB glDeleteObjectARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void DeleteOcclusionQueriesNV(Int32 n, UInt32* ids); + internal unsafe static DeleteOcclusionQueriesNV glDeleteOcclusionQueriesNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void DeletePerfMonitorsAMD(Int32 n, [OutAttribute] UInt32* monitors); + internal unsafe static DeletePerfMonitorsAMD glDeletePerfMonitorsAMD; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DeleteProgram(UInt32 program); + internal static DeleteProgram glDeleteProgram; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void DeleteProgramPipelines(Int32 n, UInt32* pipelines); + internal unsafe static DeleteProgramPipelines glDeleteProgramPipelines; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void DeleteProgramsARB(Int32 n, UInt32* programs); + internal unsafe static DeleteProgramsARB glDeleteProgramsARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void DeleteProgramsNV(Int32 n, UInt32* programs); + internal unsafe static DeleteProgramsNV glDeleteProgramsNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void DeleteQueries(Int32 n, UInt32* ids); + internal unsafe static DeleteQueries glDeleteQueries; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void DeleteQueriesARB(Int32 n, UInt32* ids); + internal unsafe static DeleteQueriesARB glDeleteQueriesARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void DeleteRenderbuffers(Int32 n, UInt32* renderbuffers); + internal unsafe static DeleteRenderbuffers glDeleteRenderbuffers; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void DeleteRenderbuffersEXT(Int32 n, UInt32* renderbuffers); + internal unsafe static DeleteRenderbuffersEXT glDeleteRenderbuffersEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void DeleteSamplers(Int32 count, UInt32* samplers); + internal unsafe static DeleteSamplers glDeleteSamplers; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DeleteShader(UInt32 shader); + internal static DeleteShader glDeleteShader; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DeleteSync(IntPtr sync); + internal static DeleteSync glDeleteSync; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void DeleteTextures(Int32 n, UInt32* textures); + internal unsafe static DeleteTextures glDeleteTextures; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void DeleteTexturesEXT(Int32 n, UInt32* textures); + internal unsafe static DeleteTexturesEXT glDeleteTexturesEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void DeleteTransformFeedbacks(Int32 n, UInt32* ids); + internal unsafe static DeleteTransformFeedbacks glDeleteTransformFeedbacks; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void DeleteTransformFeedbacksNV(Int32 n, UInt32* ids); + internal unsafe static DeleteTransformFeedbacksNV glDeleteTransformFeedbacksNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void DeleteVertexArrays(Int32 n, UInt32* arrays); + internal unsafe static DeleteVertexArrays glDeleteVertexArrays; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void DeleteVertexArraysAPPLE(Int32 n, UInt32* arrays); + internal unsafe static DeleteVertexArraysAPPLE glDeleteVertexArraysAPPLE; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DeleteVertexShaderEXT(UInt32 id); + internal static DeleteVertexShaderEXT glDeleteVertexShaderEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DepthBoundsdNV(Double zmin, Double zmax); + internal static DepthBoundsdNV glDepthBoundsdNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DepthBoundsEXT(Double zmin, Double zmax); + internal static DepthBoundsEXT glDepthBoundsEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DepthFunc(OpenTK.Graphics.OpenGL.DepthFunction func); + internal static DepthFunc glDepthFunc; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DepthMask(bool flag); + internal static DepthMask glDepthMask; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DepthRange(Double near, Double far); + internal static DepthRange glDepthRange; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void DepthRangeArrayv(UInt32 first, Int32 count, Double* v); + internal unsafe static DepthRangeArrayv glDepthRangeArrayv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DepthRangedNV(Double zNear, Double zFar); + internal static DepthRangedNV glDepthRangedNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DepthRangef(Single n, Single f); + internal static DepthRangef glDepthRangef; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DepthRangeIndexed(UInt32 index, Double n, Double f); + internal static DepthRangeIndexed glDepthRangeIndexed; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DetachObjectARB(UInt32 containerObj, UInt32 attachedObj); + internal static DetachObjectARB glDetachObjectARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DetachShader(UInt32 program, UInt32 shader); + internal static DetachShader glDetachShader; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void DetailTexFuncSGIS(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 n, Single* points); + internal unsafe static DetailTexFuncSGIS glDetailTexFuncSGIS; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Disable(OpenTK.Graphics.OpenGL.EnableCap cap); + internal static Disable glDisable; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DisableClientState(OpenTK.Graphics.OpenGL.ArrayCap array); + internal static DisableClientState glDisableClientState; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DisableClientStateIndexedEXT(OpenTK.Graphics.OpenGL.EnableCap array, UInt32 index); + internal static DisableClientStateIndexedEXT glDisableClientStateIndexedEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Disablei(OpenTK.Graphics.OpenGL.IndexedEnableCap target, UInt32 index); + internal static Disablei glDisablei; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DisableIndexedEXT(OpenTK.Graphics.OpenGL.IndexedEnableCap target, UInt32 index); + internal static DisableIndexedEXT glDisableIndexedEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DisableVariantClientStateEXT(UInt32 id); + internal static DisableVariantClientStateEXT glDisableVariantClientStateEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DisableVertexAttribAPPLE(UInt32 index, OpenTK.Graphics.OpenGL.AppleVertexProgramEvaluators pname); + internal static DisableVertexAttribAPPLE glDisableVertexAttribAPPLE; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DisableVertexAttribArray(UInt32 index); + internal static DisableVertexAttribArray glDisableVertexAttribArray; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DisableVertexAttribArrayARB(UInt32 index); + internal static DisableVertexAttribArrayARB glDisableVertexAttribArrayARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DrawArrays(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 first, Int32 count); + internal static DrawArrays glDrawArrays; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DrawArraysEXT(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 first, Int32 count); + internal static DrawArraysEXT glDrawArraysEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DrawArraysIndirect(OpenTK.Graphics.OpenGL.ArbDrawIndirect mode, IntPtr indirect); + internal static DrawArraysIndirect glDrawArraysIndirect; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DrawArraysInstanced(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 first, Int32 count, Int32 primcount); + internal static DrawArraysInstanced glDrawArraysInstanced; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DrawArraysInstancedARB(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 first, Int32 count, Int32 primcount); + internal static DrawArraysInstancedARB glDrawArraysInstancedARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DrawArraysInstancedEXT(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 count, Int32 primcount); + internal static DrawArraysInstancedEXT glDrawArraysInstancedEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DrawBuffer(OpenTK.Graphics.OpenGL.DrawBufferMode mode); + internal static DrawBuffer glDrawBuffer; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void DrawBuffers(Int32 n, OpenTK.Graphics.OpenGL.DrawBuffersEnum* bufs); + internal unsafe static DrawBuffers glDrawBuffers; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void DrawBuffersARB(Int32 n, OpenTK.Graphics.OpenGL.ArbDrawBuffers* bufs); + internal unsafe static DrawBuffersARB glDrawBuffersARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void DrawBuffersATI(Int32 n, OpenTK.Graphics.OpenGL.AtiDrawBuffers* bufs); + internal unsafe static DrawBuffersATI glDrawBuffersATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DrawElementArrayAPPLE(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 first, Int32 count); + internal static DrawElementArrayAPPLE glDrawElementArrayAPPLE; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DrawElementArrayATI(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count); + internal static DrawElementArrayATI glDrawElementArrayATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices); + internal static DrawElements glDrawElements; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 basevertex); + internal static DrawElementsBaseVertex glDrawElementsBaseVertex; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DrawElementsIndirect(OpenTK.Graphics.OpenGL.ArbDrawIndirect mode, OpenTK.Graphics.OpenGL.ArbDrawIndirect type, IntPtr indirect); + internal static DrawElementsIndirect glDrawElementsIndirect; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DrawElementsInstanced(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount); + internal static DrawElementsInstanced glDrawElementsInstanced; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DrawElementsInstancedARB(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount); + internal static DrawElementsInstancedARB glDrawElementsInstancedARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DrawElementsInstancedBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount, Int32 basevertex); + internal static DrawElementsInstancedBaseVertex glDrawElementsInstancedBaseVertex; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DrawElementsInstancedEXT(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount); + internal static DrawElementsInstancedEXT glDrawElementsInstancedEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DrawMeshArraysSUN(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 first, Int32 count, Int32 width); + internal static DrawMeshArraysSUN glDrawMeshArraysSUN; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DrawPixels(Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); + internal static DrawPixels glDrawPixels; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DrawRangeElementArrayAPPLE(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 first, Int32 count); + internal static DrawRangeElementArrayAPPLE glDrawRangeElementArrayAPPLE; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DrawRangeElementArrayATI(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 count); + internal static DrawRangeElementArrayATI glDrawRangeElementArrayATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DrawRangeElements(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices); + internal static DrawRangeElements glDrawRangeElements; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 basevertex); + internal static DrawRangeElementsBaseVertex glDrawRangeElementsBaseVertex; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DrawRangeElementsEXT(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices); + internal static DrawRangeElementsEXT glDrawRangeElementsEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DrawTransformFeedback(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 id); + internal static DrawTransformFeedback glDrawTransformFeedback; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DrawTransformFeedbackNV(OpenTK.Graphics.OpenGL.NvTransformFeedback2 mode, UInt32 id); + internal static DrawTransformFeedbackNV glDrawTransformFeedbackNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DrawTransformFeedbackStream(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 id, UInt32 stream); + internal static DrawTransformFeedbackStream glDrawTransformFeedbackStream; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void EdgeFlag(bool flag); + internal static EdgeFlag glEdgeFlag; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void EdgeFlagFormatNV(Int32 stride); + internal static EdgeFlagFormatNV glEdgeFlagFormatNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void EdgeFlagPointer(Int32 stride, IntPtr pointer); + internal static EdgeFlagPointer glEdgeFlagPointer; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void EdgeFlagPointerEXT(Int32 stride, Int32 count, bool* pointer); + internal unsafe static EdgeFlagPointerEXT glEdgeFlagPointerEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void EdgeFlagPointerListIBM(Int32 stride, bool* pointer, Int32 ptrstride); + internal unsafe static EdgeFlagPointerListIBM glEdgeFlagPointerListIBM; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void EdgeFlagv(bool* flag); + internal unsafe static EdgeFlagv glEdgeFlagv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ElementPointerAPPLE(OpenTK.Graphics.OpenGL.AppleElementArray type, IntPtr pointer); + internal static ElementPointerAPPLE glElementPointerAPPLE; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ElementPointerATI(OpenTK.Graphics.OpenGL.AtiElementArray type, IntPtr pointer); + internal static ElementPointerATI glElementPointerATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Enable(OpenTK.Graphics.OpenGL.EnableCap cap); + internal static Enable glEnable; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void EnableClientState(OpenTK.Graphics.OpenGL.ArrayCap array); + internal static EnableClientState glEnableClientState; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void EnableClientStateIndexedEXT(OpenTK.Graphics.OpenGL.EnableCap array, UInt32 index); + internal static EnableClientStateIndexedEXT glEnableClientStateIndexedEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Enablei(OpenTK.Graphics.OpenGL.IndexedEnableCap target, UInt32 index); + internal static Enablei glEnablei; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void EnableIndexedEXT(OpenTK.Graphics.OpenGL.IndexedEnableCap target, UInt32 index); + internal static EnableIndexedEXT glEnableIndexedEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void EnableVariantClientStateEXT(UInt32 id); + internal static EnableVariantClientStateEXT glEnableVariantClientStateEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void EnableVertexAttribAPPLE(UInt32 index, OpenTK.Graphics.OpenGL.AppleVertexProgramEvaluators pname); + internal static EnableVertexAttribAPPLE glEnableVertexAttribAPPLE; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void EnableVertexAttribArray(UInt32 index); + internal static EnableVertexAttribArray glEnableVertexAttribArray; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void EnableVertexAttribArrayARB(UInt32 index); + internal static EnableVertexAttribArrayARB glEnableVertexAttribArrayARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void End(); + internal static End glEnd; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void EndConditionalRender(); + internal static EndConditionalRender glEndConditionalRender; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void EndConditionalRenderNV(); + internal static EndConditionalRenderNV glEndConditionalRenderNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void EndFragmentShaderATI(); + internal static EndFragmentShaderATI glEndFragmentShaderATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void EndList(); + internal static EndList glEndList; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void EndOcclusionQueryNV(); + internal static EndOcclusionQueryNV glEndOcclusionQueryNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void EndPerfMonitorAMD(UInt32 monitor); + internal static EndPerfMonitorAMD glEndPerfMonitorAMD; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void EndQuery(OpenTK.Graphics.OpenGL.QueryTarget target); + internal static EndQuery glEndQuery; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void EndQueryARB(OpenTK.Graphics.OpenGL.ArbOcclusionQuery target); + internal static EndQueryARB glEndQueryARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void EndQueryIndexed(OpenTK.Graphics.OpenGL.QueryTarget target, UInt32 index); + internal static EndQueryIndexed glEndQueryIndexed; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void EndTransformFeedback(); + internal static EndTransformFeedback glEndTransformFeedback; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void EndTransformFeedbackEXT(); + internal static EndTransformFeedbackEXT glEndTransformFeedbackEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void EndTransformFeedbackNV(); + internal static EndTransformFeedbackNV glEndTransformFeedbackNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void EndVertexShaderEXT(); + internal static EndVertexShaderEXT glEndVertexShaderEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void EndVideoCaptureNV(UInt32 video_capture_slot); + internal static EndVideoCaptureNV glEndVideoCaptureNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void EvalCoord1d(Double u); + internal static EvalCoord1d glEvalCoord1d; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void EvalCoord1dv(Double* u); + internal unsafe static EvalCoord1dv glEvalCoord1dv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void EvalCoord1f(Single u); + internal static EvalCoord1f glEvalCoord1f; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void EvalCoord1fv(Single* u); + internal unsafe static EvalCoord1fv glEvalCoord1fv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void EvalCoord2d(Double u, Double v); + internal static EvalCoord2d glEvalCoord2d; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void EvalCoord2dv(Double* u); + internal unsafe static EvalCoord2dv glEvalCoord2dv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void EvalCoord2f(Single u, Single v); + internal static EvalCoord2f glEvalCoord2f; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void EvalCoord2fv(Single* u); + internal unsafe static EvalCoord2fv glEvalCoord2fv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void EvalMapsNV(OpenTK.Graphics.OpenGL.NvEvaluators target, OpenTK.Graphics.OpenGL.NvEvaluators mode); + internal static EvalMapsNV glEvalMapsNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void EvalMesh1(OpenTK.Graphics.OpenGL.MeshMode1 mode, Int32 i1, Int32 i2); + internal static EvalMesh1 glEvalMesh1; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void EvalMesh2(OpenTK.Graphics.OpenGL.MeshMode2 mode, Int32 i1, Int32 i2, Int32 j1, Int32 j2); + internal static EvalMesh2 glEvalMesh2; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void EvalPoint1(Int32 i); + internal static EvalPoint1 glEvalPoint1; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void EvalPoint2(Int32 i, Int32 j); + internal static EvalPoint2 glEvalPoint2; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ExecuteProgramNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 id, Single* @params); + internal unsafe static ExecuteProgramNV glExecuteProgramNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ExtractComponentEXT(UInt32 res, UInt32 src, UInt32 num); + internal static ExtractComponentEXT glExtractComponentEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void FeedbackBuffer(Int32 size, OpenTK.Graphics.OpenGL.FeedbackType type, [OutAttribute] Single* buffer); + internal unsafe static FeedbackBuffer glFeedbackBuffer; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate IntPtr FenceSync(OpenTK.Graphics.OpenGL.ArbSync condition, UInt32 flags); + internal static FenceSync glFenceSync; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void FinalCombinerInputNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners input, OpenTK.Graphics.OpenGL.NvRegisterCombiners mapping, OpenTK.Graphics.OpenGL.NvRegisterCombiners componentUsage); + internal static FinalCombinerInputNV glFinalCombinerInputNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Finish(); + internal static Finish glFinish; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate Int32 FinishAsyncSGIX([OutAttribute] UInt32* markerp); + internal unsafe static FinishAsyncSGIX glFinishAsyncSGIX; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void FinishFenceAPPLE(UInt32 fence); + internal static FinishFenceAPPLE glFinishFenceAPPLE; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void FinishFenceNV(UInt32 fence); + internal static FinishFenceNV glFinishFenceNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void FinishObjectAPPLE(OpenTK.Graphics.OpenGL.AppleFence @object, Int32 name); + internal static FinishObjectAPPLE glFinishObjectAPPLE; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void FinishTextureSUNX(); + internal static FinishTextureSUNX glFinishTextureSUNX; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Flush(); + internal static Flush glFlush; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void FlushMappedBufferRange(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr length); + internal static FlushMappedBufferRange glFlushMappedBufferRange; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void FlushMappedBufferRangeAPPLE(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr size); + internal static FlushMappedBufferRangeAPPLE glFlushMappedBufferRangeAPPLE; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void FlushMappedNamedBufferRangeEXT(UInt32 buffer, IntPtr offset, IntPtr length); + internal static FlushMappedNamedBufferRangeEXT glFlushMappedNamedBufferRangeEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void FlushPixelDataRangeNV(OpenTK.Graphics.OpenGL.NvPixelDataRange target); + internal static FlushPixelDataRangeNV glFlushPixelDataRangeNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void FlushRasterSGIX(); + internal static FlushRasterSGIX glFlushRasterSGIX; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void FlushVertexArrayRangeAPPLE(Int32 length, [OutAttribute] IntPtr pointer); + internal static FlushVertexArrayRangeAPPLE glFlushVertexArrayRangeAPPLE; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void FlushVertexArrayRangeNV(); + internal static FlushVertexArrayRangeNV glFlushVertexArrayRangeNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void FogCoordd(Double coord); + internal static FogCoordd glFogCoordd; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void FogCoorddEXT(Double coord); + internal static FogCoorddEXT glFogCoorddEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void FogCoorddv(Double* coord); + internal unsafe static FogCoorddv glFogCoorddv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void FogCoorddvEXT(Double* coord); + internal unsafe static FogCoorddvEXT glFogCoorddvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void FogCoordf(Single coord); + internal static FogCoordf glFogCoordf; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void FogCoordfEXT(Single coord); + internal static FogCoordfEXT glFogCoordfEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void FogCoordFormatNV(OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride); + internal static FogCoordFormatNV glFogCoordFormatNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void FogCoordfv(Single* coord); + internal unsafe static FogCoordfv glFogCoordfv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void FogCoordfvEXT(Single* coord); + internal unsafe static FogCoordfvEXT glFogCoordfvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void FogCoordhNV(Half fog); + internal static FogCoordhNV glFogCoordhNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void FogCoordhvNV(Half* fog); + internal unsafe static FogCoordhvNV glFogCoordhvNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void FogCoordPointer(OpenTK.Graphics.OpenGL.FogPointerType type, Int32 stride, IntPtr pointer); + internal static FogCoordPointer glFogCoordPointer; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void FogCoordPointerEXT(OpenTK.Graphics.OpenGL.ExtFogCoord type, Int32 stride, IntPtr pointer); + internal static FogCoordPointerEXT glFogCoordPointerEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void FogCoordPointerListIBM(OpenTK.Graphics.OpenGL.IbmVertexArrayLists type, Int32 stride, IntPtr pointer, Int32 ptrstride); + internal static FogCoordPointerListIBM glFogCoordPointerListIBM; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Fogf(OpenTK.Graphics.OpenGL.FogParameter pname, Single param); + internal static Fogf glFogf; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void FogFuncSGIS(Int32 n, Single* points); + internal unsafe static FogFuncSGIS glFogFuncSGIS; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Fogfv(OpenTK.Graphics.OpenGL.FogParameter pname, Single* @params); + internal unsafe static Fogfv glFogfv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Fogi(OpenTK.Graphics.OpenGL.FogParameter pname, Int32 param); + internal static Fogi glFogi; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Fogiv(OpenTK.Graphics.OpenGL.FogParameter pname, Int32* @params); + internal unsafe static Fogiv glFogiv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void FragmentColorMaterialSGIX(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter mode); + internal static FragmentColorMaterialSGIX glFragmentColorMaterialSGIX; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void FragmentLightfSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Single param); + internal static FragmentLightfSGIX glFragmentLightfSGIX; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void FragmentLightfvSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Single* @params); + internal unsafe static FragmentLightfvSGIX glFragmentLightfvSGIX; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void FragmentLightiSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Int32 param); + internal static FragmentLightiSGIX glFragmentLightiSGIX; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void FragmentLightivSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Int32* @params); + internal unsafe static FragmentLightivSGIX glFragmentLightivSGIX; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void FragmentLightModelfSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Single param); + internal static FragmentLightModelfSGIX glFragmentLightModelfSGIX; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void FragmentLightModelfvSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Single* @params); + internal unsafe static FragmentLightModelfvSGIX glFragmentLightModelfvSGIX; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void FragmentLightModeliSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Int32 param); + internal static FragmentLightModeliSGIX glFragmentLightModeliSGIX; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void FragmentLightModelivSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Int32* @params); + internal unsafe static FragmentLightModelivSGIX glFragmentLightModelivSGIX; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void FragmentMaterialfSGIX(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Single param); + internal static FragmentMaterialfSGIX glFragmentMaterialfSGIX; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void FragmentMaterialfvSGIX(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Single* @params); + internal unsafe static FragmentMaterialfvSGIX glFragmentMaterialfvSGIX; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void FragmentMaterialiSGIX(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Int32 param); + internal static FragmentMaterialiSGIX glFragmentMaterialiSGIX; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void FragmentMaterialivSGIX(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Int32* @params); + internal unsafe static FragmentMaterialivSGIX glFragmentMaterialivSGIX; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void FramebufferDrawBufferEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.DrawBufferMode mode); + internal static FramebufferDrawBufferEXT glFramebufferDrawBufferEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void FramebufferDrawBuffersEXT(UInt32 framebuffer, Int32 n, OpenTK.Graphics.OpenGL.DrawBufferMode* bufs); + internal unsafe static FramebufferDrawBuffersEXT glFramebufferDrawBuffersEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void FramebufferReadBufferEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.ReadBufferMode mode); + internal static FramebufferReadBufferEXT glFramebufferReadBufferEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void FramebufferRenderbuffer(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer); + internal static FramebufferRenderbuffer glFramebufferRenderbuffer; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void FramebufferRenderbufferEXT(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer); + internal static FramebufferRenderbufferEXT glFramebufferRenderbufferEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void FramebufferTexture(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level); + internal static FramebufferTexture glFramebufferTexture; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void FramebufferTexture1D(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level); + internal static FramebufferTexture1D glFramebufferTexture1D; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void FramebufferTexture1DEXT(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level); + internal static FramebufferTexture1DEXT glFramebufferTexture1DEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void FramebufferTexture2D(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level); + internal static FramebufferTexture2D glFramebufferTexture2D; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void FramebufferTexture2DEXT(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level); + internal static FramebufferTexture2DEXT glFramebufferTexture2DEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void FramebufferTexture3D(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level, Int32 zoffset); + internal static FramebufferTexture3D glFramebufferTexture3D; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void FramebufferTexture3DEXT(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level, Int32 zoffset); + internal static FramebufferTexture3DEXT glFramebufferTexture3DEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void FramebufferTextureARB(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level); + internal static FramebufferTextureARB glFramebufferTextureARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void FramebufferTextureEXT(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level); + internal static FramebufferTextureEXT glFramebufferTextureEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void FramebufferTextureFaceARB(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level, OpenTK.Graphics.OpenGL.TextureTarget face); + internal static FramebufferTextureFaceARB glFramebufferTextureFaceARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void FramebufferTextureFaceEXT(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level, OpenTK.Graphics.OpenGL.TextureTarget face); + internal static FramebufferTextureFaceEXT glFramebufferTextureFaceEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void FramebufferTextureLayer(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer); + internal static FramebufferTextureLayer glFramebufferTextureLayer; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void FramebufferTextureLayerARB(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer); + internal static FramebufferTextureLayerARB glFramebufferTextureLayerARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void FramebufferTextureLayerEXT(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer); + internal static FramebufferTextureLayerEXT glFramebufferTextureLayerEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void FrameTerminatorGREMEDY(); + internal static FrameTerminatorGREMEDY glFrameTerminatorGREMEDY; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void FrameZoomSGIX(Int32 factor); + internal static FrameZoomSGIX glFrameZoomSGIX; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void FreeObjectBufferATI(UInt32 buffer); + internal static FreeObjectBufferATI glFreeObjectBufferATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void FrontFace(OpenTK.Graphics.OpenGL.FrontFaceDirection mode); + internal static FrontFace glFrontFace; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Frustum(Double left, Double right, Double bottom, Double top, Double zNear, Double zFar); + internal static Frustum glFrustum; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate Int32 GenAsyncMarkersSGIX(Int32 range); + internal static GenAsyncMarkersSGIX glGenAsyncMarkersSGIX; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GenBuffers(Int32 n, [OutAttribute] UInt32* buffers); + internal unsafe static GenBuffers glGenBuffers; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GenBuffersARB(Int32 n, [OutAttribute] UInt32* buffers); + internal unsafe static GenBuffersARB glGenBuffersARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void GenerateMipmap(OpenTK.Graphics.OpenGL.GenerateMipmapTarget target); + internal static GenerateMipmap glGenerateMipmap; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void GenerateMipmapEXT(OpenTK.Graphics.OpenGL.GenerateMipmapTarget target); + internal static GenerateMipmapEXT glGenerateMipmapEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void GenerateMultiTexMipmapEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target); + internal static GenerateMultiTexMipmapEXT glGenerateMultiTexMipmapEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void GenerateTextureMipmapEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target); + internal static GenerateTextureMipmapEXT glGenerateTextureMipmapEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GenFencesAPPLE(Int32 n, [OutAttribute] UInt32* fences); + internal unsafe static GenFencesAPPLE glGenFencesAPPLE; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GenFencesNV(Int32 n, [OutAttribute] UInt32* fences); + internal unsafe static GenFencesNV glGenFencesNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate Int32 GenFragmentShadersATI(UInt32 range); + internal static GenFragmentShadersATI glGenFragmentShadersATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GenFramebuffers(Int32 n, [OutAttribute] UInt32* framebuffers); + internal unsafe static GenFramebuffers glGenFramebuffers; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GenFramebuffersEXT(Int32 n, [OutAttribute] UInt32* framebuffers); + internal unsafe static GenFramebuffersEXT glGenFramebuffersEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate Int32 GenLists(Int32 range); + internal static GenLists glGenLists; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GenNamesAMD(OpenTK.Graphics.OpenGL.AmdNameGenDelete identifier, UInt32 num, [OutAttribute] UInt32* names); + internal unsafe static GenNamesAMD glGenNamesAMD; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GenOcclusionQueriesNV(Int32 n, [OutAttribute] UInt32* ids); + internal unsafe static GenOcclusionQueriesNV glGenOcclusionQueriesNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GenPerfMonitorsAMD(Int32 n, [OutAttribute] UInt32* monitors); + internal unsafe static GenPerfMonitorsAMD glGenPerfMonitorsAMD; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GenProgramPipelines(Int32 n, [OutAttribute] UInt32* pipelines); + internal unsafe static GenProgramPipelines glGenProgramPipelines; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GenProgramsARB(Int32 n, [OutAttribute] UInt32* programs); + internal unsafe static GenProgramsARB glGenProgramsARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GenProgramsNV(Int32 n, [OutAttribute] UInt32* programs); + internal unsafe static GenProgramsNV glGenProgramsNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GenQueries(Int32 n, [OutAttribute] UInt32* ids); + internal unsafe static GenQueries glGenQueries; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GenQueriesARB(Int32 n, [OutAttribute] UInt32* ids); + internal unsafe static GenQueriesARB glGenQueriesARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GenRenderbuffers(Int32 n, [OutAttribute] UInt32* renderbuffers); + internal unsafe static GenRenderbuffers glGenRenderbuffers; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GenRenderbuffersEXT(Int32 n, [OutAttribute] UInt32* renderbuffers); + internal unsafe static GenRenderbuffersEXT glGenRenderbuffersEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GenSamplers(Int32 count, [OutAttribute] UInt32* samplers); + internal unsafe static GenSamplers glGenSamplers; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate Int32 GenSymbolsEXT(OpenTK.Graphics.OpenGL.ExtVertexShader datatype, OpenTK.Graphics.OpenGL.ExtVertexShader storagetype, OpenTK.Graphics.OpenGL.ExtVertexShader range, UInt32 components); + internal static GenSymbolsEXT glGenSymbolsEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GenTextures(Int32 n, [OutAttribute] UInt32* textures); + internal unsafe static GenTextures glGenTextures; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GenTexturesEXT(Int32 n, [OutAttribute] UInt32* textures); + internal unsafe static GenTexturesEXT glGenTexturesEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GenTransformFeedbacks(Int32 n, [OutAttribute] UInt32* ids); + internal unsafe static GenTransformFeedbacks glGenTransformFeedbacks; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GenTransformFeedbacksNV(Int32 n, [OutAttribute] UInt32* ids); + internal unsafe static GenTransformFeedbacksNV glGenTransformFeedbacksNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GenVertexArrays(Int32 n, [OutAttribute] UInt32* arrays); + internal unsafe static GenVertexArrays glGenVertexArrays; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GenVertexArraysAPPLE(Int32 n, [OutAttribute] UInt32* arrays); + internal unsafe static GenVertexArraysAPPLE glGenVertexArraysAPPLE; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate Int32 GenVertexShadersEXT(UInt32 range); + internal static GenVertexShadersEXT glGenVertexShadersEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.ActiveAttribType* type, [OutAttribute] StringBuilder name); + internal unsafe static GetActiveAttrib glGetActiveAttrib; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetActiveAttribARB(UInt32 programObj, UInt32 index, Int32 maxLength, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.ArbVertexShader* type, [OutAttribute] StringBuilder name); + internal unsafe static GetActiveAttribARB glGetActiveAttribARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetActiveSubroutineName(UInt32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, UInt32 index, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder name); + internal unsafe static GetActiveSubroutineName glGetActiveSubroutineName; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetActiveSubroutineUniformiv(UInt32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, UInt32 index, OpenTK.Graphics.OpenGL.ActiveSubroutineUniformParameter pname, [OutAttribute] Int32* values); + internal unsafe static GetActiveSubroutineUniformiv glGetActiveSubroutineUniformiv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetActiveSubroutineUniformName(UInt32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, UInt32 index, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder name); + internal unsafe static GetActiveSubroutineUniformName glGetActiveSubroutineUniformName; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.ActiveUniformType* type, [OutAttribute] StringBuilder name); + internal unsafe static GetActiveUniform glGetActiveUniform; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetActiveUniformARB(UInt32 programObj, UInt32 index, Int32 maxLength, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.ArbShaderObjects* type, [OutAttribute] StringBuilder name); + internal unsafe static GetActiveUniformARB glGetActiveUniformARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetActiveUniformBlockiv(UInt32 program, UInt32 uniformBlockIndex, OpenTK.Graphics.OpenGL.ActiveUniformBlockParameter pname, [OutAttribute] Int32* @params); + internal unsafe static GetActiveUniformBlockiv glGetActiveUniformBlockiv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetActiveUniformBlockName(UInt32 program, UInt32 uniformBlockIndex, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder uniformBlockName); + internal unsafe static GetActiveUniformBlockName glGetActiveUniformBlockName; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetActiveUniformName(UInt32 program, UInt32 uniformIndex, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder uniformName); + internal unsafe static GetActiveUniformName glGetActiveUniformName; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetActiveUniformsiv(UInt32 program, Int32 uniformCount, UInt32* uniformIndices, OpenTK.Graphics.OpenGL.ActiveUniformParameter pname, [OutAttribute] Int32* @params); + internal unsafe static GetActiveUniformsiv glGetActiveUniformsiv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetActiveVaryingNV(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.NvTransformFeedback* type, [OutAttribute] StringBuilder name); + internal unsafe static GetActiveVaryingNV glGetActiveVaryingNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetArrayObjectfvATI(OpenTK.Graphics.OpenGL.EnableCap array, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] Single* @params); + internal unsafe static GetArrayObjectfvATI glGetArrayObjectfvATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetArrayObjectivATI(OpenTK.Graphics.OpenGL.EnableCap array, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] Int32* @params); + internal unsafe static GetArrayObjectivATI glGetArrayObjectivATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetAttachedObjectsARB(UInt32 containerObj, Int32 maxCount, [OutAttribute] Int32* count, [OutAttribute] UInt32* obj); + internal unsafe static GetAttachedObjectsARB glGetAttachedObjectsARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetAttachedShaders(UInt32 program, Int32 maxCount, [OutAttribute] Int32* count, [OutAttribute] UInt32* obj); + internal unsafe static GetAttachedShaders glGetAttachedShaders; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate Int32 GetAttribLocation(UInt32 program, String name); + internal static GetAttribLocation glGetAttribLocation; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate Int32 GetAttribLocationARB(UInt32 programObj, String name); + internal static GetAttribLocationARB glGetAttribLocationARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetBooleani_v(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] bool* data); + internal unsafe static GetBooleani_v glGetBooleani_v; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetBooleanIndexedvEXT(OpenTK.Graphics.OpenGL.ExtDrawBuffers2 target, UInt32 index, [OutAttribute] bool* data); + internal unsafe static GetBooleanIndexedvEXT glGetBooleanIndexedvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetBooleanv(OpenTK.Graphics.OpenGL.GetPName pname, [OutAttribute] bool* @params); + internal unsafe static GetBooleanv glGetBooleanv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetBufferParameteri64v(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferParameterName pname, [OutAttribute] Int64* @params); + internal unsafe static GetBufferParameteri64v glGetBufferParameteri64v; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetBufferParameteriv(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferParameterName pname, [OutAttribute] Int32* @params); + internal unsafe static GetBufferParameteriv glGetBufferParameteriv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetBufferParameterivARB(OpenTK.Graphics.OpenGL.ArbVertexBufferObject target, OpenTK.Graphics.OpenGL.BufferParameterNameArb pname, [OutAttribute] Int32* @params); + internal unsafe static GetBufferParameterivARB glGetBufferParameterivARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetBufferParameterui64vNV(OpenTK.Graphics.OpenGL.NvShaderBufferLoad target, OpenTK.Graphics.OpenGL.NvShaderBufferLoad pname, [OutAttribute] UInt64* @params); + internal unsafe static GetBufferParameterui64vNV glGetBufferParameterui64vNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void GetBufferPointerv(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferPointer pname, [OutAttribute] IntPtr @params); + internal static GetBufferPointerv glGetBufferPointerv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void GetBufferPointervARB(OpenTK.Graphics.OpenGL.ArbVertexBufferObject target, OpenTK.Graphics.OpenGL.BufferPointerNameArb pname, [OutAttribute] IntPtr @params); + internal static GetBufferPointervARB glGetBufferPointervARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void GetBufferSubData(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr size, [OutAttribute] IntPtr data); + internal static GetBufferSubData glGetBufferSubData; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void GetBufferSubDataARB(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr offset, IntPtr size, [OutAttribute] IntPtr data); + internal static GetBufferSubDataARB glGetBufferSubDataARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetClipPlane(OpenTK.Graphics.OpenGL.ClipPlaneName plane, [OutAttribute] Double* equation); + internal unsafe static GetClipPlane glGetClipPlane; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void GetColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr table); + internal static GetColorTable glGetColorTable; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void GetColorTableEXT(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr data); + internal static GetColorTableEXT glGetColorTableEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetColorTableParameterfv(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.GetColorTableParameterPName pname, [OutAttribute] Single* @params); + internal unsafe static GetColorTableParameterfv glGetColorTableParameterfv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetColorTableParameterfvEXT(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.GetColorTableParameterPName pname, [OutAttribute] Single* @params); + internal unsafe static GetColorTableParameterfvEXT glGetColorTableParameterfvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetColorTableParameterfvSGI(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, [OutAttribute] Single* @params); + internal unsafe static GetColorTableParameterfvSGI glGetColorTableParameterfvSGI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetColorTableParameteriv(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.GetColorTableParameterPName pname, [OutAttribute] Int32* @params); + internal unsafe static GetColorTableParameteriv glGetColorTableParameteriv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetColorTableParameterivEXT(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.GetColorTableParameterPName pname, [OutAttribute] Int32* @params); + internal unsafe static GetColorTableParameterivEXT glGetColorTableParameterivEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetColorTableParameterivSGI(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, [OutAttribute] Int32* @params); + internal unsafe static GetColorTableParameterivSGI glGetColorTableParameterivSGI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void GetColorTableSGI(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr table); + internal static GetColorTableSGI glGetColorTableSGI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetCombinerInputParameterfvNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] Single* @params); + internal unsafe static GetCombinerInputParameterfvNV glGetCombinerInputParameterfvNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetCombinerInputParameterivNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] Int32* @params); + internal unsafe static GetCombinerInputParameterivNV glGetCombinerInputParameterivNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetCombinerOutputParameterfvNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] Single* @params); + internal unsafe static GetCombinerOutputParameterfvNV glGetCombinerOutputParameterfvNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetCombinerOutputParameterivNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] Int32* @params); + internal unsafe static GetCombinerOutputParameterivNV glGetCombinerOutputParameterivNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetCombinerStageParameterfvNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners2 stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners2 pname, [OutAttribute] Single* @params); + internal unsafe static GetCombinerStageParameterfvNV glGetCombinerStageParameterfvNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void GetCompressedMultiTexImageEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 lod, [OutAttribute] IntPtr img); + internal static GetCompressedMultiTexImageEXT glGetCompressedMultiTexImageEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void GetCompressedTexImage(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, [OutAttribute] IntPtr img); + internal static GetCompressedTexImage glGetCompressedTexImage; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void GetCompressedTexImageARB(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, [OutAttribute] IntPtr img); + internal static GetCompressedTexImageARB glGetCompressedTexImageARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void GetCompressedTextureImageEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 lod, [OutAttribute] IntPtr img); + internal static GetCompressedTextureImageEXT glGetCompressedTextureImageEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void GetConvolutionFilter(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr image); + internal static GetConvolutionFilter glGetConvolutionFilter; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void GetConvolutionFilterEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr image); + internal static GetConvolutionFilterEXT glGetConvolutionFilterEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetConvolutionParameterfv(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.GetConvolutionParameterPName pname, [OutAttribute] Single* @params); + internal unsafe static GetConvolutionParameterfv glGetConvolutionParameterfv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetConvolutionParameterfvEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, [OutAttribute] Single* @params); + internal unsafe static GetConvolutionParameterfvEXT glGetConvolutionParameterfvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetConvolutionParameteriv(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.GetConvolutionParameterPName pname, [OutAttribute] Int32* @params); + internal unsafe static GetConvolutionParameteriv glGetConvolutionParameteriv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetConvolutionParameterivEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, [OutAttribute] Int32* @params); + internal unsafe static GetConvolutionParameterivEXT glGetConvolutionParameterivEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate Int32 GetDebugMessageLogAMD(UInt32 count, Int32 bufsize, [OutAttribute] OpenTK.Graphics.OpenGL.AmdDebugOutput* categories, [OutAttribute] UInt32* severities, [OutAttribute] UInt32* ids, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder message); + internal unsafe static GetDebugMessageLogAMD glGetDebugMessageLogAMD; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate Int32 GetDebugMessageLogARB(UInt32 count, Int32 bufsize, [OutAttribute] OpenTK.Graphics.OpenGL.ArbDebugOutput* sources, [OutAttribute] OpenTK.Graphics.OpenGL.ArbDebugOutput* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.OpenGL.ArbDebugOutput* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog); + internal unsafe static GetDebugMessageLogARB glGetDebugMessageLogARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetDetailTexFuncSGIS(OpenTK.Graphics.OpenGL.TextureTarget target, [OutAttribute] Single* points); + internal unsafe static GetDetailTexFuncSGIS glGetDetailTexFuncSGIS; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetDoublei_v(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] Double* data); + internal unsafe static GetDoublei_v glGetDoublei_v; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetDoubleIndexedvEXT(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] Double* data); + internal unsafe static GetDoubleIndexedvEXT glGetDoubleIndexedvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetDoublev(OpenTK.Graphics.OpenGL.GetPName pname, [OutAttribute] Double* @params); + internal unsafe static GetDoublev glGetDoublev; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate OpenTK.Graphics.OpenGL.ErrorCode GetError(); + internal static GetError glGetError; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetFenceivNV(UInt32 fence, OpenTK.Graphics.OpenGL.NvFence pname, [OutAttribute] Int32* @params); + internal unsafe static GetFenceivNV glGetFenceivNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetFinalCombinerInputParameterfvNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] Single* @params); + internal unsafe static GetFinalCombinerInputParameterfvNV glGetFinalCombinerInputParameterfvNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetFinalCombinerInputParameterivNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] Int32* @params); + internal unsafe static GetFinalCombinerInputParameterivNV glGetFinalCombinerInputParameterivNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetFloati_v(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] Single* data); + internal unsafe static GetFloati_v glGetFloati_v; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetFloatIndexedvEXT(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] Single* data); + internal unsafe static GetFloatIndexedvEXT glGetFloatIndexedvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetFloatv(OpenTK.Graphics.OpenGL.GetPName pname, [OutAttribute] Single* @params); + internal unsafe static GetFloatv glGetFloatv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetFogFuncSGIS([OutAttribute] Single* points); + internal unsafe static GetFogFuncSGIS glGetFogFuncSGIS; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate Int32 GetFragDataIndex(UInt32 program, String name); + internal static GetFragDataIndex glGetFragDataIndex; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate Int32 GetFragDataLocation(UInt32 program, String name); + internal static GetFragDataLocation glGetFragDataLocation; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate Int32 GetFragDataLocationEXT(UInt32 program, String name); + internal static GetFragDataLocationEXT glGetFragDataLocationEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetFragmentLightfvSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, [OutAttribute] Single* @params); + internal unsafe static GetFragmentLightfvSGIX glGetFragmentLightfvSGIX; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetFragmentLightivSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, [OutAttribute] Int32* @params); + internal unsafe static GetFragmentLightivSGIX glGetFragmentLightivSGIX; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetFragmentMaterialfvSGIX(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, [OutAttribute] Single* @params); + internal unsafe static GetFragmentMaterialfvSGIX glGetFragmentMaterialfvSGIX; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetFragmentMaterialivSGIX(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, [OutAttribute] Int32* @params); + internal unsafe static GetFragmentMaterialivSGIX glGetFragmentMaterialivSGIX; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetFramebufferAttachmentParameteriv(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.FramebufferParameterName pname, [OutAttribute] Int32* @params); + internal unsafe static GetFramebufferAttachmentParameteriv glGetFramebufferAttachmentParameteriv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetFramebufferAttachmentParameterivEXT(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.FramebufferParameterName pname, [OutAttribute] Int32* @params); + internal unsafe static GetFramebufferAttachmentParameterivEXT glGetFramebufferAttachmentParameterivEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetFramebufferParameterivEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32* @params); + internal unsafe static GetFramebufferParameterivEXT glGetFramebufferParameterivEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate OpenTK.Graphics.OpenGL.ArbRobustness GetGraphicsResetStatusARB(); + internal static GetGraphicsResetStatusARB glGetGraphicsResetStatusARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate Int32 GetHandleARB(OpenTK.Graphics.OpenGL.ArbShaderObjects pname); + internal static GetHandleARB glGetHandleARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void GetHistogram(OpenTK.Graphics.OpenGL.HistogramTarget target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr values); + internal static GetHistogram glGetHistogram; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void GetHistogramEXT(OpenTK.Graphics.OpenGL.ExtHistogram target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr values); + internal static GetHistogramEXT glGetHistogramEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetHistogramParameterfv(OpenTK.Graphics.OpenGL.HistogramTarget target, OpenTK.Graphics.OpenGL.GetHistogramParameterPName pname, [OutAttribute] Single* @params); + internal unsafe static GetHistogramParameterfv glGetHistogramParameterfv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetHistogramParameterfvEXT(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [OutAttribute] Single* @params); + internal unsafe static GetHistogramParameterfvEXT glGetHistogramParameterfvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetHistogramParameteriv(OpenTK.Graphics.OpenGL.HistogramTarget target, OpenTK.Graphics.OpenGL.GetHistogramParameterPName pname, [OutAttribute] Int32* @params); + internal unsafe static GetHistogramParameteriv glGetHistogramParameteriv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetHistogramParameterivEXT(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [OutAttribute] Int32* @params); + internal unsafe static GetHistogramParameterivEXT glGetHistogramParameterivEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetImageTransformParameterfvHP(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, [OutAttribute] Single* @params); + internal unsafe static GetImageTransformParameterfvHP glGetImageTransformParameterfvHP; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetImageTransformParameterivHP(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, [OutAttribute] Int32* @params); + internal unsafe static GetImageTransformParameterivHP glGetImageTransformParameterivHP; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetInfoLogARB(UInt32 obj, Int32 maxLength, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog); + internal unsafe static GetInfoLogARB glGetInfoLogARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate Int32 GetInstrumentsSGIX(); + internal static GetInstrumentsSGIX glGetInstrumentsSGIX; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetInteger64i_v(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] Int64* data); + internal unsafe static GetInteger64i_v glGetInteger64i_v; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetInteger64v(OpenTK.Graphics.OpenGL.ArbSync pname, [OutAttribute] Int64* @params); + internal unsafe static GetInteger64v glGetInteger64v; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetIntegeri_v(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] Int32* data); + internal unsafe static GetIntegeri_v glGetIntegeri_v; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetIntegerIndexedvEXT(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] Int32* data); + internal unsafe static GetIntegerIndexedvEXT glGetIntegerIndexedvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetIntegerui64i_vNV(OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory value, UInt32 index, [OutAttribute] UInt64* result); + internal unsafe static GetIntegerui64i_vNV glGetIntegerui64i_vNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetIntegerui64vNV(OpenTK.Graphics.OpenGL.NvShaderBufferLoad value, [OutAttribute] UInt64* result); + internal unsafe static GetIntegerui64vNV glGetIntegerui64vNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetIntegerv(OpenTK.Graphics.OpenGL.GetPName pname, [OutAttribute] Int32* @params); + internal unsafe static GetIntegerv glGetIntegerv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetInvariantBooleanvEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] bool* data); + internal unsafe static GetInvariantBooleanvEXT glGetInvariantBooleanvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetInvariantFloatvEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Single* data); + internal unsafe static GetInvariantFloatvEXT glGetInvariantFloatvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetInvariantIntegervEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Int32* data); + internal unsafe static GetInvariantIntegervEXT glGetInvariantIntegervEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetLightfv(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, [OutAttribute] Single* @params); + internal unsafe static GetLightfv glGetLightfv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetLightiv(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, [OutAttribute] Int32* @params); + internal unsafe static GetLightiv glGetLightiv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetListParameterfvSGIX(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, [OutAttribute] Single* @params); + internal unsafe static GetListParameterfvSGIX glGetListParameterfvSGIX; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetListParameterivSGIX(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, [OutAttribute] Int32* @params); + internal unsafe static GetListParameterivSGIX glGetListParameterivSGIX; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetLocalConstantBooleanvEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] bool* data); + internal unsafe static GetLocalConstantBooleanvEXT glGetLocalConstantBooleanvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetLocalConstantFloatvEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Single* data); + internal unsafe static GetLocalConstantFloatvEXT glGetLocalConstantFloatvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetLocalConstantIntegervEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Int32* data); + internal unsafe static GetLocalConstantIntegervEXT glGetLocalConstantIntegervEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetMapAttribParameterfvNV(OpenTK.Graphics.OpenGL.NvEvaluators target, UInt32 index, OpenTK.Graphics.OpenGL.NvEvaluators pname, [OutAttribute] Single* @params); + internal unsafe static GetMapAttribParameterfvNV glGetMapAttribParameterfvNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetMapAttribParameterivNV(OpenTK.Graphics.OpenGL.NvEvaluators target, UInt32 index, OpenTK.Graphics.OpenGL.NvEvaluators pname, [OutAttribute] Int32* @params); + internal unsafe static GetMapAttribParameterivNV glGetMapAttribParameterivNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void GetMapControlPointsNV(OpenTK.Graphics.OpenGL.NvEvaluators target, UInt32 index, OpenTK.Graphics.OpenGL.NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [OutAttribute] IntPtr points); + internal static GetMapControlPointsNV glGetMapControlPointsNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetMapdv(OpenTK.Graphics.OpenGL.MapTarget target, OpenTK.Graphics.OpenGL.GetMapQuery query, [OutAttribute] Double* v); + internal unsafe static GetMapdv glGetMapdv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetMapfv(OpenTK.Graphics.OpenGL.MapTarget target, OpenTK.Graphics.OpenGL.GetMapQuery query, [OutAttribute] Single* v); + internal unsafe static GetMapfv glGetMapfv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetMapiv(OpenTK.Graphics.OpenGL.MapTarget target, OpenTK.Graphics.OpenGL.GetMapQuery query, [OutAttribute] Int32* v); + internal unsafe static GetMapiv glGetMapiv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetMapParameterfvNV(OpenTK.Graphics.OpenGL.NvEvaluators target, OpenTK.Graphics.OpenGL.NvEvaluators pname, [OutAttribute] Single* @params); + internal unsafe static GetMapParameterfvNV glGetMapParameterfvNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetMapParameterivNV(OpenTK.Graphics.OpenGL.NvEvaluators target, OpenTK.Graphics.OpenGL.NvEvaluators pname, [OutAttribute] Int32* @params); + internal unsafe static GetMapParameterivNV glGetMapParameterivNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetMaterialfv(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, [OutAttribute] Single* @params); + internal unsafe static GetMaterialfv glGetMaterialfv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetMaterialiv(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, [OutAttribute] Int32* @params); + internal unsafe static GetMaterialiv glGetMaterialiv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void GetMinmax(OpenTK.Graphics.OpenGL.MinmaxTarget target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr values); + internal static GetMinmax glGetMinmax; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void GetMinmaxEXT(OpenTK.Graphics.OpenGL.ExtHistogram target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr values); + internal static GetMinmaxEXT glGetMinmaxEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetMinmaxParameterfv(OpenTK.Graphics.OpenGL.MinmaxTarget target, OpenTK.Graphics.OpenGL.GetMinmaxParameterPName pname, [OutAttribute] Single* @params); + internal unsafe static GetMinmaxParameterfv glGetMinmaxParameterfv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetMinmaxParameterfvEXT(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [OutAttribute] Single* @params); + internal unsafe static GetMinmaxParameterfvEXT glGetMinmaxParameterfvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetMinmaxParameteriv(OpenTK.Graphics.OpenGL.MinmaxTarget target, OpenTK.Graphics.OpenGL.GetMinmaxParameterPName pname, [OutAttribute] Int32* @params); + internal unsafe static GetMinmaxParameteriv glGetMinmaxParameteriv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetMinmaxParameterivEXT(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [OutAttribute] Int32* @params); + internal unsafe static GetMinmaxParameterivEXT glGetMinmaxParameterivEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetMultisamplefv(OpenTK.Graphics.OpenGL.GetMultisamplePName pname, UInt32 index, [OutAttribute] Single* val); + internal unsafe static GetMultisamplefv glGetMultisamplefv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetMultisamplefvNV(OpenTK.Graphics.OpenGL.NvExplicitMultisample pname, UInt32 index, [OutAttribute] Single* val); + internal unsafe static GetMultisamplefvNV glGetMultisamplefvNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetMultiTexEnvfvEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, [OutAttribute] Single* @params); + internal unsafe static GetMultiTexEnvfvEXT glGetMultiTexEnvfvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetMultiTexEnvivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, [OutAttribute] Int32* @params); + internal unsafe static GetMultiTexEnvivEXT glGetMultiTexEnvivEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetMultiTexGendvEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] Double* @params); + internal unsafe static GetMultiTexGendvEXT glGetMultiTexGendvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetMultiTexGenfvEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] Single* @params); + internal unsafe static GetMultiTexGenfvEXT glGetMultiTexGenfvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetMultiTexGenivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] Int32* @params); + internal unsafe static GetMultiTexGenivEXT glGetMultiTexGenivEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void GetMultiTexImageEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr pixels); + internal static GetMultiTexImageEXT glGetMultiTexImageEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetMultiTexLevelParameterfvEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Single* @params); + internal unsafe static GetMultiTexLevelParameterfvEXT glGetMultiTexLevelParameterfvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetMultiTexLevelParameterivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params); + internal unsafe static GetMultiTexLevelParameterivEXT glGetMultiTexLevelParameterivEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetMultiTexParameterfvEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Single* @params); + internal unsafe static GetMultiTexParameterfvEXT glGetMultiTexParameterfvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetMultiTexParameterIivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params); + internal unsafe static GetMultiTexParameterIivEXT glGetMultiTexParameterIivEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetMultiTexParameterIuivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] UInt32* @params); + internal unsafe static GetMultiTexParameterIuivEXT glGetMultiTexParameterIuivEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetMultiTexParameterivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params); + internal unsafe static GetMultiTexParameterivEXT glGetMultiTexParameterivEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetNamedBufferParameterivEXT(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32* @params); + internal unsafe static GetNamedBufferParameterivEXT glGetNamedBufferParameterivEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetNamedBufferParameterui64vNV(UInt32 buffer, OpenTK.Graphics.OpenGL.NvShaderBufferLoad pname, [OutAttribute] UInt64* @params); + internal unsafe static GetNamedBufferParameterui64vNV glGetNamedBufferParameterui64vNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void GetNamedBufferPointervEXT(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] IntPtr @params); + internal static GetNamedBufferPointervEXT glGetNamedBufferPointervEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void GetNamedBufferSubDataEXT(UInt32 buffer, IntPtr offset, IntPtr size, [OutAttribute] IntPtr data); + internal static GetNamedBufferSubDataEXT glGetNamedBufferSubDataEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetNamedFramebufferAttachmentParameterivEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32* @params); + internal unsafe static GetNamedFramebufferAttachmentParameterivEXT glGetNamedFramebufferAttachmentParameterivEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetNamedProgramivEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32* @params); + internal unsafe static GetNamedProgramivEXT glGetNamedProgramivEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetNamedProgramLocalParameterdvEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] Double* @params); + internal unsafe static GetNamedProgramLocalParameterdvEXT glGetNamedProgramLocalParameterdvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetNamedProgramLocalParameterfvEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] Single* @params); + internal unsafe static GetNamedProgramLocalParameterfvEXT glGetNamedProgramLocalParameterfvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetNamedProgramLocalParameterIivEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] Int32* @params); + internal unsafe static GetNamedProgramLocalParameterIivEXT glGetNamedProgramLocalParameterIivEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetNamedProgramLocalParameterIuivEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] UInt32* @params); + internal unsafe static GetNamedProgramLocalParameterIuivEXT glGetNamedProgramLocalParameterIuivEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void GetNamedProgramStringEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] IntPtr @string); + internal static GetNamedProgramStringEXT glGetNamedProgramStringEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetNamedRenderbufferParameterivEXT(UInt32 renderbuffer, OpenTK.Graphics.OpenGL.RenderbufferParameterName pname, [OutAttribute] Int32* @params); + internal unsafe static GetNamedRenderbufferParameterivEXT glGetNamedRenderbufferParameterivEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetNamedStringARB(Int32 namelen, String name, Int32 bufSize, [OutAttribute] Int32* stringlen, [OutAttribute] StringBuilder @string); + internal unsafe static GetNamedStringARB glGetNamedStringARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetNamedStringivARB(Int32 namelen, String name, OpenTK.Graphics.OpenGL.ArbShadingLanguageInclude pname, [OutAttribute] Int32* @params); + internal unsafe static GetNamedStringivARB glGetNamedStringivARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void GetnColorTableARB(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [OutAttribute] IntPtr table); + internal static GetnColorTableARB glGetnColorTableARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void GetnCompressedTexImageARB(OpenTK.Graphics.OpenGL.ArbRobustness target, Int32 lod, Int32 bufSize, [OutAttribute] IntPtr img); + internal static GetnCompressedTexImageARB glGetnCompressedTexImageARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void GetnConvolutionFilterARB(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [OutAttribute] IntPtr image); + internal static GetnConvolutionFilterARB glGetnConvolutionFilterARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void GetnHistogramARB(OpenTK.Graphics.OpenGL.ArbRobustness target, bool reset, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [OutAttribute] IntPtr values); + internal static GetnHistogramARB glGetnHistogramARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetnMapdvARB(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness query, Int32 bufSize, [OutAttribute] Double* v); + internal unsafe static GetnMapdvARB glGetnMapdvARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetnMapfvARB(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness query, Int32 bufSize, [OutAttribute] Single* v); + internal unsafe static GetnMapfvARB glGetnMapfvARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetnMapivARB(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness query, Int32 bufSize, [OutAttribute] Int32* v); + internal unsafe static GetnMapivARB glGetnMapivARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void GetnMinmaxARB(OpenTK.Graphics.OpenGL.ArbRobustness target, bool reset, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [OutAttribute] IntPtr values); + internal static GetnMinmaxARB glGetnMinmaxARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetnPixelMapfvARB(OpenTK.Graphics.OpenGL.ArbRobustness map, Int32 bufSize, [OutAttribute] Single* values); + internal unsafe static GetnPixelMapfvARB glGetnPixelMapfvARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetnPixelMapuivARB(OpenTK.Graphics.OpenGL.ArbRobustness map, Int32 bufSize, [OutAttribute] UInt32* values); + internal unsafe static GetnPixelMapuivARB glGetnPixelMapuivARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetnPixelMapusvARB(OpenTK.Graphics.OpenGL.ArbRobustness map, Int32 bufSize, [OutAttribute] UInt16* values); + internal unsafe static GetnPixelMapusvARB glGetnPixelMapusvARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetnPolygonStippleARB(Int32 bufSize, [OutAttribute] Byte* pattern); + internal unsafe static GetnPolygonStippleARB glGetnPolygonStippleARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void GetnSeparableFilterARB(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 rowBufSize, [OutAttribute] IntPtr row, Int32 columnBufSize, [OutAttribute] IntPtr column, [OutAttribute] IntPtr span); + internal static GetnSeparableFilterARB glGetnSeparableFilterARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void GetnTexImageARB(OpenTK.Graphics.OpenGL.ArbRobustness target, Int32 level, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [OutAttribute] IntPtr img); + internal static GetnTexImageARB glGetnTexImageARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetnUniformdvARB(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Double* @params); + internal unsafe static GetnUniformdvARB glGetnUniformdvARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetnUniformfvARB(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Single* @params); + internal unsafe static GetnUniformfvARB glGetnUniformfvARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetnUniformivARB(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32* @params); + internal unsafe static GetnUniformivARB glGetnUniformivARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetnUniformuivARB(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] UInt32* @params); + internal unsafe static GetnUniformuivARB glGetnUniformuivARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetObjectBufferfvATI(UInt32 buffer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] Single* @params); + internal unsafe static GetObjectBufferfvATI glGetObjectBufferfvATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetObjectBufferivATI(UInt32 buffer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] Int32* @params); + internal unsafe static GetObjectBufferivATI glGetObjectBufferivATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetObjectParameterfvARB(UInt32 obj, OpenTK.Graphics.OpenGL.ArbShaderObjects pname, [OutAttribute] Single* @params); + internal unsafe static GetObjectParameterfvARB glGetObjectParameterfvARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetObjectParameterivAPPLE(OpenTK.Graphics.OpenGL.AppleObjectPurgeable objectType, UInt32 name, OpenTK.Graphics.OpenGL.AppleObjectPurgeable pname, [OutAttribute] Int32* @params); + internal unsafe static GetObjectParameterivAPPLE glGetObjectParameterivAPPLE; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetObjectParameterivARB(UInt32 obj, OpenTK.Graphics.OpenGL.ArbShaderObjects pname, [OutAttribute] Int32* @params); + internal unsafe static GetObjectParameterivARB glGetObjectParameterivARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetOcclusionQueryivNV(UInt32 id, OpenTK.Graphics.OpenGL.NvOcclusionQuery pname, [OutAttribute] Int32* @params); + internal unsafe static GetOcclusionQueryivNV glGetOcclusionQueryivNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetOcclusionQueryuivNV(UInt32 id, OpenTK.Graphics.OpenGL.NvOcclusionQuery pname, [OutAttribute] UInt32* @params); + internal unsafe static GetOcclusionQueryuivNV glGetOcclusionQueryuivNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetPerfMonitorCounterDataAMD(UInt32 monitor, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, Int32 dataSize, [OutAttribute] UInt32* data, [OutAttribute] Int32* bytesWritten); + internal unsafe static GetPerfMonitorCounterDataAMD glGetPerfMonitorCounterDataAMD; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void GetPerfMonitorCounterInfoAMD(UInt32 group, UInt32 counter, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, [OutAttribute] IntPtr data); + internal static GetPerfMonitorCounterInfoAMD glGetPerfMonitorCounterInfoAMD; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetPerfMonitorCountersAMD(UInt32 group, [OutAttribute] Int32* numCounters, [OutAttribute] Int32* maxActiveCounters, Int32 counterSize, [OutAttribute] UInt32* counters); + internal unsafe static GetPerfMonitorCountersAMD glGetPerfMonitorCountersAMD; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetPerfMonitorCounterStringAMD(UInt32 group, UInt32 counter, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder counterString); + internal unsafe static GetPerfMonitorCounterStringAMD glGetPerfMonitorCounterStringAMD; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetPerfMonitorGroupsAMD([OutAttribute] Int32* numGroups, Int32 groupsSize, [OutAttribute] UInt32* groups); + internal unsafe static GetPerfMonitorGroupsAMD glGetPerfMonitorGroupsAMD; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetPerfMonitorGroupStringAMD(UInt32 group, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder groupString); + internal unsafe static GetPerfMonitorGroupStringAMD glGetPerfMonitorGroupStringAMD; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetPixelMapfv(OpenTK.Graphics.OpenGL.PixelMap map, [OutAttribute] Single* values); + internal unsafe static GetPixelMapfv glGetPixelMapfv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetPixelMapuiv(OpenTK.Graphics.OpenGL.PixelMap map, [OutAttribute] UInt32* values); + internal unsafe static GetPixelMapuiv glGetPixelMapuiv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetPixelMapusv(OpenTK.Graphics.OpenGL.PixelMap map, [OutAttribute] UInt16* values); + internal unsafe static GetPixelMapusv glGetPixelMapusv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetPixelTexGenParameterfvSGIS(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, [OutAttribute] Single* @params); + internal unsafe static GetPixelTexGenParameterfvSGIS glGetPixelTexGenParameterfvSGIS; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetPixelTexGenParameterivSGIS(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, [OutAttribute] Int32* @params); + internal unsafe static GetPixelTexGenParameterivSGIS glGetPixelTexGenParameterivSGIS; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void GetPointerIndexedvEXT(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] IntPtr data); + internal static GetPointerIndexedvEXT glGetPointerIndexedvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void GetPointerv(OpenTK.Graphics.OpenGL.GetPointervPName pname, [OutAttribute] IntPtr @params); + internal static GetPointerv glGetPointerv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void GetPointervEXT(OpenTK.Graphics.OpenGL.GetPointervPName pname, [OutAttribute] IntPtr @params); + internal static GetPointervEXT glGetPointervEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetPolygonStipple([OutAttribute] Byte* mask); + internal unsafe static GetPolygonStipple glGetPolygonStipple; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.OpenGL.BinaryFormat* binaryFormat, [OutAttribute] IntPtr binary); + internal unsafe static GetProgramBinary glGetProgramBinary; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetProgramEnvParameterdvARB(OpenTK.Graphics.OpenGL.ArbVertexProgram target, UInt32 index, [OutAttribute] Double* @params); + internal unsafe static GetProgramEnvParameterdvARB glGetProgramEnvParameterdvARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetProgramEnvParameterfvARB(OpenTK.Graphics.OpenGL.ArbVertexProgram target, UInt32 index, [OutAttribute] Single* @params); + internal unsafe static GetProgramEnvParameterfvARB glGetProgramEnvParameterfvARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetProgramEnvParameterIivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, [OutAttribute] Int32* @params); + internal unsafe static GetProgramEnvParameterIivNV glGetProgramEnvParameterIivNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetProgramEnvParameterIuivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, [OutAttribute] UInt32* @params); + internal unsafe static GetProgramEnvParameterIuivNV glGetProgramEnvParameterIuivNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetProgramInfoLog(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog); + internal unsafe static GetProgramInfoLog glGetProgramInfoLog; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetProgramiv(UInt32 program, OpenTK.Graphics.OpenGL.ProgramParameter pname, [OutAttribute] Int32* @params); + internal unsafe static GetProgramiv glGetProgramiv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetProgramivARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] Int32* @params); + internal unsafe static GetProgramivARB glGetProgramivARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetProgramivNV(UInt32 id, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] Int32* @params); + internal unsafe static GetProgramivNV glGetProgramivNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetProgramLocalParameterdvARB(OpenTK.Graphics.OpenGL.ArbVertexProgram target, UInt32 index, [OutAttribute] Double* @params); + internal unsafe static GetProgramLocalParameterdvARB glGetProgramLocalParameterdvARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetProgramLocalParameterfvARB(OpenTK.Graphics.OpenGL.ArbVertexProgram target, UInt32 index, [OutAttribute] Single* @params); + internal unsafe static GetProgramLocalParameterfvARB glGetProgramLocalParameterfvARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetProgramLocalParameterIivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, [OutAttribute] Int32* @params); + internal unsafe static GetProgramLocalParameterIivNV glGetProgramLocalParameterIivNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetProgramLocalParameterIuivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, [OutAttribute] UInt32* @params); + internal unsafe static GetProgramLocalParameterIuivNV glGetProgramLocalParameterIuivNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetProgramNamedParameterdvNV(UInt32 id, Int32 len, Byte* name, [OutAttribute] Double* @params); + internal unsafe static GetProgramNamedParameterdvNV glGetProgramNamedParameterdvNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetProgramNamedParameterfvNV(UInt32 id, Int32 len, Byte* name, [OutAttribute] Single* @params); + internal unsafe static GetProgramNamedParameterfvNV glGetProgramNamedParameterfvNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetProgramParameterdvNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] Double* @params); + internal unsafe static GetProgramParameterdvNV glGetProgramParameterdvNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetProgramParameterfvNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] Single* @params); + internal unsafe static GetProgramParameterfvNV glGetProgramParameterfvNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetProgramPipelineInfoLog(UInt32 pipeline, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog); + internal unsafe static GetProgramPipelineInfoLog glGetProgramPipelineInfoLog; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetProgramPipelineiv(UInt32 pipeline, OpenTK.Graphics.OpenGL.ProgramPipelineParameter pname, [OutAttribute] Int32* @params); + internal unsafe static GetProgramPipelineiv glGetProgramPipelineiv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetProgramStageiv(UInt32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, OpenTK.Graphics.OpenGL.ProgramStageParameter pname, [OutAttribute] Int32* values); + internal unsafe static GetProgramStageiv glGetProgramStageiv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void GetProgramStringARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] IntPtr @string); + internal static GetProgramStringARB glGetProgramStringARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetProgramStringNV(UInt32 id, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] Byte* program); + internal unsafe static GetProgramStringNV glGetProgramStringNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetProgramSubroutineParameteruivNV(OpenTK.Graphics.OpenGL.NvGpuProgram5 target, UInt32 index, [OutAttribute] UInt32* param); + internal unsafe static GetProgramSubroutineParameteruivNV glGetProgramSubroutineParameteruivNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetQueryIndexediv(OpenTK.Graphics.OpenGL.QueryTarget target, UInt32 index, OpenTK.Graphics.OpenGL.GetQueryParam pname, [OutAttribute] Int32* @params); + internal unsafe static GetQueryIndexediv glGetQueryIndexediv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetQueryiv(OpenTK.Graphics.OpenGL.QueryTarget target, OpenTK.Graphics.OpenGL.GetQueryParam pname, [OutAttribute] Int32* @params); + internal unsafe static GetQueryiv glGetQueryiv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetQueryivARB(OpenTK.Graphics.OpenGL.ArbOcclusionQuery target, OpenTK.Graphics.OpenGL.ArbOcclusionQuery pname, [OutAttribute] Int32* @params); + internal unsafe static GetQueryivARB glGetQueryivARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetQueryObjecti64v(UInt32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [OutAttribute] Int64* @params); + internal unsafe static GetQueryObjecti64v glGetQueryObjecti64v; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetQueryObjecti64vEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtTimerQuery pname, [OutAttribute] Int64* @params); + internal unsafe static GetQueryObjecti64vEXT glGetQueryObjecti64vEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetQueryObjectiv(UInt32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [OutAttribute] Int32* @params); + internal unsafe static GetQueryObjectiv glGetQueryObjectiv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetQueryObjectivARB(UInt32 id, OpenTK.Graphics.OpenGL.ArbOcclusionQuery pname, [OutAttribute] Int32* @params); + internal unsafe static GetQueryObjectivARB glGetQueryObjectivARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetQueryObjectui64v(UInt32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [OutAttribute] UInt64* @params); + internal unsafe static GetQueryObjectui64v glGetQueryObjectui64v; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetQueryObjectui64vEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtTimerQuery pname, [OutAttribute] UInt64* @params); + internal unsafe static GetQueryObjectui64vEXT glGetQueryObjectui64vEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetQueryObjectuiv(UInt32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [OutAttribute] UInt32* @params); + internal unsafe static GetQueryObjectuiv glGetQueryObjectuiv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetQueryObjectuivARB(UInt32 id, OpenTK.Graphics.OpenGL.ArbOcclusionQuery pname, [OutAttribute] UInt32* @params); + internal unsafe static GetQueryObjectuivARB glGetQueryObjectuivARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetRenderbufferParameteriv(OpenTK.Graphics.OpenGL.RenderbufferTarget target, OpenTK.Graphics.OpenGL.RenderbufferParameterName pname, [OutAttribute] Int32* @params); + internal unsafe static GetRenderbufferParameteriv glGetRenderbufferParameteriv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetRenderbufferParameterivEXT(OpenTK.Graphics.OpenGL.RenderbufferTarget target, OpenTK.Graphics.OpenGL.RenderbufferParameterName pname, [OutAttribute] Int32* @params); + internal unsafe static GetRenderbufferParameterivEXT glGetRenderbufferParameterivEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetSamplerParameterfv(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameter pname, [OutAttribute] Single* @params); + internal unsafe static GetSamplerParameterfv glGetSamplerParameterfv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetSamplerParameterIiv(UInt32 sampler, OpenTK.Graphics.OpenGL.ArbSamplerObjects pname, [OutAttribute] Int32* @params); + internal unsafe static GetSamplerParameterIiv glGetSamplerParameterIiv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetSamplerParameterIuiv(UInt32 sampler, OpenTK.Graphics.OpenGL.ArbSamplerObjects pname, [OutAttribute] UInt32* @params); + internal unsafe static GetSamplerParameterIuiv glGetSamplerParameterIuiv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetSamplerParameteriv(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameter pname, [OutAttribute] Int32* @params); + internal unsafe static GetSamplerParameteriv glGetSamplerParameteriv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void GetSeparableFilter(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [OutAttribute] IntPtr column, [OutAttribute] IntPtr span); + internal static GetSeparableFilter glGetSeparableFilter; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void GetSeparableFilterEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [OutAttribute] IntPtr column, [OutAttribute] IntPtr span); + internal static GetSeparableFilterEXT glGetSeparableFilterEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetShaderInfoLog(UInt32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog); + internal unsafe static GetShaderInfoLog glGetShaderInfoLog; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetShaderiv(UInt32 shader, OpenTK.Graphics.OpenGL.ShaderParameter pname, [OutAttribute] Int32* @params); + internal unsafe static GetShaderiv glGetShaderiv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetShaderPrecisionFormat(OpenTK.Graphics.OpenGL.ShaderType shadertype, OpenTK.Graphics.OpenGL.ShaderPrecisionType precisiontype, [OutAttribute] Int32* range, [OutAttribute] Int32* precision); + internal unsafe static GetShaderPrecisionFormat glGetShaderPrecisionFormat; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetShaderSource(UInt32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source); + internal unsafe static GetShaderSource glGetShaderSource; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetShaderSourceARB(UInt32 obj, Int32 maxLength, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source); + internal unsafe static GetShaderSourceARB glGetShaderSourceARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetSharpenTexFuncSGIS(OpenTK.Graphics.OpenGL.TextureTarget target, [OutAttribute] Single* points); + internal unsafe static GetSharpenTexFuncSGIS glGetSharpenTexFuncSGIS; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate IntPtr GetString(OpenTK.Graphics.OpenGL.StringName name); + internal static GetString glGetString; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate IntPtr GetStringi(OpenTK.Graphics.OpenGL.StringName name, UInt32 index); + internal static GetStringi glGetStringi; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate Int32 GetSubroutineIndex(UInt32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, String name); + internal static GetSubroutineIndex glGetSubroutineIndex; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate Int32 GetSubroutineUniformLocation(UInt32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, String name); + internal static GetSubroutineUniformLocation glGetSubroutineUniformLocation; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetSynciv(IntPtr sync, OpenTK.Graphics.OpenGL.ArbSync pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values); + internal unsafe static GetSynciv glGetSynciv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetTexBumpParameterfvATI(OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap pname, [OutAttribute] Single* param); + internal unsafe static GetTexBumpParameterfvATI glGetTexBumpParameterfvATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetTexBumpParameterivATI(OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap pname, [OutAttribute] Int32* param); + internal unsafe static GetTexBumpParameterivATI glGetTexBumpParameterivATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetTexEnvfv(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, [OutAttribute] Single* @params); + internal unsafe static GetTexEnvfv glGetTexEnvfv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetTexEnviv(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, [OutAttribute] Int32* @params); + internal unsafe static GetTexEnviv glGetTexEnviv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetTexFilterFuncSGIS(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.SgisTextureFilter4 filter, [OutAttribute] Single* weights); + internal unsafe static GetTexFilterFuncSGIS glGetTexFilterFuncSGIS; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetTexGendv(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] Double* @params); + internal unsafe static GetTexGendv glGetTexGendv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetTexGenfv(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] Single* @params); + internal unsafe static GetTexGenfv glGetTexGenfv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetTexGeniv(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] Int32* @params); + internal unsafe static GetTexGeniv glGetTexGeniv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void GetTexImage(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr pixels); + internal static GetTexImage glGetTexImage; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetTexLevelParameterfv(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Single* @params); + internal unsafe static GetTexLevelParameterfv glGetTexLevelParameterfv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetTexLevelParameteriv(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params); + internal unsafe static GetTexLevelParameteriv glGetTexLevelParameteriv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetTexParameterfv(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Single* @params); + internal unsafe static GetTexParameterfv glGetTexParameterfv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetTexParameterIiv(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params); + internal unsafe static GetTexParameterIiv glGetTexParameterIiv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetTexParameterIivEXT(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params); + internal unsafe static GetTexParameterIivEXT glGetTexParameterIivEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetTexParameterIuiv(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] UInt32* @params); + internal unsafe static GetTexParameterIuiv glGetTexParameterIuiv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetTexParameterIuivEXT(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] UInt32* @params); + internal unsafe static GetTexParameterIuivEXT glGetTexParameterIuivEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetTexParameteriv(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params); + internal unsafe static GetTexParameteriv glGetTexParameteriv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void GetTexParameterPointervAPPLE(OpenTK.Graphics.OpenGL.AppleTextureRange target, OpenTK.Graphics.OpenGL.AppleTextureRange pname, [OutAttribute] IntPtr @params); + internal static GetTexParameterPointervAPPLE glGetTexParameterPointervAPPLE; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void GetTextureImageEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr pixels); + internal static GetTextureImageEXT glGetTextureImageEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetTextureLevelParameterfvEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Single* @params); + internal unsafe static GetTextureLevelParameterfvEXT glGetTextureLevelParameterfvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetTextureLevelParameterivEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params); + internal unsafe static GetTextureLevelParameterivEXT glGetTextureLevelParameterivEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetTextureParameterfvEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Single* @params); + internal unsafe static GetTextureParameterfvEXT glGetTextureParameterfvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetTextureParameterIivEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params); + internal unsafe static GetTextureParameterIivEXT glGetTextureParameterIivEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetTextureParameterIuivEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] UInt32* @params); + internal unsafe static GetTextureParameterIuivEXT glGetTextureParameterIuivEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetTextureParameterivEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params); + internal unsafe static GetTextureParameterivEXT glGetTextureParameterivEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetTrackMatrixivNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 address, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] Int32* @params); + internal unsafe static GetTrackMatrixivNV glGetTrackMatrixivNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.ActiveAttribType* type, [OutAttribute] StringBuilder name); + internal unsafe static GetTransformFeedbackVarying glGetTransformFeedbackVarying; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetTransformFeedbackVaryingEXT(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.ExtTransformFeedback* type, [OutAttribute] StringBuilder name); + internal unsafe static GetTransformFeedbackVaryingEXT glGetTransformFeedbackVaryingEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetTransformFeedbackVaryingNV(UInt32 program, UInt32 index, [OutAttribute] Int32* location); + internal unsafe static GetTransformFeedbackVaryingNV glGetTransformFeedbackVaryingNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate Int32 GetUniformBlockIndex(UInt32 program, String uniformBlockName); + internal static GetUniformBlockIndex glGetUniformBlockIndex; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate Int32 GetUniformBufferSizeEXT(UInt32 program, Int32 location); + internal static GetUniformBufferSizeEXT glGetUniformBufferSizeEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetUniformdv(UInt32 program, Int32 location, [OutAttribute] Double* @params); + internal unsafe static GetUniformdv glGetUniformdv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetUniformfv(UInt32 program, Int32 location, [OutAttribute] Single* @params); + internal unsafe static GetUniformfv glGetUniformfv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetUniformfvARB(UInt32 programObj, Int32 location, [OutAttribute] Single* @params); + internal unsafe static GetUniformfvARB glGetUniformfvARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetUniformi64vNV(UInt32 program, Int32 location, [OutAttribute] Int64* @params); + internal unsafe static GetUniformi64vNV glGetUniformi64vNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetUniformIndices(UInt32 program, Int32 uniformCount, String[] uniformNames, [OutAttribute] UInt32* uniformIndices); + internal unsafe static GetUniformIndices glGetUniformIndices; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetUniformiv(UInt32 program, Int32 location, [OutAttribute] Int32* @params); + internal unsafe static GetUniformiv glGetUniformiv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetUniformivARB(UInt32 programObj, Int32 location, [OutAttribute] Int32* @params); + internal unsafe static GetUniformivARB glGetUniformivARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate Int32 GetUniformLocation(UInt32 program, String name); + internal static GetUniformLocation glGetUniformLocation; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate Int32 GetUniformLocationARB(UInt32 programObj, String name); + internal static GetUniformLocationARB glGetUniformLocationARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate IntPtr GetUniformOffsetEXT(UInt32 program, Int32 location); + internal static GetUniformOffsetEXT glGetUniformOffsetEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetUniformSubroutineuiv(OpenTK.Graphics.OpenGL.ShaderType shadertype, Int32 location, [OutAttribute] UInt32* @params); + internal unsafe static GetUniformSubroutineuiv glGetUniformSubroutineuiv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetUniformui64vNV(UInt32 program, Int32 location, [OutAttribute] UInt64* @params); + internal unsafe static GetUniformui64vNV glGetUniformui64vNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetUniformuiv(UInt32 program, Int32 location, [OutAttribute] UInt32* @params); + internal unsafe static GetUniformuiv glGetUniformuiv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetUniformuivEXT(UInt32 program, Int32 location, [OutAttribute] UInt32* @params); + internal unsafe static GetUniformuivEXT glGetUniformuivEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetVariantArrayObjectfvATI(UInt32 id, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] Single* @params); + internal unsafe static GetVariantArrayObjectfvATI glGetVariantArrayObjectfvATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetVariantArrayObjectivATI(UInt32 id, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] Int32* @params); + internal unsafe static GetVariantArrayObjectivATI glGetVariantArrayObjectivATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetVariantBooleanvEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] bool* data); + internal unsafe static GetVariantBooleanvEXT glGetVariantBooleanvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetVariantFloatvEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Single* data); + internal unsafe static GetVariantFloatvEXT glGetVariantFloatvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetVariantIntegervEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Int32* data); + internal unsafe static GetVariantIntegervEXT glGetVariantIntegervEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void GetVariantPointervEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] IntPtr data); + internal static GetVariantPointervEXT glGetVariantPointervEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate Int32 GetVaryingLocationNV(UInt32 program, String name); + internal static GetVaryingLocationNV glGetVaryingLocationNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetVertexAttribArrayObjectfvATI(UInt32 index, OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject pname, [OutAttribute] Single* @params); + internal unsafe static GetVertexAttribArrayObjectfvATI glGetVertexAttribArrayObjectfvATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetVertexAttribArrayObjectivATI(UInt32 index, OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject pname, [OutAttribute] Int32* @params); + internal unsafe static GetVertexAttribArrayObjectivATI glGetVertexAttribArrayObjectivATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetVertexAttribdv(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Double* @params); + internal unsafe static GetVertexAttribdv glGetVertexAttribdv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetVertexAttribdvARB(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] Double* @params); + internal unsafe static GetVertexAttribdvARB glGetVertexAttribdvARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetVertexAttribdvNV(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] Double* @params); + internal unsafe static GetVertexAttribdvNV glGetVertexAttribdvNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetVertexAttribfv(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Single* @params); + internal unsafe static GetVertexAttribfv glGetVertexAttribfv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetVertexAttribfvARB(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] Single* @params); + internal unsafe static GetVertexAttribfvARB glGetVertexAttribfvARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetVertexAttribfvNV(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] Single* @params); + internal unsafe static GetVertexAttribfvNV glGetVertexAttribfvNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetVertexAttribIiv(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Int32* @params); + internal unsafe static GetVertexAttribIiv glGetVertexAttribIiv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetVertexAttribIivEXT(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram4 pname, [OutAttribute] Int32* @params); + internal unsafe static GetVertexAttribIivEXT glGetVertexAttribIivEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetVertexAttribIuiv(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] UInt32* @params); + internal unsafe static GetVertexAttribIuiv glGetVertexAttribIuiv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetVertexAttribIuivEXT(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram4 pname, [OutAttribute] UInt32* @params); + internal unsafe static GetVertexAttribIuivEXT glGetVertexAttribIuivEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetVertexAttribiv(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Int32* @params); + internal unsafe static GetVertexAttribiv glGetVertexAttribiv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetVertexAttribivARB(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] Int32* @params); + internal unsafe static GetVertexAttribivARB glGetVertexAttribivARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetVertexAttribivNV(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] Int32* @params); + internal unsafe static GetVertexAttribivNV glGetVertexAttribivNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetVertexAttribLdv(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Double* @params); + internal unsafe static GetVertexAttribLdv glGetVertexAttribLdv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetVertexAttribLdvEXT(UInt32 index, OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit pname, [OutAttribute] Double* @params); + internal unsafe static GetVertexAttribLdvEXT glGetVertexAttribLdvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetVertexAttribLi64vNV(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit pname, [OutAttribute] Int64* @params); + internal unsafe static GetVertexAttribLi64vNV glGetVertexAttribLi64vNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetVertexAttribLui64vNV(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit pname, [OutAttribute] UInt64* @params); + internal unsafe static GetVertexAttribLui64vNV glGetVertexAttribLui64vNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void GetVertexAttribPointerv(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameter pname, [OutAttribute] IntPtr pointer); + internal static GetVertexAttribPointerv glGetVertexAttribPointerv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void GetVertexAttribPointervARB(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb pname, [OutAttribute] IntPtr pointer); + internal static GetVertexAttribPointervARB glGetVertexAttribPointervARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void GetVertexAttribPointervNV(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] IntPtr pointer); + internal static GetVertexAttribPointervNV glGetVertexAttribPointervNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetVideoCaptureivNV(UInt32 video_capture_slot, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] Int32* @params); + internal unsafe static GetVideoCaptureivNV glGetVideoCaptureivNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetVideoCaptureStreamdvNV(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] Double* @params); + internal unsafe static GetVideoCaptureStreamdvNV glGetVideoCaptureStreamdvNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetVideoCaptureStreamfvNV(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] Single* @params); + internal unsafe static GetVideoCaptureStreamfvNV glGetVideoCaptureStreamfvNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetVideoCaptureStreamivNV(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] Int32* @params); + internal unsafe static GetVideoCaptureStreamivNV glGetVideoCaptureStreamivNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetVideoi64vNV(UInt32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] Int64* @params); + internal unsafe static GetVideoi64vNV glGetVideoi64vNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetVideoivNV(UInt32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] Int32* @params); + internal unsafe static GetVideoivNV glGetVideoivNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetVideoui64vNV(UInt32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] UInt64* @params); + internal unsafe static GetVideoui64vNV glGetVideoui64vNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetVideouivNV(UInt32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] UInt32* @params); + internal unsafe static GetVideouivNV glGetVideouivNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void GlobalAlphaFactorbSUN(SByte factor); + internal static GlobalAlphaFactorbSUN glGlobalAlphaFactorbSUN; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void GlobalAlphaFactordSUN(Double factor); + internal static GlobalAlphaFactordSUN glGlobalAlphaFactordSUN; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void GlobalAlphaFactorfSUN(Single factor); + internal static GlobalAlphaFactorfSUN glGlobalAlphaFactorfSUN; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void GlobalAlphaFactoriSUN(Int32 factor); + internal static GlobalAlphaFactoriSUN glGlobalAlphaFactoriSUN; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void GlobalAlphaFactorsSUN(Int16 factor); + internal static GlobalAlphaFactorsSUN glGlobalAlphaFactorsSUN; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void GlobalAlphaFactorubSUN(Byte factor); + internal static GlobalAlphaFactorubSUN glGlobalAlphaFactorubSUN; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void GlobalAlphaFactoruiSUN(UInt32 factor); + internal static GlobalAlphaFactoruiSUN glGlobalAlphaFactoruiSUN; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void GlobalAlphaFactorusSUN(UInt16 factor); + internal static GlobalAlphaFactorusSUN glGlobalAlphaFactorusSUN; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Hint(OpenTK.Graphics.OpenGL.HintTarget target, OpenTK.Graphics.OpenGL.HintMode mode); + internal static Hint glHint; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void HintPGI(OpenTK.Graphics.OpenGL.PgiMiscHints target, Int32 mode); + internal static HintPGI glHintPGI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Histogram(OpenTK.Graphics.OpenGL.HistogramTarget target, Int32 width, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, bool sink); + internal static Histogram glHistogram; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void HistogramEXT(OpenTK.Graphics.OpenGL.ExtHistogram target, Int32 width, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, bool sink); + internal static HistogramEXT glHistogramEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void IglooInterfaceSGIX(OpenTK.Graphics.OpenGL.All pname, IntPtr @params); + internal static IglooInterfaceSGIX glIglooInterfaceSGIX; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ImageTransformParameterfHP(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, Single param); + internal static ImageTransformParameterfHP glImageTransformParameterfHP; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ImageTransformParameterfvHP(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, Single* @params); + internal unsafe static ImageTransformParameterfvHP glImageTransformParameterfvHP; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ImageTransformParameteriHP(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, Int32 param); + internal static ImageTransformParameteriHP glImageTransformParameteriHP; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ImageTransformParameterivHP(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, Int32* @params); + internal unsafe static ImageTransformParameterivHP glImageTransformParameterivHP; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate IntPtr ImportSyncEXT(OpenTK.Graphics.OpenGL.ExtX11SyncObject external_sync_type, IntPtr external_sync, UInt32 flags); + internal static ImportSyncEXT glImportSyncEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Indexd(Double c); + internal static Indexd glIndexd; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Indexdv(Double* c); + internal unsafe static Indexdv glIndexdv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Indexf(Single c); + internal static Indexf glIndexf; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void IndexFormatNV(OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride); + internal static IndexFormatNV glIndexFormatNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void IndexFuncEXT(OpenTK.Graphics.OpenGL.ExtIndexFunc func, Single @ref); + internal static IndexFuncEXT glIndexFuncEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Indexfv(Single* c); + internal unsafe static Indexfv glIndexfv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Indexi(Int32 c); + internal static Indexi glIndexi; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Indexiv(Int32* c); + internal unsafe static Indexiv glIndexiv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void IndexMask(UInt32 mask); + internal static IndexMask glIndexMask; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void IndexMaterialEXT(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.ExtIndexMaterial mode); + internal static IndexMaterialEXT glIndexMaterialEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void IndexPointer(OpenTK.Graphics.OpenGL.IndexPointerType type, Int32 stride, IntPtr pointer); + internal static IndexPointer glIndexPointer; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void IndexPointerEXT(OpenTK.Graphics.OpenGL.IndexPointerType type, Int32 stride, Int32 count, IntPtr pointer); + internal static IndexPointerEXT glIndexPointerEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void IndexPointerListIBM(OpenTK.Graphics.OpenGL.IndexPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride); + internal static IndexPointerListIBM glIndexPointerListIBM; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Indexs(Int16 c); + internal static Indexs glIndexs; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Indexsv(Int16* c); + internal unsafe static Indexsv glIndexsv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Indexub(Byte c); + internal static Indexub glIndexub; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Indexubv(Byte* c); + internal unsafe static Indexubv glIndexubv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void InitNames(); + internal static InitNames glInitNames; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void InsertComponentEXT(UInt32 res, UInt32 src, UInt32 num); + internal static InsertComponentEXT glInsertComponentEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void InstrumentsBufferSGIX(Int32 size, [OutAttribute] Int32* buffer); + internal unsafe static InstrumentsBufferSGIX glInstrumentsBufferSGIX; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void InterleavedArrays(OpenTK.Graphics.OpenGL.InterleavedArrayFormat format, Int32 stride, IntPtr pointer); + internal static InterleavedArrays glInterleavedArrays; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate bool IsAsyncMarkerSGIX(UInt32 marker); + internal static IsAsyncMarkerSGIX glIsAsyncMarkerSGIX; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate bool IsBuffer(UInt32 buffer); + internal static IsBuffer glIsBuffer; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate bool IsBufferARB(UInt32 buffer); + internal static IsBufferARB glIsBufferARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate bool IsBufferResidentNV(OpenTK.Graphics.OpenGL.NvShaderBufferLoad target); + internal static IsBufferResidentNV glIsBufferResidentNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate bool IsEnabled(OpenTK.Graphics.OpenGL.EnableCap cap); + internal static IsEnabled glIsEnabled; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate bool IsEnabledi(OpenTK.Graphics.OpenGL.IndexedEnableCap target, UInt32 index); + internal static IsEnabledi glIsEnabledi; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate bool IsEnabledIndexedEXT(OpenTK.Graphics.OpenGL.IndexedEnableCap target, UInt32 index); + internal static IsEnabledIndexedEXT glIsEnabledIndexedEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate bool IsFenceAPPLE(UInt32 fence); + internal static IsFenceAPPLE glIsFenceAPPLE; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate bool IsFenceNV(UInt32 fence); + internal static IsFenceNV glIsFenceNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate bool IsFramebuffer(UInt32 framebuffer); + internal static IsFramebuffer glIsFramebuffer; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate bool IsFramebufferEXT(UInt32 framebuffer); + internal static IsFramebufferEXT glIsFramebufferEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate bool IsList(UInt32 list); + internal static IsList glIsList; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate bool IsNameAMD(OpenTK.Graphics.OpenGL.AmdNameGenDelete identifier, UInt32 name); + internal static IsNameAMD glIsNameAMD; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate bool IsNamedBufferResidentNV(UInt32 buffer); + internal static IsNamedBufferResidentNV glIsNamedBufferResidentNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate bool IsNamedStringARB(Int32 namelen, String name); + internal static IsNamedStringARB glIsNamedStringARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate bool IsObjectBufferATI(UInt32 buffer); + internal static IsObjectBufferATI glIsObjectBufferATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate bool IsOcclusionQueryNV(UInt32 id); + internal static IsOcclusionQueryNV glIsOcclusionQueryNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate bool IsProgram(UInt32 program); + internal static IsProgram glIsProgram; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate bool IsProgramARB(UInt32 program); + internal static IsProgramARB glIsProgramARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate bool IsProgramNV(UInt32 id); + internal static IsProgramNV glIsProgramNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate bool IsProgramPipeline(UInt32 pipeline); + internal static IsProgramPipeline glIsProgramPipeline; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate bool IsQuery(UInt32 id); + internal static IsQuery glIsQuery; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate bool IsQueryARB(UInt32 id); + internal static IsQueryARB glIsQueryARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate bool IsRenderbuffer(UInt32 renderbuffer); + internal static IsRenderbuffer glIsRenderbuffer; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate bool IsRenderbufferEXT(UInt32 renderbuffer); + internal static IsRenderbufferEXT glIsRenderbufferEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate bool IsSampler(UInt32 sampler); + internal static IsSampler glIsSampler; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate bool IsShader(UInt32 shader); + internal static IsShader glIsShader; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate bool IsSync(IntPtr sync); + internal static IsSync glIsSync; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate bool IsTexture(UInt32 texture); + internal static IsTexture glIsTexture; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate bool IsTextureEXT(UInt32 texture); + internal static IsTextureEXT glIsTextureEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate bool IsTransformFeedback(UInt32 id); + internal static IsTransformFeedback glIsTransformFeedback; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate bool IsTransformFeedbackNV(UInt32 id); + internal static IsTransformFeedbackNV glIsTransformFeedbackNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate bool IsVariantEnabledEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader cap); + internal static IsVariantEnabledEXT glIsVariantEnabledEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate bool IsVertexArray(UInt32 array); + internal static IsVertexArray glIsVertexArray; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate bool IsVertexArrayAPPLE(UInt32 array); + internal static IsVertexArrayAPPLE glIsVertexArrayAPPLE; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate bool IsVertexAttribEnabledAPPLE(UInt32 index, OpenTK.Graphics.OpenGL.AppleVertexProgramEvaluators pname); + internal static IsVertexAttribEnabledAPPLE glIsVertexAttribEnabledAPPLE; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void LightEnviSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Int32 param); + internal static LightEnviSGIX glLightEnviSGIX; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Lightf(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, Single param); + internal static Lightf glLightf; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Lightfv(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, Single* @params); + internal unsafe static Lightfv glLightfv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Lighti(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, Int32 param); + internal static Lighti glLighti; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Lightiv(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, Int32* @params); + internal unsafe static Lightiv glLightiv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void LightModelf(OpenTK.Graphics.OpenGL.LightModelParameter pname, Single param); + internal static LightModelf glLightModelf; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void LightModelfv(OpenTK.Graphics.OpenGL.LightModelParameter pname, Single* @params); + internal unsafe static LightModelfv glLightModelfv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void LightModeli(OpenTK.Graphics.OpenGL.LightModelParameter pname, Int32 param); + internal static LightModeli glLightModeli; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void LightModeliv(OpenTK.Graphics.OpenGL.LightModelParameter pname, Int32* @params); + internal unsafe static LightModeliv glLightModeliv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void LineStipple(Int32 factor, UInt16 pattern); + internal static LineStipple glLineStipple; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void LineWidth(Single width); + internal static LineWidth glLineWidth; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void LinkProgram(UInt32 program); + internal static LinkProgram glLinkProgram; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void LinkProgramARB(UInt32 programObj); + internal static LinkProgramARB glLinkProgramARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ListBase(UInt32 @base); + internal static ListBase glListBase; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ListParameterfSGIX(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, Single param); + internal static ListParameterfSGIX glListParameterfSGIX; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ListParameterfvSGIX(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, Single* @params); + internal unsafe static ListParameterfvSGIX glListParameterfvSGIX; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ListParameteriSGIX(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, Int32 param); + internal static ListParameteriSGIX glListParameteriSGIX; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ListParameterivSGIX(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, Int32* @params); + internal unsafe static ListParameterivSGIX glListParameterivSGIX; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void LoadIdentity(); + internal static LoadIdentity glLoadIdentity; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void LoadIdentityDeformationMapSGIX(UInt32 mask); + internal static LoadIdentityDeformationMapSGIX glLoadIdentityDeformationMapSGIX; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void LoadMatrixd(Double* m); + internal unsafe static LoadMatrixd glLoadMatrixd; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void LoadMatrixf(Single* m); + internal unsafe static LoadMatrixf glLoadMatrixf; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void LoadName(UInt32 name); + internal static LoadName glLoadName; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void LoadProgramNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 id, Int32 len, Byte* program); + internal unsafe static LoadProgramNV glLoadProgramNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void LoadTransposeMatrixd(Double* m); + internal unsafe static LoadTransposeMatrixd glLoadTransposeMatrixd; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void LoadTransposeMatrixdARB(Double* m); + internal unsafe static LoadTransposeMatrixdARB glLoadTransposeMatrixdARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void LoadTransposeMatrixf(Single* m); + internal unsafe static LoadTransposeMatrixf glLoadTransposeMatrixf; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void LoadTransposeMatrixfARB(Single* m); + internal unsafe static LoadTransposeMatrixfARB glLoadTransposeMatrixfARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void LockArraysEXT(Int32 first, Int32 count); + internal static LockArraysEXT glLockArraysEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void LogicOp(OpenTK.Graphics.OpenGL.LogicOp opcode); + internal static LogicOp glLogicOp; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MakeBufferNonResidentNV(OpenTK.Graphics.OpenGL.NvShaderBufferLoad target); + internal static MakeBufferNonResidentNV glMakeBufferNonResidentNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MakeBufferResidentNV(OpenTK.Graphics.OpenGL.NvShaderBufferLoad target, OpenTK.Graphics.OpenGL.NvShaderBufferLoad access); + internal static MakeBufferResidentNV glMakeBufferResidentNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MakeNamedBufferNonResidentNV(UInt32 buffer); + internal static MakeNamedBufferNonResidentNV glMakeNamedBufferNonResidentNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MakeNamedBufferResidentNV(UInt32 buffer, OpenTK.Graphics.OpenGL.NvShaderBufferLoad access); + internal static MakeNamedBufferResidentNV glMakeNamedBufferResidentNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Map1d(OpenTK.Graphics.OpenGL.MapTarget target, Double u1, Double u2, Int32 stride, Int32 order, Double* points); + internal unsafe static Map1d glMap1d; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Map1f(OpenTK.Graphics.OpenGL.MapTarget target, Single u1, Single u2, Int32 stride, Int32 order, Single* points); + internal unsafe static Map1f glMap1f; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Map2d(OpenTK.Graphics.OpenGL.MapTarget target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double* points); + internal unsafe static Map2d glMap2d; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Map2f(OpenTK.Graphics.OpenGL.MapTarget target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single* points); + internal unsafe static Map2f glMap2f; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate IntPtr MapBuffer(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferAccess access); + internal unsafe static MapBuffer glMapBuffer; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate IntPtr MapBufferARB(OpenTK.Graphics.OpenGL.BufferTargetArb target, OpenTK.Graphics.OpenGL.ArbVertexBufferObject access); + internal unsafe static MapBufferARB glMapBufferARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate IntPtr MapBufferRange(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr length, OpenTK.Graphics.OpenGL.BufferAccessMask access); + internal unsafe static MapBufferRange glMapBufferRange; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MapControlPointsNV(OpenTK.Graphics.OpenGL.NvEvaluators target, UInt32 index, OpenTK.Graphics.OpenGL.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, IntPtr points); + internal static MapControlPointsNV glMapControlPointsNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MapGrid1d(Int32 un, Double u1, Double u2); + internal static MapGrid1d glMapGrid1d; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MapGrid1f(Int32 un, Single u1, Single u2); + internal static MapGrid1f glMapGrid1f; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MapGrid2d(Int32 un, Double u1, Double u2, Int32 vn, Double v1, Double v2); + internal static MapGrid2d glMapGrid2d; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MapGrid2f(Int32 un, Single u1, Single u2, Int32 vn, Single v1, Single v2); + internal static MapGrid2f glMapGrid2f; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate IntPtr MapNamedBufferEXT(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess access); + internal unsafe static MapNamedBufferEXT glMapNamedBufferEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate IntPtr MapNamedBufferRangeEXT(UInt32 buffer, IntPtr offset, IntPtr length, OpenTK.Graphics.OpenGL.BufferAccessMask access); + internal unsafe static MapNamedBufferRangeEXT glMapNamedBufferRangeEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate IntPtr MapObjectBufferATI(UInt32 buffer); + internal unsafe static MapObjectBufferATI glMapObjectBufferATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MapParameterfvNV(OpenTK.Graphics.OpenGL.NvEvaluators target, OpenTK.Graphics.OpenGL.NvEvaluators pname, Single* @params); + internal unsafe static MapParameterfvNV glMapParameterfvNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MapParameterivNV(OpenTK.Graphics.OpenGL.NvEvaluators target, OpenTK.Graphics.OpenGL.NvEvaluators pname, Int32* @params); + internal unsafe static MapParameterivNV glMapParameterivNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MapVertexAttrib1dAPPLE(UInt32 index, UInt32 size, Double u1, Double u2, Int32 stride, Int32 order, Double* points); + internal unsafe static MapVertexAttrib1dAPPLE glMapVertexAttrib1dAPPLE; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MapVertexAttrib1fAPPLE(UInt32 index, UInt32 size, Single u1, Single u2, Int32 stride, Int32 order, Single* points); + internal unsafe static MapVertexAttrib1fAPPLE glMapVertexAttrib1fAPPLE; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MapVertexAttrib2dAPPLE(UInt32 index, UInt32 size, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double* points); + internal unsafe static MapVertexAttrib2dAPPLE glMapVertexAttrib2dAPPLE; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MapVertexAttrib2fAPPLE(UInt32 index, UInt32 size, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single* points); + internal unsafe static MapVertexAttrib2fAPPLE glMapVertexAttrib2fAPPLE; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Materialf(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Single param); + internal static Materialf glMaterialf; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Materialfv(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Single* @params); + internal unsafe static Materialfv glMaterialfv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Materiali(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Int32 param); + internal static Materiali glMateriali; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Materialiv(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Int32* @params); + internal unsafe static Materialiv glMaterialiv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MatrixFrustumEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Double left, Double right, Double bottom, Double top, Double zNear, Double zFar); + internal static MatrixFrustumEXT glMatrixFrustumEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MatrixIndexPointerARB(Int32 size, OpenTK.Graphics.OpenGL.ArbMatrixPalette type, Int32 stride, IntPtr pointer); + internal static MatrixIndexPointerARB glMatrixIndexPointerARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MatrixIndexubvARB(Int32 size, Byte* indices); + internal unsafe static MatrixIndexubvARB glMatrixIndexubvARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MatrixIndexuivARB(Int32 size, UInt32* indices); + internal unsafe static MatrixIndexuivARB glMatrixIndexuivARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MatrixIndexusvARB(Int32 size, UInt16* indices); + internal unsafe static MatrixIndexusvARB glMatrixIndexusvARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MatrixLoaddEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Double* m); + internal unsafe static MatrixLoaddEXT glMatrixLoaddEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MatrixLoadfEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Single* m); + internal unsafe static MatrixLoadfEXT glMatrixLoadfEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MatrixLoadIdentityEXT(OpenTK.Graphics.OpenGL.MatrixMode mode); + internal static MatrixLoadIdentityEXT glMatrixLoadIdentityEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MatrixLoadTransposedEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Double* m); + internal unsafe static MatrixLoadTransposedEXT glMatrixLoadTransposedEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MatrixLoadTransposefEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Single* m); + internal unsafe static MatrixLoadTransposefEXT glMatrixLoadTransposefEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MatrixMode(OpenTK.Graphics.OpenGL.MatrixMode mode); + internal static MatrixMode glMatrixMode; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MatrixMultdEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Double* m); + internal unsafe static MatrixMultdEXT glMatrixMultdEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MatrixMultfEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Single* m); + internal unsafe static MatrixMultfEXT glMatrixMultfEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MatrixMultTransposedEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Double* m); + internal unsafe static MatrixMultTransposedEXT glMatrixMultTransposedEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MatrixMultTransposefEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Single* m); + internal unsafe static MatrixMultTransposefEXT glMatrixMultTransposefEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MatrixOrthoEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Double left, Double right, Double bottom, Double top, Double zNear, Double zFar); + internal static MatrixOrthoEXT glMatrixOrthoEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MatrixPopEXT(OpenTK.Graphics.OpenGL.MatrixMode mode); + internal static MatrixPopEXT glMatrixPopEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MatrixPushEXT(OpenTK.Graphics.OpenGL.MatrixMode mode); + internal static MatrixPushEXT glMatrixPushEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MatrixRotatedEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Double angle, Double x, Double y, Double z); + internal static MatrixRotatedEXT glMatrixRotatedEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MatrixRotatefEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Single angle, Single x, Single y, Single z); + internal static MatrixRotatefEXT glMatrixRotatefEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MatrixScaledEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Double x, Double y, Double z); + internal static MatrixScaledEXT glMatrixScaledEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MatrixScalefEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Single x, Single y, Single z); + internal static MatrixScalefEXT glMatrixScalefEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MatrixTranslatedEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Double x, Double y, Double z); + internal static MatrixTranslatedEXT glMatrixTranslatedEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MatrixTranslatefEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Single x, Single y, Single z); + internal static MatrixTranslatefEXT glMatrixTranslatefEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MemoryBarrierEXT(UInt32 barriers); + internal static MemoryBarrierEXT glMemoryBarrierEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Minmax(OpenTK.Graphics.OpenGL.MinmaxTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, bool sink); + internal static Minmax glMinmax; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MinmaxEXT(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, bool sink); + internal static MinmaxEXT glMinmaxEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MinSampleShading(Single value); + internal static MinSampleShading glMinSampleShading; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MinSampleShadingARB(Single value); + internal static MinSampleShadingARB glMinSampleShadingARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MultiDrawArrays(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* first, Int32* count, Int32 primcount); + internal unsafe static MultiDrawArrays glMultiDrawArrays; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MultiDrawArraysEXT(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* first, Int32* count, Int32 primcount); + internal unsafe static MultiDrawArraysEXT glMultiDrawArraysEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MultiDrawArraysIndirectAMD(OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect mode, IntPtr indirect, Int32 primcount, Int32 stride); + internal static MultiDrawArraysIndirectAMD glMultiDrawArraysIndirectAMD; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MultiDrawElementArrayAPPLE(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* first, Int32* count, Int32 primcount); + internal unsafe static MultiDrawElementArrayAPPLE glMultiDrawElementArrayAPPLE; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount); + internal unsafe static MultiDrawElements glMultiDrawElements; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount, Int32* basevertex); + internal unsafe static MultiDrawElementsBaseVertex glMultiDrawElementsBaseVertex; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MultiDrawElementsEXT(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount); + internal unsafe static MultiDrawElementsEXT glMultiDrawElementsEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MultiDrawElementsIndirectAMD(OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect mode, OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect type, IntPtr indirect, Int32 primcount, Int32 stride); + internal static MultiDrawElementsIndirectAMD glMultiDrawElementsIndirectAMD; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MultiDrawRangeElementArrayAPPLE(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32* first, Int32* count, Int32 primcount); + internal unsafe static MultiDrawRangeElementArrayAPPLE glMultiDrawRangeElementArrayAPPLE; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MultiModeDrawArraysIBM(OpenTK.Graphics.OpenGL.BeginMode* mode, Int32* first, Int32* count, Int32 primcount, Int32 modestride); + internal unsafe static MultiModeDrawArraysIBM glMultiModeDrawArraysIBM; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MultiModeDrawElementsIBM(OpenTK.Graphics.OpenGL.BeginMode* mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount, Int32 modestride); + internal unsafe static MultiModeDrawElementsIBM glMultiModeDrawElementsIBM; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MultiTexBufferEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, UInt32 buffer); + internal static MultiTexBufferEXT glMultiTexBufferEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MultiTexCoord1d(OpenTK.Graphics.OpenGL.TextureUnit target, Double s); + internal static MultiTexCoord1d glMultiTexCoord1d; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MultiTexCoord1dARB(OpenTK.Graphics.OpenGL.TextureUnit target, Double s); + internal static MultiTexCoord1dARB glMultiTexCoord1dARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MultiTexCoord1dv(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v); + internal unsafe static MultiTexCoord1dv glMultiTexCoord1dv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MultiTexCoord1dvARB(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v); + internal unsafe static MultiTexCoord1dvARB glMultiTexCoord1dvARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MultiTexCoord1f(OpenTK.Graphics.OpenGL.TextureUnit target, Single s); + internal static MultiTexCoord1f glMultiTexCoord1f; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MultiTexCoord1fARB(OpenTK.Graphics.OpenGL.TextureUnit target, Single s); + internal static MultiTexCoord1fARB glMultiTexCoord1fARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MultiTexCoord1fv(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v); + internal unsafe static MultiTexCoord1fv glMultiTexCoord1fv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MultiTexCoord1fvARB(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v); + internal unsafe static MultiTexCoord1fvARB glMultiTexCoord1fvARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MultiTexCoord1hNV(OpenTK.Graphics.OpenGL.TextureUnit target, Half s); + internal static MultiTexCoord1hNV glMultiTexCoord1hNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MultiTexCoord1hvNV(OpenTK.Graphics.OpenGL.TextureUnit target, Half* v); + internal unsafe static MultiTexCoord1hvNV glMultiTexCoord1hvNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MultiTexCoord1i(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s); + internal static MultiTexCoord1i glMultiTexCoord1i; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MultiTexCoord1iARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s); + internal static MultiTexCoord1iARB glMultiTexCoord1iARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MultiTexCoord1iv(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v); + internal unsafe static MultiTexCoord1iv glMultiTexCoord1iv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MultiTexCoord1ivARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v); + internal unsafe static MultiTexCoord1ivARB glMultiTexCoord1ivARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MultiTexCoord1s(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s); + internal static MultiTexCoord1s glMultiTexCoord1s; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MultiTexCoord1sARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s); + internal static MultiTexCoord1sARB glMultiTexCoord1sARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MultiTexCoord1sv(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v); + internal unsafe static MultiTexCoord1sv glMultiTexCoord1sv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MultiTexCoord1svARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v); + internal unsafe static MultiTexCoord1svARB glMultiTexCoord1svARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MultiTexCoord2d(OpenTK.Graphics.OpenGL.TextureUnit target, Double s, Double t); + internal static MultiTexCoord2d glMultiTexCoord2d; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MultiTexCoord2dARB(OpenTK.Graphics.OpenGL.TextureUnit target, Double s, Double t); + internal static MultiTexCoord2dARB glMultiTexCoord2dARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MultiTexCoord2dv(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v); + internal unsafe static MultiTexCoord2dv glMultiTexCoord2dv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MultiTexCoord2dvARB(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v); + internal unsafe static MultiTexCoord2dvARB glMultiTexCoord2dvARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MultiTexCoord2f(OpenTK.Graphics.OpenGL.TextureUnit target, Single s, Single t); + internal static MultiTexCoord2f glMultiTexCoord2f; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MultiTexCoord2fARB(OpenTK.Graphics.OpenGL.TextureUnit target, Single s, Single t); + internal static MultiTexCoord2fARB glMultiTexCoord2fARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MultiTexCoord2fv(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v); + internal unsafe static MultiTexCoord2fv glMultiTexCoord2fv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MultiTexCoord2fvARB(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v); + internal unsafe static MultiTexCoord2fvARB glMultiTexCoord2fvARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MultiTexCoord2hNV(OpenTK.Graphics.OpenGL.TextureUnit target, Half s, Half t); + internal static MultiTexCoord2hNV glMultiTexCoord2hNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MultiTexCoord2hvNV(OpenTK.Graphics.OpenGL.TextureUnit target, Half* v); + internal unsafe static MultiTexCoord2hvNV glMultiTexCoord2hvNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MultiTexCoord2i(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s, Int32 t); + internal static MultiTexCoord2i glMultiTexCoord2i; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MultiTexCoord2iARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s, Int32 t); + internal static MultiTexCoord2iARB glMultiTexCoord2iARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MultiTexCoord2iv(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v); + internal unsafe static MultiTexCoord2iv glMultiTexCoord2iv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MultiTexCoord2ivARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v); + internal unsafe static MultiTexCoord2ivARB glMultiTexCoord2ivARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MultiTexCoord2s(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s, Int16 t); + internal static MultiTexCoord2s glMultiTexCoord2s; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MultiTexCoord2sARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s, Int16 t); + internal static MultiTexCoord2sARB glMultiTexCoord2sARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MultiTexCoord2sv(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v); + internal unsafe static MultiTexCoord2sv glMultiTexCoord2sv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MultiTexCoord2svARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v); + internal unsafe static MultiTexCoord2svARB glMultiTexCoord2svARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MultiTexCoord3d(OpenTK.Graphics.OpenGL.TextureUnit target, Double s, Double t, Double r); + internal static MultiTexCoord3d glMultiTexCoord3d; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MultiTexCoord3dARB(OpenTK.Graphics.OpenGL.TextureUnit target, Double s, Double t, Double r); + internal static MultiTexCoord3dARB glMultiTexCoord3dARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MultiTexCoord3dv(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v); + internal unsafe static MultiTexCoord3dv glMultiTexCoord3dv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MultiTexCoord3dvARB(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v); + internal unsafe static MultiTexCoord3dvARB glMultiTexCoord3dvARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MultiTexCoord3f(OpenTK.Graphics.OpenGL.TextureUnit target, Single s, Single t, Single r); + internal static MultiTexCoord3f glMultiTexCoord3f; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MultiTexCoord3fARB(OpenTK.Graphics.OpenGL.TextureUnit target, Single s, Single t, Single r); + internal static MultiTexCoord3fARB glMultiTexCoord3fARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MultiTexCoord3fv(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v); + internal unsafe static MultiTexCoord3fv glMultiTexCoord3fv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MultiTexCoord3fvARB(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v); + internal unsafe static MultiTexCoord3fvARB glMultiTexCoord3fvARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MultiTexCoord3hNV(OpenTK.Graphics.OpenGL.TextureUnit target, Half s, Half t, Half r); + internal static MultiTexCoord3hNV glMultiTexCoord3hNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MultiTexCoord3hvNV(OpenTK.Graphics.OpenGL.TextureUnit target, Half* v); + internal unsafe static MultiTexCoord3hvNV glMultiTexCoord3hvNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MultiTexCoord3i(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s, Int32 t, Int32 r); + internal static MultiTexCoord3i glMultiTexCoord3i; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MultiTexCoord3iARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s, Int32 t, Int32 r); + internal static MultiTexCoord3iARB glMultiTexCoord3iARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MultiTexCoord3iv(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v); + internal unsafe static MultiTexCoord3iv glMultiTexCoord3iv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MultiTexCoord3ivARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v); + internal unsafe static MultiTexCoord3ivARB glMultiTexCoord3ivARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MultiTexCoord3s(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s, Int16 t, Int16 r); + internal static MultiTexCoord3s glMultiTexCoord3s; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MultiTexCoord3sARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s, Int16 t, Int16 r); + internal static MultiTexCoord3sARB glMultiTexCoord3sARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MultiTexCoord3sv(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v); + internal unsafe static MultiTexCoord3sv glMultiTexCoord3sv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MultiTexCoord3svARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v); + internal unsafe static MultiTexCoord3svARB glMultiTexCoord3svARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MultiTexCoord4d(OpenTK.Graphics.OpenGL.TextureUnit target, Double s, Double t, Double r, Double q); + internal static MultiTexCoord4d glMultiTexCoord4d; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MultiTexCoord4dARB(OpenTK.Graphics.OpenGL.TextureUnit target, Double s, Double t, Double r, Double q); + internal static MultiTexCoord4dARB glMultiTexCoord4dARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MultiTexCoord4dv(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v); + internal unsafe static MultiTexCoord4dv glMultiTexCoord4dv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MultiTexCoord4dvARB(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v); + internal unsafe static MultiTexCoord4dvARB glMultiTexCoord4dvARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MultiTexCoord4f(OpenTK.Graphics.OpenGL.TextureUnit target, Single s, Single t, Single r, Single q); + internal static MultiTexCoord4f glMultiTexCoord4f; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MultiTexCoord4fARB(OpenTK.Graphics.OpenGL.TextureUnit target, Single s, Single t, Single r, Single q); + internal static MultiTexCoord4fARB glMultiTexCoord4fARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MultiTexCoord4fv(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v); + internal unsafe static MultiTexCoord4fv glMultiTexCoord4fv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MultiTexCoord4fvARB(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v); + internal unsafe static MultiTexCoord4fvARB glMultiTexCoord4fvARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MultiTexCoord4hNV(OpenTK.Graphics.OpenGL.TextureUnit target, Half s, Half t, Half r, Half q); + internal static MultiTexCoord4hNV glMultiTexCoord4hNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MultiTexCoord4hvNV(OpenTK.Graphics.OpenGL.TextureUnit target, Half* v); + internal unsafe static MultiTexCoord4hvNV glMultiTexCoord4hvNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MultiTexCoord4i(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s, Int32 t, Int32 r, Int32 q); + internal static MultiTexCoord4i glMultiTexCoord4i; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MultiTexCoord4iARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s, Int32 t, Int32 r, Int32 q); + internal static MultiTexCoord4iARB glMultiTexCoord4iARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MultiTexCoord4iv(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v); + internal unsafe static MultiTexCoord4iv glMultiTexCoord4iv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MultiTexCoord4ivARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v); + internal unsafe static MultiTexCoord4ivARB glMultiTexCoord4ivARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MultiTexCoord4s(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s, Int16 t, Int16 r, Int16 q); + internal static MultiTexCoord4s glMultiTexCoord4s; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MultiTexCoord4sARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s, Int16 t, Int16 r, Int16 q); + internal static MultiTexCoord4sARB glMultiTexCoord4sARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MultiTexCoord4sv(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v); + internal unsafe static MultiTexCoord4sv glMultiTexCoord4sv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MultiTexCoord4svARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v); + internal unsafe static MultiTexCoord4svARB glMultiTexCoord4svARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MultiTexCoordP1ui(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords); + internal static MultiTexCoordP1ui glMultiTexCoordP1ui; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MultiTexCoordP1uiv(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords); + internal unsafe static MultiTexCoordP1uiv glMultiTexCoordP1uiv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MultiTexCoordP2ui(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords); + internal static MultiTexCoordP2ui glMultiTexCoordP2ui; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MultiTexCoordP2uiv(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords); + internal unsafe static MultiTexCoordP2uiv glMultiTexCoordP2uiv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MultiTexCoordP3ui(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords); + internal static MultiTexCoordP3ui glMultiTexCoordP3ui; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MultiTexCoordP3uiv(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords); + internal unsafe static MultiTexCoordP3uiv glMultiTexCoordP3uiv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MultiTexCoordP4ui(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords); + internal static MultiTexCoordP4ui glMultiTexCoordP4ui; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MultiTexCoordP4uiv(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords); + internal unsafe static MultiTexCoordP4uiv glMultiTexCoordP4uiv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MultiTexCoordPointerEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, IntPtr pointer); + internal static MultiTexCoordPointerEXT glMultiTexCoordPointerEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MultiTexEnvfEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Single param); + internal static MultiTexEnvfEXT glMultiTexEnvfEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MultiTexEnvfvEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Single* @params); + internal unsafe static MultiTexEnvfvEXT glMultiTexEnvfvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MultiTexEnviEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Int32 param); + internal static MultiTexEnviEXT glMultiTexEnviEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MultiTexEnvivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Int32* @params); + internal unsafe static MultiTexEnvivEXT glMultiTexEnvivEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MultiTexGendEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Double param); + internal static MultiTexGendEXT glMultiTexGendEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MultiTexGendvEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Double* @params); + internal unsafe static MultiTexGendvEXT glMultiTexGendvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MultiTexGenfEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Single param); + internal static MultiTexGenfEXT glMultiTexGenfEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MultiTexGenfvEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Single* @params); + internal unsafe static MultiTexGenfvEXT glMultiTexGenfvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MultiTexGeniEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Int32 param); + internal static MultiTexGeniEXT glMultiTexGeniEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MultiTexGenivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Int32* @params); + internal unsafe static MultiTexGenivEXT glMultiTexGenivEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MultiTexImage1DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); + internal static MultiTexImage1DEXT glMultiTexImage1DEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MultiTexImage2DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); + internal static MultiTexImage2DEXT glMultiTexImage2DEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MultiTexImage3DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); + internal static MultiTexImage3DEXT glMultiTexImage3DEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MultiTexParameterfEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single param); + internal static MultiTexParameterfEXT glMultiTexParameterfEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MultiTexParameterfvEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single* @params); + internal unsafe static MultiTexParameterfvEXT glMultiTexParameterfvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MultiTexParameteriEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32 param); + internal static MultiTexParameteriEXT glMultiTexParameteriEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MultiTexParameterIivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32* @params); + internal unsafe static MultiTexParameterIivEXT glMultiTexParameterIivEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MultiTexParameterIuivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, UInt32* @params); + internal unsafe static MultiTexParameterIuivEXT glMultiTexParameterIuivEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MultiTexParameterivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32* @params); + internal unsafe static MultiTexParameterivEXT glMultiTexParameterivEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MultiTexRenderbufferEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, UInt32 renderbuffer); + internal static MultiTexRenderbufferEXT glMultiTexRenderbufferEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MultiTexSubImage1DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); + internal static MultiTexSubImage1DEXT glMultiTexSubImage1DEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MultiTexSubImage2DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); + internal static MultiTexSubImage2DEXT glMultiTexSubImage2DEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MultiTexSubImage3DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); + internal static MultiTexSubImage3DEXT glMultiTexSubImage3DEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MultMatrixd(Double* m); + internal unsafe static MultMatrixd glMultMatrixd; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MultMatrixf(Single* m); + internal unsafe static MultMatrixf glMultMatrixf; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MultTransposeMatrixd(Double* m); + internal unsafe static MultTransposeMatrixd glMultTransposeMatrixd; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MultTransposeMatrixdARB(Double* m); + internal unsafe static MultTransposeMatrixdARB glMultTransposeMatrixdARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MultTransposeMatrixf(Single* m); + internal unsafe static MultTransposeMatrixf glMultTransposeMatrixf; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MultTransposeMatrixfARB(Single* m); + internal unsafe static MultTransposeMatrixfARB glMultTransposeMatrixfARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void NamedBufferDataEXT(UInt32 buffer, IntPtr size, IntPtr data, OpenTK.Graphics.OpenGL.ExtDirectStateAccess usage); + internal static NamedBufferDataEXT glNamedBufferDataEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void NamedBufferSubDataEXT(UInt32 buffer, IntPtr offset, IntPtr size, IntPtr data); + internal static NamedBufferSubDataEXT glNamedBufferSubDataEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void NamedCopyBufferSubDataEXT(UInt32 readBuffer, UInt32 writeBuffer, IntPtr readOffset, IntPtr writeOffset, IntPtr size); + internal static NamedCopyBufferSubDataEXT glNamedCopyBufferSubDataEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void NamedFramebufferRenderbufferEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer); + internal static NamedFramebufferRenderbufferEXT glNamedFramebufferRenderbufferEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void NamedFramebufferTexture1DEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level); + internal static NamedFramebufferTexture1DEXT glNamedFramebufferTexture1DEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void NamedFramebufferTexture2DEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level); + internal static NamedFramebufferTexture2DEXT glNamedFramebufferTexture2DEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void NamedFramebufferTexture3DEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level, Int32 zoffset); + internal static NamedFramebufferTexture3DEXT glNamedFramebufferTexture3DEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void NamedFramebufferTextureEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level); + internal static NamedFramebufferTextureEXT glNamedFramebufferTextureEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void NamedFramebufferTextureFaceEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level, OpenTK.Graphics.OpenGL.TextureTarget face); + internal static NamedFramebufferTextureFaceEXT glNamedFramebufferTextureFaceEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void NamedFramebufferTextureLayerEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer); + internal static NamedFramebufferTextureLayerEXT glNamedFramebufferTextureLayerEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void NamedProgramLocalParameter4dEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Double x, Double y, Double z, Double w); + internal static NamedProgramLocalParameter4dEXT glNamedProgramLocalParameter4dEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void NamedProgramLocalParameter4dvEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Double* @params); + internal unsafe static NamedProgramLocalParameter4dvEXT glNamedProgramLocalParameter4dvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void NamedProgramLocalParameter4fEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Single x, Single y, Single z, Single w); + internal static NamedProgramLocalParameter4fEXT glNamedProgramLocalParameter4fEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void NamedProgramLocalParameter4fvEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Single* @params); + internal unsafe static NamedProgramLocalParameter4fvEXT glNamedProgramLocalParameter4fvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void NamedProgramLocalParameterI4iEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w); + internal static NamedProgramLocalParameterI4iEXT glNamedProgramLocalParameterI4iEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void NamedProgramLocalParameterI4ivEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Int32* @params); + internal unsafe static NamedProgramLocalParameterI4ivEXT glNamedProgramLocalParameterI4ivEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void NamedProgramLocalParameterI4uiEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w); + internal static NamedProgramLocalParameterI4uiEXT glNamedProgramLocalParameterI4uiEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void NamedProgramLocalParameterI4uivEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, UInt32* @params); + internal unsafe static NamedProgramLocalParameterI4uivEXT glNamedProgramLocalParameterI4uivEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void NamedProgramLocalParameters4fvEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Int32 count, Single* @params); + internal unsafe static NamedProgramLocalParameters4fvEXT glNamedProgramLocalParameters4fvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void NamedProgramLocalParametersI4ivEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Int32 count, Int32* @params); + internal unsafe static NamedProgramLocalParametersI4ivEXT glNamedProgramLocalParametersI4ivEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void NamedProgramLocalParametersI4uivEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Int32 count, UInt32* @params); + internal unsafe static NamedProgramLocalParametersI4uivEXT glNamedProgramLocalParametersI4uivEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void NamedProgramStringEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess format, Int32 len, IntPtr @string); + internal static NamedProgramStringEXT glNamedProgramStringEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void NamedRenderbufferStorageEXT(UInt32 renderbuffer, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height); + internal static NamedRenderbufferStorageEXT glNamedRenderbufferStorageEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void NamedRenderbufferStorageMultisampleCoverageEXT(UInt32 renderbuffer, Int32 coverageSamples, Int32 colorSamples, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height); + internal static NamedRenderbufferStorageMultisampleCoverageEXT glNamedRenderbufferStorageMultisampleCoverageEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void NamedRenderbufferStorageMultisampleEXT(UInt32 renderbuffer, Int32 samples, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height); + internal static NamedRenderbufferStorageMultisampleEXT glNamedRenderbufferStorageMultisampleEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void NamedStringARB(OpenTK.Graphics.OpenGL.ArbShadingLanguageInclude type, Int32 namelen, String name, Int32 stringlen, String @string); + internal static NamedStringARB glNamedStringARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void NewList(UInt32 list, OpenTK.Graphics.OpenGL.ListMode mode); + internal static NewList glNewList; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate Int32 NewObjectBufferATI(Int32 size, IntPtr pointer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject usage); + internal static NewObjectBufferATI glNewObjectBufferATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Normal3b(SByte nx, SByte ny, SByte nz); + internal static Normal3b glNormal3b; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Normal3bv(SByte* v); + internal unsafe static Normal3bv glNormal3bv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Normal3d(Double nx, Double ny, Double nz); + internal static Normal3d glNormal3d; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Normal3dv(Double* v); + internal unsafe static Normal3dv glNormal3dv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Normal3f(Single nx, Single ny, Single nz); + internal static Normal3f glNormal3f; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Normal3fv(Single* v); + internal unsafe static Normal3fv glNormal3fv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Normal3fVertex3fSUN(Single nx, Single ny, Single nz, Single x, Single y, Single z); + internal static Normal3fVertex3fSUN glNormal3fVertex3fSUN; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Normal3fVertex3fvSUN(Single* n, Single* v); + internal unsafe static Normal3fVertex3fvSUN glNormal3fVertex3fvSUN; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Normal3hNV(Half nx, Half ny, Half nz); + internal static Normal3hNV glNormal3hNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Normal3hvNV(Half* v); + internal unsafe static Normal3hvNV glNormal3hvNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Normal3i(Int32 nx, Int32 ny, Int32 nz); + internal static Normal3i glNormal3i; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Normal3iv(Int32* v); + internal unsafe static Normal3iv glNormal3iv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Normal3s(Int16 nx, Int16 ny, Int16 nz); + internal static Normal3s glNormal3s; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Normal3sv(Int16* v); + internal unsafe static Normal3sv glNormal3sv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void NormalFormatNV(OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride); + internal static NormalFormatNV glNormalFormatNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void NormalP3ui(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords); + internal static NormalP3ui glNormalP3ui; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void NormalP3uiv(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords); + internal unsafe static NormalP3uiv glNormalP3uiv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void NormalPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, IntPtr pointer); + internal static NormalPointer glNormalPointer; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void NormalPointerEXT(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, Int32 count, IntPtr pointer); + internal static NormalPointerEXT glNormalPointerEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void NormalPointerListIBM(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride); + internal static NormalPointerListIBM glNormalPointerListIBM; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void NormalPointervINTEL(OpenTK.Graphics.OpenGL.NormalPointerType type, IntPtr pointer); + internal static NormalPointervINTEL glNormalPointervINTEL; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void NormalStream3bATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, SByte nx, SByte ny, SByte nz); + internal static NormalStream3bATI glNormalStream3bATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void NormalStream3bvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, SByte* coords); + internal unsafe static NormalStream3bvATI glNormalStream3bvATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void NormalStream3dATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double nx, Double ny, Double nz); + internal static NormalStream3dATI glNormalStream3dATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void NormalStream3dvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double* coords); + internal unsafe static NormalStream3dvATI glNormalStream3dvATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void NormalStream3fATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single nx, Single ny, Single nz); + internal static NormalStream3fATI glNormalStream3fATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void NormalStream3fvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single* coords); + internal unsafe static NormalStream3fvATI glNormalStream3fvATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void NormalStream3iATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32 nx, Int32 ny, Int32 nz); + internal static NormalStream3iATI glNormalStream3iATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void NormalStream3ivATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32* coords); + internal unsafe static NormalStream3ivATI glNormalStream3ivATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void NormalStream3sATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16 nx, Int16 ny, Int16 nz); + internal static NormalStream3sATI glNormalStream3sATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void NormalStream3svATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16* coords); + internal unsafe static NormalStream3svATI glNormalStream3svATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate OpenTK.Graphics.OpenGL.AppleObjectPurgeable ObjectPurgeableAPPLE(OpenTK.Graphics.OpenGL.AppleObjectPurgeable objectType, UInt32 name, OpenTK.Graphics.OpenGL.AppleObjectPurgeable option); + internal static ObjectPurgeableAPPLE glObjectPurgeableAPPLE; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate OpenTK.Graphics.OpenGL.AppleObjectPurgeable ObjectUnpurgeableAPPLE(OpenTK.Graphics.OpenGL.AppleObjectPurgeable objectType, UInt32 name, OpenTK.Graphics.OpenGL.AppleObjectPurgeable option); + internal static ObjectUnpurgeableAPPLE glObjectUnpurgeableAPPLE; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Ortho(Double left, Double right, Double bottom, Double top, Double zNear, Double zFar); + internal static Ortho glOrtho; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void PassTexCoordATI(UInt32 dst, UInt32 coord, OpenTK.Graphics.OpenGL.AtiFragmentShader swizzle); + internal static PassTexCoordATI glPassTexCoordATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void PassThrough(Single token); + internal static PassThrough glPassThrough; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void PatchParameterfv(OpenTK.Graphics.OpenGL.PatchParameterFloat pname, Single* values); + internal unsafe static PatchParameterfv glPatchParameterfv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void PatchParameteri(OpenTK.Graphics.OpenGL.PatchParameterInt pname, Int32 value); + internal static PatchParameteri glPatchParameteri; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void PauseTransformFeedback(); + internal static PauseTransformFeedback glPauseTransformFeedback; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void PauseTransformFeedbackNV(); + internal static PauseTransformFeedbackNV glPauseTransformFeedbackNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void PixelDataRangeNV(OpenTK.Graphics.OpenGL.NvPixelDataRange target, Int32 length, [OutAttribute] IntPtr pointer); + internal static PixelDataRangeNV glPixelDataRangeNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void PixelMapfv(OpenTK.Graphics.OpenGL.PixelMap map, Int32 mapsize, Single* values); + internal unsafe static PixelMapfv glPixelMapfv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void PixelMapuiv(OpenTK.Graphics.OpenGL.PixelMap map, Int32 mapsize, UInt32* values); + internal unsafe static PixelMapuiv glPixelMapuiv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void PixelMapusv(OpenTK.Graphics.OpenGL.PixelMap map, Int32 mapsize, UInt16* values); + internal unsafe static PixelMapusv glPixelMapusv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void PixelStoref(OpenTK.Graphics.OpenGL.PixelStoreParameter pname, Single param); + internal static PixelStoref glPixelStoref; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void PixelStorei(OpenTK.Graphics.OpenGL.PixelStoreParameter pname, Int32 param); + internal static PixelStorei glPixelStorei; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void PixelTexGenParameterfSGIS(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, Single param); + internal static PixelTexGenParameterfSGIS glPixelTexGenParameterfSGIS; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void PixelTexGenParameterfvSGIS(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, Single* @params); + internal unsafe static PixelTexGenParameterfvSGIS glPixelTexGenParameterfvSGIS; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void PixelTexGenParameteriSGIS(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, Int32 param); + internal static PixelTexGenParameteriSGIS glPixelTexGenParameteriSGIS; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void PixelTexGenParameterivSGIS(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, Int32* @params); + internal unsafe static PixelTexGenParameterivSGIS glPixelTexGenParameterivSGIS; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void PixelTexGenSGIX(OpenTK.Graphics.OpenGL.SgixPixelTexture mode); + internal static PixelTexGenSGIX glPixelTexGenSGIX; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void PixelTransferf(OpenTK.Graphics.OpenGL.PixelTransferParameter pname, Single param); + internal static PixelTransferf glPixelTransferf; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void PixelTransferi(OpenTK.Graphics.OpenGL.PixelTransferParameter pname, Int32 param); + internal static PixelTransferi glPixelTransferi; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void PixelTransformParameterfEXT(OpenTK.Graphics.OpenGL.ExtPixelTransform target, OpenTK.Graphics.OpenGL.ExtPixelTransform pname, Single param); + internal static PixelTransformParameterfEXT glPixelTransformParameterfEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void PixelTransformParameterfvEXT(OpenTK.Graphics.OpenGL.ExtPixelTransform target, OpenTK.Graphics.OpenGL.ExtPixelTransform pname, Single* @params); + internal unsafe static PixelTransformParameterfvEXT glPixelTransformParameterfvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void PixelTransformParameteriEXT(OpenTK.Graphics.OpenGL.ExtPixelTransform target, OpenTK.Graphics.OpenGL.ExtPixelTransform pname, Int32 param); + internal static PixelTransformParameteriEXT glPixelTransformParameteriEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void PixelTransformParameterivEXT(OpenTK.Graphics.OpenGL.ExtPixelTransform target, OpenTK.Graphics.OpenGL.ExtPixelTransform pname, Int32* @params); + internal unsafe static PixelTransformParameterivEXT glPixelTransformParameterivEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void PixelZoom(Single xfactor, Single yfactor); + internal static PixelZoom glPixelZoom; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void PNTrianglesfATI(OpenTK.Graphics.OpenGL.AtiPnTriangles pname, Single param); + internal static PNTrianglesfATI glPNTrianglesfATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void PNTrianglesiATI(OpenTK.Graphics.OpenGL.AtiPnTriangles pname, Int32 param); + internal static PNTrianglesiATI glPNTrianglesiATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void PointParameterf(OpenTK.Graphics.OpenGL.PointParameterName pname, Single param); + internal static PointParameterf glPointParameterf; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void PointParameterfARB(OpenTK.Graphics.OpenGL.ArbPointParameters pname, Single param); + internal static PointParameterfARB glPointParameterfARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void PointParameterfEXT(OpenTK.Graphics.OpenGL.ExtPointParameters pname, Single param); + internal static PointParameterfEXT glPointParameterfEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void PointParameterfSGIS(OpenTK.Graphics.OpenGL.SgisPointParameters pname, Single param); + internal static PointParameterfSGIS glPointParameterfSGIS; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void PointParameterfv(OpenTK.Graphics.OpenGL.PointParameterName pname, Single* @params); + internal unsafe static PointParameterfv glPointParameterfv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void PointParameterfvARB(OpenTK.Graphics.OpenGL.ArbPointParameters pname, Single* @params); + internal unsafe static PointParameterfvARB glPointParameterfvARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void PointParameterfvEXT(OpenTK.Graphics.OpenGL.ExtPointParameters pname, Single* @params); + internal unsafe static PointParameterfvEXT glPointParameterfvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void PointParameterfvSGIS(OpenTK.Graphics.OpenGL.SgisPointParameters pname, Single* @params); + internal unsafe static PointParameterfvSGIS glPointParameterfvSGIS; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void PointParameteri(OpenTK.Graphics.OpenGL.PointParameterName pname, Int32 param); + internal static PointParameteri glPointParameteri; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void PointParameteriNV(OpenTK.Graphics.OpenGL.NvPointSprite pname, Int32 param); + internal static PointParameteriNV glPointParameteriNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void PointParameteriv(OpenTK.Graphics.OpenGL.PointParameterName pname, Int32* @params); + internal unsafe static PointParameteriv glPointParameteriv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void PointParameterivNV(OpenTK.Graphics.OpenGL.NvPointSprite pname, Int32* @params); + internal unsafe static PointParameterivNV glPointParameterivNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void PointSize(Single size); + internal static PointSize glPointSize; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate Int32 PollAsyncSGIX([OutAttribute] UInt32* markerp); + internal unsafe static PollAsyncSGIX glPollAsyncSGIX; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate Int32 PollInstrumentsSGIX([OutAttribute] Int32* marker_p); + internal unsafe static PollInstrumentsSGIX glPollInstrumentsSGIX; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void PolygonMode(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.PolygonMode mode); + internal static PolygonMode glPolygonMode; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void PolygonOffset(Single factor, Single units); + internal static PolygonOffset glPolygonOffset; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void PolygonOffsetEXT(Single factor, Single bias); + internal static PolygonOffsetEXT glPolygonOffsetEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void PolygonStipple(Byte* mask); + internal unsafe static PolygonStipple glPolygonStipple; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void PopAttrib(); + internal static PopAttrib glPopAttrib; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void PopClientAttrib(); + internal static PopClientAttrib glPopClientAttrib; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void PopMatrix(); + internal static PopMatrix glPopMatrix; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void PopName(); + internal static PopName glPopName; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void PresentFrameDualFillNV(UInt32 video_slot, UInt64 minPresentTime, UInt32 beginPresentTimeId, UInt32 presentDurationId, OpenTK.Graphics.OpenGL.NvPresentVideo type, OpenTK.Graphics.OpenGL.NvPresentVideo target0, UInt32 fill0, OpenTK.Graphics.OpenGL.NvPresentVideo target1, UInt32 fill1, OpenTK.Graphics.OpenGL.NvPresentVideo target2, UInt32 fill2, OpenTK.Graphics.OpenGL.NvPresentVideo target3, UInt32 fill3); + internal static PresentFrameDualFillNV glPresentFrameDualFillNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void PresentFrameKeyedNV(UInt32 video_slot, UInt64 minPresentTime, UInt32 beginPresentTimeId, UInt32 presentDurationId, OpenTK.Graphics.OpenGL.NvPresentVideo type, OpenTK.Graphics.OpenGL.NvPresentVideo target0, UInt32 fill0, UInt32 key0, OpenTK.Graphics.OpenGL.NvPresentVideo target1, UInt32 fill1, UInt32 key1); + internal static PresentFrameKeyedNV glPresentFrameKeyedNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void PrimitiveRestartIndex(UInt32 index); + internal static PrimitiveRestartIndex glPrimitiveRestartIndex; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void PrimitiveRestartIndexNV(UInt32 index); + internal static PrimitiveRestartIndexNV glPrimitiveRestartIndexNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void PrimitiveRestartNV(); + internal static PrimitiveRestartNV glPrimitiveRestartNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void PrioritizeTextures(Int32 n, UInt32* textures, Single* priorities); + internal unsafe static PrioritizeTextures glPrioritizeTextures; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void PrioritizeTexturesEXT(Int32 n, UInt32* textures, Single* priorities); + internal unsafe static PrioritizeTexturesEXT glPrioritizeTexturesEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ProgramBinary(UInt32 program, OpenTK.Graphics.OpenGL.BinaryFormat binaryFormat, IntPtr binary, Int32 length); + internal static ProgramBinary glProgramBinary; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramBufferParametersfvNV(OpenTK.Graphics.OpenGL.NvParameterBufferObject target, UInt32 buffer, UInt32 index, Int32 count, Single* @params); + internal unsafe static ProgramBufferParametersfvNV glProgramBufferParametersfvNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramBufferParametersIivNV(OpenTK.Graphics.OpenGL.NvParameterBufferObject target, UInt32 buffer, UInt32 index, Int32 count, Int32* @params); + internal unsafe static ProgramBufferParametersIivNV glProgramBufferParametersIivNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramBufferParametersIuivNV(OpenTK.Graphics.OpenGL.NvParameterBufferObject target, UInt32 buffer, UInt32 index, Int32 count, UInt32* @params); + internal unsafe static ProgramBufferParametersIuivNV glProgramBufferParametersIuivNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ProgramEnvParameter4dARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Double x, Double y, Double z, Double w); + internal static ProgramEnvParameter4dARB glProgramEnvParameter4dARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramEnvParameter4dvARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Double* @params); + internal unsafe static ProgramEnvParameter4dvARB glProgramEnvParameter4dvARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ProgramEnvParameter4fARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Single x, Single y, Single z, Single w); + internal static ProgramEnvParameter4fARB glProgramEnvParameter4fARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramEnvParameter4fvARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Single* @params); + internal unsafe static ProgramEnvParameter4fvARB glProgramEnvParameter4fvARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ProgramEnvParameterI4iNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w); + internal static ProgramEnvParameterI4iNV glProgramEnvParameterI4iNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramEnvParameterI4ivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32* @params); + internal unsafe static ProgramEnvParameterI4ivNV glProgramEnvParameterI4ivNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ProgramEnvParameterI4uiNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w); + internal static ProgramEnvParameterI4uiNV glProgramEnvParameterI4uiNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramEnvParameterI4uivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, UInt32* @params); + internal unsafe static ProgramEnvParameterI4uivNV glProgramEnvParameterI4uivNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramEnvParameters4fvEXT(OpenTK.Graphics.OpenGL.ExtGpuProgramParameters target, UInt32 index, Int32 count, Single* @params); + internal unsafe static ProgramEnvParameters4fvEXT glProgramEnvParameters4fvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramEnvParametersI4ivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 count, Int32* @params); + internal unsafe static ProgramEnvParametersI4ivNV glProgramEnvParametersI4ivNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramEnvParametersI4uivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 count, UInt32* @params); + internal unsafe static ProgramEnvParametersI4uivNV glProgramEnvParametersI4uivNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ProgramLocalParameter4dARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Double x, Double y, Double z, Double w); + internal static ProgramLocalParameter4dARB glProgramLocalParameter4dARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramLocalParameter4dvARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Double* @params); + internal unsafe static ProgramLocalParameter4dvARB glProgramLocalParameter4dvARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ProgramLocalParameter4fARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Single x, Single y, Single z, Single w); + internal static ProgramLocalParameter4fARB glProgramLocalParameter4fARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramLocalParameter4fvARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Single* @params); + internal unsafe static ProgramLocalParameter4fvARB glProgramLocalParameter4fvARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ProgramLocalParameterI4iNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w); + internal static ProgramLocalParameterI4iNV glProgramLocalParameterI4iNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramLocalParameterI4ivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32* @params); + internal unsafe static ProgramLocalParameterI4ivNV glProgramLocalParameterI4ivNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ProgramLocalParameterI4uiNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w); + internal static ProgramLocalParameterI4uiNV glProgramLocalParameterI4uiNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramLocalParameterI4uivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, UInt32* @params); + internal unsafe static ProgramLocalParameterI4uivNV glProgramLocalParameterI4uivNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramLocalParameters4fvEXT(OpenTK.Graphics.OpenGL.ExtGpuProgramParameters target, UInt32 index, Int32 count, Single* @params); + internal unsafe static ProgramLocalParameters4fvEXT glProgramLocalParameters4fvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramLocalParametersI4ivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 count, Int32* @params); + internal unsafe static ProgramLocalParametersI4ivNV glProgramLocalParametersI4ivNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramLocalParametersI4uivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 count, UInt32* @params); + internal unsafe static ProgramLocalParametersI4uivNV glProgramLocalParametersI4uivNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramNamedParameter4dNV(UInt32 id, Int32 len, Byte* name, Double x, Double y, Double z, Double w); + internal unsafe static ProgramNamedParameter4dNV glProgramNamedParameter4dNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramNamedParameter4dvNV(UInt32 id, Int32 len, Byte* name, Double* v); + internal unsafe static ProgramNamedParameter4dvNV glProgramNamedParameter4dvNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramNamedParameter4fNV(UInt32 id, Int32 len, Byte* name, Single x, Single y, Single z, Single w); + internal unsafe static ProgramNamedParameter4fNV glProgramNamedParameter4fNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramNamedParameter4fvNV(UInt32 id, Int32 len, Byte* name, Single* v); + internal unsafe static ProgramNamedParameter4fvNV glProgramNamedParameter4fvNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ProgramParameter4dNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Double x, Double y, Double z, Double w); + internal static ProgramParameter4dNV glProgramParameter4dNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramParameter4dvNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Double* v); + internal unsafe static ProgramParameter4dvNV glProgramParameter4dvNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ProgramParameter4fNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Single x, Single y, Single z, Single w); + internal static ProgramParameter4fNV glProgramParameter4fNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramParameter4fvNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Single* v); + internal unsafe static ProgramParameter4fvNV glProgramParameter4fvNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ProgramParameteri(UInt32 program, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, Int32 value); + internal static ProgramParameteri glProgramParameteri; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ProgramParameteriARB(UInt32 program, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, Int32 value); + internal static ProgramParameteriARB glProgramParameteriARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ProgramParameteriEXT(UInt32 program, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, Int32 value); + internal static ProgramParameteriEXT glProgramParameteriEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramParameters4dvNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Int32 count, Double* v); + internal unsafe static ProgramParameters4dvNV glProgramParameters4dvNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramParameters4fvNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Int32 count, Single* v); + internal unsafe static ProgramParameters4fvNV glProgramParameters4fvNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ProgramStringARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.ArbVertexProgram format, Int32 len, IntPtr @string); + internal static ProgramStringARB glProgramStringARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramSubroutineParametersuivNV(OpenTK.Graphics.OpenGL.NvGpuProgram5 target, Int32 count, UInt32* @params); + internal unsafe static ProgramSubroutineParametersuivNV glProgramSubroutineParametersuivNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ProgramUniform1d(UInt32 program, Int32 location, Double v0); + internal static ProgramUniform1d glProgramUniform1d; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ProgramUniform1dEXT(UInt32 program, Int32 location, Double x); + internal static ProgramUniform1dEXT glProgramUniform1dEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramUniform1dv(UInt32 program, Int32 location, Int32 count, Double* value); + internal unsafe static ProgramUniform1dv glProgramUniform1dv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramUniform1dvEXT(UInt32 program, Int32 location, Int32 count, Double* value); + internal unsafe static ProgramUniform1dvEXT glProgramUniform1dvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ProgramUniform1f(UInt32 program, Int32 location, Single v0); + internal static ProgramUniform1f glProgramUniform1f; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ProgramUniform1fEXT(UInt32 program, Int32 location, Single v0); + internal static ProgramUniform1fEXT glProgramUniform1fEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramUniform1fv(UInt32 program, Int32 location, Int32 count, Single* value); + internal unsafe static ProgramUniform1fv glProgramUniform1fv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramUniform1fvEXT(UInt32 program, Int32 location, Int32 count, Single* value); + internal unsafe static ProgramUniform1fvEXT glProgramUniform1fvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ProgramUniform1i(UInt32 program, Int32 location, Int32 v0); + internal static ProgramUniform1i glProgramUniform1i; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ProgramUniform1i64NV(UInt32 program, Int32 location, Int64 x); + internal static ProgramUniform1i64NV glProgramUniform1i64NV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramUniform1i64vNV(UInt32 program, Int32 location, Int32 count, Int64* value); + internal unsafe static ProgramUniform1i64vNV glProgramUniform1i64vNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ProgramUniform1iEXT(UInt32 program, Int32 location, Int32 v0); + internal static ProgramUniform1iEXT glProgramUniform1iEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramUniform1iv(UInt32 program, Int32 location, Int32 count, Int32* value); + internal unsafe static ProgramUniform1iv glProgramUniform1iv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramUniform1ivEXT(UInt32 program, Int32 location, Int32 count, Int32* value); + internal unsafe static ProgramUniform1ivEXT glProgramUniform1ivEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ProgramUniform1ui(UInt32 program, Int32 location, UInt32 v0); + internal static ProgramUniform1ui glProgramUniform1ui; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ProgramUniform1ui64NV(UInt32 program, Int32 location, UInt64 x); + internal static ProgramUniform1ui64NV glProgramUniform1ui64NV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramUniform1ui64vNV(UInt32 program, Int32 location, Int32 count, UInt64* value); + internal unsafe static ProgramUniform1ui64vNV glProgramUniform1ui64vNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ProgramUniform1uiEXT(UInt32 program, Int32 location, UInt32 v0); + internal static ProgramUniform1uiEXT glProgramUniform1uiEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramUniform1uiv(UInt32 program, Int32 location, Int32 count, UInt32* value); + internal unsafe static ProgramUniform1uiv glProgramUniform1uiv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramUniform1uivEXT(UInt32 program, Int32 location, Int32 count, UInt32* value); + internal unsafe static ProgramUniform1uivEXT glProgramUniform1uivEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ProgramUniform2d(UInt32 program, Int32 location, Double v0, Double v1); + internal static ProgramUniform2d glProgramUniform2d; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ProgramUniform2dEXT(UInt32 program, Int32 location, Double x, Double y); + internal static ProgramUniform2dEXT glProgramUniform2dEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramUniform2dv(UInt32 program, Int32 location, Int32 count, Double* value); + internal unsafe static ProgramUniform2dv glProgramUniform2dv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramUniform2dvEXT(UInt32 program, Int32 location, Int32 count, Double* value); + internal unsafe static ProgramUniform2dvEXT glProgramUniform2dvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ProgramUniform2f(UInt32 program, Int32 location, Single v0, Single v1); + internal static ProgramUniform2f glProgramUniform2f; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ProgramUniform2fEXT(UInt32 program, Int32 location, Single v0, Single v1); + internal static ProgramUniform2fEXT glProgramUniform2fEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramUniform2fv(UInt32 program, Int32 location, Int32 count, Single* value); + internal unsafe static ProgramUniform2fv glProgramUniform2fv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramUniform2fvEXT(UInt32 program, Int32 location, Int32 count, Single* value); + internal unsafe static ProgramUniform2fvEXT glProgramUniform2fvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ProgramUniform2i(UInt32 program, Int32 location, Int32 v0, Int32 v1); + internal static ProgramUniform2i glProgramUniform2i; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ProgramUniform2i64NV(UInt32 program, Int32 location, Int64 x, Int64 y); + internal static ProgramUniform2i64NV glProgramUniform2i64NV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramUniform2i64vNV(UInt32 program, Int32 location, Int32 count, Int64* value); + internal unsafe static ProgramUniform2i64vNV glProgramUniform2i64vNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ProgramUniform2iEXT(UInt32 program, Int32 location, Int32 v0, Int32 v1); + internal static ProgramUniform2iEXT glProgramUniform2iEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramUniform2iv(UInt32 program, Int32 location, Int32 count, Int32* value); + internal unsafe static ProgramUniform2iv glProgramUniform2iv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramUniform2ivEXT(UInt32 program, Int32 location, Int32 count, Int32* value); + internal unsafe static ProgramUniform2ivEXT glProgramUniform2ivEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ProgramUniform2ui(UInt32 program, Int32 location, UInt32 v0, UInt32 v1); + internal static ProgramUniform2ui glProgramUniform2ui; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ProgramUniform2ui64NV(UInt32 program, Int32 location, UInt64 x, UInt64 y); + internal static ProgramUniform2ui64NV glProgramUniform2ui64NV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramUniform2ui64vNV(UInt32 program, Int32 location, Int32 count, UInt64* value); + internal unsafe static ProgramUniform2ui64vNV glProgramUniform2ui64vNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ProgramUniform2uiEXT(UInt32 program, Int32 location, UInt32 v0, UInt32 v1); + internal static ProgramUniform2uiEXT glProgramUniform2uiEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramUniform2uiv(UInt32 program, Int32 location, Int32 count, UInt32* value); + internal unsafe static ProgramUniform2uiv glProgramUniform2uiv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramUniform2uivEXT(UInt32 program, Int32 location, Int32 count, UInt32* value); + internal unsafe static ProgramUniform2uivEXT glProgramUniform2uivEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ProgramUniform3d(UInt32 program, Int32 location, Double v0, Double v1, Double v2); + internal static ProgramUniform3d glProgramUniform3d; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ProgramUniform3dEXT(UInt32 program, Int32 location, Double x, Double y, Double z); + internal static ProgramUniform3dEXT glProgramUniform3dEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramUniform3dv(UInt32 program, Int32 location, Int32 count, Double* value); + internal unsafe static ProgramUniform3dv glProgramUniform3dv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramUniform3dvEXT(UInt32 program, Int32 location, Int32 count, Double* value); + internal unsafe static ProgramUniform3dvEXT glProgramUniform3dvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ProgramUniform3f(UInt32 program, Int32 location, Single v0, Single v1, Single v2); + internal static ProgramUniform3f glProgramUniform3f; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ProgramUniform3fEXT(UInt32 program, Int32 location, Single v0, Single v1, Single v2); + internal static ProgramUniform3fEXT glProgramUniform3fEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramUniform3fv(UInt32 program, Int32 location, Int32 count, Single* value); + internal unsafe static ProgramUniform3fv glProgramUniform3fv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramUniform3fvEXT(UInt32 program, Int32 location, Int32 count, Single* value); + internal unsafe static ProgramUniform3fvEXT glProgramUniform3fvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ProgramUniform3i(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2); + internal static ProgramUniform3i glProgramUniform3i; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ProgramUniform3i64NV(UInt32 program, Int32 location, Int64 x, Int64 y, Int64 z); + internal static ProgramUniform3i64NV glProgramUniform3i64NV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramUniform3i64vNV(UInt32 program, Int32 location, Int32 count, Int64* value); + internal unsafe static ProgramUniform3i64vNV glProgramUniform3i64vNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ProgramUniform3iEXT(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2); + internal static ProgramUniform3iEXT glProgramUniform3iEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramUniform3iv(UInt32 program, Int32 location, Int32 count, Int32* value); + internal unsafe static ProgramUniform3iv glProgramUniform3iv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramUniform3ivEXT(UInt32 program, Int32 location, Int32 count, Int32* value); + internal unsafe static ProgramUniform3ivEXT glProgramUniform3ivEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ProgramUniform3ui(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2); + internal static ProgramUniform3ui glProgramUniform3ui; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ProgramUniform3ui64NV(UInt32 program, Int32 location, UInt64 x, UInt64 y, UInt64 z); + internal static ProgramUniform3ui64NV glProgramUniform3ui64NV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramUniform3ui64vNV(UInt32 program, Int32 location, Int32 count, UInt64* value); + internal unsafe static ProgramUniform3ui64vNV glProgramUniform3ui64vNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ProgramUniform3uiEXT(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2); + internal static ProgramUniform3uiEXT glProgramUniform3uiEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramUniform3uiv(UInt32 program, Int32 location, Int32 count, UInt32* value); + internal unsafe static ProgramUniform3uiv glProgramUniform3uiv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramUniform3uivEXT(UInt32 program, Int32 location, Int32 count, UInt32* value); + internal unsafe static ProgramUniform3uivEXT glProgramUniform3uivEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ProgramUniform4d(UInt32 program, Int32 location, Double v0, Double v1, Double v2, Double v3); + internal static ProgramUniform4d glProgramUniform4d; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ProgramUniform4dEXT(UInt32 program, Int32 location, Double x, Double y, Double z, Double w); + internal static ProgramUniform4dEXT glProgramUniform4dEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramUniform4dv(UInt32 program, Int32 location, Int32 count, Double* value); + internal unsafe static ProgramUniform4dv glProgramUniform4dv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramUniform4dvEXT(UInt32 program, Int32 location, Int32 count, Double* value); + internal unsafe static ProgramUniform4dvEXT glProgramUniform4dvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ProgramUniform4f(UInt32 program, Int32 location, Single v0, Single v1, Single v2, Single v3); + internal static ProgramUniform4f glProgramUniform4f; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ProgramUniform4fEXT(UInt32 program, Int32 location, Single v0, Single v1, Single v2, Single v3); + internal static ProgramUniform4fEXT glProgramUniform4fEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramUniform4fv(UInt32 program, Int32 location, Int32 count, Single* value); + internal unsafe static ProgramUniform4fv glProgramUniform4fv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramUniform4fvEXT(UInt32 program, Int32 location, Int32 count, Single* value); + internal unsafe static ProgramUniform4fvEXT glProgramUniform4fvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ProgramUniform4i(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3); + internal static ProgramUniform4i glProgramUniform4i; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ProgramUniform4i64NV(UInt32 program, Int32 location, Int64 x, Int64 y, Int64 z, Int64 w); + internal static ProgramUniform4i64NV glProgramUniform4i64NV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramUniform4i64vNV(UInt32 program, Int32 location, Int32 count, Int64* value); + internal unsafe static ProgramUniform4i64vNV glProgramUniform4i64vNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ProgramUniform4iEXT(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3); + internal static ProgramUniform4iEXT glProgramUniform4iEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramUniform4iv(UInt32 program, Int32 location, Int32 count, Int32* value); + internal unsafe static ProgramUniform4iv glProgramUniform4iv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramUniform4ivEXT(UInt32 program, Int32 location, Int32 count, Int32* value); + internal unsafe static ProgramUniform4ivEXT glProgramUniform4ivEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ProgramUniform4ui(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3); + internal static ProgramUniform4ui glProgramUniform4ui; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ProgramUniform4ui64NV(UInt32 program, Int32 location, UInt64 x, UInt64 y, UInt64 z, UInt64 w); + internal static ProgramUniform4ui64NV glProgramUniform4ui64NV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramUniform4ui64vNV(UInt32 program, Int32 location, Int32 count, UInt64* value); + internal unsafe static ProgramUniform4ui64vNV glProgramUniform4ui64vNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ProgramUniform4uiEXT(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3); + internal static ProgramUniform4uiEXT glProgramUniform4uiEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramUniform4uiv(UInt32 program, Int32 location, Int32 count, UInt32* value); + internal unsafe static ProgramUniform4uiv glProgramUniform4uiv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramUniform4uivEXT(UInt32 program, Int32 location, Int32 count, UInt32* value); + internal unsafe static ProgramUniform4uivEXT glProgramUniform4uivEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramUniformMatrix2dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); + internal unsafe static ProgramUniformMatrix2dv glProgramUniformMatrix2dv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramUniformMatrix2dvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); + internal unsafe static ProgramUniformMatrix2dvEXT glProgramUniformMatrix2dvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramUniformMatrix2fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + internal unsafe static ProgramUniformMatrix2fv glProgramUniformMatrix2fv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramUniformMatrix2fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + internal unsafe static ProgramUniformMatrix2fvEXT glProgramUniformMatrix2fvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramUniformMatrix2x3dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); + internal unsafe static ProgramUniformMatrix2x3dv glProgramUniformMatrix2x3dv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramUniformMatrix2x3dvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); + internal unsafe static ProgramUniformMatrix2x3dvEXT glProgramUniformMatrix2x3dvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramUniformMatrix2x3fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + internal unsafe static ProgramUniformMatrix2x3fv glProgramUniformMatrix2x3fv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramUniformMatrix2x3fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + internal unsafe static ProgramUniformMatrix2x3fvEXT glProgramUniformMatrix2x3fvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramUniformMatrix2x4dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); + internal unsafe static ProgramUniformMatrix2x4dv glProgramUniformMatrix2x4dv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramUniformMatrix2x4dvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); + internal unsafe static ProgramUniformMatrix2x4dvEXT glProgramUniformMatrix2x4dvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramUniformMatrix2x4fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + internal unsafe static ProgramUniformMatrix2x4fv glProgramUniformMatrix2x4fv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramUniformMatrix2x4fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + internal unsafe static ProgramUniformMatrix2x4fvEXT glProgramUniformMatrix2x4fvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramUniformMatrix3dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); + internal unsafe static ProgramUniformMatrix3dv glProgramUniformMatrix3dv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramUniformMatrix3dvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); + internal unsafe static ProgramUniformMatrix3dvEXT glProgramUniformMatrix3dvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramUniformMatrix3fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + internal unsafe static ProgramUniformMatrix3fv glProgramUniformMatrix3fv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramUniformMatrix3fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + internal unsafe static ProgramUniformMatrix3fvEXT glProgramUniformMatrix3fvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramUniformMatrix3x2dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); + internal unsafe static ProgramUniformMatrix3x2dv glProgramUniformMatrix3x2dv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramUniformMatrix3x2dvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); + internal unsafe static ProgramUniformMatrix3x2dvEXT glProgramUniformMatrix3x2dvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramUniformMatrix3x2fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + internal unsafe static ProgramUniformMatrix3x2fv glProgramUniformMatrix3x2fv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramUniformMatrix3x2fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + internal unsafe static ProgramUniformMatrix3x2fvEXT glProgramUniformMatrix3x2fvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramUniformMatrix3x4dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); + internal unsafe static ProgramUniformMatrix3x4dv glProgramUniformMatrix3x4dv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramUniformMatrix3x4dvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); + internal unsafe static ProgramUniformMatrix3x4dvEXT glProgramUniformMatrix3x4dvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramUniformMatrix3x4fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + internal unsafe static ProgramUniformMatrix3x4fv glProgramUniformMatrix3x4fv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramUniformMatrix3x4fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + internal unsafe static ProgramUniformMatrix3x4fvEXT glProgramUniformMatrix3x4fvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramUniformMatrix4dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); + internal unsafe static ProgramUniformMatrix4dv glProgramUniformMatrix4dv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramUniformMatrix4dvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); + internal unsafe static ProgramUniformMatrix4dvEXT glProgramUniformMatrix4dvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramUniformMatrix4fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + internal unsafe static ProgramUniformMatrix4fv glProgramUniformMatrix4fv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramUniformMatrix4fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + internal unsafe static ProgramUniformMatrix4fvEXT glProgramUniformMatrix4fvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramUniformMatrix4x2dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); + internal unsafe static ProgramUniformMatrix4x2dv glProgramUniformMatrix4x2dv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramUniformMatrix4x2dvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); + internal unsafe static ProgramUniformMatrix4x2dvEXT glProgramUniformMatrix4x2dvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramUniformMatrix4x2fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + internal unsafe static ProgramUniformMatrix4x2fv glProgramUniformMatrix4x2fv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramUniformMatrix4x2fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + internal unsafe static ProgramUniformMatrix4x2fvEXT glProgramUniformMatrix4x2fvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramUniformMatrix4x3dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); + internal unsafe static ProgramUniformMatrix4x3dv glProgramUniformMatrix4x3dv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramUniformMatrix4x3dvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); + internal unsafe static ProgramUniformMatrix4x3dvEXT glProgramUniformMatrix4x3dvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramUniformMatrix4x3fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + internal unsafe static ProgramUniformMatrix4x3fv glProgramUniformMatrix4x3fv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramUniformMatrix4x3fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + internal unsafe static ProgramUniformMatrix4x3fvEXT glProgramUniformMatrix4x3fvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ProgramUniformui64NV(UInt32 program, Int32 location, UInt64 value); + internal static ProgramUniformui64NV glProgramUniformui64NV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ProgramUniformui64vNV(UInt32 program, Int32 location, Int32 count, UInt64* value); + internal unsafe static ProgramUniformui64vNV glProgramUniformui64vNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ProgramVertexLimitNV(OpenTK.Graphics.OpenGL.NvGeometryProgram4 target, Int32 limit); + internal static ProgramVertexLimitNV glProgramVertexLimitNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ProvokingVertex(OpenTK.Graphics.OpenGL.ProvokingVertexMode mode); + internal static ProvokingVertex glProvokingVertex; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ProvokingVertexEXT(OpenTK.Graphics.OpenGL.ExtProvokingVertex mode); + internal static ProvokingVertexEXT glProvokingVertexEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void PushAttrib(OpenTK.Graphics.OpenGL.AttribMask mask); + internal static PushAttrib glPushAttrib; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void PushClientAttrib(OpenTK.Graphics.OpenGL.ClientAttribMask mask); + internal static PushClientAttrib glPushClientAttrib; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void PushClientAttribDefaultEXT(OpenTK.Graphics.OpenGL.ClientAttribMask mask); + internal static PushClientAttribDefaultEXT glPushClientAttribDefaultEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void PushMatrix(); + internal static PushMatrix glPushMatrix; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void PushName(UInt32 name); + internal static PushName glPushName; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void QueryCounter(UInt32 id, OpenTK.Graphics.OpenGL.QueryCounterTarget target); + internal static QueryCounter glQueryCounter; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void RasterPos2d(Double x, Double y); + internal static RasterPos2d glRasterPos2d; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void RasterPos2dv(Double* v); + internal unsafe static RasterPos2dv glRasterPos2dv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void RasterPos2f(Single x, Single y); + internal static RasterPos2f glRasterPos2f; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void RasterPos2fv(Single* v); + internal unsafe static RasterPos2fv glRasterPos2fv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void RasterPos2i(Int32 x, Int32 y); + internal static RasterPos2i glRasterPos2i; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void RasterPos2iv(Int32* v); + internal unsafe static RasterPos2iv glRasterPos2iv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void RasterPos2s(Int16 x, Int16 y); + internal static RasterPos2s glRasterPos2s; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void RasterPos2sv(Int16* v); + internal unsafe static RasterPos2sv glRasterPos2sv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void RasterPos3d(Double x, Double y, Double z); + internal static RasterPos3d glRasterPos3d; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void RasterPos3dv(Double* v); + internal unsafe static RasterPos3dv glRasterPos3dv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void RasterPos3f(Single x, Single y, Single z); + internal static RasterPos3f glRasterPos3f; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void RasterPos3fv(Single* v); + internal unsafe static RasterPos3fv glRasterPos3fv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void RasterPos3i(Int32 x, Int32 y, Int32 z); + internal static RasterPos3i glRasterPos3i; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void RasterPos3iv(Int32* v); + internal unsafe static RasterPos3iv glRasterPos3iv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void RasterPos3s(Int16 x, Int16 y, Int16 z); + internal static RasterPos3s glRasterPos3s; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void RasterPos3sv(Int16* v); + internal unsafe static RasterPos3sv glRasterPos3sv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void RasterPos4d(Double x, Double y, Double z, Double w); + internal static RasterPos4d glRasterPos4d; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void RasterPos4dv(Double* v); + internal unsafe static RasterPos4dv glRasterPos4dv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void RasterPos4f(Single x, Single y, Single z, Single w); + internal static RasterPos4f glRasterPos4f; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void RasterPos4fv(Single* v); + internal unsafe static RasterPos4fv glRasterPos4fv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void RasterPos4i(Int32 x, Int32 y, Int32 z, Int32 w); + internal static RasterPos4i glRasterPos4i; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void RasterPos4iv(Int32* v); + internal unsafe static RasterPos4iv glRasterPos4iv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void RasterPos4s(Int16 x, Int16 y, Int16 z, Int16 w); + internal static RasterPos4s glRasterPos4s; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void RasterPos4sv(Int16* v); + internal unsafe static RasterPos4sv glRasterPos4sv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ReadBuffer(OpenTK.Graphics.OpenGL.ReadBufferMode mode); + internal static ReadBuffer glReadBuffer; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ReadInstrumentsSGIX(Int32 marker); + internal static ReadInstrumentsSGIX glReadInstrumentsSGIX; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ReadnPixelsARB(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [OutAttribute] IntPtr data); + internal static ReadnPixelsARB glReadnPixelsARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr pixels); + internal static ReadPixels glReadPixels; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Rectd(Double x1, Double y1, Double x2, Double y2); + internal static Rectd glRectd; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Rectdv(Double* v1, Double* v2); + internal unsafe static Rectdv glRectdv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Rectf(Single x1, Single y1, Single x2, Single y2); + internal static Rectf glRectf; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Rectfv(Single* v1, Single* v2); + internal unsafe static Rectfv glRectfv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Recti(Int32 x1, Int32 y1, Int32 x2, Int32 y2); + internal static Recti glRecti; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Rectiv(Int32* v1, Int32* v2); + internal unsafe static Rectiv glRectiv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Rects(Int16 x1, Int16 y1, Int16 x2, Int16 y2); + internal static Rects glRects; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Rectsv(Int16* v1, Int16* v2); + internal unsafe static Rectsv glRectsv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ReferencePlaneSGIX(Double* equation); + internal unsafe static ReferencePlaneSGIX glReferencePlaneSGIX; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ReleaseShaderCompiler(); + internal static ReleaseShaderCompiler glReleaseShaderCompiler; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void RenderbufferStorage(OpenTK.Graphics.OpenGL.RenderbufferTarget target, OpenTK.Graphics.OpenGL.RenderbufferStorage internalformat, Int32 width, Int32 height); + internal static RenderbufferStorage glRenderbufferStorage; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void RenderbufferStorageEXT(OpenTK.Graphics.OpenGL.RenderbufferTarget target, OpenTK.Graphics.OpenGL.RenderbufferStorage internalformat, Int32 width, Int32 height); + internal static RenderbufferStorageEXT glRenderbufferStorageEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void RenderbufferStorageMultisample(OpenTK.Graphics.OpenGL.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.OpenGL.RenderbufferStorage internalformat, Int32 width, Int32 height); + internal static RenderbufferStorageMultisample glRenderbufferStorageMultisample; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void RenderbufferStorageMultisampleCoverageNV(OpenTK.Graphics.OpenGL.RenderbufferTarget target, Int32 coverageSamples, Int32 colorSamples, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height); + internal static RenderbufferStorageMultisampleCoverageNV glRenderbufferStorageMultisampleCoverageNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void RenderbufferStorageMultisampleEXT(OpenTK.Graphics.OpenGL.ExtFramebufferMultisample target, Int32 samples, OpenTK.Graphics.OpenGL.ExtFramebufferMultisample internalformat, Int32 width, Int32 height); + internal static RenderbufferStorageMultisampleEXT glRenderbufferStorageMultisampleEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate Int32 RenderMode(OpenTK.Graphics.OpenGL.RenderingMode mode); + internal static RenderMode glRenderMode; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ReplacementCodePointerSUN(OpenTK.Graphics.OpenGL.SunTriangleList type, Int32 stride, IntPtr pointer); + internal static ReplacementCodePointerSUN glReplacementCodePointerSUN; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ReplacementCodeubSUN(Byte code); + internal static ReplacementCodeubSUN glReplacementCodeubSUN; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ReplacementCodeubvSUN(Byte* code); + internal unsafe static ReplacementCodeubvSUN glReplacementCodeubvSUN; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ReplacementCodeuiColor3fVertex3fSUN(UInt32 rc, Single r, Single g, Single b, Single x, Single y, Single z); + internal static ReplacementCodeuiColor3fVertex3fSUN glReplacementCodeuiColor3fVertex3fSUN; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ReplacementCodeuiColor3fVertex3fvSUN(UInt32* rc, Single* c, Single* v); + internal unsafe static ReplacementCodeuiColor3fVertex3fvSUN glReplacementCodeuiColor3fVertex3fvSUN; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ReplacementCodeuiColor4fNormal3fVertex3fSUN(UInt32 rc, Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z); + internal static ReplacementCodeuiColor4fNormal3fVertex3fSUN glReplacementCodeuiColor4fNormal3fVertex3fSUN; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(UInt32* rc, Single* c, Single* n, Single* v); + internal unsafe static ReplacementCodeuiColor4fNormal3fVertex3fvSUN glReplacementCodeuiColor4fNormal3fVertex3fvSUN; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ReplacementCodeuiColor4ubVertex3fSUN(UInt32 rc, Byte r, Byte g, Byte b, Byte a, Single x, Single y, Single z); + internal static ReplacementCodeuiColor4ubVertex3fSUN glReplacementCodeuiColor4ubVertex3fSUN; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ReplacementCodeuiColor4ubVertex3fvSUN(UInt32* rc, Byte* c, Single* v); + internal unsafe static ReplacementCodeuiColor4ubVertex3fvSUN glReplacementCodeuiColor4ubVertex3fvSUN; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ReplacementCodeuiNormal3fVertex3fSUN(UInt32 rc, Single nx, Single ny, Single nz, Single x, Single y, Single z); + internal static ReplacementCodeuiNormal3fVertex3fSUN glReplacementCodeuiNormal3fVertex3fSUN; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ReplacementCodeuiNormal3fVertex3fvSUN(UInt32* rc, Single* n, Single* v); + internal unsafe static ReplacementCodeuiNormal3fVertex3fvSUN glReplacementCodeuiNormal3fVertex3fvSUN; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ReplacementCodeuiSUN(UInt32 code); + internal static ReplacementCodeuiSUN glReplacementCodeuiSUN; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN(UInt32 rc, Single s, Single t, Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z); + internal static ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32* rc, Single* tc, Single* c, Single* n, Single* v); + internal unsafe static ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ReplacementCodeuiTexCoord2fNormal3fVertex3fSUN(UInt32 rc, Single s, Single t, Single nx, Single ny, Single nz, Single x, Single y, Single z); + internal static ReplacementCodeuiTexCoord2fNormal3fVertex3fSUN glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(UInt32* rc, Single* tc, Single* n, Single* v); + internal unsafe static ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ReplacementCodeuiTexCoord2fVertex3fSUN(UInt32 rc, Single s, Single t, Single x, Single y, Single z); + internal static ReplacementCodeuiTexCoord2fVertex3fSUN glReplacementCodeuiTexCoord2fVertex3fSUN; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ReplacementCodeuiTexCoord2fVertex3fvSUN(UInt32* rc, Single* tc, Single* v); + internal unsafe static ReplacementCodeuiTexCoord2fVertex3fvSUN glReplacementCodeuiTexCoord2fVertex3fvSUN; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ReplacementCodeuiVertex3fSUN(UInt32 rc, Single x, Single y, Single z); + internal static ReplacementCodeuiVertex3fSUN glReplacementCodeuiVertex3fSUN; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ReplacementCodeuiVertex3fvSUN(UInt32* rc, Single* v); + internal unsafe static ReplacementCodeuiVertex3fvSUN glReplacementCodeuiVertex3fvSUN; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ReplacementCodeuivSUN(UInt32* code); + internal unsafe static ReplacementCodeuivSUN glReplacementCodeuivSUN; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ReplacementCodeusSUN(UInt16 code); + internal static ReplacementCodeusSUN glReplacementCodeusSUN; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ReplacementCodeusvSUN(UInt16* code); + internal unsafe static ReplacementCodeusvSUN glReplacementCodeusvSUN; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void RequestResidentProgramsNV(Int32 n, UInt32* programs); + internal unsafe static RequestResidentProgramsNV glRequestResidentProgramsNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ResetHistogram(OpenTK.Graphics.OpenGL.HistogramTarget target); + internal static ResetHistogram glResetHistogram; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ResetHistogramEXT(OpenTK.Graphics.OpenGL.ExtHistogram target); + internal static ResetHistogramEXT glResetHistogramEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ResetMinmax(OpenTK.Graphics.OpenGL.MinmaxTarget target); + internal static ResetMinmax glResetMinmax; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ResetMinmaxEXT(OpenTK.Graphics.OpenGL.ExtHistogram target); + internal static ResetMinmaxEXT glResetMinmaxEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ResizeBuffersMESA(); + internal static ResizeBuffersMESA glResizeBuffersMESA; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ResumeTransformFeedback(); + internal static ResumeTransformFeedback glResumeTransformFeedback; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ResumeTransformFeedbackNV(); + internal static ResumeTransformFeedbackNV glResumeTransformFeedbackNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Rotated(Double angle, Double x, Double y, Double z); + internal static Rotated glRotated; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Rotatef(Single angle, Single x, Single y, Single z); + internal static Rotatef glRotatef; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void SampleCoverage(Single value, bool invert); + internal static SampleCoverage glSampleCoverage; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void SampleCoverageARB(Single value, bool invert); + internal static SampleCoverageARB glSampleCoverageARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void SampleMapATI(UInt32 dst, UInt32 interp, OpenTK.Graphics.OpenGL.AtiFragmentShader swizzle); + internal static SampleMapATI glSampleMapATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void SampleMaskEXT(Single value, bool invert); + internal static SampleMaskEXT glSampleMaskEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void SampleMaski(UInt32 index, UInt32 mask); + internal static SampleMaski glSampleMaski; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void SampleMaskIndexedNV(UInt32 index, UInt32 mask); + internal static SampleMaskIndexedNV glSampleMaskIndexedNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void SampleMaskSGIS(Single value, bool invert); + internal static SampleMaskSGIS glSampleMaskSGIS; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void SamplePatternEXT(OpenTK.Graphics.OpenGL.ExtMultisample pattern); + internal static SamplePatternEXT glSamplePatternEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void SamplePatternSGIS(OpenTK.Graphics.OpenGL.SgisMultisample pattern); + internal static SamplePatternSGIS glSamplePatternSGIS; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void SamplerParameterf(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameter pname, Single param); + internal static SamplerParameterf glSamplerParameterf; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void SamplerParameterfv(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameter pname, Single* param); + internal unsafe static SamplerParameterfv glSamplerParameterfv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void SamplerParameteri(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameter pname, Int32 param); + internal static SamplerParameteri glSamplerParameteri; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void SamplerParameterIiv(UInt32 sampler, OpenTK.Graphics.OpenGL.ArbSamplerObjects pname, Int32* param); + internal unsafe static SamplerParameterIiv glSamplerParameterIiv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void SamplerParameterIuiv(UInt32 sampler, OpenTK.Graphics.OpenGL.ArbSamplerObjects pname, UInt32* param); + internal unsafe static SamplerParameterIuiv glSamplerParameterIuiv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void SamplerParameteriv(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameter pname, Int32* param); + internal unsafe static SamplerParameteriv glSamplerParameteriv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Scaled(Double x, Double y, Double z); + internal static Scaled glScaled; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Scalef(Single x, Single y, Single z); + internal static Scalef glScalef; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Scissor(Int32 x, Int32 y, Int32 width, Int32 height); + internal static Scissor glScissor; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ScissorArrayv(UInt32 first, Int32 count, Int32* v); + internal unsafe static ScissorArrayv glScissorArrayv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ScissorIndexed(UInt32 index, Int32 left, Int32 bottom, Int32 width, Int32 height); + internal static ScissorIndexed glScissorIndexed; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ScissorIndexedv(UInt32 index, Int32* v); + internal unsafe static ScissorIndexedv glScissorIndexedv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void SecondaryColor3b(SByte red, SByte green, SByte blue); + internal static SecondaryColor3b glSecondaryColor3b; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void SecondaryColor3bEXT(SByte red, SByte green, SByte blue); + internal static SecondaryColor3bEXT glSecondaryColor3bEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void SecondaryColor3bv(SByte* v); + internal unsafe static SecondaryColor3bv glSecondaryColor3bv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void SecondaryColor3bvEXT(SByte* v); + internal unsafe static SecondaryColor3bvEXT glSecondaryColor3bvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void SecondaryColor3d(Double red, Double green, Double blue); + internal static SecondaryColor3d glSecondaryColor3d; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void SecondaryColor3dEXT(Double red, Double green, Double blue); + internal static SecondaryColor3dEXT glSecondaryColor3dEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void SecondaryColor3dv(Double* v); + internal unsafe static SecondaryColor3dv glSecondaryColor3dv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void SecondaryColor3dvEXT(Double* v); + internal unsafe static SecondaryColor3dvEXT glSecondaryColor3dvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void SecondaryColor3f(Single red, Single green, Single blue); + internal static SecondaryColor3f glSecondaryColor3f; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void SecondaryColor3fEXT(Single red, Single green, Single blue); + internal static SecondaryColor3fEXT glSecondaryColor3fEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void SecondaryColor3fv(Single* v); + internal unsafe static SecondaryColor3fv glSecondaryColor3fv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void SecondaryColor3fvEXT(Single* v); + internal unsafe static SecondaryColor3fvEXT glSecondaryColor3fvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void SecondaryColor3hNV(Half red, Half green, Half blue); + internal static SecondaryColor3hNV glSecondaryColor3hNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void SecondaryColor3hvNV(Half* v); + internal unsafe static SecondaryColor3hvNV glSecondaryColor3hvNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void SecondaryColor3i(Int32 red, Int32 green, Int32 blue); + internal static SecondaryColor3i glSecondaryColor3i; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void SecondaryColor3iEXT(Int32 red, Int32 green, Int32 blue); + internal static SecondaryColor3iEXT glSecondaryColor3iEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void SecondaryColor3iv(Int32* v); + internal unsafe static SecondaryColor3iv glSecondaryColor3iv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void SecondaryColor3ivEXT(Int32* v); + internal unsafe static SecondaryColor3ivEXT glSecondaryColor3ivEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void SecondaryColor3s(Int16 red, Int16 green, Int16 blue); + internal static SecondaryColor3s glSecondaryColor3s; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void SecondaryColor3sEXT(Int16 red, Int16 green, Int16 blue); + internal static SecondaryColor3sEXT glSecondaryColor3sEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void SecondaryColor3sv(Int16* v); + internal unsafe static SecondaryColor3sv glSecondaryColor3sv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void SecondaryColor3svEXT(Int16* v); + internal unsafe static SecondaryColor3svEXT glSecondaryColor3svEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void SecondaryColor3ub(Byte red, Byte green, Byte blue); + internal static SecondaryColor3ub glSecondaryColor3ub; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void SecondaryColor3ubEXT(Byte red, Byte green, Byte blue); + internal static SecondaryColor3ubEXT glSecondaryColor3ubEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void SecondaryColor3ubv(Byte* v); + internal unsafe static SecondaryColor3ubv glSecondaryColor3ubv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void SecondaryColor3ubvEXT(Byte* v); + internal unsafe static SecondaryColor3ubvEXT glSecondaryColor3ubvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void SecondaryColor3ui(UInt32 red, UInt32 green, UInt32 blue); + internal static SecondaryColor3ui glSecondaryColor3ui; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void SecondaryColor3uiEXT(UInt32 red, UInt32 green, UInt32 blue); + internal static SecondaryColor3uiEXT glSecondaryColor3uiEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void SecondaryColor3uiv(UInt32* v); + internal unsafe static SecondaryColor3uiv glSecondaryColor3uiv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void SecondaryColor3uivEXT(UInt32* v); + internal unsafe static SecondaryColor3uivEXT glSecondaryColor3uivEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void SecondaryColor3us(UInt16 red, UInt16 green, UInt16 blue); + internal static SecondaryColor3us glSecondaryColor3us; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void SecondaryColor3usEXT(UInt16 red, UInt16 green, UInt16 blue); + internal static SecondaryColor3usEXT glSecondaryColor3usEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void SecondaryColor3usv(UInt16* v); + internal unsafe static SecondaryColor3usv glSecondaryColor3usv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void SecondaryColor3usvEXT(UInt16* v); + internal unsafe static SecondaryColor3usvEXT glSecondaryColor3usvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void SecondaryColorFormatNV(Int32 size, OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride); + internal static SecondaryColorFormatNV glSecondaryColorFormatNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void SecondaryColorP3ui(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 color); + internal static SecondaryColorP3ui glSecondaryColorP3ui; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void SecondaryColorP3uiv(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* color); + internal unsafe static SecondaryColorP3uiv glSecondaryColorP3uiv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void SecondaryColorPointer(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, IntPtr pointer); + internal static SecondaryColorPointer glSecondaryColorPointer; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void SecondaryColorPointerEXT(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, IntPtr pointer); + internal static SecondaryColorPointerEXT glSecondaryColorPointerEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void SecondaryColorPointerListIBM(Int32 size, OpenTK.Graphics.OpenGL.IbmVertexArrayLists type, Int32 stride, IntPtr pointer, Int32 ptrstride); + internal static SecondaryColorPointerListIBM glSecondaryColorPointerListIBM; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void SelectBuffer(Int32 size, [OutAttribute] UInt32* buffer); + internal unsafe static SelectBuffer glSelectBuffer; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void SelectPerfMonitorCountersAMD(UInt32 monitor, bool enable, UInt32 group, Int32 numCounters, [OutAttribute] UInt32* counterList); + internal unsafe static SelectPerfMonitorCountersAMD glSelectPerfMonitorCountersAMD; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void SeparableFilter2D(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr row, IntPtr column); + internal static SeparableFilter2D glSeparableFilter2D; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void SeparableFilter2DEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr row, IntPtr column); + internal static SeparableFilter2DEXT glSeparableFilter2DEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void SetFenceAPPLE(UInt32 fence); + internal static SetFenceAPPLE glSetFenceAPPLE; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void SetFenceNV(UInt32 fence, OpenTK.Graphics.OpenGL.NvFence condition); + internal static SetFenceNV glSetFenceNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void SetFragmentShaderConstantATI(UInt32 dst, Single* value); + internal unsafe static SetFragmentShaderConstantATI glSetFragmentShaderConstantATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void SetInvariantEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, IntPtr addr); + internal static SetInvariantEXT glSetInvariantEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void SetLocalConstantEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, IntPtr addr); + internal static SetLocalConstantEXT glSetLocalConstantEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void SetMultisamplefvAMD(OpenTK.Graphics.OpenGL.AmdSamplePositions pname, UInt32 index, Single* val); + internal unsafe static SetMultisamplefvAMD glSetMultisamplefvAMD; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ShadeModel(OpenTK.Graphics.OpenGL.ShadingModel mode); + internal static ShadeModel glShadeModel; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, IntPtr binary, Int32 length); + internal unsafe static ShaderBinary glShaderBinary; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ShaderOp1EXT(OpenTK.Graphics.OpenGL.ExtVertexShader op, UInt32 res, UInt32 arg1); + internal static ShaderOp1EXT glShaderOp1EXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ShaderOp2EXT(OpenTK.Graphics.OpenGL.ExtVertexShader op, UInt32 res, UInt32 arg1, UInt32 arg2); + internal static ShaderOp2EXT glShaderOp2EXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ShaderOp3EXT(OpenTK.Graphics.OpenGL.ExtVertexShader op, UInt32 res, UInt32 arg1, UInt32 arg2, UInt32 arg3); + internal static ShaderOp3EXT glShaderOp3EXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ShaderSource(UInt32 shader, Int32 count, String[] @string, Int32* length); + internal unsafe static ShaderSource glShaderSource; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ShaderSourceARB(UInt32 shaderObj, Int32 count, String[] @string, Int32* length); + internal unsafe static ShaderSourceARB glShaderSourceARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void SharpenTexFuncSGIS(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 n, Single* points); + internal unsafe static SharpenTexFuncSGIS glSharpenTexFuncSGIS; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void SpriteParameterfSGIX(OpenTK.Graphics.OpenGL.SgixSprite pname, Single param); + internal static SpriteParameterfSGIX glSpriteParameterfSGIX; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void SpriteParameterfvSGIX(OpenTK.Graphics.OpenGL.SgixSprite pname, Single* @params); + internal unsafe static SpriteParameterfvSGIX glSpriteParameterfvSGIX; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void SpriteParameteriSGIX(OpenTK.Graphics.OpenGL.SgixSprite pname, Int32 param); + internal static SpriteParameteriSGIX glSpriteParameteriSGIX; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void SpriteParameterivSGIX(OpenTK.Graphics.OpenGL.SgixSprite pname, Int32* @params); + internal unsafe static SpriteParameterivSGIX glSpriteParameterivSGIX; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void StartInstrumentsSGIX(); + internal static StartInstrumentsSGIX glStartInstrumentsSGIX; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void StencilClearTagEXT(Int32 stencilTagBits, UInt32 stencilClearTag); + internal static StencilClearTagEXT glStencilClearTagEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void StencilFunc(OpenTK.Graphics.OpenGL.StencilFunction func, Int32 @ref, UInt32 mask); + internal static StencilFunc glStencilFunc; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void StencilFuncSeparate(OpenTK.Graphics.OpenGL.Version20 face, OpenTK.Graphics.OpenGL.StencilFunction func, Int32 @ref, UInt32 mask); + internal static StencilFuncSeparate glStencilFuncSeparate; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void StencilFuncSeparateATI(OpenTK.Graphics.OpenGL.StencilFunction frontfunc, OpenTK.Graphics.OpenGL.StencilFunction backfunc, Int32 @ref, UInt32 mask); + internal static StencilFuncSeparateATI glStencilFuncSeparateATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void StencilMask(UInt32 mask); + internal static StencilMask glStencilMask; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void StencilMaskSeparate(OpenTK.Graphics.OpenGL.StencilFace face, UInt32 mask); + internal static StencilMaskSeparate glStencilMaskSeparate; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void StencilOp(OpenTK.Graphics.OpenGL.StencilOp fail, OpenTK.Graphics.OpenGL.StencilOp zfail, OpenTK.Graphics.OpenGL.StencilOp zpass); + internal static StencilOp glStencilOp; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void StencilOpSeparate(OpenTK.Graphics.OpenGL.StencilFace face, OpenTK.Graphics.OpenGL.StencilOp sfail, OpenTK.Graphics.OpenGL.StencilOp dpfail, OpenTK.Graphics.OpenGL.StencilOp dppass); + internal static StencilOpSeparate glStencilOpSeparate; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void StencilOpSeparateATI(OpenTK.Graphics.OpenGL.AtiSeparateStencil face, OpenTK.Graphics.OpenGL.StencilOp sfail, OpenTK.Graphics.OpenGL.StencilOp dpfail, OpenTK.Graphics.OpenGL.StencilOp dppass); + internal static StencilOpSeparateATI glStencilOpSeparateATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void StopInstrumentsSGIX(Int32 marker); + internal static StopInstrumentsSGIX glStopInstrumentsSGIX; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void StringMarkerGREMEDY(Int32 len, IntPtr @string); + internal static StringMarkerGREMEDY glStringMarkerGREMEDY; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void SwizzleEXT(UInt32 res, UInt32 @in, OpenTK.Graphics.OpenGL.ExtVertexShader outX, OpenTK.Graphics.OpenGL.ExtVertexShader outY, OpenTK.Graphics.OpenGL.ExtVertexShader outZ, OpenTK.Graphics.OpenGL.ExtVertexShader outW); + internal static SwizzleEXT glSwizzleEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TagSampleBufferSGIX(); + internal static TagSampleBufferSGIX glTagSampleBufferSGIX; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Tangent3bEXT(SByte tx, SByte ty, SByte tz); + internal static Tangent3bEXT glTangent3bEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Tangent3bvEXT(SByte* v); + internal unsafe static Tangent3bvEXT glTangent3bvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Tangent3dEXT(Double tx, Double ty, Double tz); + internal static Tangent3dEXT glTangent3dEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Tangent3dvEXT(Double* v); + internal unsafe static Tangent3dvEXT glTangent3dvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Tangent3fEXT(Single tx, Single ty, Single tz); + internal static Tangent3fEXT glTangent3fEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Tangent3fvEXT(Single* v); + internal unsafe static Tangent3fvEXT glTangent3fvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Tangent3iEXT(Int32 tx, Int32 ty, Int32 tz); + internal static Tangent3iEXT glTangent3iEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Tangent3ivEXT(Int32* v); + internal unsafe static Tangent3ivEXT glTangent3ivEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Tangent3sEXT(Int16 tx, Int16 ty, Int16 tz); + internal static Tangent3sEXT glTangent3sEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Tangent3svEXT(Int16* v); + internal unsafe static Tangent3svEXT glTangent3svEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TangentPointerEXT(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, IntPtr pointer); + internal static TangentPointerEXT glTangentPointerEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TbufferMask3DFX(UInt32 mask); + internal static TbufferMask3DFX glTbufferMask3DFX; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TessellationFactorAMD(Single factor); + internal static TessellationFactorAMD glTessellationFactorAMD; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TessellationModeAMD(OpenTK.Graphics.OpenGL.AmdVertexShaderTesselator mode); + internal static TessellationModeAMD glTessellationModeAMD; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate bool TestFenceAPPLE(UInt32 fence); + internal static TestFenceAPPLE glTestFenceAPPLE; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate bool TestFenceNV(UInt32 fence); + internal static TestFenceNV glTestFenceNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate bool TestObjectAPPLE(OpenTK.Graphics.OpenGL.AppleFence @object, UInt32 name); + internal static TestObjectAPPLE glTestObjectAPPLE; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexBuffer(OpenTK.Graphics.OpenGL.TextureBufferTarget target, OpenTK.Graphics.OpenGL.SizedInternalFormat internalformat, UInt32 buffer); + internal static TexBuffer glTexBuffer; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexBufferARB(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.ArbTextureBufferObject internalformat, UInt32 buffer); + internal static TexBufferARB glTexBufferARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexBufferEXT(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.ExtTextureBufferObject internalformat, UInt32 buffer); + internal static TexBufferEXT glTexBufferEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void TexBumpParameterfvATI(OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap pname, Single* param); + internal unsafe static TexBumpParameterfvATI glTexBumpParameterfvATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void TexBumpParameterivATI(OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap pname, Int32* param); + internal unsafe static TexBumpParameterivATI glTexBumpParameterivATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexCoord1d(Double s); + internal static TexCoord1d glTexCoord1d; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void TexCoord1dv(Double* v); + internal unsafe static TexCoord1dv glTexCoord1dv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexCoord1f(Single s); + internal static TexCoord1f glTexCoord1f; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void TexCoord1fv(Single* v); + internal unsafe static TexCoord1fv glTexCoord1fv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexCoord1hNV(Half s); + internal static TexCoord1hNV glTexCoord1hNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void TexCoord1hvNV(Half* v); + internal unsafe static TexCoord1hvNV glTexCoord1hvNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexCoord1i(Int32 s); + internal static TexCoord1i glTexCoord1i; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void TexCoord1iv(Int32* v); + internal unsafe static TexCoord1iv glTexCoord1iv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexCoord1s(Int16 s); + internal static TexCoord1s glTexCoord1s; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void TexCoord1sv(Int16* v); + internal unsafe static TexCoord1sv glTexCoord1sv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexCoord2d(Double s, Double t); + internal static TexCoord2d glTexCoord2d; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void TexCoord2dv(Double* v); + internal unsafe static TexCoord2dv glTexCoord2dv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexCoord2f(Single s, Single t); + internal static TexCoord2f glTexCoord2f; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexCoord2fColor3fVertex3fSUN(Single s, Single t, Single r, Single g, Single b, Single x, Single y, Single z); + internal static TexCoord2fColor3fVertex3fSUN glTexCoord2fColor3fVertex3fSUN; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void TexCoord2fColor3fVertex3fvSUN(Single* tc, Single* c, Single* v); + internal unsafe static TexCoord2fColor3fVertex3fvSUN glTexCoord2fColor3fVertex3fvSUN; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexCoord2fColor4fNormal3fVertex3fSUN(Single s, Single t, Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z); + internal static TexCoord2fColor4fNormal3fVertex3fSUN glTexCoord2fColor4fNormal3fVertex3fSUN; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void TexCoord2fColor4fNormal3fVertex3fvSUN(Single* tc, Single* c, Single* n, Single* v); + internal unsafe static TexCoord2fColor4fNormal3fVertex3fvSUN glTexCoord2fColor4fNormal3fVertex3fvSUN; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexCoord2fColor4ubVertex3fSUN(Single s, Single t, Byte r, Byte g, Byte b, Byte a, Single x, Single y, Single z); + internal static TexCoord2fColor4ubVertex3fSUN glTexCoord2fColor4ubVertex3fSUN; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void TexCoord2fColor4ubVertex3fvSUN(Single* tc, Byte* c, Single* v); + internal unsafe static TexCoord2fColor4ubVertex3fvSUN glTexCoord2fColor4ubVertex3fvSUN; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexCoord2fNormal3fVertex3fSUN(Single s, Single t, Single nx, Single ny, Single nz, Single x, Single y, Single z); + internal static TexCoord2fNormal3fVertex3fSUN glTexCoord2fNormal3fVertex3fSUN; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void TexCoord2fNormal3fVertex3fvSUN(Single* tc, Single* n, Single* v); + internal unsafe static TexCoord2fNormal3fVertex3fvSUN glTexCoord2fNormal3fVertex3fvSUN; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void TexCoord2fv(Single* v); + internal unsafe static TexCoord2fv glTexCoord2fv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexCoord2fVertex3fSUN(Single s, Single t, Single x, Single y, Single z); + internal static TexCoord2fVertex3fSUN glTexCoord2fVertex3fSUN; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void TexCoord2fVertex3fvSUN(Single* tc, Single* v); + internal unsafe static TexCoord2fVertex3fvSUN glTexCoord2fVertex3fvSUN; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexCoord2hNV(Half s, Half t); + internal static TexCoord2hNV glTexCoord2hNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void TexCoord2hvNV(Half* v); + internal unsafe static TexCoord2hvNV glTexCoord2hvNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexCoord2i(Int32 s, Int32 t); + internal static TexCoord2i glTexCoord2i; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void TexCoord2iv(Int32* v); + internal unsafe static TexCoord2iv glTexCoord2iv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexCoord2s(Int16 s, Int16 t); + internal static TexCoord2s glTexCoord2s; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void TexCoord2sv(Int16* v); + internal unsafe static TexCoord2sv glTexCoord2sv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexCoord3d(Double s, Double t, Double r); + internal static TexCoord3d glTexCoord3d; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void TexCoord3dv(Double* v); + internal unsafe static TexCoord3dv glTexCoord3dv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexCoord3f(Single s, Single t, Single r); + internal static TexCoord3f glTexCoord3f; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void TexCoord3fv(Single* v); + internal unsafe static TexCoord3fv glTexCoord3fv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexCoord3hNV(Half s, Half t, Half r); + internal static TexCoord3hNV glTexCoord3hNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void TexCoord3hvNV(Half* v); + internal unsafe static TexCoord3hvNV glTexCoord3hvNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexCoord3i(Int32 s, Int32 t, Int32 r); + internal static TexCoord3i glTexCoord3i; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void TexCoord3iv(Int32* v); + internal unsafe static TexCoord3iv glTexCoord3iv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexCoord3s(Int16 s, Int16 t, Int16 r); + internal static TexCoord3s glTexCoord3s; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void TexCoord3sv(Int16* v); + internal unsafe static TexCoord3sv glTexCoord3sv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexCoord4d(Double s, Double t, Double r, Double q); + internal static TexCoord4d glTexCoord4d; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void TexCoord4dv(Double* v); + internal unsafe static TexCoord4dv glTexCoord4dv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexCoord4f(Single s, Single t, Single r, Single q); + internal static TexCoord4f glTexCoord4f; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexCoord4fColor4fNormal3fVertex4fSUN(Single s, Single t, Single p, Single q, Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z, Single w); + internal static TexCoord4fColor4fNormal3fVertex4fSUN glTexCoord4fColor4fNormal3fVertex4fSUN; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void TexCoord4fColor4fNormal3fVertex4fvSUN(Single* tc, Single* c, Single* n, Single* v); + internal unsafe static TexCoord4fColor4fNormal3fVertex4fvSUN glTexCoord4fColor4fNormal3fVertex4fvSUN; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void TexCoord4fv(Single* v); + internal unsafe static TexCoord4fv glTexCoord4fv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexCoord4fVertex4fSUN(Single s, Single t, Single p, Single q, Single x, Single y, Single z, Single w); + internal static TexCoord4fVertex4fSUN glTexCoord4fVertex4fSUN; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void TexCoord4fVertex4fvSUN(Single* tc, Single* v); + internal unsafe static TexCoord4fVertex4fvSUN glTexCoord4fVertex4fvSUN; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexCoord4hNV(Half s, Half t, Half r, Half q); + internal static TexCoord4hNV glTexCoord4hNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void TexCoord4hvNV(Half* v); + internal unsafe static TexCoord4hvNV glTexCoord4hvNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexCoord4i(Int32 s, Int32 t, Int32 r, Int32 q); + internal static TexCoord4i glTexCoord4i; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void TexCoord4iv(Int32* v); + internal unsafe static TexCoord4iv glTexCoord4iv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexCoord4s(Int16 s, Int16 t, Int16 r, Int16 q); + internal static TexCoord4s glTexCoord4s; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void TexCoord4sv(Int16* v); + internal unsafe static TexCoord4sv glTexCoord4sv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexCoordFormatNV(Int32 size, OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride); + internal static TexCoordFormatNV glTexCoordFormatNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexCoordP1ui(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords); + internal static TexCoordP1ui glTexCoordP1ui; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void TexCoordP1uiv(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords); + internal unsafe static TexCoordP1uiv glTexCoordP1uiv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexCoordP2ui(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords); + internal static TexCoordP2ui glTexCoordP2ui; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void TexCoordP2uiv(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords); + internal unsafe static TexCoordP2uiv glTexCoordP2uiv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexCoordP3ui(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords); + internal static TexCoordP3ui glTexCoordP3ui; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void TexCoordP3uiv(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords); + internal unsafe static TexCoordP3uiv glTexCoordP3uiv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexCoordP4ui(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords); + internal static TexCoordP4ui glTexCoordP4ui; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void TexCoordP4uiv(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords); + internal unsafe static TexCoordP4uiv glTexCoordP4uiv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexCoordPointer(Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, IntPtr pointer); + internal static TexCoordPointer glTexCoordPointer; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexCoordPointerEXT(Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, Int32 count, IntPtr pointer); + internal static TexCoordPointerEXT glTexCoordPointerEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexCoordPointerListIBM(Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride); + internal static TexCoordPointerListIBM glTexCoordPointerListIBM; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexCoordPointervINTEL(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, IntPtr pointer); + internal static TexCoordPointervINTEL glTexCoordPointervINTEL; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexEnvf(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Single param); + internal static TexEnvf glTexEnvf; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void TexEnvfv(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Single* @params); + internal unsafe static TexEnvfv glTexEnvfv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexEnvi(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Int32 param); + internal static TexEnvi glTexEnvi; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void TexEnviv(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Int32* @params); + internal unsafe static TexEnviv glTexEnviv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void TexFilterFuncSGIS(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.SgisTextureFilter4 filter, Int32 n, Single* weights); + internal unsafe static TexFilterFuncSGIS glTexFilterFuncSGIS; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexGend(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Double param); + internal static TexGend glTexGend; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void TexGendv(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Double* @params); + internal unsafe static TexGendv glTexGendv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexGenf(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Single param); + internal static TexGenf glTexGenf; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void TexGenfv(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Single* @params); + internal unsafe static TexGenfv glTexGenfv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexGeni(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Int32 param); + internal static TexGeni glTexGeni; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void TexGeniv(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Int32* @params); + internal unsafe static TexGeniv glTexGeniv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); + internal static TexImage1D glTexImage1D; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); + internal static TexImage2D glTexImage2D; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexImage2DMultisample(OpenTK.Graphics.OpenGL.TextureTargetMultisample target, Int32 samples, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, bool fixedsamplelocations); + internal static TexImage2DMultisample glTexImage2DMultisample; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexImage2DMultisampleCoverageNV(OpenTK.Graphics.OpenGL.NvTextureMultisample target, Int32 coverageSamples, Int32 colorSamples, Int32 internalFormat, Int32 width, Int32 height, bool fixedSampleLocations); + internal static TexImage2DMultisampleCoverageNV glTexImage2DMultisampleCoverageNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); + internal static TexImage3D glTexImage3D; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexImage3DEXT(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); + internal static TexImage3DEXT glTexImage3DEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexImage3DMultisample(OpenTK.Graphics.OpenGL.TextureTargetMultisample target, Int32 samples, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, bool fixedsamplelocations); + internal static TexImage3DMultisample glTexImage3DMultisample; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexImage3DMultisampleCoverageNV(OpenTK.Graphics.OpenGL.NvTextureMultisample target, Int32 coverageSamples, Int32 colorSamples, Int32 internalFormat, Int32 width, Int32 height, Int32 depth, bool fixedSampleLocations); + internal static TexImage3DMultisampleCoverageNV glTexImage3DMultisampleCoverageNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexImage4DSGIS(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 size4d, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); + internal static TexImage4DSGIS glTexImage4DSGIS; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexParameterf(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single param); + internal static TexParameterf glTexParameterf; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void TexParameterfv(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single* @params); + internal unsafe static TexParameterfv glTexParameterfv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexParameteri(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32 param); + internal static TexParameteri glTexParameteri; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void TexParameterIiv(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32* @params); + internal unsafe static TexParameterIiv glTexParameterIiv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void TexParameterIivEXT(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32* @params); + internal unsafe static TexParameterIivEXT glTexParameterIivEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void TexParameterIuiv(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, UInt32* @params); + internal unsafe static TexParameterIuiv glTexParameterIuiv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void TexParameterIuivEXT(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, UInt32* @params); + internal unsafe static TexParameterIuivEXT glTexParameterIuivEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void TexParameteriv(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32* @params); + internal unsafe static TexParameteriv glTexParameteriv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexRenderbufferNV(OpenTK.Graphics.OpenGL.TextureTarget target, UInt32 renderbuffer); + internal static TexRenderbufferNV glTexRenderbufferNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); + internal static TexSubImage1D glTexSubImage1D; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexSubImage1DEXT(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); + internal static TexSubImage1DEXT glTexSubImage1DEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); + internal static TexSubImage2D glTexSubImage2D; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexSubImage2DEXT(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); + internal static TexSubImage2DEXT glTexSubImage2DEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); + internal static TexSubImage3D glTexSubImage3D; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexSubImage3DEXT(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); + internal static TexSubImage3DEXT glTexSubImage3DEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexSubImage4DSGIS(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 woffset, Int32 width, Int32 height, Int32 depth, Int32 size4d, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); + internal static TexSubImage4DSGIS glTexSubImage4DSGIS; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TextureBarrierNV(); + internal static TextureBarrierNV glTextureBarrierNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TextureBufferEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, UInt32 buffer); + internal static TextureBufferEXT glTextureBufferEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TextureColorMaskSGIS(bool red, bool green, bool blue, bool alpha); + internal static TextureColorMaskSGIS glTextureColorMaskSGIS; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TextureImage1DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); + internal static TextureImage1DEXT glTextureImage1DEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TextureImage2DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); + internal static TextureImage2DEXT glTextureImage2DEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TextureImage2DMultisampleCoverageNV(UInt32 texture, OpenTK.Graphics.OpenGL.NvTextureMultisample target, Int32 coverageSamples, Int32 colorSamples, Int32 internalFormat, Int32 width, Int32 height, bool fixedSampleLocations); + internal static TextureImage2DMultisampleCoverageNV glTextureImage2DMultisampleCoverageNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TextureImage2DMultisampleNV(UInt32 texture, OpenTK.Graphics.OpenGL.NvTextureMultisample target, Int32 samples, Int32 internalFormat, Int32 width, Int32 height, bool fixedSampleLocations); + internal static TextureImage2DMultisampleNV glTextureImage2DMultisampleNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TextureImage3DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); + internal static TextureImage3DEXT glTextureImage3DEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TextureImage3DMultisampleCoverageNV(UInt32 texture, OpenTK.Graphics.OpenGL.NvTextureMultisample target, Int32 coverageSamples, Int32 colorSamples, Int32 internalFormat, Int32 width, Int32 height, Int32 depth, bool fixedSampleLocations); + internal static TextureImage3DMultisampleCoverageNV glTextureImage3DMultisampleCoverageNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TextureImage3DMultisampleNV(UInt32 texture, OpenTK.Graphics.OpenGL.NvTextureMultisample target, Int32 samples, Int32 internalFormat, Int32 width, Int32 height, Int32 depth, bool fixedSampleLocations); + internal static TextureImage3DMultisampleNV glTextureImage3DMultisampleNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TextureLightEXT(OpenTK.Graphics.OpenGL.ExtLightTexture pname); + internal static TextureLightEXT glTextureLightEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TextureMaterialEXT(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter mode); + internal static TextureMaterialEXT glTextureMaterialEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TextureNormalEXT(OpenTK.Graphics.OpenGL.ExtTexturePerturbNormal mode); + internal static TextureNormalEXT glTextureNormalEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TextureParameterfEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single param); + internal static TextureParameterfEXT glTextureParameterfEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void TextureParameterfvEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single* @params); + internal unsafe static TextureParameterfvEXT glTextureParameterfvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TextureParameteriEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32 param); + internal static TextureParameteriEXT glTextureParameteriEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void TextureParameterIivEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32* @params); + internal unsafe static TextureParameterIivEXT glTextureParameterIivEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void TextureParameterIuivEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, UInt32* @params); + internal unsafe static TextureParameterIuivEXT glTextureParameterIuivEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void TextureParameterivEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32* @params); + internal unsafe static TextureParameterivEXT glTextureParameterivEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TextureRangeAPPLE(OpenTK.Graphics.OpenGL.AppleTextureRange target, Int32 length, IntPtr pointer); + internal static TextureRangeAPPLE glTextureRangeAPPLE; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TextureRenderbufferEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, UInt32 renderbuffer); + internal static TextureRenderbufferEXT glTextureRenderbufferEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TextureSubImage1DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); + internal static TextureSubImage1DEXT glTextureSubImage1DEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TextureSubImage2DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); + internal static TextureSubImage2DEXT glTextureSubImage2DEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TextureSubImage3DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); + internal static TextureSubImage3DEXT glTextureSubImage3DEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TrackMatrixNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 address, OpenTK.Graphics.OpenGL.NvVertexProgram matrix, OpenTK.Graphics.OpenGL.NvVertexProgram transform); + internal static TrackMatrixNV glTrackMatrixNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void TransformFeedbackAttribsNV(UInt32 count, Int32* attribs, OpenTK.Graphics.OpenGL.NvTransformFeedback bufferMode); + internal unsafe static TransformFeedbackAttribsNV glTransformFeedbackAttribsNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void TransformFeedbackStreamAttribsNV(Int32 count, Int32* attribs, Int32 nbuffers, Int32* bufstreams, OpenTK.Graphics.OpenGL.NvTransformFeedback bufferMode); + internal unsafe static TransformFeedbackStreamAttribsNV glTransformFeedbackStreamAttribsNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TransformFeedbackVaryings(UInt32 program, Int32 count, String[] varyings, OpenTK.Graphics.OpenGL.TransformFeedbackMode bufferMode); + internal static TransformFeedbackVaryings glTransformFeedbackVaryings; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TransformFeedbackVaryingsEXT(UInt32 program, Int32 count, String[] varyings, OpenTK.Graphics.OpenGL.ExtTransformFeedback bufferMode); + internal static TransformFeedbackVaryingsEXT glTransformFeedbackVaryingsEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void TransformFeedbackVaryingsNV(UInt32 program, Int32 count, Int32* locations, OpenTK.Graphics.OpenGL.NvTransformFeedback bufferMode); + internal unsafe static TransformFeedbackVaryingsNV glTransformFeedbackVaryingsNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Translated(Double x, Double y, Double z); + internal static Translated glTranslated; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Translatef(Single x, Single y, Single z); + internal static Translatef glTranslatef; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Uniform1d(Int32 location, Double x); + internal static Uniform1d glUniform1d; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Uniform1dv(Int32 location, Int32 count, Double* value); + internal unsafe static Uniform1dv glUniform1dv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Uniform1f(Int32 location, Single v0); + internal static Uniform1f glUniform1f; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Uniform1fARB(Int32 location, Single v0); + internal static Uniform1fARB glUniform1fARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Uniform1fv(Int32 location, Int32 count, Single* value); + internal unsafe static Uniform1fv glUniform1fv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Uniform1fvARB(Int32 location, Int32 count, Single* value); + internal unsafe static Uniform1fvARB glUniform1fvARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Uniform1i(Int32 location, Int32 v0); + internal static Uniform1i glUniform1i; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Uniform1i64NV(Int32 location, Int64 x); + internal static Uniform1i64NV glUniform1i64NV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Uniform1i64vNV(Int32 location, Int32 count, Int64* value); + internal unsafe static Uniform1i64vNV glUniform1i64vNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Uniform1iARB(Int32 location, Int32 v0); + internal static Uniform1iARB glUniform1iARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Uniform1iv(Int32 location, Int32 count, Int32* value); + internal unsafe static Uniform1iv glUniform1iv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Uniform1ivARB(Int32 location, Int32 count, Int32* value); + internal unsafe static Uniform1ivARB glUniform1ivARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Uniform1ui(Int32 location, UInt32 v0); + internal static Uniform1ui glUniform1ui; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Uniform1ui64NV(Int32 location, UInt64 x); + internal static Uniform1ui64NV glUniform1ui64NV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Uniform1ui64vNV(Int32 location, Int32 count, UInt64* value); + internal unsafe static Uniform1ui64vNV glUniform1ui64vNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Uniform1uiEXT(Int32 location, UInt32 v0); + internal static Uniform1uiEXT glUniform1uiEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Uniform1uiv(Int32 location, Int32 count, UInt32* value); + internal unsafe static Uniform1uiv glUniform1uiv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Uniform1uivEXT(Int32 location, Int32 count, UInt32* value); + internal unsafe static Uniform1uivEXT glUniform1uivEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Uniform2d(Int32 location, Double x, Double y); + internal static Uniform2d glUniform2d; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Uniform2dv(Int32 location, Int32 count, Double* value); + internal unsafe static Uniform2dv glUniform2dv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Uniform2f(Int32 location, Single v0, Single v1); + internal static Uniform2f glUniform2f; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Uniform2fARB(Int32 location, Single v0, Single v1); + internal static Uniform2fARB glUniform2fARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Uniform2fv(Int32 location, Int32 count, Single* value); + internal unsafe static Uniform2fv glUniform2fv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Uniform2fvARB(Int32 location, Int32 count, Single* value); + internal unsafe static Uniform2fvARB glUniform2fvARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Uniform2i(Int32 location, Int32 v0, Int32 v1); + internal static Uniform2i glUniform2i; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Uniform2i64NV(Int32 location, Int64 x, Int64 y); + internal static Uniform2i64NV glUniform2i64NV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Uniform2i64vNV(Int32 location, Int32 count, Int64* value); + internal unsafe static Uniform2i64vNV glUniform2i64vNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Uniform2iARB(Int32 location, Int32 v0, Int32 v1); + internal static Uniform2iARB glUniform2iARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Uniform2iv(Int32 location, Int32 count, Int32* value); + internal unsafe static Uniform2iv glUniform2iv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Uniform2ivARB(Int32 location, Int32 count, Int32* value); + internal unsafe static Uniform2ivARB glUniform2ivARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Uniform2ui(Int32 location, UInt32 v0, UInt32 v1); + internal static Uniform2ui glUniform2ui; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Uniform2ui64NV(Int32 location, UInt64 x, UInt64 y); + internal static Uniform2ui64NV glUniform2ui64NV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Uniform2ui64vNV(Int32 location, Int32 count, UInt64* value); + internal unsafe static Uniform2ui64vNV glUniform2ui64vNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Uniform2uiEXT(Int32 location, UInt32 v0, UInt32 v1); + internal static Uniform2uiEXT glUniform2uiEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Uniform2uiv(Int32 location, Int32 count, UInt32* value); + internal unsafe static Uniform2uiv glUniform2uiv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Uniform2uivEXT(Int32 location, Int32 count, UInt32* value); + internal unsafe static Uniform2uivEXT glUniform2uivEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Uniform3d(Int32 location, Double x, Double y, Double z); + internal static Uniform3d glUniform3d; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Uniform3dv(Int32 location, Int32 count, Double* value); + internal unsafe static Uniform3dv glUniform3dv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Uniform3f(Int32 location, Single v0, Single v1, Single v2); + internal static Uniform3f glUniform3f; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Uniform3fARB(Int32 location, Single v0, Single v1, Single v2); + internal static Uniform3fARB glUniform3fARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Uniform3fv(Int32 location, Int32 count, Single* value); + internal unsafe static Uniform3fv glUniform3fv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Uniform3fvARB(Int32 location, Int32 count, Single* value); + internal unsafe static Uniform3fvARB glUniform3fvARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Uniform3i(Int32 location, Int32 v0, Int32 v1, Int32 v2); + internal static Uniform3i glUniform3i; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Uniform3i64NV(Int32 location, Int64 x, Int64 y, Int64 z); + internal static Uniform3i64NV glUniform3i64NV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Uniform3i64vNV(Int32 location, Int32 count, Int64* value); + internal unsafe static Uniform3i64vNV glUniform3i64vNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Uniform3iARB(Int32 location, Int32 v0, Int32 v1, Int32 v2); + internal static Uniform3iARB glUniform3iARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Uniform3iv(Int32 location, Int32 count, Int32* value); + internal unsafe static Uniform3iv glUniform3iv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Uniform3ivARB(Int32 location, Int32 count, Int32* value); + internal unsafe static Uniform3ivARB glUniform3ivARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Uniform3ui(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2); + internal static Uniform3ui glUniform3ui; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Uniform3ui64NV(Int32 location, UInt64 x, UInt64 y, UInt64 z); + internal static Uniform3ui64NV glUniform3ui64NV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Uniform3ui64vNV(Int32 location, Int32 count, UInt64* value); + internal unsafe static Uniform3ui64vNV glUniform3ui64vNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Uniform3uiEXT(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2); + internal static Uniform3uiEXT glUniform3uiEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Uniform3uiv(Int32 location, Int32 count, UInt32* value); + internal unsafe static Uniform3uiv glUniform3uiv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Uniform3uivEXT(Int32 location, Int32 count, UInt32* value); + internal unsafe static Uniform3uivEXT glUniform3uivEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Uniform4d(Int32 location, Double x, Double y, Double z, Double w); + internal static Uniform4d glUniform4d; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Uniform4dv(Int32 location, Int32 count, Double* value); + internal unsafe static Uniform4dv glUniform4dv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Uniform4f(Int32 location, Single v0, Single v1, Single v2, Single v3); + internal static Uniform4f glUniform4f; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Uniform4fARB(Int32 location, Single v0, Single v1, Single v2, Single v3); + internal static Uniform4fARB glUniform4fARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Uniform4fv(Int32 location, Int32 count, Single* value); + internal unsafe static Uniform4fv glUniform4fv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Uniform4fvARB(Int32 location, Int32 count, Single* value); + internal unsafe static Uniform4fvARB glUniform4fvARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Uniform4i(Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3); + internal static Uniform4i glUniform4i; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Uniform4i64NV(Int32 location, Int64 x, Int64 y, Int64 z, Int64 w); + internal static Uniform4i64NV glUniform4i64NV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Uniform4i64vNV(Int32 location, Int32 count, Int64* value); + internal unsafe static Uniform4i64vNV glUniform4i64vNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Uniform4iARB(Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3); + internal static Uniform4iARB glUniform4iARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Uniform4iv(Int32 location, Int32 count, Int32* value); + internal unsafe static Uniform4iv glUniform4iv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Uniform4ivARB(Int32 location, Int32 count, Int32* value); + internal unsafe static Uniform4ivARB glUniform4ivARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Uniform4ui(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3); + internal static Uniform4ui glUniform4ui; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Uniform4ui64NV(Int32 location, UInt64 x, UInt64 y, UInt64 z, UInt64 w); + internal static Uniform4ui64NV glUniform4ui64NV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Uniform4ui64vNV(Int32 location, Int32 count, UInt64* value); + internal unsafe static Uniform4ui64vNV glUniform4ui64vNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Uniform4uiEXT(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3); + internal static Uniform4uiEXT glUniform4uiEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Uniform4uiv(Int32 location, Int32 count, UInt32* value); + internal unsafe static Uniform4uiv glUniform4uiv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Uniform4uivEXT(Int32 location, Int32 count, UInt32* value); + internal unsafe static Uniform4uivEXT glUniform4uivEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void UniformBlockBinding(UInt32 program, UInt32 uniformBlockIndex, UInt32 uniformBlockBinding); + internal static UniformBlockBinding glUniformBlockBinding; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void UniformBufferEXT(UInt32 program, Int32 location, UInt32 buffer); + internal static UniformBufferEXT glUniformBufferEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void UniformMatrix2dv(Int32 location, Int32 count, bool transpose, Double* value); + internal unsafe static UniformMatrix2dv glUniformMatrix2dv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void UniformMatrix2fv(Int32 location, Int32 count, bool transpose, Single* value); + internal unsafe static UniformMatrix2fv glUniformMatrix2fv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void UniformMatrix2fvARB(Int32 location, Int32 count, bool transpose, Single* value); + internal unsafe static UniformMatrix2fvARB glUniformMatrix2fvARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void UniformMatrix2x3dv(Int32 location, Int32 count, bool transpose, Double* value); + internal unsafe static UniformMatrix2x3dv glUniformMatrix2x3dv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void UniformMatrix2x3fv(Int32 location, Int32 count, bool transpose, Single* value); + internal unsafe static UniformMatrix2x3fv glUniformMatrix2x3fv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void UniformMatrix2x4dv(Int32 location, Int32 count, bool transpose, Double* value); + internal unsafe static UniformMatrix2x4dv glUniformMatrix2x4dv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void UniformMatrix2x4fv(Int32 location, Int32 count, bool transpose, Single* value); + internal unsafe static UniformMatrix2x4fv glUniformMatrix2x4fv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void UniformMatrix3dv(Int32 location, Int32 count, bool transpose, Double* value); + internal unsafe static UniformMatrix3dv glUniformMatrix3dv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void UniformMatrix3fv(Int32 location, Int32 count, bool transpose, Single* value); + internal unsafe static UniformMatrix3fv glUniformMatrix3fv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void UniformMatrix3fvARB(Int32 location, Int32 count, bool transpose, Single* value); + internal unsafe static UniformMatrix3fvARB glUniformMatrix3fvARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void UniformMatrix3x2dv(Int32 location, Int32 count, bool transpose, Double* value); + internal unsafe static UniformMatrix3x2dv glUniformMatrix3x2dv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void UniformMatrix3x2fv(Int32 location, Int32 count, bool transpose, Single* value); + internal unsafe static UniformMatrix3x2fv glUniformMatrix3x2fv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void UniformMatrix3x4dv(Int32 location, Int32 count, bool transpose, Double* value); + internal unsafe static UniformMatrix3x4dv glUniformMatrix3x4dv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void UniformMatrix3x4fv(Int32 location, Int32 count, bool transpose, Single* value); + internal unsafe static UniformMatrix3x4fv glUniformMatrix3x4fv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void UniformMatrix4dv(Int32 location, Int32 count, bool transpose, Double* value); + internal unsafe static UniformMatrix4dv glUniformMatrix4dv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void UniformMatrix4fv(Int32 location, Int32 count, bool transpose, Single* value); + internal unsafe static UniformMatrix4fv glUniformMatrix4fv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void UniformMatrix4fvARB(Int32 location, Int32 count, bool transpose, Single* value); + internal unsafe static UniformMatrix4fvARB glUniformMatrix4fvARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void UniformMatrix4x2dv(Int32 location, Int32 count, bool transpose, Double* value); + internal unsafe static UniformMatrix4x2dv glUniformMatrix4x2dv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void UniformMatrix4x2fv(Int32 location, Int32 count, bool transpose, Single* value); + internal unsafe static UniformMatrix4x2fv glUniformMatrix4x2fv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void UniformMatrix4x3dv(Int32 location, Int32 count, bool transpose, Double* value); + internal unsafe static UniformMatrix4x3dv glUniformMatrix4x3dv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void UniformMatrix4x3fv(Int32 location, Int32 count, bool transpose, Single* value); + internal unsafe static UniformMatrix4x3fv glUniformMatrix4x3fv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void UniformSubroutinesuiv(OpenTK.Graphics.OpenGL.ShaderType shadertype, Int32 count, UInt32* indices); + internal unsafe static UniformSubroutinesuiv glUniformSubroutinesuiv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Uniformui64NV(Int32 location, UInt64 value); + internal static Uniformui64NV glUniformui64NV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Uniformui64vNV(Int32 location, Int32 count, UInt64* value); + internal unsafe static Uniformui64vNV glUniformui64vNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void UnlockArraysEXT(); + internal static UnlockArraysEXT glUnlockArraysEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate bool UnmapBuffer(OpenTK.Graphics.OpenGL.BufferTarget target); + internal static UnmapBuffer glUnmapBuffer; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate bool UnmapBufferARB(OpenTK.Graphics.OpenGL.BufferTargetArb target); + internal static UnmapBufferARB glUnmapBufferARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate bool UnmapNamedBufferEXT(UInt32 buffer); + internal static UnmapNamedBufferEXT glUnmapNamedBufferEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void UnmapObjectBufferATI(UInt32 buffer); + internal static UnmapObjectBufferATI glUnmapObjectBufferATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void UpdateObjectBufferATI(UInt32 buffer, UInt32 offset, Int32 size, IntPtr pointer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject preserve); + internal static UpdateObjectBufferATI glUpdateObjectBufferATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void UseProgram(UInt32 program); + internal static UseProgram glUseProgram; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void UseProgramObjectARB(UInt32 programObj); + internal static UseProgramObjectARB glUseProgramObjectARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void UseProgramStages(UInt32 pipeline, OpenTK.Graphics.OpenGL.ProgramStageMask stages, UInt32 program); + internal static UseProgramStages glUseProgramStages; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void UseShaderProgramEXT(OpenTK.Graphics.OpenGL.ExtSeparateShaderObjects type, UInt32 program); + internal static UseShaderProgramEXT glUseShaderProgramEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ValidateProgram(UInt32 program); + internal static ValidateProgram glValidateProgram; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ValidateProgramARB(UInt32 programObj); + internal static ValidateProgramARB glValidateProgramARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ValidateProgramPipeline(UInt32 pipeline); + internal static ValidateProgramPipeline glValidateProgramPipeline; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VariantArrayObjectATI(UInt32 id, OpenTK.Graphics.OpenGL.AtiVertexArrayObject type, Int32 stride, UInt32 buffer, UInt32 offset); + internal static VariantArrayObjectATI glVariantArrayObjectATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VariantbvEXT(UInt32 id, SByte* addr); + internal unsafe static VariantbvEXT glVariantbvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VariantdvEXT(UInt32 id, Double* addr); + internal unsafe static VariantdvEXT glVariantdvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VariantfvEXT(UInt32 id, Single* addr); + internal unsafe static VariantfvEXT glVariantfvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VariantivEXT(UInt32 id, Int32* addr); + internal unsafe static VariantivEXT glVariantivEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VariantPointerEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, UInt32 stride, IntPtr addr); + internal static VariantPointerEXT glVariantPointerEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VariantsvEXT(UInt32 id, Int16* addr); + internal unsafe static VariantsvEXT glVariantsvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VariantubvEXT(UInt32 id, Byte* addr); + internal unsafe static VariantubvEXT glVariantubvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VariantuivEXT(UInt32 id, UInt32* addr); + internal unsafe static VariantuivEXT glVariantuivEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VariantusvEXT(UInt32 id, UInt16* addr); + internal unsafe static VariantusvEXT glVariantusvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VDPAUFiniNV(); + internal static VDPAUFiniNV glVDPAUFiniNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VDPAUGetSurfaceivNV(IntPtr surface, OpenTK.Graphics.OpenGL.NvVdpauInterop pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values); + internal unsafe static VDPAUGetSurfaceivNV glVDPAUGetSurfaceivNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VDPAUInitNV(IntPtr vdpDevice, IntPtr getProcAddress); + internal static VDPAUInitNV glVDPAUInitNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VDPAUIsSurfaceNV(IntPtr surface); + internal static VDPAUIsSurfaceNV glVDPAUIsSurfaceNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VDPAUMapSurfacesNV(Int32 numSurfaces, IntPtr* surfaces); + internal unsafe static VDPAUMapSurfacesNV glVDPAUMapSurfacesNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate IntPtr VDPAURegisterOutputSurfaceNV([OutAttribute] IntPtr vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, UInt32* textureNames); + internal unsafe static VDPAURegisterOutputSurfaceNV glVDPAURegisterOutputSurfaceNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate IntPtr VDPAURegisterVideoSurfaceNV([OutAttribute] IntPtr vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, UInt32* textureNames); + internal unsafe static VDPAURegisterVideoSurfaceNV glVDPAURegisterVideoSurfaceNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VDPAUSurfaceAccessNV(IntPtr surface, OpenTK.Graphics.OpenGL.NvVdpauInterop access); + internal static VDPAUSurfaceAccessNV glVDPAUSurfaceAccessNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VDPAUUnmapSurfacesNV(Int32 numSurface, IntPtr* surfaces); + internal unsafe static VDPAUUnmapSurfacesNV glVDPAUUnmapSurfacesNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VDPAUUnregisterSurfaceNV(IntPtr surface); + internal static VDPAUUnregisterSurfaceNV glVDPAUUnregisterSurfaceNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Vertex2d(Double x, Double y); + internal static Vertex2d glVertex2d; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Vertex2dv(Double* v); + internal unsafe static Vertex2dv glVertex2dv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Vertex2f(Single x, Single y); + internal static Vertex2f glVertex2f; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Vertex2fv(Single* v); + internal unsafe static Vertex2fv glVertex2fv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Vertex2hNV(Half x, Half y); + internal static Vertex2hNV glVertex2hNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Vertex2hvNV(Half* v); + internal unsafe static Vertex2hvNV glVertex2hvNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Vertex2i(Int32 x, Int32 y); + internal static Vertex2i glVertex2i; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Vertex2iv(Int32* v); + internal unsafe static Vertex2iv glVertex2iv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Vertex2s(Int16 x, Int16 y); + internal static Vertex2s glVertex2s; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Vertex2sv(Int16* v); + internal unsafe static Vertex2sv glVertex2sv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Vertex3d(Double x, Double y, Double z); + internal static Vertex3d glVertex3d; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Vertex3dv(Double* v); + internal unsafe static Vertex3dv glVertex3dv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Vertex3f(Single x, Single y, Single z); + internal static Vertex3f glVertex3f; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Vertex3fv(Single* v); + internal unsafe static Vertex3fv glVertex3fv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Vertex3hNV(Half x, Half y, Half z); + internal static Vertex3hNV glVertex3hNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Vertex3hvNV(Half* v); + internal unsafe static Vertex3hvNV glVertex3hvNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Vertex3i(Int32 x, Int32 y, Int32 z); + internal static Vertex3i glVertex3i; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Vertex3iv(Int32* v); + internal unsafe static Vertex3iv glVertex3iv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Vertex3s(Int16 x, Int16 y, Int16 z); + internal static Vertex3s glVertex3s; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Vertex3sv(Int16* v); + internal unsafe static Vertex3sv glVertex3sv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Vertex4d(Double x, Double y, Double z, Double w); + internal static Vertex4d glVertex4d; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Vertex4dv(Double* v); + internal unsafe static Vertex4dv glVertex4dv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Vertex4f(Single x, Single y, Single z, Single w); + internal static Vertex4f glVertex4f; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Vertex4fv(Single* v); + internal unsafe static Vertex4fv glVertex4fv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Vertex4hNV(Half x, Half y, Half z, Half w); + internal static Vertex4hNV glVertex4hNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Vertex4hvNV(Half* v); + internal unsafe static Vertex4hvNV glVertex4hvNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Vertex4i(Int32 x, Int32 y, Int32 z, Int32 w); + internal static Vertex4i glVertex4i; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Vertex4iv(Int32* v); + internal unsafe static Vertex4iv glVertex4iv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Vertex4s(Int16 x, Int16 y, Int16 z, Int16 w); + internal static Vertex4s glVertex4s; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void Vertex4sv(Int16* v); + internal unsafe static Vertex4sv glVertex4sv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexArrayParameteriAPPLE(OpenTK.Graphics.OpenGL.AppleVertexArrayRange pname, Int32 param); + internal static VertexArrayParameteriAPPLE glVertexArrayParameteriAPPLE; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexArrayRangeAPPLE(Int32 length, [OutAttribute] IntPtr pointer); + internal static VertexArrayRangeAPPLE glVertexArrayRangeAPPLE; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexArrayRangeNV(Int32 length, IntPtr pointer); + internal static VertexArrayRangeNV glVertexArrayRangeNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexArrayVertexAttribLOffsetEXT(UInt32 vaobj, UInt32 buffer, UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit type, Int32 stride, IntPtr offset); + internal static VertexArrayVertexAttribLOffsetEXT glVertexArrayVertexAttribLOffsetEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttrib1d(UInt32 index, Double x); + internal static VertexAttrib1d glVertexAttrib1d; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttrib1dARB(UInt32 index, Double x); + internal static VertexAttrib1dARB glVertexAttrib1dARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttrib1dNV(UInt32 index, Double x); + internal static VertexAttrib1dNV glVertexAttrib1dNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttrib1dv(UInt32 index, Double* v); + internal unsafe static VertexAttrib1dv glVertexAttrib1dv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttrib1dvARB(UInt32 index, Double* v); + internal unsafe static VertexAttrib1dvARB glVertexAttrib1dvARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttrib1dvNV(UInt32 index, Double* v); + internal unsafe static VertexAttrib1dvNV glVertexAttrib1dvNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttrib1f(UInt32 index, Single x); + internal static VertexAttrib1f glVertexAttrib1f; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttrib1fARB(UInt32 index, Single x); + internal static VertexAttrib1fARB glVertexAttrib1fARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttrib1fNV(UInt32 index, Single x); + internal static VertexAttrib1fNV glVertexAttrib1fNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttrib1fv(UInt32 index, Single* v); + internal unsafe static VertexAttrib1fv glVertexAttrib1fv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttrib1fvARB(UInt32 index, Single* v); + internal unsafe static VertexAttrib1fvARB glVertexAttrib1fvARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttrib1fvNV(UInt32 index, Single* v); + internal unsafe static VertexAttrib1fvNV glVertexAttrib1fvNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttrib1hNV(UInt32 index, Half x); + internal static VertexAttrib1hNV glVertexAttrib1hNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttrib1hvNV(UInt32 index, Half* v); + internal unsafe static VertexAttrib1hvNV glVertexAttrib1hvNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttrib1s(UInt32 index, Int16 x); + internal static VertexAttrib1s glVertexAttrib1s; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttrib1sARB(UInt32 index, Int16 x); + internal static VertexAttrib1sARB glVertexAttrib1sARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttrib1sNV(UInt32 index, Int16 x); + internal static VertexAttrib1sNV glVertexAttrib1sNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttrib1sv(UInt32 index, Int16* v); + internal unsafe static VertexAttrib1sv glVertexAttrib1sv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttrib1svARB(UInt32 index, Int16* v); + internal unsafe static VertexAttrib1svARB glVertexAttrib1svARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttrib1svNV(UInt32 index, Int16* v); + internal unsafe static VertexAttrib1svNV glVertexAttrib1svNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttrib2d(UInt32 index, Double x, Double y); + internal static VertexAttrib2d glVertexAttrib2d; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttrib2dARB(UInt32 index, Double x, Double y); + internal static VertexAttrib2dARB glVertexAttrib2dARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttrib2dNV(UInt32 index, Double x, Double y); + internal static VertexAttrib2dNV glVertexAttrib2dNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttrib2dv(UInt32 index, Double* v); + internal unsafe static VertexAttrib2dv glVertexAttrib2dv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttrib2dvARB(UInt32 index, Double* v); + internal unsafe static VertexAttrib2dvARB glVertexAttrib2dvARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttrib2dvNV(UInt32 index, Double* v); + internal unsafe static VertexAttrib2dvNV glVertexAttrib2dvNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttrib2f(UInt32 index, Single x, Single y); + internal static VertexAttrib2f glVertexAttrib2f; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttrib2fARB(UInt32 index, Single x, Single y); + internal static VertexAttrib2fARB glVertexAttrib2fARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttrib2fNV(UInt32 index, Single x, Single y); + internal static VertexAttrib2fNV glVertexAttrib2fNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttrib2fv(UInt32 index, Single* v); + internal unsafe static VertexAttrib2fv glVertexAttrib2fv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttrib2fvARB(UInt32 index, Single* v); + internal unsafe static VertexAttrib2fvARB glVertexAttrib2fvARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttrib2fvNV(UInt32 index, Single* v); + internal unsafe static VertexAttrib2fvNV glVertexAttrib2fvNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttrib2hNV(UInt32 index, Half x, Half y); + internal static VertexAttrib2hNV glVertexAttrib2hNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttrib2hvNV(UInt32 index, Half* v); + internal unsafe static VertexAttrib2hvNV glVertexAttrib2hvNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttrib2s(UInt32 index, Int16 x, Int16 y); + internal static VertexAttrib2s glVertexAttrib2s; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttrib2sARB(UInt32 index, Int16 x, Int16 y); + internal static VertexAttrib2sARB glVertexAttrib2sARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttrib2sNV(UInt32 index, Int16 x, Int16 y); + internal static VertexAttrib2sNV glVertexAttrib2sNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttrib2sv(UInt32 index, Int16* v); + internal unsafe static VertexAttrib2sv glVertexAttrib2sv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttrib2svARB(UInt32 index, Int16* v); + internal unsafe static VertexAttrib2svARB glVertexAttrib2svARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttrib2svNV(UInt32 index, Int16* v); + internal unsafe static VertexAttrib2svNV glVertexAttrib2svNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttrib3d(UInt32 index, Double x, Double y, Double z); + internal static VertexAttrib3d glVertexAttrib3d; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttrib3dARB(UInt32 index, Double x, Double y, Double z); + internal static VertexAttrib3dARB glVertexAttrib3dARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttrib3dNV(UInt32 index, Double x, Double y, Double z); + internal static VertexAttrib3dNV glVertexAttrib3dNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttrib3dv(UInt32 index, Double* v); + internal unsafe static VertexAttrib3dv glVertexAttrib3dv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttrib3dvARB(UInt32 index, Double* v); + internal unsafe static VertexAttrib3dvARB glVertexAttrib3dvARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttrib3dvNV(UInt32 index, Double* v); + internal unsafe static VertexAttrib3dvNV glVertexAttrib3dvNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttrib3f(UInt32 index, Single x, Single y, Single z); + internal static VertexAttrib3f glVertexAttrib3f; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttrib3fARB(UInt32 index, Single x, Single y, Single z); + internal static VertexAttrib3fARB glVertexAttrib3fARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttrib3fNV(UInt32 index, Single x, Single y, Single z); + internal static VertexAttrib3fNV glVertexAttrib3fNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttrib3fv(UInt32 index, Single* v); + internal unsafe static VertexAttrib3fv glVertexAttrib3fv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttrib3fvARB(UInt32 index, Single* v); + internal unsafe static VertexAttrib3fvARB glVertexAttrib3fvARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttrib3fvNV(UInt32 index, Single* v); + internal unsafe static VertexAttrib3fvNV glVertexAttrib3fvNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttrib3hNV(UInt32 index, Half x, Half y, Half z); + internal static VertexAttrib3hNV glVertexAttrib3hNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttrib3hvNV(UInt32 index, Half* v); + internal unsafe static VertexAttrib3hvNV glVertexAttrib3hvNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttrib3s(UInt32 index, Int16 x, Int16 y, Int16 z); + internal static VertexAttrib3s glVertexAttrib3s; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttrib3sARB(UInt32 index, Int16 x, Int16 y, Int16 z); + internal static VertexAttrib3sARB glVertexAttrib3sARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttrib3sNV(UInt32 index, Int16 x, Int16 y, Int16 z); + internal static VertexAttrib3sNV glVertexAttrib3sNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttrib3sv(UInt32 index, Int16* v); + internal unsafe static VertexAttrib3sv glVertexAttrib3sv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttrib3svARB(UInt32 index, Int16* v); + internal unsafe static VertexAttrib3svARB glVertexAttrib3svARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttrib3svNV(UInt32 index, Int16* v); + internal unsafe static VertexAttrib3svNV glVertexAttrib3svNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttrib4bv(UInt32 index, SByte* v); + internal unsafe static VertexAttrib4bv glVertexAttrib4bv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttrib4bvARB(UInt32 index, SByte* v); + internal unsafe static VertexAttrib4bvARB glVertexAttrib4bvARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttrib4d(UInt32 index, Double x, Double y, Double z, Double w); + internal static VertexAttrib4d glVertexAttrib4d; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttrib4dARB(UInt32 index, Double x, Double y, Double z, Double w); + internal static VertexAttrib4dARB glVertexAttrib4dARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttrib4dNV(UInt32 index, Double x, Double y, Double z, Double w); + internal static VertexAttrib4dNV glVertexAttrib4dNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttrib4dv(UInt32 index, Double* v); + internal unsafe static VertexAttrib4dv glVertexAttrib4dv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttrib4dvARB(UInt32 index, Double* v); + internal unsafe static VertexAttrib4dvARB glVertexAttrib4dvARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttrib4dvNV(UInt32 index, Double* v); + internal unsafe static VertexAttrib4dvNV glVertexAttrib4dvNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttrib4f(UInt32 index, Single x, Single y, Single z, Single w); + internal static VertexAttrib4f glVertexAttrib4f; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttrib4fARB(UInt32 index, Single x, Single y, Single z, Single w); + internal static VertexAttrib4fARB glVertexAttrib4fARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttrib4fNV(UInt32 index, Single x, Single y, Single z, Single w); + internal static VertexAttrib4fNV glVertexAttrib4fNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttrib4fv(UInt32 index, Single* v); + internal unsafe static VertexAttrib4fv glVertexAttrib4fv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttrib4fvARB(UInt32 index, Single* v); + internal unsafe static VertexAttrib4fvARB glVertexAttrib4fvARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttrib4fvNV(UInt32 index, Single* v); + internal unsafe static VertexAttrib4fvNV glVertexAttrib4fvNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttrib4hNV(UInt32 index, Half x, Half y, Half z, Half w); + internal static VertexAttrib4hNV glVertexAttrib4hNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttrib4hvNV(UInt32 index, Half* v); + internal unsafe static VertexAttrib4hvNV glVertexAttrib4hvNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttrib4iv(UInt32 index, Int32* v); + internal unsafe static VertexAttrib4iv glVertexAttrib4iv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttrib4ivARB(UInt32 index, Int32* v); + internal unsafe static VertexAttrib4ivARB glVertexAttrib4ivARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttrib4Nbv(UInt32 index, SByte* v); + internal unsafe static VertexAttrib4Nbv glVertexAttrib4Nbv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttrib4NbvARB(UInt32 index, SByte* v); + internal unsafe static VertexAttrib4NbvARB glVertexAttrib4NbvARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttrib4Niv(UInt32 index, Int32* v); + internal unsafe static VertexAttrib4Niv glVertexAttrib4Niv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttrib4NivARB(UInt32 index, Int32* v); + internal unsafe static VertexAttrib4NivARB glVertexAttrib4NivARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttrib4Nsv(UInt32 index, Int16* v); + internal unsafe static VertexAttrib4Nsv glVertexAttrib4Nsv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttrib4NsvARB(UInt32 index, Int16* v); + internal unsafe static VertexAttrib4NsvARB glVertexAttrib4NsvARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttrib4Nub(UInt32 index, Byte x, Byte y, Byte z, Byte w); + internal static VertexAttrib4Nub glVertexAttrib4Nub; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttrib4NubARB(UInt32 index, Byte x, Byte y, Byte z, Byte w); + internal static VertexAttrib4NubARB glVertexAttrib4NubARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttrib4Nubv(UInt32 index, Byte* v); + internal unsafe static VertexAttrib4Nubv glVertexAttrib4Nubv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttrib4NubvARB(UInt32 index, Byte* v); + internal unsafe static VertexAttrib4NubvARB glVertexAttrib4NubvARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttrib4Nuiv(UInt32 index, UInt32* v); + internal unsafe static VertexAttrib4Nuiv glVertexAttrib4Nuiv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttrib4NuivARB(UInt32 index, UInt32* v); + internal unsafe static VertexAttrib4NuivARB glVertexAttrib4NuivARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttrib4Nusv(UInt32 index, UInt16* v); + internal unsafe static VertexAttrib4Nusv glVertexAttrib4Nusv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttrib4NusvARB(UInt32 index, UInt16* v); + internal unsafe static VertexAttrib4NusvARB glVertexAttrib4NusvARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttrib4s(UInt32 index, Int16 x, Int16 y, Int16 z, Int16 w); + internal static VertexAttrib4s glVertexAttrib4s; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttrib4sARB(UInt32 index, Int16 x, Int16 y, Int16 z, Int16 w); + internal static VertexAttrib4sARB glVertexAttrib4sARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttrib4sNV(UInt32 index, Int16 x, Int16 y, Int16 z, Int16 w); + internal static VertexAttrib4sNV glVertexAttrib4sNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttrib4sv(UInt32 index, Int16* v); + internal unsafe static VertexAttrib4sv glVertexAttrib4sv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttrib4svARB(UInt32 index, Int16* v); + internal unsafe static VertexAttrib4svARB glVertexAttrib4svARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttrib4svNV(UInt32 index, Int16* v); + internal unsafe static VertexAttrib4svNV glVertexAttrib4svNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttrib4ubNV(UInt32 index, Byte x, Byte y, Byte z, Byte w); + internal static VertexAttrib4ubNV glVertexAttrib4ubNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttrib4ubv(UInt32 index, Byte* v); + internal unsafe static VertexAttrib4ubv glVertexAttrib4ubv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttrib4ubvARB(UInt32 index, Byte* v); + internal unsafe static VertexAttrib4ubvARB glVertexAttrib4ubvARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttrib4ubvNV(UInt32 index, Byte* v); + internal unsafe static VertexAttrib4ubvNV glVertexAttrib4ubvNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttrib4uiv(UInt32 index, UInt32* v); + internal unsafe static VertexAttrib4uiv glVertexAttrib4uiv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttrib4uivARB(UInt32 index, UInt32* v); + internal unsafe static VertexAttrib4uivARB glVertexAttrib4uivARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttrib4usv(UInt32 index, UInt16* v); + internal unsafe static VertexAttrib4usv glVertexAttrib4usv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttrib4usvARB(UInt32 index, UInt16* v); + internal unsafe static VertexAttrib4usvARB glVertexAttrib4usvARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttribArrayObjectATI(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject type, bool normalized, Int32 stride, UInt32 buffer, UInt32 offset); + internal static VertexAttribArrayObjectATI glVertexAttribArrayObjectATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttribDivisor(UInt32 index, UInt32 divisor); + internal static VertexAttribDivisor glVertexAttribDivisor; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttribDivisorARB(UInt32 index, UInt32 divisor); + internal static VertexAttribDivisorARB glVertexAttribDivisorARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttribFormatNV(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, bool normalized, Int32 stride); + internal static VertexAttribFormatNV glVertexAttribFormatNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttribI1i(UInt32 index, Int32 x); + internal static VertexAttribI1i glVertexAttribI1i; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttribI1iEXT(UInt32 index, Int32 x); + internal static VertexAttribI1iEXT glVertexAttribI1iEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttribI1iv(UInt32 index, Int32* v); + internal unsafe static VertexAttribI1iv glVertexAttribI1iv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttribI1ivEXT(UInt32 index, Int32* v); + internal unsafe static VertexAttribI1ivEXT glVertexAttribI1ivEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttribI1ui(UInt32 index, UInt32 x); + internal static VertexAttribI1ui glVertexAttribI1ui; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttribI1uiEXT(UInt32 index, UInt32 x); + internal static VertexAttribI1uiEXT glVertexAttribI1uiEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttribI1uiv(UInt32 index, UInt32* v); + internal unsafe static VertexAttribI1uiv glVertexAttribI1uiv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttribI1uivEXT(UInt32 index, UInt32* v); + internal unsafe static VertexAttribI1uivEXT glVertexAttribI1uivEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttribI2i(UInt32 index, Int32 x, Int32 y); + internal static VertexAttribI2i glVertexAttribI2i; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttribI2iEXT(UInt32 index, Int32 x, Int32 y); + internal static VertexAttribI2iEXT glVertexAttribI2iEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttribI2iv(UInt32 index, Int32* v); + internal unsafe static VertexAttribI2iv glVertexAttribI2iv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttribI2ivEXT(UInt32 index, Int32* v); + internal unsafe static VertexAttribI2ivEXT glVertexAttribI2ivEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttribI2ui(UInt32 index, UInt32 x, UInt32 y); + internal static VertexAttribI2ui glVertexAttribI2ui; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttribI2uiEXT(UInt32 index, UInt32 x, UInt32 y); + internal static VertexAttribI2uiEXT glVertexAttribI2uiEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttribI2uiv(UInt32 index, UInt32* v); + internal unsafe static VertexAttribI2uiv glVertexAttribI2uiv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttribI2uivEXT(UInt32 index, UInt32* v); + internal unsafe static VertexAttribI2uivEXT glVertexAttribI2uivEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttribI3i(UInt32 index, Int32 x, Int32 y, Int32 z); + internal static VertexAttribI3i glVertexAttribI3i; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttribI3iEXT(UInt32 index, Int32 x, Int32 y, Int32 z); + internal static VertexAttribI3iEXT glVertexAttribI3iEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttribI3iv(UInt32 index, Int32* v); + internal unsafe static VertexAttribI3iv glVertexAttribI3iv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttribI3ivEXT(UInt32 index, Int32* v); + internal unsafe static VertexAttribI3ivEXT glVertexAttribI3ivEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttribI3ui(UInt32 index, UInt32 x, UInt32 y, UInt32 z); + internal static VertexAttribI3ui glVertexAttribI3ui; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttribI3uiEXT(UInt32 index, UInt32 x, UInt32 y, UInt32 z); + internal static VertexAttribI3uiEXT glVertexAttribI3uiEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttribI3uiv(UInt32 index, UInt32* v); + internal unsafe static VertexAttribI3uiv glVertexAttribI3uiv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttribI3uivEXT(UInt32 index, UInt32* v); + internal unsafe static VertexAttribI3uivEXT glVertexAttribI3uivEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttribI4bv(UInt32 index, SByte* v); + internal unsafe static VertexAttribI4bv glVertexAttribI4bv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttribI4bvEXT(UInt32 index, SByte* v); + internal unsafe static VertexAttribI4bvEXT glVertexAttribI4bvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttribI4i(UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w); + internal static VertexAttribI4i glVertexAttribI4i; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttribI4iEXT(UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w); + internal static VertexAttribI4iEXT glVertexAttribI4iEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttribI4iv(UInt32 index, Int32* v); + internal unsafe static VertexAttribI4iv glVertexAttribI4iv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttribI4ivEXT(UInt32 index, Int32* v); + internal unsafe static VertexAttribI4ivEXT glVertexAttribI4ivEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttribI4sv(UInt32 index, Int16* v); + internal unsafe static VertexAttribI4sv glVertexAttribI4sv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttribI4svEXT(UInt32 index, Int16* v); + internal unsafe static VertexAttribI4svEXT glVertexAttribI4svEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttribI4ubv(UInt32 index, Byte* v); + internal unsafe static VertexAttribI4ubv glVertexAttribI4ubv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttribI4ubvEXT(UInt32 index, Byte* v); + internal unsafe static VertexAttribI4ubvEXT glVertexAttribI4ubvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttribI4ui(UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w); + internal static VertexAttribI4ui glVertexAttribI4ui; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttribI4uiEXT(UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w); + internal static VertexAttribI4uiEXT glVertexAttribI4uiEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttribI4uiv(UInt32 index, UInt32* v); + internal unsafe static VertexAttribI4uiv glVertexAttribI4uiv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttribI4uivEXT(UInt32 index, UInt32* v); + internal unsafe static VertexAttribI4uivEXT glVertexAttribI4uivEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttribI4usv(UInt32 index, UInt16* v); + internal unsafe static VertexAttribI4usv glVertexAttribI4usv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttribI4usvEXT(UInt32 index, UInt16* v); + internal unsafe static VertexAttribI4usvEXT glVertexAttribI4usvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttribIFormatNV(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride); + internal static VertexAttribIFormatNV glVertexAttribIFormatNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIPointerType type, Int32 stride, IntPtr pointer); + internal static VertexAttribIPointer glVertexAttribIPointer; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttribIPointerEXT(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexProgram4 type, Int32 stride, IntPtr pointer); + internal static VertexAttribIPointerEXT glVertexAttribIPointerEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttribL1d(UInt32 index, Double x); + internal static VertexAttribL1d glVertexAttribL1d; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttribL1dEXT(UInt32 index, Double x); + internal static VertexAttribL1dEXT glVertexAttribL1dEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttribL1dv(UInt32 index, Double* v); + internal unsafe static VertexAttribL1dv glVertexAttribL1dv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttribL1dvEXT(UInt32 index, Double* v); + internal unsafe static VertexAttribL1dvEXT glVertexAttribL1dvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttribL1i64NV(UInt32 index, Int64 x); + internal static VertexAttribL1i64NV glVertexAttribL1i64NV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttribL1i64vNV(UInt32 index, Int64* v); + internal unsafe static VertexAttribL1i64vNV glVertexAttribL1i64vNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttribL1ui64NV(UInt32 index, UInt64 x); + internal static VertexAttribL1ui64NV glVertexAttribL1ui64NV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttribL1ui64vNV(UInt32 index, UInt64* v); + internal unsafe static VertexAttribL1ui64vNV glVertexAttribL1ui64vNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttribL2d(UInt32 index, Double x, Double y); + internal static VertexAttribL2d glVertexAttribL2d; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttribL2dEXT(UInt32 index, Double x, Double y); + internal static VertexAttribL2dEXT glVertexAttribL2dEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttribL2dv(UInt32 index, Double* v); + internal unsafe static VertexAttribL2dv glVertexAttribL2dv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttribL2dvEXT(UInt32 index, Double* v); + internal unsafe static VertexAttribL2dvEXT glVertexAttribL2dvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttribL2i64NV(UInt32 index, Int64 x, Int64 y); + internal static VertexAttribL2i64NV glVertexAttribL2i64NV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttribL2i64vNV(UInt32 index, Int64* v); + internal unsafe static VertexAttribL2i64vNV glVertexAttribL2i64vNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttribL2ui64NV(UInt32 index, UInt64 x, UInt64 y); + internal static VertexAttribL2ui64NV glVertexAttribL2ui64NV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttribL2ui64vNV(UInt32 index, UInt64* v); + internal unsafe static VertexAttribL2ui64vNV glVertexAttribL2ui64vNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttribL3d(UInt32 index, Double x, Double y, Double z); + internal static VertexAttribL3d glVertexAttribL3d; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttribL3dEXT(UInt32 index, Double x, Double y, Double z); + internal static VertexAttribL3dEXT glVertexAttribL3dEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttribL3dv(UInt32 index, Double* v); + internal unsafe static VertexAttribL3dv glVertexAttribL3dv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttribL3dvEXT(UInt32 index, Double* v); + internal unsafe static VertexAttribL3dvEXT glVertexAttribL3dvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttribL3i64NV(UInt32 index, Int64 x, Int64 y, Int64 z); + internal static VertexAttribL3i64NV glVertexAttribL3i64NV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttribL3i64vNV(UInt32 index, Int64* v); + internal unsafe static VertexAttribL3i64vNV glVertexAttribL3i64vNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttribL3ui64NV(UInt32 index, UInt64 x, UInt64 y, UInt64 z); + internal static VertexAttribL3ui64NV glVertexAttribL3ui64NV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttribL3ui64vNV(UInt32 index, UInt64* v); + internal unsafe static VertexAttribL3ui64vNV glVertexAttribL3ui64vNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttribL4d(UInt32 index, Double x, Double y, Double z, Double w); + internal static VertexAttribL4d glVertexAttribL4d; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttribL4dEXT(UInt32 index, Double x, Double y, Double z, Double w); + internal static VertexAttribL4dEXT glVertexAttribL4dEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttribL4dv(UInt32 index, Double* v); + internal unsafe static VertexAttribL4dv glVertexAttribL4dv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttribL4dvEXT(UInt32 index, Double* v); + internal unsafe static VertexAttribL4dvEXT glVertexAttribL4dvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttribL4i64NV(UInt32 index, Int64 x, Int64 y, Int64 z, Int64 w); + internal static VertexAttribL4i64NV glVertexAttribL4i64NV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttribL4i64vNV(UInt32 index, Int64* v); + internal unsafe static VertexAttribL4i64vNV glVertexAttribL4i64vNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttribL4ui64NV(UInt32 index, UInt64 x, UInt64 y, UInt64 z, UInt64 w); + internal static VertexAttribL4ui64NV glVertexAttribL4ui64NV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttribL4ui64vNV(UInt32 index, UInt64* v); + internal unsafe static VertexAttribL4ui64vNV glVertexAttribL4ui64vNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttribLFormatNV(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit type, Int32 stride); + internal static VertexAttribLFormatNV glVertexAttribLFormatNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttribLPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribDPointerType type, Int32 stride, IntPtr pointer); + internal static VertexAttribLPointer glVertexAttribLPointer; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttribLPointerEXT(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit type, Int32 stride, IntPtr pointer); + internal static VertexAttribLPointerEXT glVertexAttribLPointerEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttribP1ui(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32 value); + internal static VertexAttribP1ui glVertexAttribP1ui; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttribP1uiv(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32* value); + internal unsafe static VertexAttribP1uiv glVertexAttribP1uiv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttribP2ui(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32 value); + internal static VertexAttribP2ui glVertexAttribP2ui; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttribP2uiv(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32* value); + internal unsafe static VertexAttribP2uiv glVertexAttribP2uiv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttribP3ui(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32 value); + internal static VertexAttribP3ui glVertexAttribP3ui; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttribP3uiv(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32* value); + internal unsafe static VertexAttribP3uiv glVertexAttribP3uiv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttribP4ui(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32 value); + internal static VertexAttribP4ui glVertexAttribP4ui; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttribP4uiv(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32* value); + internal unsafe static VertexAttribP4uiv glVertexAttribP4uiv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerType type, bool normalized, Int32 stride, IntPtr pointer); + internal static VertexAttribPointer glVertexAttribPointer; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttribPointerARB(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, IntPtr pointer); + internal static VertexAttribPointerARB glVertexAttribPointerARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexAttribPointerNV(UInt32 index, Int32 fsize, OpenTK.Graphics.OpenGL.VertexAttribParameterArb type, Int32 stride, IntPtr pointer); + internal static VertexAttribPointerNV glVertexAttribPointerNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttribs1dvNV(UInt32 index, Int32 count, Double* v); + internal unsafe static VertexAttribs1dvNV glVertexAttribs1dvNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttribs1fvNV(UInt32 index, Int32 count, Single* v); + internal unsafe static VertexAttribs1fvNV glVertexAttribs1fvNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttribs1hvNV(UInt32 index, Int32 n, Half* v); + internal unsafe static VertexAttribs1hvNV glVertexAttribs1hvNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttribs1svNV(UInt32 index, Int32 count, Int16* v); + internal unsafe static VertexAttribs1svNV glVertexAttribs1svNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttribs2dvNV(UInt32 index, Int32 count, Double* v); + internal unsafe static VertexAttribs2dvNV glVertexAttribs2dvNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttribs2fvNV(UInt32 index, Int32 count, Single* v); + internal unsafe static VertexAttribs2fvNV glVertexAttribs2fvNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttribs2hvNV(UInt32 index, Int32 n, Half* v); + internal unsafe static VertexAttribs2hvNV glVertexAttribs2hvNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttribs2svNV(UInt32 index, Int32 count, Int16* v); + internal unsafe static VertexAttribs2svNV glVertexAttribs2svNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttribs3dvNV(UInt32 index, Int32 count, Double* v); + internal unsafe static VertexAttribs3dvNV glVertexAttribs3dvNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttribs3fvNV(UInt32 index, Int32 count, Single* v); + internal unsafe static VertexAttribs3fvNV glVertexAttribs3fvNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttribs3hvNV(UInt32 index, Int32 n, Half* v); + internal unsafe static VertexAttribs3hvNV glVertexAttribs3hvNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttribs3svNV(UInt32 index, Int32 count, Int16* v); + internal unsafe static VertexAttribs3svNV glVertexAttribs3svNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttribs4dvNV(UInt32 index, Int32 count, Double* v); + internal unsafe static VertexAttribs4dvNV glVertexAttribs4dvNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttribs4fvNV(UInt32 index, Int32 count, Single* v); + internal unsafe static VertexAttribs4fvNV glVertexAttribs4fvNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttribs4hvNV(UInt32 index, Int32 n, Half* v); + internal unsafe static VertexAttribs4hvNV glVertexAttribs4hvNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttribs4svNV(UInt32 index, Int32 count, Int16* v); + internal unsafe static VertexAttribs4svNV glVertexAttribs4svNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexAttribs4ubvNV(UInt32 index, Int32 count, Byte* v); + internal unsafe static VertexAttribs4ubvNV glVertexAttribs4ubvNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexBlendARB(Int32 count); + internal static VertexBlendARB glVertexBlendARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexBlendEnvfATI(OpenTK.Graphics.OpenGL.AtiVertexStreams pname, Single param); + internal static VertexBlendEnvfATI glVertexBlendEnvfATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexBlendEnviATI(OpenTK.Graphics.OpenGL.AtiVertexStreams pname, Int32 param); + internal static VertexBlendEnviATI glVertexBlendEnviATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexFormatNV(Int32 size, OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride); + internal static VertexFormatNV glVertexFormatNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexP2ui(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 value); + internal static VertexP2ui glVertexP2ui; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexP2uiv(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* value); + internal unsafe static VertexP2uiv glVertexP2uiv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexP3ui(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 value); + internal static VertexP3ui glVertexP3ui; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexP3uiv(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* value); + internal unsafe static VertexP3uiv glVertexP3uiv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexP4ui(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 value); + internal static VertexP4ui glVertexP4ui; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexP4uiv(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* value); + internal unsafe static VertexP4uiv glVertexP4uiv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, Int32 stride, IntPtr pointer); + internal static VertexPointer glVertexPointer; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexPointerEXT(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, Int32 stride, Int32 count, IntPtr pointer); + internal static VertexPointerEXT glVertexPointerEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexPointerListIBM(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride); + internal static VertexPointerListIBM glVertexPointerListIBM; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexPointervINTEL(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, IntPtr pointer); + internal static VertexPointervINTEL glVertexPointervINTEL; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexStream1dATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double x); + internal static VertexStream1dATI glVertexStream1dATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexStream1dvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double* coords); + internal unsafe static VertexStream1dvATI glVertexStream1dvATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexStream1fATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single x); + internal static VertexStream1fATI glVertexStream1fATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexStream1fvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single* coords); + internal unsafe static VertexStream1fvATI glVertexStream1fvATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexStream1iATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32 x); + internal static VertexStream1iATI glVertexStream1iATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexStream1ivATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32* coords); + internal unsafe static VertexStream1ivATI glVertexStream1ivATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexStream1sATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16 x); + internal static VertexStream1sATI glVertexStream1sATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexStream1svATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16* coords); + internal unsafe static VertexStream1svATI glVertexStream1svATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexStream2dATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double x, Double y); + internal static VertexStream2dATI glVertexStream2dATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexStream2dvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double* coords); + internal unsafe static VertexStream2dvATI glVertexStream2dvATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexStream2fATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single x, Single y); + internal static VertexStream2fATI glVertexStream2fATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexStream2fvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single* coords); + internal unsafe static VertexStream2fvATI glVertexStream2fvATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexStream2iATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32 x, Int32 y); + internal static VertexStream2iATI glVertexStream2iATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexStream2ivATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32* coords); + internal unsafe static VertexStream2ivATI glVertexStream2ivATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexStream2sATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16 x, Int16 y); + internal static VertexStream2sATI glVertexStream2sATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexStream2svATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16* coords); + internal unsafe static VertexStream2svATI glVertexStream2svATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexStream3dATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double x, Double y, Double z); + internal static VertexStream3dATI glVertexStream3dATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexStream3dvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double* coords); + internal unsafe static VertexStream3dvATI glVertexStream3dvATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexStream3fATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single x, Single y, Single z); + internal static VertexStream3fATI glVertexStream3fATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexStream3fvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single* coords); + internal unsafe static VertexStream3fvATI glVertexStream3fvATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexStream3iATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32 x, Int32 y, Int32 z); + internal static VertexStream3iATI glVertexStream3iATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexStream3ivATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32* coords); + internal unsafe static VertexStream3ivATI glVertexStream3ivATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexStream3sATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16 x, Int16 y, Int16 z); + internal static VertexStream3sATI glVertexStream3sATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexStream3svATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16* coords); + internal unsafe static VertexStream3svATI glVertexStream3svATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexStream4dATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double x, Double y, Double z, Double w); + internal static VertexStream4dATI glVertexStream4dATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexStream4dvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double* coords); + internal unsafe static VertexStream4dvATI glVertexStream4dvATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexStream4fATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single x, Single y, Single z, Single w); + internal static VertexStream4fATI glVertexStream4fATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexStream4fvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single* coords); + internal unsafe static VertexStream4fvATI glVertexStream4fvATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexStream4iATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32 x, Int32 y, Int32 z, Int32 w); + internal static VertexStream4iATI glVertexStream4iATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexStream4ivATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32* coords); + internal unsafe static VertexStream4ivATI glVertexStream4ivATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexStream4sATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16 x, Int16 y, Int16 z, Int16 w); + internal static VertexStream4sATI glVertexStream4sATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexStream4svATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16* coords); + internal unsafe static VertexStream4svATI glVertexStream4svATI; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexWeightfEXT(Single weight); + internal static VertexWeightfEXT glVertexWeightfEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexWeightfvEXT(Single* weight); + internal unsafe static VertexWeightfvEXT glVertexWeightfvEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexWeighthNV(Half weight); + internal static VertexWeighthNV glVertexWeighthNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VertexWeighthvNV(Half* weight); + internal unsafe static VertexWeighthvNV glVertexWeighthvNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void VertexWeightPointerEXT(Int32 size, OpenTK.Graphics.OpenGL.ExtVertexWeighting type, Int32 stride, IntPtr pointer); + internal static VertexWeightPointerEXT glVertexWeightPointerEXT; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate OpenTK.Graphics.OpenGL.NvVideoCapture VideoCaptureNV(UInt32 video_capture_slot, [OutAttribute] UInt32* sequence_num, [OutAttribute] UInt64* capture_time); + internal unsafe static VideoCaptureNV glVideoCaptureNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VideoCaptureStreamParameterdvNV(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, Double* @params); + internal unsafe static VideoCaptureStreamParameterdvNV glVideoCaptureStreamParameterdvNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VideoCaptureStreamParameterfvNV(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, Single* @params); + internal unsafe static VideoCaptureStreamParameterfvNV glVideoCaptureStreamParameterfvNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void VideoCaptureStreamParameterivNV(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, Int32* @params); + internal unsafe static VideoCaptureStreamParameterivNV glVideoCaptureStreamParameterivNV; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void Viewport(Int32 x, Int32 y, Int32 width, Int32 height); + internal static Viewport glViewport; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ViewportArrayv(UInt32 first, Int32 count, Single* v); + internal unsafe static ViewportArrayv glViewportArrayv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ViewportIndexedf(UInt32 index, Single x, Single y, Single w, Single h); + internal static ViewportIndexedf glViewportIndexedf; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void ViewportIndexedfv(UInt32 index, Single* v); + internal unsafe static ViewportIndexedfv glViewportIndexedfv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void WaitSync(IntPtr sync, UInt32 flags, UInt64 timeout); + internal static WaitSync glWaitSync; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void WeightbvARB(Int32 size, SByte* weights); + internal unsafe static WeightbvARB glWeightbvARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void WeightdvARB(Int32 size, Double* weights); + internal unsafe static WeightdvARB glWeightdvARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void WeightfvARB(Int32 size, Single* weights); + internal unsafe static WeightfvARB glWeightfvARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void WeightivARB(Int32 size, Int32* weights); + internal unsafe static WeightivARB glWeightivARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void WeightPointerARB(Int32 size, OpenTK.Graphics.OpenGL.ArbVertexBlend type, Int32 stride, IntPtr pointer); + internal static WeightPointerARB glWeightPointerARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void WeightsvARB(Int32 size, Int16* weights); + internal unsafe static WeightsvARB glWeightsvARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void WeightubvARB(Int32 size, Byte* weights); + internal unsafe static WeightubvARB glWeightubvARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void WeightuivARB(Int32 size, UInt32* weights); + internal unsafe static WeightuivARB glWeightuivARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void WeightusvARB(Int32 size, UInt16* weights); + internal unsafe static WeightusvARB glWeightusvARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void WindowPos2d(Double x, Double y); + internal static WindowPos2d glWindowPos2d; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void WindowPos2dARB(Double x, Double y); + internal static WindowPos2dARB glWindowPos2dARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void WindowPos2dMESA(Double x, Double y); + internal static WindowPos2dMESA glWindowPos2dMESA; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void WindowPos2dv(Double* v); + internal unsafe static WindowPos2dv glWindowPos2dv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void WindowPos2dvARB(Double* v); + internal unsafe static WindowPos2dvARB glWindowPos2dvARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void WindowPos2dvMESA(Double* v); + internal unsafe static WindowPos2dvMESA glWindowPos2dvMESA; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void WindowPos2f(Single x, Single y); + internal static WindowPos2f glWindowPos2f; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void WindowPos2fARB(Single x, Single y); + internal static WindowPos2fARB glWindowPos2fARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void WindowPos2fMESA(Single x, Single y); + internal static WindowPos2fMESA glWindowPos2fMESA; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void WindowPos2fv(Single* v); + internal unsafe static WindowPos2fv glWindowPos2fv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void WindowPos2fvARB(Single* v); + internal unsafe static WindowPos2fvARB glWindowPos2fvARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void WindowPos2fvMESA(Single* v); + internal unsafe static WindowPos2fvMESA glWindowPos2fvMESA; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void WindowPos2i(Int32 x, Int32 y); + internal static WindowPos2i glWindowPos2i; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void WindowPos2iARB(Int32 x, Int32 y); + internal static WindowPos2iARB glWindowPos2iARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void WindowPos2iMESA(Int32 x, Int32 y); + internal static WindowPos2iMESA glWindowPos2iMESA; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void WindowPos2iv(Int32* v); + internal unsafe static WindowPos2iv glWindowPos2iv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void WindowPos2ivARB(Int32* v); + internal unsafe static WindowPos2ivARB glWindowPos2ivARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void WindowPos2ivMESA(Int32* v); + internal unsafe static WindowPos2ivMESA glWindowPos2ivMESA; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void WindowPos2s(Int16 x, Int16 y); + internal static WindowPos2s glWindowPos2s; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void WindowPos2sARB(Int16 x, Int16 y); + internal static WindowPos2sARB glWindowPos2sARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void WindowPos2sMESA(Int16 x, Int16 y); + internal static WindowPos2sMESA glWindowPos2sMESA; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void WindowPos2sv(Int16* v); + internal unsafe static WindowPos2sv glWindowPos2sv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void WindowPos2svARB(Int16* v); + internal unsafe static WindowPos2svARB glWindowPos2svARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void WindowPos2svMESA(Int16* v); + internal unsafe static WindowPos2svMESA glWindowPos2svMESA; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void WindowPos3d(Double x, Double y, Double z); + internal static WindowPos3d glWindowPos3d; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void WindowPos3dARB(Double x, Double y, Double z); + internal static WindowPos3dARB glWindowPos3dARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void WindowPos3dMESA(Double x, Double y, Double z); + internal static WindowPos3dMESA glWindowPos3dMESA; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void WindowPos3dv(Double* v); + internal unsafe static WindowPos3dv glWindowPos3dv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void WindowPos3dvARB(Double* v); + internal unsafe static WindowPos3dvARB glWindowPos3dvARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void WindowPos3dvMESA(Double* v); + internal unsafe static WindowPos3dvMESA glWindowPos3dvMESA; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void WindowPos3f(Single x, Single y, Single z); + internal static WindowPos3f glWindowPos3f; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void WindowPos3fARB(Single x, Single y, Single z); + internal static WindowPos3fARB glWindowPos3fARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void WindowPos3fMESA(Single x, Single y, Single z); + internal static WindowPos3fMESA glWindowPos3fMESA; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void WindowPos3fv(Single* v); + internal unsafe static WindowPos3fv glWindowPos3fv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void WindowPos3fvARB(Single* v); + internal unsafe static WindowPos3fvARB glWindowPos3fvARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void WindowPos3fvMESA(Single* v); + internal unsafe static WindowPos3fvMESA glWindowPos3fvMESA; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void WindowPos3i(Int32 x, Int32 y, Int32 z); + internal static WindowPos3i glWindowPos3i; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void WindowPos3iARB(Int32 x, Int32 y, Int32 z); + internal static WindowPos3iARB glWindowPos3iARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void WindowPos3iMESA(Int32 x, Int32 y, Int32 z); + internal static WindowPos3iMESA glWindowPos3iMESA; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void WindowPos3iv(Int32* v); + internal unsafe static WindowPos3iv glWindowPos3iv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void WindowPos3ivARB(Int32* v); + internal unsafe static WindowPos3ivARB glWindowPos3ivARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void WindowPos3ivMESA(Int32* v); + internal unsafe static WindowPos3ivMESA glWindowPos3ivMESA; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void WindowPos3s(Int16 x, Int16 y, Int16 z); + internal static WindowPos3s glWindowPos3s; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void WindowPos3sARB(Int16 x, Int16 y, Int16 z); + internal static WindowPos3sARB glWindowPos3sARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void WindowPos3sMESA(Int16 x, Int16 y, Int16 z); + internal static WindowPos3sMESA glWindowPos3sMESA; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void WindowPos3sv(Int16* v); + internal unsafe static WindowPos3sv glWindowPos3sv; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void WindowPos3svARB(Int16* v); + internal unsafe static WindowPos3svARB glWindowPos3svARB; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void WindowPos3svMESA(Int16* v); + internal unsafe static WindowPos3svMESA glWindowPos3svMESA; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void WindowPos4dMESA(Double x, Double y, Double z, Double w); + internal static WindowPos4dMESA glWindowPos4dMESA; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void WindowPos4dvMESA(Double* v); + internal unsafe static WindowPos4dvMESA glWindowPos4dvMESA; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void WindowPos4fMESA(Single x, Single y, Single z, Single w); + internal static WindowPos4fMESA glWindowPos4fMESA; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void WindowPos4fvMESA(Single* v); + internal unsafe static WindowPos4fvMESA glWindowPos4fvMESA; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void WindowPos4iMESA(Int32 x, Int32 y, Int32 z, Int32 w); + internal static WindowPos4iMESA glWindowPos4iMESA; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void WindowPos4ivMESA(Int32* v); + internal unsafe static WindowPos4ivMESA glWindowPos4ivMESA; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void WindowPos4sMESA(Int16 x, Int16 y, Int16 z, Int16 w); + internal static WindowPos4sMESA glWindowPos4sMESA; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void WindowPos4svMESA(Int16* v); + internal unsafe static WindowPos4svMESA glWindowPos4svMESA; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void WriteMaskEXT(UInt32 res, UInt32 @in, OpenTK.Graphics.OpenGL.ExtVertexShader outX, OpenTK.Graphics.OpenGL.ExtVertexShader outY, OpenTK.Graphics.OpenGL.ExtVertexShader outZ, OpenTK.Graphics.OpenGL.ExtVertexShader outW); + internal static WriteMaskEXT glWriteMaskEXT; + } + } +} diff --git a/src/MiniTK/Graphics/OpenGL/GLEnums.cs b/src/MiniTK/Graphics/OpenGL/GLEnums.cs new file mode 100644 index 0000000..6ce1eb3 --- /dev/null +++ b/src/MiniTK/Graphics/OpenGL/GLEnums.cs @@ -0,0 +1,52267 @@ +// +// The Open Toolkit Library License +// +// Copyright (c) 2006 - 2010 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. +// + + + +using System; + +namespace OpenTK.Graphics.OpenGL +{ + /// + /// Used in GL.Accum + /// + public enum AccumOp : int + { + /// + /// Original was GL_ACCUM = 0x0100 + /// + Accum = ((int)0x0100) , + /// + /// Original was GL_LOAD = 0x0101 + /// + Load = ((int)0x0101) , + /// + /// Original was GL_RETURN = 0x0102 + /// + Return = ((int)0x0102) , + /// + /// Original was GL_MULT = 0x0103 + /// + Mult = ((int)0x0103) , + /// + /// Original was GL_ADD = 0x0104 + /// + Add = ((int)0x0104) , + } + + /// + /// Used in GL.GetActiveAttrib, GL.GetTransformFeedbackVarying + /// + public enum ActiveAttribType : int + { + /// + /// Original was GL_INT = 0x1404 + /// + Int = ((int)0x1404) , + /// + /// Original was GL_UNSIGNED_INT = 0x1405 + /// + UnsignedInt = ((int)0x1405) , + /// + /// Original was GL_FLOAT = 0x1406 + /// + Float = ((int)0x1406) , + /// + /// Original was GL_DOUBLE = 0x140A + /// + Double = ((int)0x140A) , + /// + /// Original was GL_FLOAT_VEC2 = 0x8B50 + /// + FloatVec2 = ((int)0x8B50) , + /// + /// Original was GL_FLOAT_VEC3 = 0x8B51 + /// + FloatVec3 = ((int)0x8B51) , + /// + /// Original was GL_FLOAT_VEC4 = 0x8B52 + /// + FloatVec4 = ((int)0x8B52) , + /// + /// Original was GL_INT_VEC2 = 0x8B53 + /// + IntVec2 = ((int)0x8B53) , + /// + /// Original was GL_INT_VEC3 = 0x8B54 + /// + IntVec3 = ((int)0x8B54) , + /// + /// Original was GL_INT_VEC4 = 0x8B55 + /// + IntVec4 = ((int)0x8B55) , + /// + /// Original was GL_FLOAT_MAT2 = 0x8B5A + /// + FloatMat2 = ((int)0x8B5A) , + /// + /// Original was GL_FLOAT_MAT3 = 0x8B5B + /// + FloatMat3 = ((int)0x8B5B) , + /// + /// Original was GL_FLOAT_MAT4 = 0x8B5C + /// + FloatMat4 = ((int)0x8B5C) , + /// + /// Original was GL_UNSIGNED_INT_VEC2 = 0x8DC6 + /// + UnsignedIntVec2 = ((int)0x8DC6) , + /// + /// Original was GL_UNSIGNED_INT_VEC3 = 0x8DC7 + /// + UnsignedIntVec3 = ((int)0x8DC7) , + /// + /// Original was GL_UNSIGNED_INT_VEC4 = 0x8DC8 + /// + UnsignedIntVec4 = ((int)0x8DC8) , + /// + /// Original was GL_DOUBLE_MAT2 = 0x8F46 + /// + DoubleMat2 = ((int)0x8F46) , + /// + /// Original was GL_DOUBLE_MAT3 = 0x8F47 + /// + DoubleMat3 = ((int)0x8F47) , + /// + /// Original was GL_DOUBLE_MAT4 = 0x8F48 + /// + DoubleMat4 = ((int)0x8F48) , + /// + /// Original was GL_DOUBLE_MAT2x3 = 0x8F49 + /// + DoubleMat2x3 = ((int)0x8F49) , + /// + /// Original was GL_DOUBLE_MAT2x4 = 0x8F4A + /// + DoubleMat2x4 = ((int)0x8F4A) , + /// + /// Original was GL_DOUBLE_MAT3x2 = 0x8F4B + /// + DoubleMat3x2 = ((int)0x8F4B) , + /// + /// Original was GL_DOUBLE_MAT3x4 = 0x8F4C + /// + DoubleMat3x4 = ((int)0x8F4C) , + /// + /// Original was GL_DOUBLE_MAT4x2 = 0x8F4D + /// + DoubleMat4x2 = ((int)0x8F4D) , + /// + /// Original was GL_DOUBLE_MAT4x3 = 0x8F4E + /// + DoubleMat4x3 = ((int)0x8F4E) , + /// + /// Original was GL_DOUBLE_VEC2 = 0x8FFC + /// + DoubleVec2 = ((int)0x8FFC) , + /// + /// Original was GL_DOUBLE_VEC3 = 0x8FFD + /// + DoubleVec3 = ((int)0x8FFD) , + /// + /// Original was GL_DOUBLE_VEC4 = 0x8FFE + /// + DoubleVec4 = ((int)0x8FFE) , + } + + /// + /// Used in GL.GetActiveSubroutineUniform + /// + public enum ActiveSubroutineUniformParameter : int + { + /// + /// Original was GL_UNIFORM_SIZE = 0x8A38 + /// + UniformSize = ((int)0x8A38) , + /// + /// Original was GL_UNIFORM_NAME_LENGTH = 0x8A39 + /// + UniformNameLength = ((int)0x8A39) , + /// + /// Original was GL_NUM_COMPATIBLE_SUBROUTINES = 0x8E4A + /// + NumCompatibleSubroutines = ((int)0x8E4A) , + /// + /// Original was GL_COMPATIBLE_SUBROUTINES = 0x8E4B + /// + CompatibleSubroutines = ((int)0x8E4B) , + } + + /// + /// Used in GL.GetActiveUniformBlock + /// + public enum ActiveUniformBlockParameter : int + { + /// + /// Original was GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_CONTROL_SHADER = 0x84F0 + /// + UniformBlockReferencedByTessControlShader = ((int)0x84F0) , + /// + /// Original was GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_EVALUATION_SHADER = 0x84F1 + /// + UniformBlockReferencedByTessEvaluationShader = ((int)0x84F1) , + /// + /// Original was GL_UNIFORM_BLOCK_BINDING = 0x8A3F + /// + UniformBlockBinding = ((int)0x8A3F) , + /// + /// Original was GL_UNIFORM_BLOCK_DATA_SIZE = 0x8A40 + /// + UniformBlockDataSize = ((int)0x8A40) , + /// + /// Original was GL_UNIFORM_BLOCK_NAME_LENGTH = 0x8A41 + /// + UniformBlockNameLength = ((int)0x8A41) , + /// + /// Original was GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS = 0x8A42 + /// + UniformBlockActiveUniforms = ((int)0x8A42) , + /// + /// Original was GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES = 0x8A43 + /// + UniformBlockActiveUniformIndices = ((int)0x8A43) , + /// + /// Original was GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER = 0x8A44 + /// + UniformBlockReferencedByVertexShader = ((int)0x8A44) , + /// + /// Original was GL_UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER = 0x8A45 + /// + UniformBlockReferencedByGeometryShader = ((int)0x8A45) , + /// + /// Original was GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER = 0x8A46 + /// + UniformBlockReferencedByFragmentShader = ((int)0x8A46) , + } + + /// + /// Used in GL.GetActiveUniforms + /// + public enum ActiveUniformParameter : int + { + /// + /// Original was GL_UNIFORM_TYPE = 0x8A37 + /// + UniformType = ((int)0x8A37) , + /// + /// Original was GL_UNIFORM_SIZE = 0x8A38 + /// + UniformSize = ((int)0x8A38) , + /// + /// Original was GL_UNIFORM_NAME_LENGTH = 0x8A39 + /// + UniformNameLength = ((int)0x8A39) , + /// + /// Original was GL_UNIFORM_BLOCK_INDEX = 0x8A3A + /// + UniformBlockIndex = ((int)0x8A3A) , + /// + /// Original was GL_UNIFORM_OFFSET = 0x8A3B + /// + UniformOffset = ((int)0x8A3B) , + /// + /// Original was GL_UNIFORM_ARRAY_STRIDE = 0x8A3C + /// + UniformArrayStride = ((int)0x8A3C) , + /// + /// Original was GL_UNIFORM_MATRIX_STRIDE = 0x8A3D + /// + UniformMatrixStride = ((int)0x8A3D) , + /// + /// Original was GL_UNIFORM_IS_ROW_MAJOR = 0x8A3E + /// + UniformIsRowMajor = ((int)0x8A3E) , + } + + /// + /// Used in GL.GetActiveUniform + /// + public enum ActiveUniformType : int + { + /// + /// Original was GL_INT = 0x1404 + /// + Int = ((int)0x1404) , + /// + /// Original was GL_UNSIGNED_INT = 0x1405 + /// + UnsignedInt = ((int)0x1405) , + /// + /// Original was GL_FLOAT = 0x1406 + /// + Float = ((int)0x1406) , + /// + /// Original was GL_DOUBLE = 0x140A + /// + Double = ((int)0x140A) , + /// + /// Original was GL_FLOAT_VEC2 = 0x8B50 + /// + FloatVec2 = ((int)0x8B50) , + /// + /// Original was GL_FLOAT_VEC3 = 0x8B51 + /// + FloatVec3 = ((int)0x8B51) , + /// + /// Original was GL_FLOAT_VEC4 = 0x8B52 + /// + FloatVec4 = ((int)0x8B52) , + /// + /// Original was GL_INT_VEC2 = 0x8B53 + /// + IntVec2 = ((int)0x8B53) , + /// + /// Original was GL_INT_VEC3 = 0x8B54 + /// + IntVec3 = ((int)0x8B54) , + /// + /// Original was GL_INT_VEC4 = 0x8B55 + /// + IntVec4 = ((int)0x8B55) , + /// + /// Original was GL_BOOL = 0x8B56 + /// + Bool = ((int)0x8B56) , + /// + /// Original was GL_BOOL_VEC2 = 0x8B57 + /// + BoolVec2 = ((int)0x8B57) , + /// + /// Original was GL_BOOL_VEC3 = 0x8B58 + /// + BoolVec3 = ((int)0x8B58) , + /// + /// Original was GL_BOOL_VEC4 = 0x8B59 + /// + BoolVec4 = ((int)0x8B59) , + /// + /// Original was GL_FLOAT_MAT2 = 0x8B5A + /// + FloatMat2 = ((int)0x8B5A) , + /// + /// Original was GL_FLOAT_MAT3 = 0x8B5B + /// + FloatMat3 = ((int)0x8B5B) , + /// + /// Original was GL_FLOAT_MAT4 = 0x8B5C + /// + FloatMat4 = ((int)0x8B5C) , + /// + /// Original was GL_SAMPLER_1D = 0x8B5D + /// + Sampler1D = ((int)0x8B5D) , + /// + /// Original was GL_SAMPLER_2D = 0x8B5E + /// + Sampler2D = ((int)0x8B5E) , + /// + /// Original was GL_SAMPLER_3D = 0x8B5F + /// + Sampler3D = ((int)0x8B5F) , + /// + /// Original was GL_SAMPLER_CUBE = 0x8B60 + /// + SamplerCube = ((int)0x8B60) , + /// + /// Original was GL_SAMPLER_1D_SHADOW = 0x8B61 + /// + Sampler1DShadow = ((int)0x8B61) , + /// + /// Original was GL_SAMPLER_2D_SHADOW = 0x8B62 + /// + Sampler2DShadow = ((int)0x8B62) , + /// + /// Original was GL_SAMPLER_2D_RECT = 0x8B63 + /// + Sampler2DRect = ((int)0x8B63) , + /// + /// Original was GL_SAMPLER_2D_RECT_SHADOW = 0x8B64 + /// + Sampler2DRectShadow = ((int)0x8B64) , + /// + /// Original was GL_FLOAT_MAT2x3 = 0x8B65 + /// + FloatMat2x3 = ((int)0x8B65) , + /// + /// Original was GL_FLOAT_MAT2x4 = 0x8B66 + /// + FloatMat2x4 = ((int)0x8B66) , + /// + /// Original was GL_FLOAT_MAT3x2 = 0x8B67 + /// + FloatMat3x2 = ((int)0x8B67) , + /// + /// Original was GL_FLOAT_MAT3x4 = 0x8B68 + /// + FloatMat3x4 = ((int)0x8B68) , + /// + /// Original was GL_FLOAT_MAT4x2 = 0x8B69 + /// + FloatMat4x2 = ((int)0x8B69) , + /// + /// Original was GL_FLOAT_MAT4x3 = 0x8B6A + /// + FloatMat4x3 = ((int)0x8B6A) , + /// + /// Original was GL_SAMPLER_1D_ARRAY = 0x8DC0 + /// + Sampler1DArray = ((int)0x8DC0) , + /// + /// Original was GL_SAMPLER_2D_ARRAY = 0x8DC1 + /// + Sampler2DArray = ((int)0x8DC1) , + /// + /// Original was GL_SAMPLER_BUFFER = 0x8DC2 + /// + SamplerBuffer = ((int)0x8DC2) , + /// + /// Original was GL_SAMPLER_1D_ARRAY_SHADOW = 0x8DC3 + /// + Sampler1DArrayShadow = ((int)0x8DC3) , + /// + /// Original was GL_SAMPLER_2D_ARRAY_SHADOW = 0x8DC4 + /// + Sampler2DArrayShadow = ((int)0x8DC4) , + /// + /// Original was GL_SAMPLER_CUBE_SHADOW = 0x8DC5 + /// + SamplerCubeShadow = ((int)0x8DC5) , + /// + /// Original was GL_UNSIGNED_INT_VEC2 = 0x8DC6 + /// + UnsignedIntVec2 = ((int)0x8DC6) , + /// + /// Original was GL_UNSIGNED_INT_VEC3 = 0x8DC7 + /// + UnsignedIntVec3 = ((int)0x8DC7) , + /// + /// Original was GL_UNSIGNED_INT_VEC4 = 0x8DC8 + /// + UnsignedIntVec4 = ((int)0x8DC8) , + /// + /// Original was GL_INT_SAMPLER_1D = 0x8DC9 + /// + IntSampler1D = ((int)0x8DC9) , + /// + /// Original was GL_INT_SAMPLER_2D = 0x8DCA + /// + IntSampler2D = ((int)0x8DCA) , + /// + /// Original was GL_INT_SAMPLER_3D = 0x8DCB + /// + IntSampler3D = ((int)0x8DCB) , + /// + /// Original was GL_INT_SAMPLER_CUBE = 0x8DCC + /// + IntSamplerCube = ((int)0x8DCC) , + /// + /// Original was GL_INT_SAMPLER_2D_RECT = 0x8DCD + /// + IntSampler2DRect = ((int)0x8DCD) , + /// + /// Original was GL_INT_SAMPLER_1D_ARRAY = 0x8DCE + /// + IntSampler1DArray = ((int)0x8DCE) , + /// + /// Original was GL_INT_SAMPLER_2D_ARRAY = 0x8DCF + /// + IntSampler2DArray = ((int)0x8DCF) , + /// + /// Original was GL_INT_SAMPLER_BUFFER = 0x8DD0 + /// + IntSamplerBuffer = ((int)0x8DD0) , + /// + /// Original was GL_UNSIGNED_INT_SAMPLER_1D = 0x8DD1 + /// + UnsignedIntSampler1D = ((int)0x8DD1) , + /// + /// Original was GL_UNSIGNED_INT_SAMPLER_2D = 0x8DD2 + /// + UnsignedIntSampler2D = ((int)0x8DD2) , + /// + /// Original was GL_UNSIGNED_INT_SAMPLER_3D = 0x8DD3 + /// + UnsignedIntSampler3D = ((int)0x8DD3) , + /// + /// Original was GL_UNSIGNED_INT_SAMPLER_CUBE = 0x8DD4 + /// + UnsignedIntSamplerCube = ((int)0x8DD4) , + /// + /// Original was GL_UNSIGNED_INT_SAMPLER_2D_RECT = 0x8DD5 + /// + UnsignedIntSampler2DRect = ((int)0x8DD5) , + /// + /// Original was GL_UNSIGNED_INT_SAMPLER_1D_ARRAY = 0x8DD6 + /// + UnsignedIntSampler1DArray = ((int)0x8DD6) , + /// + /// Original was GL_UNSIGNED_INT_SAMPLER_2D_ARRAY = 0x8DD7 + /// + UnsignedIntSampler2DArray = ((int)0x8DD7) , + /// + /// Original was GL_UNSIGNED_INT_SAMPLER_BUFFER = 0x8DD8 + /// + UnsignedIntSamplerBuffer = ((int)0x8DD8) , + /// + /// Original was GL_DOUBLE_MAT2 = 0x8F46 + /// + DoubleMat2 = ((int)0x8F46) , + /// + /// Original was GL_DOUBLE_MAT3 = 0x8F47 + /// + DoubleMat3 = ((int)0x8F47) , + /// + /// Original was GL_DOUBLE_MAT4 = 0x8F48 + /// + DoubleMat4 = ((int)0x8F48) , + /// + /// Original was GL_DOUBLE_MAT2x3 = 0x8F49 + /// + DoubleMat2x3 = ((int)0x8F49) , + /// + /// Original was GL_DOUBLE_MAT2x4 = 0x8F4A + /// + DoubleMat2x4 = ((int)0x8F4A) , + /// + /// Original was GL_DOUBLE_MAT3x2 = 0x8F4B + /// + DoubleMat3x2 = ((int)0x8F4B) , + /// + /// Original was GL_DOUBLE_MAT3x4 = 0x8F4C + /// + DoubleMat3x4 = ((int)0x8F4C) , + /// + /// Original was GL_DOUBLE_MAT4x2 = 0x8F4D + /// + DoubleMat4x2 = ((int)0x8F4D) , + /// + /// Original was GL_DOUBLE_MAT4x3 = 0x8F4E + /// + DoubleMat4x3 = ((int)0x8F4E) , + /// + /// Original was GL_DOUBLE_VEC2 = 0x8FFC + /// + DoubleVec2 = ((int)0x8FFC) , + /// + /// Original was GL_DOUBLE_VEC3 = 0x8FFD + /// + DoubleVec3 = ((int)0x8FFD) , + /// + /// Original was GL_DOUBLE_VEC4 = 0x8FFE + /// + DoubleVec4 = ((int)0x8FFE) , + /// + /// Original was GL_SAMPLER_CUBE_MAP_ARRAY = 0x900C + /// + SamplerCubeMapArray = ((int)0x900C) , + /// + /// Original was GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW = 0x900D + /// + SamplerCubeMapArrayShadow = ((int)0x900D) , + /// + /// Original was GL_INT_SAMPLER_CUBE_MAP_ARRAY = 0x900E + /// + IntSamplerCubeMapArray = ((int)0x900E) , + /// + /// Original was GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY = 0x900F + /// + UnsignedIntSamplerCubeMapArray = ((int)0x900F) , + /// + /// Original was GL_SAMPLER_2D_MULTISAMPLE = 0x9108 + /// + Sampler2DMultisample = ((int)0x9108) , + /// + /// Original was GL_INT_SAMPLER_2D_MULTISAMPLE = 0x9109 + /// + IntSampler2DMultisample = ((int)0x9109) , + /// + /// Original was GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE = 0x910A + /// + UnsignedIntSampler2DMultisample = ((int)0x910A) , + /// + /// Original was GL_SAMPLER_2D_MULTISAMPLE_ARRAY = 0x910B + /// + Sampler2DMultisampleArray = ((int)0x910B) , + /// + /// Original was GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY = 0x910C + /// + IntSampler2DMultisampleArray = ((int)0x910C) , + /// + /// Original was GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY = 0x910D + /// + UnsignedIntSampler2DMultisampleArray = ((int)0x910D) , + } + + /// + /// Used in GL.Ingr.BlendFuncSeparate, GL.Sgix.IglooInterface + /// + public enum All : int + { + /// + /// Original was GL_FALSE = 0 + /// + False = ((int)0) , + /// + /// Original was GL_NO_ERROR = 0 + /// + NoError = ((int)0) , + /// + /// Original was GL_NONE = 0 + /// + None = ((int)0) , + /// + /// Original was GL_ZERO = 0 + /// + Zero = ((int)0) , + /// + /// Original was GL_POINTS = 0x0000 + /// + Points = ((int)0x0000) , + /// + /// Original was GL_CLIENT_PIXEL_STORE_BIT = 0x00000001 + /// + ClientPixelStoreBit = ((int)0x00000001) , + /// + /// Original was GL_CONTEXT_CORE_PROFILE_BIT = 0x00000001 + /// + ContextCoreProfileBit = ((int)0x00000001) , + /// + /// Original was GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT = 0x00000001 + /// + ContextFlagForwardCompatibleBit = ((int)0x00000001) , + /// + /// Original was GL_CURRENT_BIT = 0x00000001 + /// + CurrentBit = ((int)0x00000001) , + /// + /// Original was GL_2X_BIT_ATI = 0x00000001 + /// + Gl2XBitAti = ((int)0x00000001) , + /// + /// Original was GL_RED_BIT_ATI = 0x00000001 + /// + RedBitAti = ((int)0x00000001) , + /// + /// Original was GL_SYNC_FLUSH_COMMANDS_BIT = 0x00000001 + /// + SyncFlushCommandsBit = ((int)0x00000001) , + /// + /// Original was GL_TEXTURE_DEFORMATION_BIT_SGIX = 0x00000001 + /// + TextureDeformationBitSgix = ((int)0x00000001) , + /// + /// Original was GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT_EXT = 0x00000001 + /// + VertexAttribArrayBarrierBitExt = ((int)0x00000001) , + /// + /// Original was GL_VERTEX_SHADER_BIT = 0x00000001 + /// + VertexShaderBit = ((int)0x00000001) , + /// + /// Original was GL_CLIENT_VERTEX_ARRAY_BIT = 0x00000002 + /// + ClientVertexArrayBit = ((int)0x00000002) , + /// + /// Original was GL_COMP_BIT_ATI = 0x00000002 + /// + CompBitAti = ((int)0x00000002) , + /// + /// Original was GL_CONTEXT_COMPATIBILITY_PROFILE_BIT = 0x00000002 + /// + ContextCompatibilityProfileBit = ((int)0x00000002) , + /// + /// Original was GL_ELEMENT_ARRAY_BARRIER_BIT_EXT = 0x00000002 + /// + ElementArrayBarrierBitExt = ((int)0x00000002) , + /// + /// Original was GL_FRAGMENT_SHADER_BIT = 0x00000002 + /// + FragmentShaderBit = ((int)0x00000002) , + /// + /// Original was GL_GEOMETRY_DEFORMATION_BIT_SGIX = 0x00000002 + /// + GeometryDeformationBitSgix = ((int)0x00000002) , + /// + /// Original was GL_4X_BIT_ATI = 0x00000002 + /// + Gl4XBitAti = ((int)0x00000002) , + /// + /// Original was GL_GREEN_BIT_ATI = 0x00000002 + /// + GreenBitAti = ((int)0x00000002) , + /// + /// Original was GL_POINT_BIT = 0x00000002 + /// + PointBit = ((int)0x00000002) , + /// + /// Original was GL_BLUE_BIT_ATI = 0x00000004 + /// + BlueBitAti = ((int)0x00000004) , + /// + /// Original was GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT_ARB = 0x00000004 + /// + ContextFlagRobustAccessBitArb = ((int)0x00000004) , + /// + /// Original was GL_GEOMETRY_SHADER_BIT = 0x00000004 + /// + GeometryShaderBit = ((int)0x00000004) , + /// + /// Original was GL_8X_BIT_ATI = 0x00000004 + /// + Gl8XBitAti = ((int)0x00000004) , + /// + /// Original was GL_LINE_BIT = 0x00000004 + /// + LineBit = ((int)0x00000004) , + /// + /// Original was GL_NEGATE_BIT_ATI = 0x00000004 + /// + NegateBitAti = ((int)0x00000004) , + /// + /// Original was GL_UNIFORM_BARRIER_BIT_EXT = 0x00000004 + /// + UniformBarrierBitExt = ((int)0x00000004) , + /// + /// Original was GL_VERTEX23_BIT_PGI = 0x00000004 + /// + Vertex23BitPgi = ((int)0x00000004) , + /// + /// Original was GL_BIAS_BIT_ATI = 0x00000008 + /// + BiasBitAti = ((int)0x00000008) , + /// + /// Original was GL_HALF_BIT_ATI = 0x00000008 + /// + HalfBitAti = ((int)0x00000008) , + /// + /// Original was GL_POLYGON_BIT = 0x00000008 + /// + PolygonBit = ((int)0x00000008) , + /// + /// Original was GL_TESS_CONTROL_SHADER_BIT = 0x00000008 + /// + TessControlShaderBit = ((int)0x00000008) , + /// + /// Original was GL_TEXTURE_FETCH_BARRIER_BIT_EXT = 0x00000008 + /// + TextureFetchBarrierBitExt = ((int)0x00000008) , + /// + /// Original was GL_VERTEX4_BIT_PGI = 0x00000008 + /// + Vertex4BitPgi = ((int)0x00000008) , + /// + /// Original was GL_POLYGON_STIPPLE_BIT = 0x00000010 + /// + PolygonStippleBit = ((int)0x00000010) , + /// + /// Original was GL_QUARTER_BIT_ATI = 0x00000010 + /// + QuarterBitAti = ((int)0x00000010) , + /// + /// Original was GL_SHADER_GLOBAL_ACCESS_BARRIER_BIT_NV = 0x00000010 + /// + ShaderGlobalAccessBarrierBitNv = ((int)0x00000010) , + /// + /// Original was GL_TESS_EVALUATION_SHADER_BIT = 0x00000010 + /// + TessEvaluationShaderBit = ((int)0x00000010) , + /// + /// Original was GL_EIGHTH_BIT_ATI = 0x00000020 + /// + EighthBitAti = ((int)0x00000020) , + /// + /// Original was GL_PIXEL_MODE_BIT = 0x00000020 + /// + PixelModeBit = ((int)0x00000020) , + /// + /// Original was GL_SHADER_IMAGE_ACCESS_BARRIER_BIT_EXT = 0x00000020 + /// + ShaderImageAccessBarrierBitExt = ((int)0x00000020) , + /// + /// Original was GL_COMMAND_BARRIER_BIT_EXT = 0x00000040 + /// + CommandBarrierBitExt = ((int)0x00000040) , + /// + /// Original was GL_LIGHTING_BIT = 0x00000040 + /// + LightingBit = ((int)0x00000040) , + /// + /// Original was GL_SATURATE_BIT_ATI = 0x00000040 + /// + SaturateBitAti = ((int)0x00000040) , + /// + /// Original was GL_FOG_BIT = 0x00000080 + /// + FogBit = ((int)0x00000080) , + /// + /// Original was GL_PIXEL_BUFFER_BARRIER_BIT_EXT = 0x00000080 + /// + PixelBufferBarrierBitExt = ((int)0x00000080) , + /// + /// Original was GL_DEPTH_BUFFER_BIT = 0x00000100 + /// + DepthBufferBit = ((int)0x00000100) , + /// + /// Original was GL_TEXTURE_UPDATE_BARRIER_BIT_EXT = 0x00000100 + /// + TextureUpdateBarrierBitExt = ((int)0x00000100) , + /// + /// Original was GL_ACCUM_BUFFER_BIT = 0x00000200 + /// + AccumBufferBit = ((int)0x00000200) , + /// + /// Original was GL_BUFFER_UPDATE_BARRIER_BIT_EXT = 0x00000200 + /// + BufferUpdateBarrierBitExt = ((int)0x00000200) , + /// + /// Original was GL_FRAMEBUFFER_BARRIER_BIT_EXT = 0x00000400 + /// + FramebufferBarrierBitExt = ((int)0x00000400) , + /// + /// Original was GL_STENCIL_BUFFER_BIT = 0x00000400 + /// + StencilBufferBit = ((int)0x00000400) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_BARRIER_BIT_EXT = 0x00000800 + /// + TransformFeedbackBarrierBitExt = ((int)0x00000800) , + /// + /// Original was GL_VIEWPORT_BIT = 0x00000800 + /// + ViewportBit = ((int)0x00000800) , + /// + /// Original was GL_ATOMIC_COUNTER_BARRIER_BIT_EXT = 0x00001000 + /// + AtomicCounterBarrierBitExt = ((int)0x00001000) , + /// + /// Original was GL_TRANSFORM_BIT = 0x00001000 + /// + TransformBit = ((int)0x00001000) , + /// + /// Original was GL_ENABLE_BIT = 0x00002000 + /// + EnableBit = ((int)0x00002000) , + /// + /// Original was GL_COLOR_BUFFER_BIT = 0x00004000 + /// + ColorBufferBit = ((int)0x00004000) , + /// + /// Original was GL_COVERAGE_BUFFER_BIT_NV = 0x00008000 + /// + CoverageBufferBitNv = ((int)0x00008000) , + /// + /// Original was GL_HINT_BIT = 0x00008000 + /// + HintBit = ((int)0x00008000) , + /// + /// Original was GL_LINES = 0x0001 + /// + Lines = ((int)0x0001) , + /// + /// Original was GL_MAP_READ_BIT = 0x0001 + /// + MapReadBit = ((int)0x0001) , + /// + /// Original was GL_RESTART_SUN = 0x0001 + /// + RestartSun = ((int)0x0001) , + /// + /// Original was GL_TRACE_OPERATIONS_BIT_MESA = 0x0001 + /// + TraceOperationsBitMesa = ((int)0x0001) , + /// + /// Original was GL_COLOR3_BIT_PGI = 0x00010000 + /// + Color3BitPgi = ((int)0x00010000) , + /// + /// Original was GL_EVAL_BIT = 0x00010000 + /// + EvalBit = ((int)0x00010000) , + /// + /// Original was GL_LINE_LOOP = 0x0002 + /// + LineLoop = ((int)0x0002) , + /// + /// Original was GL_MAP_WRITE_BIT = 0x0002 + /// + MapWriteBit = ((int)0x0002) , + /// + /// Original was GL_REPLACE_MIDDLE_SUN = 0x0002 + /// + ReplaceMiddleSun = ((int)0x0002) , + /// + /// Original was GL_TRACE_PRIMITIVES_BIT_MESA = 0x0002 + /// + TracePrimitivesBitMesa = ((int)0x0002) , + /// + /// Original was GL_COLOR4_BIT_PGI = 0x00020000 + /// + Color4BitPgi = ((int)0x00020000) , + /// + /// Original was GL_LIST_BIT = 0x00020000 + /// + ListBit = ((int)0x00020000) , + /// + /// Original was GL_LINE_STRIP = 0x0003 + /// + LineStrip = ((int)0x0003) , + /// + /// Original was GL_REPLACE_OLDEST_SUN = 0x0003 + /// + ReplaceOldestSun = ((int)0x0003) , + /// + /// Original was GL_MAP_INVALIDATE_RANGE_BIT = 0x0004 + /// + MapInvalidateRangeBit = ((int)0x0004) , + /// + /// Original was GL_TRACE_ARRAYS_BIT_MESA = 0x0004 + /// + TraceArraysBitMesa = ((int)0x0004) , + /// + /// Original was GL_TRIANGLES = 0x0004 + /// + Triangles = ((int)0x0004) , + /// + /// Original was GL_EDGEFLAG_BIT_PGI = 0x00040000 + /// + EdgeflagBitPgi = ((int)0x00040000) , + /// + /// Original was GL_TEXTURE_BIT = 0x00040000 + /// + TextureBit = ((int)0x00040000) , + /// + /// Original was GL_TRIANGLE_STRIP = 0x0005 + /// + TriangleStrip = ((int)0x0005) , + /// + /// Original was GL_TRIANGLE_FAN = 0x0006 + /// + TriangleFan = ((int)0x0006) , + /// + /// Original was GL_QUADS = 0x0007 + /// + Quads = ((int)0x0007) , + /// + /// Original was GL_MAP_INVALIDATE_BUFFER_BIT = 0x0008 + /// + MapInvalidateBufferBit = ((int)0x0008) , + /// + /// Original was GL_QUAD_STRIP = 0x0008 + /// + QuadStrip = ((int)0x0008) , + /// + /// Original was GL_TRACE_TEXTURES_BIT_MESA = 0x0008 + /// + TraceTexturesBitMesa = ((int)0x0008) , + /// + /// Original was GL_INDEX_BIT_PGI = 0x00080000 + /// + IndexBitPgi = ((int)0x00080000) , + /// + /// Original was GL_SCISSOR_BIT = 0x00080000 + /// + ScissorBit = ((int)0x00080000) , + /// + /// Original was GL_POLYGON = 0x0009 + /// + Polygon = ((int)0x0009) , + /// + /// Original was GL_LINES_ADJACENCY = 0x000A + /// + LinesAdjacency = ((int)0x000A) , + /// + /// Original was GL_LINES_ADJACENCY_ARB = 0x000A + /// + LinesAdjacencyArb = ((int)0x000A) , + /// + /// Original was GL_LINES_ADJACENCY_EXT = 0x000A + /// + LinesAdjacencyExt = ((int)0x000A) , + /// + /// Original was GL_LINE_STRIP_ADJACENCY = 0x000B + /// + LineStripAdjacency = ((int)0x000B) , + /// + /// Original was GL_LINE_STRIP_ADJACENCY_ARB = 0x000B + /// + LineStripAdjacencyArb = ((int)0x000B) , + /// + /// Original was GL_LINE_STRIP_ADJACENCY_EXT = 0x000B + /// + LineStripAdjacencyExt = ((int)0x000B) , + /// + /// Original was GL_TRIANGLES_ADJACENCY = 0x000C + /// + TrianglesAdjacency = ((int)0x000C) , + /// + /// Original was GL_TRIANGLES_ADJACENCY_ARB = 0x000C + /// + TrianglesAdjacencyArb = ((int)0x000C) , + /// + /// Original was GL_TRIANGLES_ADJACENCY_EXT = 0x000C + /// + TrianglesAdjacencyExt = ((int)0x000C) , + /// + /// Original was GL_TRIANGLE_STRIP_ADJACENCY = 0x000D + /// + TriangleStripAdjacency = ((int)0x000D) , + /// + /// Original was GL_TRIANGLE_STRIP_ADJACENCY_ARB = 0x000D + /// + TriangleStripAdjacencyArb = ((int)0x000D) , + /// + /// Original was GL_TRIANGLE_STRIP_ADJACENCY_EXT = 0x000D + /// + TriangleStripAdjacencyExt = ((int)0x000D) , + /// + /// Original was GL_PATCHES = 0x000E + /// + Patches = ((int)0x000E) , + /// + /// Original was GL_MAP_FLUSH_EXPLICIT_BIT = 0x0010 + /// + MapFlushExplicitBit = ((int)0x0010) , + /// + /// Original was GL_TRACE_PIXELS_BIT_MESA = 0x0010 + /// + TracePixelsBitMesa = ((int)0x0010) , + /// + /// Original was GL_MAT_AMBIENT_BIT_PGI = 0x00100000 + /// + MatAmbientBitPgi = ((int)0x00100000) , + /// + /// Original was GL_MAP_UNSYNCHRONIZED_BIT = 0x0020 + /// + MapUnsynchronizedBit = ((int)0x0020) , + /// + /// Original was GL_TRACE_ERRORS_BIT_MESA = 0x0020 + /// + TraceErrorsBitMesa = ((int)0x0020) , + /// + /// Original was GL_MAT_AMBIENT_AND_DIFFUSE_BIT_PGI = 0x00200000 + /// + MatAmbientAndDiffuseBitPgi = ((int)0x00200000) , + /// + /// Original was GL_MAT_DIFFUSE_BIT_PGI = 0x00400000 + /// + MatDiffuseBitPgi = ((int)0x00400000) , + /// + /// Original was GL_MAT_EMISSION_BIT_PGI = 0x00800000 + /// + MatEmissionBitPgi = ((int)0x00800000) , + /// + /// Original was GL_ACCUM = 0x0100 + /// + Accum = ((int)0x0100) , + /// + /// Original was GL_MAT_COLOR_INDEXES_BIT_PGI = 0x01000000 + /// + MatColorIndexesBitPgi = ((int)0x01000000) , + /// + /// Original was GL_LOAD = 0x0101 + /// + Load = ((int)0x0101) , + /// + /// Original was GL_RETURN = 0x0102 + /// + Return = ((int)0x0102) , + /// + /// Original was GL_MULT = 0x0103 + /// + Mult = ((int)0x0103) , + /// + /// Original was GL_ADD = 0x0104 + /// + Add = ((int)0x0104) , + /// + /// Original was GL_NEVER = 0x0200 + /// + Never = ((int)0x0200) , + /// + /// Original was GL_MAT_SHININESS_BIT_PGI = 0x02000000 + /// + MatShininessBitPgi = ((int)0x02000000) , + /// + /// Original was GL_LESS = 0x0201 + /// + Less = ((int)0x0201) , + /// + /// Original was GL_EQUAL = 0x0202 + /// + Equal = ((int)0x0202) , + /// + /// Original was GL_LEQUAL = 0x0203 + /// + Lequal = ((int)0x0203) , + /// + /// Original was GL_GREATER = 0x0204 + /// + Greater = ((int)0x0204) , + /// + /// Original was GL_NOTEQUAL = 0x0205 + /// + Notequal = ((int)0x0205) , + /// + /// Original was GL_GEQUAL = 0x0206 + /// + Gequal = ((int)0x0206) , + /// + /// Original was GL_ALWAYS = 0x0207 + /// + Always = ((int)0x0207) , + /// + /// Original was GL_SRC_COLOR = 0x0300 + /// + SrcColor = ((int)0x0300) , + /// + /// Original was GL_ONE_MINUS_SRC_COLOR = 0x0301 + /// + OneMinusSrcColor = ((int)0x0301) , + /// + /// Original was GL_SRC_ALPHA = 0x0302 + /// + SrcAlpha = ((int)0x0302) , + /// + /// Original was GL_ONE_MINUS_SRC_ALPHA = 0x0303 + /// + OneMinusSrcAlpha = ((int)0x0303) , + /// + /// Original was GL_DST_ALPHA = 0x0304 + /// + DstAlpha = ((int)0x0304) , + /// + /// Original was GL_ONE_MINUS_DST_ALPHA = 0x0305 + /// + OneMinusDstAlpha = ((int)0x0305) , + /// + /// Original was GL_DST_COLOR = 0x0306 + /// + DstColor = ((int)0x0306) , + /// + /// Original was GL_ONE_MINUS_DST_COLOR = 0x0307 + /// + OneMinusDstColor = ((int)0x0307) , + /// + /// Original was GL_SRC_ALPHA_SATURATE = 0x0308 + /// + SrcAlphaSaturate = ((int)0x0308) , + /// + /// Original was GL_FRONT_LEFT = 0x0400 + /// + FrontLeft = ((int)0x0400) , + /// + /// Original was GL_MAT_SPECULAR_BIT_PGI = 0x04000000 + /// + MatSpecularBitPgi = ((int)0x04000000) , + /// + /// Original was GL_FRONT_RIGHT = 0x0401 + /// + FrontRight = ((int)0x0401) , + /// + /// Original was GL_BACK_LEFT = 0x0402 + /// + BackLeft = ((int)0x0402) , + /// + /// Original was GL_BACK_RIGHT = 0x0403 + /// + BackRight = ((int)0x0403) , + /// + /// Original was GL_FRONT = 0x0404 + /// + Front = ((int)0x0404) , + /// + /// Original was GL_BACK = 0x0405 + /// + Back = ((int)0x0405) , + /// + /// Original was GL_LEFT = 0x0406 + /// + Left = ((int)0x0406) , + /// + /// Original was GL_RIGHT = 0x0407 + /// + Right = ((int)0x0407) , + /// + /// Original was GL_FRONT_AND_BACK = 0x0408 + /// + FrontAndBack = ((int)0x0408) , + /// + /// Original was GL_AUX0 = 0x0409 + /// + Aux0 = ((int)0x0409) , + /// + /// Original was GL_AUX1 = 0x040A + /// + Aux1 = ((int)0x040A) , + /// + /// Original was GL_AUX2 = 0x040B + /// + Aux2 = ((int)0x040B) , + /// + /// Original was GL_AUX3 = 0x040C + /// + Aux3 = ((int)0x040C) , + /// + /// Original was GL_INVALID_ENUM = 0x0500 + /// + InvalidEnum = ((int)0x0500) , + /// + /// Original was GL_INVALID_VALUE = 0x0501 + /// + InvalidValue = ((int)0x0501) , + /// + /// Original was GL_INVALID_OPERATION = 0x0502 + /// + InvalidOperation = ((int)0x0502) , + /// + /// Original was GL_STACK_OVERFLOW = 0x0503 + /// + StackOverflow = ((int)0x0503) , + /// + /// Original was GL_STACK_UNDERFLOW = 0x0504 + /// + StackUnderflow = ((int)0x0504) , + /// + /// Original was GL_OUT_OF_MEMORY = 0x0505 + /// + OutOfMemory = ((int)0x0505) , + /// + /// Original was GL_INVALID_FRAMEBUFFER_OPERATION = 0x0506 + /// + InvalidFramebufferOperation = ((int)0x0506) , + /// + /// Original was GL_INVALID_FRAMEBUFFER_OPERATION_EXT = 0x0506 + /// + InvalidFramebufferOperationExt = ((int)0x0506) , + /// + /// Original was GL_INVALID_FRAMEBUFFER_OPERATION_OES = 0x0506 + /// + InvalidFramebufferOperationOes = ((int)0x0506) , + /// + /// Original was GL_2D = 0x0600 + /// + Gl2D = ((int)0x0600) , + /// + /// Original was GL_3D = 0x0601 + /// + Gl3D = ((int)0x0601) , + /// + /// Original was GL_3D_COLOR = 0x0602 + /// + Gl3DColor = ((int)0x0602) , + /// + /// Original was GL_3D_COLOR_TEXTURE = 0x0603 + /// + Gl3DColorTexture = ((int)0x0603) , + /// + /// Original was GL_4D_COLOR_TEXTURE = 0x0604 + /// + Gl4DColorTexture = ((int)0x0604) , + /// + /// Original was GL_PASS_THROUGH_TOKEN = 0x0700 + /// + PassThroughToken = ((int)0x0700) , + /// + /// Original was GL_POINT_TOKEN = 0x0701 + /// + PointToken = ((int)0x0701) , + /// + /// Original was GL_LINE_TOKEN = 0x0702 + /// + LineToken = ((int)0x0702) , + /// + /// Original was GL_POLYGON_TOKEN = 0x0703 + /// + PolygonToken = ((int)0x0703) , + /// + /// Original was GL_BITMAP_TOKEN = 0x0704 + /// + BitmapToken = ((int)0x0704) , + /// + /// Original was GL_DRAW_PIXEL_TOKEN = 0x0705 + /// + DrawPixelToken = ((int)0x0705) , + /// + /// Original was GL_COPY_PIXEL_TOKEN = 0x0706 + /// + CopyPixelToken = ((int)0x0706) , + /// + /// Original was GL_LINE_RESET_TOKEN = 0x0707 + /// + LineResetToken = ((int)0x0707) , + /// + /// Original was GL_EXP = 0x0800 + /// + Exp = ((int)0x0800) , + /// + /// Original was GL_NORMAL_BIT_PGI = 0x08000000 + /// + NormalBitPgi = ((int)0x08000000) , + /// + /// Original was GL_EXP2 = 0x0801 + /// + Exp2 = ((int)0x0801) , + /// + /// Original was GL_CW = 0x0900 + /// + Cw = ((int)0x0900) , + /// + /// Original was GL_CCW = 0x0901 + /// + Ccw = ((int)0x0901) , + /// + /// Original was GL_COEFF = 0x0A00 + /// + Coeff = ((int)0x0A00) , + /// + /// Original was GL_ORDER = 0x0A01 + /// + Order = ((int)0x0A01) , + /// + /// Original was GL_DOMAIN = 0x0A02 + /// + Domain = ((int)0x0A02) , + /// + /// Original was GL_CURRENT_COLOR = 0x0B00 + /// + CurrentColor = ((int)0x0B00) , + /// + /// Original was GL_CURRENT_INDEX = 0x0B01 + /// + CurrentIndex = ((int)0x0B01) , + /// + /// Original was GL_CURRENT_NORMAL = 0x0B02 + /// + CurrentNormal = ((int)0x0B02) , + /// + /// Original was GL_CURRENT_TEXTURE_COORDS = 0x0B03 + /// + CurrentTextureCoords = ((int)0x0B03) , + /// + /// Original was GL_CURRENT_RASTER_COLOR = 0x0B04 + /// + CurrentRasterColor = ((int)0x0B04) , + /// + /// Original was GL_CURRENT_RASTER_INDEX = 0x0B05 + /// + CurrentRasterIndex = ((int)0x0B05) , + /// + /// Original was GL_CURRENT_RASTER_TEXTURE_COORDS = 0x0B06 + /// + CurrentRasterTextureCoords = ((int)0x0B06) , + /// + /// Original was GL_CURRENT_RASTER_POSITION = 0x0B07 + /// + CurrentRasterPosition = ((int)0x0B07) , + /// + /// Original was GL_CURRENT_RASTER_POSITION_VALID = 0x0B08 + /// + CurrentRasterPositionValid = ((int)0x0B08) , + /// + /// Original was GL_CURRENT_RASTER_DISTANCE = 0x0B09 + /// + CurrentRasterDistance = ((int)0x0B09) , + /// + /// Original was GL_POINT_SMOOTH = 0x0B10 + /// + PointSmooth = ((int)0x0B10) , + /// + /// Original was GL_POINT_SIZE = 0x0B11 + /// + PointSize = ((int)0x0B11) , + /// + /// Original was GL_POINT_SIZE_RANGE = 0x0B12 + /// + PointSizeRange = ((int)0x0B12) , + /// + /// Original was GL_SMOOTH_POINT_SIZE_RANGE = 0x0B12 + /// + SmoothPointSizeRange = ((int)0x0B12) , + /// + /// Original was GL_POINT_SIZE_GRANULARITY = 0x0B13 + /// + PointSizeGranularity = ((int)0x0B13) , + /// + /// Original was GL_SMOOTH_POINT_SIZE_GRANULARITY = 0x0B13 + /// + SmoothPointSizeGranularity = ((int)0x0B13) , + /// + /// Original was GL_LINE_SMOOTH = 0x0B20 + /// + LineSmooth = ((int)0x0B20) , + /// + /// Original was GL_LINE_WIDTH = 0x0B21 + /// + LineWidth = ((int)0x0B21) , + /// + /// Original was GL_LINE_WIDTH_RANGE = 0x0B22 + /// + LineWidthRange = ((int)0x0B22) , + /// + /// Original was GL_SMOOTH_LINE_WIDTH_RANGE = 0x0B22 + /// + SmoothLineWidthRange = ((int)0x0B22) , + /// + /// Original was GL_LINE_WIDTH_GRANULARITY = 0x0B23 + /// + LineWidthGranularity = ((int)0x0B23) , + /// + /// Original was GL_SMOOTH_LINE_WIDTH_GRANULARITY = 0x0B23 + /// + SmoothLineWidthGranularity = ((int)0x0B23) , + /// + /// Original was GL_LINE_STIPPLE = 0x0B24 + /// + LineStipple = ((int)0x0B24) , + /// + /// Original was GL_LINE_STIPPLE_PATTERN = 0x0B25 + /// + LineStipplePattern = ((int)0x0B25) , + /// + /// Original was GL_LINE_STIPPLE_REPEAT = 0x0B26 + /// + LineStippleRepeat = ((int)0x0B26) , + /// + /// Original was GL_LIST_MODE = 0x0B30 + /// + ListMode = ((int)0x0B30) , + /// + /// Original was GL_MAX_LIST_NESTING = 0x0B31 + /// + MaxListNesting = ((int)0x0B31) , + /// + /// Original was GL_LIST_BASE = 0x0B32 + /// + ListBase = ((int)0x0B32) , + /// + /// Original was GL_LIST_INDEX = 0x0B33 + /// + ListIndex = ((int)0x0B33) , + /// + /// Original was GL_POLYGON_MODE = 0x0B40 + /// + PolygonMode = ((int)0x0B40) , + /// + /// Original was GL_POLYGON_SMOOTH = 0x0B41 + /// + PolygonSmooth = ((int)0x0B41) , + /// + /// Original was GL_POLYGON_STIPPLE = 0x0B42 + /// + PolygonStipple = ((int)0x0B42) , + /// + /// Original was GL_EDGE_FLAG = 0x0B43 + /// + EdgeFlag = ((int)0x0B43) , + /// + /// Original was GL_CULL_FACE = 0x0B44 + /// + CullFace = ((int)0x0B44) , + /// + /// Original was GL_CULL_FACE_MODE = 0x0B45 + /// + CullFaceMode = ((int)0x0B45) , + /// + /// Original was GL_FRONT_FACE = 0x0B46 + /// + FrontFace = ((int)0x0B46) , + /// + /// Original was GL_LIGHTING = 0x0B50 + /// + Lighting = ((int)0x0B50) , + /// + /// Original was GL_LIGHT_MODEL_LOCAL_VIEWER = 0x0B51 + /// + LightModelLocalViewer = ((int)0x0B51) , + /// + /// Original was GL_LIGHT_MODEL_TWO_SIDE = 0x0B52 + /// + LightModelTwoSide = ((int)0x0B52) , + /// + /// Original was GL_LIGHT_MODEL_AMBIENT = 0x0B53 + /// + LightModelAmbient = ((int)0x0B53) , + /// + /// Original was GL_SHADE_MODEL = 0x0B54 + /// + ShadeModel = ((int)0x0B54) , + /// + /// Original was GL_COLOR_MATERIAL_FACE = 0x0B55 + /// + ColorMaterialFace = ((int)0x0B55) , + /// + /// Original was GL_COLOR_MATERIAL_PARAMETER = 0x0B56 + /// + ColorMaterialParameter = ((int)0x0B56) , + /// + /// Original was GL_COLOR_MATERIAL = 0x0B57 + /// + ColorMaterial = ((int)0x0B57) , + /// + /// Original was GL_FOG = 0x0B60 + /// + Fog = ((int)0x0B60) , + /// + /// Original was GL_FOG_INDEX = 0x0B61 + /// + FogIndex = ((int)0x0B61) , + /// + /// Original was GL_FOG_DENSITY = 0x0B62 + /// + FogDensity = ((int)0x0B62) , + /// + /// Original was GL_FOG_START = 0x0B63 + /// + FogStart = ((int)0x0B63) , + /// + /// Original was GL_FOG_END = 0x0B64 + /// + FogEnd = ((int)0x0B64) , + /// + /// Original was GL_FOG_MODE = 0x0B65 + /// + FogMode = ((int)0x0B65) , + /// + /// Original was GL_FOG_COLOR = 0x0B66 + /// + FogColor = ((int)0x0B66) , + /// + /// Original was GL_DEPTH_RANGE = 0x0B70 + /// + DepthRange = ((int)0x0B70) , + /// + /// Original was GL_DEPTH_TEST = 0x0B71 + /// + DepthTest = ((int)0x0B71) , + /// + /// Original was GL_DEPTH_WRITEMASK = 0x0B72 + /// + DepthWritemask = ((int)0x0B72) , + /// + /// Original was GL_DEPTH_CLEAR_VALUE = 0x0B73 + /// + DepthClearValue = ((int)0x0B73) , + /// + /// Original was GL_DEPTH_FUNC = 0x0B74 + /// + DepthFunc = ((int)0x0B74) , + /// + /// Original was GL_ACCUM_CLEAR_VALUE = 0x0B80 + /// + AccumClearValue = ((int)0x0B80) , + /// + /// Original was GL_STENCIL_TEST = 0x0B90 + /// + StencilTest = ((int)0x0B90) , + /// + /// Original was GL_STENCIL_CLEAR_VALUE = 0x0B91 + /// + StencilClearValue = ((int)0x0B91) , + /// + /// Original was GL_STENCIL_FUNC = 0x0B92 + /// + StencilFunc = ((int)0x0B92) , + /// + /// Original was GL_STENCIL_VALUE_MASK = 0x0B93 + /// + StencilValueMask = ((int)0x0B93) , + /// + /// Original was GL_STENCIL_FAIL = 0x0B94 + /// + StencilFail = ((int)0x0B94) , + /// + /// Original was GL_STENCIL_PASS_DEPTH_FAIL = 0x0B95 + /// + StencilPassDepthFail = ((int)0x0B95) , + /// + /// Original was GL_STENCIL_PASS_DEPTH_PASS = 0x0B96 + /// + StencilPassDepthPass = ((int)0x0B96) , + /// + /// Original was GL_STENCIL_REF = 0x0B97 + /// + StencilRef = ((int)0x0B97) , + /// + /// Original was GL_STENCIL_WRITEMASK = 0x0B98 + /// + StencilWritemask = ((int)0x0B98) , + /// + /// Original was GL_MATRIX_MODE = 0x0BA0 + /// + MatrixMode = ((int)0x0BA0) , + /// + /// Original was GL_NORMALIZE = 0x0BA1 + /// + Normalize = ((int)0x0BA1) , + /// + /// Original was GL_VIEWPORT = 0x0BA2 + /// + Viewport = ((int)0x0BA2) , + /// + /// Original was GL_MODELVIEW0_STACK_DEPTH_EXT = 0x0BA3 + /// + Modelview0StackDepthExt = ((int)0x0BA3) , + /// + /// Original was GL_MODELVIEW_STACK_DEPTH = 0x0BA3 + /// + ModelviewStackDepth = ((int)0x0BA3) , + /// + /// Original was GL_PROJECTION_STACK_DEPTH = 0x0BA4 + /// + ProjectionStackDepth = ((int)0x0BA4) , + /// + /// Original was GL_TEXTURE_STACK_DEPTH = 0x0BA5 + /// + TextureStackDepth = ((int)0x0BA5) , + /// + /// Original was GL_MODELVIEW0_MATRIX_EXT = 0x0BA6 + /// + Modelview0MatrixExt = ((int)0x0BA6) , + /// + /// Original was GL_MODELVIEW_MATRIX = 0x0BA6 + /// + ModelviewMatrix = ((int)0x0BA6) , + /// + /// Original was GL_PROJECTION_MATRIX = 0x0BA7 + /// + ProjectionMatrix = ((int)0x0BA7) , + /// + /// Original was GL_TEXTURE_MATRIX = 0x0BA8 + /// + TextureMatrix = ((int)0x0BA8) , + /// + /// Original was GL_ATTRIB_STACK_DEPTH = 0x0BB0 + /// + AttribStackDepth = ((int)0x0BB0) , + /// + /// Original was GL_CLIENT_ATTRIB_STACK_DEPTH = 0x0BB1 + /// + ClientAttribStackDepth = ((int)0x0BB1) , + /// + /// Original was GL_ALPHA_TEST = 0x0BC0 + /// + AlphaTest = ((int)0x0BC0) , + /// + /// Original was GL_ALPHA_TEST_QCOM = 0x0BC0 + /// + AlphaTestQcom = ((int)0x0BC0) , + /// + /// Original was GL_ALPHA_TEST_FUNC = 0x0BC1 + /// + AlphaTestFunc = ((int)0x0BC1) , + /// + /// Original was GL_ALPHA_TEST_FUNC_QCOM = 0x0BC1 + /// + AlphaTestFuncQcom = ((int)0x0BC1) , + /// + /// Original was GL_ALPHA_TEST_REF = 0x0BC2 + /// + AlphaTestRef = ((int)0x0BC2) , + /// + /// Original was GL_ALPHA_TEST_REF_QCOM = 0x0BC2 + /// + AlphaTestRefQcom = ((int)0x0BC2) , + /// + /// Original was GL_DITHER = 0x0BD0 + /// + Dither = ((int)0x0BD0) , + /// + /// Original was GL_BLEND_DST = 0x0BE0 + /// + BlendDst = ((int)0x0BE0) , + /// + /// Original was GL_BLEND_SRC = 0x0BE1 + /// + BlendSrc = ((int)0x0BE1) , + /// + /// Original was GL_BLEND = 0x0BE2 + /// + Blend = ((int)0x0BE2) , + /// + /// Original was GL_LOGIC_OP_MODE = 0x0BF0 + /// + LogicOpMode = ((int)0x0BF0) , + /// + /// Original was GL_INDEX_LOGIC_OP = 0x0BF1 + /// + IndexLogicOp = ((int)0x0BF1) , + /// + /// Original was GL_LOGIC_OP = 0x0BF1 + /// + LogicOp = ((int)0x0BF1) , + /// + /// Original was GL_COLOR_LOGIC_OP = 0x0BF2 + /// + ColorLogicOp = ((int)0x0BF2) , + /// + /// Original was GL_AUX_BUFFERS = 0x0C00 + /// + AuxBuffers = ((int)0x0C00) , + /// + /// Original was GL_DRAW_BUFFER = 0x0C01 + /// + DrawBuffer = ((int)0x0C01) , + /// + /// Original was GL_READ_BUFFER = 0x0C02 + /// + ReadBuffer = ((int)0x0C02) , + /// + /// Original was GL_SCISSOR_BOX = 0x0C10 + /// + ScissorBox = ((int)0x0C10) , + /// + /// Original was GL_SCISSOR_TEST = 0x0C11 + /// + ScissorTest = ((int)0x0C11) , + /// + /// Original was GL_INDEX_CLEAR_VALUE = 0x0C20 + /// + IndexClearValue = ((int)0x0C20) , + /// + /// Original was GL_INDEX_WRITEMASK = 0x0C21 + /// + IndexWritemask = ((int)0x0C21) , + /// + /// Original was GL_COLOR_CLEAR_VALUE = 0x0C22 + /// + ColorClearValue = ((int)0x0C22) , + /// + /// Original was GL_COLOR_WRITEMASK = 0x0C23 + /// + ColorWritemask = ((int)0x0C23) , + /// + /// Original was GL_INDEX_MODE = 0x0C30 + /// + IndexMode = ((int)0x0C30) , + /// + /// Original was GL_RGBA_MODE = 0x0C31 + /// + RgbaMode = ((int)0x0C31) , + /// + /// Original was GL_DOUBLEBUFFER = 0x0C32 + /// + Doublebuffer = ((int)0x0C32) , + /// + /// Original was GL_STEREO = 0x0C33 + /// + Stereo = ((int)0x0C33) , + /// + /// Original was GL_RENDER_MODE = 0x0C40 + /// + RenderMode = ((int)0x0C40) , + /// + /// Original was GL_PERSPECTIVE_CORRECTION_HINT = 0x0C50 + /// + PerspectiveCorrectionHint = ((int)0x0C50) , + /// + /// Original was GL_POINT_SMOOTH_HINT = 0x0C51 + /// + PointSmoothHint = ((int)0x0C51) , + /// + /// Original was GL_LINE_SMOOTH_HINT = 0x0C52 + /// + LineSmoothHint = ((int)0x0C52) , + /// + /// Original was GL_POLYGON_SMOOTH_HINT = 0x0C53 + /// + PolygonSmoothHint = ((int)0x0C53) , + /// + /// Original was GL_FOG_HINT = 0x0C54 + /// + FogHint = ((int)0x0C54) , + /// + /// Original was GL_TEXTURE_GEN_S = 0x0C60 + /// + TextureGenS = ((int)0x0C60) , + /// + /// Original was GL_TEXTURE_GEN_T = 0x0C61 + /// + TextureGenT = ((int)0x0C61) , + /// + /// Original was GL_TEXTURE_GEN_R = 0x0C62 + /// + TextureGenR = ((int)0x0C62) , + /// + /// Original was GL_TEXTURE_GEN_Q = 0x0C63 + /// + TextureGenQ = ((int)0x0C63) , + /// + /// Original was GL_PIXEL_MAP_I_TO_I = 0x0C70 + /// + PixelMapIToI = ((int)0x0C70) , + /// + /// Original was GL_PIXEL_MAP_S_TO_S = 0x0C71 + /// + PixelMapSToS = ((int)0x0C71) , + /// + /// Original was GL_PIXEL_MAP_I_TO_R = 0x0C72 + /// + PixelMapIToR = ((int)0x0C72) , + /// + /// Original was GL_PIXEL_MAP_I_TO_G = 0x0C73 + /// + PixelMapIToG = ((int)0x0C73) , + /// + /// Original was GL_PIXEL_MAP_I_TO_B = 0x0C74 + /// + PixelMapIToB = ((int)0x0C74) , + /// + /// Original was GL_PIXEL_MAP_I_TO_A = 0x0C75 + /// + PixelMapIToA = ((int)0x0C75) , + /// + /// Original was GL_PIXEL_MAP_R_TO_R = 0x0C76 + /// + PixelMapRToR = ((int)0x0C76) , + /// + /// Original was GL_PIXEL_MAP_G_TO_G = 0x0C77 + /// + PixelMapGToG = ((int)0x0C77) , + /// + /// Original was GL_PIXEL_MAP_B_TO_B = 0x0C78 + /// + PixelMapBToB = ((int)0x0C78) , + /// + /// Original was GL_PIXEL_MAP_A_TO_A = 0x0C79 + /// + PixelMapAToA = ((int)0x0C79) , + /// + /// Original was GL_PIXEL_MAP_I_TO_I_SIZE = 0x0CB0 + /// + PixelMapIToISize = ((int)0x0CB0) , + /// + /// Original was GL_PIXEL_MAP_S_TO_S_SIZE = 0x0CB1 + /// + PixelMapSToSSize = ((int)0x0CB1) , + /// + /// Original was GL_PIXEL_MAP_I_TO_R_SIZE = 0x0CB2 + /// + PixelMapIToRSize = ((int)0x0CB2) , + /// + /// Original was GL_PIXEL_MAP_I_TO_G_SIZE = 0x0CB3 + /// + PixelMapIToGSize = ((int)0x0CB3) , + /// + /// Original was GL_PIXEL_MAP_I_TO_B_SIZE = 0x0CB4 + /// + PixelMapIToBSize = ((int)0x0CB4) , + /// + /// Original was GL_PIXEL_MAP_I_TO_A_SIZE = 0x0CB5 + /// + PixelMapIToASize = ((int)0x0CB5) , + /// + /// Original was GL_PIXEL_MAP_R_TO_R_SIZE = 0x0CB6 + /// + PixelMapRToRSize = ((int)0x0CB6) , + /// + /// Original was GL_PIXEL_MAP_G_TO_G_SIZE = 0x0CB7 + /// + PixelMapGToGSize = ((int)0x0CB7) , + /// + /// Original was GL_PIXEL_MAP_B_TO_B_SIZE = 0x0CB8 + /// + PixelMapBToBSize = ((int)0x0CB8) , + /// + /// Original was GL_PIXEL_MAP_A_TO_A_SIZE = 0x0CB9 + /// + PixelMapAToASize = ((int)0x0CB9) , + /// + /// Original was GL_UNPACK_SWAP_BYTES = 0x0CF0 + /// + UnpackSwapBytes = ((int)0x0CF0) , + /// + /// Original was GL_UNPACK_LSB_FIRST = 0x0CF1 + /// + UnpackLsbFirst = ((int)0x0CF1) , + /// + /// Original was GL_UNPACK_ROW_LENGTH = 0x0CF2 + /// + UnpackRowLength = ((int)0x0CF2) , + /// + /// Original was GL_UNPACK_SKIP_ROWS = 0x0CF3 + /// + UnpackSkipRows = ((int)0x0CF3) , + /// + /// Original was GL_UNPACK_SKIP_PIXELS = 0x0CF4 + /// + UnpackSkipPixels = ((int)0x0CF4) , + /// + /// Original was GL_UNPACK_ALIGNMENT = 0x0CF5 + /// + UnpackAlignment = ((int)0x0CF5) , + /// + /// Original was GL_PACK_SWAP_BYTES = 0x0D00 + /// + PackSwapBytes = ((int)0x0D00) , + /// + /// Original was GL_PACK_LSB_FIRST = 0x0D01 + /// + PackLsbFirst = ((int)0x0D01) , + /// + /// Original was GL_PACK_ROW_LENGTH = 0x0D02 + /// + PackRowLength = ((int)0x0D02) , + /// + /// Original was GL_PACK_SKIP_ROWS = 0x0D03 + /// + PackSkipRows = ((int)0x0D03) , + /// + /// Original was GL_PACK_SKIP_PIXELS = 0x0D04 + /// + PackSkipPixels = ((int)0x0D04) , + /// + /// Original was GL_PACK_ALIGNMENT = 0x0D05 + /// + PackAlignment = ((int)0x0D05) , + /// + /// Original was GL_MAP_COLOR = 0x0D10 + /// + MapColor = ((int)0x0D10) , + /// + /// Original was GL_MAP_STENCIL = 0x0D11 + /// + MapStencil = ((int)0x0D11) , + /// + /// Original was GL_INDEX_SHIFT = 0x0D12 + /// + IndexShift = ((int)0x0D12) , + /// + /// Original was GL_INDEX_OFFSET = 0x0D13 + /// + IndexOffset = ((int)0x0D13) , + /// + /// Original was GL_RED_SCALE = 0x0D14 + /// + RedScale = ((int)0x0D14) , + /// + /// Original was GL_RED_BIAS = 0x0D15 + /// + RedBias = ((int)0x0D15) , + /// + /// Original was GL_ZOOM_X = 0x0D16 + /// + ZoomX = ((int)0x0D16) , + /// + /// Original was GL_ZOOM_Y = 0x0D17 + /// + ZoomY = ((int)0x0D17) , + /// + /// Original was GL_GREEN_SCALE = 0x0D18 + /// + GreenScale = ((int)0x0D18) , + /// + /// Original was GL_GREEN_BIAS = 0x0D19 + /// + GreenBias = ((int)0x0D19) , + /// + /// Original was GL_BLUE_SCALE = 0x0D1A + /// + BlueScale = ((int)0x0D1A) , + /// + /// Original was GL_BLUE_BIAS = 0x0D1B + /// + BlueBias = ((int)0x0D1B) , + /// + /// Original was GL_ALPHA_SCALE = 0x0D1C + /// + AlphaScale = ((int)0x0D1C) , + /// + /// Original was GL_ALPHA_BIAS = 0x0D1D + /// + AlphaBias = ((int)0x0D1D) , + /// + /// Original was GL_DEPTH_SCALE = 0x0D1E + /// + DepthScale = ((int)0x0D1E) , + /// + /// Original was GL_DEPTH_BIAS = 0x0D1F + /// + DepthBias = ((int)0x0D1F) , + /// + /// Original was GL_MAX_EVAL_ORDER = 0x0D30 + /// + MaxEvalOrder = ((int)0x0D30) , + /// + /// Original was GL_MAX_LIGHTS = 0x0D31 + /// + MaxLights = ((int)0x0D31) , + /// + /// Original was GL_MAX_CLIP_DISTANCES = 0x0D32 + /// + MaxClipDistances = ((int)0x0D32) , + /// + /// Original was GL_MAX_CLIP_PLANES = 0x0D32 + /// + MaxClipPlanes = ((int)0x0D32) , + /// + /// Original was GL_MAX_TEXTURE_SIZE = 0x0D33 + /// + MaxTextureSize = ((int)0x0D33) , + /// + /// Original was GL_MAX_PIXEL_MAP_TABLE = 0x0D34 + /// + MaxPixelMapTable = ((int)0x0D34) , + /// + /// Original was GL_MAX_ATTRIB_STACK_DEPTH = 0x0D35 + /// + MaxAttribStackDepth = ((int)0x0D35) , + /// + /// Original was GL_MAX_MODELVIEW_STACK_DEPTH = 0x0D36 + /// + MaxModelviewStackDepth = ((int)0x0D36) , + /// + /// Original was GL_MAX_NAME_STACK_DEPTH = 0x0D37 + /// + MaxNameStackDepth = ((int)0x0D37) , + /// + /// Original was GL_MAX_PROJECTION_STACK_DEPTH = 0x0D38 + /// + MaxProjectionStackDepth = ((int)0x0D38) , + /// + /// Original was GL_MAX_TEXTURE_STACK_DEPTH = 0x0D39 + /// + MaxTextureStackDepth = ((int)0x0D39) , + /// + /// Original was GL_MAX_VIEWPORT_DIMS = 0x0D3A + /// + MaxViewportDims = ((int)0x0D3A) , + /// + /// Original was GL_MAX_CLIENT_ATTRIB_STACK_DEPTH = 0x0D3B + /// + MaxClientAttribStackDepth = ((int)0x0D3B) , + /// + /// Original was GL_SUBPIXEL_BITS = 0x0D50 + /// + SubpixelBits = ((int)0x0D50) , + /// + /// Original was GL_INDEX_BITS = 0x0D51 + /// + IndexBits = ((int)0x0D51) , + /// + /// Original was GL_RED_BITS = 0x0D52 + /// + RedBits = ((int)0x0D52) , + /// + /// Original was GL_GREEN_BITS = 0x0D53 + /// + GreenBits = ((int)0x0D53) , + /// + /// Original was GL_BLUE_BITS = 0x0D54 + /// + BlueBits = ((int)0x0D54) , + /// + /// Original was GL_ALPHA_BITS = 0x0D55 + /// + AlphaBits = ((int)0x0D55) , + /// + /// Original was GL_DEPTH_BITS = 0x0D56 + /// + DepthBits = ((int)0x0D56) , + /// + /// Original was GL_STENCIL_BITS = 0x0D57 + /// + StencilBits = ((int)0x0D57) , + /// + /// Original was GL_ACCUM_RED_BITS = 0x0D58 + /// + AccumRedBits = ((int)0x0D58) , + /// + /// Original was GL_ACCUM_GREEN_BITS = 0x0D59 + /// + AccumGreenBits = ((int)0x0D59) , + /// + /// Original was GL_ACCUM_BLUE_BITS = 0x0D5A + /// + AccumBlueBits = ((int)0x0D5A) , + /// + /// Original was GL_ACCUM_ALPHA_BITS = 0x0D5B + /// + AccumAlphaBits = ((int)0x0D5B) , + /// + /// Original was GL_NAME_STACK_DEPTH = 0x0D70 + /// + NameStackDepth = ((int)0x0D70) , + /// + /// Original was GL_AUTO_NORMAL = 0x0D80 + /// + AutoNormal = ((int)0x0D80) , + /// + /// Original was GL_MAP1_COLOR_4 = 0x0D90 + /// + Map1Color4 = ((int)0x0D90) , + /// + /// Original was GL_MAP1_INDEX = 0x0D91 + /// + Map1Index = ((int)0x0D91) , + /// + /// Original was GL_MAP1_NORMAL = 0x0D92 + /// + Map1Normal = ((int)0x0D92) , + /// + /// Original was GL_MAP1_TEXTURE_COORD_1 = 0x0D93 + /// + Map1TextureCoord1 = ((int)0x0D93) , + /// + /// Original was GL_MAP1_TEXTURE_COORD_2 = 0x0D94 + /// + Map1TextureCoord2 = ((int)0x0D94) , + /// + /// Original was GL_MAP1_TEXTURE_COORD_3 = 0x0D95 + /// + Map1TextureCoord3 = ((int)0x0D95) , + /// + /// Original was GL_MAP1_TEXTURE_COORD_4 = 0x0D96 + /// + Map1TextureCoord4 = ((int)0x0D96) , + /// + /// Original was GL_MAP1_VERTEX_3 = 0x0D97 + /// + Map1Vertex3 = ((int)0x0D97) , + /// + /// Original was GL_MAP1_VERTEX_4 = 0x0D98 + /// + Map1Vertex4 = ((int)0x0D98) , + /// + /// Original was GL_MAP2_COLOR_4 = 0x0DB0 + /// + Map2Color4 = ((int)0x0DB0) , + /// + /// Original was GL_MAP2_INDEX = 0x0DB1 + /// + Map2Index = ((int)0x0DB1) , + /// + /// Original was GL_MAP2_NORMAL = 0x0DB2 + /// + Map2Normal = ((int)0x0DB2) , + /// + /// Original was GL_MAP2_TEXTURE_COORD_1 = 0x0DB3 + /// + Map2TextureCoord1 = ((int)0x0DB3) , + /// + /// Original was GL_MAP2_TEXTURE_COORD_2 = 0x0DB4 + /// + Map2TextureCoord2 = ((int)0x0DB4) , + /// + /// Original was GL_MAP2_TEXTURE_COORD_3 = 0x0DB5 + /// + Map2TextureCoord3 = ((int)0x0DB5) , + /// + /// Original was GL_MAP2_TEXTURE_COORD_4 = 0x0DB6 + /// + Map2TextureCoord4 = ((int)0x0DB6) , + /// + /// Original was GL_MAP2_VERTEX_3 = 0x0DB7 + /// + Map2Vertex3 = ((int)0x0DB7) , + /// + /// Original was GL_MAP2_VERTEX_4 = 0x0DB8 + /// + Map2Vertex4 = ((int)0x0DB8) , + /// + /// Original was GL_MAP1_GRID_DOMAIN = 0x0DD0 + /// + Map1GridDomain = ((int)0x0DD0) , + /// + /// Original was GL_MAP1_GRID_SEGMENTS = 0x0DD1 + /// + Map1GridSegments = ((int)0x0DD1) , + /// + /// Original was GL_MAP2_GRID_DOMAIN = 0x0DD2 + /// + Map2GridDomain = ((int)0x0DD2) , + /// + /// Original was GL_MAP2_GRID_SEGMENTS = 0x0DD3 + /// + Map2GridSegments = ((int)0x0DD3) , + /// + /// Original was GL_TEXTURE_1D = 0x0DE0 + /// + Texture1D = ((int)0x0DE0) , + /// + /// Original was GL_TEXTURE_2D = 0x0DE1 + /// + Texture2D = ((int)0x0DE1) , + /// + /// Original was GL_FEEDBACK_BUFFER_POINTER = 0x0DF0 + /// + FeedbackBufferPointer = ((int)0x0DF0) , + /// + /// Original was GL_FEEDBACK_BUFFER_SIZE = 0x0DF1 + /// + FeedbackBufferSize = ((int)0x0DF1) , + /// + /// Original was GL_FEEDBACK_BUFFER_TYPE = 0x0DF2 + /// + FeedbackBufferType = ((int)0x0DF2) , + /// + /// Original was GL_SELECTION_BUFFER_POINTER = 0x0DF3 + /// + SelectionBufferPointer = ((int)0x0DF3) , + /// + /// Original was GL_SELECTION_BUFFER_SIZE = 0x0DF4 + /// + SelectionBufferSize = ((int)0x0DF4) , + /// + /// Original was GL_TEXTURE_WIDTH = 0x1000 + /// + TextureWidth = ((int)0x1000) , + /// + /// Original was GL_TEXCOORD1_BIT_PGI = 0x10000000 + /// + Texcoord1BitPgi = ((int)0x10000000) , + /// + /// Original was GL_TEXTURE_HEIGHT = 0x1001 + /// + TextureHeight = ((int)0x1001) , + /// + /// Original was GL_TEXTURE_COMPONENTS = 0x1003 + /// + TextureComponents = ((int)0x1003) , + /// + /// Original was GL_TEXTURE_INTERNAL_FORMAT = 0x1003 + /// + TextureInternalFormat = ((int)0x1003) , + /// + /// Original was GL_TEXTURE_BORDER_COLOR = 0x1004 + /// + TextureBorderColor = ((int)0x1004) , + /// + /// Original was GL_TEXTURE_BORDER = 0x1005 + /// + TextureBorder = ((int)0x1005) , + /// + /// Original was GL_DONT_CARE = 0x1100 + /// + DontCare = ((int)0x1100) , + /// + /// Original was GL_FASTEST = 0x1101 + /// + Fastest = ((int)0x1101) , + /// + /// Original was GL_NICEST = 0x1102 + /// + Nicest = ((int)0x1102) , + /// + /// Original was GL_AMBIENT = 0x1200 + /// + Ambient = ((int)0x1200) , + /// + /// Original was GL_DIFFUSE = 0x1201 + /// + Diffuse = ((int)0x1201) , + /// + /// Original was GL_SPECULAR = 0x1202 + /// + Specular = ((int)0x1202) , + /// + /// Original was GL_POSITION = 0x1203 + /// + Position = ((int)0x1203) , + /// + /// Original was GL_SPOT_DIRECTION = 0x1204 + /// + SpotDirection = ((int)0x1204) , + /// + /// Original was GL_SPOT_EXPONENT = 0x1205 + /// + SpotExponent = ((int)0x1205) , + /// + /// Original was GL_SPOT_CUTOFF = 0x1206 + /// + SpotCutoff = ((int)0x1206) , + /// + /// Original was GL_CONSTANT_ATTENUATION = 0x1207 + /// + ConstantAttenuation = ((int)0x1207) , + /// + /// Original was GL_LINEAR_ATTENUATION = 0x1208 + /// + LinearAttenuation = ((int)0x1208) , + /// + /// Original was GL_QUADRATIC_ATTENUATION = 0x1209 + /// + QuadraticAttenuation = ((int)0x1209) , + /// + /// Original was GL_COMPILE = 0x1300 + /// + Compile = ((int)0x1300) , + /// + /// Original was GL_COMPILE_AND_EXECUTE = 0x1301 + /// + CompileAndExecute = ((int)0x1301) , + /// + /// Original was GL_BYTE = 0x1400 + /// + Byte = ((int)0x1400) , + /// + /// Original was GL_UNSIGNED_BYTE = 0x1401 + /// + UnsignedByte = ((int)0x1401) , + /// + /// Original was GL_SHORT = 0x1402 + /// + Short = ((int)0x1402) , + /// + /// Original was GL_UNSIGNED_SHORT = 0x1403 + /// + UnsignedShort = ((int)0x1403) , + /// + /// Original was GL_INT = 0x1404 + /// + Int = ((int)0x1404) , + /// + /// Original was GL_UNSIGNED_INT = 0x1405 + /// + UnsignedInt = ((int)0x1405) , + /// + /// Original was GL_FLOAT = 0x1406 + /// + Float = ((int)0x1406) , + /// + /// Original was GL_2_BYTES = 0x1407 + /// + Gl2Bytes = ((int)0x1407) , + /// + /// Original was GL_3_BYTES = 0x1408 + /// + Gl3Bytes = ((int)0x1408) , + /// + /// Original was GL_4_BYTES = 0x1409 + /// + Gl4Bytes = ((int)0x1409) , + /// + /// Original was GL_DOUBLE = 0x140A + /// + Double = ((int)0x140A) , + /// + /// Original was GL_DOUBLE_EXT = 0x140A + /// + DoubleExt = ((int)0x140A) , + /// + /// Original was GL_HALF_APPLE = 0x140B + /// + HalfApple = ((int)0x140B) , + /// + /// Original was GL_HALF_FLOAT = 0x140B + /// + HalfFloat = ((int)0x140B) , + /// + /// Original was GL_HALF_FLOAT_ARB = 0x140B + /// + HalfFloatArb = ((int)0x140B) , + /// + /// Original was GL_HALF_FLOAT_NV = 0x140B + /// + HalfFloatNv = ((int)0x140B) , + /// + /// Original was GL_FIXED = 0x140C + /// + Fixed = ((int)0x140C) , + /// + /// Original was GL_FIXED_OES = 0x140C + /// + FixedOes = ((int)0x140C) , + /// + /// Original was GL_INT64_NV = 0x140E + /// + Int64Nv = ((int)0x140E) , + /// + /// Original was GL_UNSIGNED_INT64_NV = 0x140F + /// + UnsignedInt64Nv = ((int)0x140F) , + /// + /// Original was GL_CLEAR = 0x1500 + /// + Clear = ((int)0x1500) , + /// + /// Original was GL_AND = 0x1501 + /// + And = ((int)0x1501) , + /// + /// Original was GL_AND_REVERSE = 0x1502 + /// + AndReverse = ((int)0x1502) , + /// + /// Original was GL_COPY = 0x1503 + /// + Copy = ((int)0x1503) , + /// + /// Original was GL_AND_INVERTED = 0x1504 + /// + AndInverted = ((int)0x1504) , + /// + /// Original was GL_NOOP = 0x1505 + /// + Noop = ((int)0x1505) , + /// + /// Original was GL_XOR = 0x1506 + /// + Xor = ((int)0x1506) , + /// + /// Original was GL_OR = 0x1507 + /// + Or = ((int)0x1507) , + /// + /// Original was GL_NOR = 0x1508 + /// + Nor = ((int)0x1508) , + /// + /// Original was GL_EQUIV = 0x1509 + /// + Equiv = ((int)0x1509) , + /// + /// Original was GL_INVERT = 0x150A + /// + Invert = ((int)0x150A) , + /// + /// Original was GL_OR_REVERSE = 0x150B + /// + OrReverse = ((int)0x150B) , + /// + /// Original was GL_COPY_INVERTED = 0x150C + /// + CopyInverted = ((int)0x150C) , + /// + /// Original was GL_OR_INVERTED = 0x150D + /// + OrInverted = ((int)0x150D) , + /// + /// Original was GL_NAND = 0x150E + /// + Nand = ((int)0x150E) , + /// + /// Original was GL_SET = 0x150F + /// + Set = ((int)0x150F) , + /// + /// Original was GL_EMISSION = 0x1600 + /// + Emission = ((int)0x1600) , + /// + /// Original was GL_SHININESS = 0x1601 + /// + Shininess = ((int)0x1601) , + /// + /// Original was GL_AMBIENT_AND_DIFFUSE = 0x1602 + /// + AmbientAndDiffuse = ((int)0x1602) , + /// + /// Original was GL_COLOR_INDEXES = 0x1603 + /// + ColorIndexes = ((int)0x1603) , + /// + /// Original was GL_MODELVIEW = 0x1700 + /// + Modelview = ((int)0x1700) , + /// + /// Original was GL_MODELVIEW0_ARB = 0x1700 + /// + Modelview0Arb = ((int)0x1700) , + /// + /// Original was GL_MODELVIEW0_EXT = 0x1700 + /// + Modelview0Ext = ((int)0x1700) , + /// + /// Original was GL_PROJECTION = 0x1701 + /// + Projection = ((int)0x1701) , + /// + /// Original was GL_TEXTURE = 0x1702 + /// + Texture = ((int)0x1702) , + /// + /// Original was GL_COLOR = 0x1800 + /// + Color = ((int)0x1800) , + /// + /// Original was GL_COLOR_EXT = 0x1800 + /// + ColorExt = ((int)0x1800) , + /// + /// Original was GL_DEPTH = 0x1801 + /// + Depth = ((int)0x1801) , + /// + /// Original was GL_DEPTH_EXT = 0x1801 + /// + DepthExt = ((int)0x1801) , + /// + /// Original was GL_STENCIL = 0x1802 + /// + Stencil = ((int)0x1802) , + /// + /// Original was GL_STENCIL_EXT = 0x1802 + /// + StencilExt = ((int)0x1802) , + /// + /// Original was GL_COLOR_INDEX = 0x1900 + /// + ColorIndex = ((int)0x1900) , + /// + /// Original was GL_STENCIL_INDEX = 0x1901 + /// + StencilIndex = ((int)0x1901) , + /// + /// Original was GL_DEPTH_COMPONENT = 0x1902 + /// + DepthComponent = ((int)0x1902) , + /// + /// Original was GL_RED = 0x1903 + /// + Red = ((int)0x1903) , + /// + /// Original was GL_GREEN = 0x1904 + /// + Green = ((int)0x1904) , + /// + /// Original was GL_BLUE = 0x1905 + /// + Blue = ((int)0x1905) , + /// + /// Original was GL_ALPHA = 0x1906 + /// + Alpha = ((int)0x1906) , + /// + /// Original was GL_RGB = 0x1907 + /// + Rgb = ((int)0x1907) , + /// + /// Original was GL_RGBA = 0x1908 + /// + Rgba = ((int)0x1908) , + /// + /// Original was GL_LUMINANCE = 0x1909 + /// + Luminance = ((int)0x1909) , + /// + /// Original was GL_LUMINANCE_ALPHA = 0x190A + /// + LuminanceAlpha = ((int)0x190A) , + /// + /// Original was GL_RASTER_POSITION_UNCLIPPED_IBM = 0x19262 + /// + RasterPositionUnclippedIbm = ((int)0x19262) , + /// + /// Original was GL_BITMAP = 0x1A00 + /// + Bitmap = ((int)0x1A00) , + /// + /// Original was GL_PREFER_DOUBLEBUFFER_HINT_PGI = 0x1A1F8 + /// + PreferDoublebufferHintPgi = ((int)0x1A1F8) , + /// + /// Original was GL_CONSERVE_MEMORY_HINT_PGI = 0x1A1FD + /// + ConserveMemoryHintPgi = ((int)0x1A1FD) , + /// + /// Original was GL_RECLAIM_MEMORY_HINT_PGI = 0x1A1FE + /// + ReclaimMemoryHintPgi = ((int)0x1A1FE) , + /// + /// Original was GL_NATIVE_GRAPHICS_HANDLE_PGI = 0x1A202 + /// + NativeGraphicsHandlePgi = ((int)0x1A202) , + /// + /// Original was GL_NATIVE_GRAPHICS_BEGIN_HINT_PGI = 0x1A203 + /// + NativeGraphicsBeginHintPgi = ((int)0x1A203) , + /// + /// Original was GL_NATIVE_GRAPHICS_END_HINT_PGI = 0x1A204 + /// + NativeGraphicsEndHintPgi = ((int)0x1A204) , + /// + /// Original was GL_ALWAYS_FAST_HINT_PGI = 0x1A20C + /// + AlwaysFastHintPgi = ((int)0x1A20C) , + /// + /// Original was GL_ALWAYS_SOFT_HINT_PGI = 0x1A20D + /// + AlwaysSoftHintPgi = ((int)0x1A20D) , + /// + /// Original was GL_ALLOW_DRAW_OBJ_HINT_PGI = 0x1A20E + /// + AllowDrawObjHintPgi = ((int)0x1A20E) , + /// + /// Original was GL_ALLOW_DRAW_WIN_HINT_PGI = 0x1A20F + /// + AllowDrawWinHintPgi = ((int)0x1A20F) , + /// + /// Original was GL_ALLOW_DRAW_FRG_HINT_PGI = 0x1A210 + /// + AllowDrawFrgHintPgi = ((int)0x1A210) , + /// + /// Original was GL_ALLOW_DRAW_MEM_HINT_PGI = 0x1A211 + /// + AllowDrawMemHintPgi = ((int)0x1A211) , + /// + /// Original was GL_STRICT_DEPTHFUNC_HINT_PGI = 0x1A216 + /// + StrictDepthfuncHintPgi = ((int)0x1A216) , + /// + /// Original was GL_STRICT_LIGHTING_HINT_PGI = 0x1A217 + /// + StrictLightingHintPgi = ((int)0x1A217) , + /// + /// Original was GL_STRICT_SCISSOR_HINT_PGI = 0x1A218 + /// + StrictScissorHintPgi = ((int)0x1A218) , + /// + /// Original was GL_FULL_STIPPLE_HINT_PGI = 0x1A219 + /// + FullStippleHintPgi = ((int)0x1A219) , + /// + /// Original was GL_CLIP_NEAR_HINT_PGI = 0x1A220 + /// + ClipNearHintPgi = ((int)0x1A220) , + /// + /// Original was GL_CLIP_FAR_HINT_PGI = 0x1A221 + /// + ClipFarHintPgi = ((int)0x1A221) , + /// + /// Original was GL_WIDE_LINE_HINT_PGI = 0x1A222 + /// + WideLineHintPgi = ((int)0x1A222) , + /// + /// Original was GL_BACK_NORMALS_HINT_PGI = 0x1A223 + /// + BackNormalsHintPgi = ((int)0x1A223) , + /// + /// Original was GL_VERTEX_DATA_HINT_PGI = 0x1A22A + /// + VertexDataHintPgi = ((int)0x1A22A) , + /// + /// Original was GL_VERTEX_CONSISTENT_HINT_PGI = 0x1A22B + /// + VertexConsistentHintPgi = ((int)0x1A22B) , + /// + /// Original was GL_MATERIAL_SIDE_HINT_PGI = 0x1A22C + /// + MaterialSideHintPgi = ((int)0x1A22C) , + /// + /// Original was GL_MAX_VERTEX_HINT_PGI = 0x1A22D + /// + MaxVertexHintPgi = ((int)0x1A22D) , + /// + /// Original was GL_POINT = 0x1B00 + /// + Point = ((int)0x1B00) , + /// + /// Original was GL_LINE = 0x1B01 + /// + Line = ((int)0x1B01) , + /// + /// Original was GL_FILL = 0x1B02 + /// + Fill = ((int)0x1B02) , + /// + /// Original was GL_RENDER = 0x1C00 + /// + Render = ((int)0x1C00) , + /// + /// Original was GL_FEEDBACK = 0x1C01 + /// + Feedback = ((int)0x1C01) , + /// + /// Original was GL_SELECT = 0x1C02 + /// + Select = ((int)0x1C02) , + /// + /// Original was GL_FLAT = 0x1D00 + /// + Flat = ((int)0x1D00) , + /// + /// Original was GL_SMOOTH = 0x1D01 + /// + Smooth = ((int)0x1D01) , + /// + /// Original was GL_KEEP = 0x1E00 + /// + Keep = ((int)0x1E00) , + /// + /// Original was GL_REPLACE = 0x1E01 + /// + Replace = ((int)0x1E01) , + /// + /// Original was GL_INCR = 0x1E02 + /// + Incr = ((int)0x1E02) , + /// + /// Original was GL_DECR = 0x1E03 + /// + Decr = ((int)0x1E03) , + /// + /// Original was GL_VENDOR = 0x1F00 + /// + Vendor = ((int)0x1F00) , + /// + /// Original was GL_RENDERER = 0x1F01 + /// + Renderer = ((int)0x1F01) , + /// + /// Original was GL_VERSION = 0x1F02 + /// + Version = ((int)0x1F02) , + /// + /// Original was GL_EXTENSIONS = 0x1F03 + /// + Extensions = ((int)0x1F03) , + /// + /// Original was GL_S = 0x2000 + /// + S = ((int)0x2000) , + /// + /// Original was GL_MULTISAMPLE_BIT = 0x20000000 + /// + MultisampleBit = ((int)0x20000000) , + /// + /// Original was GL_MULTISAMPLE_BIT_3DFX = 0x20000000 + /// + MultisampleBit3Dfx = ((int)0x20000000) , + /// + /// Original was GL_MULTISAMPLE_BIT_ARB = 0x20000000 + /// + MultisampleBitArb = ((int)0x20000000) , + /// + /// Original was GL_MULTISAMPLE_BIT_EXT = 0x20000000 + /// + MultisampleBitExt = ((int)0x20000000) , + /// + /// Original was GL_TEXCOORD2_BIT_PGI = 0x20000000 + /// + Texcoord2BitPgi = ((int)0x20000000) , + /// + /// Original was GL_T = 0x2001 + /// + T = ((int)0x2001) , + /// + /// Original was GL_R = 0x2002 + /// + R = ((int)0x2002) , + /// + /// Original was GL_Q = 0x2003 + /// + Q = ((int)0x2003) , + /// + /// Original was GL_MODULATE = 0x2100 + /// + Modulate = ((int)0x2100) , + /// + /// Original was GL_DECAL = 0x2101 + /// + Decal = ((int)0x2101) , + /// + /// Original was GL_TEXTURE_ENV_MODE = 0x2200 + /// + TextureEnvMode = ((int)0x2200) , + /// + /// Original was GL_TEXTURE_ENV_COLOR = 0x2201 + /// + TextureEnvColor = ((int)0x2201) , + /// + /// Original was GL_TEXTURE_ENV = 0x2300 + /// + TextureEnv = ((int)0x2300) , + /// + /// Original was GL_EYE_LINEAR = 0x2400 + /// + EyeLinear = ((int)0x2400) , + /// + /// Original was GL_OBJECT_LINEAR = 0x2401 + /// + ObjectLinear = ((int)0x2401) , + /// + /// Original was GL_SPHERE_MAP = 0x2402 + /// + SphereMap = ((int)0x2402) , + /// + /// Original was GL_TEXTURE_GEN_MODE = 0x2500 + /// + TextureGenMode = ((int)0x2500) , + /// + /// Original was GL_OBJECT_PLANE = 0x2501 + /// + ObjectPlane = ((int)0x2501) , + /// + /// Original was GL_EYE_PLANE = 0x2502 + /// + EyePlane = ((int)0x2502) , + /// + /// Original was GL_NEAREST = 0x2600 + /// + Nearest = ((int)0x2600) , + /// + /// Original was GL_LINEAR = 0x2601 + /// + Linear = ((int)0x2601) , + /// + /// Original was GL_NEAREST_MIPMAP_NEAREST = 0x2700 + /// + NearestMipmapNearest = ((int)0x2700) , + /// + /// Original was GL_LINEAR_MIPMAP_NEAREST = 0x2701 + /// + LinearMipmapNearest = ((int)0x2701) , + /// + /// Original was GL_NEAREST_MIPMAP_LINEAR = 0x2702 + /// + NearestMipmapLinear = ((int)0x2702) , + /// + /// Original was GL_LINEAR_MIPMAP_LINEAR = 0x2703 + /// + LinearMipmapLinear = ((int)0x2703) , + /// + /// Original was GL_TEXTURE_MAG_FILTER = 0x2800 + /// + TextureMagFilter = ((int)0x2800) , + /// + /// Original was GL_TEXTURE_MIN_FILTER = 0x2801 + /// + TextureMinFilter = ((int)0x2801) , + /// + /// Original was GL_TEXTURE_WRAP_S = 0x2802 + /// + TextureWrapS = ((int)0x2802) , + /// + /// Original was GL_TEXTURE_WRAP_T = 0x2803 + /// + TextureWrapT = ((int)0x2803) , + /// + /// Original was GL_CLAMP = 0x2900 + /// + Clamp = ((int)0x2900) , + /// + /// Original was GL_REPEAT = 0x2901 + /// + Repeat = ((int)0x2901) , + /// + /// Original was GL_POLYGON_OFFSET_UNITS = 0x2A00 + /// + PolygonOffsetUnits = ((int)0x2A00) , + /// + /// Original was GL_POLYGON_OFFSET_POINT = 0x2A01 + /// + PolygonOffsetPoint = ((int)0x2A01) , + /// + /// Original was GL_POLYGON_OFFSET_LINE = 0x2A02 + /// + PolygonOffsetLine = ((int)0x2A02) , + /// + /// Original was GL_R3_G3_B2 = 0x2A10 + /// + R3G3B2 = ((int)0x2A10) , + /// + /// Original was GL_V2F = 0x2A20 + /// + V2f = ((int)0x2A20) , + /// + /// Original was GL_V3F = 0x2A21 + /// + V3f = ((int)0x2A21) , + /// + /// Original was GL_C4UB_V2F = 0x2A22 + /// + C4ubV2f = ((int)0x2A22) , + /// + /// Original was GL_C4UB_V3F = 0x2A23 + /// + C4ubV3f = ((int)0x2A23) , + /// + /// Original was GL_C3F_V3F = 0x2A24 + /// + C3fV3f = ((int)0x2A24) , + /// + /// Original was GL_N3F_V3F = 0x2A25 + /// + N3fV3f = ((int)0x2A25) , + /// + /// Original was GL_C4F_N3F_V3F = 0x2A26 + /// + C4fN3fV3f = ((int)0x2A26) , + /// + /// Original was GL_T2F_V3F = 0x2A27 + /// + T2fV3f = ((int)0x2A27) , + /// + /// Original was GL_T4F_V4F = 0x2A28 + /// + T4fV4f = ((int)0x2A28) , + /// + /// Original was GL_T2F_C4UB_V3F = 0x2A29 + /// + T2fC4ubV3f = ((int)0x2A29) , + /// + /// Original was GL_T2F_C3F_V3F = 0x2A2A + /// + T2fC3fV3f = ((int)0x2A2A) , + /// + /// Original was GL_T2F_N3F_V3F = 0x2A2B + /// + T2fN3fV3f = ((int)0x2A2B) , + /// + /// Original was GL_T2F_C4F_N3F_V3F = 0x2A2C + /// + T2fC4fN3fV3f = ((int)0x2A2C) , + /// + /// Original was GL_T4F_C4F_N3F_V4F = 0x2A2D + /// + T4fC4fN3fV4f = ((int)0x2A2D) , + /// + /// Original was GL_CLIP_DISTANCE0 = 0x3000 + /// + ClipDistance0 = ((int)0x3000) , + /// + /// Original was GL_CLIP_PLANE0 = 0x3000 + /// + ClipPlane0 = ((int)0x3000) , + /// + /// Original was GL_CLIP_DISTANCE1 = 0x3001 + /// + ClipDistance1 = ((int)0x3001) , + /// + /// Original was GL_CLIP_PLANE1 = 0x3001 + /// + ClipPlane1 = ((int)0x3001) , + /// + /// Original was GL_CLIP_DISTANCE2 = 0x3002 + /// + ClipDistance2 = ((int)0x3002) , + /// + /// Original was GL_CLIP_PLANE2 = 0x3002 + /// + ClipPlane2 = ((int)0x3002) , + /// + /// Original was GL_CLIP_DISTANCE3 = 0x3003 + /// + ClipDistance3 = ((int)0x3003) , + /// + /// Original was GL_CLIP_PLANE3 = 0x3003 + /// + ClipPlane3 = ((int)0x3003) , + /// + /// Original was GL_CLIP_DISTANCE4 = 0x3004 + /// + ClipDistance4 = ((int)0x3004) , + /// + /// Original was GL_CLIP_PLANE4 = 0x3004 + /// + ClipPlane4 = ((int)0x3004) , + /// + /// Original was GL_CLIP_DISTANCE5 = 0x3005 + /// + ClipDistance5 = ((int)0x3005) , + /// + /// Original was GL_CLIP_PLANE5 = 0x3005 + /// + ClipPlane5 = ((int)0x3005) , + /// + /// Original was GL_CLIP_DISTANCE6 = 0x3006 + /// + ClipDistance6 = ((int)0x3006) , + /// + /// Original was GL_CLIP_DISTANCE7 = 0x3007 + /// + ClipDistance7 = ((int)0x3007) , + /// + /// Original was GL_LIGHT0 = 0x4000 + /// + Light0 = ((int)0x4000) , + /// + /// Original was GL_TEXCOORD3_BIT_PGI = 0x40000000 + /// + Texcoord3BitPgi = ((int)0x40000000) , + /// + /// Original was GL_LIGHT1 = 0x4001 + /// + Light1 = ((int)0x4001) , + /// + /// Original was GL_LIGHT2 = 0x4002 + /// + Light2 = ((int)0x4002) , + /// + /// Original was GL_LIGHT3 = 0x4003 + /// + Light3 = ((int)0x4003) , + /// + /// Original was GL_LIGHT4 = 0x4004 + /// + Light4 = ((int)0x4004) , + /// + /// Original was GL_LIGHT5 = 0x4005 + /// + Light5 = ((int)0x4005) , + /// + /// Original was GL_LIGHT6 = 0x4006 + /// + Light6 = ((int)0x4006) , + /// + /// Original was GL_LIGHT7 = 0x4007 + /// + Light7 = ((int)0x4007) , + /// + /// Original was GL_ABGR_EXT = 0x8000 + /// + AbgrExt = ((int)0x8000) , + /// + /// Original was GL_TEXCOORD4_BIT_PGI = 0x80000000 + /// + Texcoord4BitPgi = unchecked((int)0x80000000) , + /// + /// Original was GL_CONSTANT_COLOR = 0x8001 + /// + ConstantColor = ((int)0x8001) , + /// + /// Original was GL_CONSTANT_COLOR_EXT = 0x8001 + /// + ConstantColorExt = ((int)0x8001) , + /// + /// Original was GL_ONE_MINUS_CONSTANT_COLOR = 0x8002 + /// + OneMinusConstantColor = ((int)0x8002) , + /// + /// Original was GL_ONE_MINUS_CONSTANT_COLOR_EXT = 0x8002 + /// + OneMinusConstantColorExt = ((int)0x8002) , + /// + /// Original was GL_CONSTANT_ALPHA = 0x8003 + /// + ConstantAlpha = ((int)0x8003) , + /// + /// Original was GL_CONSTANT_ALPHA_EXT = 0x8003 + /// + ConstantAlphaExt = ((int)0x8003) , + /// + /// Original was GL_ONE_MINUS_CONSTANT_ALPHA = 0x8004 + /// + OneMinusConstantAlpha = ((int)0x8004) , + /// + /// Original was GL_ONE_MINUS_CONSTANT_ALPHA_EXT = 0x8004 + /// + OneMinusConstantAlphaExt = ((int)0x8004) , + /// + /// Original was GL_BLEND_COLOR = 0x8005 + /// + BlendColor = ((int)0x8005) , + /// + /// Original was GL_BLEND_COLOR_EXT = 0x8005 + /// + BlendColorExt = ((int)0x8005) , + /// + /// Original was GL_FUNC_ADD = 0x8006 + /// + FuncAdd = ((int)0x8006) , + /// + /// Original was GL_FUNC_ADD_EXT = 0x8006 + /// + FuncAddExt = ((int)0x8006) , + /// + /// Original was GL_FUNC_ADD_OES = 0x8006 + /// + FuncAddOes = ((int)0x8006) , + /// + /// Original was GL_MIN = 0x8007 + /// + Min = ((int)0x8007) , + /// + /// Original was GL_MIN_EXT = 0x8007 + /// + MinExt = ((int)0x8007) , + /// + /// Original was GL_MAX = 0x8008 + /// + Max = ((int)0x8008) , + /// + /// Original was GL_MAX_EXT = 0x8008 + /// + MaxExt = ((int)0x8008) , + /// + /// Original was GL_BLEND_EQUATION = 0x8009 + /// + BlendEquation = ((int)0x8009) , + /// + /// Original was GL_BLEND_EQUATION_EXT = 0x8009 + /// + BlendEquationExt = ((int)0x8009) , + /// + /// Original was GL_BLEND_EQUATION_OES = 0x8009 + /// + BlendEquationOes = ((int)0x8009) , + /// + /// Original was GL_BLEND_EQUATION_RGB = 0x8009 + /// + BlendEquationRgb = ((int)0x8009) , + /// + /// Original was GL_BLEND_EQUATION_RGB_EXT = 0x8009 + /// + BlendEquationRgbExt = ((int)0x8009) , + /// + /// Original was GL_BLEND_EQUATION_RGB_OES = 0x8009 + /// + BlendEquationRgbOes = ((int)0x8009) , + /// + /// Original was GL_FUNC_SUBTRACT = 0x800A + /// + FuncSubtract = ((int)0x800A) , + /// + /// Original was GL_FUNC_SUBTRACT_EXT = 0x800A + /// + FuncSubtractExt = ((int)0x800A) , + /// + /// Original was GL_FUNC_SUBTRACT_OES = 0x800A + /// + FuncSubtractOes = ((int)0x800A) , + /// + /// Original was GL_FUNC_REVERSE_SUBTRACT = 0x800B + /// + FuncReverseSubtract = ((int)0x800B) , + /// + /// Original was GL_FUNC_REVERSE_SUBTRACT_EXT = 0x800B + /// + FuncReverseSubtractExt = ((int)0x800B) , + /// + /// Original was GL_FUNC_REVERSE_SUBTRACT_OES = 0x800B + /// + FuncReverseSubtractOes = ((int)0x800B) , + /// + /// Original was GL_CMYK_EXT = 0x800C + /// + CmykExt = ((int)0x800C) , + /// + /// Original was GL_CMYKA_EXT = 0x800D + /// + CmykaExt = ((int)0x800D) , + /// + /// Original was GL_PACK_CMYK_HINT_EXT = 0x800E + /// + PackCmykHintExt = ((int)0x800E) , + /// + /// Original was GL_UNPACK_CMYK_HINT_EXT = 0x800F + /// + UnpackCmykHintExt = ((int)0x800F) , + /// + /// Original was GL_CONVOLUTION_1D = 0x8010 + /// + Convolution1D = ((int)0x8010) , + /// + /// Original was GL_CONVOLUTION_1D_EXT = 0x8010 + /// + Convolution1DExt = ((int)0x8010) , + /// + /// Original was GL_CONVOLUTION_2D = 0x8011 + /// + Convolution2D = ((int)0x8011) , + /// + /// Original was GL_CONVOLUTION_2D_EXT = 0x8011 + /// + Convolution2DExt = ((int)0x8011) , + /// + /// Original was GL_SEPARABLE_2D = 0x8012 + /// + Separable2D = ((int)0x8012) , + /// + /// Original was GL_SEPARABLE_2D_EXT = 0x8012 + /// + Separable2DExt = ((int)0x8012) , + /// + /// Original was GL_CONVOLUTION_BORDER_MODE = 0x8013 + /// + ConvolutionBorderMode = ((int)0x8013) , + /// + /// Original was GL_CONVOLUTION_BORDER_MODE_EXT = 0x8013 + /// + ConvolutionBorderModeExt = ((int)0x8013) , + /// + /// Original was GL_CONVOLUTION_FILTER_SCALE = 0x8014 + /// + ConvolutionFilterScale = ((int)0x8014) , + /// + /// Original was GL_CONVOLUTION_FILTER_SCALE_EXT = 0x8014 + /// + ConvolutionFilterScaleExt = ((int)0x8014) , + /// + /// Original was GL_CONVOLUTION_FILTER_BIAS = 0x8015 + /// + ConvolutionFilterBias = ((int)0x8015) , + /// + /// Original was GL_CONVOLUTION_FILTER_BIAS_EXT = 0x8015 + /// + ConvolutionFilterBiasExt = ((int)0x8015) , + /// + /// Original was GL_REDUCE = 0x8016 + /// + Reduce = ((int)0x8016) , + /// + /// Original was GL_REDUCE_EXT = 0x8016 + /// + ReduceExt = ((int)0x8016) , + /// + /// Original was GL_CONVOLUTION_FORMAT = 0x8017 + /// + ConvolutionFormat = ((int)0x8017) , + /// + /// Original was GL_CONVOLUTION_FORMAT_EXT = 0x8017 + /// + ConvolutionFormatExt = ((int)0x8017) , + /// + /// Original was GL_CONVOLUTION_WIDTH = 0x8018 + /// + ConvolutionWidth = ((int)0x8018) , + /// + /// Original was GL_CONVOLUTION_WIDTH_EXT = 0x8018 + /// + ConvolutionWidthExt = ((int)0x8018) , + /// + /// Original was GL_CONVOLUTION_HEIGHT = 0x8019 + /// + ConvolutionHeight = ((int)0x8019) , + /// + /// Original was GL_CONVOLUTION_HEIGHT_EXT = 0x8019 + /// + ConvolutionHeightExt = ((int)0x8019) , + /// + /// Original was GL_MAX_CONVOLUTION_WIDTH = 0x801A + /// + MaxConvolutionWidth = ((int)0x801A) , + /// + /// Original was GL_MAX_CONVOLUTION_WIDTH_EXT = 0x801A + /// + MaxConvolutionWidthExt = ((int)0x801A) , + /// + /// Original was GL_MAX_CONVOLUTION_HEIGHT = 0x801B + /// + MaxConvolutionHeight = ((int)0x801B) , + /// + /// Original was GL_MAX_CONVOLUTION_HEIGHT_EXT = 0x801B + /// + MaxConvolutionHeightExt = ((int)0x801B) , + /// + /// Original was GL_POST_CONVOLUTION_RED_SCALE = 0x801C + /// + PostConvolutionRedScale = ((int)0x801C) , + /// + /// Original was GL_POST_CONVOLUTION_RED_SCALE_EXT = 0x801C + /// + PostConvolutionRedScaleExt = ((int)0x801C) , + /// + /// Original was GL_POST_CONVOLUTION_GREEN_SCALE = 0x801D + /// + PostConvolutionGreenScale = ((int)0x801D) , + /// + /// Original was GL_POST_CONVOLUTION_GREEN_SCALE_EXT = 0x801D + /// + PostConvolutionGreenScaleExt = ((int)0x801D) , + /// + /// Original was GL_POST_CONVOLUTION_BLUE_SCALE = 0x801E + /// + PostConvolutionBlueScale = ((int)0x801E) , + /// + /// Original was GL_POST_CONVOLUTION_BLUE_SCALE_EXT = 0x801E + /// + PostConvolutionBlueScaleExt = ((int)0x801E) , + /// + /// Original was GL_POST_CONVOLUTION_ALPHA_SCALE = 0x801F + /// + PostConvolutionAlphaScale = ((int)0x801F) , + /// + /// Original was GL_POST_CONVOLUTION_ALPHA_SCALE_EXT = 0x801F + /// + PostConvolutionAlphaScaleExt = ((int)0x801F) , + /// + /// Original was GL_POST_CONVOLUTION_RED_BIAS = 0x8020 + /// + PostConvolutionRedBias = ((int)0x8020) , + /// + /// Original was GL_POST_CONVOLUTION_RED_BIAS_EXT = 0x8020 + /// + PostConvolutionRedBiasExt = ((int)0x8020) , + /// + /// Original was GL_POST_CONVOLUTION_GREEN_BIAS = 0x8021 + /// + PostConvolutionGreenBias = ((int)0x8021) , + /// + /// Original was GL_POST_CONVOLUTION_GREEN_BIAS_EXT = 0x8021 + /// + PostConvolutionGreenBiasExt = ((int)0x8021) , + /// + /// Original was GL_POST_CONVOLUTION_BLUE_BIAS = 0x8022 + /// + PostConvolutionBlueBias = ((int)0x8022) , + /// + /// Original was GL_POST_CONVOLUTION_BLUE_BIAS_EXT = 0x8022 + /// + PostConvolutionBlueBiasExt = ((int)0x8022) , + /// + /// Original was GL_POST_CONVOLUTION_ALPHA_BIAS = 0x8023 + /// + PostConvolutionAlphaBias = ((int)0x8023) , + /// + /// Original was GL_POST_CONVOLUTION_ALPHA_BIAS_EXT = 0x8023 + /// + PostConvolutionAlphaBiasExt = ((int)0x8023) , + /// + /// Original was GL_HISTOGRAM = 0x8024 + /// + Histogram = ((int)0x8024) , + /// + /// Original was GL_HISTOGRAM_EXT = 0x8024 + /// + HistogramExt = ((int)0x8024) , + /// + /// Original was GL_PROXY_HISTOGRAM = 0x8025 + /// + ProxyHistogram = ((int)0x8025) , + /// + /// Original was GL_PROXY_HISTOGRAM_EXT = 0x8025 + /// + ProxyHistogramExt = ((int)0x8025) , + /// + /// Original was GL_HISTOGRAM_WIDTH = 0x8026 + /// + HistogramWidth = ((int)0x8026) , + /// + /// Original was GL_HISTOGRAM_WIDTH_EXT = 0x8026 + /// + HistogramWidthExt = ((int)0x8026) , + /// + /// Original was GL_HISTOGRAM_FORMAT = 0x8027 + /// + HistogramFormat = ((int)0x8027) , + /// + /// Original was GL_HISTOGRAM_FORMAT_EXT = 0x8027 + /// + HistogramFormatExt = ((int)0x8027) , + /// + /// Original was GL_HISTOGRAM_RED_SIZE = 0x8028 + /// + HistogramRedSize = ((int)0x8028) , + /// + /// Original was GL_HISTOGRAM_RED_SIZE_EXT = 0x8028 + /// + HistogramRedSizeExt = ((int)0x8028) , + /// + /// Original was GL_HISTOGRAM_GREEN_SIZE = 0x8029 + /// + HistogramGreenSize = ((int)0x8029) , + /// + /// Original was GL_HISTOGRAM_GREEN_SIZE_EXT = 0x8029 + /// + HistogramGreenSizeExt = ((int)0x8029) , + /// + /// Original was GL_HISTOGRAM_BLUE_SIZE = 0x802A + /// + HistogramBlueSize = ((int)0x802A) , + /// + /// Original was GL_HISTOGRAM_BLUE_SIZE_EXT = 0x802A + /// + HistogramBlueSizeExt = ((int)0x802A) , + /// + /// Original was GL_HISTOGRAM_ALPHA_SIZE = 0x802B + /// + HistogramAlphaSize = ((int)0x802B) , + /// + /// Original was GL_HISTOGRAM_ALPHA_SIZE_EXT = 0x802B + /// + HistogramAlphaSizeExt = ((int)0x802B) , + /// + /// Original was GL_HISTOGRAM_LUMINANCE_SIZE = 0x802C + /// + HistogramLuminanceSize = ((int)0x802C) , + /// + /// Original was GL_HISTOGRAM_LUMINANCE_SIZE_EXT = 0x802C + /// + HistogramLuminanceSizeExt = ((int)0x802C) , + /// + /// Original was GL_HISTOGRAM_SINK = 0x802D + /// + HistogramSink = ((int)0x802D) , + /// + /// Original was GL_HISTOGRAM_SINK_EXT = 0x802D + /// + HistogramSinkExt = ((int)0x802D) , + /// + /// Original was GL_MINMAX = 0x802E + /// + Minmax = ((int)0x802E) , + /// + /// Original was GL_MINMAX_EXT = 0x802E + /// + MinmaxExt = ((int)0x802E) , + /// + /// Original was GL_MINMAX_FORMAT = 0x802F + /// + MinmaxFormat = ((int)0x802F) , + /// + /// Original was GL_MINMAX_FORMAT_EXT = 0x802F + /// + MinmaxFormatExt = ((int)0x802F) , + /// + /// Original was GL_MINMAX_SINK = 0x8030 + /// + MinmaxSink = ((int)0x8030) , + /// + /// Original was GL_MINMAX_SINK_EXT = 0x8030 + /// + MinmaxSinkExt = ((int)0x8030) , + /// + /// Original was GL_TABLE_TOO_LARGE = 0x8031 + /// + TableTooLarge = ((int)0x8031) , + /// + /// Original was GL_TABLE_TOO_LARGE_EXT = 0x8031 + /// + TableTooLargeExt = ((int)0x8031) , + /// + /// Original was GL_UNSIGNED_BYTE_3_3_2 = 0x8032 + /// + UnsignedByte332 = ((int)0x8032) , + /// + /// Original was GL_UNSIGNED_BYTE_3_3_2_EXT = 0x8032 + /// + UnsignedByte332Ext = ((int)0x8032) , + /// + /// Original was GL_UNSIGNED_SHORT_4_4_4_4 = 0x8033 + /// + UnsignedShort4444 = ((int)0x8033) , + /// + /// Original was GL_UNSIGNED_SHORT_4_4_4_4_EXT = 0x8033 + /// + UnsignedShort4444Ext = ((int)0x8033) , + /// + /// Original was GL_UNSIGNED_SHORT_5_5_5_1 = 0x8034 + /// + UnsignedShort5551 = ((int)0x8034) , + /// + /// Original was GL_UNSIGNED_SHORT_5_5_5_1_EXT = 0x8034 + /// + UnsignedShort5551Ext = ((int)0x8034) , + /// + /// Original was GL_UNSIGNED_INT_8_8_8_8 = 0x8035 + /// + UnsignedInt8888 = ((int)0x8035) , + /// + /// Original was GL_UNSIGNED_INT_8_8_8_8_EXT = 0x8035 + /// + UnsignedInt8888Ext = ((int)0x8035) , + /// + /// Original was GL_UNSIGNED_INT_10_10_10_2 = 0x8036 + /// + UnsignedInt1010102 = ((int)0x8036) , + /// + /// Original was GL_UNSIGNED_INT_10_10_10_2_EXT = 0x8036 + /// + UnsignedInt1010102Ext = ((int)0x8036) , + /// + /// Original was GL_POLYGON_OFFSET_EXT = 0x8037 + /// + PolygonOffsetExt = ((int)0x8037) , + /// + /// Original was GL_POLYGON_OFFSET_FILL = 0x8037 + /// + PolygonOffsetFill = ((int)0x8037) , + /// + /// Original was GL_POLYGON_OFFSET_FACTOR = 0x8038 + /// + PolygonOffsetFactor = ((int)0x8038) , + /// + /// Original was GL_POLYGON_OFFSET_FACTOR_EXT = 0x8038 + /// + PolygonOffsetFactorExt = ((int)0x8038) , + /// + /// Original was GL_POLYGON_OFFSET_BIAS_EXT = 0x8039 + /// + PolygonOffsetBiasExt = ((int)0x8039) , + /// + /// Original was GL_RESCALE_NORMAL = 0x803A + /// + RescaleNormal = ((int)0x803A) , + /// + /// Original was GL_RESCALE_NORMAL_EXT = 0x803A + /// + RescaleNormalExt = ((int)0x803A) , + /// + /// Original was GL_ALPHA4 = 0x803B + /// + Alpha4 = ((int)0x803B) , + /// + /// Original was GL_ALPHA4_EXT = 0x803B + /// + Alpha4Ext = ((int)0x803B) , + /// + /// Original was GL_ALPHA8 = 0x803C + /// + Alpha8 = ((int)0x803C) , + /// + /// Original was GL_ALPHA8_EXT = 0x803C + /// + Alpha8Ext = ((int)0x803C) , + /// + /// Original was GL_ALPHA12 = 0x803D + /// + Alpha12 = ((int)0x803D) , + /// + /// Original was GL_ALPHA12_EXT = 0x803D + /// + Alpha12Ext = ((int)0x803D) , + /// + /// Original was GL_ALPHA16 = 0x803E + /// + Alpha16 = ((int)0x803E) , + /// + /// Original was GL_ALPHA16_EXT = 0x803E + /// + Alpha16Ext = ((int)0x803E) , + /// + /// Original was GL_LUMINANCE4 = 0x803F + /// + Luminance4 = ((int)0x803F) , + /// + /// Original was GL_LUMINANCE4_EXT = 0x803F + /// + Luminance4Ext = ((int)0x803F) , + /// + /// Original was GL_LUMINANCE8 = 0x8040 + /// + Luminance8 = ((int)0x8040) , + /// + /// Original was GL_LUMINANCE8_EXT = 0x8040 + /// + Luminance8Ext = ((int)0x8040) , + /// + /// Original was GL_LUMINANCE12 = 0x8041 + /// + Luminance12 = ((int)0x8041) , + /// + /// Original was GL_LUMINANCE12_EXT = 0x8041 + /// + Luminance12Ext = ((int)0x8041) , + /// + /// Original was GL_LUMINANCE16 = 0x8042 + /// + Luminance16 = ((int)0x8042) , + /// + /// Original was GL_LUMINANCE16_EXT = 0x8042 + /// + Luminance16Ext = ((int)0x8042) , + /// + /// Original was GL_LUMINANCE4_ALPHA4 = 0x8043 + /// + Luminance4Alpha4 = ((int)0x8043) , + /// + /// Original was GL_LUMINANCE4_ALPHA4_EXT = 0x8043 + /// + Luminance4Alpha4Ext = ((int)0x8043) , + /// + /// Original was GL_LUMINANCE6_ALPHA2 = 0x8044 + /// + Luminance6Alpha2 = ((int)0x8044) , + /// + /// Original was GL_LUMINANCE6_ALPHA2_EXT = 0x8044 + /// + Luminance6Alpha2Ext = ((int)0x8044) , + /// + /// Original was GL_LUMINANCE8_ALPHA8 = 0x8045 + /// + Luminance8Alpha8 = ((int)0x8045) , + /// + /// Original was GL_LUMINANCE8_ALPHA8_EXT = 0x8045 + /// + Luminance8Alpha8Ext = ((int)0x8045) , + /// + /// Original was GL_LUMINANCE12_ALPHA4 = 0x8046 + /// + Luminance12Alpha4 = ((int)0x8046) , + /// + /// Original was GL_LUMINANCE12_ALPHA4_EXT = 0x8046 + /// + Luminance12Alpha4Ext = ((int)0x8046) , + /// + /// Original was GL_LUMINANCE12_ALPHA12 = 0x8047 + /// + Luminance12Alpha12 = ((int)0x8047) , + /// + /// Original was GL_LUMINANCE12_ALPHA12_EXT = 0x8047 + /// + Luminance12Alpha12Ext = ((int)0x8047) , + /// + /// Original was GL_LUMINANCE16_ALPHA16 = 0x8048 + /// + Luminance16Alpha16 = ((int)0x8048) , + /// + /// Original was GL_LUMINANCE16_ALPHA16_EXT = 0x8048 + /// + Luminance16Alpha16Ext = ((int)0x8048) , + /// + /// Original was GL_INTENSITY = 0x8049 + /// + Intensity = ((int)0x8049) , + /// + /// Original was GL_INTENSITY_EXT = 0x8049 + /// + IntensityExt = ((int)0x8049) , + /// + /// Original was GL_INTENSITY4 = 0x804A + /// + Intensity4 = ((int)0x804A) , + /// + /// Original was GL_INTENSITY4_EXT = 0x804A + /// + Intensity4Ext = ((int)0x804A) , + /// + /// Original was GL_INTENSITY8 = 0x804B + /// + Intensity8 = ((int)0x804B) , + /// + /// Original was GL_INTENSITY8_EXT = 0x804B + /// + Intensity8Ext = ((int)0x804B) , + /// + /// Original was GL_INTENSITY12 = 0x804C + /// + Intensity12 = ((int)0x804C) , + /// + /// Original was GL_INTENSITY12_EXT = 0x804C + /// + Intensity12Ext = ((int)0x804C) , + /// + /// Original was GL_INTENSITY16 = 0x804D + /// + Intensity16 = ((int)0x804D) , + /// + /// Original was GL_INTENSITY16_EXT = 0x804D + /// + Intensity16Ext = ((int)0x804D) , + /// + /// Original was GL_RGB2_EXT = 0x804E + /// + Rgb2Ext = ((int)0x804E) , + /// + /// Original was GL_RGB4 = 0x804F + /// + Rgb4 = ((int)0x804F) , + /// + /// Original was GL_RGB4_EXT = 0x804F + /// + Rgb4Ext = ((int)0x804F) , + /// + /// Original was GL_RGB5 = 0x8050 + /// + Rgb5 = ((int)0x8050) , + /// + /// Original was GL_RGB5_EXT = 0x8050 + /// + Rgb5Ext = ((int)0x8050) , + /// + /// Original was GL_RGB8 = 0x8051 + /// + Rgb8 = ((int)0x8051) , + /// + /// Original was GL_RGB8_EXT = 0x8051 + /// + Rgb8Ext = ((int)0x8051) , + /// + /// Original was GL_RGB10 = 0x8052 + /// + Rgb10 = ((int)0x8052) , + /// + /// Original was GL_RGB10_EXT = 0x8052 + /// + Rgb10Ext = ((int)0x8052) , + /// + /// Original was GL_RGB12 = 0x8053 + /// + Rgb12 = ((int)0x8053) , + /// + /// Original was GL_RGB12_EXT = 0x8053 + /// + Rgb12Ext = ((int)0x8053) , + /// + /// Original was GL_RGB16 = 0x8054 + /// + Rgb16 = ((int)0x8054) , + /// + /// Original was GL_RGB16_EXT = 0x8054 + /// + Rgb16Ext = ((int)0x8054) , + /// + /// Original was GL_RGBA2 = 0x8055 + /// + Rgba2 = ((int)0x8055) , + /// + /// Original was GL_RGBA2_EXT = 0x8055 + /// + Rgba2Ext = ((int)0x8055) , + /// + /// Original was GL_RGBA4 = 0x8056 + /// + Rgba4 = ((int)0x8056) , + /// + /// Original was GL_RGBA4_EXT = 0x8056 + /// + Rgba4Ext = ((int)0x8056) , + /// + /// Original was GL_RGBA4_OES = 0x8056 + /// + Rgba4Oes = ((int)0x8056) , + /// + /// Original was GL_RGB5_A1 = 0x8057 + /// + Rgb5A1 = ((int)0x8057) , + /// + /// Original was GL_RGB5_A1_EXT = 0x8057 + /// + Rgb5A1Ext = ((int)0x8057) , + /// + /// Original was GL_RGB5_A1_OES = 0x8057 + /// + Rgb5A1Oes = ((int)0x8057) , + /// + /// Original was GL_RGBA8 = 0x8058 + /// + Rgba8 = ((int)0x8058) , + /// + /// Original was GL_RGBA8_EXT = 0x8058 + /// + Rgba8Ext = ((int)0x8058) , + /// + /// Original was GL_RGB10_A2 = 0x8059 + /// + Rgb10A2 = ((int)0x8059) , + /// + /// Original was GL_RGB10_A2_EXT = 0x8059 + /// + Rgb10A2Ext = ((int)0x8059) , + /// + /// Original was GL_RGBA12 = 0x805A + /// + Rgba12 = ((int)0x805A) , + /// + /// Original was GL_RGBA12_EXT = 0x805A + /// + Rgba12Ext = ((int)0x805A) , + /// + /// Original was GL_RGBA16 = 0x805B + /// + Rgba16 = ((int)0x805B) , + /// + /// Original was GL_RGBA16_EXT = 0x805B + /// + Rgba16Ext = ((int)0x805B) , + /// + /// Original was GL_TEXTURE_RED_SIZE = 0x805C + /// + TextureRedSize = ((int)0x805C) , + /// + /// Original was GL_TEXTURE_RED_SIZE_EXT = 0x805C + /// + TextureRedSizeExt = ((int)0x805C) , + /// + /// Original was GL_TEXTURE_GREEN_SIZE = 0x805D + /// + TextureGreenSize = ((int)0x805D) , + /// + /// Original was GL_TEXTURE_GREEN_SIZE_EXT = 0x805D + /// + TextureGreenSizeExt = ((int)0x805D) , + /// + /// Original was GL_TEXTURE_BLUE_SIZE = 0x805E + /// + TextureBlueSize = ((int)0x805E) , + /// + /// Original was GL_TEXTURE_BLUE_SIZE_EXT = 0x805E + /// + TextureBlueSizeExt = ((int)0x805E) , + /// + /// Original was GL_TEXTURE_ALPHA_SIZE = 0x805F + /// + TextureAlphaSize = ((int)0x805F) , + /// + /// Original was GL_TEXTURE_ALPHA_SIZE_EXT = 0x805F + /// + TextureAlphaSizeExt = ((int)0x805F) , + /// + /// Original was GL_TEXTURE_LUMINANCE_SIZE = 0x8060 + /// + TextureLuminanceSize = ((int)0x8060) , + /// + /// Original was GL_TEXTURE_LUMINANCE_SIZE_EXT = 0x8060 + /// + TextureLuminanceSizeExt = ((int)0x8060) , + /// + /// Original was GL_TEXTURE_INTENSITY_SIZE = 0x8061 + /// + TextureIntensitySize = ((int)0x8061) , + /// + /// Original was GL_TEXTURE_INTENSITY_SIZE_EXT = 0x8061 + /// + TextureIntensitySizeExt = ((int)0x8061) , + /// + /// Original was GL_REPLACE_EXT = 0x8062 + /// + ReplaceExt = ((int)0x8062) , + /// + /// Original was GL_PROXY_TEXTURE_1D = 0x8063 + /// + ProxyTexture1D = ((int)0x8063) , + /// + /// Original was GL_PROXY_TEXTURE_1D_EXT = 0x8063 + /// + ProxyTexture1DExt = ((int)0x8063) , + /// + /// Original was GL_PROXY_TEXTURE_2D = 0x8064 + /// + ProxyTexture2D = ((int)0x8064) , + /// + /// Original was GL_PROXY_TEXTURE_2D_EXT = 0x8064 + /// + ProxyTexture2DExt = ((int)0x8064) , + /// + /// Original was GL_TEXTURE_TOO_LARGE_EXT = 0x8065 + /// + TextureTooLargeExt = ((int)0x8065) , + /// + /// Original was GL_TEXTURE_PRIORITY = 0x8066 + /// + TexturePriority = ((int)0x8066) , + /// + /// Original was GL_TEXTURE_PRIORITY_EXT = 0x8066 + /// + TexturePriorityExt = ((int)0x8066) , + /// + /// Original was GL_TEXTURE_RESIDENT = 0x8067 + /// + TextureResident = ((int)0x8067) , + /// + /// Original was GL_TEXTURE_RESIDENT_EXT = 0x8067 + /// + TextureResidentExt = ((int)0x8067) , + /// + /// Original was GL_TEXTURE_1D_BINDING_EXT = 0x8068 + /// + Texture1DBindingExt = ((int)0x8068) , + /// + /// Original was GL_TEXTURE_BINDING_1D = 0x8068 + /// + TextureBinding1D = ((int)0x8068) , + /// + /// Original was GL_TEXTURE_2D_BINDING_EXT = 0x8069 + /// + Texture2DBindingExt = ((int)0x8069) , + /// + /// Original was GL_TEXTURE_BINDING_2D = 0x8069 + /// + TextureBinding2D = ((int)0x8069) , + /// + /// Original was GL_TEXTURE_3D_BINDING_EXT = 0x806A + /// + Texture3DBindingExt = ((int)0x806A) , + /// + /// Original was GL_TEXTURE_3D_BINDING_OES = 0x806A + /// + Texture3DBindingOes = ((int)0x806A) , + /// + /// Original was GL_TEXTURE_BINDING_3D = 0x806A + /// + TextureBinding3D = ((int)0x806A) , + /// + /// Original was GL_PACK_SKIP_IMAGES = 0x806B + /// + PackSkipImages = ((int)0x806B) , + /// + /// Original was GL_PACK_SKIP_IMAGES_EXT = 0x806B + /// + PackSkipImagesExt = ((int)0x806B) , + /// + /// Original was GL_PACK_IMAGE_HEIGHT = 0x806C + /// + PackImageHeight = ((int)0x806C) , + /// + /// Original was GL_PACK_IMAGE_HEIGHT_EXT = 0x806C + /// + PackImageHeightExt = ((int)0x806C) , + /// + /// Original was GL_UNPACK_SKIP_IMAGES = 0x806D + /// + UnpackSkipImages = ((int)0x806D) , + /// + /// Original was GL_UNPACK_SKIP_IMAGES_EXT = 0x806D + /// + UnpackSkipImagesExt = ((int)0x806D) , + /// + /// Original was GL_UNPACK_IMAGE_HEIGHT = 0x806E + /// + UnpackImageHeight = ((int)0x806E) , + /// + /// Original was GL_UNPACK_IMAGE_HEIGHT_EXT = 0x806E + /// + UnpackImageHeightExt = ((int)0x806E) , + /// + /// Original was GL_TEXTURE_3D = 0x806F + /// + Texture3D = ((int)0x806F) , + /// + /// Original was GL_TEXTURE_3D_EXT = 0x806F + /// + Texture3DExt = ((int)0x806F) , + /// + /// Original was GL_TEXTURE_3D_OES = 0x806F + /// + Texture3DOes = ((int)0x806F) , + /// + /// Original was GL_PROXY_TEXTURE_3D = 0x8070 + /// + ProxyTexture3D = ((int)0x8070) , + /// + /// Original was GL_PROXY_TEXTURE_3D_EXT = 0x8070 + /// + ProxyTexture3DExt = ((int)0x8070) , + /// + /// Original was GL_TEXTURE_DEPTH = 0x8071 + /// + TextureDepth = ((int)0x8071) , + /// + /// Original was GL_TEXTURE_DEPTH_EXT = 0x8071 + /// + TextureDepthExt = ((int)0x8071) , + /// + /// Original was GL_TEXTURE_WRAP_R = 0x8072 + /// + TextureWrapR = ((int)0x8072) , + /// + /// Original was GL_TEXTURE_WRAP_R_EXT = 0x8072 + /// + TextureWrapRExt = ((int)0x8072) , + /// + /// Original was GL_TEXTURE_WRAP_R_OES = 0x8072 + /// + TextureWrapROes = ((int)0x8072) , + /// + /// Original was GL_MAX_3D_TEXTURE_SIZE = 0x8073 + /// + Max3DTextureSize = ((int)0x8073) , + /// + /// Original was GL_MAX_3D_TEXTURE_SIZE_EXT = 0x8073 + /// + Max3DTextureSizeExt = ((int)0x8073) , + /// + /// Original was GL_MAX_3D_TEXTURE_SIZE_OES = 0x8073 + /// + Max3DTextureSizeOes = ((int)0x8073) , + /// + /// Original was GL_VERTEX_ARRAY = 0x8074 + /// + VertexArray = ((int)0x8074) , + /// + /// Original was GL_VERTEX_ARRAY_EXT = 0x8074 + /// + VertexArrayExt = ((int)0x8074) , + /// + /// Original was GL_NORMAL_ARRAY = 0x8075 + /// + NormalArray = ((int)0x8075) , + /// + /// Original was GL_NORMAL_ARRAY_EXT = 0x8075 + /// + NormalArrayExt = ((int)0x8075) , + /// + /// Original was GL_COLOR_ARRAY = 0x8076 + /// + ColorArray = ((int)0x8076) , + /// + /// Original was GL_COLOR_ARRAY_EXT = 0x8076 + /// + ColorArrayExt = ((int)0x8076) , + /// + /// Original was GL_INDEX_ARRAY = 0x8077 + /// + IndexArray = ((int)0x8077) , + /// + /// Original was GL_INDEX_ARRAY_EXT = 0x8077 + /// + IndexArrayExt = ((int)0x8077) , + /// + /// Original was GL_TEXTURE_COORD_ARRAY = 0x8078 + /// + TextureCoordArray = ((int)0x8078) , + /// + /// Original was GL_TEXTURE_COORD_ARRAY_EXT = 0x8078 + /// + TextureCoordArrayExt = ((int)0x8078) , + /// + /// Original was GL_EDGE_FLAG_ARRAY = 0x8079 + /// + EdgeFlagArray = ((int)0x8079) , + /// + /// Original was GL_EDGE_FLAG_ARRAY_EXT = 0x8079 + /// + EdgeFlagArrayExt = ((int)0x8079) , + /// + /// Original was GL_VERTEX_ARRAY_SIZE = 0x807A + /// + VertexArraySize = ((int)0x807A) , + /// + /// Original was GL_VERTEX_ARRAY_SIZE_EXT = 0x807A + /// + VertexArraySizeExt = ((int)0x807A) , + /// + /// Original was GL_VERTEX_ARRAY_TYPE = 0x807B + /// + VertexArrayType = ((int)0x807B) , + /// + /// Original was GL_VERTEX_ARRAY_TYPE_EXT = 0x807B + /// + VertexArrayTypeExt = ((int)0x807B) , + /// + /// Original was GL_VERTEX_ARRAY_STRIDE = 0x807C + /// + VertexArrayStride = ((int)0x807C) , + /// + /// Original was GL_VERTEX_ARRAY_STRIDE_EXT = 0x807C + /// + VertexArrayStrideExt = ((int)0x807C) , + /// + /// Original was GL_VERTEX_ARRAY_COUNT_EXT = 0x807D + /// + VertexArrayCountExt = ((int)0x807D) , + /// + /// Original was GL_NORMAL_ARRAY_TYPE = 0x807E + /// + NormalArrayType = ((int)0x807E) , + /// + /// Original was GL_NORMAL_ARRAY_TYPE_EXT = 0x807E + /// + NormalArrayTypeExt = ((int)0x807E) , + /// + /// Original was GL_NORMAL_ARRAY_STRIDE = 0x807F + /// + NormalArrayStride = ((int)0x807F) , + /// + /// Original was GL_NORMAL_ARRAY_STRIDE_EXT = 0x807F + /// + NormalArrayStrideExt = ((int)0x807F) , + /// + /// Original was GL_NORMAL_ARRAY_COUNT_EXT = 0x8080 + /// + NormalArrayCountExt = ((int)0x8080) , + /// + /// Original was GL_COLOR_ARRAY_SIZE = 0x8081 + /// + ColorArraySize = ((int)0x8081) , + /// + /// Original was GL_COLOR_ARRAY_SIZE_EXT = 0x8081 + /// + ColorArraySizeExt = ((int)0x8081) , + /// + /// Original was GL_COLOR_ARRAY_TYPE = 0x8082 + /// + ColorArrayType = ((int)0x8082) , + /// + /// Original was GL_COLOR_ARRAY_TYPE_EXT = 0x8082 + /// + ColorArrayTypeExt = ((int)0x8082) , + /// + /// Original was GL_COLOR_ARRAY_STRIDE = 0x8083 + /// + ColorArrayStride = ((int)0x8083) , + /// + /// Original was GL_COLOR_ARRAY_STRIDE_EXT = 0x8083 + /// + ColorArrayStrideExt = ((int)0x8083) , + /// + /// Original was GL_COLOR_ARRAY_COUNT_EXT = 0x8084 + /// + ColorArrayCountExt = ((int)0x8084) , + /// + /// Original was GL_INDEX_ARRAY_TYPE = 0x8085 + /// + IndexArrayType = ((int)0x8085) , + /// + /// Original was GL_INDEX_ARRAY_TYPE_EXT = 0x8085 + /// + IndexArrayTypeExt = ((int)0x8085) , + /// + /// Original was GL_INDEX_ARRAY_STRIDE = 0x8086 + /// + IndexArrayStride = ((int)0x8086) , + /// + /// Original was GL_INDEX_ARRAY_STRIDE_EXT = 0x8086 + /// + IndexArrayStrideExt = ((int)0x8086) , + /// + /// Original was GL_INDEX_ARRAY_COUNT_EXT = 0x8087 + /// + IndexArrayCountExt = ((int)0x8087) , + /// + /// Original was GL_TEXTURE_COORD_ARRAY_SIZE = 0x8088 + /// + TextureCoordArraySize = ((int)0x8088) , + /// + /// Original was GL_TEXTURE_COORD_ARRAY_SIZE_EXT = 0x8088 + /// + TextureCoordArraySizeExt = ((int)0x8088) , + /// + /// Original was GL_TEXTURE_COORD_ARRAY_TYPE = 0x8089 + /// + TextureCoordArrayType = ((int)0x8089) , + /// + /// Original was GL_TEXTURE_COORD_ARRAY_TYPE_EXT = 0x8089 + /// + TextureCoordArrayTypeExt = ((int)0x8089) , + /// + /// Original was GL_TEXTURE_COORD_ARRAY_STRIDE = 0x808A + /// + TextureCoordArrayStride = ((int)0x808A) , + /// + /// Original was GL_TEXTURE_COORD_ARRAY_STRIDE_EXT = 0x808A + /// + TextureCoordArrayStrideExt = ((int)0x808A) , + /// + /// Original was GL_TEXTURE_COORD_ARRAY_COUNT_EXT = 0x808B + /// + TextureCoordArrayCountExt = ((int)0x808B) , + /// + /// Original was GL_EDGE_FLAG_ARRAY_STRIDE = 0x808C + /// + EdgeFlagArrayStride = ((int)0x808C) , + /// + /// Original was GL_EDGE_FLAG_ARRAY_STRIDE_EXT = 0x808C + /// + EdgeFlagArrayStrideExt = ((int)0x808C) , + /// + /// Original was GL_EDGE_FLAG_ARRAY_COUNT_EXT = 0x808D + /// + EdgeFlagArrayCountExt = ((int)0x808D) , + /// + /// Original was GL_VERTEX_ARRAY_POINTER = 0x808E + /// + VertexArrayPointer = ((int)0x808E) , + /// + /// Original was GL_VERTEX_ARRAY_POINTER_EXT = 0x808E + /// + VertexArrayPointerExt = ((int)0x808E) , + /// + /// Original was GL_NORMAL_ARRAY_POINTER = 0x808F + /// + NormalArrayPointer = ((int)0x808F) , + /// + /// Original was GL_NORMAL_ARRAY_POINTER_EXT = 0x808F + /// + NormalArrayPointerExt = ((int)0x808F) , + /// + /// Original was GL_COLOR_ARRAY_POINTER = 0x8090 + /// + ColorArrayPointer = ((int)0x8090) , + /// + /// Original was GL_COLOR_ARRAY_POINTER_EXT = 0x8090 + /// + ColorArrayPointerExt = ((int)0x8090) , + /// + /// Original was GL_INDEX_ARRAY_POINTER = 0x8091 + /// + IndexArrayPointer = ((int)0x8091) , + /// + /// Original was GL_INDEX_ARRAY_POINTER_EXT = 0x8091 + /// + IndexArrayPointerExt = ((int)0x8091) , + /// + /// Original was GL_TEXTURE_COORD_ARRAY_POINTER = 0x8092 + /// + TextureCoordArrayPointer = ((int)0x8092) , + /// + /// Original was GL_TEXTURE_COORD_ARRAY_POINTER_EXT = 0x8092 + /// + TextureCoordArrayPointerExt = ((int)0x8092) , + /// + /// Original was GL_EDGE_FLAG_ARRAY_POINTER = 0x8093 + /// + EdgeFlagArrayPointer = ((int)0x8093) , + /// + /// Original was GL_EDGE_FLAG_ARRAY_POINTER_EXT = 0x8093 + /// + EdgeFlagArrayPointerExt = ((int)0x8093) , + /// + /// Original was GL_INTERLACE_SGIX = 0x8094 + /// + InterlaceSgix = ((int)0x8094) , + /// + /// Original was GL_DETAIL_TEXTURE_2D_SGIS = 0x8095 + /// + DetailTexture2DSgis = ((int)0x8095) , + /// + /// Original was GL_DETAIL_TEXTURE_2D_BINDING_SGIS = 0x8096 + /// + DetailTexture2DBindingSgis = ((int)0x8096) , + /// + /// Original was GL_LINEAR_DETAIL_SGIS = 0x8097 + /// + LinearDetailSgis = ((int)0x8097) , + /// + /// Original was GL_LINEAR_DETAIL_ALPHA_SGIS = 0x8098 + /// + LinearDetailAlphaSgis = ((int)0x8098) , + /// + /// Original was GL_LINEAR_DETAIL_COLOR_SGIS = 0x8099 + /// + LinearDetailColorSgis = ((int)0x8099) , + /// + /// Original was GL_DETAIL_TEXTURE_LEVEL_SGIS = 0x809A + /// + DetailTextureLevelSgis = ((int)0x809A) , + /// + /// Original was GL_DETAIL_TEXTURE_MODE_SGIS = 0x809B + /// + DetailTextureModeSgis = ((int)0x809B) , + /// + /// Original was GL_DETAIL_TEXTURE_FUNC_POINTS_SGIS = 0x809C + /// + DetailTextureFuncPointsSgis = ((int)0x809C) , + /// + /// Original was GL_MULTISAMPLE = 0x809D + /// + Multisample = ((int)0x809D) , + /// + /// Original was GL_MULTISAMPLE_ARB = 0x809D + /// + MultisampleArb = ((int)0x809D) , + /// + /// Original was GL_MULTISAMPLE_EXT = 0x809D + /// + MultisampleExt = ((int)0x809D) , + /// + /// Original was GL_MULTISAMPLE_SGIS = 0x809D + /// + MultisampleSgis = ((int)0x809D) , + /// + /// Original was GL_SAMPLE_ALPHA_TO_COVERAGE = 0x809E + /// + SampleAlphaToCoverage = ((int)0x809E) , + /// + /// Original was GL_SAMPLE_ALPHA_TO_COVERAGE_ARB = 0x809E + /// + SampleAlphaToCoverageArb = ((int)0x809E) , + /// + /// Original was GL_SAMPLE_ALPHA_TO_MASK_EXT = 0x809E + /// + SampleAlphaToMaskExt = ((int)0x809E) , + /// + /// Original was GL_SAMPLE_ALPHA_TO_MASK_SGIS = 0x809E + /// + SampleAlphaToMaskSgis = ((int)0x809E) , + /// + /// Original was GL_SAMPLE_ALPHA_TO_ONE = 0x809F + /// + SampleAlphaToOne = ((int)0x809F) , + /// + /// Original was GL_SAMPLE_ALPHA_TO_ONE_ARB = 0x809F + /// + SampleAlphaToOneArb = ((int)0x809F) , + /// + /// Original was GL_SAMPLE_ALPHA_TO_ONE_EXT = 0x809F + /// + SampleAlphaToOneExt = ((int)0x809F) , + /// + /// Original was GL_SAMPLE_ALPHA_TO_ONE_SGIS = 0x809F + /// + SampleAlphaToOneSgis = ((int)0x809F) , + /// + /// Original was GL_SAMPLE_COVERAGE = 0x80A0 + /// + SampleCoverage = ((int)0x80A0) , + /// + /// Original was GL_SAMPLE_COVERAGE_ARB = 0x80A0 + /// + SampleCoverageArb = ((int)0x80A0) , + /// + /// Original was GL_SAMPLE_MASK_EXT = 0x80A0 + /// + SampleMaskExt = ((int)0x80A0) , + /// + /// Original was GL_SAMPLE_MASK_SGIS = 0x80A0 + /// + SampleMaskSgis = ((int)0x80A0) , + /// + /// Original was GL_1PASS_EXT = 0x80A1 + /// + Gl1PassExt = ((int)0x80A1) , + /// + /// Original was GL_1PASS_SGIS = 0x80A1 + /// + Gl1PassSgis = ((int)0x80A1) , + /// + /// Original was GL_2PASS_0_EXT = 0x80A2 + /// + Gl2Pass0Ext = ((int)0x80A2) , + /// + /// Original was GL_2PASS_0_SGIS = 0x80A2 + /// + Gl2Pass0Sgis = ((int)0x80A2) , + /// + /// Original was GL_2PASS_1_EXT = 0x80A3 + /// + Gl2Pass1Ext = ((int)0x80A3) , + /// + /// Original was GL_2PASS_1_SGIS = 0x80A3 + /// + Gl2Pass1Sgis = ((int)0x80A3) , + /// + /// Original was GL_4PASS_0_EXT = 0x80A4 + /// + Gl4Pass0Ext = ((int)0x80A4) , + /// + /// Original was GL_4PASS_0_SGIS = 0x80A4 + /// + Gl4Pass0Sgis = ((int)0x80A4) , + /// + /// Original was GL_4PASS_1_EXT = 0x80A5 + /// + Gl4Pass1Ext = ((int)0x80A5) , + /// + /// Original was GL_4PASS_1_SGIS = 0x80A5 + /// + Gl4Pass1Sgis = ((int)0x80A5) , + /// + /// Original was GL_4PASS_2_EXT = 0x80A6 + /// + Gl4Pass2Ext = ((int)0x80A6) , + /// + /// Original was GL_4PASS_2_SGIS = 0x80A6 + /// + Gl4Pass2Sgis = ((int)0x80A6) , + /// + /// Original was GL_4PASS_3_EXT = 0x80A7 + /// + Gl4Pass3Ext = ((int)0x80A7) , + /// + /// Original was GL_4PASS_3_SGIS = 0x80A7 + /// + Gl4Pass3Sgis = ((int)0x80A7) , + /// + /// Original was GL_SAMPLE_BUFFERS = 0x80A8 + /// + SampleBuffers = ((int)0x80A8) , + /// + /// Original was GL_SAMPLE_BUFFERS_ARB = 0x80A8 + /// + SampleBuffersArb = ((int)0x80A8) , + /// + /// Original was GL_SAMPLE_BUFFERS_EXT = 0x80A8 + /// + SampleBuffersExt = ((int)0x80A8) , + /// + /// Original was GL_SAMPLE_BUFFERS_SGIS = 0x80A8 + /// + SampleBuffersSgis = ((int)0x80A8) , + /// + /// Original was GL_SAMPLES = 0x80A9 + /// + Samples = ((int)0x80A9) , + /// + /// Original was GL_SAMPLES_ARB = 0x80A9 + /// + SamplesArb = ((int)0x80A9) , + /// + /// Original was GL_SAMPLES_EXT = 0x80A9 + /// + SamplesExt = ((int)0x80A9) , + /// + /// Original was GL_SAMPLES_SGIS = 0x80A9 + /// + SamplesSgis = ((int)0x80A9) , + /// + /// Original was GL_SAMPLE_COVERAGE_VALUE = 0x80AA + /// + SampleCoverageValue = ((int)0x80AA) , + /// + /// Original was GL_SAMPLE_COVERAGE_VALUE_ARB = 0x80AA + /// + SampleCoverageValueArb = ((int)0x80AA) , + /// + /// Original was GL_SAMPLE_MASK_VALUE_EXT = 0x80AA + /// + SampleMaskValueExt = ((int)0x80AA) , + /// + /// Original was GL_SAMPLE_MASK_VALUE_SGIS = 0x80AA + /// + SampleMaskValueSgis = ((int)0x80AA) , + /// + /// Original was GL_SAMPLE_COVERAGE_INVERT = 0x80AB + /// + SampleCoverageInvert = ((int)0x80AB) , + /// + /// Original was GL_SAMPLE_COVERAGE_INVERT_ARB = 0x80AB + /// + SampleCoverageInvertArb = ((int)0x80AB) , + /// + /// Original was GL_SAMPLE_MASK_INVERT_EXT = 0x80AB + /// + SampleMaskInvertExt = ((int)0x80AB) , + /// + /// Original was GL_SAMPLE_MASK_INVERT_SGIS = 0x80AB + /// + SampleMaskInvertSgis = ((int)0x80AB) , + /// + /// Original was GL_SAMPLE_PATTERN_EXT = 0x80AC + /// + SamplePatternExt = ((int)0x80AC) , + /// + /// Original was GL_SAMPLE_PATTERN_SGIS = 0x80AC + /// + SamplePatternSgis = ((int)0x80AC) , + /// + /// Original was GL_LINEAR_SHARPEN_SGIS = 0x80AD + /// + LinearSharpenSgis = ((int)0x80AD) , + /// + /// Original was GL_LINEAR_SHARPEN_ALPHA_SGIS = 0x80AE + /// + LinearSharpenAlphaSgis = ((int)0x80AE) , + /// + /// Original was GL_LINEAR_SHARPEN_COLOR_SGIS = 0x80AF + /// + LinearSharpenColorSgis = ((int)0x80AF) , + /// + /// Original was GL_SHARPEN_TEXTURE_FUNC_POINTS_SGIS = 0x80B0 + /// + SharpenTextureFuncPointsSgis = ((int)0x80B0) , + /// + /// Original was GL_COLOR_MATRIX = 0x80B1 + /// + ColorMatrix = ((int)0x80B1) , + /// + /// Original was GL_COLOR_MATRIX_SGI = 0x80B1 + /// + ColorMatrixSgi = ((int)0x80B1) , + /// + /// Original was GL_COLOR_MATRIX_STACK_DEPTH = 0x80B2 + /// + ColorMatrixStackDepth = ((int)0x80B2) , + /// + /// Original was GL_COLOR_MATRIX_STACK_DEPTH_SGI = 0x80B2 + /// + ColorMatrixStackDepthSgi = ((int)0x80B2) , + /// + /// Original was GL_MAX_COLOR_MATRIX_STACK_DEPTH = 0x80B3 + /// + MaxColorMatrixStackDepth = ((int)0x80B3) , + /// + /// Original was GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI = 0x80B3 + /// + MaxColorMatrixStackDepthSgi = ((int)0x80B3) , + /// + /// Original was GL_POST_COLOR_MATRIX_RED_SCALE = 0x80B4 + /// + PostColorMatrixRedScale = ((int)0x80B4) , + /// + /// Original was GL_POST_COLOR_MATRIX_RED_SCALE_SGI = 0x80B4 + /// + PostColorMatrixRedScaleSgi = ((int)0x80B4) , + /// + /// Original was GL_POST_COLOR_MATRIX_GREEN_SCALE = 0x80B5 + /// + PostColorMatrixGreenScale = ((int)0x80B5) , + /// + /// Original was GL_POST_COLOR_MATRIX_GREEN_SCALE_SGI = 0x80B5 + /// + PostColorMatrixGreenScaleSgi = ((int)0x80B5) , + /// + /// Original was GL_POST_COLOR_MATRIX_BLUE_SCALE = 0x80B6 + /// + PostColorMatrixBlueScale = ((int)0x80B6) , + /// + /// Original was GL_POST_COLOR_MATRIX_BLUE_SCALE_SGI = 0x80B6 + /// + PostColorMatrixBlueScaleSgi = ((int)0x80B6) , + /// + /// Original was GL_POST_COLOR_MATRIX_ALPHA_SCALE = 0x80B7 + /// + PostColorMatrixAlphaScale = ((int)0x80B7) , + /// + /// Original was GL_POST_COLOR_MATRIX_ALPHA_SCALE_SGI = 0x80B7 + /// + PostColorMatrixAlphaScaleSgi = ((int)0x80B7) , + /// + /// Original was GL_POST_COLOR_MATRIX_RED_BIAS = 0x80B8 + /// + PostColorMatrixRedBias = ((int)0x80B8) , + /// + /// Original was GL_POST_COLOR_MATRIX_RED_BIAS_SGI = 0x80B8 + /// + PostColorMatrixRedBiasSgi = ((int)0x80B8) , + /// + /// Original was GL_POST_COLOR_MATRIX_GREEN_BIAS = 0x80B9 + /// + PostColorMatrixGreenBias = ((int)0x80B9) , + /// + /// Original was GL_POST_COLOR_MATRIX_GREEN_BIAS_SGI = 0x80B9 + /// + PostColorMatrixGreenBiasSgi = ((int)0x80B9) , + /// + /// Original was GL_POST_COLOR_MATRIX_BLUE_BIAS = 0x80BA + /// + PostColorMatrixBlueBias = ((int)0x80BA) , + /// + /// Original was GL_POST_COLOR_MATRIX_BLUE_BIAS_SGI = 0x80BA + /// + PostColorMatrixBlueBiasSgi = ((int)0x80BA) , + /// + /// Original was GL_POST_COLOR_MATRIX_ALPHA_BIAS = 0x80BB + /// + PostColorMatrixAlphaBias = ((int)0x80BB) , + /// + /// Original was GL_POST_COLOR_MATRIX_ALPHA_BIAS_SGI = 0x80BB + /// + PostColorMatrixAlphaBiasSgi = ((int)0x80BB) , + /// + /// Original was GL_TEXTURE_COLOR_TABLE_SGI = 0x80BC + /// + TextureColorTableSgi = ((int)0x80BC) , + /// + /// Original was GL_PROXY_TEXTURE_COLOR_TABLE_SGI = 0x80BD + /// + ProxyTextureColorTableSgi = ((int)0x80BD) , + /// + /// Original was GL_TEXTURE_ENV_BIAS_SGIX = 0x80BE + /// + TextureEnvBiasSgix = ((int)0x80BE) , + /// + /// Original was GL_SHADOW_AMBIENT_SGIX = 0x80BF + /// + ShadowAmbientSgix = ((int)0x80BF) , + /// + /// Original was GL_TEXTURE_COMPARE_FAIL_VALUE = 0x80BF + /// + TextureCompareFailValue = ((int)0x80BF) , + /// + /// Original was GL_TEXTURE_COMPARE_FAIL_VALUE_ARB = 0x80BF + /// + TextureCompareFailValueArb = ((int)0x80BF) , + /// + /// Original was GL_BLEND_DST_RGB = 0x80C8 + /// + BlendDstRgb = ((int)0x80C8) , + /// + /// Original was GL_BLEND_DST_RGB_EXT = 0x80C8 + /// + BlendDstRgbExt = ((int)0x80C8) , + /// + /// Original was GL_BLEND_DST_RGB_OES = 0x80C8 + /// + BlendDstRgbOes = ((int)0x80C8) , + /// + /// Original was GL_BLEND_SRC_RGB = 0x80C9 + /// + BlendSrcRgb = ((int)0x80C9) , + /// + /// Original was GL_BLEND_SRC_RGB_EXT = 0x80C9 + /// + BlendSrcRgbExt = ((int)0x80C9) , + /// + /// Original was GL_BLEND_SRC_RGB_OES = 0x80C9 + /// + BlendSrcRgbOes = ((int)0x80C9) , + /// + /// Original was GL_BLEND_DST_ALPHA = 0x80CA + /// + BlendDstAlpha = ((int)0x80CA) , + /// + /// Original was GL_BLEND_DST_ALPHA_EXT = 0x80CA + /// + BlendDstAlphaExt = ((int)0x80CA) , + /// + /// Original was GL_BLEND_DST_ALPHA_OES = 0x80CA + /// + BlendDstAlphaOes = ((int)0x80CA) , + /// + /// Original was GL_BLEND_SRC_ALPHA = 0x80CB + /// + BlendSrcAlpha = ((int)0x80CB) , + /// + /// Original was GL_BLEND_SRC_ALPHA_EXT = 0x80CB + /// + BlendSrcAlphaExt = ((int)0x80CB) , + /// + /// Original was GL_BLEND_SRC_ALPHA_OES = 0x80CB + /// + BlendSrcAlphaOes = ((int)0x80CB) , + /// + /// Original was GL_422_EXT = 0x80CC + /// + Gl422Ext = ((int)0x80CC) , + /// + /// Original was GL_422_REV_EXT = 0x80CD + /// + Gl422RevExt = ((int)0x80CD) , + /// + /// Original was GL_422_AVERAGE_EXT = 0x80CE + /// + Gl422AverageExt = ((int)0x80CE) , + /// + /// Original was GL_422_REV_AVERAGE_EXT = 0x80CF + /// + Gl422RevAverageExt = ((int)0x80CF) , + /// + /// Original was GL_COLOR_TABLE = 0x80D0 + /// + ColorTable = ((int)0x80D0) , + /// + /// Original was GL_COLOR_TABLE_SGI = 0x80D0 + /// + ColorTableSgi = ((int)0x80D0) , + /// + /// Original was GL_POST_CONVOLUTION_COLOR_TABLE = 0x80D1 + /// + PostConvolutionColorTable = ((int)0x80D1) , + /// + /// Original was GL_POST_CONVOLUTION_COLOR_TABLE_SGI = 0x80D1 + /// + PostConvolutionColorTableSgi = ((int)0x80D1) , + /// + /// Original was GL_POST_COLOR_MATRIX_COLOR_TABLE = 0x80D2 + /// + PostColorMatrixColorTable = ((int)0x80D2) , + /// + /// Original was GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI = 0x80D2 + /// + PostColorMatrixColorTableSgi = ((int)0x80D2) , + /// + /// Original was GL_PROXY_COLOR_TABLE = 0x80D3 + /// + ProxyColorTable = ((int)0x80D3) , + /// + /// Original was GL_PROXY_COLOR_TABLE_SGI = 0x80D3 + /// + ProxyColorTableSgi = ((int)0x80D3) , + /// + /// Original was GL_PROXY_POST_CONVOLUTION_COLOR_TABLE = 0x80D4 + /// + ProxyPostConvolutionColorTable = ((int)0x80D4) , + /// + /// Original was GL_PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI = 0x80D4 + /// + ProxyPostConvolutionColorTableSgi = ((int)0x80D4) , + /// + /// Original was GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE = 0x80D5 + /// + ProxyPostColorMatrixColorTable = ((int)0x80D5) , + /// + /// Original was GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI = 0x80D5 + /// + ProxyPostColorMatrixColorTableSgi = ((int)0x80D5) , + /// + /// Original was GL_COLOR_TABLE_SCALE = 0x80D6 + /// + ColorTableScale = ((int)0x80D6) , + /// + /// Original was GL_COLOR_TABLE_SCALE_SGI = 0x80D6 + /// + ColorTableScaleSgi = ((int)0x80D6) , + /// + /// Original was GL_COLOR_TABLE_BIAS = 0x80D7 + /// + ColorTableBias = ((int)0x80D7) , + /// + /// Original was GL_COLOR_TABLE_BIAS_SGI = 0x80D7 + /// + ColorTableBiasSgi = ((int)0x80D7) , + /// + /// Original was GL_COLOR_TABLE_FORMAT = 0x80D8 + /// + ColorTableFormat = ((int)0x80D8) , + /// + /// Original was GL_COLOR_TABLE_FORMAT_SGI = 0x80D8 + /// + ColorTableFormatSgi = ((int)0x80D8) , + /// + /// Original was GL_COLOR_TABLE_WIDTH = 0x80D9 + /// + ColorTableWidth = ((int)0x80D9) , + /// + /// Original was GL_COLOR_TABLE_WIDTH_SGI = 0x80D9 + /// + ColorTableWidthSgi = ((int)0x80D9) , + /// + /// Original was GL_COLOR_TABLE_RED_SIZE = 0x80DA + /// + ColorTableRedSize = ((int)0x80DA) , + /// + /// Original was GL_COLOR_TABLE_RED_SIZE_SGI = 0x80DA + /// + ColorTableRedSizeSgi = ((int)0x80DA) , + /// + /// Original was GL_COLOR_TABLE_GREEN_SIZE = 0x80DB + /// + ColorTableGreenSize = ((int)0x80DB) , + /// + /// Original was GL_COLOR_TABLE_GREEN_SIZE_SGI = 0x80DB + /// + ColorTableGreenSizeSgi = ((int)0x80DB) , + /// + /// Original was GL_COLOR_TABLE_BLUE_SIZE = 0x80DC + /// + ColorTableBlueSize = ((int)0x80DC) , + /// + /// Original was GL_COLOR_TABLE_BLUE_SIZE_SGI = 0x80DC + /// + ColorTableBlueSizeSgi = ((int)0x80DC) , + /// + /// Original was GL_COLOR_TABLE_ALPHA_SIZE = 0x80DD + /// + ColorTableAlphaSize = ((int)0x80DD) , + /// + /// Original was GL_COLOR_TABLE_ALPHA_SIZE_SGI = 0x80DD + /// + ColorTableAlphaSizeSgi = ((int)0x80DD) , + /// + /// Original was GL_COLOR_TABLE_LUMINANCE_SIZE = 0x80DE + /// + ColorTableLuminanceSize = ((int)0x80DE) , + /// + /// Original was GL_COLOR_TABLE_LUMINANCE_SIZE_SGI = 0x80DE + /// + ColorTableLuminanceSizeSgi = ((int)0x80DE) , + /// + /// Original was GL_COLOR_TABLE_INTENSITY_SIZE = 0x80DF + /// + ColorTableIntensitySize = ((int)0x80DF) , + /// + /// Original was GL_COLOR_TABLE_INTENSITY_SIZE_SGI = 0x80DF + /// + ColorTableIntensitySizeSgi = ((int)0x80DF) , + /// + /// Original was GL_BGR = 0x80E0 + /// + Bgr = ((int)0x80E0) , + /// + /// Original was GL_BGR_EXT = 0x80E0 + /// + BgrExt = ((int)0x80E0) , + /// + /// Original was GL_BGRA = 0x80E1 + /// + Bgra = ((int)0x80E1) , + /// + /// Original was GL_BGRA_EXT = 0x80E1 + /// + BgraExt = ((int)0x80E1) , + /// + /// Original was GL_COLOR_INDEX1_EXT = 0x80E2 + /// + ColorIndex1Ext = ((int)0x80E2) , + /// + /// Original was GL_COLOR_INDEX2_EXT = 0x80E3 + /// + ColorIndex2Ext = ((int)0x80E3) , + /// + /// Original was GL_COLOR_INDEX4_EXT = 0x80E4 + /// + ColorIndex4Ext = ((int)0x80E4) , + /// + /// Original was GL_COLOR_INDEX8_EXT = 0x80E5 + /// + ColorIndex8Ext = ((int)0x80E5) , + /// + /// Original was GL_COLOR_INDEX12_EXT = 0x80E6 + /// + ColorIndex12Ext = ((int)0x80E6) , + /// + /// Original was GL_COLOR_INDEX16_EXT = 0x80E7 + /// + ColorIndex16Ext = ((int)0x80E7) , + /// + /// Original was GL_MAX_ELEMENTS_VERTICES = 0x80E8 + /// + MaxElementsVertices = ((int)0x80E8) , + /// + /// Original was GL_MAX_ELEMENTS_VERTICES_EXT = 0x80E8 + /// + MaxElementsVerticesExt = ((int)0x80E8) , + /// + /// Original was GL_MAX_ELEMENTS_INDICES = 0x80E9 + /// + MaxElementsIndices = ((int)0x80E9) , + /// + /// Original was GL_MAX_ELEMENTS_INDICES_EXT = 0x80E9 + /// + MaxElementsIndicesExt = ((int)0x80E9) , + /// + /// Original was GL_PHONG_WIN = 0x80EA + /// + PhongWin = ((int)0x80EA) , + /// + /// Original was GL_PHONG_HINT_WIN = 0x80EB + /// + PhongHintWin = ((int)0x80EB) , + /// + /// Original was GL_FOG_SPECULAR_TEXTURE_WIN = 0x80EC + /// + FogSpecularTextureWin = ((int)0x80EC) , + /// + /// Original was GL_TEXTURE_INDEX_SIZE_EXT = 0x80ED + /// + TextureIndexSizeExt = ((int)0x80ED) , + /// + /// Original was GL_CLIP_VOLUME_CLIPPING_HINT_EXT = 0x80F0 + /// + ClipVolumeClippingHintExt = ((int)0x80F0) , + /// + /// Original was GL_DUAL_ALPHA4_SGIS = 0x8110 + /// + DualAlpha4Sgis = ((int)0x8110) , + /// + /// Original was GL_DUAL_ALPHA8_SGIS = 0x8111 + /// + DualAlpha8Sgis = ((int)0x8111) , + /// + /// Original was GL_DUAL_ALPHA12_SGIS = 0x8112 + /// + DualAlpha12Sgis = ((int)0x8112) , + /// + /// Original was GL_DUAL_ALPHA16_SGIS = 0x8113 + /// + DualAlpha16Sgis = ((int)0x8113) , + /// + /// Original was GL_DUAL_LUMINANCE4_SGIS = 0x8114 + /// + DualLuminance4Sgis = ((int)0x8114) , + /// + /// Original was GL_DUAL_LUMINANCE8_SGIS = 0x8115 + /// + DualLuminance8Sgis = ((int)0x8115) , + /// + /// Original was GL_DUAL_LUMINANCE12_SGIS = 0x8116 + /// + DualLuminance12Sgis = ((int)0x8116) , + /// + /// Original was GL_DUAL_LUMINANCE16_SGIS = 0x8117 + /// + DualLuminance16Sgis = ((int)0x8117) , + /// + /// Original was GL_DUAL_INTENSITY4_SGIS = 0x8118 + /// + DualIntensity4Sgis = ((int)0x8118) , + /// + /// Original was GL_DUAL_INTENSITY8_SGIS = 0x8119 + /// + DualIntensity8Sgis = ((int)0x8119) , + /// + /// Original was GL_DUAL_INTENSITY12_SGIS = 0x811A + /// + DualIntensity12Sgis = ((int)0x811A) , + /// + /// Original was GL_DUAL_INTENSITY16_SGIS = 0x811B + /// + DualIntensity16Sgis = ((int)0x811B) , + /// + /// Original was GL_DUAL_LUMINANCE_ALPHA4_SGIS = 0x811C + /// + DualLuminanceAlpha4Sgis = ((int)0x811C) , + /// + /// Original was GL_DUAL_LUMINANCE_ALPHA8_SGIS = 0x811D + /// + DualLuminanceAlpha8Sgis = ((int)0x811D) , + /// + /// Original was GL_QUAD_ALPHA4_SGIS = 0x811E + /// + QuadAlpha4Sgis = ((int)0x811E) , + /// + /// Original was GL_QUAD_ALPHA8_SGIS = 0x811F + /// + QuadAlpha8Sgis = ((int)0x811F) , + /// + /// Original was GL_QUAD_LUMINANCE4_SGIS = 0x8120 + /// + QuadLuminance4Sgis = ((int)0x8120) , + /// + /// Original was GL_QUAD_LUMINANCE8_SGIS = 0x8121 + /// + QuadLuminance8Sgis = ((int)0x8121) , + /// + /// Original was GL_QUAD_INTENSITY4_SGIS = 0x8122 + /// + QuadIntensity4Sgis = ((int)0x8122) , + /// + /// Original was GL_QUAD_INTENSITY8_SGIS = 0x8123 + /// + QuadIntensity8Sgis = ((int)0x8123) , + /// + /// Original was GL_DUAL_TEXTURE_SELECT_SGIS = 0x8124 + /// + DualTextureSelectSgis = ((int)0x8124) , + /// + /// Original was GL_QUAD_TEXTURE_SELECT_SGIS = 0x8125 + /// + QuadTextureSelectSgis = ((int)0x8125) , + /// + /// Original was GL_POINT_SIZE_MIN = 0x8126 + /// + PointSizeMin = ((int)0x8126) , + /// + /// Original was GL_POINT_SIZE_MIN_ARB = 0x8126 + /// + PointSizeMinArb = ((int)0x8126) , + /// + /// Original was GL_POINT_SIZE_MIN_EXT = 0x8126 + /// + PointSizeMinExt = ((int)0x8126) , + /// + /// Original was GL_POINT_SIZE_MIN_SGIS = 0x8126 + /// + PointSizeMinSgis = ((int)0x8126) , + /// + /// Original was GL_POINT_SIZE_MAX = 0x8127 + /// + PointSizeMax = ((int)0x8127) , + /// + /// Original was GL_POINT_SIZE_MAX_ARB = 0x8127 + /// + PointSizeMaxArb = ((int)0x8127) , + /// + /// Original was GL_POINT_SIZE_MAX_EXT = 0x8127 + /// + PointSizeMaxExt = ((int)0x8127) , + /// + /// Original was GL_POINT_SIZE_MAX_SGIS = 0x8127 + /// + PointSizeMaxSgis = ((int)0x8127) , + /// + /// Original was GL_POINT_FADE_THRESHOLD_SIZE = 0x8128 + /// + PointFadeThresholdSize = ((int)0x8128) , + /// + /// Original was GL_POINT_FADE_THRESHOLD_SIZE_ARB = 0x8128 + /// + PointFadeThresholdSizeArb = ((int)0x8128) , + /// + /// Original was GL_POINT_FADE_THRESHOLD_SIZE_EXT = 0x8128 + /// + PointFadeThresholdSizeExt = ((int)0x8128) , + /// + /// Original was GL_POINT_FADE_THRESHOLD_SIZE_SGIS = 0x8128 + /// + PointFadeThresholdSizeSgis = ((int)0x8128) , + /// + /// Original was GL_DISTANCE_ATTENUATION_EXT = 0x8129 + /// + DistanceAttenuationExt = ((int)0x8129) , + /// + /// Original was GL_DISTANCE_ATTENUATION_SGIS = 0x8129 + /// + DistanceAttenuationSgis = ((int)0x8129) , + /// + /// Original was GL_POINT_DISTANCE_ATTENUATION = 0x8129 + /// + PointDistanceAttenuation = ((int)0x8129) , + /// + /// Original was GL_POINT_DISTANCE_ATTENUATION_ARB = 0x8129 + /// + PointDistanceAttenuationArb = ((int)0x8129) , + /// + /// Original was GL_FOG_FUNC_SGIS = 0x812A + /// + FogFuncSgis = ((int)0x812A) , + /// + /// Original was GL_FOG_FUNC_POINTS_SGIS = 0x812B + /// + FogFuncPointsSgis = ((int)0x812B) , + /// + /// Original was GL_MAX_FOG_FUNC_POINTS_SGIS = 0x812C + /// + MaxFogFuncPointsSgis = ((int)0x812C) , + /// + /// Original was GL_CLAMP_TO_BORDER = 0x812D + /// + ClampToBorder = ((int)0x812D) , + /// + /// Original was GL_CLAMP_TO_BORDER_ARB = 0x812D + /// + ClampToBorderArb = ((int)0x812D) , + /// + /// Original was GL_CLAMP_TO_BORDER_SGIS = 0x812D + /// + ClampToBorderSgis = ((int)0x812D) , + /// + /// Original was GL_TEXTURE_MULTI_BUFFER_HINT_SGIX = 0x812E + /// + TextureMultiBufferHintSgix = ((int)0x812E) , + /// + /// Original was GL_CLAMP_TO_EDGE = 0x812F + /// + ClampToEdge = ((int)0x812F) , + /// + /// Original was GL_CLAMP_TO_EDGE_SGIS = 0x812F + /// + ClampToEdgeSgis = ((int)0x812F) , + /// + /// Original was GL_PACK_SKIP_VOLUMES_SGIS = 0x8130 + /// + PackSkipVolumesSgis = ((int)0x8130) , + /// + /// Original was GL_PACK_IMAGE_DEPTH_SGIS = 0x8131 + /// + PackImageDepthSgis = ((int)0x8131) , + /// + /// Original was GL_UNPACK_SKIP_VOLUMES_SGIS = 0x8132 + /// + UnpackSkipVolumesSgis = ((int)0x8132) , + /// + /// Original was GL_UNPACK_IMAGE_DEPTH_SGIS = 0x8133 + /// + UnpackImageDepthSgis = ((int)0x8133) , + /// + /// Original was GL_TEXTURE_4D_SGIS = 0x8134 + /// + Texture4DSgis = ((int)0x8134) , + /// + /// Original was GL_PROXY_TEXTURE_4D_SGIS = 0x8135 + /// + ProxyTexture4DSgis = ((int)0x8135) , + /// + /// Original was GL_TEXTURE_4DSIZE_SGIS = 0x8136 + /// + Texture4DsizeSgis = ((int)0x8136) , + /// + /// Original was GL_TEXTURE_WRAP_Q_SGIS = 0x8137 + /// + TextureWrapQSgis = ((int)0x8137) , + /// + /// Original was GL_MAX_4D_TEXTURE_SIZE_SGIS = 0x8138 + /// + Max4DTextureSizeSgis = ((int)0x8138) , + /// + /// Original was GL_PIXEL_TEX_GEN_SGIX = 0x8139 + /// + PixelTexGenSgix = ((int)0x8139) , + /// + /// Original was GL_TEXTURE_MIN_LOD = 0x813A + /// + TextureMinLod = ((int)0x813A) , + /// + /// Original was GL_TEXTURE_MIN_LOD_SGIS = 0x813A + /// + TextureMinLodSgis = ((int)0x813A) , + /// + /// Original was GL_TEXTURE_MAX_LOD = 0x813B + /// + TextureMaxLod = ((int)0x813B) , + /// + /// Original was GL_TEXTURE_MAX_LOD_SGIS = 0x813B + /// + TextureMaxLodSgis = ((int)0x813B) , + /// + /// Original was GL_TEXTURE_BASE_LEVEL = 0x813C + /// + TextureBaseLevel = ((int)0x813C) , + /// + /// Original was GL_TEXTURE_BASE_LEVEL_SGIS = 0x813C + /// + TextureBaseLevelSgis = ((int)0x813C) , + /// + /// Original was GL_TEXTURE_MAX_LEVEL = 0x813D + /// + TextureMaxLevel = ((int)0x813D) , + /// + /// Original was GL_TEXTURE_MAX_LEVEL_SGIS = 0x813D + /// + TextureMaxLevelSgis = ((int)0x813D) , + /// + /// Original was GL_PIXEL_TILE_BEST_ALIGNMENT_SGIX = 0x813E + /// + PixelTileBestAlignmentSgix = ((int)0x813E) , + /// + /// Original was GL_PIXEL_TILE_CACHE_INCREMENT_SGIX = 0x813F + /// + PixelTileCacheIncrementSgix = ((int)0x813F) , + /// + /// Original was GL_PIXEL_TILE_WIDTH_SGIX = 0x8140 + /// + PixelTileWidthSgix = ((int)0x8140) , + /// + /// Original was GL_PIXEL_TILE_HEIGHT_SGIX = 0x8141 + /// + PixelTileHeightSgix = ((int)0x8141) , + /// + /// Original was GL_PIXEL_TILE_GRID_WIDTH_SGIX = 0x8142 + /// + PixelTileGridWidthSgix = ((int)0x8142) , + /// + /// Original was GL_PIXEL_TILE_GRID_HEIGHT_SGIX = 0x8143 + /// + PixelTileGridHeightSgix = ((int)0x8143) , + /// + /// Original was GL_PIXEL_TILE_GRID_DEPTH_SGIX = 0x8144 + /// + PixelTileGridDepthSgix = ((int)0x8144) , + /// + /// Original was GL_PIXEL_TILE_CACHE_SIZE_SGIX = 0x8145 + /// + PixelTileCacheSizeSgix = ((int)0x8145) , + /// + /// Original was GL_FILTER4_SGIS = 0x8146 + /// + Filter4Sgis = ((int)0x8146) , + /// + /// Original was GL_TEXTURE_FILTER4_SIZE_SGIS = 0x8147 + /// + TextureFilter4SizeSgis = ((int)0x8147) , + /// + /// Original was GL_SPRITE_SGIX = 0x8148 + /// + SpriteSgix = ((int)0x8148) , + /// + /// Original was GL_SPRITE_MODE_SGIX = 0x8149 + /// + SpriteModeSgix = ((int)0x8149) , + /// + /// Original was GL_SPRITE_AXIS_SGIX = 0x814A + /// + SpriteAxisSgix = ((int)0x814A) , + /// + /// Original was GL_SPRITE_TRANSLATION_SGIX = 0x814B + /// + SpriteTranslationSgix = ((int)0x814B) , + /// + /// Original was GL_SPRITE_AXIAL_SGIX = 0x814C + /// + SpriteAxialSgix = ((int)0x814C) , + /// + /// Original was GL_SPRITE_OBJECT_ALIGNED_SGIX = 0x814D + /// + SpriteObjectAlignedSgix = ((int)0x814D) , + /// + /// Original was GL_SPRITE_EYE_ALIGNED_SGIX = 0x814E + /// + SpriteEyeAlignedSgix = ((int)0x814E) , + /// + /// Original was GL_TEXTURE_4D_BINDING_SGIS = 0x814F + /// + Texture4DBindingSgis = ((int)0x814F) , + /// + /// Original was GL_IGNORE_BORDER_HP = 0x8150 + /// + IgnoreBorderHp = ((int)0x8150) , + /// + /// Original was GL_CONSTANT_BORDER = 0x8151 + /// + ConstantBorder = ((int)0x8151) , + /// + /// Original was GL_CONSTANT_BORDER_HP = 0x8151 + /// + ConstantBorderHp = ((int)0x8151) , + /// + /// Original was GL_REPLICATE_BORDER = 0x8153 + /// + ReplicateBorder = ((int)0x8153) , + /// + /// Original was GL_REPLICATE_BORDER_HP = 0x8153 + /// + ReplicateBorderHp = ((int)0x8153) , + /// + /// Original was GL_CONVOLUTION_BORDER_COLOR = 0x8154 + /// + ConvolutionBorderColor = ((int)0x8154) , + /// + /// Original was GL_CONVOLUTION_BORDER_COLOR_HP = 0x8154 + /// + ConvolutionBorderColorHp = ((int)0x8154) , + /// + /// Original was GL_IMAGE_SCALE_X_HP = 0x8155 + /// + ImageScaleXHp = ((int)0x8155) , + /// + /// Original was GL_IMAGE_SCALE_Y_HP = 0x8156 + /// + ImageScaleYHp = ((int)0x8156) , + /// + /// Original was GL_IMAGE_TRANSLATE_X_HP = 0x8157 + /// + ImageTranslateXHp = ((int)0x8157) , + /// + /// Original was GL_IMAGE_TRANSLATE_Y_HP = 0x8158 + /// + ImageTranslateYHp = ((int)0x8158) , + /// + /// Original was GL_IMAGE_ROTATE_ANGLE_HP = 0x8159 + /// + ImageRotateAngleHp = ((int)0x8159) , + /// + /// Original was GL_IMAGE_ROTATE_ORIGIN_X_HP = 0x815A + /// + ImageRotateOriginXHp = ((int)0x815A) , + /// + /// Original was GL_IMAGE_ROTATE_ORIGIN_Y_HP = 0x815B + /// + ImageRotateOriginYHp = ((int)0x815B) , + /// + /// Original was GL_IMAGE_MAG_FILTER_HP = 0x815C + /// + ImageMagFilterHp = ((int)0x815C) , + /// + /// Original was GL_IMAGE_MIN_FILTER_HP = 0x815D + /// + ImageMinFilterHp = ((int)0x815D) , + /// + /// Original was GL_IMAGE_CUBIC_WEIGHT_HP = 0x815E + /// + ImageCubicWeightHp = ((int)0x815E) , + /// + /// Original was GL_CUBIC_HP = 0x815F + /// + CubicHp = ((int)0x815F) , + /// + /// Original was GL_AVERAGE_HP = 0x8160 + /// + AverageHp = ((int)0x8160) , + /// + /// Original was GL_IMAGE_TRANSFORM_2D_HP = 0x8161 + /// + ImageTransform2DHp = ((int)0x8161) , + /// + /// Original was GL_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP = 0x8162 + /// + PostImageTransformColorTableHp = ((int)0x8162) , + /// + /// Original was GL_PROXY_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP = 0x8163 + /// + ProxyPostImageTransformColorTableHp = ((int)0x8163) , + /// + /// Original was GL_OCCLUSION_TEST_HP = 0x8165 + /// + OcclusionTestHp = ((int)0x8165) , + /// + /// Original was GL_OCCLUSION_TEST_RESULT_HP = 0x8166 + /// + OcclusionTestResultHp = ((int)0x8166) , + /// + /// Original was GL_TEXTURE_LIGHTING_MODE_HP = 0x8167 + /// + TextureLightingModeHp = ((int)0x8167) , + /// + /// Original was GL_TEXTURE_POST_SPECULAR_HP = 0x8168 + /// + TexturePostSpecularHp = ((int)0x8168) , + /// + /// Original was GL_TEXTURE_PRE_SPECULAR_HP = 0x8169 + /// + TexturePreSpecularHp = ((int)0x8169) , + /// + /// Original was GL_LINEAR_CLIPMAP_LINEAR_SGIX = 0x8170 + /// + LinearClipmapLinearSgix = ((int)0x8170) , + /// + /// Original was GL_TEXTURE_CLIPMAP_CENTER_SGIX = 0x8171 + /// + TextureClipmapCenterSgix = ((int)0x8171) , + /// + /// Original was GL_TEXTURE_CLIPMAP_FRAME_SGIX = 0x8172 + /// + TextureClipmapFrameSgix = ((int)0x8172) , + /// + /// Original was GL_TEXTURE_CLIPMAP_OFFSET_SGIX = 0x8173 + /// + TextureClipmapOffsetSgix = ((int)0x8173) , + /// + /// Original was GL_TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX = 0x8174 + /// + TextureClipmapVirtualDepthSgix = ((int)0x8174) , + /// + /// Original was GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX = 0x8175 + /// + TextureClipmapLodOffsetSgix = ((int)0x8175) , + /// + /// Original was GL_TEXTURE_CLIPMAP_DEPTH_SGIX = 0x8176 + /// + TextureClipmapDepthSgix = ((int)0x8176) , + /// + /// Original was GL_MAX_CLIPMAP_DEPTH_SGIX = 0x8177 + /// + MaxClipmapDepthSgix = ((int)0x8177) , + /// + /// Original was GL_MAX_CLIPMAP_VIRTUAL_DEPTH_SGIX = 0x8178 + /// + MaxClipmapVirtualDepthSgix = ((int)0x8178) , + /// + /// Original was GL_POST_TEXTURE_FILTER_BIAS_SGIX = 0x8179 + /// + PostTextureFilterBiasSgix = ((int)0x8179) , + /// + /// Original was GL_POST_TEXTURE_FILTER_SCALE_SGIX = 0x817A + /// + PostTextureFilterScaleSgix = ((int)0x817A) , + /// + /// Original was GL_POST_TEXTURE_FILTER_BIAS_RANGE_SGIX = 0x817B + /// + PostTextureFilterBiasRangeSgix = ((int)0x817B) , + /// + /// Original was GL_POST_TEXTURE_FILTER_SCALE_RANGE_SGIX = 0x817C + /// + PostTextureFilterScaleRangeSgix = ((int)0x817C) , + /// + /// Original was GL_REFERENCE_PLANE_SGIX = 0x817D + /// + ReferencePlaneSgix = ((int)0x817D) , + /// + /// Original was GL_REFERENCE_PLANE_EQUATION_SGIX = 0x817E + /// + ReferencePlaneEquationSgix = ((int)0x817E) , + /// + /// Original was GL_IR_INSTRUMENT1_SGIX = 0x817F + /// + IrInstrument1Sgix = ((int)0x817F) , + /// + /// Original was GL_INSTRUMENT_BUFFER_POINTER_SGIX = 0x8180 + /// + InstrumentBufferPointerSgix = ((int)0x8180) , + /// + /// Original was GL_INSTRUMENT_MEASUREMENTS_SGIX = 0x8181 + /// + InstrumentMeasurementsSgix = ((int)0x8181) , + /// + /// Original was GL_LIST_PRIORITY_SGIX = 0x8182 + /// + ListPrioritySgix = ((int)0x8182) , + /// + /// Original was GL_CALLIGRAPHIC_FRAGMENT_SGIX = 0x8183 + /// + CalligraphicFragmentSgix = ((int)0x8183) , + /// + /// Original was GL_PIXEL_TEX_GEN_Q_CEILING_SGIX = 0x8184 + /// + PixelTexGenQCeilingSgix = ((int)0x8184) , + /// + /// Original was GL_PIXEL_TEX_GEN_Q_ROUND_SGIX = 0x8185 + /// + PixelTexGenQRoundSgix = ((int)0x8185) , + /// + /// Original was GL_PIXEL_TEX_GEN_Q_FLOOR_SGIX = 0x8186 + /// + PixelTexGenQFloorSgix = ((int)0x8186) , + /// + /// Original was GL_PIXEL_TEX_GEN_ALPHA_REPLACE_SGIX = 0x8187 + /// + PixelTexGenAlphaReplaceSgix = ((int)0x8187) , + /// + /// Original was GL_PIXEL_TEX_GEN_ALPHA_NO_REPLACE_SGIX = 0x8188 + /// + PixelTexGenAlphaNoReplaceSgix = ((int)0x8188) , + /// + /// Original was GL_PIXEL_TEX_GEN_ALPHA_LS_SGIX = 0x8189 + /// + PixelTexGenAlphaLsSgix = ((int)0x8189) , + /// + /// Original was GL_PIXEL_TEX_GEN_ALPHA_MS_SGIX = 0x818A + /// + PixelTexGenAlphaMsSgix = ((int)0x818A) , + /// + /// Original was GL_FRAMEZOOM_SGIX = 0x818B + /// + FramezoomSgix = ((int)0x818B) , + /// + /// Original was GL_FRAMEZOOM_FACTOR_SGIX = 0x818C + /// + FramezoomFactorSgix = ((int)0x818C) , + /// + /// Original was GL_MAX_FRAMEZOOM_FACTOR_SGIX = 0x818D + /// + MaxFramezoomFactorSgix = ((int)0x818D) , + /// + /// Original was GL_TEXTURE_LOD_BIAS_S_SGIX = 0x818E + /// + TextureLodBiasSSgix = ((int)0x818E) , + /// + /// Original was GL_TEXTURE_LOD_BIAS_T_SGIX = 0x818F + /// + TextureLodBiasTSgix = ((int)0x818F) , + /// + /// Original was GL_TEXTURE_LOD_BIAS_R_SGIX = 0x8190 + /// + TextureLodBiasRSgix = ((int)0x8190) , + /// + /// Original was GL_GENERATE_MIPMAP = 0x8191 + /// + GenerateMipmap = ((int)0x8191) , + /// + /// Original was GL_GENERATE_MIPMAP_SGIS = 0x8191 + /// + GenerateMipmapSgis = ((int)0x8191) , + /// + /// Original was GL_GENERATE_MIPMAP_HINT = 0x8192 + /// + GenerateMipmapHint = ((int)0x8192) , + /// + /// Original was GL_GENERATE_MIPMAP_HINT_SGIS = 0x8192 + /// + GenerateMipmapHintSgis = ((int)0x8192) , + /// + /// Original was GL_GEOMETRY_DEFORMATION_SGIX = 0x8194 + /// + GeometryDeformationSgix = ((int)0x8194) , + /// + /// Original was GL_TEXTURE_DEFORMATION_SGIX = 0x8195 + /// + TextureDeformationSgix = ((int)0x8195) , + /// + /// Original was GL_DEFORMATIONS_MASK_SGIX = 0x8196 + /// + DeformationsMaskSgix = ((int)0x8196) , + /// + /// Original was GL_MAX_DEFORMATION_ORDER_SGIX = 0x8197 + /// + MaxDeformationOrderSgix = ((int)0x8197) , + /// + /// Original was GL_FOG_OFFSET_SGIX = 0x8198 + /// + FogOffsetSgix = ((int)0x8198) , + /// + /// Original was GL_FOG_OFFSET_VALUE_SGIX = 0x8199 + /// + FogOffsetValueSgix = ((int)0x8199) , + /// + /// Original was GL_TEXTURE_COMPARE_SGIX = 0x819A + /// + TextureCompareSgix = ((int)0x819A) , + /// + /// Original was GL_TEXTURE_COMPARE_OPERATOR_SGIX = 0x819B + /// + TextureCompareOperatorSgix = ((int)0x819B) , + /// + /// Original was GL_TEXTURE_LEQUAL_R_SGIX = 0x819C + /// + TextureLequalRSgix = ((int)0x819C) , + /// + /// Original was GL_TEXTURE_GEQUAL_R_SGIX = 0x819D + /// + TextureGequalRSgix = ((int)0x819D) , + /// + /// Original was GL_DEPTH_COMPONENT16 = 0x81A5 + /// + DepthComponent16 = ((int)0x81A5) , + /// + /// Original was GL_DEPTH_COMPONENT16_ARB = 0x81A5 + /// + DepthComponent16Arb = ((int)0x81A5) , + /// + /// Original was GL_DEPTH_COMPONENT16_OES = 0x81A5 + /// + DepthComponent16Oes = ((int)0x81A5) , + /// + /// Original was GL_DEPTH_COMPONENT16_SGIX = 0x81A5 + /// + DepthComponent16Sgix = ((int)0x81A5) , + /// + /// Original was GL_DEPTH_COMPONENT24 = 0x81A6 + /// + DepthComponent24 = ((int)0x81A6) , + /// + /// Original was GL_DEPTH_COMPONENT24_ARB = 0x81A6 + /// + DepthComponent24Arb = ((int)0x81A6) , + /// + /// Original was GL_DEPTH_COMPONENT24_OES = 0x81A6 + /// + DepthComponent24Oes = ((int)0x81A6) , + /// + /// Original was GL_DEPTH_COMPONENT24_SGIX = 0x81A6 + /// + DepthComponent24Sgix = ((int)0x81A6) , + /// + /// Original was GL_DEPTH_COMPONENT32 = 0x81A7 + /// + DepthComponent32 = ((int)0x81A7) , + /// + /// Original was GL_DEPTH_COMPONENT32_ARB = 0x81A7 + /// + DepthComponent32Arb = ((int)0x81A7) , + /// + /// Original was GL_DEPTH_COMPONENT32_OES = 0x81A7 + /// + DepthComponent32Oes = ((int)0x81A7) , + /// + /// Original was GL_DEPTH_COMPONENT32_SGIX = 0x81A7 + /// + DepthComponent32Sgix = ((int)0x81A7) , + /// + /// Original was GL_ARRAY_ELEMENT_LOCK_FIRST_EXT = 0x81A8 + /// + ArrayElementLockFirstExt = ((int)0x81A8) , + /// + /// Original was GL_ARRAY_ELEMENT_LOCK_COUNT_EXT = 0x81A9 + /// + ArrayElementLockCountExt = ((int)0x81A9) , + /// + /// Original was GL_CULL_VERTEX_EXT = 0x81AA + /// + CullVertexExt = ((int)0x81AA) , + /// + /// Original was GL_CULL_VERTEX_EYE_POSITION_EXT = 0x81AB + /// + CullVertexEyePositionExt = ((int)0x81AB) , + /// + /// Original was GL_CULL_VERTEX_OBJECT_POSITION_EXT = 0x81AC + /// + CullVertexObjectPositionExt = ((int)0x81AC) , + /// + /// Original was GL_IUI_V2F_EXT = 0x81AD + /// + IuiV2fExt = ((int)0x81AD) , + /// + /// Original was GL_IUI_V3F_EXT = 0x81AE + /// + IuiV3fExt = ((int)0x81AE) , + /// + /// Original was GL_IUI_N3F_V2F_EXT = 0x81AF + /// + IuiN3fV2fExt = ((int)0x81AF) , + /// + /// Original was GL_IUI_N3F_V3F_EXT = 0x81B0 + /// + IuiN3fV3fExt = ((int)0x81B0) , + /// + /// Original was GL_T2F_IUI_V2F_EXT = 0x81B1 + /// + T2fIuiV2fExt = ((int)0x81B1) , + /// + /// Original was GL_T2F_IUI_V3F_EXT = 0x81B2 + /// + T2fIuiV3fExt = ((int)0x81B2) , + /// + /// Original was GL_T2F_IUI_N3F_V2F_EXT = 0x81B3 + /// + T2fIuiN3fV2fExt = ((int)0x81B3) , + /// + /// Original was GL_T2F_IUI_N3F_V3F_EXT = 0x81B4 + /// + T2fIuiN3fV3fExt = ((int)0x81B4) , + /// + /// Original was GL_INDEX_TEST_EXT = 0x81B5 + /// + IndexTestExt = ((int)0x81B5) , + /// + /// Original was GL_INDEX_TEST_FUNC_EXT = 0x81B6 + /// + IndexTestFuncExt = ((int)0x81B6) , + /// + /// Original was GL_INDEX_TEST_REF_EXT = 0x81B7 + /// + IndexTestRefExt = ((int)0x81B7) , + /// + /// Original was GL_INDEX_MATERIAL_EXT = 0x81B8 + /// + IndexMaterialExt = ((int)0x81B8) , + /// + /// Original was GL_INDEX_MATERIAL_PARAMETER_EXT = 0x81B9 + /// + IndexMaterialParameterExt = ((int)0x81B9) , + /// + /// Original was GL_INDEX_MATERIAL_FACE_EXT = 0x81BA + /// + IndexMaterialFaceExt = ((int)0x81BA) , + /// + /// Original was GL_YCRCB_422_SGIX = 0x81BB + /// + Ycrcb422Sgix = ((int)0x81BB) , + /// + /// Original was GL_YCRCB_444_SGIX = 0x81BC + /// + Ycrcb444Sgix = ((int)0x81BC) , + /// + /// Original was GL_WRAP_BORDER_SUN = 0x81D4 + /// + WrapBorderSun = ((int)0x81D4) , + /// + /// Original was GL_UNPACK_CONSTANT_DATA_SUNX = 0x81D5 + /// + UnpackConstantDataSunx = ((int)0x81D5) , + /// + /// Original was GL_TEXTURE_CONSTANT_DATA_SUNX = 0x81D6 + /// + TextureConstantDataSunx = ((int)0x81D6) , + /// + /// Original was GL_TRIANGLE_LIST_SUN = 0x81D7 + /// + TriangleListSun = ((int)0x81D7) , + /// + /// Original was GL_REPLACEMENT_CODE_SUN = 0x81D8 + /// + ReplacementCodeSun = ((int)0x81D8) , + /// + /// Original was GL_GLOBAL_ALPHA_SUN = 0x81D9 + /// + GlobalAlphaSun = ((int)0x81D9) , + /// + /// Original was GL_GLOBAL_ALPHA_FACTOR_SUN = 0x81DA + /// + GlobalAlphaFactorSun = ((int)0x81DA) , + /// + /// Original was GL_TEXTURE_COLOR_WRITEMASK_SGIS = 0x81EF + /// + TextureColorWritemaskSgis = ((int)0x81EF) , + /// + /// Original was GL_EYE_DISTANCE_TO_POINT_SGIS = 0x81F0 + /// + EyeDistanceToPointSgis = ((int)0x81F0) , + /// + /// Original was GL_OBJECT_DISTANCE_TO_POINT_SGIS = 0x81F1 + /// + ObjectDistanceToPointSgis = ((int)0x81F1) , + /// + /// Original was GL_EYE_DISTANCE_TO_LINE_SGIS = 0x81F2 + /// + EyeDistanceToLineSgis = ((int)0x81F2) , + /// + /// Original was GL_OBJECT_DISTANCE_TO_LINE_SGIS = 0x81F3 + /// + ObjectDistanceToLineSgis = ((int)0x81F3) , + /// + /// Original was GL_EYE_POINT_SGIS = 0x81F4 + /// + EyePointSgis = ((int)0x81F4) , + /// + /// Original was GL_OBJECT_POINT_SGIS = 0x81F5 + /// + ObjectPointSgis = ((int)0x81F5) , + /// + /// Original was GL_EYE_LINE_SGIS = 0x81F6 + /// + EyeLineSgis = ((int)0x81F6) , + /// + /// Original was GL_OBJECT_LINE_SGIS = 0x81F7 + /// + ObjectLineSgis = ((int)0x81F7) , + /// + /// Original was GL_LIGHT_MODEL_COLOR_CONTROL = 0x81F8 + /// + LightModelColorControl = ((int)0x81F8) , + /// + /// Original was GL_LIGHT_MODEL_COLOR_CONTROL_EXT = 0x81F8 + /// + LightModelColorControlExt = ((int)0x81F8) , + /// + /// Original was GL_SINGLE_COLOR = 0x81F9 + /// + SingleColor = ((int)0x81F9) , + /// + /// Original was GL_SINGLE_COLOR_EXT = 0x81F9 + /// + SingleColorExt = ((int)0x81F9) , + /// + /// Original was GL_SEPARATE_SPECULAR_COLOR = 0x81FA + /// + SeparateSpecularColor = ((int)0x81FA) , + /// + /// Original was GL_SEPARATE_SPECULAR_COLOR_EXT = 0x81FA + /// + SeparateSpecularColorExt = ((int)0x81FA) , + /// + /// Original was GL_SHARED_TEXTURE_PALETTE_EXT = 0x81FB + /// + SharedTexturePaletteExt = ((int)0x81FB) , + /// + /// Original was GL_FOG_SCALE_SGIX = 0x81FC + /// + FogScaleSgix = ((int)0x81FC) , + /// + /// Original was GL_FOG_SCALE_VALUE_SGIX = 0x81FD + /// + FogScaleValueSgix = ((int)0x81FD) , + /// + /// Original was GL_TEXT_FRAGMENT_SHADER_ATI = 0x8200 + /// + TextFragmentShaderAti = ((int)0x8200) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING = 0x8210 + /// + FramebufferAttachmentColorEncoding = ((int)0x8210) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE = 0x8211 + /// + FramebufferAttachmentComponentType = ((int)0x8211) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE = 0x8212 + /// + FramebufferAttachmentRedSize = ((int)0x8212) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE = 0x8213 + /// + FramebufferAttachmentGreenSize = ((int)0x8213) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE = 0x8214 + /// + FramebufferAttachmentBlueSize = ((int)0x8214) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE = 0x8215 + /// + FramebufferAttachmentAlphaSize = ((int)0x8215) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE = 0x8216 + /// + FramebufferAttachmentDepthSize = ((int)0x8216) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE = 0x8217 + /// + FramebufferAttachmentStencilSize = ((int)0x8217) , + /// + /// Original was GL_FRAMEBUFFER_DEFAULT = 0x8218 + /// + FramebufferDefault = ((int)0x8218) , + /// + /// Original was GL_FRAMEBUFFER_UNDEFINED = 0x8219 + /// + FramebufferUndefined = ((int)0x8219) , + /// + /// Original was GL_DEPTH_STENCIL_ATTACHMENT = 0x821A + /// + DepthStencilAttachment = ((int)0x821A) , + /// + /// Original was GL_MAJOR_VERSION = 0x821B + /// + MajorVersion = ((int)0x821B) , + /// + /// Original was GL_MINOR_VERSION = 0x821C + /// + MinorVersion = ((int)0x821C) , + /// + /// Original was GL_NUM_EXTENSIONS = 0x821D + /// + NumExtensions = ((int)0x821D) , + /// + /// Original was GL_CONTEXT_FLAGS = 0x821E + /// + ContextFlags = ((int)0x821E) , + /// + /// Original was GL_INDEX = 0x8222 + /// + Index = ((int)0x8222) , + /// + /// Original was GL_DEPTH_BUFFER = 0x8223 + /// + DepthBuffer = ((int)0x8223) , + /// + /// Original was GL_STENCIL_BUFFER = 0x8224 + /// + StencilBuffer = ((int)0x8224) , + /// + /// Original was GL_COMPRESSED_RED = 0x8225 + /// + CompressedRed = ((int)0x8225) , + /// + /// Original was GL_COMPRESSED_RG = 0x8226 + /// + CompressedRg = ((int)0x8226) , + /// + /// Original was GL_RG = 0x8227 + /// + Rg = ((int)0x8227) , + /// + /// Original was GL_RG_INTEGER = 0x8228 + /// + RgInteger = ((int)0x8228) , + /// + /// Original was GL_R8 = 0x8229 + /// + R8 = ((int)0x8229) , + /// + /// Original was GL_R16 = 0x822A + /// + R16 = ((int)0x822A) , + /// + /// Original was GL_RG8 = 0x822B + /// + Rg8 = ((int)0x822B) , + /// + /// Original was GL_RG16 = 0x822C + /// + Rg16 = ((int)0x822C) , + /// + /// Original was GL_R16F = 0x822D + /// + R16f = ((int)0x822D) , + /// + /// Original was GL_R32F = 0x822E + /// + R32f = ((int)0x822E) , + /// + /// Original was GL_RG16F = 0x822F + /// + Rg16f = ((int)0x822F) , + /// + /// Original was GL_RG32F = 0x8230 + /// + Rg32f = ((int)0x8230) , + /// + /// Original was GL_R8I = 0x8231 + /// + R8i = ((int)0x8231) , + /// + /// Original was GL_R8UI = 0x8232 + /// + R8ui = ((int)0x8232) , + /// + /// Original was GL_R16I = 0x8233 + /// + R16i = ((int)0x8233) , + /// + /// Original was GL_R16UI = 0x8234 + /// + R16ui = ((int)0x8234) , + /// + /// Original was GL_R32I = 0x8235 + /// + R32i = ((int)0x8235) , + /// + /// Original was GL_R32UI = 0x8236 + /// + R32ui = ((int)0x8236) , + /// + /// Original was GL_RG8I = 0x8237 + /// + Rg8i = ((int)0x8237) , + /// + /// Original was GL_RG8UI = 0x8238 + /// + Rg8ui = ((int)0x8238) , + /// + /// Original was GL_RG16I = 0x8239 + /// + Rg16i = ((int)0x8239) , + /// + /// Original was GL_RG16UI = 0x823A + /// + Rg16ui = ((int)0x823A) , + /// + /// Original was GL_RG32I = 0x823B + /// + Rg32i = ((int)0x823B) , + /// + /// Original was GL_RG32UI = 0x823C + /// + Rg32ui = ((int)0x823C) , + /// + /// Original was GL_SYNC_CL_EVENT_ARB = 0x8240 + /// + SyncClEventArb = ((int)0x8240) , + /// + /// Original was GL_SYNC_CL_EVENT_COMPLETE_ARB = 0x8241 + /// + SyncClEventCompleteArb = ((int)0x8241) , + /// + /// Original was GL_DEBUG_OUTPUT_SYNCHRONOUS_ARB = 0x8242 + /// + DebugOutputSynchronousArb = ((int)0x8242) , + /// + /// Original was GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_ARB = 0x8243 + /// + DebugNextLoggedMessageLengthArb = ((int)0x8243) , + /// + /// Original was GL_DEBUG_CALLBACK_FUNCTION_ARB = 0x8244 + /// + DebugCallbackFunctionArb = ((int)0x8244) , + /// + /// Original was GL_DEBUG_CALLBACK_USER_PARAM_ARB = 0x8245 + /// + DebugCallbackUserParamArb = ((int)0x8245) , + /// + /// Original was GL_DEBUG_SOURCE_API_ARB = 0x8246 + /// + DebugSourceApiArb = ((int)0x8246) , + /// + /// Original was GL_DEBUG_SOURCE_WINDOW_SYSTEM_ARB = 0x8247 + /// + DebugSourceWindowSystemArb = ((int)0x8247) , + /// + /// Original was GL_DEBUG_SOURCE_SHADER_COMPILER_ARB = 0x8248 + /// + DebugSourceShaderCompilerArb = ((int)0x8248) , + /// + /// Original was GL_DEBUG_SOURCE_THIRD_PARTY_ARB = 0x8249 + /// + DebugSourceThirdPartyArb = ((int)0x8249) , + /// + /// Original was GL_DEBUG_SOURCE_APPLICATION_ARB = 0x824A + /// + DebugSourceApplicationArb = ((int)0x824A) , + /// + /// Original was GL_DEBUG_SOURCE_OTHER_ARB = 0x824B + /// + DebugSourceOtherArb = ((int)0x824B) , + /// + /// Original was GL_DEBUG_TYPE_ERROR_ARB = 0x824C + /// + DebugTypeErrorArb = ((int)0x824C) , + /// + /// Original was GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR_ARB = 0x824D + /// + DebugTypeDeprecatedBehaviorArb = ((int)0x824D) , + /// + /// Original was GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR_ARB = 0x824E + /// + DebugTypeUndefinedBehaviorArb = ((int)0x824E) , + /// + /// Original was GL_DEBUG_TYPE_PORTABILITY_ARB = 0x824F + /// + DebugTypePortabilityArb = ((int)0x824F) , + /// + /// Original was GL_DEBUG_TYPE_PERFORMANCE_ARB = 0x8250 + /// + DebugTypePerformanceArb = ((int)0x8250) , + /// + /// Original was GL_DEBUG_TYPE_OTHER_ARB = 0x8251 + /// + DebugTypeOtherArb = ((int)0x8251) , + /// + /// Original was GL_LOSE_CONTEXT_ON_RESET_ARB = 0x8252 + /// + LoseContextOnResetArb = ((int)0x8252) , + /// + /// Original was GL_GUILTY_CONTEXT_RESET_ARB = 0x8253 + /// + GuiltyContextResetArb = ((int)0x8253) , + /// + /// Original was GL_INNOCENT_CONTEXT_RESET_ARB = 0x8254 + /// + InnocentContextResetArb = ((int)0x8254) , + /// + /// Original was GL_UNKNOWN_CONTEXT_RESET_ARB = 0x8255 + /// + UnknownContextResetArb = ((int)0x8255) , + /// + /// Original was GL_RESET_NOTIFICATION_STRATEGY_ARB = 0x8256 + /// + ResetNotificationStrategyArb = ((int)0x8256) , + /// + /// Original was GL_PROGRAM_BINARY_RETRIEVABLE_HINT = 0x8257 + /// + ProgramBinaryRetrievableHint = ((int)0x8257) , + /// + /// Original was GL_PROGRAM_SEPARABLE = 0x8258 + /// + ProgramSeparable = ((int)0x8258) , + /// + /// Original was GL_ACTIVE_PROGRAM = 0x8259 + /// + ActiveProgram = ((int)0x8259) , + /// + /// Original was GL_PROGRAM_PIPELINE_BINDING = 0x825A + /// + ProgramPipelineBinding = ((int)0x825A) , + /// + /// Original was GL_MAX_VIEWPORTS = 0x825B + /// + MaxViewports = ((int)0x825B) , + /// + /// Original was GL_VIEWPORT_SUBPIXEL_BITS = 0x825C + /// + ViewportSubpixelBits = ((int)0x825C) , + /// + /// Original was GL_VIEWPORT_BOUNDS_RANGE = 0x825D + /// + ViewportBoundsRange = ((int)0x825D) , + /// + /// Original was GL_LAYER_PROVOKING_VERTEX = 0x825E + /// + LayerProvokingVertex = ((int)0x825E) , + /// + /// Original was GL_VIEWPORT_INDEX_PROVOKING_VERTEX = 0x825F + /// + ViewportIndexProvokingVertex = ((int)0x825F) , + /// + /// Original was GL_UNDEFINED_VERTEX = 0x8260 + /// + UndefinedVertex = ((int)0x8260) , + /// + /// Original was GL_NO_RESET_NOTIFICATION_ARB = 0x8261 + /// + NoResetNotificationArb = ((int)0x8261) , + /// + /// Original was GL_DEPTH_PASS_INSTRUMENT_SGIX = 0x8310 + /// + DepthPassInstrumentSgix = ((int)0x8310) , + /// + /// Original was GL_DEPTH_PASS_INSTRUMENT_COUNTERS_SGIX = 0x8311 + /// + DepthPassInstrumentCountersSgix = ((int)0x8311) , + /// + /// Original was GL_DEPTH_PASS_INSTRUMENT_MAX_SGIX = 0x8312 + /// + DepthPassInstrumentMaxSgix = ((int)0x8312) , + /// + /// Original was GL_FRAGMENTS_INSTRUMENT_SGIX = 0x8313 + /// + FragmentsInstrumentSgix = ((int)0x8313) , + /// + /// Original was GL_FRAGMENTS_INSTRUMENT_COUNTERS_SGIX = 0x8314 + /// + FragmentsInstrumentCountersSgix = ((int)0x8314) , + /// + /// Original was GL_FRAGMENTS_INSTRUMENT_MAX_SGIX = 0x8315 + /// + FragmentsInstrumentMaxSgix = ((int)0x8315) , + /// + /// Original was GL_CONVOLUTION_HINT_SGIX = 0x8316 + /// + ConvolutionHintSgix = ((int)0x8316) , + /// + /// Original was GL_YCRCB_SGIX = 0x8318 + /// + YcrcbSgix = ((int)0x8318) , + /// + /// Original was GL_YCRCBA_SGIX = 0x8319 + /// + YcrcbaSgix = ((int)0x8319) , + /// + /// Original was GL_UNPACK_COMPRESSED_SIZE_SGIX = 0x831A + /// + UnpackCompressedSizeSgix = ((int)0x831A) , + /// + /// Original was GL_PACK_MAX_COMPRESSED_SIZE_SGIX = 0x831B + /// + PackMaxCompressedSizeSgix = ((int)0x831B) , + /// + /// Original was GL_PACK_COMPRESSED_SIZE_SGIX = 0x831C + /// + PackCompressedSizeSgix = ((int)0x831C) , + /// + /// Original was GL_SLIM8U_SGIX = 0x831D + /// + Slim8uSgix = ((int)0x831D) , + /// + /// Original was GL_SLIM10U_SGIX = 0x831E + /// + Slim10uSgix = ((int)0x831E) , + /// + /// Original was GL_SLIM12S_SGIX = 0x831F + /// + Slim12sSgix = ((int)0x831F) , + /// + /// Original was GL_ALPHA_MIN_SGIX = 0x8320 + /// + AlphaMinSgix = ((int)0x8320) , + /// + /// Original was GL_ALPHA_MAX_SGIX = 0x8321 + /// + AlphaMaxSgix = ((int)0x8321) , + /// + /// Original was GL_SCALEBIAS_HINT_SGIX = 0x8322 + /// + ScalebiasHintSgix = ((int)0x8322) , + /// + /// Original was GL_ASYNC_MARKER_SGIX = 0x8329 + /// + AsyncMarkerSgix = ((int)0x8329) , + /// + /// Original was GL_PIXEL_TEX_GEN_MODE_SGIX = 0x832B + /// + PixelTexGenModeSgix = ((int)0x832B) , + /// + /// Original was GL_ASYNC_HISTOGRAM_SGIX = 0x832C + /// + AsyncHistogramSgix = ((int)0x832C) , + /// + /// Original was GL_MAX_ASYNC_HISTOGRAM_SGIX = 0x832D + /// + MaxAsyncHistogramSgix = ((int)0x832D) , + /// + /// Original was GL_PIXEL_TRANSFORM_2D_EXT = 0x8330 + /// + PixelTransform2DExt = ((int)0x8330) , + /// + /// Original was GL_PIXEL_MAG_FILTER_EXT = 0x8331 + /// + PixelMagFilterExt = ((int)0x8331) , + /// + /// Original was GL_PIXEL_MIN_FILTER_EXT = 0x8332 + /// + PixelMinFilterExt = ((int)0x8332) , + /// + /// Original was GL_PIXEL_CUBIC_WEIGHT_EXT = 0x8333 + /// + PixelCubicWeightExt = ((int)0x8333) , + /// + /// Original was GL_CUBIC_EXT = 0x8334 + /// + CubicExt = ((int)0x8334) , + /// + /// Original was GL_AVERAGE_EXT = 0x8335 + /// + AverageExt = ((int)0x8335) , + /// + /// Original was GL_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT = 0x8336 + /// + PixelTransform2DStackDepthExt = ((int)0x8336) , + /// + /// Original was GL_MAX_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT = 0x8337 + /// + MaxPixelTransform2DStackDepthExt = ((int)0x8337) , + /// + /// Original was GL_PIXEL_TRANSFORM_2D_MATRIX_EXT = 0x8338 + /// + PixelTransform2DMatrixExt = ((int)0x8338) , + /// + /// Original was GL_FRAGMENT_MATERIAL_EXT = 0x8349 + /// + FragmentMaterialExt = ((int)0x8349) , + /// + /// Original was GL_FRAGMENT_NORMAL_EXT = 0x834A + /// + FragmentNormalExt = ((int)0x834A) , + /// + /// Original was GL_FRAGMENT_COLOR_EXT = 0x834C + /// + FragmentColorExt = ((int)0x834C) , + /// + /// Original was GL_ATTENUATION_EXT = 0x834D + /// + AttenuationExt = ((int)0x834D) , + /// + /// Original was GL_SHADOW_ATTENUATION_EXT = 0x834E + /// + ShadowAttenuationExt = ((int)0x834E) , + /// + /// Original was GL_TEXTURE_APPLICATION_MODE_EXT = 0x834F + /// + TextureApplicationModeExt = ((int)0x834F) , + /// + /// Original was GL_TEXTURE_LIGHT_EXT = 0x8350 + /// + TextureLightExt = ((int)0x8350) , + /// + /// Original was GL_TEXTURE_MATERIAL_FACE_EXT = 0x8351 + /// + TextureMaterialFaceExt = ((int)0x8351) , + /// + /// Original was GL_TEXTURE_MATERIAL_PARAMETER_EXT = 0x8352 + /// + TextureMaterialParameterExt = ((int)0x8352) , + /// + /// Original was GL_PIXEL_TEXTURE_SGIS = 0x8353 + /// + PixelTextureSgis = ((int)0x8353) , + /// + /// Original was GL_PIXEL_FRAGMENT_RGB_SOURCE_SGIS = 0x8354 + /// + PixelFragmentRgbSourceSgis = ((int)0x8354) , + /// + /// Original was GL_PIXEL_FRAGMENT_ALPHA_SOURCE_SGIS = 0x8355 + /// + PixelFragmentAlphaSourceSgis = ((int)0x8355) , + /// + /// Original was GL_PIXEL_GROUP_COLOR_SGIS = 0x8356 + /// + PixelGroupColorSgis = ((int)0x8356) , + /// + /// Original was GL_LINE_QUALITY_HINT_SGIX = 0x835B + /// + LineQualityHintSgix = ((int)0x835B) , + /// + /// Original was GL_ASYNC_TEX_IMAGE_SGIX = 0x835C + /// + AsyncTexImageSgix = ((int)0x835C) , + /// + /// Original was GL_ASYNC_DRAW_PIXELS_SGIX = 0x835D + /// + AsyncDrawPixelsSgix = ((int)0x835D) , + /// + /// Original was GL_ASYNC_READ_PIXELS_SGIX = 0x835E + /// + AsyncReadPixelsSgix = ((int)0x835E) , + /// + /// Original was GL_MAX_ASYNC_TEX_IMAGE_SGIX = 0x835F + /// + MaxAsyncTexImageSgix = ((int)0x835F) , + /// + /// Original was GL_MAX_ASYNC_DRAW_PIXELS_SGIX = 0x8360 + /// + MaxAsyncDrawPixelsSgix = ((int)0x8360) , + /// + /// Original was GL_MAX_ASYNC_READ_PIXELS_SGIX = 0x8361 + /// + MaxAsyncReadPixelsSgix = ((int)0x8361) , + /// + /// Original was GL_UNSIGNED_BYTE_2_3_3_REV = 0x8362 + /// + UnsignedByte233Rev = ((int)0x8362) , + /// + /// Original was GL_UNSIGNED_BYTE_2_3_3_REVERSED = 0x8362 + /// + UnsignedByte233Reversed = ((int)0x8362) , + /// + /// Original was GL_UNSIGNED_BYTE_2_3_3_REV_EXT = 0x8362 + /// + UnsignedByte233RevExt = ((int)0x8362) , + /// + /// Original was GL_UNSIGNED_SHORT_5_6_5 = 0x8363 + /// + UnsignedShort565 = ((int)0x8363) , + /// + /// Original was GL_UNSIGNED_SHORT_5_6_5_EXT = 0x8363 + /// + UnsignedShort565Ext = ((int)0x8363) , + /// + /// Original was GL_UNSIGNED_SHORT_5_6_5_REV = 0x8364 + /// + UnsignedShort565Rev = ((int)0x8364) , + /// + /// Original was GL_UNSIGNED_SHORT_5_6_5_REVERSED = 0x8364 + /// + UnsignedShort565Reversed = ((int)0x8364) , + /// + /// Original was GL_UNSIGNED_SHORT_5_6_5_REV_EXT = 0x8364 + /// + UnsignedShort565RevExt = ((int)0x8364) , + /// + /// Original was GL_UNSIGNED_SHORT_4_4_4_4_REV = 0x8365 + /// + UnsignedShort4444Rev = ((int)0x8365) , + /// + /// Original was GL_UNSIGNED_SHORT_4_4_4_4_REVERSED = 0x8365 + /// + UnsignedShort4444Reversed = ((int)0x8365) , + /// + /// Original was GL_UNSIGNED_SHORT_4_4_4_4_REV_EXT = 0x8365 + /// + UnsignedShort4444RevExt = ((int)0x8365) , + /// + /// Original was GL_UNSIGNED_SHORT_1_5_5_5_REV = 0x8366 + /// + UnsignedShort1555Rev = ((int)0x8366) , + /// + /// Original was GL_UNSIGNED_SHORT_1_5_5_5_REVERSED = 0x8366 + /// + UnsignedShort1555Reversed = ((int)0x8366) , + /// + /// Original was GL_UNSIGNED_SHORT_1_5_5_5_REV_EXT = 0x8366 + /// + UnsignedShort1555RevExt = ((int)0x8366) , + /// + /// Original was GL_UNSIGNED_INT_8_8_8_8_REV = 0x8367 + /// + UnsignedInt8888Rev = ((int)0x8367) , + /// + /// Original was GL_UNSIGNED_INT_8_8_8_8_REVERSED = 0x8367 + /// + UnsignedInt8888Reversed = ((int)0x8367) , + /// + /// Original was GL_UNSIGNED_INT_8_8_8_8_REV_EXT = 0x8367 + /// + UnsignedInt8888RevExt = ((int)0x8367) , + /// + /// Original was GL_UNSIGNED_INT_2_10_10_10_REV = 0x8368 + /// + UnsignedInt2101010Rev = ((int)0x8368) , + /// + /// Original was GL_UNSIGNED_INT_2_10_10_10_REVERSED = 0x8368 + /// + UnsignedInt2101010Reversed = ((int)0x8368) , + /// + /// Original was GL_UNSIGNED_INT_2_10_10_10_REV_EXT = 0x8368 + /// + UnsignedInt2101010RevExt = ((int)0x8368) , + /// + /// Original was GL_TEXTURE_MAX_CLAMP_S_SGIX = 0x8369 + /// + TextureMaxClampSSgix = ((int)0x8369) , + /// + /// Original was GL_TEXTURE_MAX_CLAMP_T_SGIX = 0x836A + /// + TextureMaxClampTSgix = ((int)0x836A) , + /// + /// Original was GL_TEXTURE_MAX_CLAMP_R_SGIX = 0x836B + /// + TextureMaxClampRSgix = ((int)0x836B) , + /// + /// Original was GL_FOG_FACTOR_TO_ALPHA_SGIX = 0x836F + /// + FogFactorToAlphaSgix = ((int)0x836F) , + /// + /// Original was GL_MIRRORED_REPEAT = 0x8370 + /// + MirroredRepeat = ((int)0x8370) , + /// + /// Original was GL_MIRRORED_REPEAT_ARB = 0x8370 + /// + MirroredRepeatArb = ((int)0x8370) , + /// + /// Original was GL_MIRRORED_REPEAT_IBM = 0x8370 + /// + MirroredRepeatIbm = ((int)0x8370) , + /// + /// Original was GL_MIRRORED_REPEAT_OES = 0x8370 + /// + MirroredRepeatOes = ((int)0x8370) , + /// + /// Original was GL_RGB_S3TC = 0x83A0 + /// + RgbS3tc = ((int)0x83A0) , + /// + /// Original was GL_RGB4_S3TC = 0x83A1 + /// + Rgb4S3tc = ((int)0x83A1) , + /// + /// Original was GL_RGBA_S3TC = 0x83A2 + /// + RgbaS3tc = ((int)0x83A2) , + /// + /// Original was GL_RGBA4_S3TC = 0x83A3 + /// + Rgba4S3tc = ((int)0x83A3) , + /// + /// Original was GL_VERTEX_PRECLIP_SGIX = 0x83EE + /// + VertexPreclipSgix = ((int)0x83EE) , + /// + /// Original was GL_VERTEX_PRECLIP_HINT_SGIX = 0x83EF + /// + VertexPreclipHintSgix = ((int)0x83EF) , + /// + /// Original was GL_COMPRESSED_RGB_S3TC_DXT1_EXT = 0x83F0 + /// + CompressedRgbS3tcDxt1Ext = ((int)0x83F0) , + /// + /// Original was GL_COMPRESSED_RGBA_S3TC_DXT1_EXT = 0x83F1 + /// + CompressedRgbaS3tcDxt1Ext = ((int)0x83F1) , + /// + /// Original was GL_COMPRESSED_RGBA_S3TC_DXT3_EXT = 0x83F2 + /// + CompressedRgbaS3tcDxt3Ext = ((int)0x83F2) , + /// + /// Original was GL_COMPRESSED_RGBA_S3TC_DXT5_EXT = 0x83F3 + /// + CompressedRgbaS3tcDxt5Ext = ((int)0x83F3) , + /// + /// Original was GL_PARALLEL_ARRAYS_INTEL = 0x83F4 + /// + ParallelArraysIntel = ((int)0x83F4) , + /// + /// Original was GL_VERTEX_ARRAY_PARALLEL_POINTERS_INTEL = 0x83F5 + /// + VertexArrayParallelPointersIntel = ((int)0x83F5) , + /// + /// Original was GL_NORMAL_ARRAY_PARALLEL_POINTERS_INTEL = 0x83F6 + /// + NormalArrayParallelPointersIntel = ((int)0x83F6) , + /// + /// Original was GL_COLOR_ARRAY_PARALLEL_POINTERS_INTEL = 0x83F7 + /// + ColorArrayParallelPointersIntel = ((int)0x83F7) , + /// + /// Original was GL_TEXTURE_COORD_ARRAY_PARALLEL_POINTERS_INTEL = 0x83F8 + /// + TextureCoordArrayParallelPointersIntel = ((int)0x83F8) , + /// + /// Original was GL_FRAGMENT_LIGHTING_SGIX = 0x8400 + /// + FragmentLightingSgix = ((int)0x8400) , + /// + /// Original was GL_FRAGMENT_COLOR_MATERIAL_SGIX = 0x8401 + /// + FragmentColorMaterialSgix = ((int)0x8401) , + /// + /// Original was GL_FRAGMENT_COLOR_MATERIAL_FACE_SGIX = 0x8402 + /// + FragmentColorMaterialFaceSgix = ((int)0x8402) , + /// + /// Original was GL_FRAGMENT_COLOR_MATERIAL_PARAMETER_SGIX = 0x8403 + /// + FragmentColorMaterialParameterSgix = ((int)0x8403) , + /// + /// Original was GL_MAX_FRAGMENT_LIGHTS_SGIX = 0x8404 + /// + MaxFragmentLightsSgix = ((int)0x8404) , + /// + /// Original was GL_MAX_ACTIVE_LIGHTS_SGIX = 0x8405 + /// + MaxActiveLightsSgix = ((int)0x8405) , + /// + /// Original was GL_CURRENT_RASTER_NORMAL_SGIX = 0x8406 + /// + CurrentRasterNormalSgix = ((int)0x8406) , + /// + /// Original was GL_LIGHT_ENV_MODE_SGIX = 0x8407 + /// + LightEnvModeSgix = ((int)0x8407) , + /// + /// Original was GL_FRAGMENT_LIGHT_MODEL_LOCAL_VIEWER_SGIX = 0x8408 + /// + FragmentLightModelLocalViewerSgix = ((int)0x8408) , + /// + /// Original was GL_FRAGMENT_LIGHT_MODEL_TWO_SIDE_SGIX = 0x8409 + /// + FragmentLightModelTwoSideSgix = ((int)0x8409) , + /// + /// Original was GL_FRAGMENT_LIGHT_MODEL_AMBIENT_SGIX = 0x840A + /// + FragmentLightModelAmbientSgix = ((int)0x840A) , + /// + /// Original was GL_FRAGMENT_LIGHT_MODEL_NORMAL_INTERPOLATION_SGIX = 0x840B + /// + FragmentLightModelNormalInterpolationSgix = ((int)0x840B) , + /// + /// Original was GL_FRAGMENT_LIGHT0_SGIX = 0x840C + /// + FragmentLight0Sgix = ((int)0x840C) , + /// + /// Original was GL_FRAGMENT_LIGHT1_SGIX = 0x840D + /// + FragmentLight1Sgix = ((int)0x840D) , + /// + /// Original was GL_FRAGMENT_LIGHT2_SGIX = 0x840E + /// + FragmentLight2Sgix = ((int)0x840E) , + /// + /// Original was GL_FRAGMENT_LIGHT3_SGIX = 0x840F + /// + FragmentLight3Sgix = ((int)0x840F) , + /// + /// Original was GL_FRAGMENT_LIGHT4_SGIX = 0x8410 + /// + FragmentLight4Sgix = ((int)0x8410) , + /// + /// Original was GL_FRAGMENT_LIGHT5_SGIX = 0x8411 + /// + FragmentLight5Sgix = ((int)0x8411) , + /// + /// Original was GL_FRAGMENT_LIGHT6_SGIX = 0x8412 + /// + FragmentLight6Sgix = ((int)0x8412) , + /// + /// Original was GL_FRAGMENT_LIGHT7_SGIX = 0x8413 + /// + FragmentLight7Sgix = ((int)0x8413) , + /// + /// Original was GL_PACK_RESAMPLE_SGIX = 0x842C + /// + PackResampleSgix = ((int)0x842C) , + /// + /// Original was GL_UNPACK_RESAMPLE_SGIX = 0x842D + /// + UnpackResampleSgix = ((int)0x842D) , + /// + /// Original was GL_RESAMPLE_REPLICATE_SGIX = 0x842E + /// + ResampleReplicateSgix = ((int)0x842E) , + /// + /// Original was GL_RESAMPLE_ZERO_FILL_SGIX = 0x842F + /// + ResampleZeroFillSgix = ((int)0x842F) , + /// + /// Original was GL_RESAMPLE_DECIMATE_SGIX = 0x8430 + /// + ResampleDecimateSgix = ((int)0x8430) , + /// + /// Original was GL_TANGENT_ARRAY_EXT = 0x8439 + /// + TangentArrayExt = ((int)0x8439) , + /// + /// Original was GL_BINORMAL_ARRAY_EXT = 0x843A + /// + BinormalArrayExt = ((int)0x843A) , + /// + /// Original was GL_CURRENT_TANGENT_EXT = 0x843B + /// + CurrentTangentExt = ((int)0x843B) , + /// + /// Original was GL_CURRENT_BINORMAL_EXT = 0x843C + /// + CurrentBinormalExt = ((int)0x843C) , + /// + /// Original was GL_TANGENT_ARRAY_TYPE_EXT = 0x843E + /// + TangentArrayTypeExt = ((int)0x843E) , + /// + /// Original was GL_TANGENT_ARRAY_STRIDE_EXT = 0x843F + /// + TangentArrayStrideExt = ((int)0x843F) , + /// + /// Original was GL_BINORMAL_ARRAY_TYPE_EXT = 0x8440 + /// + BinormalArrayTypeExt = ((int)0x8440) , + /// + /// Original was GL_BINORMAL_ARRAY_STRIDE_EXT = 0x8441 + /// + BinormalArrayStrideExt = ((int)0x8441) , + /// + /// Original was GL_TANGENT_ARRAY_POINTER_EXT = 0x8442 + /// + TangentArrayPointerExt = ((int)0x8442) , + /// + /// Original was GL_BINORMAL_ARRAY_POINTER_EXT = 0x8443 + /// + BinormalArrayPointerExt = ((int)0x8443) , + /// + /// Original was GL_MAP1_TANGENT_EXT = 0x8444 + /// + Map1TangentExt = ((int)0x8444) , + /// + /// Original was GL_MAP2_TANGENT_EXT = 0x8445 + /// + Map2TangentExt = ((int)0x8445) , + /// + /// Original was GL_MAP1_BINORMAL_EXT = 0x8446 + /// + Map1BinormalExt = ((int)0x8446) , + /// + /// Original was GL_MAP2_BINORMAL_EXT = 0x8447 + /// + Map2BinormalExt = ((int)0x8447) , + /// + /// Original was GL_NEAREST_CLIPMAP_NEAREST_SGIX = 0x844D + /// + NearestClipmapNearestSgix = ((int)0x844D) , + /// + /// Original was GL_NEAREST_CLIPMAP_LINEAR_SGIX = 0x844E + /// + NearestClipmapLinearSgix = ((int)0x844E) , + /// + /// Original was GL_LINEAR_CLIPMAP_NEAREST_SGIX = 0x844F + /// + LinearClipmapNearestSgix = ((int)0x844F) , + /// + /// Original was GL_FOG_COORDINATE_SOURCE = 0x8450 + /// + FogCoordinateSource = ((int)0x8450) , + /// + /// Original was GL_FOG_COORDINATE_SOURCE_EXT = 0x8450 + /// + FogCoordinateSourceExt = ((int)0x8450) , + /// + /// Original was GL_FOG_COORD_SRC = 0x8450 + /// + FogCoordSrc = ((int)0x8450) , + /// + /// Original was GL_FOG_COORD = 0x8451 + /// + FogCoord = ((int)0x8451) , + /// + /// Original was GL_FOG_COORDINATE = 0x8451 + /// + FogCoordinate = ((int)0x8451) , + /// + /// Original was GL_FOG_COORDINATE_EXT = 0x8451 + /// + FogCoordinateExt = ((int)0x8451) , + /// + /// Original was GL_FRAGMENT_DEPTH = 0x8452 + /// + FragmentDepth = ((int)0x8452) , + /// + /// Original was GL_FRAGMENT_DEPTH_EXT = 0x8452 + /// + FragmentDepthExt = ((int)0x8452) , + /// + /// Original was GL_CURRENT_FOG_COORD = 0x8453 + /// + CurrentFogCoord = ((int)0x8453) , + /// + /// Original was GL_CURRENT_FOG_COORDINATE = 0x8453 + /// + CurrentFogCoordinate = ((int)0x8453) , + /// + /// Original was GL_CURRENT_FOG_COORDINATE_EXT = 0x8453 + /// + CurrentFogCoordinateExt = ((int)0x8453) , + /// + /// Original was GL_FOG_COORD_ARRAY_TYPE = 0x8454 + /// + FogCoordArrayType = ((int)0x8454) , + /// + /// Original was GL_FOG_COORDINATE_ARRAY_TYPE = 0x8454 + /// + FogCoordinateArrayType = ((int)0x8454) , + /// + /// Original was GL_FOG_COORDINATE_ARRAY_TYPE_EXT = 0x8454 + /// + FogCoordinateArrayTypeExt = ((int)0x8454) , + /// + /// Original was GL_FOG_COORD_ARRAY_STRIDE = 0x8455 + /// + FogCoordArrayStride = ((int)0x8455) , + /// + /// Original was GL_FOG_COORDINATE_ARRAY_STRIDE = 0x8455 + /// + FogCoordinateArrayStride = ((int)0x8455) , + /// + /// Original was GL_FOG_COORDINATE_ARRAY_STRIDE_EXT = 0x8455 + /// + FogCoordinateArrayStrideExt = ((int)0x8455) , + /// + /// Original was GL_FOG_COORD_ARRAY_POINTER = 0x8456 + /// + FogCoordArrayPointer = ((int)0x8456) , + /// + /// Original was GL_FOG_COORDINATE_ARRAY_POINTER = 0x8456 + /// + FogCoordinateArrayPointer = ((int)0x8456) , + /// + /// Original was GL_FOG_COORDINATE_ARRAY_POINTER_EXT = 0x8456 + /// + FogCoordinateArrayPointerExt = ((int)0x8456) , + /// + /// Original was GL_FOG_COORD_ARRAY = 0x8457 + /// + FogCoordArray = ((int)0x8457) , + /// + /// Original was GL_FOG_COORDINATE_ARRAY = 0x8457 + /// + FogCoordinateArray = ((int)0x8457) , + /// + /// Original was GL_FOG_COORDINATE_ARRAY_EXT = 0x8457 + /// + FogCoordinateArrayExt = ((int)0x8457) , + /// + /// Original was GL_COLOR_SUM = 0x8458 + /// + ColorSum = ((int)0x8458) , + /// + /// Original was GL_COLOR_SUM_ARB = 0x8458 + /// + ColorSumArb = ((int)0x8458) , + /// + /// Original was GL_COLOR_SUM_EXT = 0x8458 + /// + ColorSumExt = ((int)0x8458) , + /// + /// Original was GL_CURRENT_SECONDARY_COLOR = 0x8459 + /// + CurrentSecondaryColor = ((int)0x8459) , + /// + /// Original was GL_CURRENT_SECONDARY_COLOR_EXT = 0x8459 + /// + CurrentSecondaryColorExt = ((int)0x8459) , + /// + /// Original was GL_SECONDARY_COLOR_ARRAY_SIZE = 0x845A + /// + SecondaryColorArraySize = ((int)0x845A) , + /// + /// Original was GL_SECONDARY_COLOR_ARRAY_SIZE_EXT = 0x845A + /// + SecondaryColorArraySizeExt = ((int)0x845A) , + /// + /// Original was GL_SECONDARY_COLOR_ARRAY_TYPE = 0x845B + /// + SecondaryColorArrayType = ((int)0x845B) , + /// + /// Original was GL_SECONDARY_COLOR_ARRAY_TYPE_EXT = 0x845B + /// + SecondaryColorArrayTypeExt = ((int)0x845B) , + /// + /// Original was GL_SECONDARY_COLOR_ARRAY_STRIDE = 0x845C + /// + SecondaryColorArrayStride = ((int)0x845C) , + /// + /// Original was GL_SECONDARY_COLOR_ARRAY_STRIDE_EXT = 0x845C + /// + SecondaryColorArrayStrideExt = ((int)0x845C) , + /// + /// Original was GL_SECONDARY_COLOR_ARRAY_POINTER = 0x845D + /// + SecondaryColorArrayPointer = ((int)0x845D) , + /// + /// Original was GL_SECONDARY_COLOR_ARRAY_POINTER_EXT = 0x845D + /// + SecondaryColorArrayPointerExt = ((int)0x845D) , + /// + /// Original was GL_SECONDARY_COLOR_ARRAY = 0x845E + /// + SecondaryColorArray = ((int)0x845E) , + /// + /// Original was GL_SECONDARY_COLOR_ARRAY_EXT = 0x845E + /// + SecondaryColorArrayExt = ((int)0x845E) , + /// + /// Original was GL_CURRENT_RASTER_SECONDARY_COLOR = 0x845F + /// + CurrentRasterSecondaryColor = ((int)0x845F) , + /// + /// Original was GL_ALIASED_POINT_SIZE_RANGE = 0x846D + /// + AliasedPointSizeRange = ((int)0x846D) , + /// + /// Original was GL_ALIASED_LINE_WIDTH_RANGE = 0x846E + /// + AliasedLineWidthRange = ((int)0x846E) , + /// + /// Original was GL_SCREEN_COORDINATES_REND = 0x8490 + /// + ScreenCoordinatesRend = ((int)0x8490) , + /// + /// Original was GL_INVERTED_SCREEN_W_REND = 0x8491 + /// + InvertedScreenWRend = ((int)0x8491) , + /// + /// Original was GL_TEXTURE0 = 0x84C0 + /// + Texture0 = ((int)0x84C0) , + /// + /// Original was GL_TEXTURE0_ARB = 0x84C0 + /// + Texture0Arb = ((int)0x84C0) , + /// + /// Original was GL_TEXTURE1 = 0x84C1 + /// + Texture1 = ((int)0x84C1) , + /// + /// Original was GL_TEXTURE1_ARB = 0x84C1 + /// + Texture1Arb = ((int)0x84C1) , + /// + /// Original was GL_TEXTURE2 = 0x84C2 + /// + Texture2 = ((int)0x84C2) , + /// + /// Original was GL_TEXTURE2_ARB = 0x84C2 + /// + Texture2Arb = ((int)0x84C2) , + /// + /// Original was GL_TEXTURE3 = 0x84C3 + /// + Texture3 = ((int)0x84C3) , + /// + /// Original was GL_TEXTURE3_ARB = 0x84C3 + /// + Texture3Arb = ((int)0x84C3) , + /// + /// Original was GL_TEXTURE4 = 0x84C4 + /// + Texture4 = ((int)0x84C4) , + /// + /// Original was GL_TEXTURE4_ARB = 0x84C4 + /// + Texture4Arb = ((int)0x84C4) , + /// + /// Original was GL_TEXTURE5 = 0x84C5 + /// + Texture5 = ((int)0x84C5) , + /// + /// Original was GL_TEXTURE5_ARB = 0x84C5 + /// + Texture5Arb = ((int)0x84C5) , + /// + /// Original was GL_TEXTURE6 = 0x84C6 + /// + Texture6 = ((int)0x84C6) , + /// + /// Original was GL_TEXTURE6_ARB = 0x84C6 + /// + Texture6Arb = ((int)0x84C6) , + /// + /// Original was GL_TEXTURE7 = 0x84C7 + /// + Texture7 = ((int)0x84C7) , + /// + /// Original was GL_TEXTURE7_ARB = 0x84C7 + /// + Texture7Arb = ((int)0x84C7) , + /// + /// Original was GL_TEXTURE8 = 0x84C8 + /// + Texture8 = ((int)0x84C8) , + /// + /// Original was GL_TEXTURE8_ARB = 0x84C8 + /// + Texture8Arb = ((int)0x84C8) , + /// + /// Original was GL_TEXTURE9 = 0x84C9 + /// + Texture9 = ((int)0x84C9) , + /// + /// Original was GL_TEXTURE9_ARB = 0x84C9 + /// + Texture9Arb = ((int)0x84C9) , + /// + /// Original was GL_TEXTURE10 = 0x84CA + /// + Texture10 = ((int)0x84CA) , + /// + /// Original was GL_TEXTURE10_ARB = 0x84CA + /// + Texture10Arb = ((int)0x84CA) , + /// + /// Original was GL_TEXTURE11 = 0x84CB + /// + Texture11 = ((int)0x84CB) , + /// + /// Original was GL_TEXTURE11_ARB = 0x84CB + /// + Texture11Arb = ((int)0x84CB) , + /// + /// Original was GL_TEXTURE12 = 0x84CC + /// + Texture12 = ((int)0x84CC) , + /// + /// Original was GL_TEXTURE12_ARB = 0x84CC + /// + Texture12Arb = ((int)0x84CC) , + /// + /// Original was GL_TEXTURE13 = 0x84CD + /// + Texture13 = ((int)0x84CD) , + /// + /// Original was GL_TEXTURE13_ARB = 0x84CD + /// + Texture13Arb = ((int)0x84CD) , + /// + /// Original was GL_TEXTURE14 = 0x84CE + /// + Texture14 = ((int)0x84CE) , + /// + /// Original was GL_TEXTURE14_ARB = 0x84CE + /// + Texture14Arb = ((int)0x84CE) , + /// + /// Original was GL_TEXTURE15 = 0x84CF + /// + Texture15 = ((int)0x84CF) , + /// + /// Original was GL_TEXTURE15_ARB = 0x84CF + /// + Texture15Arb = ((int)0x84CF) , + /// + /// Original was GL_TEXTURE16 = 0x84D0 + /// + Texture16 = ((int)0x84D0) , + /// + /// Original was GL_TEXTURE16_ARB = 0x84D0 + /// + Texture16Arb = ((int)0x84D0) , + /// + /// Original was GL_TEXTURE17 = 0x84D1 + /// + Texture17 = ((int)0x84D1) , + /// + /// Original was GL_TEXTURE17_ARB = 0x84D1 + /// + Texture17Arb = ((int)0x84D1) , + /// + /// Original was GL_TEXTURE18 = 0x84D2 + /// + Texture18 = ((int)0x84D2) , + /// + /// Original was GL_TEXTURE18_ARB = 0x84D2 + /// + Texture18Arb = ((int)0x84D2) , + /// + /// Original was GL_TEXTURE19 = 0x84D3 + /// + Texture19 = ((int)0x84D3) , + /// + /// Original was GL_TEXTURE19_ARB = 0x84D3 + /// + Texture19Arb = ((int)0x84D3) , + /// + /// Original was GL_TEXTURE20 = 0x84D4 + /// + Texture20 = ((int)0x84D4) , + /// + /// Original was GL_TEXTURE20_ARB = 0x84D4 + /// + Texture20Arb = ((int)0x84D4) , + /// + /// Original was GL_TEXTURE21 = 0x84D5 + /// + Texture21 = ((int)0x84D5) , + /// + /// Original was GL_TEXTURE21_ARB = 0x84D5 + /// + Texture21Arb = ((int)0x84D5) , + /// + /// Original was GL_TEXTURE22 = 0x84D6 + /// + Texture22 = ((int)0x84D6) , + /// + /// Original was GL_TEXTURE22_ARB = 0x84D6 + /// + Texture22Arb = ((int)0x84D6) , + /// + /// Original was GL_TEXTURE23 = 0x84D7 + /// + Texture23 = ((int)0x84D7) , + /// + /// Original was GL_TEXTURE23_ARB = 0x84D7 + /// + Texture23Arb = ((int)0x84D7) , + /// + /// Original was GL_TEXTURE24 = 0x84D8 + /// + Texture24 = ((int)0x84D8) , + /// + /// Original was GL_TEXTURE24_ARB = 0x84D8 + /// + Texture24Arb = ((int)0x84D8) , + /// + /// Original was GL_TEXTURE25 = 0x84D9 + /// + Texture25 = ((int)0x84D9) , + /// + /// Original was GL_TEXTURE25_ARB = 0x84D9 + /// + Texture25Arb = ((int)0x84D9) , + /// + /// Original was GL_TEXTURE26 = 0x84DA + /// + Texture26 = ((int)0x84DA) , + /// + /// Original was GL_TEXTURE26_ARB = 0x84DA + /// + Texture26Arb = ((int)0x84DA) , + /// + /// Original was GL_TEXTURE27 = 0x84DB + /// + Texture27 = ((int)0x84DB) , + /// + /// Original was GL_TEXTURE27_ARB = 0x84DB + /// + Texture27Arb = ((int)0x84DB) , + /// + /// Original was GL_TEXTURE28 = 0x84DC + /// + Texture28 = ((int)0x84DC) , + /// + /// Original was GL_TEXTURE28_ARB = 0x84DC + /// + Texture28Arb = ((int)0x84DC) , + /// + /// Original was GL_TEXTURE29 = 0x84DD + /// + Texture29 = ((int)0x84DD) , + /// + /// Original was GL_TEXTURE29_ARB = 0x84DD + /// + Texture29Arb = ((int)0x84DD) , + /// + /// Original was GL_TEXTURE30 = 0x84DE + /// + Texture30 = ((int)0x84DE) , + /// + /// Original was GL_TEXTURE30_ARB = 0x84DE + /// + Texture30Arb = ((int)0x84DE) , + /// + /// Original was GL_TEXTURE31 = 0x84DF + /// + Texture31 = ((int)0x84DF) , + /// + /// Original was GL_TEXTURE31_ARB = 0x84DF + /// + Texture31Arb = ((int)0x84DF) , + /// + /// Original was GL_ACTIVE_TEXTURE = 0x84E0 + /// + ActiveTexture = ((int)0x84E0) , + /// + /// Original was GL_ACTIVE_TEXTURE_ARB = 0x84E0 + /// + ActiveTextureArb = ((int)0x84E0) , + /// + /// Original was GL_CLIENT_ACTIVE_TEXTURE = 0x84E1 + /// + ClientActiveTexture = ((int)0x84E1) , + /// + /// Original was GL_CLIENT_ACTIVE_TEXTURE_ARB = 0x84E1 + /// + ClientActiveTextureArb = ((int)0x84E1) , + /// + /// Original was GL_MAX_TEXTURE_UNITS = 0x84E2 + /// + MaxTextureUnits = ((int)0x84E2) , + /// + /// Original was GL_MAX_TEXTURE_UNITS_ARB = 0x84E2 + /// + MaxTextureUnitsArb = ((int)0x84E2) , + /// + /// Original was GL_TRANSPOSE_MODELVIEW_MATRIX = 0x84E3 + /// + TransposeModelviewMatrix = ((int)0x84E3) , + /// + /// Original was GL_TRANSPOSE_MODELVIEW_MATRIX_ARB = 0x84E3 + /// + TransposeModelviewMatrixArb = ((int)0x84E3) , + /// + /// Original was GL_TRANSPOSE_PROJECTION_MATRIX = 0x84E4 + /// + TransposeProjectionMatrix = ((int)0x84E4) , + /// + /// Original was GL_TRANSPOSE_PROJECTION_MATRIX_ARB = 0x84E4 + /// + TransposeProjectionMatrixArb = ((int)0x84E4) , + /// + /// Original was GL_TRANSPOSE_TEXTURE_MATRIX = 0x84E5 + /// + TransposeTextureMatrix = ((int)0x84E5) , + /// + /// Original was GL_TRANSPOSE_TEXTURE_MATRIX_ARB = 0x84E5 + /// + TransposeTextureMatrixArb = ((int)0x84E5) , + /// + /// Original was GL_TRANSPOSE_COLOR_MATRIX = 0x84E6 + /// + TransposeColorMatrix = ((int)0x84E6) , + /// + /// Original was GL_TRANSPOSE_COLOR_MATRIX_ARB = 0x84E6 + /// + TransposeColorMatrixArb = ((int)0x84E6) , + /// + /// Original was GL_SUBTRACT = 0x84E7 + /// + Subtract = ((int)0x84E7) , + /// + /// Original was GL_SUBTRACT_ARB = 0x84E7 + /// + SubtractArb = ((int)0x84E7) , + /// + /// Original was GL_MAX_RENDERBUFFER_SIZE = 0x84E8 + /// + MaxRenderbufferSize = ((int)0x84E8) , + /// + /// Original was GL_MAX_RENDERBUFFER_SIZE_EXT = 0x84E8 + /// + MaxRenderbufferSizeExt = ((int)0x84E8) , + /// + /// Original was GL_MAX_RENDERBUFFER_SIZE_OES = 0x84E8 + /// + MaxRenderbufferSizeOes = ((int)0x84E8) , + /// + /// Original was GL_COMPRESSED_ALPHA = 0x84E9 + /// + CompressedAlpha = ((int)0x84E9) , + /// + /// Original was GL_COMPRESSED_ALPHA_ARB = 0x84E9 + /// + CompressedAlphaArb = ((int)0x84E9) , + /// + /// Original was GL_COMPRESSED_LUMINANCE = 0x84EA + /// + CompressedLuminance = ((int)0x84EA) , + /// + /// Original was GL_COMPRESSED_LUMINANCE_ARB = 0x84EA + /// + CompressedLuminanceArb = ((int)0x84EA) , + /// + /// Original was GL_COMPRESSED_LUMINANCE_ALPHA = 0x84EB + /// + CompressedLuminanceAlpha = ((int)0x84EB) , + /// + /// Original was GL_COMPRESSED_LUMINANCE_ALPHA_ARB = 0x84EB + /// + CompressedLuminanceAlphaArb = ((int)0x84EB) , + /// + /// Original was GL_COMPRESSED_INTENSITY = 0x84EC + /// + CompressedIntensity = ((int)0x84EC) , + /// + /// Original was GL_COMPRESSED_INTENSITY_ARB = 0x84EC + /// + CompressedIntensityArb = ((int)0x84EC) , + /// + /// Original was GL_COMPRESSED_RGB = 0x84ED + /// + CompressedRgb = ((int)0x84ED) , + /// + /// Original was GL_COMPRESSED_RGB_ARB = 0x84ED + /// + CompressedRgbArb = ((int)0x84ED) , + /// + /// Original was GL_COMPRESSED_RGBA = 0x84EE + /// + CompressedRgba = ((int)0x84EE) , + /// + /// Original was GL_COMPRESSED_RGBA_ARB = 0x84EE + /// + CompressedRgbaArb = ((int)0x84EE) , + /// + /// Original was GL_TEXTURE_COMPRESSION_HINT = 0x84EF + /// + TextureCompressionHint = ((int)0x84EF) , + /// + /// Original was GL_TEXTURE_COMPRESSION_HINT_ARB = 0x84EF + /// + TextureCompressionHintArb = ((int)0x84EF) , + /// + /// Original was GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_CONTROL_SHADER = 0x84F0 + /// + UniformBlockReferencedByTessControlShader = ((int)0x84F0) , + /// + /// Original was GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_EVALUATION_SHADER = 0x84F1 + /// + UniformBlockReferencedByTessEvaluationShader = ((int)0x84F1) , + /// + /// Original was GL_ALL_COMPLETED_NV = 0x84F2 + /// + AllCompletedNv = ((int)0x84F2) , + /// + /// Original was GL_FENCE_STATUS_NV = 0x84F3 + /// + FenceStatusNv = ((int)0x84F3) , + /// + /// Original was GL_FENCE_CONDITION_NV = 0x84F4 + /// + FenceConditionNv = ((int)0x84F4) , + /// + /// Original was GL_TEXTURE_RECTANGLE = 0x84F5 + /// + TextureRectangle = ((int)0x84F5) , + /// + /// Original was GL_TEXTURE_RECTANGLE_ARB = 0x84F5 + /// + TextureRectangleArb = ((int)0x84F5) , + /// + /// Original was GL_TEXTURE_RECTANGLE_NV = 0x84F5 + /// + TextureRectangleNv = ((int)0x84F5) , + /// + /// Original was GL_TEXTURE_BINDING_RECTANGLE = 0x84F6 + /// + TextureBindingRectangle = ((int)0x84F6) , + /// + /// Original was GL_TEXTURE_BINDING_RECTANGLE_ARB = 0x84F6 + /// + TextureBindingRectangleArb = ((int)0x84F6) , + /// + /// Original was GL_TEXTURE_BINDING_RECTANGLE_NV = 0x84F6 + /// + TextureBindingRectangleNv = ((int)0x84F6) , + /// + /// Original was GL_PROXY_TEXTURE_RECTANGLE = 0x84F7 + /// + ProxyTextureRectangle = ((int)0x84F7) , + /// + /// Original was GL_PROXY_TEXTURE_RECTANGLE_ARB = 0x84F7 + /// + ProxyTextureRectangleArb = ((int)0x84F7) , + /// + /// Original was GL_PROXY_TEXTURE_RECTANGLE_NV = 0x84F7 + /// + ProxyTextureRectangleNv = ((int)0x84F7) , + /// + /// Original was GL_MAX_RECTANGLE_TEXTURE_SIZE = 0x84F8 + /// + MaxRectangleTextureSize = ((int)0x84F8) , + /// + /// Original was GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB = 0x84F8 + /// + MaxRectangleTextureSizeArb = ((int)0x84F8) , + /// + /// Original was GL_MAX_RECTANGLE_TEXTURE_SIZE_NV = 0x84F8 + /// + MaxRectangleTextureSizeNv = ((int)0x84F8) , + /// + /// Original was GL_DEPTH_STENCIL = 0x84F9 + /// + DepthStencil = ((int)0x84F9) , + /// + /// Original was GL_DEPTH_STENCIL_EXT = 0x84F9 + /// + DepthStencilExt = ((int)0x84F9) , + /// + /// Original was GL_DEPTH_STENCIL_NV = 0x84F9 + /// + DepthStencilNv = ((int)0x84F9) , + /// + /// Original was GL_DEPTH_STENCIL_OES = 0x84F9 + /// + DepthStencilOes = ((int)0x84F9) , + /// + /// Original was GL_UNSIGNED_INT_24_8 = 0x84FA + /// + UnsignedInt248 = ((int)0x84FA) , + /// + /// Original was GL_UNSIGNED_INT_24_8_EXT = 0x84FA + /// + UnsignedInt248Ext = ((int)0x84FA) , + /// + /// Original was GL_UNSIGNED_INT_24_8_NV = 0x84FA + /// + UnsignedInt248Nv = ((int)0x84FA) , + /// + /// Original was GL_UNSIGNED_INT_24_8_OES = 0x84FA + /// + UnsignedInt248Oes = ((int)0x84FA) , + /// + /// Original was GL_MAX_TEXTURE_LOD_BIAS = 0x84FD + /// + MaxTextureLodBias = ((int)0x84FD) , + /// + /// Original was GL_MAX_TEXTURE_LOD_BIAS_EXT = 0x84FD + /// + MaxTextureLodBiasExt = ((int)0x84FD) , + /// + /// Original was GL_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FE + /// + TextureMaxAnisotropyExt = ((int)0x84FE) , + /// + /// Original was GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FF + /// + MaxTextureMaxAnisotropyExt = ((int)0x84FF) , + /// + /// Original was GL_TEXTURE_FILTER_CONTROL = 0x8500 + /// + TextureFilterControl = ((int)0x8500) , + /// + /// Original was GL_TEXTURE_FILTER_CONTROL_EXT = 0x8500 + /// + TextureFilterControlExt = ((int)0x8500) , + /// + /// Original was GL_TEXTURE_LOD_BIAS = 0x8501 + /// + TextureLodBias = ((int)0x8501) , + /// + /// Original was GL_TEXTURE_LOD_BIAS_EXT = 0x8501 + /// + TextureLodBiasExt = ((int)0x8501) , + /// + /// Original was GL_MODELVIEW1_STACK_DEPTH_EXT = 0x8502 + /// + Modelview1StackDepthExt = ((int)0x8502) , + /// + /// Original was GL_COMBINE4_NV = 0x8503 + /// + Combine4Nv = ((int)0x8503) , + /// + /// Original was GL_MAX_SHININESS_NV = 0x8504 + /// + MaxShininessNv = ((int)0x8504) , + /// + /// Original was GL_MAX_SPOT_EXPONENT_NV = 0x8505 + /// + MaxSpotExponentNv = ((int)0x8505) , + /// + /// Original was GL_MODELVIEW1_MATRIX_EXT = 0x8506 + /// + Modelview1MatrixExt = ((int)0x8506) , + /// + /// Original was GL_MODELVIEW_MATRIX1_EXT = 0x8506 + /// + ModelviewMatrix1Ext = ((int)0x8506) , + /// + /// Original was GL_INCR_WRAP = 0x8507 + /// + IncrWrap = ((int)0x8507) , + /// + /// Original was GL_INCR_WRAP_EXT = 0x8507 + /// + IncrWrapExt = ((int)0x8507) , + /// + /// Original was GL_INCR_WRAP_OES = 0x8507 + /// + IncrWrapOes = ((int)0x8507) , + /// + /// Original was GL_DECR_WRAP = 0x8508 + /// + DecrWrap = ((int)0x8508) , + /// + /// Original was GL_DECR_WRAP_EXT = 0x8508 + /// + DecrWrapExt = ((int)0x8508) , + /// + /// Original was GL_DECR_WRAP_OES = 0x8508 + /// + DecrWrapOes = ((int)0x8508) , + /// + /// Original was GL_VERTEX_WEIGHTING_EXT = 0x8509 + /// + VertexWeightingExt = ((int)0x8509) , + /// + /// Original was GL_MODELVIEW1_ARB = 0x850A + /// + Modelview1Arb = ((int)0x850A) , + /// + /// Original was GL_MODELVIEW1_EXT = 0x850A + /// + Modelview1Ext = ((int)0x850A) , + /// + /// Original was GL_CURRENT_VERTEX_WEIGHT_EXT = 0x850B + /// + CurrentVertexWeightExt = ((int)0x850B) , + /// + /// Original was GL_VERTEX_WEIGHT_ARRAY_EXT = 0x850C + /// + VertexWeightArrayExt = ((int)0x850C) , + /// + /// Original was GL_VERTEX_WEIGHT_ARRAY_SIZE_EXT = 0x850D + /// + VertexWeightArraySizeExt = ((int)0x850D) , + /// + /// Original was GL_VERTEX_WEIGHT_ARRAY_TYPE_EXT = 0x850E + /// + VertexWeightArrayTypeExt = ((int)0x850E) , + /// + /// Original was GL_VERTEX_WEIGHT_ARRAY_STRIDE_EXT = 0x850F + /// + VertexWeightArrayStrideExt = ((int)0x850F) , + /// + /// Original was GL_VERTEX_WEIGHT_ARRAY_POINTER_EXT = 0x8510 + /// + VertexWeightArrayPointerExt = ((int)0x8510) , + /// + /// Original was GL_NORMAL_MAP = 0x8511 + /// + NormalMap = ((int)0x8511) , + /// + /// Original was GL_NORMAL_MAP_ARB = 0x8511 + /// + NormalMapArb = ((int)0x8511) , + /// + /// Original was GL_NORMAL_MAP_EXT = 0x8511 + /// + NormalMapExt = ((int)0x8511) , + /// + /// Original was GL_NORMAL_MAP_NV = 0x8511 + /// + NormalMapNv = ((int)0x8511) , + /// + /// Original was GL_NORMAL_MAP_OES = 0x8511 + /// + NormalMapOes = ((int)0x8511) , + /// + /// Original was GL_REFLECTION_MAP = 0x8512 + /// + ReflectionMap = ((int)0x8512) , + /// + /// Original was GL_REFLECTION_MAP_ARB = 0x8512 + /// + ReflectionMapArb = ((int)0x8512) , + /// + /// Original was GL_REFLECTION_MAP_EXT = 0x8512 + /// + ReflectionMapExt = ((int)0x8512) , + /// + /// Original was GL_REFLECTION_MAP_NV = 0x8512 + /// + ReflectionMapNv = ((int)0x8512) , + /// + /// Original was GL_REFLECTION_MAP_OES = 0x8512 + /// + ReflectionMapOes = ((int)0x8512) , + /// + /// Original was GL_TEXTURE_CUBE_MAP = 0x8513 + /// + TextureCubeMap = ((int)0x8513) , + /// + /// Original was GL_TEXTURE_CUBE_MAP_ARB = 0x8513 + /// + TextureCubeMapArb = ((int)0x8513) , + /// + /// Original was GL_TEXTURE_CUBE_MAP_EXT = 0x8513 + /// + TextureCubeMapExt = ((int)0x8513) , + /// + /// Original was GL_TEXTURE_CUBE_MAP_OES = 0x8513 + /// + TextureCubeMapOes = ((int)0x8513) , + /// + /// Original was GL_TEXTURE_BINDING_CUBE_MAP = 0x8514 + /// + TextureBindingCubeMap = ((int)0x8514) , + /// + /// Original was GL_TEXTURE_BINDING_CUBE_MAP_ARB = 0x8514 + /// + TextureBindingCubeMapArb = ((int)0x8514) , + /// + /// Original was GL_TEXTURE_BINDING_CUBE_MAP_EXT = 0x8514 + /// + TextureBindingCubeMapExt = ((int)0x8514) , + /// + /// Original was GL_TEXTURE_BINDING_CUBE_MAP_OES = 0x8514 + /// + TextureBindingCubeMapOes = ((int)0x8514) , + /// + /// Original was GL_TEXTURE_CUBE_MAP_POSITIVE_X = 0x8515 + /// + TextureCubeMapPositiveX = ((int)0x8515) , + /// + /// Original was GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB = 0x8515 + /// + TextureCubeMapPositiveXArb = ((int)0x8515) , + /// + /// Original was GL_TEXTURE_CUBE_MAP_POSITIVE_X_EXT = 0x8515 + /// + TextureCubeMapPositiveXExt = ((int)0x8515) , + /// + /// Original was GL_TEXTURE_CUBE_MAP_POSITIVE_X_OES = 0x8515 + /// + TextureCubeMapPositiveXOes = ((int)0x8515) , + /// + /// Original was GL_TEXTURE_CUBE_MAP_NEGATIVE_X = 0x8516 + /// + TextureCubeMapNegativeX = ((int)0x8516) , + /// + /// Original was GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB = 0x8516 + /// + TextureCubeMapNegativeXArb = ((int)0x8516) , + /// + /// Original was GL_TEXTURE_CUBE_MAP_NEGATIVE_X_EXT = 0x8516 + /// + TextureCubeMapNegativeXExt = ((int)0x8516) , + /// + /// Original was GL_TEXTURE_CUBE_MAP_NEGATIVE_X_OES = 0x8516 + /// + TextureCubeMapNegativeXOes = ((int)0x8516) , + /// + /// Original was GL_TEXTURE_CUBE_MAP_POSITIVE_Y = 0x8517 + /// + TextureCubeMapPositiveY = ((int)0x8517) , + /// + /// Original was GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB = 0x8517 + /// + TextureCubeMapPositiveYArb = ((int)0x8517) , + /// + /// Original was GL_TEXTURE_CUBE_MAP_POSITIVE_Y_EXT = 0x8517 + /// + TextureCubeMapPositiveYExt = ((int)0x8517) , + /// + /// Original was GL_TEXTURE_CUBE_MAP_POSITIVE_Y_OES = 0x8517 + /// + TextureCubeMapPositiveYOes = ((int)0x8517) , + /// + /// Original was GL_TEXTURE_CUBE_MAP_NEGATIVE_Y = 0x8518 + /// + TextureCubeMapNegativeY = ((int)0x8518) , + /// + /// Original was GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB = 0x8518 + /// + TextureCubeMapNegativeYArb = ((int)0x8518) , + /// + /// Original was GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_EXT = 0x8518 + /// + TextureCubeMapNegativeYExt = ((int)0x8518) , + /// + /// Original was GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_OES = 0x8518 + /// + TextureCubeMapNegativeYOes = ((int)0x8518) , + /// + /// Original was GL_TEXTURE_CUBE_MAP_POSITIVE_Z = 0x8519 + /// + TextureCubeMapPositiveZ = ((int)0x8519) , + /// + /// Original was GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB = 0x8519 + /// + TextureCubeMapPositiveZArb = ((int)0x8519) , + /// + /// Original was GL_TEXTURE_CUBE_MAP_POSITIVE_Z_EXT = 0x8519 + /// + TextureCubeMapPositiveZExt = ((int)0x8519) , + /// + /// Original was GL_TEXTURE_CUBE_MAP_POSITIVE_Z_OES = 0x8519 + /// + TextureCubeMapPositiveZOes = ((int)0x8519) , + /// + /// Original was GL_TEXTURE_CUBE_MAP_NEGATIVE_Z = 0x851A + /// + TextureCubeMapNegativeZ = ((int)0x851A) , + /// + /// Original was GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB = 0x851A + /// + TextureCubeMapNegativeZArb = ((int)0x851A) , + /// + /// Original was GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_EXT = 0x851A + /// + TextureCubeMapNegativeZExt = ((int)0x851A) , + /// + /// Original was GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_OES = 0x851A + /// + TextureCubeMapNegativeZOes = ((int)0x851A) , + /// + /// Original was GL_PROXY_TEXTURE_CUBE_MAP = 0x851B + /// + ProxyTextureCubeMap = ((int)0x851B) , + /// + /// Original was GL_PROXY_TEXTURE_CUBE_MAP_ARB = 0x851B + /// + ProxyTextureCubeMapArb = ((int)0x851B) , + /// + /// Original was GL_PROXY_TEXTURE_CUBE_MAP_EXT = 0x851B + /// + ProxyTextureCubeMapExt = ((int)0x851B) , + /// + /// Original was GL_MAX_CUBE_MAP_TEXTURE_SIZE = 0x851C + /// + MaxCubeMapTextureSize = ((int)0x851C) , + /// + /// Original was GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB = 0x851C + /// + MaxCubeMapTextureSizeArb = ((int)0x851C) , + /// + /// Original was GL_MAX_CUBE_MAP_TEXTURE_SIZE_EXT = 0x851C + /// + MaxCubeMapTextureSizeExt = ((int)0x851C) , + /// + /// Original was GL_MAX_CUBE_MAP_TEXTURE_SIZE_OES = 0x851C + /// + MaxCubeMapTextureSizeOes = ((int)0x851C) , + /// + /// Original was GL_VERTEX_ARRAY_RANGE_APPLE = 0x851D + /// + VertexArrayRangeApple = ((int)0x851D) , + /// + /// Original was GL_VERTEX_ARRAY_RANGE_NV = 0x851D + /// + VertexArrayRangeNv = ((int)0x851D) , + /// + /// Original was GL_VERTEX_ARRAY_RANGE_LENGTH_APPLE = 0x851E + /// + VertexArrayRangeLengthApple = ((int)0x851E) , + /// + /// Original was GL_VERTEX_ARRAY_RANGE_LENGTH_NV = 0x851E + /// + VertexArrayRangeLengthNv = ((int)0x851E) , + /// + /// Original was GL_VERTEX_ARRAY_RANGE_VALID_NV = 0x851F + /// + VertexArrayRangeValidNv = ((int)0x851F) , + /// + /// Original was GL_VERTEX_ARRAY_STORAGE_HINT_APPLE = 0x851F + /// + VertexArrayStorageHintApple = ((int)0x851F) , + /// + /// Original was GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV = 0x8520 + /// + MaxVertexArrayRangeElementNv = ((int)0x8520) , + /// + /// Original was GL_VERTEX_ARRAY_RANGE_POINTER_APPLE = 0x8521 + /// + VertexArrayRangePointerApple = ((int)0x8521) , + /// + /// Original was GL_VERTEX_ARRAY_RANGE_POINTER_NV = 0x8521 + /// + VertexArrayRangePointerNv = ((int)0x8521) , + /// + /// Original was GL_REGISTER_COMBINERS_NV = 0x8522 + /// + RegisterCombinersNv = ((int)0x8522) , + /// + /// Original was GL_VARIABLE_A_NV = 0x8523 + /// + VariableANv = ((int)0x8523) , + /// + /// Original was GL_VARIABLE_B_NV = 0x8524 + /// + VariableBNv = ((int)0x8524) , + /// + /// Original was GL_VARIABLE_C_NV = 0x8525 + /// + VariableCNv = ((int)0x8525) , + /// + /// Original was GL_VARIABLE_D_NV = 0x8526 + /// + VariableDNv = ((int)0x8526) , + /// + /// Original was GL_VARIABLE_E_NV = 0x8527 + /// + VariableENv = ((int)0x8527) , + /// + /// Original was GL_VARIABLE_F_NV = 0x8528 + /// + VariableFNv = ((int)0x8528) , + /// + /// Original was GL_VARIABLE_G_NV = 0x8529 + /// + VariableGNv = ((int)0x8529) , + /// + /// Original was GL_CONSTANT_COLOR0_NV = 0x852A + /// + ConstantColor0Nv = ((int)0x852A) , + /// + /// Original was GL_CONSTANT_COLOR1_NV = 0x852B + /// + ConstantColor1Nv = ((int)0x852B) , + /// + /// Original was GL_PRIMARY_COLOR_NV = 0x852C + /// + PrimaryColorNv = ((int)0x852C) , + /// + /// Original was GL_SECONDARY_COLOR_NV = 0x852D + /// + SecondaryColorNv = ((int)0x852D) , + /// + /// Original was GL_SPARE0_NV = 0x852E + /// + Spare0Nv = ((int)0x852E) , + /// + /// Original was GL_SPARE1_NV = 0x852F + /// + Spare1Nv = ((int)0x852F) , + /// + /// Original was GL_DISCARD_NV = 0x8530 + /// + DiscardNv = ((int)0x8530) , + /// + /// Original was GL_E_TIMES_F_NV = 0x8531 + /// + ETimesFNv = ((int)0x8531) , + /// + /// Original was GL_SPARE0_PLUS_SECONDARY_COLOR_NV = 0x8532 + /// + Spare0PlusSecondaryColorNv = ((int)0x8532) , + /// + /// Original was GL_VERTEX_ARRAY_RANGE_WITHOUT_FLUSH_NV = 0x8533 + /// + VertexArrayRangeWithoutFlushNv = ((int)0x8533) , + /// + /// Original was GL_MULTISAMPLE_FILTER_HINT_NV = 0x8534 + /// + MultisampleFilterHintNv = ((int)0x8534) , + /// + /// Original was GL_PER_STAGE_CONSTANTS_NV = 0x8535 + /// + PerStageConstantsNv = ((int)0x8535) , + /// + /// Original was GL_UNSIGNED_IDENTITY_NV = 0x8536 + /// + UnsignedIdentityNv = ((int)0x8536) , + /// + /// Original was GL_UNSIGNED_INVERT_NV = 0x8537 + /// + UnsignedInvertNv = ((int)0x8537) , + /// + /// Original was GL_EXPAND_NORMAL_NV = 0x8538 + /// + ExpandNormalNv = ((int)0x8538) , + /// + /// Original was GL_EXPAND_NEGATE_NV = 0x8539 + /// + ExpandNegateNv = ((int)0x8539) , + /// + /// Original was GL_HALF_BIAS_NORMAL_NV = 0x853A + /// + HalfBiasNormalNv = ((int)0x853A) , + /// + /// Original was GL_HALF_BIAS_NEGATE_NV = 0x853B + /// + HalfBiasNegateNv = ((int)0x853B) , + /// + /// Original was GL_SIGNED_IDENTITY_NV = 0x853C + /// + SignedIdentityNv = ((int)0x853C) , + /// + /// Original was GL_SIGNED_NEGATE_NV = 0x853D + /// + SignedNegateNv = ((int)0x853D) , + /// + /// Original was GL_UNSIGNED_NEGATE_NV = 0x853D + /// + UnsignedNegateNv = ((int)0x853D) , + /// + /// Original was GL_SCALE_BY_TWO_NV = 0x853E + /// + ScaleByTwoNv = ((int)0x853E) , + /// + /// Original was GL_SCALE_BY_FOUR_NV = 0x853F + /// + ScaleByFourNv = ((int)0x853F) , + /// + /// Original was GL_SCALE_BY_ONE_HALF_NV = 0x8540 + /// + ScaleByOneHalfNv = ((int)0x8540) , + /// + /// Original was GL_BIAS_BY_NEGATIVE_ONE_HALF_NV = 0x8541 + /// + BiasByNegativeOneHalfNv = ((int)0x8541) , + /// + /// Original was GL_COMBINER_INPUT_NV = 0x8542 + /// + CombinerInputNv = ((int)0x8542) , + /// + /// Original was GL_COMBINER_MAPPING_NV = 0x8543 + /// + CombinerMappingNv = ((int)0x8543) , + /// + /// Original was GL_COMBINER_COMPONENT_USAGE_NV = 0x8544 + /// + CombinerComponentUsageNv = ((int)0x8544) , + /// + /// Original was GL_COMBINER_AB_DOT_PRODUCT_NV = 0x8545 + /// + CombinerAbDotProductNv = ((int)0x8545) , + /// + /// Original was GL_COMBINER_CD_DOT_PRODUCT_NV = 0x8546 + /// + CombinerCdDotProductNv = ((int)0x8546) , + /// + /// Original was GL_COMBINER_MUX_SUM_NV = 0x8547 + /// + CombinerMuxSumNv = ((int)0x8547) , + /// + /// Original was GL_COMBINER_SCALE_NV = 0x8548 + /// + CombinerScaleNv = ((int)0x8548) , + /// + /// Original was GL_COMBINER_BIAS_NV = 0x8549 + /// + CombinerBiasNv = ((int)0x8549) , + /// + /// Original was GL_COMBINER_AB_OUTPUT_NV = 0x854A + /// + CombinerAbOutputNv = ((int)0x854A) , + /// + /// Original was GL_COMBINER_CD_OUTPUT_NV = 0x854B + /// + CombinerCdOutputNv = ((int)0x854B) , + /// + /// Original was GL_COMBINER_SUM_OUTPUT_NV = 0x854C + /// + CombinerSumOutputNv = ((int)0x854C) , + /// + /// Original was GL_MAX_GENERAL_COMBINERS_NV = 0x854D + /// + MaxGeneralCombinersNv = ((int)0x854D) , + /// + /// Original was GL_NUM_GENERAL_COMBINERS_NV = 0x854E + /// + NumGeneralCombinersNv = ((int)0x854E) , + /// + /// Original was GL_COLOR_SUM_CLAMP_NV = 0x854F + /// + ColorSumClampNv = ((int)0x854F) , + /// + /// Original was GL_COMBINER0_NV = 0x8550 + /// + Combiner0Nv = ((int)0x8550) , + /// + /// Original was GL_COMBINER1_NV = 0x8551 + /// + Combiner1Nv = ((int)0x8551) , + /// + /// Original was GL_COMBINER2_NV = 0x8552 + /// + Combiner2Nv = ((int)0x8552) , + /// + /// Original was GL_COMBINER3_NV = 0x8553 + /// + Combiner3Nv = ((int)0x8553) , + /// + /// Original was GL_COMBINER4_NV = 0x8554 + /// + Combiner4Nv = ((int)0x8554) , + /// + /// Original was GL_COMBINER5_NV = 0x8555 + /// + Combiner5Nv = ((int)0x8555) , + /// + /// Original was GL_COMBINER6_NV = 0x8556 + /// + Combiner6Nv = ((int)0x8556) , + /// + /// Original was GL_COMBINER7_NV = 0x8557 + /// + Combiner7Nv = ((int)0x8557) , + /// + /// Original was GL_PRIMITIVE_RESTART_NV = 0x8558 + /// + PrimitiveRestartNv = ((int)0x8558) , + /// + /// Original was GL_PRIMITIVE_RESTART_INDEX_NV = 0x8559 + /// + PrimitiveRestartIndexNv = ((int)0x8559) , + /// + /// Original was GL_FOG_DISTANCE_MODE_NV = 0x855A + /// + FogDistanceModeNv = ((int)0x855A) , + /// + /// Original was GL_FOG_GEN_MODE_NV = 0x855A + /// + FogGenModeNv = ((int)0x855A) , + /// + /// Original was GL_EYE_RADIAL_NV = 0x855B + /// + EyeRadialNv = ((int)0x855B) , + /// + /// Original was GL_EYE_PLANE_ABSOLUTE_NV = 0x855C + /// + EyePlaneAbsoluteNv = ((int)0x855C) , + /// + /// Original was GL_EMBOSS_LIGHT_NV = 0x855D + /// + EmbossLightNv = ((int)0x855D) , + /// + /// Original was GL_EMBOSS_CONSTANT_NV = 0x855E + /// + EmbossConstantNv = ((int)0x855E) , + /// + /// Original was GL_EMBOSS_MAP_NV = 0x855F + /// + EmbossMapNv = ((int)0x855F) , + /// + /// Original was GL_RED_MIN_CLAMP_INGR = 0x8560 + /// + RedMinClampIngr = ((int)0x8560) , + /// + /// Original was GL_GREEN_MIN_CLAMP_INGR = 0x8561 + /// + GreenMinClampIngr = ((int)0x8561) , + /// + /// Original was GL_BLUE_MIN_CLAMP_INGR = 0x8562 + /// + BlueMinClampIngr = ((int)0x8562) , + /// + /// Original was GL_ALPHA_MIN_CLAMP_INGR = 0x8563 + /// + AlphaMinClampIngr = ((int)0x8563) , + /// + /// Original was GL_RED_MAX_CLAMP_INGR = 0x8564 + /// + RedMaxClampIngr = ((int)0x8564) , + /// + /// Original was GL_GREEN_MAX_CLAMP_INGR = 0x8565 + /// + GreenMaxClampIngr = ((int)0x8565) , + /// + /// Original was GL_BLUE_MAX_CLAMP_INGR = 0x8566 + /// + BlueMaxClampIngr = ((int)0x8566) , + /// + /// Original was GL_ALPHA_MAX_CLAMP_INGR = 0x8567 + /// + AlphaMaxClampIngr = ((int)0x8567) , + /// + /// Original was GL_INTERLACE_READ_INGR = 0x8568 + /// + InterlaceReadIngr = ((int)0x8568) , + /// + /// Original was GL_COMBINE = 0x8570 + /// + Combine = ((int)0x8570) , + /// + /// Original was GL_COMBINE_ARB = 0x8570 + /// + CombineArb = ((int)0x8570) , + /// + /// Original was GL_COMBINE_EXT = 0x8570 + /// + CombineExt = ((int)0x8570) , + /// + /// Original was GL_COMBINE_RGB = 0x8571 + /// + CombineRgb = ((int)0x8571) , + /// + /// Original was GL_COMBINE_RGB_ARB = 0x8571 + /// + CombineRgbArb = ((int)0x8571) , + /// + /// Original was GL_COMBINE_RGB_EXT = 0x8571 + /// + CombineRgbExt = ((int)0x8571) , + /// + /// Original was GL_COMBINE_ALPHA = 0x8572 + /// + CombineAlpha = ((int)0x8572) , + /// + /// Original was GL_COMBINE_ALPHA_ARB = 0x8572 + /// + CombineAlphaArb = ((int)0x8572) , + /// + /// Original was GL_COMBINE_ALPHA_EXT = 0x8572 + /// + CombineAlphaExt = ((int)0x8572) , + /// + /// Original was GL_RGB_SCALE = 0x8573 + /// + RgbScale = ((int)0x8573) , + /// + /// Original was GL_RGB_SCALE_ARB = 0x8573 + /// + RgbScaleArb = ((int)0x8573) , + /// + /// Original was GL_RGB_SCALE_EXT = 0x8573 + /// + RgbScaleExt = ((int)0x8573) , + /// + /// Original was GL_ADD_SIGNED = 0x8574 + /// + AddSigned = ((int)0x8574) , + /// + /// Original was GL_ADD_SIGNED_ARB = 0x8574 + /// + AddSignedArb = ((int)0x8574) , + /// + /// Original was GL_ADD_SIGNED_EXT = 0x8574 + /// + AddSignedExt = ((int)0x8574) , + /// + /// Original was GL_INTERPOLATE = 0x8575 + /// + Interpolate = ((int)0x8575) , + /// + /// Original was GL_INTERPOLATE_ARB = 0x8575 + /// + InterpolateArb = ((int)0x8575) , + /// + /// Original was GL_INTERPOLATE_EXT = 0x8575 + /// + InterpolateExt = ((int)0x8575) , + /// + /// Original was GL_CONSTANT = 0x8576 + /// + Constant = ((int)0x8576) , + /// + /// Original was GL_CONSTANT_ARB = 0x8576 + /// + ConstantArb = ((int)0x8576) , + /// + /// Original was GL_CONSTANT_EXT = 0x8576 + /// + ConstantExt = ((int)0x8576) , + /// + /// Original was GL_PRIMARY_COLOR = 0x8577 + /// + PrimaryColor = ((int)0x8577) , + /// + /// Original was GL_PRIMARY_COLOR_ARB = 0x8577 + /// + PrimaryColorArb = ((int)0x8577) , + /// + /// Original was GL_PRIMARY_COLOR_EXT = 0x8577 + /// + PrimaryColorExt = ((int)0x8577) , + /// + /// Original was GL_PREVIOUS = 0x8578 + /// + Previous = ((int)0x8578) , + /// + /// Original was GL_PREVIOUS_ARB = 0x8578 + /// + PreviousArb = ((int)0x8578) , + /// + /// Original was GL_PREVIOUS_EXT = 0x8578 + /// + PreviousExt = ((int)0x8578) , + /// + /// Original was GL_SOURCE0_RGB = 0x8580 + /// + Source0Rgb = ((int)0x8580) , + /// + /// Original was GL_SOURCE0_RGB_ARB = 0x8580 + /// + Source0RgbArb = ((int)0x8580) , + /// + /// Original was GL_SOURCE0_RGB_EXT = 0x8580 + /// + Source0RgbExt = ((int)0x8580) , + /// + /// Original was GL_SRC0_RGB = 0x8580 + /// + Src0Rgb = ((int)0x8580) , + /// + /// Original was GL_SOURCE1_RGB = 0x8581 + /// + Source1Rgb = ((int)0x8581) , + /// + /// Original was GL_SOURCE1_RGB_ARB = 0x8581 + /// + Source1RgbArb = ((int)0x8581) , + /// + /// Original was GL_SOURCE1_RGB_EXT = 0x8581 + /// + Source1RgbExt = ((int)0x8581) , + /// + /// Original was GL_SRC1_RGB = 0x8581 + /// + Src1Rgb = ((int)0x8581) , + /// + /// Original was GL_SOURCE2_RGB = 0x8582 + /// + Source2Rgb = ((int)0x8582) , + /// + /// Original was GL_SOURCE2_RGB_ARB = 0x8582 + /// + Source2RgbArb = ((int)0x8582) , + /// + /// Original was GL_SOURCE2_RGB_EXT = 0x8582 + /// + Source2RgbExt = ((int)0x8582) , + /// + /// Original was GL_SRC2_RGB = 0x8582 + /// + Src2Rgb = ((int)0x8582) , + /// + /// Original was GL_SOURCE3_RGB_NV = 0x8583 + /// + Source3RgbNv = ((int)0x8583) , + /// + /// Original was GL_SOURCE0_ALPHA = 0x8588 + /// + Source0Alpha = ((int)0x8588) , + /// + /// Original was GL_SOURCE0_ALPHA_ARB = 0x8588 + /// + Source0AlphaArb = ((int)0x8588) , + /// + /// Original was GL_SOURCE0_ALPHA_EXT = 0x8588 + /// + Source0AlphaExt = ((int)0x8588) , + /// + /// Original was GL_SRC0_ALPHA = 0x8588 + /// + Src0Alpha = ((int)0x8588) , + /// + /// Original was GL_SOURCE1_ALPHA = 0x8589 + /// + Source1Alpha = ((int)0x8589) , + /// + /// Original was GL_SOURCE1_ALPHA_ARB = 0x8589 + /// + Source1AlphaArb = ((int)0x8589) , + /// + /// Original was GL_SOURCE1_ALPHA_EXT = 0x8589 + /// + Source1AlphaExt = ((int)0x8589) , + /// + /// Original was GL_SRC1_ALPHA = 0x8589 + /// + Src1Alpha = ((int)0x8589) , + /// + /// Original was GL_SOURCE2_ALPHA = 0x858A + /// + Source2Alpha = ((int)0x858A) , + /// + /// Original was GL_SOURCE2_ALPHA_ARB = 0x858A + /// + Source2AlphaArb = ((int)0x858A) , + /// + /// Original was GL_SOURCE2_ALPHA_EXT = 0x858A + /// + Source2AlphaExt = ((int)0x858A) , + /// + /// Original was GL_SRC2_ALPHA = 0x858A + /// + Src2Alpha = ((int)0x858A) , + /// + /// Original was GL_SOURCE3_ALPHA_NV = 0x858B + /// + Source3AlphaNv = ((int)0x858B) , + /// + /// Original was GL_OPERAND0_RGB = 0x8590 + /// + Operand0Rgb = ((int)0x8590) , + /// + /// Original was GL_OPERAND0_RGB_ARB = 0x8590 + /// + Operand0RgbArb = ((int)0x8590) , + /// + /// Original was GL_OPERAND0_RGB_EXT = 0x8590 + /// + Operand0RgbExt = ((int)0x8590) , + /// + /// Original was GL_OPERAND1_RGB = 0x8591 + /// + Operand1Rgb = ((int)0x8591) , + /// + /// Original was GL_OPERAND1_RGB_ARB = 0x8591 + /// + Operand1RgbArb = ((int)0x8591) , + /// + /// Original was GL_OPERAND1_RGB_EXT = 0x8591 + /// + Operand1RgbExt = ((int)0x8591) , + /// + /// Original was GL_OPERAND2_RGB = 0x8592 + /// + Operand2Rgb = ((int)0x8592) , + /// + /// Original was GL_OPERAND2_RGB_ARB = 0x8592 + /// + Operand2RgbArb = ((int)0x8592) , + /// + /// Original was GL_OPERAND2_RGB_EXT = 0x8592 + /// + Operand2RgbExt = ((int)0x8592) , + /// + /// Original was GL_OPERAND3_RGB_NV = 0x8593 + /// + Operand3RgbNv = ((int)0x8593) , + /// + /// Original was GL_OPERAND0_ALPHA = 0x8598 + /// + Operand0Alpha = ((int)0x8598) , + /// + /// Original was GL_OPERAND0_ALPHA_ARB = 0x8598 + /// + Operand0AlphaArb = ((int)0x8598) , + /// + /// Original was GL_OPERAND0_ALPHA_EXT = 0x8598 + /// + Operand0AlphaExt = ((int)0x8598) , + /// + /// Original was GL_OPERAND1_ALPHA = 0x8599 + /// + Operand1Alpha = ((int)0x8599) , + /// + /// Original was GL_OPERAND1_ALPHA_ARB = 0x8599 + /// + Operand1AlphaArb = ((int)0x8599) , + /// + /// Original was GL_OPERAND1_ALPHA_EXT = 0x8599 + /// + Operand1AlphaExt = ((int)0x8599) , + /// + /// Original was GL_OPERAND2_ALPHA = 0x859A + /// + Operand2Alpha = ((int)0x859A) , + /// + /// Original was GL_OPERAND2_ALPHA_ARB = 0x859A + /// + Operand2AlphaArb = ((int)0x859A) , + /// + /// Original was GL_OPERAND2_ALPHA_EXT = 0x859A + /// + Operand2AlphaExt = ((int)0x859A) , + /// + /// Original was GL_OPERAND3_ALPHA_NV = 0x859B + /// + Operand3AlphaNv = ((int)0x859B) , + /// + /// Original was GL_PACK_SUBSAMPLE_RATE_SGIX = 0x85A0 + /// + PackSubsampleRateSgix = ((int)0x85A0) , + /// + /// Original was GL_UNPACK_SUBSAMPLE_RATE_SGIX = 0x85A1 + /// + UnpackSubsampleRateSgix = ((int)0x85A1) , + /// + /// Original was GL_PIXEL_SUBSAMPLE_4444_SGIX = 0x85A2 + /// + PixelSubsample4444Sgix = ((int)0x85A2) , + /// + /// Original was GL_PIXEL_SUBSAMPLE_2424_SGIX = 0x85A3 + /// + PixelSubsample2424Sgix = ((int)0x85A3) , + /// + /// Original was GL_PIXEL_SUBSAMPLE_4242_SGIX = 0x85A4 + /// + PixelSubsample4242Sgix = ((int)0x85A4) , + /// + /// Original was GL_PERTURB_EXT = 0x85AE + /// + PerturbExt = ((int)0x85AE) , + /// + /// Original was GL_TEXTURE_NORMAL_EXT = 0x85AF + /// + TextureNormalExt = ((int)0x85AF) , + /// + /// Original was GL_LIGHT_MODEL_SPECULAR_VECTOR_APPLE = 0x85B0 + /// + LightModelSpecularVectorApple = ((int)0x85B0) , + /// + /// Original was GL_TRANSFORM_HINT_APPLE = 0x85B1 + /// + TransformHintApple = ((int)0x85B1) , + /// + /// Original was GL_UNPACK_CLIENT_STORAGE_APPLE = 0x85B2 + /// + UnpackClientStorageApple = ((int)0x85B2) , + /// + /// Original was GL_BUFFER_OBJECT_APPLE = 0x85B3 + /// + BufferObjectApple = ((int)0x85B3) , + /// + /// Original was GL_STORAGE_CLIENT_APPLE = 0x85B4 + /// + StorageClientApple = ((int)0x85B4) , + /// + /// Original was GL_VERTEX_ARRAY_BINDING = 0x85B5 + /// + VertexArrayBinding = ((int)0x85B5) , + /// + /// Original was GL_VERTEX_ARRAY_BINDING_APPLE = 0x85B5 + /// + VertexArrayBindingApple = ((int)0x85B5) , + /// + /// Original was GL_TEXTURE_RANGE_LENGTH_APPLE = 0x85B7 + /// + TextureRangeLengthApple = ((int)0x85B7) , + /// + /// Original was GL_TEXTURE_RANGE_POINTER_APPLE = 0x85B8 + /// + TextureRangePointerApple = ((int)0x85B8) , + /// + /// Original was GL_YCBCR_422_APPLE = 0x85B9 + /// + Ycbcr422Apple = ((int)0x85B9) , + /// + /// Original was GL_UNSIGNED_SHORT_8_8_APPLE = 0x85BA + /// + UnsignedShort88Apple = ((int)0x85BA) , + /// + /// Original was GL_UNSIGNED_SHORT_8_8_MESA = 0x85BA + /// + UnsignedShort88Mesa = ((int)0x85BA) , + /// + /// Original was GL_UNSIGNED_SHORT_8_8_REV_APPLE = 0x85BB + /// + UnsignedShort88RevApple = ((int)0x85BB) , + /// + /// Original was GL_UNSIGNED_SHORT_8_8_REV_MESA = 0x85BB + /// + UnsignedShort88RevMesa = ((int)0x85BB) , + /// + /// Original was GL_TEXTURE_STORAGE_HINT_APPLE = 0x85BC + /// + TextureStorageHintApple = ((int)0x85BC) , + /// + /// Original was GL_STORAGE_PRIVATE_APPLE = 0x85BD + /// + StoragePrivateApple = ((int)0x85BD) , + /// + /// Original was GL_STORAGE_CACHED_APPLE = 0x85BE + /// + StorageCachedApple = ((int)0x85BE) , + /// + /// Original was GL_STORAGE_SHARED_APPLE = 0x85BF + /// + StorageSharedApple = ((int)0x85BF) , + /// + /// Original was GL_REPLACEMENT_CODE_ARRAY_SUN = 0x85C0 + /// + ReplacementCodeArraySun = ((int)0x85C0) , + /// + /// Original was GL_REPLACEMENT_CODE_ARRAY_TYPE_SUN = 0x85C1 + /// + ReplacementCodeArrayTypeSun = ((int)0x85C1) , + /// + /// Original was GL_REPLACEMENT_CODE_ARRAY_STRIDE_SUN = 0x85C2 + /// + ReplacementCodeArrayStrideSun = ((int)0x85C2) , + /// + /// Original was GL_REPLACEMENT_CODE_ARRAY_POINTER_SUN = 0x85C3 + /// + ReplacementCodeArrayPointerSun = ((int)0x85C3) , + /// + /// Original was GL_R1UI_V3F_SUN = 0x85C4 + /// + R1uiV3fSun = ((int)0x85C4) , + /// + /// Original was GL_R1UI_C4UB_V3F_SUN = 0x85C5 + /// + R1uiC4ubV3fSun = ((int)0x85C5) , + /// + /// Original was GL_R1UI_C3F_V3F_SUN = 0x85C6 + /// + R1uiC3fV3fSun = ((int)0x85C6) , + /// + /// Original was GL_R1UI_N3F_V3F_SUN = 0x85C7 + /// + R1uiN3fV3fSun = ((int)0x85C7) , + /// + /// Original was GL_R1UI_C4F_N3F_V3F_SUN = 0x85C8 + /// + R1uiC4fN3fV3fSun = ((int)0x85C8) , + /// + /// Original was GL_R1UI_T2F_V3F_SUN = 0x85C9 + /// + R1uiT2fV3fSun = ((int)0x85C9) , + /// + /// Original was GL_R1UI_T2F_N3F_V3F_SUN = 0x85CA + /// + R1uiT2fN3fV3fSun = ((int)0x85CA) , + /// + /// Original was GL_R1UI_T2F_C4F_N3F_V3F_SUN = 0x85CB + /// + R1uiT2fC4fN3fV3fSun = ((int)0x85CB) , + /// + /// Original was GL_SLICE_ACCUM_SUN = 0x85CC + /// + SliceAccumSun = ((int)0x85CC) , + /// + /// Original was GL_QUAD_MESH_SUN = 0x8614 + /// + QuadMeshSun = ((int)0x8614) , + /// + /// Original was GL_TRIANGLE_MESH_SUN = 0x8615 + /// + TriangleMeshSun = ((int)0x8615) , + /// + /// Original was GL_VERTEX_PROGRAM = 0x8620 + /// + VertexProgram = ((int)0x8620) , + /// + /// Original was GL_VERTEX_PROGRAM_ARB = 0x8620 + /// + VertexProgramArb = ((int)0x8620) , + /// + /// Original was GL_VERTEX_PROGRAM_NV = 0x8620 + /// + VertexProgramNv = ((int)0x8620) , + /// + /// Original was GL_VERTEX_STATE_PROGRAM_NV = 0x8621 + /// + VertexStateProgramNv = ((int)0x8621) , + /// + /// Original was GL_ARRAY_ENABLED = 0x8622 + /// + ArrayEnabled = ((int)0x8622) , + /// + /// Original was GL_VERTEX_ATTRIB_ARRAY_ENABLED = 0x8622 + /// + VertexAttribArrayEnabled = ((int)0x8622) , + /// + /// Original was GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB = 0x8622 + /// + VertexAttribArrayEnabledArb = ((int)0x8622) , + /// + /// Original was GL_ARRAY_SIZE = 0x8623 + /// + ArraySize = ((int)0x8623) , + /// + /// Original was GL_ATTRIB_ARRAY_SIZE_NV = 0x8623 + /// + AttribArraySizeNv = ((int)0x8623) , + /// + /// Original was GL_VERTEX_ATTRIB_ARRAY_SIZE = 0x8623 + /// + VertexAttribArraySize = ((int)0x8623) , + /// + /// Original was GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB = 0x8623 + /// + VertexAttribArraySizeArb = ((int)0x8623) , + /// + /// Original was GL_ARRAY_STRIDE = 0x8624 + /// + ArrayStride = ((int)0x8624) , + /// + /// Original was GL_ATTRIB_ARRAY_STRIDE_NV = 0x8624 + /// + AttribArrayStrideNv = ((int)0x8624) , + /// + /// Original was GL_VERTEX_ATTRIB_ARRAY_STRIDE = 0x8624 + /// + VertexAttribArrayStride = ((int)0x8624) , + /// + /// Original was GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB = 0x8624 + /// + VertexAttribArrayStrideArb = ((int)0x8624) , + /// + /// Original was GL_ARRAY_TYPE = 0x8625 + /// + ArrayType = ((int)0x8625) , + /// + /// Original was GL_ATTRIB_ARRAY_TYPE_NV = 0x8625 + /// + AttribArrayTypeNv = ((int)0x8625) , + /// + /// Original was GL_VERTEX_ATTRIB_ARRAY_TYPE = 0x8625 + /// + VertexAttribArrayType = ((int)0x8625) , + /// + /// Original was GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB = 0x8625 + /// + VertexAttribArrayTypeArb = ((int)0x8625) , + /// + /// Original was GL_CURRENT_ATTRIB_NV = 0x8626 + /// + CurrentAttribNv = ((int)0x8626) , + /// + /// Original was GL_CURRENT_VERTEX_ATTRIB = 0x8626 + /// + CurrentVertexAttrib = ((int)0x8626) , + /// + /// Original was GL_CURRENT_VERTEX_ATTRIB_ARB = 0x8626 + /// + CurrentVertexAttribArb = ((int)0x8626) , + /// + /// Original was GL_PROGRAM_LENGTH = 0x8627 + /// + ProgramLength = ((int)0x8627) , + /// + /// Original was GL_PROGRAM_LENGTH_ARB = 0x8627 + /// + ProgramLengthArb = ((int)0x8627) , + /// + /// Original was GL_PROGRAM_LENGTH_NV = 0x8627 + /// + ProgramLengthNv = ((int)0x8627) , + /// + /// Original was GL_PROGRAM_STRING = 0x8628 + /// + ProgramString = ((int)0x8628) , + /// + /// Original was GL_PROGRAM_STRING_ARB = 0x8628 + /// + ProgramStringArb = ((int)0x8628) , + /// + /// Original was GL_PROGRAM_STRING_NV = 0x8628 + /// + ProgramStringNv = ((int)0x8628) , + /// + /// Original was GL_MODELVIEW_PROJECTION_NV = 0x8629 + /// + ModelviewProjectionNv = ((int)0x8629) , + /// + /// Original was GL_IDENTITY_NV = 0x862A + /// + IdentityNv = ((int)0x862A) , + /// + /// Original was GL_INVERSE_NV = 0x862B + /// + InverseNv = ((int)0x862B) , + /// + /// Original was GL_TRANSPOSE_NV = 0x862C + /// + TransposeNv = ((int)0x862C) , + /// + /// Original was GL_INVERSE_TRANSPOSE_NV = 0x862D + /// + InverseTransposeNv = ((int)0x862D) , + /// + /// Original was GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB = 0x862E + /// + MaxProgramMatrixStackDepthArb = ((int)0x862E) , + /// + /// Original was GL_MAX_TRACK_MATRIX_STACK_DEPTH_NV = 0x862E + /// + MaxTrackMatrixStackDepthNv = ((int)0x862E) , + /// + /// Original was GL_MAX_PROGRAM_MATRICES_ARB = 0x862F + /// + MaxProgramMatricesArb = ((int)0x862F) , + /// + /// Original was GL_MAX_TRACK_MATRICES_NV = 0x862F + /// + MaxTrackMatricesNv = ((int)0x862F) , + /// + /// Original was GL_MATRIX0_NV = 0x8630 + /// + Matrix0Nv = ((int)0x8630) , + /// + /// Original was GL_MATRIX1_NV = 0x8631 + /// + Matrix1Nv = ((int)0x8631) , + /// + /// Original was GL_MATRIX2_NV = 0x8632 + /// + Matrix2Nv = ((int)0x8632) , + /// + /// Original was GL_MATRIX3_NV = 0x8633 + /// + Matrix3Nv = ((int)0x8633) , + /// + /// Original was GL_MATRIX4_NV = 0x8634 + /// + Matrix4Nv = ((int)0x8634) , + /// + /// Original was GL_MATRIX5_NV = 0x8635 + /// + Matrix5Nv = ((int)0x8635) , + /// + /// Original was GL_MATRIX6_NV = 0x8636 + /// + Matrix6Nv = ((int)0x8636) , + /// + /// Original was GL_MATRIX7_NV = 0x8637 + /// + Matrix7Nv = ((int)0x8637) , + /// + /// Original was GL_CURRENT_MATRIX_STACK_DEPTH_ARB = 0x8640 + /// + CurrentMatrixStackDepthArb = ((int)0x8640) , + /// + /// Original was GL_CURRENT_MATRIX_STACK_DEPTH_NV = 0x8640 + /// + CurrentMatrixStackDepthNv = ((int)0x8640) , + /// + /// Original was GL_CURRENT_MATRIX_ARB = 0x8641 + /// + CurrentMatrixArb = ((int)0x8641) , + /// + /// Original was GL_CURRENT_MATRIX_NV = 0x8641 + /// + CurrentMatrixNv = ((int)0x8641) , + /// + /// Original was GL_PROGRAM_POINT_SIZE = 0x8642 + /// + ProgramPointSize = ((int)0x8642) , + /// + /// Original was GL_PROGRAM_POINT_SIZE_ARB = 0x8642 + /// + ProgramPointSizeArb = ((int)0x8642) , + /// + /// Original was GL_PROGRAM_POINT_SIZE_EXT = 0x8642 + /// + ProgramPointSizeExt = ((int)0x8642) , + /// + /// Original was GL_VERTEX_PROGRAM_POINT_SIZE = 0x8642 + /// + VertexProgramPointSize = ((int)0x8642) , + /// + /// Original was GL_VERTEX_PROGRAM_POINT_SIZE_ARB = 0x8642 + /// + VertexProgramPointSizeArb = ((int)0x8642) , + /// + /// Original was GL_VERTEX_PROGRAM_POINT_SIZE_NV = 0x8642 + /// + VertexProgramPointSizeNv = ((int)0x8642) , + /// + /// Original was GL_VERTEX_PROGRAM_TWO_SIDE = 0x8643 + /// + VertexProgramTwoSide = ((int)0x8643) , + /// + /// Original was GL_VERTEX_PROGRAM_TWO_SIDE_ARB = 0x8643 + /// + VertexProgramTwoSideArb = ((int)0x8643) , + /// + /// Original was GL_VERTEX_PROGRAM_TWO_SIDE_NV = 0x8643 + /// + VertexProgramTwoSideNv = ((int)0x8643) , + /// + /// Original was GL_PROGRAM_PARAMETER_NV = 0x8644 + /// + ProgramParameterNv = ((int)0x8644) , + /// + /// Original was GL_ARRAY_POINTER = 0x8645 + /// + ArrayPointer = ((int)0x8645) , + /// + /// Original was GL_ATTRIB_ARRAY_POINTER_NV = 0x8645 + /// + AttribArrayPointerNv = ((int)0x8645) , + /// + /// Original was GL_VERTEX_ATTRIB_ARRAY_POINTER = 0x8645 + /// + VertexAttribArrayPointer = ((int)0x8645) , + /// + /// Original was GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB = 0x8645 + /// + VertexAttribArrayPointerArb = ((int)0x8645) , + /// + /// Original was GL_PROGRAM_TARGET_NV = 0x8646 + /// + ProgramTargetNv = ((int)0x8646) , + /// + /// Original was GL_PROGRAM_RESIDENT_NV = 0x8647 + /// + ProgramResidentNv = ((int)0x8647) , + /// + /// Original was GL_TRACK_MATRIX_NV = 0x8648 + /// + TrackMatrixNv = ((int)0x8648) , + /// + /// Original was GL_TRACK_MATRIX_TRANSFORM_NV = 0x8649 + /// + TrackMatrixTransformNv = ((int)0x8649) , + /// + /// Original was GL_VERTEX_PROGRAM_BINDING_NV = 0x864A + /// + VertexProgramBindingNv = ((int)0x864A) , + /// + /// Original was GL_PROGRAM_ERROR_POSITION_ARB = 0x864B + /// + ProgramErrorPositionArb = ((int)0x864B) , + /// + /// Original was GL_PROGRAM_ERROR_POSITION_NV = 0x864B + /// + ProgramErrorPositionNv = ((int)0x864B) , + /// + /// Original was GL_OFFSET_TEXTURE_RECTANGLE_NV = 0x864C + /// + OffsetTextureRectangleNv = ((int)0x864C) , + /// + /// Original was GL_OFFSET_TEXTURE_RECTANGLE_SCALE_NV = 0x864D + /// + OffsetTextureRectangleScaleNv = ((int)0x864D) , + /// + /// Original was GL_DOT_PRODUCT_TEXTURE_RECTANGLE_NV = 0x864E + /// + DotProductTextureRectangleNv = ((int)0x864E) , + /// + /// Original was GL_DEPTH_CLAMP = 0x864F + /// + DepthClamp = ((int)0x864F) , + /// + /// Original was GL_DEPTH_CLAMP_NV = 0x864F + /// + DepthClampNv = ((int)0x864F) , + /// + /// Original was GL_VERTEX_ATTRIB_ARRAY0_NV = 0x8650 + /// + VertexAttribArray0Nv = ((int)0x8650) , + /// + /// Original was GL_VERTEX_ATTRIB_ARRAY1_NV = 0x8651 + /// + VertexAttribArray1Nv = ((int)0x8651) , + /// + /// Original was GL_VERTEX_ATTRIB_ARRAY2_NV = 0x8652 + /// + VertexAttribArray2Nv = ((int)0x8652) , + /// + /// Original was GL_VERTEX_ATTRIB_ARRAY3_NV = 0x8653 + /// + VertexAttribArray3Nv = ((int)0x8653) , + /// + /// Original was GL_VERTEX_ATTRIB_ARRAY4_NV = 0x8654 + /// + VertexAttribArray4Nv = ((int)0x8654) , + /// + /// Original was GL_VERTEX_ATTRIB_ARRAY5_NV = 0x8655 + /// + VertexAttribArray5Nv = ((int)0x8655) , + /// + /// Original was GL_VERTEX_ATTRIB_ARRAY6_NV = 0x8656 + /// + VertexAttribArray6Nv = ((int)0x8656) , + /// + /// Original was GL_VERTEX_ATTRIB_ARRAY7_NV = 0x8657 + /// + VertexAttribArray7Nv = ((int)0x8657) , + /// + /// Original was GL_VERTEX_ATTRIB_ARRAY8_NV = 0x8658 + /// + VertexAttribArray8Nv = ((int)0x8658) , + /// + /// Original was GL_VERTEX_ATTRIB_ARRAY9_NV = 0x8659 + /// + VertexAttribArray9Nv = ((int)0x8659) , + /// + /// Original was GL_VERTEX_ATTRIB_ARRAY10_NV = 0x865A + /// + VertexAttribArray10Nv = ((int)0x865A) , + /// + /// Original was GL_VERTEX_ATTRIB_ARRAY11_NV = 0x865B + /// + VertexAttribArray11Nv = ((int)0x865B) , + /// + /// Original was GL_VERTEX_ATTRIB_ARRAY12_NV = 0x865C + /// + VertexAttribArray12Nv = ((int)0x865C) , + /// + /// Original was GL_VERTEX_ATTRIB_ARRAY13_NV = 0x865D + /// + VertexAttribArray13Nv = ((int)0x865D) , + /// + /// Original was GL_VERTEX_ATTRIB_ARRAY14_NV = 0x865E + /// + VertexAttribArray14Nv = ((int)0x865E) , + /// + /// Original was GL_VERTEX_ATTRIB_ARRAY15_NV = 0x865F + /// + VertexAttribArray15Nv = ((int)0x865F) , + /// + /// Original was GL_MAP1_VERTEX_ATTRIB0_4_NV = 0x8660 + /// + Map1VertexAttrib04Nv = ((int)0x8660) , + /// + /// Original was GL_MAP1_VERTEX_ATTRIB1_4_NV = 0x8661 + /// + Map1VertexAttrib14Nv = ((int)0x8661) , + /// + /// Original was GL_MAP1_VERTEX_ATTRIB2_4_NV = 0x8662 + /// + Map1VertexAttrib24Nv = ((int)0x8662) , + /// + /// Original was GL_MAP1_VERTEX_ATTRIB3_4_NV = 0x8663 + /// + Map1VertexAttrib34Nv = ((int)0x8663) , + /// + /// Original was GL_MAP1_VERTEX_ATTRIB4_4_NV = 0x8664 + /// + Map1VertexAttrib44Nv = ((int)0x8664) , + /// + /// Original was GL_MAP1_VERTEX_ATTRIB5_4_NV = 0x8665 + /// + Map1VertexAttrib54Nv = ((int)0x8665) , + /// + /// Original was GL_MAP1_VERTEX_ATTRIB6_4_NV = 0x8666 + /// + Map1VertexAttrib64Nv = ((int)0x8666) , + /// + /// Original was GL_MAP1_VERTEX_ATTRIB7_4_NV = 0x8667 + /// + Map1VertexAttrib74Nv = ((int)0x8667) , + /// + /// Original was GL_MAP1_VERTEX_ATTRIB8_4_NV = 0x8668 + /// + Map1VertexAttrib84Nv = ((int)0x8668) , + /// + /// Original was GL_MAP1_VERTEX_ATTRIB9_4_NV = 0x8669 + /// + Map1VertexAttrib94Nv = ((int)0x8669) , + /// + /// Original was GL_MAP1_VERTEX_ATTRIB10_4_NV = 0x866A + /// + Map1VertexAttrib104Nv = ((int)0x866A) , + /// + /// Original was GL_MAP1_VERTEX_ATTRIB11_4_NV = 0x866B + /// + Map1VertexAttrib114Nv = ((int)0x866B) , + /// + /// Original was GL_MAP1_VERTEX_ATTRIB12_4_NV = 0x866C + /// + Map1VertexAttrib124Nv = ((int)0x866C) , + /// + /// Original was GL_MAP1_VERTEX_ATTRIB13_4_NV = 0x866D + /// + Map1VertexAttrib134Nv = ((int)0x866D) , + /// + /// Original was GL_MAP1_VERTEX_ATTRIB14_4_NV = 0x866E + /// + Map1VertexAttrib144Nv = ((int)0x866E) , + /// + /// Original was GL_MAP1_VERTEX_ATTRIB15_4_NV = 0x866F + /// + Map1VertexAttrib154Nv = ((int)0x866F) , + /// + /// Original was GL_MAP2_VERTEX_ATTRIB0_4_NV = 0x8670 + /// + Map2VertexAttrib04Nv = ((int)0x8670) , + /// + /// Original was GL_MAP2_VERTEX_ATTRIB1_4_NV = 0x8671 + /// + Map2VertexAttrib14Nv = ((int)0x8671) , + /// + /// Original was GL_MAP2_VERTEX_ATTRIB2_4_NV = 0x8672 + /// + Map2VertexAttrib24Nv = ((int)0x8672) , + /// + /// Original was GL_MAP2_VERTEX_ATTRIB3_4_NV = 0x8673 + /// + Map2VertexAttrib34Nv = ((int)0x8673) , + /// + /// Original was GL_MAP2_VERTEX_ATTRIB4_4_NV = 0x8674 + /// + Map2VertexAttrib44Nv = ((int)0x8674) , + /// + /// Original was GL_MAP2_VERTEX_ATTRIB5_4_NV = 0x8675 + /// + Map2VertexAttrib54Nv = ((int)0x8675) , + /// + /// Original was GL_MAP2_VERTEX_ATTRIB6_4_NV = 0x8676 + /// + Map2VertexAttrib64Nv = ((int)0x8676) , + /// + /// Original was GL_MAP2_VERTEX_ATTRIB7_4_NV = 0x8677 + /// + Map2VertexAttrib74Nv = ((int)0x8677) , + /// + /// Original was GL_PROGRAM_BINDING = 0x8677 + /// + ProgramBinding = ((int)0x8677) , + /// + /// Original was GL_PROGRAM_BINDING_ARB = 0x8677 + /// + ProgramBindingArb = ((int)0x8677) , + /// + /// Original was GL_MAP2_VERTEX_ATTRIB8_4_NV = 0x8678 + /// + Map2VertexAttrib84Nv = ((int)0x8678) , + /// + /// Original was GL_MAP2_VERTEX_ATTRIB9_4_NV = 0x8679 + /// + Map2VertexAttrib94Nv = ((int)0x8679) , + /// + /// Original was GL_MAP2_VERTEX_ATTRIB10_4_NV = 0x867A + /// + Map2VertexAttrib104Nv = ((int)0x867A) , + /// + /// Original was GL_MAP2_VERTEX_ATTRIB11_4_NV = 0x867B + /// + Map2VertexAttrib114Nv = ((int)0x867B) , + /// + /// Original was GL_MAP2_VERTEX_ATTRIB12_4_NV = 0x867C + /// + Map2VertexAttrib124Nv = ((int)0x867C) , + /// + /// Original was GL_MAP2_VERTEX_ATTRIB13_4_NV = 0x867D + /// + Map2VertexAttrib134Nv = ((int)0x867D) , + /// + /// Original was GL_MAP2_VERTEX_ATTRIB14_4_NV = 0x867E + /// + Map2VertexAttrib144Nv = ((int)0x867E) , + /// + /// Original was GL_MAP2_VERTEX_ATTRIB15_4_NV = 0x867F + /// + Map2VertexAttrib154Nv = ((int)0x867F) , + /// + /// Original was GL_TEXTURE_COMPRESSED_IMAGE_SIZE = 0x86A0 + /// + TextureCompressedImageSize = ((int)0x86A0) , + /// + /// Original was GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB = 0x86A0 + /// + TextureCompressedImageSizeArb = ((int)0x86A0) , + /// + /// Original was GL_TEXTURE_COMPRESSED = 0x86A1 + /// + TextureCompressed = ((int)0x86A1) , + /// + /// Original was GL_TEXTURE_COMPRESSED_ARB = 0x86A1 + /// + TextureCompressedArb = ((int)0x86A1) , + /// + /// Original was GL_NUM_COMPRESSED_TEXTURE_FORMATS = 0x86A2 + /// + NumCompressedTextureFormats = ((int)0x86A2) , + /// + /// Original was GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB = 0x86A2 + /// + NumCompressedTextureFormatsArb = ((int)0x86A2) , + /// + /// Original was GL_COMPRESSED_TEXTURE_FORMATS = 0x86A3 + /// + CompressedTextureFormats = ((int)0x86A3) , + /// + /// Original was GL_COMPRESSED_TEXTURE_FORMATS_ARB = 0x86A3 + /// + CompressedTextureFormatsArb = ((int)0x86A3) , + /// + /// Original was GL_MAX_VERTEX_UNITS_ARB = 0x86A4 + /// + MaxVertexUnitsArb = ((int)0x86A4) , + /// + /// Original was GL_MAX_VERTEX_UNITS_OES = 0x86A4 + /// + MaxVertexUnitsOes = ((int)0x86A4) , + /// + /// Original was GL_ACTIVE_VERTEX_UNITS_ARB = 0x86A5 + /// + ActiveVertexUnitsArb = ((int)0x86A5) , + /// + /// Original was GL_WEIGHT_SUM_UNITY_ARB = 0x86A6 + /// + WeightSumUnityArb = ((int)0x86A6) , + /// + /// Original was GL_VERTEX_BLEND_ARB = 0x86A7 + /// + VertexBlendArb = ((int)0x86A7) , + /// + /// Original was GL_CURRENT_WEIGHT_ARB = 0x86A8 + /// + CurrentWeightArb = ((int)0x86A8) , + /// + /// Original was GL_WEIGHT_ARRAY_TYPE_ARB = 0x86A9 + /// + WeightArrayTypeArb = ((int)0x86A9) , + /// + /// Original was GL_WEIGHT_ARRAY_TYPE_OES = 0x86A9 + /// + WeightArrayTypeOes = ((int)0x86A9) , + /// + /// Original was GL_WEIGHT_ARRAY_STRIDE_ARB = 0x86AA + /// + WeightArrayStrideArb = ((int)0x86AA) , + /// + /// Original was GL_WEIGHT_ARRAY_STRIDE_OES = 0x86AA + /// + WeightArrayStrideOes = ((int)0x86AA) , + /// + /// Original was GL_WEIGHT_ARRAY_SIZE_ARB = 0x86AB + /// + WeightArraySizeArb = ((int)0x86AB) , + /// + /// Original was GL_WEIGHT_ARRAY_SIZE_OES = 0x86AB + /// + WeightArraySizeOes = ((int)0x86AB) , + /// + /// Original was GL_WEIGHT_ARRAY_POINTER_ARB = 0x86AC + /// + WeightArrayPointerArb = ((int)0x86AC) , + /// + /// Original was GL_WEIGHT_ARRAY_POINTER_OES = 0x86AC + /// + WeightArrayPointerOes = ((int)0x86AC) , + /// + /// Original was GL_WEIGHT_ARRAY_ARB = 0x86AD + /// + WeightArrayArb = ((int)0x86AD) , + /// + /// Original was GL_WEIGHT_ARRAY_OES = 0x86AD + /// + WeightArrayOes = ((int)0x86AD) , + /// + /// Original was GL_DOT3_RGB = 0x86AE + /// + Dot3Rgb = ((int)0x86AE) , + /// + /// Original was GL_DOT3_RGB_ARB = 0x86AE + /// + Dot3RgbArb = ((int)0x86AE) , + /// + /// Original was GL_DOT3_RGBA = 0x86AF + /// + Dot3Rgba = ((int)0x86AF) , + /// + /// Original was GL_DOT3_RGBA_ARB = 0x86AF + /// + Dot3RgbaArb = ((int)0x86AF) , + /// + /// Original was GL_DOT3_RGBA_IMG = 0x86AF + /// + Dot3RgbaImg = ((int)0x86AF) , + /// + /// Original was GL_COMPRESSED_RGB_FXT1_3DFX = 0x86B0 + /// + CompressedRgbFxt13Dfx = ((int)0x86B0) , + /// + /// Original was GL_COMPRESSED_RGBA_FXT1_3DFX = 0x86B1 + /// + CompressedRgbaFxt13Dfx = ((int)0x86B1) , + /// + /// Original was GL_MULTISAMPLE_3DFX = 0x86B2 + /// + Multisample3Dfx = ((int)0x86B2) , + /// + /// Original was GL_SAMPLE_BUFFERS_3DFX = 0x86B3 + /// + SampleBuffers3Dfx = ((int)0x86B3) , + /// + /// Original was GL_SAMPLES_3DFX = 0x86B4 + /// + Samples3Dfx = ((int)0x86B4) , + /// + /// Original was GL_EVAL_2D_NV = 0x86C0 + /// + Eval2DNv = ((int)0x86C0) , + /// + /// Original was GL_EVAL_TRIANGULAR_2D_NV = 0x86C1 + /// + EvalTriangular2DNv = ((int)0x86C1) , + /// + /// Original was GL_MAP_TESSELLATION_NV = 0x86C2 + /// + MapTessellationNv = ((int)0x86C2) , + /// + /// Original was GL_MAP_ATTRIB_U_ORDER_NV = 0x86C3 + /// + MapAttribUOrderNv = ((int)0x86C3) , + /// + /// Original was GL_MAP_ATTRIB_V_ORDER_NV = 0x86C4 + /// + MapAttribVOrderNv = ((int)0x86C4) , + /// + /// Original was GL_EVAL_FRACTIONAL_TESSELLATION_NV = 0x86C5 + /// + EvalFractionalTessellationNv = ((int)0x86C5) , + /// + /// Original was GL_EVAL_VERTEX_ATRRIB0_NV = 0x86C6 + /// + EvalVertexAtrrib0Nv = ((int)0x86C6) , + /// + /// Original was GL_EVAL_VERTEX_ATTRIB0_NV = 0x86C6 + /// + EvalVertexAttrib0Nv = ((int)0x86C6) , + /// + /// Original was GL_EVAL_VERTEX_ATRRIB1_NV = 0x86C7 + /// + EvalVertexAtrrib1Nv = ((int)0x86C7) , + /// + /// Original was GL_EVAL_VERTEX_ATTRIB1_NV = 0x86C7 + /// + EvalVertexAttrib1Nv = ((int)0x86C7) , + /// + /// Original was GL_EVAL_VERTEX_ATRRIB2_NV = 0x86C8 + /// + EvalVertexAtrrib2Nv = ((int)0x86C8) , + /// + /// Original was GL_EVAL_VERTEX_ATTRIB2_NV = 0x86C8 + /// + EvalVertexAttrib2Nv = ((int)0x86C8) , + /// + /// Original was GL_EVAL_VERTEX_ATRRIB3_NV = 0x86C9 + /// + EvalVertexAtrrib3Nv = ((int)0x86C9) , + /// + /// Original was GL_EVAL_VERTEX_ATTRIB3_NV = 0x86C9 + /// + EvalVertexAttrib3Nv = ((int)0x86C9) , + /// + /// Original was GL_EVAL_VERTEX_ATRRIB4_NV = 0x86CA + /// + EvalVertexAtrrib4Nv = ((int)0x86CA) , + /// + /// Original was GL_EVAL_VERTEX_ATTRIB4_NV = 0x86CA + /// + EvalVertexAttrib4Nv = ((int)0x86CA) , + /// + /// Original was GL_EVAL_VERTEX_ATRRIB5_NV = 0x86CB + /// + EvalVertexAtrrib5Nv = ((int)0x86CB) , + /// + /// Original was GL_EVAL_VERTEX_ATTRIB5_NV = 0x86CB + /// + EvalVertexAttrib5Nv = ((int)0x86CB) , + /// + /// Original was GL_EVAL_VERTEX_ATRRIB6_NV = 0x86CC + /// + EvalVertexAtrrib6Nv = ((int)0x86CC) , + /// + /// Original was GL_EVAL_VERTEX_ATTRIB6_NV = 0x86CC + /// + EvalVertexAttrib6Nv = ((int)0x86CC) , + /// + /// Original was GL_EVAL_VERTEX_ATRRIB7_NV = 0x86CD + /// + EvalVertexAtrrib7Nv = ((int)0x86CD) , + /// + /// Original was GL_EVAL_VERTEX_ATTRIB7_NV = 0x86CD + /// + EvalVertexAttrib7Nv = ((int)0x86CD) , + /// + /// Original was GL_EVAL_VERTEX_ATRRIB8_NV = 0x86CE + /// + EvalVertexAtrrib8Nv = ((int)0x86CE) , + /// + /// Original was GL_EVAL_VERTEX_ATTRIB8_NV = 0x86CE + /// + EvalVertexAttrib8Nv = ((int)0x86CE) , + /// + /// Original was GL_EVAL_VERTEX_ATRRIB9_NV = 0x86CF + /// + EvalVertexAtrrib9Nv = ((int)0x86CF) , + /// + /// Original was GL_EVAL_VERTEX_ATTRIB9_NV = 0x86CF + /// + EvalVertexAttrib9Nv = ((int)0x86CF) , + /// + /// Original was GL_EVAL_VERTEX_ATRRIB10_NV = 0x86D0 + /// + EvalVertexAtrrib10Nv = ((int)0x86D0) , + /// + /// Original was GL_EVAL_VERTEX_ATTRIB10_NV = 0x86D0 + /// + EvalVertexAttrib10Nv = ((int)0x86D0) , + /// + /// Original was GL_EVAL_VERTEX_ATRRIB11_NV = 0x86D1 + /// + EvalVertexAtrrib11Nv = ((int)0x86D1) , + /// + /// Original was GL_EVAL_VERTEX_ATTRIB11_NV = 0x86D1 + /// + EvalVertexAttrib11Nv = ((int)0x86D1) , + /// + /// Original was GL_EVAL_VERTEX_ATRRIB12_NV = 0x86D2 + /// + EvalVertexAtrrib12Nv = ((int)0x86D2) , + /// + /// Original was GL_EVAL_VERTEX_ATTRIB12_NV = 0x86D2 + /// + EvalVertexAttrib12Nv = ((int)0x86D2) , + /// + /// Original was GL_EVAL_VERTEX_ATRRIB13_NV = 0x86D3 + /// + EvalVertexAtrrib13Nv = ((int)0x86D3) , + /// + /// Original was GL_EVAL_VERTEX_ATTRIB13_NV = 0x86D3 + /// + EvalVertexAttrib13Nv = ((int)0x86D3) , + /// + /// Original was GL_EVAL_VERTEX_ATRRIB14_NV = 0x86D4 + /// + EvalVertexAtrrib14Nv = ((int)0x86D4) , + /// + /// Original was GL_EVAL_VERTEX_ATTRIB14_NV = 0x86D4 + /// + EvalVertexAttrib14Nv = ((int)0x86D4) , + /// + /// Original was GL_EVAL_VERTEX_ATRRIB15_NV = 0x86D5 + /// + EvalVertexAtrrib15Nv = ((int)0x86D5) , + /// + /// Original was GL_EVAL_VERTEX_ATTRIB15_NV = 0x86D5 + /// + EvalVertexAttrib15Nv = ((int)0x86D5) , + /// + /// Original was GL_MAX_MAP_TESSELLATION_NV = 0x86D6 + /// + MaxMapTessellationNv = ((int)0x86D6) , + /// + /// Original was GL_MAX_RATIONAL_EVAL_ORDER_NV = 0x86D7 + /// + MaxRationalEvalOrderNv = ((int)0x86D7) , + /// + /// Original was GL_MAX_PROGRAM_PATCH_ATTRIBS_NV = 0x86D8 + /// + MaxProgramPatchAttribsNv = ((int)0x86D8) , + /// + /// Original was GL_RGBA_UNSIGNED_DOT_PRODUCT_MAPPING_NV = 0x86D9 + /// + RgbaUnsignedDotProductMappingNv = ((int)0x86D9) , + /// + /// Original was GL_UNSIGNED_INT_S8_S8_8_8_NV = 0x86DA + /// + UnsignedIntS8S888Nv = ((int)0x86DA) , + /// + /// Original was GL_UNSIGNED_INT_8_8_S8_S8_REV_NV = 0x86DB + /// + UnsignedInt88S8S8RevNv = ((int)0x86DB) , + /// + /// Original was GL_DSDT_MAG_INTENSITY_NV = 0x86DC + /// + DsdtMagIntensityNv = ((int)0x86DC) , + /// + /// Original was GL_SHADER_CONSISTENT_NV = 0x86DD + /// + ShaderConsistentNv = ((int)0x86DD) , + /// + /// Original was GL_TEXTURE_SHADER_NV = 0x86DE + /// + TextureShaderNv = ((int)0x86DE) , + /// + /// Original was GL_SHADER_OPERATION_NV = 0x86DF + /// + ShaderOperationNv = ((int)0x86DF) , + /// + /// Original was GL_CULL_MODES_NV = 0x86E0 + /// + CullModesNv = ((int)0x86E0) , + /// + /// Original was GL_OFFSET_TEXTURE_2D_MATRIX_NV = 0x86E1 + /// + OffsetTexture2DMatrixNv = ((int)0x86E1) , + /// + /// Original was GL_OFFSET_TEXTURE_MATRIX_NV = 0x86E1 + /// + OffsetTextureMatrixNv = ((int)0x86E1) , + /// + /// Original was GL_OFFSET_TEXTURE_2D_SCALE_NV = 0x86E2 + /// + OffsetTexture2DScaleNv = ((int)0x86E2) , + /// + /// Original was GL_OFFSET_TEXTURE_SCALE_NV = 0x86E2 + /// + OffsetTextureScaleNv = ((int)0x86E2) , + /// + /// Original was GL_OFFSET_TEXTURE_2D_BIAS_NV = 0x86E3 + /// + OffsetTexture2DBiasNv = ((int)0x86E3) , + /// + /// Original was GL_OFFSET_TEXTURE_BIAS_NV = 0x86E3 + /// + OffsetTextureBiasNv = ((int)0x86E3) , + /// + /// Original was GL_PREVIOUS_TEXTURE_INPUT_NV = 0x86E4 + /// + PreviousTextureInputNv = ((int)0x86E4) , + /// + /// Original was GL_CONST_EYE_NV = 0x86E5 + /// + ConstEyeNv = ((int)0x86E5) , + /// + /// Original was GL_PASS_THROUGH_NV = 0x86E6 + /// + PassThroughNv = ((int)0x86E6) , + /// + /// Original was GL_CULL_FRAGMENT_NV = 0x86E7 + /// + CullFragmentNv = ((int)0x86E7) , + /// + /// Original was GL_OFFSET_TEXTURE_2D_NV = 0x86E8 + /// + OffsetTexture2DNv = ((int)0x86E8) , + /// + /// Original was GL_DEPENDENT_AR_TEXTURE_2D_NV = 0x86E9 + /// + DependentArTexture2DNv = ((int)0x86E9) , + /// + /// Original was GL_DEPENDENT_GB_TEXTURE_2D_NV = 0x86EA + /// + DependentGbTexture2DNv = ((int)0x86EA) , + /// + /// Original was GL_SURFACE_STATE_NV = 0x86EB + /// + SurfaceStateNv = ((int)0x86EB) , + /// + /// Original was GL_DOT_PRODUCT_NV = 0x86EC + /// + DotProductNv = ((int)0x86EC) , + /// + /// Original was GL_DOT_PRODUCT_DEPTH_REPLACE_NV = 0x86ED + /// + DotProductDepthReplaceNv = ((int)0x86ED) , + /// + /// Original was GL_DOT_PRODUCT_TEXTURE_2D_NV = 0x86EE + /// + DotProductTexture2DNv = ((int)0x86EE) , + /// + /// Original was GL_DOT_PRODUCT_TEXTURE_3D_NV = 0x86EF + /// + DotProductTexture3DNv = ((int)0x86EF) , + /// + /// Original was GL_DOT_PRODUCT_TEXTURE_CUBE_MAP_NV = 0x86F0 + /// + DotProductTextureCubeMapNv = ((int)0x86F0) , + /// + /// Original was GL_DOT_PRODUCT_DIFFUSE_CUBE_MAP_NV = 0x86F1 + /// + DotProductDiffuseCubeMapNv = ((int)0x86F1) , + /// + /// Original was GL_DOT_PRODUCT_REFLECT_CUBE_MAP_NV = 0x86F2 + /// + DotProductReflectCubeMapNv = ((int)0x86F2) , + /// + /// Original was GL_DOT_PRODUCT_CONST_EYE_REFLECT_CUBE_MAP_NV = 0x86F3 + /// + DotProductConstEyeReflectCubeMapNv = ((int)0x86F3) , + /// + /// Original was GL_HILO_NV = 0x86F4 + /// + HiloNv = ((int)0x86F4) , + /// + /// Original was GL_DSDT_NV = 0x86F5 + /// + DsdtNv = ((int)0x86F5) , + /// + /// Original was GL_DSDT_MAG_NV = 0x86F6 + /// + DsdtMagNv = ((int)0x86F6) , + /// + /// Original was GL_DSDT_MAG_VIB_NV = 0x86F7 + /// + DsdtMagVibNv = ((int)0x86F7) , + /// + /// Original was GL_HILO16_NV = 0x86F8 + /// + Hilo16Nv = ((int)0x86F8) , + /// + /// Original was GL_SIGNED_HILO_NV = 0x86F9 + /// + SignedHiloNv = ((int)0x86F9) , + /// + /// Original was GL_SIGNED_HILO16_NV = 0x86FA + /// + SignedHilo16Nv = ((int)0x86FA) , + /// + /// Original was GL_SIGNED_RGBA_NV = 0x86FB + /// + SignedRgbaNv = ((int)0x86FB) , + /// + /// Original was GL_SIGNED_RGBA8_NV = 0x86FC + /// + SignedRgba8Nv = ((int)0x86FC) , + /// + /// Original was GL_SURFACE_REGISTERED_NV = 0x86FD + /// + SurfaceRegisteredNv = ((int)0x86FD) , + /// + /// Original was GL_SIGNED_RGB_NV = 0x86FE + /// + SignedRgbNv = ((int)0x86FE) , + /// + /// Original was GL_SIGNED_RGB8_NV = 0x86FF + /// + SignedRgb8Nv = ((int)0x86FF) , + /// + /// Original was GL_SURFACE_MAPPED_NV = 0x8700 + /// + SurfaceMappedNv = ((int)0x8700) , + /// + /// Original was GL_SIGNED_LUMINANCE_NV = 0x8701 + /// + SignedLuminanceNv = ((int)0x8701) , + /// + /// Original was GL_SIGNED_LUMINANCE8_NV = 0x8702 + /// + SignedLuminance8Nv = ((int)0x8702) , + /// + /// Original was GL_SIGNED_LUMINANCE_ALPHA_NV = 0x8703 + /// + SignedLuminanceAlphaNv = ((int)0x8703) , + /// + /// Original was GL_SIGNED_LUMINANCE8_ALPHA8_NV = 0x8704 + /// + SignedLuminance8Alpha8Nv = ((int)0x8704) , + /// + /// Original was GL_SIGNED_ALPHA_NV = 0x8705 + /// + SignedAlphaNv = ((int)0x8705) , + /// + /// Original was GL_SIGNED_ALPHA8_NV = 0x8706 + /// + SignedAlpha8Nv = ((int)0x8706) , + /// + /// Original was GL_SIGNED_INTENSITY_NV = 0x8707 + /// + SignedIntensityNv = ((int)0x8707) , + /// + /// Original was GL_SIGNED_INTENSITY8_NV = 0x8708 + /// + SignedIntensity8Nv = ((int)0x8708) , + /// + /// Original was GL_DSDT8_NV = 0x8709 + /// + Dsdt8Nv = ((int)0x8709) , + /// + /// Original was GL_DSDT8_MAG8_NV = 0x870A + /// + Dsdt8Mag8Nv = ((int)0x870A) , + /// + /// Original was GL_DSDT8_MAG8_INTENSITY8_NV = 0x870B + /// + Dsdt8Mag8Intensity8Nv = ((int)0x870B) , + /// + /// Original was GL_SIGNED_RGB_UNSIGNED_ALPHA_NV = 0x870C + /// + SignedRgbUnsignedAlphaNv = ((int)0x870C) , + /// + /// Original was GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV = 0x870D + /// + SignedRgb8UnsignedAlpha8Nv = ((int)0x870D) , + /// + /// Original was GL_HI_SCALE_NV = 0x870E + /// + HiScaleNv = ((int)0x870E) , + /// + /// Original was GL_LO_SCALE_NV = 0x870F + /// + LoScaleNv = ((int)0x870F) , + /// + /// Original was GL_DS_SCALE_NV = 0x8710 + /// + DsScaleNv = ((int)0x8710) , + /// + /// Original was GL_DT_SCALE_NV = 0x8711 + /// + DtScaleNv = ((int)0x8711) , + /// + /// Original was GL_MAGNITUDE_SCALE_NV = 0x8712 + /// + MagnitudeScaleNv = ((int)0x8712) , + /// + /// Original was GL_VIBRANCE_SCALE_NV = 0x8713 + /// + VibranceScaleNv = ((int)0x8713) , + /// + /// Original was GL_HI_BIAS_NV = 0x8714 + /// + HiBiasNv = ((int)0x8714) , + /// + /// Original was GL_LO_BIAS_NV = 0x8715 + /// + LoBiasNv = ((int)0x8715) , + /// + /// Original was GL_DS_BIAS_NV = 0x8716 + /// + DsBiasNv = ((int)0x8716) , + /// + /// Original was GL_DT_BIAS_NV = 0x8717 + /// + DtBiasNv = ((int)0x8717) , + /// + /// Original was GL_MAGNITUDE_BIAS_NV = 0x8718 + /// + MagnitudeBiasNv = ((int)0x8718) , + /// + /// Original was GL_VIBRANCE_BIAS_NV = 0x8719 + /// + VibranceBiasNv = ((int)0x8719) , + /// + /// Original was GL_TEXTURE_BORDER_VALUES_NV = 0x871A + /// + TextureBorderValuesNv = ((int)0x871A) , + /// + /// Original was GL_TEXTURE_HI_SIZE_NV = 0x871B + /// + TextureHiSizeNv = ((int)0x871B) , + /// + /// Original was GL_TEXTURE_LO_SIZE_NV = 0x871C + /// + TextureLoSizeNv = ((int)0x871C) , + /// + /// Original was GL_TEXTURE_DS_SIZE_NV = 0x871D + /// + TextureDsSizeNv = ((int)0x871D) , + /// + /// Original was GL_TEXTURE_DT_SIZE_NV = 0x871E + /// + TextureDtSizeNv = ((int)0x871E) , + /// + /// Original was GL_TEXTURE_MAG_SIZE_NV = 0x871F + /// + TextureMagSizeNv = ((int)0x871F) , + /// + /// Original was GL_MODELVIEW2_ARB = 0x8722 + /// + Modelview2Arb = ((int)0x8722) , + /// + /// Original was GL_MODELVIEW3_ARB = 0x8723 + /// + Modelview3Arb = ((int)0x8723) , + /// + /// Original was GL_MODELVIEW4_ARB = 0x8724 + /// + Modelview4Arb = ((int)0x8724) , + /// + /// Original was GL_MODELVIEW5_ARB = 0x8725 + /// + Modelview5Arb = ((int)0x8725) , + /// + /// Original was GL_MODELVIEW6_ARB = 0x8726 + /// + Modelview6Arb = ((int)0x8726) , + /// + /// Original was GL_MODELVIEW7_ARB = 0x8727 + /// + Modelview7Arb = ((int)0x8727) , + /// + /// Original was GL_MODELVIEW8_ARB = 0x8728 + /// + Modelview8Arb = ((int)0x8728) , + /// + /// Original was GL_MODELVIEW9_ARB = 0x8729 + /// + Modelview9Arb = ((int)0x8729) , + /// + /// Original was GL_MODELVIEW10_ARB = 0x872A + /// + Modelview10Arb = ((int)0x872A) , + /// + /// Original was GL_MODELVIEW11_ARB = 0x872B + /// + Modelview11Arb = ((int)0x872B) , + /// + /// Original was GL_MODELVIEW12_ARB = 0x872C + /// + Modelview12Arb = ((int)0x872C) , + /// + /// Original was GL_MODELVIEW13_ARB = 0x872D + /// + Modelview13Arb = ((int)0x872D) , + /// + /// Original was GL_MODELVIEW14_ARB = 0x872E + /// + Modelview14Arb = ((int)0x872E) , + /// + /// Original was GL_MODELVIEW15_ARB = 0x872F + /// + Modelview15Arb = ((int)0x872F) , + /// + /// Original was GL_MODELVIEW16_ARB = 0x8730 + /// + Modelview16Arb = ((int)0x8730) , + /// + /// Original was GL_MODELVIEW17_ARB = 0x8731 + /// + Modelview17Arb = ((int)0x8731) , + /// + /// Original was GL_MODELVIEW18_ARB = 0x8732 + /// + Modelview18Arb = ((int)0x8732) , + /// + /// Original was GL_MODELVIEW19_ARB = 0x8733 + /// + Modelview19Arb = ((int)0x8733) , + /// + /// Original was GL_MODELVIEW20_ARB = 0x8734 + /// + Modelview20Arb = ((int)0x8734) , + /// + /// Original was GL_MODELVIEW21_ARB = 0x8735 + /// + Modelview21Arb = ((int)0x8735) , + /// + /// Original was GL_MODELVIEW22_ARB = 0x8736 + /// + Modelview22Arb = ((int)0x8736) , + /// + /// Original was GL_MODELVIEW23_ARB = 0x8737 + /// + Modelview23Arb = ((int)0x8737) , + /// + /// Original was GL_MODELVIEW24_ARB = 0x8738 + /// + Modelview24Arb = ((int)0x8738) , + /// + /// Original was GL_MODELVIEW25_ARB = 0x8739 + /// + Modelview25Arb = ((int)0x8739) , + /// + /// Original was GL_MODELVIEW26_ARB = 0x873A + /// + Modelview26Arb = ((int)0x873A) , + /// + /// Original was GL_MODELVIEW27_ARB = 0x873B + /// + Modelview27Arb = ((int)0x873B) , + /// + /// Original was GL_MODELVIEW28_ARB = 0x873C + /// + Modelview28Arb = ((int)0x873C) , + /// + /// Original was GL_MODELVIEW29_ARB = 0x873D + /// + Modelview29Arb = ((int)0x873D) , + /// + /// Original was GL_MODELVIEW30_ARB = 0x873E + /// + Modelview30Arb = ((int)0x873E) , + /// + /// Original was GL_MODELVIEW31_ARB = 0x873F + /// + Modelview31Arb = ((int)0x873F) , + /// + /// Original was GL_DOT3_RGB_EXT = 0x8740 + /// + Dot3RgbExt = ((int)0x8740) , + /// + /// Original was GL_Z400_BINARY_AMD = 0x8740 + /// + Z400BinaryAmd = ((int)0x8740) , + /// + /// Original was GL_DOT3_RGBA_EXT = 0x8741 + /// + Dot3RgbaExt = ((int)0x8741) , + /// + /// Original was GL_PROGRAM_BINARY_LENGTH = 0x8741 + /// + ProgramBinaryLength = ((int)0x8741) , + /// + /// Original was GL_PROGRAM_BINARY_LENGTH_OES = 0x8741 + /// + ProgramBinaryLengthOes = ((int)0x8741) , + /// + /// Original was GL_MIRROR_CLAMP_ATI = 0x8742 + /// + MirrorClampAti = ((int)0x8742) , + /// + /// Original was GL_MIRROR_CLAMP_EXT = 0x8742 + /// + MirrorClampExt = ((int)0x8742) , + /// + /// Original was GL_MIRROR_CLAMP_TO_EDGE_ATI = 0x8743 + /// + MirrorClampToEdgeAti = ((int)0x8743) , + /// + /// Original was GL_MIRROR_CLAMP_TO_EDGE_EXT = 0x8743 + /// + MirrorClampToEdgeExt = ((int)0x8743) , + /// + /// Original was GL_MODULATE_ADD_ATI = 0x8744 + /// + ModulateAddAti = ((int)0x8744) , + /// + /// Original was GL_MODULATE_SIGNED_ADD_ATI = 0x8745 + /// + ModulateSignedAddAti = ((int)0x8745) , + /// + /// Original was GL_MODULATE_SUBTRACT_ATI = 0x8746 + /// + ModulateSubtractAti = ((int)0x8746) , + /// + /// Original was GL_DEPTH_STENCIL_MESA = 0x8750 + /// + DepthStencilMesa = ((int)0x8750) , + /// + /// Original was GL_UNSIGNED_INT_24_8_MESA = 0x8751 + /// + UnsignedInt248Mesa = ((int)0x8751) , + /// + /// Original was GL_UNSIGNED_INT_8_24_REV_MESA = 0x8752 + /// + UnsignedInt824RevMesa = ((int)0x8752) , + /// + /// Original was GL_UNSIGNED_SHORT_15_1_MESA = 0x8753 + /// + UnsignedShort151Mesa = ((int)0x8753) , + /// + /// Original was GL_UNSIGNED_SHORT_1_15_REV_MESA = 0x8754 + /// + UnsignedShort115RevMesa = ((int)0x8754) , + /// + /// Original was GL_TRACE_MASK_MESA = 0x8755 + /// + TraceMaskMesa = ((int)0x8755) , + /// + /// Original was GL_TRACE_NAME_MESA = 0x8756 + /// + TraceNameMesa = ((int)0x8756) , + /// + /// Original was GL_YCBCR_MESA = 0x8757 + /// + YcbcrMesa = ((int)0x8757) , + /// + /// Original was GL_PACK_INVERT_MESA = 0x8758 + /// + PackInvertMesa = ((int)0x8758) , + /// + /// Original was GL_DEBUG_OBJECT_MESA = 0x8759 + /// + DebugObjectMesa = ((int)0x8759) , + /// + /// Original was GL_TEXTURE_1D_STACK_MESAX = 0x8759 + /// + Texture1DStackMesax = ((int)0x8759) , + /// + /// Original was GL_DEBUG_PRINT_MESA = 0x875A + /// + DebugPrintMesa = ((int)0x875A) , + /// + /// Original was GL_TEXTURE_2D_STACK_MESAX = 0x875A + /// + Texture2DStackMesax = ((int)0x875A) , + /// + /// Original was GL_DEBUG_ASSERT_MESA = 0x875B + /// + DebugAssertMesa = ((int)0x875B) , + /// + /// Original was GL_PROXY_TEXTURE_1D_STACK_MESAX = 0x875B + /// + ProxyTexture1DStackMesax = ((int)0x875B) , + /// + /// Original was GL_PROXY_TEXTURE_2D_STACK_MESAX = 0x875C + /// + ProxyTexture2DStackMesax = ((int)0x875C) , + /// + /// Original was GL_TEXTURE_1D_STACK_BINDING_MESAX = 0x875D + /// + Texture1DStackBindingMesax = ((int)0x875D) , + /// + /// Original was GL_TEXTURE_2D_STACK_BINDING_MESAX = 0x875E + /// + Texture2DStackBindingMesax = ((int)0x875E) , + /// + /// Original was GL_STATIC_ATI = 0x8760 + /// + StaticAti = ((int)0x8760) , + /// + /// Original was GL_DYNAMIC_ATI = 0x8761 + /// + DynamicAti = ((int)0x8761) , + /// + /// Original was GL_PRESERVE_ATI = 0x8762 + /// + PreserveAti = ((int)0x8762) , + /// + /// Original was GL_DISCARD_ATI = 0x8763 + /// + DiscardAti = ((int)0x8763) , + /// + /// Original was GL_BUFFER_SIZE = 0x8764 + /// + BufferSize = ((int)0x8764) , + /// + /// Original was GL_BUFFER_SIZE_ARB = 0x8764 + /// + BufferSizeArb = ((int)0x8764) , + /// + /// Original was GL_OBJECT_BUFFER_SIZE_ATI = 0x8764 + /// + ObjectBufferSizeAti = ((int)0x8764) , + /// + /// Original was GL_BUFFER_USAGE = 0x8765 + /// + BufferUsage = ((int)0x8765) , + /// + /// Original was GL_BUFFER_USAGE_ARB = 0x8765 + /// + BufferUsageArb = ((int)0x8765) , + /// + /// Original was GL_OBJECT_BUFFER_USAGE_ATI = 0x8765 + /// + ObjectBufferUsageAti = ((int)0x8765) , + /// + /// Original was GL_ARRAY_OBJECT_BUFFER_ATI = 0x8766 + /// + ArrayObjectBufferAti = ((int)0x8766) , + /// + /// Original was GL_ARRAY_OBJECT_OFFSET_ATI = 0x8767 + /// + ArrayObjectOffsetAti = ((int)0x8767) , + /// + /// Original was GL_ELEMENT_ARRAY_ATI = 0x8768 + /// + ElementArrayAti = ((int)0x8768) , + /// + /// Original was GL_ELEMENT_ARRAY_TYPE_ATI = 0x8769 + /// + ElementArrayTypeAti = ((int)0x8769) , + /// + /// Original was GL_ELEMENT_ARRAY_POINTER_ATI = 0x876A + /// + ElementArrayPointerAti = ((int)0x876A) , + /// + /// Original was GL_MAX_VERTEX_STREAMS_ATI = 0x876B + /// + MaxVertexStreamsAti = ((int)0x876B) , + /// + /// Original was GL_VERTEX_STREAM0_ATI = 0x876C + /// + VertexStream0Ati = ((int)0x876C) , + /// + /// Original was GL_VERTEX_STREAM1_ATI = 0x876D + /// + VertexStream1Ati = ((int)0x876D) , + /// + /// Original was GL_VERTEX_STREAM2_ATI = 0x876E + /// + VertexStream2Ati = ((int)0x876E) , + /// + /// Original was GL_VERTEX_STREAM3_ATI = 0x876F + /// + VertexStream3Ati = ((int)0x876F) , + /// + /// Original was GL_VERTEX_STREAM4_ATI = 0x8770 + /// + VertexStream4Ati = ((int)0x8770) , + /// + /// Original was GL_VERTEX_STREAM5_ATI = 0x8771 + /// + VertexStream5Ati = ((int)0x8771) , + /// + /// Original was GL_VERTEX_STREAM6_ATI = 0x8772 + /// + VertexStream6Ati = ((int)0x8772) , + /// + /// Original was GL_VERTEX_STREAM7_ATI = 0x8773 + /// + VertexStream7Ati = ((int)0x8773) , + /// + /// Original was GL_VERTEX_SOURCE_ATI = 0x8774 + /// + VertexSourceAti = ((int)0x8774) , + /// + /// Original was GL_BUMP_ROT_MATRIX_ATI = 0x8775 + /// + BumpRotMatrixAti = ((int)0x8775) , + /// + /// Original was GL_BUMP_ROT_MATRIX_SIZE_ATI = 0x8776 + /// + BumpRotMatrixSizeAti = ((int)0x8776) , + /// + /// Original was GL_BUMP_NUM_TEX_UNITS_ATI = 0x8777 + /// + BumpNumTexUnitsAti = ((int)0x8777) , + /// + /// Original was GL_BUMP_TEX_UNITS_ATI = 0x8778 + /// + BumpTexUnitsAti = ((int)0x8778) , + /// + /// Original was GL_DUDV_ATI = 0x8779 + /// + DudvAti = ((int)0x8779) , + /// + /// Original was GL_DU8DV8_ATI = 0x877A + /// + Du8Dv8Ati = ((int)0x877A) , + /// + /// Original was GL_BUMP_ENVMAP_ATI = 0x877B + /// + BumpEnvmapAti = ((int)0x877B) , + /// + /// Original was GL_BUMP_TARGET_ATI = 0x877C + /// + BumpTargetAti = ((int)0x877C) , + /// + /// Original was GL_VERTEX_SHADER_EXT = 0x8780 + /// + VertexShaderExt = ((int)0x8780) , + /// + /// Original was GL_VERTEX_SHADER_BINDING_EXT = 0x8781 + /// + VertexShaderBindingExt = ((int)0x8781) , + /// + /// Original was GL_OP_INDEX_EXT = 0x8782 + /// + OpIndexExt = ((int)0x8782) , + /// + /// Original was GL_OP_NEGATE_EXT = 0x8783 + /// + OpNegateExt = ((int)0x8783) , + /// + /// Original was GL_OP_DOT3_EXT = 0x8784 + /// + OpDot3Ext = ((int)0x8784) , + /// + /// Original was GL_OP_DOT4_EXT = 0x8785 + /// + OpDot4Ext = ((int)0x8785) , + /// + /// Original was GL_OP_MUL_EXT = 0x8786 + /// + OpMulExt = ((int)0x8786) , + /// + /// Original was GL_OP_ADD_EXT = 0x8787 + /// + OpAddExt = ((int)0x8787) , + /// + /// Original was GL_OP_MADD_EXT = 0x8788 + /// + OpMaddExt = ((int)0x8788) , + /// + /// Original was GL_OP_FRAC_EXT = 0x8789 + /// + OpFracExt = ((int)0x8789) , + /// + /// Original was GL_OP_MAX_EXT = 0x878A + /// + OpMaxExt = ((int)0x878A) , + /// + /// Original was GL_OP_MIN_EXT = 0x878B + /// + OpMinExt = ((int)0x878B) , + /// + /// Original was GL_OP_SET_GE_EXT = 0x878C + /// + OpSetGeExt = ((int)0x878C) , + /// + /// Original was GL_OP_SET_LT_EXT = 0x878D + /// + OpSetLtExt = ((int)0x878D) , + /// + /// Original was GL_OP_CLAMP_EXT = 0x878E + /// + OpClampExt = ((int)0x878E) , + /// + /// Original was GL_OP_FLOOR_EXT = 0x878F + /// + OpFloorExt = ((int)0x878F) , + /// + /// Original was GL_OP_ROUND_EXT = 0x8790 + /// + OpRoundExt = ((int)0x8790) , + /// + /// Original was GL_OP_EXP_BASE_2_EXT = 0x8791 + /// + OpExpBase2Ext = ((int)0x8791) , + /// + /// Original was GL_OP_LOG_BASE_2_EXT = 0x8792 + /// + OpLogBase2Ext = ((int)0x8792) , + /// + /// Original was GL_OP_POWER_EXT = 0x8793 + /// + OpPowerExt = ((int)0x8793) , + /// + /// Original was GL_OP_RECIP_EXT = 0x8794 + /// + OpRecipExt = ((int)0x8794) , + /// + /// Original was GL_OP_RECIP_SQRT_EXT = 0x8795 + /// + OpRecipSqrtExt = ((int)0x8795) , + /// + /// Original was GL_OP_SUB_EXT = 0x8796 + /// + OpSubExt = ((int)0x8796) , + /// + /// Original was GL_OP_CROSS_PRODUCT_EXT = 0x8797 + /// + OpCrossProductExt = ((int)0x8797) , + /// + /// Original was GL_OP_MULTIPLY_MATRIX_EXT = 0x8798 + /// + OpMultiplyMatrixExt = ((int)0x8798) , + /// + /// Original was GL_OP_MOV_EXT = 0x8799 + /// + OpMovExt = ((int)0x8799) , + /// + /// Original was GL_OUTPUT_VERTEX_EXT = 0x879A + /// + OutputVertexExt = ((int)0x879A) , + /// + /// Original was GL_OUTPUT_COLOR0_EXT = 0x879B + /// + OutputColor0Ext = ((int)0x879B) , + /// + /// Original was GL_OUTPUT_COLOR1_EXT = 0x879C + /// + OutputColor1Ext = ((int)0x879C) , + /// + /// Original was GL_OUTPUT_TEXTURE_COORD0_EXT = 0x879D + /// + OutputTextureCoord0Ext = ((int)0x879D) , + /// + /// Original was GL_OUTPUT_TEXTURE_COORD1_EXT = 0x879E + /// + OutputTextureCoord1Ext = ((int)0x879E) , + /// + /// Original was GL_OUTPUT_TEXTURE_COORD2_EXT = 0x879F + /// + OutputTextureCoord2Ext = ((int)0x879F) , + /// + /// Original was GL_OUTPUT_TEXTURE_COORD3_EXT = 0x87A0 + /// + OutputTextureCoord3Ext = ((int)0x87A0) , + /// + /// Original was GL_OUTPUT_TEXTURE_COORD4_EXT = 0x87A1 + /// + OutputTextureCoord4Ext = ((int)0x87A1) , + /// + /// Original was GL_OUTPUT_TEXTURE_COORD5_EXT = 0x87A2 + /// + OutputTextureCoord5Ext = ((int)0x87A2) , + /// + /// Original was GL_OUTPUT_TEXTURE_COORD6_EXT = 0x87A3 + /// + OutputTextureCoord6Ext = ((int)0x87A3) , + /// + /// Original was GL_OUTPUT_TEXTURE_COORD7_EXT = 0x87A4 + /// + OutputTextureCoord7Ext = ((int)0x87A4) , + /// + /// Original was GL_OUTPUT_TEXTURE_COORD8_EXT = 0x87A5 + /// + OutputTextureCoord8Ext = ((int)0x87A5) , + /// + /// Original was GL_OUTPUT_TEXTURE_COORD9_EXT = 0x87A6 + /// + OutputTextureCoord9Ext = ((int)0x87A6) , + /// + /// Original was GL_OUTPUT_TEXTURE_COORD10_EXT = 0x87A7 + /// + OutputTextureCoord10Ext = ((int)0x87A7) , + /// + /// Original was GL_OUTPUT_TEXTURE_COORD11_EXT = 0x87A8 + /// + OutputTextureCoord11Ext = ((int)0x87A8) , + /// + /// Original was GL_OUTPUT_TEXTURE_COORD12_EXT = 0x87A9 + /// + OutputTextureCoord12Ext = ((int)0x87A9) , + /// + /// Original was GL_OUTPUT_TEXTURE_COORD13_EXT = 0x87AA + /// + OutputTextureCoord13Ext = ((int)0x87AA) , + /// + /// Original was GL_OUTPUT_TEXTURE_COORD14_EXT = 0x87AB + /// + OutputTextureCoord14Ext = ((int)0x87AB) , + /// + /// Original was GL_OUTPUT_TEXTURE_COORD15_EXT = 0x87AC + /// + OutputTextureCoord15Ext = ((int)0x87AC) , + /// + /// Original was GL_OUTPUT_TEXTURE_COORD16_EXT = 0x87AD + /// + OutputTextureCoord16Ext = ((int)0x87AD) , + /// + /// Original was GL_OUTPUT_TEXTURE_COORD17_EXT = 0x87AE + /// + OutputTextureCoord17Ext = ((int)0x87AE) , + /// + /// Original was GL_OUTPUT_TEXTURE_COORD18_EXT = 0x87AF + /// + OutputTextureCoord18Ext = ((int)0x87AF) , + /// + /// Original was GL_OUTPUT_TEXTURE_COORD19_EXT = 0x87B0 + /// + OutputTextureCoord19Ext = ((int)0x87B0) , + /// + /// Original was GL_OUTPUT_TEXTURE_COORD20_EXT = 0x87B1 + /// + OutputTextureCoord20Ext = ((int)0x87B1) , + /// + /// Original was GL_OUTPUT_TEXTURE_COORD21_EXT = 0x87B2 + /// + OutputTextureCoord21Ext = ((int)0x87B2) , + /// + /// Original was GL_OUTPUT_TEXTURE_COORD22_EXT = 0x87B3 + /// + OutputTextureCoord22Ext = ((int)0x87B3) , + /// + /// Original was GL_OUTPUT_TEXTURE_COORD23_EXT = 0x87B4 + /// + OutputTextureCoord23Ext = ((int)0x87B4) , + /// + /// Original was GL_OUTPUT_TEXTURE_COORD24_EXT = 0x87B5 + /// + OutputTextureCoord24Ext = ((int)0x87B5) , + /// + /// Original was GL_OUTPUT_TEXTURE_COORD25_EXT = 0x87B6 + /// + OutputTextureCoord25Ext = ((int)0x87B6) , + /// + /// Original was GL_OUTPUT_TEXTURE_COORD26_EXT = 0x87B7 + /// + OutputTextureCoord26Ext = ((int)0x87B7) , + /// + /// Original was GL_OUTPUT_TEXTURE_COORD27_EXT = 0x87B8 + /// + OutputTextureCoord27Ext = ((int)0x87B8) , + /// + /// Original was GL_OUTPUT_TEXTURE_COORD28_EXT = 0x87B9 + /// + OutputTextureCoord28Ext = ((int)0x87B9) , + /// + /// Original was GL_OUTPUT_TEXTURE_COORD29_EXT = 0x87BA + /// + OutputTextureCoord29Ext = ((int)0x87BA) , + /// + /// Original was GL_OUTPUT_TEXTURE_COORD30_EXT = 0x87BB + /// + OutputTextureCoord30Ext = ((int)0x87BB) , + /// + /// Original was GL_OUTPUT_TEXTURE_COORD31_EXT = 0x87BC + /// + OutputTextureCoord31Ext = ((int)0x87BC) , + /// + /// Original was GL_OUTPUT_FOG_EXT = 0x87BD + /// + OutputFogExt = ((int)0x87BD) , + /// + /// Original was GL_SCALAR_EXT = 0x87BE + /// + ScalarExt = ((int)0x87BE) , + /// + /// Original was GL_VECTOR_EXT = 0x87BF + /// + VectorExt = ((int)0x87BF) , + /// + /// Original was GL_MATRIX_EXT = 0x87C0 + /// + MatrixExt = ((int)0x87C0) , + /// + /// Original was GL_VARIANT_EXT = 0x87C1 + /// + VariantExt = ((int)0x87C1) , + /// + /// Original was GL_INVARIANT_EXT = 0x87C2 + /// + InvariantExt = ((int)0x87C2) , + /// + /// Original was GL_LOCAL_CONSTANT_EXT = 0x87C3 + /// + LocalConstantExt = ((int)0x87C3) , + /// + /// Original was GL_LOCAL_EXT = 0x87C4 + /// + LocalExt = ((int)0x87C4) , + /// + /// Original was GL_MAX_VERTEX_SHADER_INSTRUCTIONS_EXT = 0x87C5 + /// + MaxVertexShaderInstructionsExt = ((int)0x87C5) , + /// + /// Original was GL_MAX_VERTEX_SHADER_VARIANTS_EXT = 0x87C6 + /// + MaxVertexShaderVariantsExt = ((int)0x87C6) , + /// + /// Original was GL_MAX_VERTEX_SHADER_INVARIANTS_EXT = 0x87C7 + /// + MaxVertexShaderInvariantsExt = ((int)0x87C7) , + /// + /// Original was GL_MAX_VERTEX_SHADER_LOCAL_CONSTANTS_EXT = 0x87C8 + /// + MaxVertexShaderLocalConstantsExt = ((int)0x87C8) , + /// + /// Original was GL_MAX_VERTEX_SHADER_LOCALS_EXT = 0x87C9 + /// + MaxVertexShaderLocalsExt = ((int)0x87C9) , + /// + /// Original was GL_MAX_OPTIMIZED_VERTEX_SHADER_INSTRUCTIONS_EXT = 0x87CA + /// + MaxOptimizedVertexShaderInstructionsExt = ((int)0x87CA) , + /// + /// Original was GL_MAX_OPTIMIZED_VERTEX_SHADER_VARIANTS_EXT = 0x87CB + /// + MaxOptimizedVertexShaderVariantsExt = ((int)0x87CB) , + /// + /// Original was GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCAL_CONSTANTS_EXT = 0x87CC + /// + MaxOptimizedVertexShaderLocalConstantsExt = ((int)0x87CC) , + /// + /// Original was GL_MAX_OPTIMIZED_VERTEX_SHADER_INVARIANTS_EXT = 0x87CD + /// + MaxOptimizedVertexShaderInvariantsExt = ((int)0x87CD) , + /// + /// Original was GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCALS_EXT = 0x87CE + /// + MaxOptimizedVertexShaderLocalsExt = ((int)0x87CE) , + /// + /// Original was GL_VERTEX_SHADER_INSTRUCTIONS_EXT = 0x87CF + /// + VertexShaderInstructionsExt = ((int)0x87CF) , + /// + /// Original was GL_VERTEX_SHADER_VARIANTS_EXT = 0x87D0 + /// + VertexShaderVariantsExt = ((int)0x87D0) , + /// + /// Original was GL_VERTEX_SHADER_INVARIANTS_EXT = 0x87D1 + /// + VertexShaderInvariantsExt = ((int)0x87D1) , + /// + /// Original was GL_VERTEX_SHADER_LOCAL_CONSTANTS_EXT = 0x87D2 + /// + VertexShaderLocalConstantsExt = ((int)0x87D2) , + /// + /// Original was GL_VERTEX_SHADER_LOCALS_EXT = 0x87D3 + /// + VertexShaderLocalsExt = ((int)0x87D3) , + /// + /// Original was GL_VERTEX_SHADER_OPTIMIZED_EXT = 0x87D4 + /// + VertexShaderOptimizedExt = ((int)0x87D4) , + /// + /// Original was GL_X_EXT = 0x87D5 + /// + XExt = ((int)0x87D5) , + /// + /// Original was GL_Y_EXT = 0x87D6 + /// + YExt = ((int)0x87D6) , + /// + /// Original was GL_Z_EXT = 0x87D7 + /// + ZExt = ((int)0x87D7) , + /// + /// Original was GL_W_EXT = 0x87D8 + /// + WExt = ((int)0x87D8) , + /// + /// Original was GL_NEGATIVE_X_EXT = 0x87D9 + /// + NegativeXExt = ((int)0x87D9) , + /// + /// Original was GL_NEGATIVE_Y_EXT = 0x87DA + /// + NegativeYExt = ((int)0x87DA) , + /// + /// Original was GL_NEGATIVE_Z_EXT = 0x87DB + /// + NegativeZExt = ((int)0x87DB) , + /// + /// Original was GL_NEGATIVE_W_EXT = 0x87DC + /// + NegativeWExt = ((int)0x87DC) , + /// + /// Original was GL_ZERO_EXT = 0x87DD + /// + ZeroExt = ((int)0x87DD) , + /// + /// Original was GL_ONE_EXT = 0x87DE + /// + OneExt = ((int)0x87DE) , + /// + /// Original was GL_NEGATIVE_ONE_EXT = 0x87DF + /// + NegativeOneExt = ((int)0x87DF) , + /// + /// Original was GL_NORMALIZED_RANGE_EXT = 0x87E0 + /// + NormalizedRangeExt = ((int)0x87E0) , + /// + /// Original was GL_FULL_RANGE_EXT = 0x87E1 + /// + FullRangeExt = ((int)0x87E1) , + /// + /// Original was GL_CURRENT_VERTEX_EXT = 0x87E2 + /// + CurrentVertexExt = ((int)0x87E2) , + /// + /// Original was GL_MVP_MATRIX_EXT = 0x87E3 + /// + MvpMatrixExt = ((int)0x87E3) , + /// + /// Original was GL_VARIANT_VALUE_EXT = 0x87E4 + /// + VariantValueExt = ((int)0x87E4) , + /// + /// Original was GL_VARIANT_DATATYPE_EXT = 0x87E5 + /// + VariantDatatypeExt = ((int)0x87E5) , + /// + /// Original was GL_VARIANT_ARRAY_STRIDE_EXT = 0x87E6 + /// + VariantArrayStrideExt = ((int)0x87E6) , + /// + /// Original was GL_VARIANT_ARRAY_TYPE_EXT = 0x87E7 + /// + VariantArrayTypeExt = ((int)0x87E7) , + /// + /// Original was GL_VARIANT_ARRAY_EXT = 0x87E8 + /// + VariantArrayExt = ((int)0x87E8) , + /// + /// Original was GL_VARIANT_ARRAY_POINTER_EXT = 0x87E9 + /// + VariantArrayPointerExt = ((int)0x87E9) , + /// + /// Original was GL_INVARIANT_VALUE_EXT = 0x87EA + /// + InvariantValueExt = ((int)0x87EA) , + /// + /// Original was GL_INVARIANT_DATATYPE_EXT = 0x87EB + /// + InvariantDatatypeExt = ((int)0x87EB) , + /// + /// Original was GL_LOCAL_CONSTANT_VALUE_EXT = 0x87EC + /// + LocalConstantValueExt = ((int)0x87EC) , + /// + /// Original was GL_LOCAL_CONSTANT_DATATYPE_EXT = 0x87ED + /// + LocalConstantDatatypeExt = ((int)0x87ED) , + /// + /// Original was GL_ATC_RGBA_INTERPOLATED_ALPHA_AMD = 0x87EE + /// + AtcRgbaInterpolatedAlphaAmd = ((int)0x87EE) , + /// + /// Original was GL_PN_TRIANGLES_ATI = 0x87F0 + /// + PnTrianglesAti = ((int)0x87F0) , + /// + /// Original was GL_MAX_PN_TRIANGLES_TESSELATION_LEVEL_ATI = 0x87F1 + /// + MaxPnTrianglesTesselationLevelAti = ((int)0x87F1) , + /// + /// Original was GL_PN_TRIANGLES_POINT_MODE_ATI = 0x87F2 + /// + PnTrianglesPointModeAti = ((int)0x87F2) , + /// + /// Original was GL_PN_TRIANGLES_NORMAL_MODE_ATI = 0x87F3 + /// + PnTrianglesNormalModeAti = ((int)0x87F3) , + /// + /// Original was GL_PN_TRIANGLES_TESSELATION_LEVEL_ATI = 0x87F4 + /// + PnTrianglesTesselationLevelAti = ((int)0x87F4) , + /// + /// Original was GL_PN_TRIANGLES_POINT_MODE_LINEAR_ATI = 0x87F5 + /// + PnTrianglesPointModeLinearAti = ((int)0x87F5) , + /// + /// Original was GL_PN_TRIANGLES_POINT_MODE_CUBIC_ATI = 0x87F6 + /// + PnTrianglesPointModeCubicAti = ((int)0x87F6) , + /// + /// Original was GL_PN_TRIANGLES_NORMAL_MODE_LINEAR_ATI = 0x87F7 + /// + PnTrianglesNormalModeLinearAti = ((int)0x87F7) , + /// + /// Original was GL_PN_TRIANGLES_NORMAL_MODE_QUADRATIC_ATI = 0x87F8 + /// + PnTrianglesNormalModeQuadraticAti = ((int)0x87F8) , + /// + /// Original was GL_3DC_X_AMD = 0x87F9 + /// + Gl3DcXAmd = ((int)0x87F9) , + /// + /// Original was GL_3DC_XY_AMD = 0x87FA + /// + Gl3DcXyAmd = ((int)0x87FA) , + /// + /// Original was GL_VBO_FREE_MEMORY_ATI = 0x87FB + /// + VboFreeMemoryAti = ((int)0x87FB) , + /// + /// Original was GL_TEXTURE_FREE_MEMORY_ATI = 0x87FC + /// + TextureFreeMemoryAti = ((int)0x87FC) , + /// + /// Original was GL_RENDERBUFFER_FREE_MEMORY_ATI = 0x87FD + /// + RenderbufferFreeMemoryAti = ((int)0x87FD) , + /// + /// Original was GL_NUM_PROGRAM_BINARY_FORMATS = 0x87FE + /// + NumProgramBinaryFormats = ((int)0x87FE) , + /// + /// Original was GL_NUM_PROGRAM_BINARY_FORMATS_OES = 0x87FE + /// + NumProgramBinaryFormatsOes = ((int)0x87FE) , + /// + /// Original was GL_PROGRAM_BINARY_FORMATS = 0x87FF + /// + ProgramBinaryFormats = ((int)0x87FF) , + /// + /// Original was GL_PROGRAM_BINARY_FORMATS_OES = 0x87FF + /// + ProgramBinaryFormatsOes = ((int)0x87FF) , + /// + /// Original was GL_STENCIL_BACK_FUNC = 0x8800 + /// + StencilBackFunc = ((int)0x8800) , + /// + /// Original was GL_STENCIL_BACK_FUNC_ATI = 0x8800 + /// + StencilBackFuncAti = ((int)0x8800) , + /// + /// Original was GL_STENCIL_BACK_FAIL = 0x8801 + /// + StencilBackFail = ((int)0x8801) , + /// + /// Original was GL_STENCIL_BACK_FAIL_ATI = 0x8801 + /// + StencilBackFailAti = ((int)0x8801) , + /// + /// Original was GL_STENCIL_BACK_PASS_DEPTH_FAIL = 0x8802 + /// + StencilBackPassDepthFail = ((int)0x8802) , + /// + /// Original was GL_STENCIL_BACK_PASS_DEPTH_FAIL_ATI = 0x8802 + /// + StencilBackPassDepthFailAti = ((int)0x8802) , + /// + /// Original was GL_STENCIL_BACK_PASS_DEPTH_PASS = 0x8803 + /// + StencilBackPassDepthPass = ((int)0x8803) , + /// + /// Original was GL_STENCIL_BACK_PASS_DEPTH_PASS_ATI = 0x8803 + /// + StencilBackPassDepthPassAti = ((int)0x8803) , + /// + /// Original was GL_FRAGMENT_PROGRAM = 0x8804 + /// + FragmentProgram = ((int)0x8804) , + /// + /// Original was GL_FRAGMENT_PROGRAM_ARB = 0x8804 + /// + FragmentProgramArb = ((int)0x8804) , + /// + /// Original was GL_PROGRAM_ALU_INSTRUCTIONS_ARB = 0x8805 + /// + ProgramAluInstructionsArb = ((int)0x8805) , + /// + /// Original was GL_PROGRAM_TEX_INSTRUCTIONS_ARB = 0x8806 + /// + ProgramTexInstructionsArb = ((int)0x8806) , + /// + /// Original was GL_PROGRAM_TEX_INDIRECTIONS_ARB = 0x8807 + /// + ProgramTexIndirectionsArb = ((int)0x8807) , + /// + /// Original was GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB = 0x8808 + /// + ProgramNativeAluInstructionsArb = ((int)0x8808) , + /// + /// Original was GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB = 0x8809 + /// + ProgramNativeTexInstructionsArb = ((int)0x8809) , + /// + /// Original was GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB = 0x880A + /// + ProgramNativeTexIndirectionsArb = ((int)0x880A) , + /// + /// Original was GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB = 0x880B + /// + MaxProgramAluInstructionsArb = ((int)0x880B) , + /// + /// Original was GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB = 0x880C + /// + MaxProgramTexInstructionsArb = ((int)0x880C) , + /// + /// Original was GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB = 0x880D + /// + MaxProgramTexIndirectionsArb = ((int)0x880D) , + /// + /// Original was GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB = 0x880E + /// + MaxProgramNativeAluInstructionsArb = ((int)0x880E) , + /// + /// Original was GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB = 0x880F + /// + MaxProgramNativeTexInstructionsArb = ((int)0x880F) , + /// + /// Original was GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB = 0x8810 + /// + MaxProgramNativeTexIndirectionsArb = ((int)0x8810) , + /// + /// Original was GL_RGBA32F = 0x8814 + /// + Rgba32f = ((int)0x8814) , + /// + /// Original was GL_RGBA32F_ARB = 0x8814 + /// + Rgba32fArb = ((int)0x8814) , + /// + /// Original was GL_RGBA_FLOAT32_APPLE = 0x8814 + /// + RgbaFloat32Apple = ((int)0x8814) , + /// + /// Original was GL_RGBA_FLOAT32_ATI = 0x8814 + /// + RgbaFloat32Ati = ((int)0x8814) , + /// + /// Original was GL_RGB32F = 0x8815 + /// + Rgb32f = ((int)0x8815) , + /// + /// Original was GL_RGB32F_ARB = 0x8815 + /// + Rgb32fArb = ((int)0x8815) , + /// + /// Original was GL_RGB_FLOAT32_APPLE = 0x8815 + /// + RgbFloat32Apple = ((int)0x8815) , + /// + /// Original was GL_RGB_FLOAT32_ATI = 0x8815 + /// + RgbFloat32Ati = ((int)0x8815) , + /// + /// Original was GL_ALPHA32F_ARB = 0x8816 + /// + Alpha32fArb = ((int)0x8816) , + /// + /// Original was GL_ALPHA_FLOAT32_APPLE = 0x8816 + /// + AlphaFloat32Apple = ((int)0x8816) , + /// + /// Original was GL_ALPHA_FLOAT32_ATI = 0x8816 + /// + AlphaFloat32Ati = ((int)0x8816) , + /// + /// Original was GL_INTENSITY32F_ARB = 0x8817 + /// + Intensity32fArb = ((int)0x8817) , + /// + /// Original was GL_INTENSITY_FLOAT32_APPLE = 0x8817 + /// + IntensityFloat32Apple = ((int)0x8817) , + /// + /// Original was GL_INTENSITY_FLOAT32_ATI = 0x8817 + /// + IntensityFloat32Ati = ((int)0x8817) , + /// + /// Original was GL_LUMINANCE32F_ARB = 0x8818 + /// + Luminance32fArb = ((int)0x8818) , + /// + /// Original was GL_LUMINANCE_FLOAT32_APPLE = 0x8818 + /// + LuminanceFloat32Apple = ((int)0x8818) , + /// + /// Original was GL_LUMINANCE_FLOAT32_ATI = 0x8818 + /// + LuminanceFloat32Ati = ((int)0x8818) , + /// + /// Original was GL_LUMINANCE_ALPHA32F_ARB = 0x8819 + /// + LuminanceAlpha32fArb = ((int)0x8819) , + /// + /// Original was GL_LUMINANCE_ALPHA_FLOAT32_APPLE = 0x8819 + /// + LuminanceAlphaFloat32Apple = ((int)0x8819) , + /// + /// Original was GL_LUMINANCE_ALPHA_FLOAT32_ATI = 0x8819 + /// + LuminanceAlphaFloat32Ati = ((int)0x8819) , + /// + /// Original was GL_RGBA16F = 0x881A + /// + Rgba16f = ((int)0x881A) , + /// + /// Original was GL_RGBA16F_ARB = 0x881A + /// + Rgba16fArb = ((int)0x881A) , + /// + /// Original was GL_RGBA_FLOAT16_APPLE = 0x881A + /// + RgbaFloat16Apple = ((int)0x881A) , + /// + /// Original was GL_RGBA_FLOAT16_ATI = 0x881A + /// + RgbaFloat16Ati = ((int)0x881A) , + /// + /// Original was GL_RGB16F = 0x881B + /// + Rgb16f = ((int)0x881B) , + /// + /// Original was GL_RGB16F_ARB = 0x881B + /// + Rgb16fArb = ((int)0x881B) , + /// + /// Original was GL_RGB_FLOAT16_APPLE = 0x881B + /// + RgbFloat16Apple = ((int)0x881B) , + /// + /// Original was GL_RGB_FLOAT16_ATI = 0x881B + /// + RgbFloat16Ati = ((int)0x881B) , + /// + /// Original was GL_ALPHA16F_ARB = 0x881C + /// + Alpha16fArb = ((int)0x881C) , + /// + /// Original was GL_ALPHA_FLOAT16_APPLE = 0x881C + /// + AlphaFloat16Apple = ((int)0x881C) , + /// + /// Original was GL_ALPHA_FLOAT16_ATI = 0x881C + /// + AlphaFloat16Ati = ((int)0x881C) , + /// + /// Original was GL_INTENSITY16F_ARB = 0x881D + /// + Intensity16fArb = ((int)0x881D) , + /// + /// Original was GL_INTENSITY_FLOAT16_APPLE = 0x881D + /// + IntensityFloat16Apple = ((int)0x881D) , + /// + /// Original was GL_INTENSITY_FLOAT16_ATI = 0x881D + /// + IntensityFloat16Ati = ((int)0x881D) , + /// + /// Original was GL_LUMINANCE16F_ARB = 0x881E + /// + Luminance16fArb = ((int)0x881E) , + /// + /// Original was GL_LUMINANCE_FLOAT16_APPLE = 0x881E + /// + LuminanceFloat16Apple = ((int)0x881E) , + /// + /// Original was GL_LUMINANCE_FLOAT16_ATI = 0x881E + /// + LuminanceFloat16Ati = ((int)0x881E) , + /// + /// Original was GL_LUMINANCE_ALPHA16F_ARB = 0x881F + /// + LuminanceAlpha16fArb = ((int)0x881F) , + /// + /// Original was GL_LUMINANCE_ALPHA_FLOAT16_APPLE = 0x881F + /// + LuminanceAlphaFloat16Apple = ((int)0x881F) , + /// + /// Original was GL_LUMINANCE_ALPHA_FLOAT16_ATI = 0x881F + /// + LuminanceAlphaFloat16Ati = ((int)0x881F) , + /// + /// Original was GL_RGBA_FLOAT_MODE = 0x8820 + /// + RgbaFloatMode = ((int)0x8820) , + /// + /// Original was GL_RGBA_FLOAT_MODE_ARB = 0x8820 + /// + RgbaFloatModeArb = ((int)0x8820) , + /// + /// Original was GL_TYPE_RGBA_FLOAT_ATI = 0x8820 + /// + TypeRgbaFloatAti = ((int)0x8820) , + /// + /// Original was GL_WRITEONLY_RENDERING_QCOM = 0x8823 + /// + WriteonlyRenderingQcom = ((int)0x8823) , + /// + /// Original was GL_MAX_DRAW_BUFFERS = 0x8824 + /// + MaxDrawBuffers = ((int)0x8824) , + /// + /// Original was GL_MAX_DRAW_BUFFERS_ARB = 0x8824 + /// + MaxDrawBuffersArb = ((int)0x8824) , + /// + /// Original was GL_MAX_DRAW_BUFFERS_ATI = 0x8824 + /// + MaxDrawBuffersAti = ((int)0x8824) , + /// + /// Original was GL_DRAW_BUFFER0 = 0x8825 + /// + DrawBuffer0 = ((int)0x8825) , + /// + /// Original was GL_DRAW_BUFFER0_ARB = 0x8825 + /// + DrawBuffer0Arb = ((int)0x8825) , + /// + /// Original was GL_DRAW_BUFFER0_ATI = 0x8825 + /// + DrawBuffer0Ati = ((int)0x8825) , + /// + /// Original was GL_DRAW_BUFFER1 = 0x8826 + /// + DrawBuffer1 = ((int)0x8826) , + /// + /// Original was GL_DRAW_BUFFER1_ARB = 0x8826 + /// + DrawBuffer1Arb = ((int)0x8826) , + /// + /// Original was GL_DRAW_BUFFER1_ATI = 0x8826 + /// + DrawBuffer1Ati = ((int)0x8826) , + /// + /// Original was GL_DRAW_BUFFER2 = 0x8827 + /// + DrawBuffer2 = ((int)0x8827) , + /// + /// Original was GL_DRAW_BUFFER2_ARB = 0x8827 + /// + DrawBuffer2Arb = ((int)0x8827) , + /// + /// Original was GL_DRAW_BUFFER2_ATI = 0x8827 + /// + DrawBuffer2Ati = ((int)0x8827) , + /// + /// Original was GL_DRAW_BUFFER3 = 0x8828 + /// + DrawBuffer3 = ((int)0x8828) , + /// + /// Original was GL_DRAW_BUFFER3_ARB = 0x8828 + /// + DrawBuffer3Arb = ((int)0x8828) , + /// + /// Original was GL_DRAW_BUFFER3_ATI = 0x8828 + /// + DrawBuffer3Ati = ((int)0x8828) , + /// + /// Original was GL_DRAW_BUFFER4 = 0x8829 + /// + DrawBuffer4 = ((int)0x8829) , + /// + /// Original was GL_DRAW_BUFFER4_ARB = 0x8829 + /// + DrawBuffer4Arb = ((int)0x8829) , + /// + /// Original was GL_DRAW_BUFFER4_ATI = 0x8829 + /// + DrawBuffer4Ati = ((int)0x8829) , + /// + /// Original was GL_DRAW_BUFFER5 = 0x882A + /// + DrawBuffer5 = ((int)0x882A) , + /// + /// Original was GL_DRAW_BUFFER5_ARB = 0x882A + /// + DrawBuffer5Arb = ((int)0x882A) , + /// + /// Original was GL_DRAW_BUFFER5_ATI = 0x882A + /// + DrawBuffer5Ati = ((int)0x882A) , + /// + /// Original was GL_DRAW_BUFFER6 = 0x882B + /// + DrawBuffer6 = ((int)0x882B) , + /// + /// Original was GL_DRAW_BUFFER6_ARB = 0x882B + /// + DrawBuffer6Arb = ((int)0x882B) , + /// + /// Original was GL_DRAW_BUFFER6_ATI = 0x882B + /// + DrawBuffer6Ati = ((int)0x882B) , + /// + /// Original was GL_DRAW_BUFFER7 = 0x882C + /// + DrawBuffer7 = ((int)0x882C) , + /// + /// Original was GL_DRAW_BUFFER7_ARB = 0x882C + /// + DrawBuffer7Arb = ((int)0x882C) , + /// + /// Original was GL_DRAW_BUFFER7_ATI = 0x882C + /// + DrawBuffer7Ati = ((int)0x882C) , + /// + /// Original was GL_DRAW_BUFFER8 = 0x882D + /// + DrawBuffer8 = ((int)0x882D) , + /// + /// Original was GL_DRAW_BUFFER8_ARB = 0x882D + /// + DrawBuffer8Arb = ((int)0x882D) , + /// + /// Original was GL_DRAW_BUFFER8_ATI = 0x882D + /// + DrawBuffer8Ati = ((int)0x882D) , + /// + /// Original was GL_DRAW_BUFFER9 = 0x882E + /// + DrawBuffer9 = ((int)0x882E) , + /// + /// Original was GL_DRAW_BUFFER9_ARB = 0x882E + /// + DrawBuffer9Arb = ((int)0x882E) , + /// + /// Original was GL_DRAW_BUFFER9_ATI = 0x882E + /// + DrawBuffer9Ati = ((int)0x882E) , + /// + /// Original was GL_DRAW_BUFFER10 = 0x882F + /// + DrawBuffer10 = ((int)0x882F) , + /// + /// Original was GL_DRAW_BUFFER10_ARB = 0x882F + /// + DrawBuffer10Arb = ((int)0x882F) , + /// + /// Original was GL_DRAW_BUFFER10_ATI = 0x882F + /// + DrawBuffer10Ati = ((int)0x882F) , + /// + /// Original was GL_DRAW_BUFFER11 = 0x8830 + /// + DrawBuffer11 = ((int)0x8830) , + /// + /// Original was GL_DRAW_BUFFER11_ARB = 0x8830 + /// + DrawBuffer11Arb = ((int)0x8830) , + /// + /// Original was GL_DRAW_BUFFER11_ATI = 0x8830 + /// + DrawBuffer11Ati = ((int)0x8830) , + /// + /// Original was GL_DRAW_BUFFER12 = 0x8831 + /// + DrawBuffer12 = ((int)0x8831) , + /// + /// Original was GL_DRAW_BUFFER12_ARB = 0x8831 + /// + DrawBuffer12Arb = ((int)0x8831) , + /// + /// Original was GL_DRAW_BUFFER12_ATI = 0x8831 + /// + DrawBuffer12Ati = ((int)0x8831) , + /// + /// Original was GL_DRAW_BUFFER13 = 0x8832 + /// + DrawBuffer13 = ((int)0x8832) , + /// + /// Original was GL_DRAW_BUFFER13_ARB = 0x8832 + /// + DrawBuffer13Arb = ((int)0x8832) , + /// + /// Original was GL_DRAW_BUFFER13_ATI = 0x8832 + /// + DrawBuffer13Ati = ((int)0x8832) , + /// + /// Original was GL_DRAW_BUFFER14 = 0x8833 + /// + DrawBuffer14 = ((int)0x8833) , + /// + /// Original was GL_DRAW_BUFFER14_ARB = 0x8833 + /// + DrawBuffer14Arb = ((int)0x8833) , + /// + /// Original was GL_DRAW_BUFFER14_ATI = 0x8833 + /// + DrawBuffer14Ati = ((int)0x8833) , + /// + /// Original was GL_DRAW_BUFFER15 = 0x8834 + /// + DrawBuffer15 = ((int)0x8834) , + /// + /// Original was GL_DRAW_BUFFER15_ARB = 0x8834 + /// + DrawBuffer15Arb = ((int)0x8834) , + /// + /// Original was GL_DRAW_BUFFER15_ATI = 0x8834 + /// + DrawBuffer15Ati = ((int)0x8834) , + /// + /// Original was GL_COLOR_CLEAR_UNCLAMPED_VALUE_ATI = 0x8835 + /// + ColorClearUnclampedValueAti = ((int)0x8835) , + /// + /// Original was GL_BLEND_EQUATION_ALPHA = 0x883D + /// + BlendEquationAlpha = ((int)0x883D) , + /// + /// Original was GL_BLEND_EQUATION_ALPHA_EXT = 0x883D + /// + BlendEquationAlphaExt = ((int)0x883D) , + /// + /// Original was GL_BLEND_EQUATION_ALPHA_OES = 0x883D + /// + BlendEquationAlphaOes = ((int)0x883D) , + /// + /// Original was GL_SUBSAMPLE_DISTANCE_AMD = 0x883F + /// + SubsampleDistanceAmd = ((int)0x883F) , + /// + /// Original was GL_MATRIX_PALETTE_ARB = 0x8840 + /// + MatrixPaletteArb = ((int)0x8840) , + /// + /// Original was GL_MATRIX_PALETTE_OES = 0x8840 + /// + MatrixPaletteOes = ((int)0x8840) , + /// + /// Original was GL_MAX_MATRIX_PALETTE_STACK_DEPTH_ARB = 0x8841 + /// + MaxMatrixPaletteStackDepthArb = ((int)0x8841) , + /// + /// Original was GL_MAX_PALETTE_MATRICES_ARB = 0x8842 + /// + MaxPaletteMatricesArb = ((int)0x8842) , + /// + /// Original was GL_MAX_PALETTE_MATRICES_OES = 0x8842 + /// + MaxPaletteMatricesOes = ((int)0x8842) , + /// + /// Original was GL_CURRENT_PALETTE_MATRIX_ARB = 0x8843 + /// + CurrentPaletteMatrixArb = ((int)0x8843) , + /// + /// Original was GL_CURRENT_PALETTE_MATRIX_OES = 0x8843 + /// + CurrentPaletteMatrixOes = ((int)0x8843) , + /// + /// Original was GL_MATRIX_INDEX_ARRAY_ARB = 0x8844 + /// + MatrixIndexArrayArb = ((int)0x8844) , + /// + /// Original was GL_MATRIX_INDEX_ARRAY_OES = 0x8844 + /// + MatrixIndexArrayOes = ((int)0x8844) , + /// + /// Original was GL_CURRENT_MATRIX_INDEX_ARB = 0x8845 + /// + CurrentMatrixIndexArb = ((int)0x8845) , + /// + /// Original was GL_MATRIX_INDEX_ARRAY_SIZE_ARB = 0x8846 + /// + MatrixIndexArraySizeArb = ((int)0x8846) , + /// + /// Original was GL_MATRIX_INDEX_ARRAY_SIZE_OES = 0x8846 + /// + MatrixIndexArraySizeOes = ((int)0x8846) , + /// + /// Original was GL_MATRIX_INDEX_ARRAY_TYPE_ARB = 0x8847 + /// + MatrixIndexArrayTypeArb = ((int)0x8847) , + /// + /// Original was GL_MATRIX_INDEX_ARRAY_TYPE_OES = 0x8847 + /// + MatrixIndexArrayTypeOes = ((int)0x8847) , + /// + /// Original was GL_MATRIX_INDEX_ARRAY_STRIDE_ARB = 0x8848 + /// + MatrixIndexArrayStrideArb = ((int)0x8848) , + /// + /// Original was GL_MATRIX_INDEX_ARRAY_STRIDE_OES = 0x8848 + /// + MatrixIndexArrayStrideOes = ((int)0x8848) , + /// + /// Original was GL_MATRIX_INDEX_ARRAY_POINTER_ARB = 0x8849 + /// + MatrixIndexArrayPointerArb = ((int)0x8849) , + /// + /// Original was GL_MATRIX_INDEX_ARRAY_POINTER_OES = 0x8849 + /// + MatrixIndexArrayPointerOes = ((int)0x8849) , + /// + /// Original was GL_TEXTURE_DEPTH_SIZE = 0x884A + /// + TextureDepthSize = ((int)0x884A) , + /// + /// Original was GL_TEXTURE_DEPTH_SIZE_ARB = 0x884A + /// + TextureDepthSizeArb = ((int)0x884A) , + /// + /// Original was GL_DEPTH_TEXTURE_MODE = 0x884B + /// + DepthTextureMode = ((int)0x884B) , + /// + /// Original was GL_DEPTH_TEXTURE_MODE_ARB = 0x884B + /// + DepthTextureModeArb = ((int)0x884B) , + /// + /// Original was GL_TEXTURE_COMPARE_MODE = 0x884C + /// + TextureCompareMode = ((int)0x884C) , + /// + /// Original was GL_TEXTURE_COMPARE_MODE_ARB = 0x884C + /// + TextureCompareModeArb = ((int)0x884C) , + /// + /// Original was GL_TEXTURE_COMPARE_FUNC = 0x884D + /// + TextureCompareFunc = ((int)0x884D) , + /// + /// Original was GL_TEXTURE_COMPARE_FUNC_ARB = 0x884D + /// + TextureCompareFuncArb = ((int)0x884D) , + /// + /// Original was GL_COMPARE_REF_DEPTH_TO_TEXTURE_EXT = 0x884E + /// + CompareRefDepthToTextureExt = ((int)0x884E) , + /// + /// Original was GL_COMPARE_REF_TO_TEXTURE = 0x884E + /// + CompareRefToTexture = ((int)0x884E) , + /// + /// Original was GL_COMPARE_R_TO_TEXTURE = 0x884E + /// + CompareRToTexture = ((int)0x884E) , + /// + /// Original was GL_COMPARE_R_TO_TEXTURE_ARB = 0x884E + /// + CompareRToTextureArb = ((int)0x884E) , + /// + /// Original was GL_TEXTURE_CUBE_MAP_SEAMLESS = 0x884F + /// + TextureCubeMapSeamless = ((int)0x884F) , + /// + /// Original was GL_OFFSET_PROJECTIVE_TEXTURE_2D_NV = 0x8850 + /// + OffsetProjectiveTexture2DNv = ((int)0x8850) , + /// + /// Original was GL_OFFSET_PROJECTIVE_TEXTURE_2D_SCALE_NV = 0x8851 + /// + OffsetProjectiveTexture2DScaleNv = ((int)0x8851) , + /// + /// Original was GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_NV = 0x8852 + /// + OffsetProjectiveTextureRectangleNv = ((int)0x8852) , + /// + /// Original was GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_SCALE_NV = 0x8853 + /// + OffsetProjectiveTextureRectangleScaleNv = ((int)0x8853) , + /// + /// Original was GL_OFFSET_HILO_TEXTURE_2D_NV = 0x8854 + /// + OffsetHiloTexture2DNv = ((int)0x8854) , + /// + /// Original was GL_OFFSET_HILO_TEXTURE_RECTANGLE_NV = 0x8855 + /// + OffsetHiloTextureRectangleNv = ((int)0x8855) , + /// + /// Original was GL_OFFSET_HILO_PROJECTIVE_TEXTURE_2D_NV = 0x8856 + /// + OffsetHiloProjectiveTexture2DNv = ((int)0x8856) , + /// + /// Original was GL_OFFSET_HILO_PROJECTIVE_TEXTURE_RECTANGLE_NV = 0x8857 + /// + OffsetHiloProjectiveTextureRectangleNv = ((int)0x8857) , + /// + /// Original was GL_DEPENDENT_HILO_TEXTURE_2D_NV = 0x8858 + /// + DependentHiloTexture2DNv = ((int)0x8858) , + /// + /// Original was GL_DEPENDENT_RGB_TEXTURE_3D_NV = 0x8859 + /// + DependentRgbTexture3DNv = ((int)0x8859) , + /// + /// Original was GL_DEPENDENT_RGB_TEXTURE_CUBE_MAP_NV = 0x885A + /// + DependentRgbTextureCubeMapNv = ((int)0x885A) , + /// + /// Original was GL_DOT_PRODUCT_PASS_THROUGH_NV = 0x885B + /// + DotProductPassThroughNv = ((int)0x885B) , + /// + /// Original was GL_DOT_PRODUCT_TEXTURE_1D_NV = 0x885C + /// + DotProductTexture1DNv = ((int)0x885C) , + /// + /// Original was GL_DOT_PRODUCT_AFFINE_DEPTH_REPLACE_NV = 0x885D + /// + DotProductAffineDepthReplaceNv = ((int)0x885D) , + /// + /// Original was GL_HILO8_NV = 0x885E + /// + Hilo8Nv = ((int)0x885E) , + /// + /// Original was GL_SIGNED_HILO8_NV = 0x885F + /// + SignedHilo8Nv = ((int)0x885F) , + /// + /// Original was GL_FORCE_BLUE_TO_ONE_NV = 0x8860 + /// + ForceBlueToOneNv = ((int)0x8860) , + /// + /// Original was GL_POINT_SPRITE = 0x8861 + /// + PointSprite = ((int)0x8861) , + /// + /// Original was GL_POINT_SPRITE_ARB = 0x8861 + /// + PointSpriteArb = ((int)0x8861) , + /// + /// Original was GL_POINT_SPRITE_NV = 0x8861 + /// + PointSpriteNv = ((int)0x8861) , + /// + /// Original was GL_COORD_REPLACE = 0x8862 + /// + CoordReplace = ((int)0x8862) , + /// + /// Original was GL_COORD_REPLACE_ARB = 0x8862 + /// + CoordReplaceArb = ((int)0x8862) , + /// + /// Original was GL_COORD_REPLACE_NV = 0x8862 + /// + CoordReplaceNv = ((int)0x8862) , + /// + /// Original was GL_POINT_SPRITE_R_MODE_NV = 0x8863 + /// + PointSpriteRModeNv = ((int)0x8863) , + /// + /// Original was GL_PIXEL_COUNTER_BITS_NV = 0x8864 + /// + PixelCounterBitsNv = ((int)0x8864) , + /// + /// Original was GL_QUERY_COUNTER_BITS = 0x8864 + /// + QueryCounterBits = ((int)0x8864) , + /// + /// Original was GL_QUERY_COUNTER_BITS_ARB = 0x8864 + /// + QueryCounterBitsArb = ((int)0x8864) , + /// + /// Original was GL_CURRENT_OCCLUSION_QUERY_ID_NV = 0x8865 + /// + CurrentOcclusionQueryIdNv = ((int)0x8865) , + /// + /// Original was GL_CURRENT_QUERY = 0x8865 + /// + CurrentQuery = ((int)0x8865) , + /// + /// Original was GL_CURRENT_QUERY_ARB = 0x8865 + /// + CurrentQueryArb = ((int)0x8865) , + /// + /// Original was GL_PIXEL_COUNT_NV = 0x8866 + /// + PixelCountNv = ((int)0x8866) , + /// + /// Original was GL_QUERY_RESULT = 0x8866 + /// + QueryResult = ((int)0x8866) , + /// + /// Original was GL_QUERY_RESULT_ARB = 0x8866 + /// + QueryResultArb = ((int)0x8866) , + /// + /// Original was GL_PIXEL_COUNT_AVAILABLE_NV = 0x8867 + /// + PixelCountAvailableNv = ((int)0x8867) , + /// + /// Original was GL_QUERY_RESULT_AVAILABLE = 0x8867 + /// + QueryResultAvailable = ((int)0x8867) , + /// + /// Original was GL_QUERY_RESULT_AVAILABLE_ARB = 0x8867 + /// + QueryResultAvailableArb = ((int)0x8867) , + /// + /// Original was GL_MAX_FRAGMENT_PROGRAM_LOCAL_PARAMETERS_NV = 0x8868 + /// + MaxFragmentProgramLocalParametersNv = ((int)0x8868) , + /// + /// Original was GL_MAX_VERTEX_ATTRIBS = 0x8869 + /// + MaxVertexAttribs = ((int)0x8869) , + /// + /// Original was GL_MAX_VERTEX_ATTRIBS_ARB = 0x8869 + /// + MaxVertexAttribsArb = ((int)0x8869) , + /// + /// Original was GL_ARRAY_NORMALIZED = 0x886A + /// + ArrayNormalized = ((int)0x886A) , + /// + /// Original was GL_VERTEX_ATTRIB_ARRAY_NORMALIZED = 0x886A + /// + VertexAttribArrayNormalized = ((int)0x886A) , + /// + /// Original was GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB = 0x886A + /// + VertexAttribArrayNormalizedArb = ((int)0x886A) , + /// + /// Original was GL_MAX_TESS_CONTROL_INPUT_COMPONENTS = 0x886C + /// + MaxTessControlInputComponents = ((int)0x886C) , + /// + /// Original was GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS = 0x886D + /// + MaxTessEvaluationInputComponents = ((int)0x886D) , + /// + /// Original was GL_DEPTH_STENCIL_TO_RGBA_NV = 0x886E + /// + DepthStencilToRgbaNv = ((int)0x886E) , + /// + /// Original was GL_DEPTH_STENCIL_TO_BGRA_NV = 0x886F + /// + DepthStencilToBgraNv = ((int)0x886F) , + /// + /// Original was GL_FRAGMENT_PROGRAM_NV = 0x8870 + /// + FragmentProgramNv = ((int)0x8870) , + /// + /// Original was GL_MAX_TEXTURE_COORDS = 0x8871 + /// + MaxTextureCoords = ((int)0x8871) , + /// + /// Original was GL_MAX_TEXTURE_COORDS_ARB = 0x8871 + /// + MaxTextureCoordsArb = ((int)0x8871) , + /// + /// Original was GL_MAX_TEXTURE_COORDS_NV = 0x8871 + /// + MaxTextureCoordsNv = ((int)0x8871) , + /// + /// Original was GL_MAX_TEXTURE_IMAGE_UNITS = 0x8872 + /// + MaxTextureImageUnits = ((int)0x8872) , + /// + /// Original was GL_MAX_TEXTURE_IMAGE_UNITS_ARB = 0x8872 + /// + MaxTextureImageUnitsArb = ((int)0x8872) , + /// + /// Original was GL_MAX_TEXTURE_IMAGE_UNITS_NV = 0x8872 + /// + MaxTextureImageUnitsNv = ((int)0x8872) , + /// + /// Original was GL_FRAGMENT_PROGRAM_BINDING_NV = 0x8873 + /// + FragmentProgramBindingNv = ((int)0x8873) , + /// + /// Original was GL_PROGRAM_ERROR_STRING_ARB = 0x8874 + /// + ProgramErrorStringArb = ((int)0x8874) , + /// + /// Original was GL_PROGRAM_ERROR_STRING_NV = 0x8874 + /// + ProgramErrorStringNv = ((int)0x8874) , + /// + /// Original was GL_PROGRAM_FORMAT_ASCII_ARB = 0x8875 + /// + ProgramFormatAsciiArb = ((int)0x8875) , + /// + /// Original was GL_PROGRAM_FORMAT = 0x8876 + /// + ProgramFormat = ((int)0x8876) , + /// + /// Original was GL_PROGRAM_FORMAT_ARB = 0x8876 + /// + ProgramFormatArb = ((int)0x8876) , + /// + /// Original was GL_WRITE_PIXEL_DATA_RANGE_NV = 0x8878 + /// + WritePixelDataRangeNv = ((int)0x8878) , + /// + /// Original was GL_READ_PIXEL_DATA_RANGE_NV = 0x8879 + /// + ReadPixelDataRangeNv = ((int)0x8879) , + /// + /// Original was GL_WRITE_PIXEL_DATA_RANGE_LENGTH_NV = 0x887A + /// + WritePixelDataRangeLengthNv = ((int)0x887A) , + /// + /// Original was GL_READ_PIXEL_DATA_RANGE_LENGTH_NV = 0x887B + /// + ReadPixelDataRangeLengthNv = ((int)0x887B) , + /// + /// Original was GL_WRITE_PIXEL_DATA_RANGE_POINTER_NV = 0x887C + /// + WritePixelDataRangePointerNv = ((int)0x887C) , + /// + /// Original was GL_READ_PIXEL_DATA_RANGE_POINTER_NV = 0x887D + /// + ReadPixelDataRangePointerNv = ((int)0x887D) , + /// + /// Original was GL_GEOMETRY_SHADER_INVOCATIONS = 0x887F + /// + GeometryShaderInvocations = ((int)0x887F) , + /// + /// Original was GL_FLOAT_R_NV = 0x8880 + /// + FloatRNv = ((int)0x8880) , + /// + /// Original was GL_FLOAT_RG_NV = 0x8881 + /// + FloatRgNv = ((int)0x8881) , + /// + /// Original was GL_FLOAT_RGB_NV = 0x8882 + /// + FloatRgbNv = ((int)0x8882) , + /// + /// Original was GL_FLOAT_RGBA_NV = 0x8883 + /// + FloatRgbaNv = ((int)0x8883) , + /// + /// Original was GL_FLOAT_R16_NV = 0x8884 + /// + FloatR16Nv = ((int)0x8884) , + /// + /// Original was GL_FLOAT_R32_NV = 0x8885 + /// + FloatR32Nv = ((int)0x8885) , + /// + /// Original was GL_FLOAT_RG16_NV = 0x8886 + /// + FloatRg16Nv = ((int)0x8886) , + /// + /// Original was GL_FLOAT_RG32_NV = 0x8887 + /// + FloatRg32Nv = ((int)0x8887) , + /// + /// Original was GL_FLOAT_RGB16_NV = 0x8888 + /// + FloatRgb16Nv = ((int)0x8888) , + /// + /// Original was GL_FLOAT_RGB32_NV = 0x8889 + /// + FloatRgb32Nv = ((int)0x8889) , + /// + /// Original was GL_FLOAT_RGBA16_NV = 0x888A + /// + FloatRgba16Nv = ((int)0x888A) , + /// + /// Original was GL_FLOAT_RGBA32_NV = 0x888B + /// + FloatRgba32Nv = ((int)0x888B) , + /// + /// Original was GL_TEXTURE_FLOAT_COMPONENTS_NV = 0x888C + /// + TextureFloatComponentsNv = ((int)0x888C) , + /// + /// Original was GL_FLOAT_CLEAR_COLOR_VALUE_NV = 0x888D + /// + FloatClearColorValueNv = ((int)0x888D) , + /// + /// Original was GL_FLOAT_RGBA_MODE_NV = 0x888E + /// + FloatRgbaModeNv = ((int)0x888E) , + /// + /// Original was GL_TEXTURE_UNSIGNED_REMAP_MODE_NV = 0x888F + /// + TextureUnsignedRemapModeNv = ((int)0x888F) , + /// + /// Original was GL_DEPTH_BOUNDS_TEST_EXT = 0x8890 + /// + DepthBoundsTestExt = ((int)0x8890) , + /// + /// Original was GL_DEPTH_BOUNDS_EXT = 0x8891 + /// + DepthBoundsExt = ((int)0x8891) , + /// + /// Original was GL_ARRAY_BUFFER = 0x8892 + /// + ArrayBuffer = ((int)0x8892) , + /// + /// Original was GL_ARRAY_BUFFER_ARB = 0x8892 + /// + ArrayBufferArb = ((int)0x8892) , + /// + /// Original was GL_ELEMENT_ARRAY_BUFFER = 0x8893 + /// + ElementArrayBuffer = ((int)0x8893) , + /// + /// Original was GL_ELEMENT_ARRAY_BUFFER_ARB = 0x8893 + /// + ElementArrayBufferArb = ((int)0x8893) , + /// + /// Original was GL_ARRAY_BUFFER_BINDING = 0x8894 + /// + ArrayBufferBinding = ((int)0x8894) , + /// + /// Original was GL_ARRAY_BUFFER_BINDING_ARB = 0x8894 + /// + ArrayBufferBindingArb = ((int)0x8894) , + /// + /// Original was GL_ELEMENT_ARRAY_BUFFER_BINDING = 0x8895 + /// + ElementArrayBufferBinding = ((int)0x8895) , + /// + /// Original was GL_ELEMENT_ARRAY_BUFFER_BINDING_ARB = 0x8895 + /// + ElementArrayBufferBindingArb = ((int)0x8895) , + /// + /// Original was GL_VERTEX_ARRAY_BUFFER_BINDING = 0x8896 + /// + VertexArrayBufferBinding = ((int)0x8896) , + /// + /// Original was GL_VERTEX_ARRAY_BUFFER_BINDING_ARB = 0x8896 + /// + VertexArrayBufferBindingArb = ((int)0x8896) , + /// + /// Original was GL_NORMAL_ARRAY_BUFFER_BINDING = 0x8897 + /// + NormalArrayBufferBinding = ((int)0x8897) , + /// + /// Original was GL_NORMAL_ARRAY_BUFFER_BINDING_ARB = 0x8897 + /// + NormalArrayBufferBindingArb = ((int)0x8897) , + /// + /// Original was GL_COLOR_ARRAY_BUFFER_BINDING = 0x8898 + /// + ColorArrayBufferBinding = ((int)0x8898) , + /// + /// Original was GL_COLOR_ARRAY_BUFFER_BINDING_ARB = 0x8898 + /// + ColorArrayBufferBindingArb = ((int)0x8898) , + /// + /// Original was GL_INDEX_ARRAY_BUFFER_BINDING = 0x8899 + /// + IndexArrayBufferBinding = ((int)0x8899) , + /// + /// Original was GL_INDEX_ARRAY_BUFFER_BINDING_ARB = 0x8899 + /// + IndexArrayBufferBindingArb = ((int)0x8899) , + /// + /// Original was GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING = 0x889A + /// + TextureCoordArrayBufferBinding = ((int)0x889A) , + /// + /// Original was GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING_ARB = 0x889A + /// + TextureCoordArrayBufferBindingArb = ((int)0x889A) , + /// + /// Original was GL_EDGE_FLAG_ARRAY_BUFFER_BINDING = 0x889B + /// + EdgeFlagArrayBufferBinding = ((int)0x889B) , + /// + /// Original was GL_EDGE_FLAG_ARRAY_BUFFER_BINDING_ARB = 0x889B + /// + EdgeFlagArrayBufferBindingArb = ((int)0x889B) , + /// + /// Original was GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING = 0x889C + /// + SecondaryColorArrayBufferBinding = ((int)0x889C) , + /// + /// Original was GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING_ARB = 0x889C + /// + SecondaryColorArrayBufferBindingArb = ((int)0x889C) , + /// + /// Original was GL_FOG_COORD_ARRAY_BUFFER_BINDING = 0x889D + /// + FogCoordArrayBufferBinding = ((int)0x889D) , + /// + /// Original was GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING = 0x889D + /// + FogCoordinateArrayBufferBinding = ((int)0x889D) , + /// + /// Original was GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING_ARB = 0x889D + /// + FogCoordinateArrayBufferBindingArb = ((int)0x889D) , + /// + /// Original was GL_WEIGHT_ARRAY_BUFFER_BINDING = 0x889E + /// + WeightArrayBufferBinding = ((int)0x889E) , + /// + /// Original was GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB = 0x889E + /// + WeightArrayBufferBindingArb = ((int)0x889E) , + /// + /// Original was GL_WEIGHT_ARRAY_BUFFER_BINDING_OES = 0x889E + /// + WeightArrayBufferBindingOes = ((int)0x889E) , + /// + /// Original was GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING = 0x889F + /// + VertexAttribArrayBufferBinding = ((int)0x889F) , + /// + /// Original was GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB = 0x889F + /// + VertexAttribArrayBufferBindingArb = ((int)0x889F) , + /// + /// Original was GL_PROGRAM_INSTRUCTION = 0x88A0 + /// + ProgramInstruction = ((int)0x88A0) , + /// + /// Original was GL_PROGRAM_INSTRUCTIONS_ARB = 0x88A0 + /// + ProgramInstructionsArb = ((int)0x88A0) , + /// + /// Original was GL_MAX_PROGRAM_INSTRUCTIONS = 0x88A1 + /// + MaxProgramInstructions = ((int)0x88A1) , + /// + /// Original was GL_MAX_PROGRAM_INSTRUCTIONS_ARB = 0x88A1 + /// + MaxProgramInstructionsArb = ((int)0x88A1) , + /// + /// Original was GL_PROGRAM_NATIVE_INSTRUCTIONS = 0x88A2 + /// + ProgramNativeInstructions = ((int)0x88A2) , + /// + /// Original was GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB = 0x88A2 + /// + ProgramNativeInstructionsArb = ((int)0x88A2) , + /// + /// Original was GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS = 0x88A3 + /// + MaxProgramNativeInstructions = ((int)0x88A3) , + /// + /// Original was GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB = 0x88A3 + /// + MaxProgramNativeInstructionsArb = ((int)0x88A3) , + /// + /// Original was GL_PROGRAM_TEMPORARIES = 0x88A4 + /// + ProgramTemporaries = ((int)0x88A4) , + /// + /// Original was GL_PROGRAM_TEMPORARIES_ARB = 0x88A4 + /// + ProgramTemporariesArb = ((int)0x88A4) , + /// + /// Original was GL_MAX_PROGRAM_TEMPORARIES = 0x88A5 + /// + MaxProgramTemporaries = ((int)0x88A5) , + /// + /// Original was GL_MAX_PROGRAM_TEMPORARIES_ARB = 0x88A5 + /// + MaxProgramTemporariesArb = ((int)0x88A5) , + /// + /// Original was GL_PROGRAM_NATIVE_TEMPORARIES = 0x88A6 + /// + ProgramNativeTemporaries = ((int)0x88A6) , + /// + /// Original was GL_PROGRAM_NATIVE_TEMPORARIES_ARB = 0x88A6 + /// + ProgramNativeTemporariesArb = ((int)0x88A6) , + /// + /// Original was GL_MAX_PROGRAM_NATIVE_TEMPORARIES = 0x88A7 + /// + MaxProgramNativeTemporaries = ((int)0x88A7) , + /// + /// Original was GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB = 0x88A7 + /// + MaxProgramNativeTemporariesArb = ((int)0x88A7) , + /// + /// Original was GL_PROGRAM_PARAMETERS = 0x88A8 + /// + ProgramParameters = ((int)0x88A8) , + /// + /// Original was GL_PROGRAM_PARAMETERS_ARB = 0x88A8 + /// + ProgramParametersArb = ((int)0x88A8) , + /// + /// Original was GL_MAX_PROGRAM_PARAMETERS = 0x88A9 + /// + MaxProgramParameters = ((int)0x88A9) , + /// + /// Original was GL_MAX_PROGRAM_PARAMETERS_ARB = 0x88A9 + /// + MaxProgramParametersArb = ((int)0x88A9) , + /// + /// Original was GL_PROGRAM_NATIVE_PARAMETERS = 0x88AA + /// + ProgramNativeParameters = ((int)0x88AA) , + /// + /// Original was GL_PROGRAM_NATIVE_PARAMETERS_ARB = 0x88AA + /// + ProgramNativeParametersArb = ((int)0x88AA) , + /// + /// Original was GL_MAX_PROGRAM_NATIVE_PARAMETERS = 0x88AB + /// + MaxProgramNativeParameters = ((int)0x88AB) , + /// + /// Original was GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB = 0x88AB + /// + MaxProgramNativeParametersArb = ((int)0x88AB) , + /// + /// Original was GL_PROGRAM_ATTRIBS = 0x88AC + /// + ProgramAttribs = ((int)0x88AC) , + /// + /// Original was GL_PROGRAM_ATTRIBS_ARB = 0x88AC + /// + ProgramAttribsArb = ((int)0x88AC) , + /// + /// Original was GL_MAX_PROGRAM_ATTRIBS = 0x88AD + /// + MaxProgramAttribs = ((int)0x88AD) , + /// + /// Original was GL_MAX_PROGRAM_ATTRIBS_ARB = 0x88AD + /// + MaxProgramAttribsArb = ((int)0x88AD) , + /// + /// Original was GL_PROGRAM_NATIVE_ATTRIBS = 0x88AE + /// + ProgramNativeAttribs = ((int)0x88AE) , + /// + /// Original was GL_PROGRAM_NATIVE_ATTRIBS_ARB = 0x88AE + /// + ProgramNativeAttribsArb = ((int)0x88AE) , + /// + /// Original was GL_MAX_PROGRAM_NATIVE_ATTRIBS = 0x88AF + /// + MaxProgramNativeAttribs = ((int)0x88AF) , + /// + /// Original was GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB = 0x88AF + /// + MaxProgramNativeAttribsArb = ((int)0x88AF) , + /// + /// Original was GL_PROGRAM_ADDRESS_REGISTERS = 0x88B0 + /// + ProgramAddressRegisters = ((int)0x88B0) , + /// + /// Original was GL_PROGRAM_ADDRESS_REGISTERS_ARB = 0x88B0 + /// + ProgramAddressRegistersArb = ((int)0x88B0) , + /// + /// Original was GL_MAX_PROGRAM_ADDRESS_REGISTERS = 0x88B1 + /// + MaxProgramAddressRegisters = ((int)0x88B1) , + /// + /// Original was GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB = 0x88B1 + /// + MaxProgramAddressRegistersArb = ((int)0x88B1) , + /// + /// Original was GL_PROGRAM_NATIVE_ADDRESS_REGISTERS = 0x88B2 + /// + ProgramNativeAddressRegisters = ((int)0x88B2) , + /// + /// Original was GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB = 0x88B2 + /// + ProgramNativeAddressRegistersArb = ((int)0x88B2) , + /// + /// Original was GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS = 0x88B3 + /// + MaxProgramNativeAddressRegisters = ((int)0x88B3) , + /// + /// Original was GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB = 0x88B3 + /// + MaxProgramNativeAddressRegistersArb = ((int)0x88B3) , + /// + /// Original was GL_MAX_PROGRAM_LOCAL_PARAMETERS = 0x88B4 + /// + MaxProgramLocalParameters = ((int)0x88B4) , + /// + /// Original was GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB = 0x88B4 + /// + MaxProgramLocalParametersArb = ((int)0x88B4) , + /// + /// Original was GL_MAX_PROGRAM_ENV_PARAMETERS = 0x88B5 + /// + MaxProgramEnvParameters = ((int)0x88B5) , + /// + /// Original was GL_MAX_PROGRAM_ENV_PARAMETERS_ARB = 0x88B5 + /// + MaxProgramEnvParametersArb = ((int)0x88B5) , + /// + /// Original was GL_PROGRAM_UNDER_NATIVE_LIMITS = 0x88B6 + /// + ProgramUnderNativeLimits = ((int)0x88B6) , + /// + /// Original was GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB = 0x88B6 + /// + ProgramUnderNativeLimitsArb = ((int)0x88B6) , + /// + /// Original was GL_TRANSPOSE_CURRENT_MATRIX_ARB = 0x88B7 + /// + TransposeCurrentMatrixArb = ((int)0x88B7) , + /// + /// Original was GL_READ_ONLY = 0x88B8 + /// + ReadOnly = ((int)0x88B8) , + /// + /// Original was GL_READ_ONLY_ARB = 0x88B8 + /// + ReadOnlyArb = ((int)0x88B8) , + /// + /// Original was GL_WRITE_ONLY = 0x88B9 + /// + WriteOnly = ((int)0x88B9) , + /// + /// Original was GL_WRITE_ONLY_ARB = 0x88B9 + /// + WriteOnlyArb = ((int)0x88B9) , + /// + /// Original was GL_WRITE_ONLY_OES = 0x88B9 + /// + WriteOnlyOes = ((int)0x88B9) , + /// + /// Original was GL_READ_WRITE = 0x88BA + /// + ReadWrite = ((int)0x88BA) , + /// + /// Original was GL_READ_WRITE_ARB = 0x88BA + /// + ReadWriteArb = ((int)0x88BA) , + /// + /// Original was GL_BUFFER_ACCESS = 0x88BB + /// + BufferAccess = ((int)0x88BB) , + /// + /// Original was GL_BUFFER_ACCESS_ARB = 0x88BB + /// + BufferAccessArb = ((int)0x88BB) , + /// + /// Original was GL_BUFFER_ACCESS_OES = 0x88BB + /// + BufferAccessOes = ((int)0x88BB) , + /// + /// Original was GL_BUFFER_MAPPED = 0x88BC + /// + BufferMapped = ((int)0x88BC) , + /// + /// Original was GL_BUFFER_MAPPED_ARB = 0x88BC + /// + BufferMappedArb = ((int)0x88BC) , + /// + /// Original was GL_BUFFER_MAPPED_OES = 0x88BC + /// + BufferMappedOes = ((int)0x88BC) , + /// + /// Original was GL_BUFFER_MAP_POINTER = 0x88BD + /// + BufferMapPointer = ((int)0x88BD) , + /// + /// Original was GL_BUFFER_MAP_POINTER_ARB = 0x88BD + /// + BufferMapPointerArb = ((int)0x88BD) , + /// + /// Original was GL_BUFFER_MAP_POINTER_OES = 0x88BD + /// + BufferMapPointerOes = ((int)0x88BD) , + /// + /// Original was GL_WRITE_DISCARD_NV = 0x88BE + /// + WriteDiscardNv = ((int)0x88BE) , + /// + /// Original was GL_TIME_ELAPSED = 0x88BF + /// + TimeElapsed = ((int)0x88BF) , + /// + /// Original was GL_TIME_ELAPSED_EXT = 0x88BF + /// + TimeElapsedExt = ((int)0x88BF) , + /// + /// Original was GL_MATRIX0 = 0x88C0 + /// + Matrix0 = ((int)0x88C0) , + /// + /// Original was GL_MATRIX0_ARB = 0x88C0 + /// + Matrix0Arb = ((int)0x88C0) , + /// + /// Original was GL_MATRIX1 = 0x88C1 + /// + Matrix1 = ((int)0x88C1) , + /// + /// Original was GL_MATRIX1_ARB = 0x88C1 + /// + Matrix1Arb = ((int)0x88C1) , + /// + /// Original was GL_MATRIX2 = 0x88C2 + /// + Matrix2 = ((int)0x88C2) , + /// + /// Original was GL_MATRIX2_ARB = 0x88C2 + /// + Matrix2Arb = ((int)0x88C2) , + /// + /// Original was GL_MATRIX3 = 0x88C3 + /// + Matrix3 = ((int)0x88C3) , + /// + /// Original was GL_MATRIX3_ARB = 0x88C3 + /// + Matrix3Arb = ((int)0x88C3) , + /// + /// Original was GL_MATRIX4 = 0x88C4 + /// + Matrix4 = ((int)0x88C4) , + /// + /// Original was GL_MATRIX4_ARB = 0x88C4 + /// + Matrix4Arb = ((int)0x88C4) , + /// + /// Original was GL_MATRIX5 = 0x88C5 + /// + Matrix5 = ((int)0x88C5) , + /// + /// Original was GL_MATRIX5_ARB = 0x88C5 + /// + Matrix5Arb = ((int)0x88C5) , + /// + /// Original was GL_MATRIX6 = 0x88C6 + /// + Matrix6 = ((int)0x88C6) , + /// + /// Original was GL_MATRIX6_ARB = 0x88C6 + /// + Matrix6Arb = ((int)0x88C6) , + /// + /// Original was GL_MATRIX7 = 0x88C7 + /// + Matrix7 = ((int)0x88C7) , + /// + /// Original was GL_MATRIX7_ARB = 0x88C7 + /// + Matrix7Arb = ((int)0x88C7) , + /// + /// Original was GL_MATRIX8 = 0x88C8 + /// + Matrix8 = ((int)0x88C8) , + /// + /// Original was GL_MATRIX8_ARB = 0x88C8 + /// + Matrix8Arb = ((int)0x88C8) , + /// + /// Original was GL_MATRIX9 = 0x88C9 + /// + Matrix9 = ((int)0x88C9) , + /// + /// Original was GL_MATRIX9_ARB = 0x88C9 + /// + Matrix9Arb = ((int)0x88C9) , + /// + /// Original was GL_MATRIX10 = 0x88CA + /// + Matrix10 = ((int)0x88CA) , + /// + /// Original was GL_MATRIX10_ARB = 0x88CA + /// + Matrix10Arb = ((int)0x88CA) , + /// + /// Original was GL_MATRIX11 = 0x88CB + /// + Matrix11 = ((int)0x88CB) , + /// + /// Original was GL_MATRIX11_ARB = 0x88CB + /// + Matrix11Arb = ((int)0x88CB) , + /// + /// Original was GL_MATRIX12 = 0x88CC + /// + Matrix12 = ((int)0x88CC) , + /// + /// Original was GL_MATRIX12_ARB = 0x88CC + /// + Matrix12Arb = ((int)0x88CC) , + /// + /// Original was GL_MATRIX13 = 0x88CD + /// + Matrix13 = ((int)0x88CD) , + /// + /// Original was GL_MATRIX13_ARB = 0x88CD + /// + Matrix13Arb = ((int)0x88CD) , + /// + /// Original was GL_MATRIX14 = 0x88CE + /// + Matrix14 = ((int)0x88CE) , + /// + /// Original was GL_MATRIX14_ARB = 0x88CE + /// + Matrix14Arb = ((int)0x88CE) , + /// + /// Original was GL_MATRIX15 = 0x88CF + /// + Matrix15 = ((int)0x88CF) , + /// + /// Original was GL_MATRIX15_ARB = 0x88CF + /// + Matrix15Arb = ((int)0x88CF) , + /// + /// Original was GL_MATRIX16 = 0x88D0 + /// + Matrix16 = ((int)0x88D0) , + /// + /// Original was GL_MATRIX16_ARB = 0x88D0 + /// + Matrix16Arb = ((int)0x88D0) , + /// + /// Original was GL_MATRIX17 = 0x88D1 + /// + Matrix17 = ((int)0x88D1) , + /// + /// Original was GL_MATRIX17_ARB = 0x88D1 + /// + Matrix17Arb = ((int)0x88D1) , + /// + /// Original was GL_MATRIX18 = 0x88D2 + /// + Matrix18 = ((int)0x88D2) , + /// + /// Original was GL_MATRIX18_ARB = 0x88D2 + /// + Matrix18Arb = ((int)0x88D2) , + /// + /// Original was GL_MATRIX19 = 0x88D3 + /// + Matrix19 = ((int)0x88D3) , + /// + /// Original was GL_MATRIX19_ARB = 0x88D3 + /// + Matrix19Arb = ((int)0x88D3) , + /// + /// Original was GL_MATRIX20 = 0x88D4 + /// + Matrix20 = ((int)0x88D4) , + /// + /// Original was GL_MATRIX20_ARB = 0x88D4 + /// + Matrix20Arb = ((int)0x88D4) , + /// + /// Original was GL_MATRIX21 = 0x88D5 + /// + Matrix21 = ((int)0x88D5) , + /// + /// Original was GL_MATRIX21_ARB = 0x88D5 + /// + Matrix21Arb = ((int)0x88D5) , + /// + /// Original was GL_MATRIX22 = 0x88D6 + /// + Matrix22 = ((int)0x88D6) , + /// + /// Original was GL_MATRIX22_ARB = 0x88D6 + /// + Matrix22Arb = ((int)0x88D6) , + /// + /// Original was GL_MATRIX23 = 0x88D7 + /// + Matrix23 = ((int)0x88D7) , + /// + /// Original was GL_MATRIX23_ARB = 0x88D7 + /// + Matrix23Arb = ((int)0x88D7) , + /// + /// Original was GL_MATRIX24 = 0x88D8 + /// + Matrix24 = ((int)0x88D8) , + /// + /// Original was GL_MATRIX24_ARB = 0x88D8 + /// + Matrix24Arb = ((int)0x88D8) , + /// + /// Original was GL_MATRIX25 = 0x88D9 + /// + Matrix25 = ((int)0x88D9) , + /// + /// Original was GL_MATRIX25_ARB = 0x88D9 + /// + Matrix25Arb = ((int)0x88D9) , + /// + /// Original was GL_MATRIX26 = 0x88DA + /// + Matrix26 = ((int)0x88DA) , + /// + /// Original was GL_MATRIX26_ARB = 0x88DA + /// + Matrix26Arb = ((int)0x88DA) , + /// + /// Original was GL_MATRIX27 = 0x88DB + /// + Matrix27 = ((int)0x88DB) , + /// + /// Original was GL_MATRIX27_ARB = 0x88DB + /// + Matrix27Arb = ((int)0x88DB) , + /// + /// Original was GL_MATRIX28 = 0x88DC + /// + Matrix28 = ((int)0x88DC) , + /// + /// Original was GL_MATRIX28_ARB = 0x88DC + /// + Matrix28Arb = ((int)0x88DC) , + /// + /// Original was GL_MATRIX29 = 0x88DD + /// + Matrix29 = ((int)0x88DD) , + /// + /// Original was GL_MATRIX29_ARB = 0x88DD + /// + Matrix29Arb = ((int)0x88DD) , + /// + /// Original was GL_MATRIX30 = 0x88DE + /// + Matrix30 = ((int)0x88DE) , + /// + /// Original was GL_MATRIX30_ARB = 0x88DE + /// + Matrix30Arb = ((int)0x88DE) , + /// + /// Original was GL_MATRIX31 = 0x88DF + /// + Matrix31 = ((int)0x88DF) , + /// + /// Original was GL_MATRIX31_ARB = 0x88DF + /// + Matrix31Arb = ((int)0x88DF) , + /// + /// Original was GL_STREAM_DRAW = 0x88E0 + /// + StreamDraw = ((int)0x88E0) , + /// + /// Original was GL_STREAM_DRAW_ARB = 0x88E0 + /// + StreamDrawArb = ((int)0x88E0) , + /// + /// Original was GL_STREAM_READ = 0x88E1 + /// + StreamRead = ((int)0x88E1) , + /// + /// Original was GL_STREAM_READ_ARB = 0x88E1 + /// + StreamReadArb = ((int)0x88E1) , + /// + /// Original was GL_STREAM_COPY = 0x88E2 + /// + StreamCopy = ((int)0x88E2) , + /// + /// Original was GL_STREAM_COPY_ARB = 0x88E2 + /// + StreamCopyArb = ((int)0x88E2) , + /// + /// Original was GL_STATIC_DRAW = 0x88E4 + /// + StaticDraw = ((int)0x88E4) , + /// + /// Original was GL_STATIC_DRAW_ARB = 0x88E4 + /// + StaticDrawArb = ((int)0x88E4) , + /// + /// Original was GL_STATIC_READ = 0x88E5 + /// + StaticRead = ((int)0x88E5) , + /// + /// Original was GL_STATIC_READ_ARB = 0x88E5 + /// + StaticReadArb = ((int)0x88E5) , + /// + /// Original was GL_STATIC_COPY = 0x88E6 + /// + StaticCopy = ((int)0x88E6) , + /// + /// Original was GL_STATIC_COPY_ARB = 0x88E6 + /// + StaticCopyArb = ((int)0x88E6) , + /// + /// Original was GL_DYNAMIC_DRAW = 0x88E8 + /// + DynamicDraw = ((int)0x88E8) , + /// + /// Original was GL_DYNAMIC_DRAW_ARB = 0x88E8 + /// + DynamicDrawArb = ((int)0x88E8) , + /// + /// Original was GL_DYNAMIC_READ = 0x88E9 + /// + DynamicRead = ((int)0x88E9) , + /// + /// Original was GL_DYNAMIC_READ_ARB = 0x88E9 + /// + DynamicReadArb = ((int)0x88E9) , + /// + /// Original was GL_DYNAMIC_COPY = 0x88EA + /// + DynamicCopy = ((int)0x88EA) , + /// + /// Original was GL_DYNAMIC_COPY_ARB = 0x88EA + /// + DynamicCopyArb = ((int)0x88EA) , + /// + /// Original was GL_PIXEL_PACK_BUFFER = 0x88EB + /// + PixelPackBuffer = ((int)0x88EB) , + /// + /// Original was GL_PIXEL_PACK_BUFFER_ARB = 0x88EB + /// + PixelPackBufferArb = ((int)0x88EB) , + /// + /// Original was GL_PIXEL_PACK_BUFFER_EXT = 0x88EB + /// + PixelPackBufferExt = ((int)0x88EB) , + /// + /// Original was GL_PIXEL_UNPACK_BUFFER = 0x88EC + /// + PixelUnpackBuffer = ((int)0x88EC) , + /// + /// Original was GL_PIXEL_UNPACK_BUFFER_ARB = 0x88EC + /// + PixelUnpackBufferArb = ((int)0x88EC) , + /// + /// Original was GL_PIXEL_UNPACK_BUFFER_EXT = 0x88EC + /// + PixelUnpackBufferExt = ((int)0x88EC) , + /// + /// Original was GL_PIXEL_PACK_BUFFER_BINDING = 0x88ED + /// + PixelPackBufferBinding = ((int)0x88ED) , + /// + /// Original was GL_PIXEL_PACK_BUFFER_BINDING_ARB = 0x88ED + /// + PixelPackBufferBindingArb = ((int)0x88ED) , + /// + /// Original was GL_PIXEL_PACK_BUFFER_BINDING_EXT = 0x88ED + /// + PixelPackBufferBindingExt = ((int)0x88ED) , + /// + /// Original was GL_PIXEL_UNPACK_BUFFER_BINDING = 0x88EF + /// + PixelUnpackBufferBinding = ((int)0x88EF) , + /// + /// Original was GL_PIXEL_UNPACK_BUFFER_BINDING_ARB = 0x88EF + /// + PixelUnpackBufferBindingArb = ((int)0x88EF) , + /// + /// Original was GL_PIXEL_UNPACK_BUFFER_BINDING_EXT = 0x88EF + /// + PixelUnpackBufferBindingExt = ((int)0x88EF) , + /// + /// Original was GL_DEPTH24_STENCIL8 = 0x88F0 + /// + Depth24Stencil8 = ((int)0x88F0) , + /// + /// Original was GL_DEPTH24_STENCIL8_EXT = 0x88F0 + /// + Depth24Stencil8Ext = ((int)0x88F0) , + /// + /// Original was GL_DEPTH24_STENCIL8_OES = 0x88F0 + /// + Depth24Stencil8Oes = ((int)0x88F0) , + /// + /// Original was GL_TEXTURE_STENCIL_SIZE = 0x88F1 + /// + TextureStencilSize = ((int)0x88F1) , + /// + /// Original was GL_TEXTURE_STENCIL_SIZE_EXT = 0x88F1 + /// + TextureStencilSizeExt = ((int)0x88F1) , + /// + /// Original was GL_STENCIL_TAG_BITS_EXT = 0x88F2 + /// + StencilTagBitsExt = ((int)0x88F2) , + /// + /// Original was GL_STENCIL_CLEAR_TAG_VALUE_EXT = 0x88F3 + /// + StencilClearTagValueExt = ((int)0x88F3) , + /// + /// Original was GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV = 0x88F4 + /// + MaxProgramExecInstructionsNv = ((int)0x88F4) , + /// + /// Original was GL_MAX_PROGRAM_CALL_DEPTH_NV = 0x88F5 + /// + MaxProgramCallDepthNv = ((int)0x88F5) , + /// + /// Original was GL_MAX_PROGRAM_IF_DEPTH_NV = 0x88F6 + /// + MaxProgramIfDepthNv = ((int)0x88F6) , + /// + /// Original was GL_MAX_PROGRAM_LOOP_DEPTH_NV = 0x88F7 + /// + MaxProgramLoopDepthNv = ((int)0x88F7) , + /// + /// Original was GL_MAX_PROGRAM_LOOP_COUNT_NV = 0x88F8 + /// + MaxProgramLoopCountNv = ((int)0x88F8) , + /// + /// Original was GL_SRC1_COLOR = 0x88F9 + /// + Src1Color = ((int)0x88F9) , + /// + /// Original was GL_ONE_MINUS_SRC1_COLOR = 0x88FA + /// + OneMinusSrc1Color = ((int)0x88FA) , + /// + /// Original was GL_ONE_MINUS_SRC1_ALPHA = 0x88FB + /// + OneMinusSrc1Alpha = ((int)0x88FB) , + /// + /// Original was GL_MAX_DUAL_SOURCE_DRAW_BUFFERS = 0x88FC + /// + MaxDualSourceDrawBuffers = ((int)0x88FC) , + /// + /// Original was GL_VERTEX_ATTRIB_ARRAY_INTEGER = 0x88FD + /// + VertexAttribArrayInteger = ((int)0x88FD) , + /// + /// Original was GL_VERTEX_ATTRIB_ARRAY_INTEGER_NV = 0x88FD + /// + VertexAttribArrayIntegerNv = ((int)0x88FD) , + /// + /// Original was GL_ARRAY_DIVISOR = 0x88FE + /// + ArrayDivisor = ((int)0x88FE) , + /// + /// Original was GL_VERTEX_ATTRIB_ARRAY_DIVISOR = 0x88FE + /// + VertexAttribArrayDivisor = ((int)0x88FE) , + /// + /// Original was GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ARB = 0x88FE + /// + VertexAttribArrayDivisorArb = ((int)0x88FE) , + /// + /// Original was GL_MAX_ARRAY_TEXTURE_LAYERS = 0x88FF + /// + MaxArrayTextureLayers = ((int)0x88FF) , + /// + /// Original was GL_MAX_ARRAY_TEXTURE_LAYERS_EXT = 0x88FF + /// + MaxArrayTextureLayersExt = ((int)0x88FF) , + /// + /// Original was GL_MIN_PROGRAM_TEXEL_OFFSET = 0x8904 + /// + MinProgramTexelOffset = ((int)0x8904) , + /// + /// Original was GL_MIN_PROGRAM_TEXEL_OFFSET_NV = 0x8904 + /// + MinProgramTexelOffsetNv = ((int)0x8904) , + /// + /// Original was GL_MAX_PROGRAM_TEXEL_OFFSET = 0x8905 + /// + MaxProgramTexelOffset = ((int)0x8905) , + /// + /// Original was GL_MAX_PROGRAM_TEXEL_OFFSET_NV = 0x8905 + /// + MaxProgramTexelOffsetNv = ((int)0x8905) , + /// + /// Original was GL_PROGRAM_ATTRIB_COMPONENTS_NV = 0x8906 + /// + ProgramAttribComponentsNv = ((int)0x8906) , + /// + /// Original was GL_PROGRAM_RESULT_COMPONENTS_NV = 0x8907 + /// + ProgramResultComponentsNv = ((int)0x8907) , + /// + /// Original was GL_MAX_PROGRAM_ATTRIB_COMPONENTS_NV = 0x8908 + /// + MaxProgramAttribComponentsNv = ((int)0x8908) , + /// + /// Original was GL_MAX_PROGRAM_RESULT_COMPONENTS_NV = 0x8909 + /// + MaxProgramResultComponentsNv = ((int)0x8909) , + /// + /// Original was GL_STENCIL_TEST_TWO_SIDE_EXT = 0x8910 + /// + StencilTestTwoSideExt = ((int)0x8910) , + /// + /// Original was GL_ACTIVE_STENCIL_FACE_EXT = 0x8911 + /// + ActiveStencilFaceExt = ((int)0x8911) , + /// + /// Original was GL_MIRROR_CLAMP_TO_BORDER_EXT = 0x8912 + /// + MirrorClampToBorderExt = ((int)0x8912) , + /// + /// Original was GL_SAMPLES_PASSED = 0x8914 + /// + SamplesPassed = ((int)0x8914) , + /// + /// Original was GL_SAMPLES_PASSED_ARB = 0x8914 + /// + SamplesPassedArb = ((int)0x8914) , + /// + /// Original was GL_GEOMETRY_VERTICES_OUT = 0x8916 + /// + GeometryVerticesOut = ((int)0x8916) , + /// + /// Original was GL_GEOMETRY_INPUT_TYPE = 0x8917 + /// + GeometryInputType = ((int)0x8917) , + /// + /// Original was GL_GEOMETRY_OUTPUT_TYPE = 0x8918 + /// + GeometryOutputType = ((int)0x8918) , + /// + /// Original was GL_SAMPLER_BINDING = 0x8919 + /// + SamplerBinding = ((int)0x8919) , + /// + /// Original was GL_CLAMP_VERTEX_COLOR = 0x891A + /// + ClampVertexColor = ((int)0x891A) , + /// + /// Original was GL_CLAMP_VERTEX_COLOR_ARB = 0x891A + /// + ClampVertexColorArb = ((int)0x891A) , + /// + /// Original was GL_CLAMP_FRAGMENT_COLOR = 0x891B + /// + ClampFragmentColor = ((int)0x891B) , + /// + /// Original was GL_CLAMP_FRAGMENT_COLOR_ARB = 0x891B + /// + ClampFragmentColorArb = ((int)0x891B) , + /// + /// Original was GL_CLAMP_READ_COLOR = 0x891C + /// + ClampReadColor = ((int)0x891C) , + /// + /// Original was GL_CLAMP_READ_COLOR_ARB = 0x891C + /// + ClampReadColorArb = ((int)0x891C) , + /// + /// Original was GL_FIXED_ONLY = 0x891D + /// + FixedOnly = ((int)0x891D) , + /// + /// Original was GL_FIXED_ONLY_ARB = 0x891D + /// + FixedOnlyArb = ((int)0x891D) , + /// + /// Original was GL_TESS_CONTROL_PROGRAM_NV = 0x891E + /// + TessControlProgramNv = ((int)0x891E) , + /// + /// Original was GL_TESS_EVALUATION_PROGRAM_NV = 0x891F + /// + TessEvaluationProgramNv = ((int)0x891F) , + /// + /// Original was GL_FRAGMENT_SHADER_ATI = 0x8920 + /// + FragmentShaderAti = ((int)0x8920) , + /// + /// Original was GL_REG_0_ATI = 0x8921 + /// + Reg0Ati = ((int)0x8921) , + /// + /// Original was GL_REG_1_ATI = 0x8922 + /// + Reg1Ati = ((int)0x8922) , + /// + /// Original was GL_REG_2_ATI = 0x8923 + /// + Reg2Ati = ((int)0x8923) , + /// + /// Original was GL_REG_3_ATI = 0x8924 + /// + Reg3Ati = ((int)0x8924) , + /// + /// Original was GL_REG_4_ATI = 0x8925 + /// + Reg4Ati = ((int)0x8925) , + /// + /// Original was GL_REG_5_ATI = 0x8926 + /// + Reg5Ati = ((int)0x8926) , + /// + /// Original was GL_REG_6_ATI = 0x8927 + /// + Reg6Ati = ((int)0x8927) , + /// + /// Original was GL_REG_7_ATI = 0x8928 + /// + Reg7Ati = ((int)0x8928) , + /// + /// Original was GL_REG_8_ATI = 0x8929 + /// + Reg8Ati = ((int)0x8929) , + /// + /// Original was GL_REG_9_ATI = 0x892A + /// + Reg9Ati = ((int)0x892A) , + /// + /// Original was GL_REG_10_ATI = 0x892B + /// + Reg10Ati = ((int)0x892B) , + /// + /// Original was GL_REG_11_ATI = 0x892C + /// + Reg11Ati = ((int)0x892C) , + /// + /// Original was GL_REG_12_ATI = 0x892D + /// + Reg12Ati = ((int)0x892D) , + /// + /// Original was GL_REG_13_ATI = 0x892E + /// + Reg13Ati = ((int)0x892E) , + /// + /// Original was GL_REG_14_ATI = 0x892F + /// + Reg14Ati = ((int)0x892F) , + /// + /// Original was GL_REG_15_ATI = 0x8930 + /// + Reg15Ati = ((int)0x8930) , + /// + /// Original was GL_REG_16_ATI = 0x8931 + /// + Reg16Ati = ((int)0x8931) , + /// + /// Original was GL_REG_17_ATI = 0x8932 + /// + Reg17Ati = ((int)0x8932) , + /// + /// Original was GL_REG_18_ATI = 0x8933 + /// + Reg18Ati = ((int)0x8933) , + /// + /// Original was GL_REG_19_ATI = 0x8934 + /// + Reg19Ati = ((int)0x8934) , + /// + /// Original was GL_REG_20_ATI = 0x8935 + /// + Reg20Ati = ((int)0x8935) , + /// + /// Original was GL_REG_21_ATI = 0x8936 + /// + Reg21Ati = ((int)0x8936) , + /// + /// Original was GL_REG_22_ATI = 0x8937 + /// + Reg22Ati = ((int)0x8937) , + /// + /// Original was GL_REG_23_ATI = 0x8938 + /// + Reg23Ati = ((int)0x8938) , + /// + /// Original was GL_REG_24_ATI = 0x8939 + /// + Reg24Ati = ((int)0x8939) , + /// + /// Original was GL_REG_25_ATI = 0x893A + /// + Reg25Ati = ((int)0x893A) , + /// + /// Original was GL_REG_26_ATI = 0x893B + /// + Reg26Ati = ((int)0x893B) , + /// + /// Original was GL_REG_27_ATI = 0x893C + /// + Reg27Ati = ((int)0x893C) , + /// + /// Original was GL_REG_28_ATI = 0x893D + /// + Reg28Ati = ((int)0x893D) , + /// + /// Original was GL_REG_29_ATI = 0x893E + /// + Reg29Ati = ((int)0x893E) , + /// + /// Original was GL_REG_30_ATI = 0x893F + /// + Reg30Ati = ((int)0x893F) , + /// + /// Original was GL_REG_31_ATI = 0x8940 + /// + Reg31Ati = ((int)0x8940) , + /// + /// Original was GL_CON_0_ATI = 0x8941 + /// + Con0Ati = ((int)0x8941) , + /// + /// Original was GL_CON_1_ATI = 0x8942 + /// + Con1Ati = ((int)0x8942) , + /// + /// Original was GL_CON_2_ATI = 0x8943 + /// + Con2Ati = ((int)0x8943) , + /// + /// Original was GL_CON_3_ATI = 0x8944 + /// + Con3Ati = ((int)0x8944) , + /// + /// Original was GL_CON_4_ATI = 0x8945 + /// + Con4Ati = ((int)0x8945) , + /// + /// Original was GL_CON_5_ATI = 0x8946 + /// + Con5Ati = ((int)0x8946) , + /// + /// Original was GL_CON_6_ATI = 0x8947 + /// + Con6Ati = ((int)0x8947) , + /// + /// Original was GL_CON_7_ATI = 0x8948 + /// + Con7Ati = ((int)0x8948) , + /// + /// Original was GL_CON_8_ATI = 0x8949 + /// + Con8Ati = ((int)0x8949) , + /// + /// Original was GL_CON_9_ATI = 0x894A + /// + Con9Ati = ((int)0x894A) , + /// + /// Original was GL_CON_10_ATI = 0x894B + /// + Con10Ati = ((int)0x894B) , + /// + /// Original was GL_CON_11_ATI = 0x894C + /// + Con11Ati = ((int)0x894C) , + /// + /// Original was GL_CON_12_ATI = 0x894D + /// + Con12Ati = ((int)0x894D) , + /// + /// Original was GL_CON_13_ATI = 0x894E + /// + Con13Ati = ((int)0x894E) , + /// + /// Original was GL_CON_14_ATI = 0x894F + /// + Con14Ati = ((int)0x894F) , + /// + /// Original was GL_CON_15_ATI = 0x8950 + /// + Con15Ati = ((int)0x8950) , + /// + /// Original was GL_CON_16_ATI = 0x8951 + /// + Con16Ati = ((int)0x8951) , + /// + /// Original was GL_CON_17_ATI = 0x8952 + /// + Con17Ati = ((int)0x8952) , + /// + /// Original was GL_CON_18_ATI = 0x8953 + /// + Con18Ati = ((int)0x8953) , + /// + /// Original was GL_CON_19_ATI = 0x8954 + /// + Con19Ati = ((int)0x8954) , + /// + /// Original was GL_CON_20_ATI = 0x8955 + /// + Con20Ati = ((int)0x8955) , + /// + /// Original was GL_CON_21_ATI = 0x8956 + /// + Con21Ati = ((int)0x8956) , + /// + /// Original was GL_CON_22_ATI = 0x8957 + /// + Con22Ati = ((int)0x8957) , + /// + /// Original was GL_CON_23_ATI = 0x8958 + /// + Con23Ati = ((int)0x8958) , + /// + /// Original was GL_CON_24_ATI = 0x8959 + /// + Con24Ati = ((int)0x8959) , + /// + /// Original was GL_CON_25_ATI = 0x895A + /// + Con25Ati = ((int)0x895A) , + /// + /// Original was GL_CON_26_ATI = 0x895B + /// + Con26Ati = ((int)0x895B) , + /// + /// Original was GL_CON_27_ATI = 0x895C + /// + Con27Ati = ((int)0x895C) , + /// + /// Original was GL_CON_28_ATI = 0x895D + /// + Con28Ati = ((int)0x895D) , + /// + /// Original was GL_CON_29_ATI = 0x895E + /// + Con29Ati = ((int)0x895E) , + /// + /// Original was GL_CON_30_ATI = 0x895F + /// + Con30Ati = ((int)0x895F) , + /// + /// Original was GL_CON_31_ATI = 0x8960 + /// + Con31Ati = ((int)0x8960) , + /// + /// Original was GL_MOV_ATI = 0x8961 + /// + MovAti = ((int)0x8961) , + /// + /// Original was GL_ADD_ATI = 0x8963 + /// + AddAti = ((int)0x8963) , + /// + /// Original was GL_MUL_ATI = 0x8964 + /// + MulAti = ((int)0x8964) , + /// + /// Original was GL_SUB_ATI = 0x8965 + /// + SubAti = ((int)0x8965) , + /// + /// Original was GL_DOT3_ATI = 0x8966 + /// + Dot3Ati = ((int)0x8966) , + /// + /// Original was GL_DOT4_ATI = 0x8967 + /// + Dot4Ati = ((int)0x8967) , + /// + /// Original was GL_MAD_ATI = 0x8968 + /// + MadAti = ((int)0x8968) , + /// + /// Original was GL_LERP_ATI = 0x8969 + /// + LerpAti = ((int)0x8969) , + /// + /// Original was GL_CND_ATI = 0x896A + /// + CndAti = ((int)0x896A) , + /// + /// Original was GL_CND0_ATI = 0x896B + /// + Cnd0Ati = ((int)0x896B) , + /// + /// Original was GL_DOT2_ADD_ATI = 0x896C + /// + Dot2AddAti = ((int)0x896C) , + /// + /// Original was GL_SECONDARY_INTERPOLATOR_ATI = 0x896D + /// + SecondaryInterpolatorAti = ((int)0x896D) , + /// + /// Original was GL_NUM_FRAGMENT_REGISTERS_ATI = 0x896E + /// + NumFragmentRegistersAti = ((int)0x896E) , + /// + /// Original was GL_NUM_FRAGMENT_CONSTANTS_ATI = 0x896F + /// + NumFragmentConstantsAti = ((int)0x896F) , + /// + /// Original was GL_NUM_PASSES_ATI = 0x8970 + /// + NumPassesAti = ((int)0x8970) , + /// + /// Original was GL_NUM_INSTRUCTIONS_PER_PASS_ATI = 0x8971 + /// + NumInstructionsPerPassAti = ((int)0x8971) , + /// + /// Original was GL_NUM_INSTRUCTIONS_TOTAL_ATI = 0x8972 + /// + NumInstructionsTotalAti = ((int)0x8972) , + /// + /// Original was GL_NUM_INPUT_INTERPOLATOR_COMPONENTS_ATI = 0x8973 + /// + NumInputInterpolatorComponentsAti = ((int)0x8973) , + /// + /// Original was GL_NUM_LOOPBACK_COMPONENTS_ATI = 0x8974 + /// + NumLoopbackComponentsAti = ((int)0x8974) , + /// + /// Original was GL_COLOR_ALPHA_PAIRING_ATI = 0x8975 + /// + ColorAlphaPairingAti = ((int)0x8975) , + /// + /// Original was GL_SWIZZLE_STR_ATI = 0x8976 + /// + SwizzleStrAti = ((int)0x8976) , + /// + /// Original was GL_SWIZZLE_STQ_ATI = 0x8977 + /// + SwizzleStqAti = ((int)0x8977) , + /// + /// Original was GL_SWIZZLE_STR_DR_ATI = 0x8978 + /// + SwizzleStrDrAti = ((int)0x8978) , + /// + /// Original was GL_SWIZZLE_STQ_DQ_ATI = 0x8979 + /// + SwizzleStqDqAti = ((int)0x8979) , + /// + /// Original was GL_SWIZZLE_STRQ_ATI = 0x897A + /// + SwizzleStrqAti = ((int)0x897A) , + /// + /// Original was GL_SWIZZLE_STRQ_DQ_ATI = 0x897B + /// + SwizzleStrqDqAti = ((int)0x897B) , + /// + /// Original was GL_INTERLACE_OML = 0x8980 + /// + InterlaceOml = ((int)0x8980) , + /// + /// Original was GL_INTERLACE_READ_OML = 0x8981 + /// + InterlaceReadOml = ((int)0x8981) , + /// + /// Original was GL_FORMAT_SUBSAMPLE_24_24_OML = 0x8982 + /// + FormatSubsample2424Oml = ((int)0x8982) , + /// + /// Original was GL_FORMAT_SUBSAMPLE_244_244_OML = 0x8983 + /// + FormatSubsample244244Oml = ((int)0x8983) , + /// + /// Original was GL_PACK_RESAMPLE_OML = 0x8984 + /// + PackResampleOml = ((int)0x8984) , + /// + /// Original was GL_UNPACK_RESAMPLE_OML = 0x8985 + /// + UnpackResampleOml = ((int)0x8985) , + /// + /// Original was GL_RESAMPLE_REPLICATE_OML = 0x8986 + /// + ResampleReplicateOml = ((int)0x8986) , + /// + /// Original was GL_RESAMPLE_ZERO_FILL_OML = 0x8987 + /// + ResampleZeroFillOml = ((int)0x8987) , + /// + /// Original was GL_RESAMPLE_AVERAGE_OML = 0x8988 + /// + ResampleAverageOml = ((int)0x8988) , + /// + /// Original was GL_RESAMPLE_DECIMATE_OML = 0x8989 + /// + ResampleDecimateOml = ((int)0x8989) , + /// + /// Original was GL_POINT_SIZE_ARRAY_TYPE_OES = 0x898A + /// + PointSizeArrayTypeOes = ((int)0x898A) , + /// + /// Original was GL_POINT_SIZE_ARRAY_STRIDE_OES = 0x898B + /// + PointSizeArrayStrideOes = ((int)0x898B) , + /// + /// Original was GL_POINT_SIZE_ARRAY_POINTER_OES = 0x898C + /// + PointSizeArrayPointerOes = ((int)0x898C) , + /// + /// Original was GL_MODELVIEW_MATRIX_FLOAT_AS_INT_BITS_OES = 0x898D + /// + ModelviewMatrixFloatAsIntBitsOes = ((int)0x898D) , + /// + /// Original was GL_PROJECTION_MATRIX_FLOAT_AS_INT_BITS_OES = 0x898E + /// + ProjectionMatrixFloatAsIntBitsOes = ((int)0x898E) , + /// + /// Original was GL_TEXTURE_MATRIX_FLOAT_AS_INT_BITS_OES = 0x898F + /// + TextureMatrixFloatAsIntBitsOes = ((int)0x898F) , + /// + /// Original was GL_VERTEX_ATTRIB_MAP1_APPLE = 0x8A00 + /// + VertexAttribMap1Apple = ((int)0x8A00) , + /// + /// Original was GL_VERTEX_ATTRIB_MAP2_APPLE = 0x8A01 + /// + VertexAttribMap2Apple = ((int)0x8A01) , + /// + /// Original was GL_VERTEX_ATTRIB_MAP1_SIZE_APPLE = 0x8A02 + /// + VertexAttribMap1SizeApple = ((int)0x8A02) , + /// + /// Original was GL_VERTEX_ATTRIB_MAP1_COEFF_APPLE = 0x8A03 + /// + VertexAttribMap1CoeffApple = ((int)0x8A03) , + /// + /// Original was GL_VERTEX_ATTRIB_MAP1_ORDER_APPLE = 0x8A04 + /// + VertexAttribMap1OrderApple = ((int)0x8A04) , + /// + /// Original was GL_VERTEX_ATTRIB_MAP1_DOMAIN_APPLE = 0x8A05 + /// + VertexAttribMap1DomainApple = ((int)0x8A05) , + /// + /// Original was GL_VERTEX_ATTRIB_MAP2_SIZE_APPLE = 0x8A06 + /// + VertexAttribMap2SizeApple = ((int)0x8A06) , + /// + /// Original was GL_VERTEX_ATTRIB_MAP2_COEFF_APPLE = 0x8A07 + /// + VertexAttribMap2CoeffApple = ((int)0x8A07) , + /// + /// Original was GL_VERTEX_ATTRIB_MAP2_ORDER_APPLE = 0x8A08 + /// + VertexAttribMap2OrderApple = ((int)0x8A08) , + /// + /// Original was GL_VERTEX_ATTRIB_MAP2_DOMAIN_APPLE = 0x8A09 + /// + VertexAttribMap2DomainApple = ((int)0x8A09) , + /// + /// Original was GL_DRAW_PIXELS_APPLE = 0x8A0A + /// + DrawPixelsApple = ((int)0x8A0A) , + /// + /// Original was GL_FENCE_APPLE = 0x8A0B + /// + FenceApple = ((int)0x8A0B) , + /// + /// Original was GL_ELEMENT_ARRAY_APPLE = 0x8A0C + /// + ElementArrayApple = ((int)0x8A0C) , + /// + /// Original was GL_ELEMENT_ARRAY_TYPE_APPLE = 0x8A0D + /// + ElementArrayTypeApple = ((int)0x8A0D) , + /// + /// Original was GL_ELEMENT_ARRAY_POINTER_APPLE = 0x8A0E + /// + ElementArrayPointerApple = ((int)0x8A0E) , + /// + /// Original was GL_COLOR_FLOAT_APPLE = 0x8A0F + /// + ColorFloatApple = ((int)0x8A0F) , + /// + /// Original was GL_UNIFORM_BUFFER = 0x8A11 + /// + UniformBuffer = ((int)0x8A11) , + /// + /// Original was GL_BUFFER_SERIALIZED_MODIFY_APPLE = 0x8A12 + /// + BufferSerializedModifyApple = ((int)0x8A12) , + /// + /// Original was GL_BUFFER_FLUSHING_UNMAP_APPLE = 0x8A13 + /// + BufferFlushingUnmapApple = ((int)0x8A13) , + /// + /// Original was GL_AUX_DEPTH_STENCIL_APPLE = 0x8A14 + /// + AuxDepthStencilApple = ((int)0x8A14) , + /// + /// Original was GL_PACK_ROW_BYTES_APPLE = 0x8A15 + /// + PackRowBytesApple = ((int)0x8A15) , + /// + /// Original was GL_UNPACK_ROW_BYTES_APPLE = 0x8A16 + /// + UnpackRowBytesApple = ((int)0x8A16) , + /// + /// Original was GL_RELEASED_APPLE = 0x8A19 + /// + ReleasedApple = ((int)0x8A19) , + /// + /// Original was GL_VOLATILE_APPLE = 0x8A1A + /// + VolatileApple = ((int)0x8A1A) , + /// + /// Original was GL_RETAINED_APPLE = 0x8A1B + /// + RetainedApple = ((int)0x8A1B) , + /// + /// Original was GL_UNDEFINED_APPLE = 0x8A1C + /// + UndefinedApple = ((int)0x8A1C) , + /// + /// Original was GL_PURGEABLE_APPLE = 0x8A1D + /// + PurgeableApple = ((int)0x8A1D) , + /// + /// Original was GL_RGB_422_APPLE = 0x8A1F + /// + Rgb422Apple = ((int)0x8A1F) , + /// + /// Original was GL_UNIFORM_BUFFER_BINDING = 0x8A28 + /// + UniformBufferBinding = ((int)0x8A28) , + /// + /// Original was GL_UNIFORM_BUFFER_START = 0x8A29 + /// + UniformBufferStart = ((int)0x8A29) , + /// + /// Original was GL_UNIFORM_BUFFER_SIZE = 0x8A2A + /// + UniformBufferSize = ((int)0x8A2A) , + /// + /// Original was GL_MAX_VERTEX_UNIFORM_BLOCKS = 0x8A2B + /// + MaxVertexUniformBlocks = ((int)0x8A2B) , + /// + /// Original was GL_MAX_GEOMETRY_UNIFORM_BLOCKS = 0x8A2C + /// + MaxGeometryUniformBlocks = ((int)0x8A2C) , + /// + /// Original was GL_MAX_FRAGMENT_UNIFORM_BLOCKS = 0x8A2D + /// + MaxFragmentUniformBlocks = ((int)0x8A2D) , + /// + /// Original was GL_MAX_COMBINED_UNIFORM_BLOCKS = 0x8A2E + /// + MaxCombinedUniformBlocks = ((int)0x8A2E) , + /// + /// Original was GL_MAX_UNIFORM_BUFFER_BINDINGS = 0x8A2F + /// + MaxUniformBufferBindings = ((int)0x8A2F) , + /// + /// Original was GL_MAX_UNIFORM_BLOCK_SIZE = 0x8A30 + /// + MaxUniformBlockSize = ((int)0x8A30) , + /// + /// Original was GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS = 0x8A31 + /// + MaxCombinedVertexUniformComponents = ((int)0x8A31) , + /// + /// Original was GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS = 0x8A32 + /// + MaxCombinedGeometryUniformComponents = ((int)0x8A32) , + /// + /// Original was GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS = 0x8A33 + /// + MaxCombinedFragmentUniformComponents = ((int)0x8A33) , + /// + /// Original was GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT = 0x8A34 + /// + UniformBufferOffsetAlignment = ((int)0x8A34) , + /// + /// Original was GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH = 0x8A35 + /// + ActiveUniformBlockMaxNameLength = ((int)0x8A35) , + /// + /// Original was GL_ACTIVE_UNIFORM_BLOCKS = 0x8A36 + /// + ActiveUniformBlocks = ((int)0x8A36) , + /// + /// Original was GL_UNIFORM_TYPE = 0x8A37 + /// + UniformType = ((int)0x8A37) , + /// + /// Original was GL_UNIFORM_SIZE = 0x8A38 + /// + UniformSize = ((int)0x8A38) , + /// + /// Original was GL_UNIFORM_NAME_LENGTH = 0x8A39 + /// + UniformNameLength = ((int)0x8A39) , + /// + /// Original was GL_UNIFORM_BLOCK_INDEX = 0x8A3A + /// + UniformBlockIndex = ((int)0x8A3A) , + /// + /// Original was GL_UNIFORM_OFFSET = 0x8A3B + /// + UniformOffset = ((int)0x8A3B) , + /// + /// Original was GL_UNIFORM_ARRAY_STRIDE = 0x8A3C + /// + UniformArrayStride = ((int)0x8A3C) , + /// + /// Original was GL_UNIFORM_MATRIX_STRIDE = 0x8A3D + /// + UniformMatrixStride = ((int)0x8A3D) , + /// + /// Original was GL_UNIFORM_IS_ROW_MAJOR = 0x8A3E + /// + UniformIsRowMajor = ((int)0x8A3E) , + /// + /// Original was GL_UNIFORM_BLOCK_BINDING = 0x8A3F + /// + UniformBlockBinding = ((int)0x8A3F) , + /// + /// Original was GL_UNIFORM_BLOCK_DATA_SIZE = 0x8A40 + /// + UniformBlockDataSize = ((int)0x8A40) , + /// + /// Original was GL_UNIFORM_BLOCK_NAME_LENGTH = 0x8A41 + /// + UniformBlockNameLength = ((int)0x8A41) , + /// + /// Original was GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS = 0x8A42 + /// + UniformBlockActiveUniforms = ((int)0x8A42) , + /// + /// Original was GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES = 0x8A43 + /// + UniformBlockActiveUniformIndices = ((int)0x8A43) , + /// + /// Original was GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER = 0x8A44 + /// + UniformBlockReferencedByVertexShader = ((int)0x8A44) , + /// + /// Original was GL_UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER = 0x8A45 + /// + UniformBlockReferencedByGeometryShader = ((int)0x8A45) , + /// + /// Original was GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER = 0x8A46 + /// + UniformBlockReferencedByFragmentShader = ((int)0x8A46) , + /// + /// Original was GL_TEXTURE_SRGB_DECODE_EXT = 0x8A48 + /// + TextureSrgbDecodeExt = ((int)0x8A48) , + /// + /// Original was GL_DECODE_EXT = 0x8A49 + /// + DecodeExt = ((int)0x8A49) , + /// + /// Original was GL_SKIP_DECODE_EXT = 0x8A4A + /// + SkipDecodeExt = ((int)0x8A4A) , + /// + /// Original was GL_FRAGMENT_SHADER = 0x8B30 + /// + FragmentShader = ((int)0x8B30) , + /// + /// Original was GL_FRAGMENT_SHADER_ARB = 0x8B30 + /// + FragmentShaderArb = ((int)0x8B30) , + /// + /// Original was GL_VERTEX_SHADER = 0x8B31 + /// + VertexShader = ((int)0x8B31) , + /// + /// Original was GL_VERTEX_SHADER_ARB = 0x8B31 + /// + VertexShaderArb = ((int)0x8B31) , + /// + /// Original was GL_PROGRAM_OBJECT_ARB = 0x8B40 + /// + ProgramObjectArb = ((int)0x8B40) , + /// + /// Original was GL_SHADER_OBJECT_ARB = 0x8B48 + /// + ShaderObjectArb = ((int)0x8B48) , + /// + /// Original was GL_MAX_FRAGMENT_UNIFORM_COMPONENTS = 0x8B49 + /// + MaxFragmentUniformComponents = ((int)0x8B49) , + /// + /// Original was GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB = 0x8B49 + /// + MaxFragmentUniformComponentsArb = ((int)0x8B49) , + /// + /// Original was GL_MAX_VERTEX_UNIFORM_COMPONENTS = 0x8B4A + /// + MaxVertexUniformComponents = ((int)0x8B4A) , + /// + /// Original was GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB = 0x8B4A + /// + MaxVertexUniformComponentsArb = ((int)0x8B4A) , + /// + /// Original was GL_MAX_VARYING_COMPONENTS = 0x8B4B + /// + MaxVaryingComponents = ((int)0x8B4B) , + /// + /// Original was GL_MAX_VARYING_COMPONENTS_EXT = 0x8B4B + /// + MaxVaryingComponentsExt = ((int)0x8B4B) , + /// + /// Original was GL_MAX_VARYING_FLOATS = 0x8B4B + /// + MaxVaryingFloats = ((int)0x8B4B) , + /// + /// Original was GL_MAX_VARYING_FLOATS_ARB = 0x8B4B + /// + MaxVaryingFloatsArb = ((int)0x8B4B) , + /// + /// Original was GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS = 0x8B4C + /// + MaxVertexTextureImageUnits = ((int)0x8B4C) , + /// + /// Original was GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB = 0x8B4C + /// + MaxVertexTextureImageUnitsArb = ((int)0x8B4C) , + /// + /// Original was GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS = 0x8B4D + /// + MaxCombinedTextureImageUnits = ((int)0x8B4D) , + /// + /// Original was GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB = 0x8B4D + /// + MaxCombinedTextureImageUnitsArb = ((int)0x8B4D) , + /// + /// Original was GL_OBJECT_TYPE_ARB = 0x8B4E + /// + ObjectTypeArb = ((int)0x8B4E) , + /// + /// Original was GL_OBJECT_SUBTYPE_ARB = 0x8B4F + /// + ObjectSubtypeArb = ((int)0x8B4F) , + /// + /// Original was GL_SHADER_TYPE = 0x8B4F + /// + ShaderType = ((int)0x8B4F) , + /// + /// Original was GL_FLOAT_VEC2 = 0x8B50 + /// + FloatVec2 = ((int)0x8B50) , + /// + /// Original was GL_FLOAT_VEC2_ARB = 0x8B50 + /// + FloatVec2Arb = ((int)0x8B50) , + /// + /// Original was GL_FLOAT_VEC3 = 0x8B51 + /// + FloatVec3 = ((int)0x8B51) , + /// + /// Original was GL_FLOAT_VEC3_ARB = 0x8B51 + /// + FloatVec3Arb = ((int)0x8B51) , + /// + /// Original was GL_FLOAT_VEC4 = 0x8B52 + /// + FloatVec4 = ((int)0x8B52) , + /// + /// Original was GL_FLOAT_VEC4_ARB = 0x8B52 + /// + FloatVec4Arb = ((int)0x8B52) , + /// + /// Original was GL_INT_VEC2 = 0x8B53 + /// + IntVec2 = ((int)0x8B53) , + /// + /// Original was GL_INT_VEC2_ARB = 0x8B53 + /// + IntVec2Arb = ((int)0x8B53) , + /// + /// Original was GL_INT_VEC3 = 0x8B54 + /// + IntVec3 = ((int)0x8B54) , + /// + /// Original was GL_INT_VEC3_ARB = 0x8B54 + /// + IntVec3Arb = ((int)0x8B54) , + /// + /// Original was GL_INT_VEC4 = 0x8B55 + /// + IntVec4 = ((int)0x8B55) , + /// + /// Original was GL_INT_VEC4_ARB = 0x8B55 + /// + IntVec4Arb = ((int)0x8B55) , + /// + /// Original was GL_BOOL = 0x8B56 + /// + Bool = ((int)0x8B56) , + /// + /// Original was GL_BOOL_ARB = 0x8B56 + /// + BoolArb = ((int)0x8B56) , + /// + /// Original was GL_BOOL_VEC2 = 0x8B57 + /// + BoolVec2 = ((int)0x8B57) , + /// + /// Original was GL_BOOL_VEC2_ARB = 0x8B57 + /// + BoolVec2Arb = ((int)0x8B57) , + /// + /// Original was GL_BOOL_VEC3 = 0x8B58 + /// + BoolVec3 = ((int)0x8B58) , + /// + /// Original was GL_BOOL_VEC3_ARB = 0x8B58 + /// + BoolVec3Arb = ((int)0x8B58) , + /// + /// Original was GL_BOOL_VEC4 = 0x8B59 + /// + BoolVec4 = ((int)0x8B59) , + /// + /// Original was GL_BOOL_VEC4_ARB = 0x8B59 + /// + BoolVec4Arb = ((int)0x8B59) , + /// + /// Original was GL_FLOAT_MAT2 = 0x8B5A + /// + FloatMat2 = ((int)0x8B5A) , + /// + /// Original was GL_FLOAT_MAT2_ARB = 0x8B5A + /// + FloatMat2Arb = ((int)0x8B5A) , + /// + /// Original was GL_FLOAT_MAT3 = 0x8B5B + /// + FloatMat3 = ((int)0x8B5B) , + /// + /// Original was GL_FLOAT_MAT3_ARB = 0x8B5B + /// + FloatMat3Arb = ((int)0x8B5B) , + /// + /// Original was GL_FLOAT_MAT4 = 0x8B5C + /// + FloatMat4 = ((int)0x8B5C) , + /// + /// Original was GL_FLOAT_MAT4_ARB = 0x8B5C + /// + FloatMat4Arb = ((int)0x8B5C) , + /// + /// Original was GL_SAMPLER_1D = 0x8B5D + /// + Sampler1D = ((int)0x8B5D) , + /// + /// Original was GL_SAMPLER_1D_ARB = 0x8B5D + /// + Sampler1DArb = ((int)0x8B5D) , + /// + /// Original was GL_SAMPLER_2D = 0x8B5E + /// + Sampler2D = ((int)0x8B5E) , + /// + /// Original was GL_SAMPLER_2D_ARB = 0x8B5E + /// + Sampler2DArb = ((int)0x8B5E) , + /// + /// Original was GL_SAMPLER_3D = 0x8B5F + /// + Sampler3D = ((int)0x8B5F) , + /// + /// Original was GL_SAMPLER_3D_ARB = 0x8B5F + /// + Sampler3DArb = ((int)0x8B5F) , + /// + /// Original was GL_SAMPLER_3D_OES = 0x8B5F + /// + Sampler3DOes = ((int)0x8B5F) , + /// + /// Original was GL_SAMPLER_CUBE = 0x8B60 + /// + SamplerCube = ((int)0x8B60) , + /// + /// Original was GL_SAMPLER_CUBE_ARB = 0x8B60 + /// + SamplerCubeArb = ((int)0x8B60) , + /// + /// Original was GL_SAMPLER_1D_SHADOW = 0x8B61 + /// + Sampler1DShadow = ((int)0x8B61) , + /// + /// Original was GL_SAMPLER_1D_SHADOW_ARB = 0x8B61 + /// + Sampler1DShadowArb = ((int)0x8B61) , + /// + /// Original was GL_SAMPLER_2D_SHADOW = 0x8B62 + /// + Sampler2DShadow = ((int)0x8B62) , + /// + /// Original was GL_SAMPLER_2D_SHADOW_ARB = 0x8B62 + /// + Sampler2DShadowArb = ((int)0x8B62) , + /// + /// Original was GL_SAMPLER_2D_RECT = 0x8B63 + /// + Sampler2DRect = ((int)0x8B63) , + /// + /// Original was GL_SAMPLER_2D_RECT_ARB = 0x8B63 + /// + Sampler2DRectArb = ((int)0x8B63) , + /// + /// Original was GL_SAMPLER_2D_RECT_SHADOW = 0x8B64 + /// + Sampler2DRectShadow = ((int)0x8B64) , + /// + /// Original was GL_SAMPLER_2D_RECT_SHADOW_ARB = 0x8B64 + /// + Sampler2DRectShadowArb = ((int)0x8B64) , + /// + /// Original was GL_FLOAT_MAT2x3 = 0x8B65 + /// + FloatMat2x3 = ((int)0x8B65) , + /// + /// Original was GL_FLOAT_MAT2x4 = 0x8B66 + /// + FloatMat2x4 = ((int)0x8B66) , + /// + /// Original was GL_FLOAT_MAT3x2 = 0x8B67 + /// + FloatMat3x2 = ((int)0x8B67) , + /// + /// Original was GL_FLOAT_MAT3x4 = 0x8B68 + /// + FloatMat3x4 = ((int)0x8B68) , + /// + /// Original was GL_FLOAT_MAT4x2 = 0x8B69 + /// + FloatMat4x2 = ((int)0x8B69) , + /// + /// Original was GL_FLOAT_MAT4x3 = 0x8B6A + /// + FloatMat4x3 = ((int)0x8B6A) , + /// + /// Original was GL_DELETE_STATUS = 0x8B80 + /// + DeleteStatus = ((int)0x8B80) , + /// + /// Original was GL_OBJECT_DELETE_STATUS_ARB = 0x8B80 + /// + ObjectDeleteStatusArb = ((int)0x8B80) , + /// + /// Original was GL_COMPILE_STATUS = 0x8B81 + /// + CompileStatus = ((int)0x8B81) , + /// + /// Original was GL_OBJECT_COMPILE_STATUS_ARB = 0x8B81 + /// + ObjectCompileStatusArb = ((int)0x8B81) , + /// + /// Original was GL_LINK_STATUS = 0x8B82 + /// + LinkStatus = ((int)0x8B82) , + /// + /// Original was GL_OBJECT_LINK_STATUS_ARB = 0x8B82 + /// + ObjectLinkStatusArb = ((int)0x8B82) , + /// + /// Original was GL_OBJECT_VALIDATE_STATUS_ARB = 0x8B83 + /// + ObjectValidateStatusArb = ((int)0x8B83) , + /// + /// Original was GL_VALIDATE_STATUS = 0x8B83 + /// + ValidateStatus = ((int)0x8B83) , + /// + /// Original was GL_INFO_LOG_LENGTH = 0x8B84 + /// + InfoLogLength = ((int)0x8B84) , + /// + /// Original was GL_OBJECT_INFO_LOG_LENGTH_ARB = 0x8B84 + /// + ObjectInfoLogLengthArb = ((int)0x8B84) , + /// + /// Original was GL_ATTACHED_SHADERS = 0x8B85 + /// + AttachedShaders = ((int)0x8B85) , + /// + /// Original was GL_OBJECT_ATTACHED_OBJECTS_ARB = 0x8B85 + /// + ObjectAttachedObjectsArb = ((int)0x8B85) , + /// + /// Original was GL_ACTIVE_UNIFORMS = 0x8B86 + /// + ActiveUniforms = ((int)0x8B86) , + /// + /// Original was GL_OBJECT_ACTIVE_UNIFORMS_ARB = 0x8B86 + /// + ObjectActiveUniformsArb = ((int)0x8B86) , + /// + /// Original was GL_ACTIVE_UNIFORM_MAX_LENGTH = 0x8B87 + /// + ActiveUniformMaxLength = ((int)0x8B87) , + /// + /// Original was GL_OBJECT_ACTIVE_UNIFORM_MAX_LENGTH_ARB = 0x8B87 + /// + ObjectActiveUniformMaxLengthArb = ((int)0x8B87) , + /// + /// Original was GL_OBJECT_SHADER_SOURCE_LENGTH_ARB = 0x8B88 + /// + ObjectShaderSourceLengthArb = ((int)0x8B88) , + /// + /// Original was GL_SHADER_SOURCE_LENGTH = 0x8B88 + /// + ShaderSourceLength = ((int)0x8B88) , + /// + /// Original was GL_ACTIVE_ATTRIBUTES = 0x8B89 + /// + ActiveAttributes = ((int)0x8B89) , + /// + /// Original was GL_OBJECT_ACTIVE_ATTRIBUTES_ARB = 0x8B89 + /// + ObjectActiveAttributesArb = ((int)0x8B89) , + /// + /// Original was GL_ACTIVE_ATTRIBUTE_MAX_LENGTH = 0x8B8A + /// + ActiveAttributeMaxLength = ((int)0x8B8A) , + /// + /// Original was GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB = 0x8B8A + /// + ObjectActiveAttributeMaxLengthArb = ((int)0x8B8A) , + /// + /// Original was GL_FRAGMENT_SHADER_DERIVATIVE_HINT = 0x8B8B + /// + FragmentShaderDerivativeHint = ((int)0x8B8B) , + /// + /// Original was GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB = 0x8B8B + /// + FragmentShaderDerivativeHintArb = ((int)0x8B8B) , + /// + /// Original was GL_FRAGMENT_SHADER_DERIVATIVE_HINT_OES = 0x8B8B + /// + FragmentShaderDerivativeHintOes = ((int)0x8B8B) , + /// + /// Original was GL_SHADING_LANGUAGE_VERSION = 0x8B8C + /// + ShadingLanguageVersion = ((int)0x8B8C) , + /// + /// Original was GL_SHADING_LANGUAGE_VERSION_ARB = 0x8B8C + /// + ShadingLanguageVersionArb = ((int)0x8B8C) , + /// + /// Original was GL_ACTIVE_PROGRAM_EXT = 0x8B8D + /// + ActiveProgramExt = ((int)0x8B8D) , + /// + /// Original was GL_CURRENT_PROGRAM = 0x8B8D + /// + CurrentProgram = ((int)0x8B8D) , + /// + /// Original was GL_PALETTE4_RGB8_OES = 0x8B90 + /// + Palette4Rgb8Oes = ((int)0x8B90) , + /// + /// Original was GL_PALETTE4_RGBA8_OES = 0x8B91 + /// + Palette4Rgba8Oes = ((int)0x8B91) , + /// + /// Original was GL_PALETTE4_R5_G6_B5_OES = 0x8B92 + /// + Palette4R5G6B5Oes = ((int)0x8B92) , + /// + /// Original was GL_PALETTE4_RGBA4_OES = 0x8B93 + /// + Palette4Rgba4Oes = ((int)0x8B93) , + /// + /// Original was GL_PALETTE4_RGB5_A1_OES = 0x8B94 + /// + Palette4Rgb5A1Oes = ((int)0x8B94) , + /// + /// Original was GL_PALETTE8_RGB8_OES = 0x8B95 + /// + Palette8Rgb8Oes = ((int)0x8B95) , + /// + /// Original was GL_PALETTE8_RGBA8_OES = 0x8B96 + /// + Palette8Rgba8Oes = ((int)0x8B96) , + /// + /// Original was GL_PALETTE8_R5_G6_B5_OES = 0x8B97 + /// + Palette8R5G6B5Oes = ((int)0x8B97) , + /// + /// Original was GL_PALETTE8_RGBA4_OES = 0x8B98 + /// + Palette8Rgba4Oes = ((int)0x8B98) , + /// + /// Original was GL_PALETTE8_RGB5_A1_OES = 0x8B99 + /// + Palette8Rgb5A1Oes = ((int)0x8B99) , + /// + /// Original was GL_IMPLEMENTATION_COLOR_READ_TYPE = 0x8B9A + /// + ImplementationColorReadType = ((int)0x8B9A) , + /// + /// Original was GL_IMPLEMENTATION_COLOR_READ_TYPE_OES = 0x8B9A + /// + ImplementationColorReadTypeOes = ((int)0x8B9A) , + /// + /// Original was GL_IMPLEMENTATION_COLOR_READ_FORMAT = 0x8B9B + /// + ImplementationColorReadFormat = ((int)0x8B9B) , + /// + /// Original was GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES = 0x8B9B + /// + ImplementationColorReadFormatOes = ((int)0x8B9B) , + /// + /// Original was GL_POINT_SIZE_ARRAY_OES = 0x8B9C + /// + PointSizeArrayOes = ((int)0x8B9C) , + /// + /// Original was GL_TEXTURE_CROP_RECT_OES = 0x8B9D + /// + TextureCropRectOes = ((int)0x8B9D) , + /// + /// Original was GL_MATRIX_INDEX_ARRAY_BUFFER_BINDING_OES = 0x8B9E + /// + MatrixIndexArrayBufferBindingOes = ((int)0x8B9E) , + /// + /// Original was GL_POINT_SIZE_ARRAY_BUFFER_BINDING_OES = 0x8B9F + /// + PointSizeArrayBufferBindingOes = ((int)0x8B9F) , + /// + /// Original was GL_FRAGMENT_PROGRAM_POSITION_MESA = 0x8BB0 + /// + FragmentProgramPositionMesa = ((int)0x8BB0) , + /// + /// Original was GL_FRAGMENT_PROGRAM_CALLBACK_MESA = 0x8BB1 + /// + FragmentProgramCallbackMesa = ((int)0x8BB1) , + /// + /// Original was GL_FRAGMENT_PROGRAM_CALLBACK_FUNC_MESA = 0x8BB2 + /// + FragmentProgramCallbackFuncMesa = ((int)0x8BB2) , + /// + /// Original was GL_FRAGMENT_PROGRAM_CALLBACK_DATA_MESA = 0x8BB3 + /// + FragmentProgramCallbackDataMesa = ((int)0x8BB3) , + /// + /// Original was GL_VERTEX_PROGRAM_CALLBACK_MESA = 0x8BB4 + /// + VertexProgramCallbackMesa = ((int)0x8BB4) , + /// + /// Original was GL_VERTEX_PROGRAM_POSITION_MESA = 0x8BB4 + /// + VertexProgramPositionMesa = ((int)0x8BB4) , + /// + /// Original was GL_VERTEX_PROGRAM_CALLBACK_FUNC_MESA = 0x8BB6 + /// + VertexProgramCallbackFuncMesa = ((int)0x8BB6) , + /// + /// Original was GL_VERTEX_PROGRAM_CALLBACK_DATA_MESA = 0x8BB7 + /// + VertexProgramCallbackDataMesa = ((int)0x8BB7) , + /// + /// Original was GL_COUNTER_TYPE_AMD = 0x8BC0 + /// + CounterTypeAmd = ((int)0x8BC0) , + /// + /// Original was GL_COUNTER_RANGE_AMD = 0x8BC1 + /// + CounterRangeAmd = ((int)0x8BC1) , + /// + /// Original was GL_UNSIGNED_INT64_AMD = 0x8BC2 + /// + UnsignedInt64Amd = ((int)0x8BC2) , + /// + /// Original was GL_PERCENTAGE_AMD = 0x8BC3 + /// + PercentageAmd = ((int)0x8BC3) , + /// + /// Original was GL_PERFMON_RESULT_AVAILABLE_AMD = 0x8BC4 + /// + PerfmonResultAvailableAmd = ((int)0x8BC4) , + /// + /// Original was GL_PERFMON_RESULT_SIZE_AMD = 0x8BC5 + /// + PerfmonResultSizeAmd = ((int)0x8BC5) , + /// + /// Original was GL_PERFMON_RESULT_AMD = 0x8BC6 + /// + PerfmonResultAmd = ((int)0x8BC6) , + /// + /// Original was GL_TEXTURE_WIDTH_QCOM = 0x8BD2 + /// + TextureWidthQcom = ((int)0x8BD2) , + /// + /// Original was GL_TEXTURE_HEIGHT_QCOM = 0x8BD3 + /// + TextureHeightQcom = ((int)0x8BD3) , + /// + /// Original was GL_TEXTURE_DEPTH_QCOM = 0x8BD4 + /// + TextureDepthQcom = ((int)0x8BD4) , + /// + /// Original was GL_TEXTURE_INTERNAL_FORMAT_QCOM = 0x8BD5 + /// + TextureInternalFormatQcom = ((int)0x8BD5) , + /// + /// Original was GL_TEXTURE_FORMAT_QCOM = 0x8BD6 + /// + TextureFormatQcom = ((int)0x8BD6) , + /// + /// Original was GL_TEXTURE_TYPE_QCOM = 0x8BD7 + /// + TextureTypeQcom = ((int)0x8BD7) , + /// + /// Original was GL_TEXTURE_IMAGE_VALID_QCOM = 0x8BD8 + /// + TextureImageValidQcom = ((int)0x8BD8) , + /// + /// Original was GL_TEXTURE_NUM_LEVELS_QCOM = 0x8BD9 + /// + TextureNumLevelsQcom = ((int)0x8BD9) , + /// + /// Original was GL_TEXTURE_TARGET_QCOM = 0x8BDA + /// + TextureTargetQcom = ((int)0x8BDA) , + /// + /// Original was GL_TEXTURE_OBJECT_VALID_QCOM = 0x8BDB + /// + TextureObjectValidQcom = ((int)0x8BDB) , + /// + /// Original was GL_STATE_RESTORE = 0x8BDC + /// + StateRestore = ((int)0x8BDC) , + /// + /// Original was GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG = 0x8C00 + /// + CompressedRgbPvrtc4Bppv1Img = ((int)0x8C00) , + /// + /// Original was GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG = 0x8C01 + /// + CompressedRgbPvrtc2Bppv1Img = ((int)0x8C01) , + /// + /// Original was GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG = 0x8C02 + /// + CompressedRgbaPvrtc4Bppv1Img = ((int)0x8C02) , + /// + /// Original was GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG = 0x8C03 + /// + CompressedRgbaPvrtc2Bppv1Img = ((int)0x8C03) , + /// + /// Original was GL_MODULATE_COLOR_IMG = 0x8C04 + /// + ModulateColorImg = ((int)0x8C04) , + /// + /// Original was GL_RECIP_ADD_SIGNED_ALPHA_IMG = 0x8C05 + /// + RecipAddSignedAlphaImg = ((int)0x8C05) , + /// + /// Original was GL_TEXTURE_ALPHA_MODULATE_IMG = 0x8C06 + /// + TextureAlphaModulateImg = ((int)0x8C06) , + /// + /// Original was GL_FACTOR_ALPHA_MODULATE_IMG = 0x8C07 + /// + FactorAlphaModulateImg = ((int)0x8C07) , + /// + /// Original was GL_FRAGMENT_ALPHA_MODULATE_IMG = 0x8C08 + /// + FragmentAlphaModulateImg = ((int)0x8C08) , + /// + /// Original was GL_ADD_BLEND_IMG = 0x8C09 + /// + AddBlendImg = ((int)0x8C09) , + /// + /// Original was GL_SGX_BINARY_IMG = 0x8C0A + /// + SgxBinaryImg = ((int)0x8C0A) , + /// + /// Original was GL_TEXTURE_RED_TYPE = 0x8C10 + /// + TextureRedType = ((int)0x8C10) , + /// + /// Original was GL_TEXTURE_RED_TYPE_ARB = 0x8C10 + /// + TextureRedTypeArb = ((int)0x8C10) , + /// + /// Original was GL_TEXTURE_GREEN_TYPE = 0x8C11 + /// + TextureGreenType = ((int)0x8C11) , + /// + /// Original was GL_TEXTURE_GREEN_TYPE_ARB = 0x8C11 + /// + TextureGreenTypeArb = ((int)0x8C11) , + /// + /// Original was GL_TEXTURE_BLUE_TYPE = 0x8C12 + /// + TextureBlueType = ((int)0x8C12) , + /// + /// Original was GL_TEXTURE_BLUE_TYPE_ARB = 0x8C12 + /// + TextureBlueTypeArb = ((int)0x8C12) , + /// + /// Original was GL_TEXTURE_ALPHA_TYPE = 0x8C13 + /// + TextureAlphaType = ((int)0x8C13) , + /// + /// Original was GL_TEXTURE_ALPHA_TYPE_ARB = 0x8C13 + /// + TextureAlphaTypeArb = ((int)0x8C13) , + /// + /// Original was GL_TEXTURE_LUMINANCE_TYPE = 0x8C14 + /// + TextureLuminanceType = ((int)0x8C14) , + /// + /// Original was GL_TEXTURE_LUMINANCE_TYPE_ARB = 0x8C14 + /// + TextureLuminanceTypeArb = ((int)0x8C14) , + /// + /// Original was GL_TEXTURE_INTENSITY_TYPE = 0x8C15 + /// + TextureIntensityType = ((int)0x8C15) , + /// + /// Original was GL_TEXTURE_INTENSITY_TYPE_ARB = 0x8C15 + /// + TextureIntensityTypeArb = ((int)0x8C15) , + /// + /// Original was GL_TEXTURE_DEPTH_TYPE = 0x8C16 + /// + TextureDepthType = ((int)0x8C16) , + /// + /// Original was GL_TEXTURE_DEPTH_TYPE_ARB = 0x8C16 + /// + TextureDepthTypeArb = ((int)0x8C16) , + /// + /// Original was GL_UNSIGNED_NORMALIZED = 0x8C17 + /// + UnsignedNormalized = ((int)0x8C17) , + /// + /// Original was GL_UNSIGNED_NORMALIZED_ARB = 0x8C17 + /// + UnsignedNormalizedArb = ((int)0x8C17) , + /// + /// Original was GL_TEXTURE_1D_ARRAY = 0x8C18 + /// + Texture1DArray = ((int)0x8C18) , + /// + /// Original was GL_TEXTURE_1D_ARRAY_EXT = 0x8C18 + /// + Texture1DArrayExt = ((int)0x8C18) , + /// + /// Original was GL_PROXY_TEXTURE_1D_ARRAY = 0x8C19 + /// + ProxyTexture1DArray = ((int)0x8C19) , + /// + /// Original was GL_PROXY_TEXTURE_1D_ARRAY_EXT = 0x8C19 + /// + ProxyTexture1DArrayExt = ((int)0x8C19) , + /// + /// Original was GL_TEXTURE_2D_ARRAY = 0x8C1A + /// + Texture2DArray = ((int)0x8C1A) , + /// + /// Original was GL_TEXTURE_2D_ARRAY_EXT = 0x8C1A + /// + Texture2DArrayExt = ((int)0x8C1A) , + /// + /// Original was GL_PROXY_TEXTURE_2D_ARRAY = 0x8C1B + /// + ProxyTexture2DArray = ((int)0x8C1B) , + /// + /// Original was GL_PROXY_TEXTURE_2D_ARRAY_EXT = 0x8C1B + /// + ProxyTexture2DArrayExt = ((int)0x8C1B) , + /// + /// Original was GL_TEXTURE_BINDING_1D_ARRAY = 0x8C1C + /// + TextureBinding1DArray = ((int)0x8C1C) , + /// + /// Original was GL_TEXTURE_BINDING_1D_ARRAY_EXT = 0x8C1C + /// + TextureBinding1DArrayExt = ((int)0x8C1C) , + /// + /// Original was GL_TEXTURE_BINDING_2D_ARRAY = 0x8C1D + /// + TextureBinding2DArray = ((int)0x8C1D) , + /// + /// Original was GL_TEXTURE_BINDING_2D_ARRAY_EXT = 0x8C1D + /// + TextureBinding2DArrayExt = ((int)0x8C1D) , + /// + /// Original was GL_GEOMETRY_PROGRAM_NV = 0x8C26 + /// + GeometryProgramNv = ((int)0x8C26) , + /// + /// Original was GL_MAX_PROGRAM_OUTPUT_VERTICES_NV = 0x8C27 + /// + MaxProgramOutputVerticesNv = ((int)0x8C27) , + /// + /// Original was GL_MAX_PROGRAM_TOTAL_OUTPUT_COMPONENTS_NV = 0x8C28 + /// + MaxProgramTotalOutputComponentsNv = ((int)0x8C28) , + /// + /// Original was GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS = 0x8C29 + /// + MaxGeometryTextureImageUnits = ((int)0x8C29) , + /// + /// Original was GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_ARB = 0x8C29 + /// + MaxGeometryTextureImageUnitsArb = ((int)0x8C29) , + /// + /// Original was GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT = 0x8C29 + /// + MaxGeometryTextureImageUnitsExt = ((int)0x8C29) , + /// + /// Original was GL_TEXTURE_BUFFER = 0x8C2A + /// + TextureBuffer = ((int)0x8C2A) , + /// + /// Original was GL_TEXTURE_BUFFER_ARB = 0x8C2A + /// + TextureBufferArb = ((int)0x8C2A) , + /// + /// Original was GL_TEXTURE_BUFFER_EXT = 0x8C2A + /// + TextureBufferExt = ((int)0x8C2A) , + /// + /// Original was GL_MAX_TEXTURE_BUFFER_SIZE = 0x8C2B + /// + MaxTextureBufferSize = ((int)0x8C2B) , + /// + /// Original was GL_MAX_TEXTURE_BUFFER_SIZE_ARB = 0x8C2B + /// + MaxTextureBufferSizeArb = ((int)0x8C2B) , + /// + /// Original was GL_MAX_TEXTURE_BUFFER_SIZE_EXT = 0x8C2B + /// + MaxTextureBufferSizeExt = ((int)0x8C2B) , + /// + /// Original was GL_TEXTURE_BINDING_BUFFER = 0x8C2C + /// + TextureBindingBuffer = ((int)0x8C2C) , + /// + /// Original was GL_TEXTURE_BINDING_BUFFER_ARB = 0x8C2C + /// + TextureBindingBufferArb = ((int)0x8C2C) , + /// + /// Original was GL_TEXTURE_BINDING_BUFFER_EXT = 0x8C2C + /// + TextureBindingBufferExt = ((int)0x8C2C) , + /// + /// Original was GL_TEXTURE_BUFFER_DATA_STORE_BINDING = 0x8C2D + /// + TextureBufferDataStoreBinding = ((int)0x8C2D) , + /// + /// Original was GL_TEXTURE_BUFFER_DATA_STORE_BINDING_ARB = 0x8C2D + /// + TextureBufferDataStoreBindingArb = ((int)0x8C2D) , + /// + /// Original was GL_TEXTURE_BUFFER_DATA_STORE_BINDING_EXT = 0x8C2D + /// + TextureBufferDataStoreBindingExt = ((int)0x8C2D) , + /// + /// Original was GL_TEXTURE_BUFFER_FORMAT = 0x8C2E + /// + TextureBufferFormat = ((int)0x8C2E) , + /// + /// Original was GL_TEXTURE_BUFFER_FORMAT_ARB = 0x8C2E + /// + TextureBufferFormatArb = ((int)0x8C2E) , + /// + /// Original was GL_TEXTURE_BUFFER_FORMAT_EXT = 0x8C2E + /// + TextureBufferFormatExt = ((int)0x8C2E) , + /// + /// Original was GL_ANY_SAMPLES_PASSED = 0x8C2F + /// + AnySamplesPassed = ((int)0x8C2F) , + /// + /// Original was GL_SAMPLE_SHADING = 0x8C36 + /// + SampleShading = ((int)0x8C36) , + /// + /// Original was GL_SAMPLE_SHADING_ARB = 0x8C36 + /// + SampleShadingArb = ((int)0x8C36) , + /// + /// Original was GL_MIN_SAMPLE_SHADING_VALUE = 0x8C37 + /// + MinSampleShadingValue = ((int)0x8C37) , + /// + /// Original was GL_MIN_SAMPLE_SHADING_VALUE_ARB = 0x8C37 + /// + MinSampleShadingValueArb = ((int)0x8C37) , + /// + /// Original was GL_R11F_G11F_B10F = 0x8C3A + /// + R11fG11fB10f = ((int)0x8C3A) , + /// + /// Original was GL_R11F_G11F_B10F_EXT = 0x8C3A + /// + R11fG11fB10fExt = ((int)0x8C3A) , + /// + /// Original was GL_UNSIGNED_INT_10F_11F_11F_REV = 0x8C3B + /// + UnsignedInt10F11F11FRev = ((int)0x8C3B) , + /// + /// Original was GL_UNSIGNED_INT_10F_11F_11F_REV_EXT = 0x8C3B + /// + UnsignedInt10F11F11FRevExt = ((int)0x8C3B) , + /// + /// Original was GL_RGBA_SIGNED_COMPONENTS_EXT = 0x8C3C + /// + RgbaSignedComponentsExt = ((int)0x8C3C) , + /// + /// Original was GL_RGB9_E5 = 0x8C3D + /// + Rgb9E5 = ((int)0x8C3D) , + /// + /// Original was GL_RGB9_E5_EXT = 0x8C3D + /// + Rgb9E5Ext = ((int)0x8C3D) , + /// + /// Original was GL_UNSIGNED_INT_5_9_9_9_REV = 0x8C3E + /// + UnsignedInt5999Rev = ((int)0x8C3E) , + /// + /// Original was GL_UNSIGNED_INT_5_9_9_9_REV_EXT = 0x8C3E + /// + UnsignedInt5999RevExt = ((int)0x8C3E) , + /// + /// Original was GL_TEXTURE_SHARED_SIZE = 0x8C3F + /// + TextureSharedSize = ((int)0x8C3F) , + /// + /// Original was GL_TEXTURE_SHARED_SIZE_EXT = 0x8C3F + /// + TextureSharedSizeExt = ((int)0x8C3F) , + /// + /// Original was GL_SRGB = 0x8C40 + /// + Srgb = ((int)0x8C40) , + /// + /// Original was GL_SRGB_EXT = 0x8C40 + /// + SrgbExt = ((int)0x8C40) , + /// + /// Original was GL_SRGB8 = 0x8C41 + /// + Srgb8 = ((int)0x8C41) , + /// + /// Original was GL_SRGB8_EXT = 0x8C41 + /// + Srgb8Ext = ((int)0x8C41) , + /// + /// Original was GL_SRGB_ALPHA = 0x8C42 + /// + SrgbAlpha = ((int)0x8C42) , + /// + /// Original was GL_SRGB_ALPHA_EXT = 0x8C42 + /// + SrgbAlphaExt = ((int)0x8C42) , + /// + /// Original was GL_SRGB8_ALPHA8 = 0x8C43 + /// + Srgb8Alpha8 = ((int)0x8C43) , + /// + /// Original was GL_SRGB8_ALPHA8_EXT = 0x8C43 + /// + Srgb8Alpha8Ext = ((int)0x8C43) , + /// + /// Original was GL_SLUMINANCE_ALPHA = 0x8C44 + /// + SluminanceAlpha = ((int)0x8C44) , + /// + /// Original was GL_SLUMINANCE_ALPHA_EXT = 0x8C44 + /// + SluminanceAlphaExt = ((int)0x8C44) , + /// + /// Original was GL_SLUMINANCE8_ALPHA8 = 0x8C45 + /// + Sluminance8Alpha8 = ((int)0x8C45) , + /// + /// Original was GL_SLUMINANCE8_ALPHA8_EXT = 0x8C45 + /// + Sluminance8Alpha8Ext = ((int)0x8C45) , + /// + /// Original was GL_SLUMINANCE = 0x8C46 + /// + Sluminance = ((int)0x8C46) , + /// + /// Original was GL_SLUMINANCE_EXT = 0x8C46 + /// + SluminanceExt = ((int)0x8C46) , + /// + /// Original was GL_SLUMINANCE8 = 0x8C47 + /// + Sluminance8 = ((int)0x8C47) , + /// + /// Original was GL_SLUMINANCE8_EXT = 0x8C47 + /// + Sluminance8Ext = ((int)0x8C47) , + /// + /// Original was GL_COMPRESSED_SRGB = 0x8C48 + /// + CompressedSrgb = ((int)0x8C48) , + /// + /// Original was GL_COMPRESSED_SRGB_EXT = 0x8C48 + /// + CompressedSrgbExt = ((int)0x8C48) , + /// + /// Original was GL_COMPRESSED_SRGB_ALPHA = 0x8C49 + /// + CompressedSrgbAlpha = ((int)0x8C49) , + /// + /// Original was GL_COMPRESSED_SRGB_ALPHA_EXT = 0x8C49 + /// + CompressedSrgbAlphaExt = ((int)0x8C49) , + /// + /// Original was GL_COMPRESSED_SLUMINANCE = 0x8C4A + /// + CompressedSluminance = ((int)0x8C4A) , + /// + /// Original was GL_COMPRESSED_SLUMINANCE_EXT = 0x8C4A + /// + CompressedSluminanceExt = ((int)0x8C4A) , + /// + /// Original was GL_COMPRESSED_SLUMINANCE_ALPHA = 0x8C4B + /// + CompressedSluminanceAlpha = ((int)0x8C4B) , + /// + /// Original was GL_COMPRESSED_SLUMINANCE_ALPHA_EXT = 0x8C4B + /// + CompressedSluminanceAlphaExt = ((int)0x8C4B) , + /// + /// Original was GL_COMPRESSED_SRGB_S3TC_DXT1_EXT = 0x8C4C + /// + CompressedSrgbS3tcDxt1Ext = ((int)0x8C4C) , + /// + /// Original was GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT = 0x8C4D + /// + CompressedSrgbAlphaS3tcDxt1Ext = ((int)0x8C4D) , + /// + /// Original was GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT = 0x8C4E + /// + CompressedSrgbAlphaS3tcDxt3Ext = ((int)0x8C4E) , + /// + /// Original was GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT = 0x8C4F + /// + CompressedSrgbAlphaS3tcDxt5Ext = ((int)0x8C4F) , + /// + /// Original was GL_COMPRESSED_LUMINANCE_LATC1_EXT = 0x8C70 + /// + CompressedLuminanceLatc1Ext = ((int)0x8C70) , + /// + /// Original was GL_COMPRESSED_SIGNED_LUMINANCE_LATC1_EXT = 0x8C71 + /// + CompressedSignedLuminanceLatc1Ext = ((int)0x8C71) , + /// + /// Original was GL_COMPRESSED_LUMINANCE_ALPHA_LATC2_EXT = 0x8C72 + /// + CompressedLuminanceAlphaLatc2Ext = ((int)0x8C72) , + /// + /// Original was GL_COMPRESSED_SIGNED_LUMINANCE_ALPHA_LATC2_EXT = 0x8C73 + /// + CompressedSignedLuminanceAlphaLatc2Ext = ((int)0x8C73) , + /// + /// Original was GL_TESS_CONTROL_PROGRAM_PARAMETER_BUFFER_NV = 0x8C74 + /// + TessControlProgramParameterBufferNv = ((int)0x8C74) , + /// + /// Original was GL_TESS_EVALUATION_PROGRAM_PARAMETER_BUFFER_NV = 0x8C75 + /// + TessEvaluationProgramParameterBufferNv = ((int)0x8C75) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH = 0x8C76 + /// + TransformFeedbackVaryingMaxLength = ((int)0x8C76) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH_EXT = 0x8C76 + /// + TransformFeedbackVaryingMaxLengthExt = ((int)0x8C76) , + /// + /// Original was GL_BACK_PRIMARY_COLOR_NV = 0x8C77 + /// + BackPrimaryColorNv = ((int)0x8C77) , + /// + /// Original was GL_BACK_SECONDARY_COLOR_NV = 0x8C78 + /// + BackSecondaryColorNv = ((int)0x8C78) , + /// + /// Original was GL_TEXTURE_COORD_NV = 0x8C79 + /// + TextureCoordNv = ((int)0x8C79) , + /// + /// Original was GL_CLIP_DISTANCE_NV = 0x8C7A + /// + ClipDistanceNv = ((int)0x8C7A) , + /// + /// Original was GL_VERTEX_ID_NV = 0x8C7B + /// + VertexIdNv = ((int)0x8C7B) , + /// + /// Original was GL_PRIMITIVE_ID_NV = 0x8C7C + /// + PrimitiveIdNv = ((int)0x8C7C) , + /// + /// Original was GL_GENERIC_ATTRIB_NV = 0x8C7D + /// + GenericAttribNv = ((int)0x8C7D) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_ATTRIBS_NV = 0x8C7E + /// + TransformFeedbackAttribsNv = ((int)0x8C7E) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_BUFFER_MODE = 0x8C7F + /// + TransformFeedbackBufferMode = ((int)0x8C7F) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_BUFFER_MODE_EXT = 0x8C7F + /// + TransformFeedbackBufferModeExt = ((int)0x8C7F) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_BUFFER_MODE_NV = 0x8C7F + /// + TransformFeedbackBufferModeNv = ((int)0x8C7F) , + /// + /// Original was GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS = 0x8C80 + /// + MaxTransformFeedbackSeparateComponents = ((int)0x8C80) , + /// + /// Original was GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_EXT = 0x8C80 + /// + MaxTransformFeedbackSeparateComponentsExt = ((int)0x8C80) , + /// + /// Original was GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_NV = 0x8C80 + /// + MaxTransformFeedbackSeparateComponentsNv = ((int)0x8C80) , + /// + /// Original was GL_ACTIVE_VARYINGS_NV = 0x8C81 + /// + ActiveVaryingsNv = ((int)0x8C81) , + /// + /// Original was GL_ACTIVE_VARYING_MAX_LENGTH_NV = 0x8C82 + /// + ActiveVaryingMaxLengthNv = ((int)0x8C82) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_VARYINGS = 0x8C83 + /// + TransformFeedbackVaryings = ((int)0x8C83) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_VARYINGS_EXT = 0x8C83 + /// + TransformFeedbackVaryingsExt = ((int)0x8C83) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_VARYINGS_NV = 0x8C83 + /// + TransformFeedbackVaryingsNv = ((int)0x8C83) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_BUFFER_START = 0x8C84 + /// + TransformFeedbackBufferStart = ((int)0x8C84) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_BUFFER_START_EXT = 0x8C84 + /// + TransformFeedbackBufferStartExt = ((int)0x8C84) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_BUFFER_START_NV = 0x8C84 + /// + TransformFeedbackBufferStartNv = ((int)0x8C84) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_BUFFER_SIZE = 0x8C85 + /// + TransformFeedbackBufferSize = ((int)0x8C85) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_BUFFER_SIZE_EXT = 0x8C85 + /// + TransformFeedbackBufferSizeExt = ((int)0x8C85) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_BUFFER_SIZE_NV = 0x8C85 + /// + TransformFeedbackBufferSizeNv = ((int)0x8C85) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_RECORD_NV = 0x8C86 + /// + TransformFeedbackRecordNv = ((int)0x8C86) , + /// + /// Original was GL_PRIMITIVES_GENERATED = 0x8C87 + /// + PrimitivesGenerated = ((int)0x8C87) , + /// + /// Original was GL_PRIMITIVES_GENERATED_EXT = 0x8C87 + /// + PrimitivesGeneratedExt = ((int)0x8C87) , + /// + /// Original was GL_PRIMITIVES_GENERATED_NV = 0x8C87 + /// + PrimitivesGeneratedNv = ((int)0x8C87) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN = 0x8C88 + /// + TransformFeedbackPrimitivesWritten = ((int)0x8C88) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_EXT = 0x8C88 + /// + TransformFeedbackPrimitivesWrittenExt = ((int)0x8C88) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_NV = 0x8C88 + /// + TransformFeedbackPrimitivesWrittenNv = ((int)0x8C88) , + /// + /// Original was GL_RASTERIZER_DISCARD = 0x8C89 + /// + RasterizerDiscard = ((int)0x8C89) , + /// + /// Original was GL_RASTERIZER_DISCARD_EXT = 0x8C89 + /// + RasterizerDiscardExt = ((int)0x8C89) , + /// + /// Original was GL_RASTERIZER_DISCARD_NV = 0x8C89 + /// + RasterizerDiscardNv = ((int)0x8C89) , + /// + /// Original was GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_ATTRIBS_NV = 0x8C8A + /// + MaxTransformFeedbackInterleavedAttribsNv = ((int)0x8C8A) , + /// + /// Original was GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS = 0x8C8A + /// + MaxTransformFeedbackInterleavedComponents = ((int)0x8C8A) , + /// + /// Original was GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS_EXT = 0x8C8A + /// + MaxTransformFeedbackInterleavedComponentsExt = ((int)0x8C8A) , + /// + /// Original was GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS = 0x8C8B + /// + MaxTransformFeedbackSeparateAttribs = ((int)0x8C8B) , + /// + /// Original was GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_EXT = 0x8C8B + /// + MaxTransformFeedbackSeparateAttribsExt = ((int)0x8C8B) , + /// + /// Original was GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_NV = 0x8C8B + /// + MaxTransformFeedbackSeparateAttribsNv = ((int)0x8C8B) , + /// + /// Original was GL_INTERLEAVED_ATTRIBS = 0x8C8C + /// + InterleavedAttribs = ((int)0x8C8C) , + /// + /// Original was GL_INTERLEAVED_ATTRIBS_EXT = 0x8C8C + /// + InterleavedAttribsExt = ((int)0x8C8C) , + /// + /// Original was GL_INTERLEAVED_ATTRIBS_NV = 0x8C8C + /// + InterleavedAttribsNv = ((int)0x8C8C) , + /// + /// Original was GL_SEPARATE_ATTRIBS = 0x8C8D + /// + SeparateAttribs = ((int)0x8C8D) , + /// + /// Original was GL_SEPARATE_ATTRIBS_EXT = 0x8C8D + /// + SeparateAttribsExt = ((int)0x8C8D) , + /// + /// Original was GL_SEPARATE_ATTRIBS_NV = 0x8C8D + /// + SeparateAttribsNv = ((int)0x8C8D) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_BUFFER = 0x8C8E + /// + TransformFeedbackBuffer = ((int)0x8C8E) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_BUFFER_EXT = 0x8C8E + /// + TransformFeedbackBufferExt = ((int)0x8C8E) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_BUFFER_NV = 0x8C8E + /// + TransformFeedbackBufferNv = ((int)0x8C8E) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_BUFFER_BINDING = 0x8C8F + /// + TransformFeedbackBufferBinding = ((int)0x8C8F) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_BUFFER_BINDING_EXT = 0x8C8F + /// + TransformFeedbackBufferBindingExt = ((int)0x8C8F) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_BUFFER_BINDING_NV = 0x8C8F + /// + TransformFeedbackBufferBindingNv = ((int)0x8C8F) , + /// + /// Original was GL_ATC_RGB_AMD = 0x8C92 + /// + AtcRgbAmd = ((int)0x8C92) , + /// + /// Original was GL_ATC_RGBA_EXPLICIT_ALPHA_AMD = 0x8C93 + /// + AtcRgbaExplicitAlphaAmd = ((int)0x8C93) , + /// + /// Original was GL_POINT_SPRITE_COORD_ORIGIN = 0x8CA0 + /// + PointSpriteCoordOrigin = ((int)0x8CA0) , + /// + /// Original was GL_LOWER_LEFT = 0x8CA1 + /// + LowerLeft = ((int)0x8CA1) , + /// + /// Original was GL_UPPER_LEFT = 0x8CA2 + /// + UpperLeft = ((int)0x8CA2) , + /// + /// Original was GL_STENCIL_BACK_REF = 0x8CA3 + /// + StencilBackRef = ((int)0x8CA3) , + /// + /// Original was GL_STENCIL_BACK_VALUE_MASK = 0x8CA4 + /// + StencilBackValueMask = ((int)0x8CA4) , + /// + /// Original was GL_STENCIL_BACK_WRITEMASK = 0x8CA5 + /// + StencilBackWritemask = ((int)0x8CA5) , + /// + /// Original was GL_DRAW_FRAMEBUFFER_BINDING = 0x8CA6 + /// + DrawFramebufferBinding = ((int)0x8CA6) , + /// + /// Original was GL_DRAW_FRAMEBUFFER_BINDING_EXT = 0x8CA6 + /// + DrawFramebufferBindingExt = ((int)0x8CA6) , + /// + /// Original was GL_FRAMEBUFFER_BINDING = 0x8CA6 + /// + FramebufferBinding = ((int)0x8CA6) , + /// + /// Original was GL_FRAMEBUFFER_BINDING_ANGLE = 0x8CA6 + /// + FramebufferBindingAngle = ((int)0x8CA6) , + /// + /// Original was GL_FRAMEBUFFER_BINDING_EXT = 0x8CA6 + /// + FramebufferBindingExt = ((int)0x8CA6) , + /// + /// Original was GL_FRAMEBUFFER_BINDING_OES = 0x8CA6 + /// + FramebufferBindingOes = ((int)0x8CA6) , + /// + /// Original was GL_RENDERBUFFER_BINDING = 0x8CA7 + /// + RenderbufferBinding = ((int)0x8CA7) , + /// + /// Original was GL_RENDERBUFFER_BINDING_ANGLE = 0x8CA7 + /// + RenderbufferBindingAngle = ((int)0x8CA7) , + /// + /// Original was GL_RENDERBUFFER_BINDING_EXT = 0x8CA7 + /// + RenderbufferBindingExt = ((int)0x8CA7) , + /// + /// Original was GL_RENDERBUFFER_BINDING_OES = 0x8CA7 + /// + RenderbufferBindingOes = ((int)0x8CA7) , + /// + /// Original was GL_READ_FRAMEBUFFER = 0x8CA8 + /// + ReadFramebuffer = ((int)0x8CA8) , + /// + /// Original was GL_READ_FRAMEBUFFER_ANGLE = 0x8CA8 + /// + ReadFramebufferAngle = ((int)0x8CA8) , + /// + /// Original was GL_READ_FRAMEBUFFER_EXT = 0x8CA8 + /// + ReadFramebufferExt = ((int)0x8CA8) , + /// + /// Original was GL_DRAW_FRAMEBUFFER = 0x8CA9 + /// + DrawFramebuffer = ((int)0x8CA9) , + /// + /// Original was GL_DRAW_FRAMEBUFFER_ANGLE = 0x8CA9 + /// + DrawFramebufferAngle = ((int)0x8CA9) , + /// + /// Original was GL_DRAW_FRAMEBUFFER_EXT = 0x8CA9 + /// + DrawFramebufferExt = ((int)0x8CA9) , + /// + /// Original was GL_READ_FRAMEBUFFER_BINDING = 0x8CAA + /// + ReadFramebufferBinding = ((int)0x8CAA) , + /// + /// Original was GL_READ_FRAMEBUFFER_BINDING_EXT = 0x8CAA + /// + ReadFramebufferBindingExt = ((int)0x8CAA) , + /// + /// Original was GL_RENDERBUFFER_COVERAGE_SAMPLES_NV = 0x8CAB + /// + RenderbufferCoverageSamplesNv = ((int)0x8CAB) , + /// + /// Original was GL_RENDERBUFFER_SAMPLES = 0x8CAB + /// + RenderbufferSamples = ((int)0x8CAB) , + /// + /// Original was GL_RENDERBUFFER_SAMPLES_ANGLE = 0x8CAB + /// + RenderbufferSamplesAngle = ((int)0x8CAB) , + /// + /// Original was GL_RENDERBUFFER_SAMPLES_EXT = 0x8CAB + /// + RenderbufferSamplesExt = ((int)0x8CAB) , + /// + /// Original was GL_DEPTH_COMPONENT32F = 0x8CAC + /// + DepthComponent32f = ((int)0x8CAC) , + /// + /// Original was GL_DEPTH32F_STENCIL8 = 0x8CAD + /// + Depth32fStencil8 = ((int)0x8CAD) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE = 0x8CD0 + /// + FramebufferAttachmentObjectType = ((int)0x8CD0) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT = 0x8CD0 + /// + FramebufferAttachmentObjectTypeExt = ((int)0x8CD0) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_OES = 0x8CD0 + /// + FramebufferAttachmentObjectTypeOes = ((int)0x8CD0) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME = 0x8CD1 + /// + FramebufferAttachmentObjectName = ((int)0x8CD1) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT = 0x8CD1 + /// + FramebufferAttachmentObjectNameExt = ((int)0x8CD1) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_OES = 0x8CD1 + /// + FramebufferAttachmentObjectNameOes = ((int)0x8CD1) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL = 0x8CD2 + /// + FramebufferAttachmentTextureLevel = ((int)0x8CD2) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT = 0x8CD2 + /// + FramebufferAttachmentTextureLevelExt = ((int)0x8CD2) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_OES = 0x8CD2 + /// + FramebufferAttachmentTextureLevelOes = ((int)0x8CD2) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE = 0x8CD3 + /// + FramebufferAttachmentTextureCubeMapFace = ((int)0x8CD3) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT = 0x8CD3 + /// + FramebufferAttachmentTextureCubeMapFaceExt = ((int)0x8CD3) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_OES = 0x8CD3 + /// + FramebufferAttachmentTextureCubeMapFaceOes = ((int)0x8CD3) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT = 0x8CD4 + /// + FramebufferAttachmentTexture3DZoffsetExt = ((int)0x8CD4) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_OES = 0x8CD4 + /// + FramebufferAttachmentTexture3DZoffsetOes = ((int)0x8CD4) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER = 0x8CD4 + /// + FramebufferAttachmentTextureLayer = ((int)0x8CD4) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT = 0x8CD4 + /// + FramebufferAttachmentTextureLayerExt = ((int)0x8CD4) , + /// + /// Original was GL_FRAMEBUFFER_COMPLETE = 0x8CD5 + /// + FramebufferComplete = ((int)0x8CD5) , + /// + /// Original was GL_FRAMEBUFFER_COMPLETE_EXT = 0x8CD5 + /// + FramebufferCompleteExt = ((int)0x8CD5) , + /// + /// Original was GL_FRAMEBUFFER_COMPLETE_OES = 0x8CD5 + /// + FramebufferCompleteOes = ((int)0x8CD5) , + /// + /// Original was GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT = 0x8CD6 + /// + FramebufferIncompleteAttachment = ((int)0x8CD6) , + /// + /// Original was GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT = 0x8CD6 + /// + FramebufferIncompleteAttachmentExt = ((int)0x8CD6) , + /// + /// Original was GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_OES = 0x8CD6 + /// + FramebufferIncompleteAttachmentOes = ((int)0x8CD6) , + /// + /// Original was GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT = 0x8CD7 + /// + FramebufferIncompleteMissingAttachment = ((int)0x8CD7) , + /// + /// Original was GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT = 0x8CD7 + /// + FramebufferIncompleteMissingAttachmentExt = ((int)0x8CD7) , + /// + /// Original was GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_OES = 0x8CD7 + /// + FramebufferIncompleteMissingAttachmentOes = ((int)0x8CD7) , + /// + /// Original was GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT = 0x8CD9 + /// + FramebufferIncompleteDimensionsExt = ((int)0x8CD9) , + /// + /// Original was GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_OES = 0x8CD9 + /// + FramebufferIncompleteDimensionsOes = ((int)0x8CD9) , + /// + /// Original was GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT = 0x8CDA + /// + FramebufferIncompleteFormatsExt = ((int)0x8CDA) , + /// + /// Original was GL_FRAMEBUFFER_INCOMPLETE_FORMATS_OES = 0x8CDA + /// + FramebufferIncompleteFormatsOes = ((int)0x8CDA) , + /// + /// Original was GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER = 0x8CDB + /// + FramebufferIncompleteDrawBuffer = ((int)0x8CDB) , + /// + /// Original was GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT = 0x8CDB + /// + FramebufferIncompleteDrawBufferExt = ((int)0x8CDB) , + /// + /// Original was GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_OES = 0x8CDB + /// + FramebufferIncompleteDrawBufferOes = ((int)0x8CDB) , + /// + /// Original was GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER = 0x8CDC + /// + FramebufferIncompleteReadBuffer = ((int)0x8CDC) , + /// + /// Original was GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT = 0x8CDC + /// + FramebufferIncompleteReadBufferExt = ((int)0x8CDC) , + /// + /// Original was GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_OES = 0x8CDC + /// + FramebufferIncompleteReadBufferOes = ((int)0x8CDC) , + /// + /// Original was GL_FRAMEBUFFER_UNSUPPORTED = 0x8CDD + /// + FramebufferUnsupported = ((int)0x8CDD) , + /// + /// Original was GL_FRAMEBUFFER_UNSUPPORTED_EXT = 0x8CDD + /// + FramebufferUnsupportedExt = ((int)0x8CDD) , + /// + /// Original was GL_FRAMEBUFFER_UNSUPPORTED_OES = 0x8CDD + /// + FramebufferUnsupportedOes = ((int)0x8CDD) , + /// + /// Original was GL_MAX_COLOR_ATTACHMENTS = 0x8CDF + /// + MaxColorAttachments = ((int)0x8CDF) , + /// + /// Original was GL_MAX_COLOR_ATTACHMENTS_EXT = 0x8CDF + /// + MaxColorAttachmentsExt = ((int)0x8CDF) , + /// + /// Original was GL_COLOR_ATTACHMENT0 = 0x8CE0 + /// + ColorAttachment0 = ((int)0x8CE0) , + /// + /// Original was GL_COLOR_ATTACHMENT0_EXT = 0x8CE0 + /// + ColorAttachment0Ext = ((int)0x8CE0) , + /// + /// Original was GL_COLOR_ATTACHMENT0_OES = 0x8CE0 + /// + ColorAttachment0Oes = ((int)0x8CE0) , + /// + /// Original was GL_COLOR_ATTACHMENT1 = 0x8CE1 + /// + ColorAttachment1 = ((int)0x8CE1) , + /// + /// Original was GL_COLOR_ATTACHMENT1_EXT = 0x8CE1 + /// + ColorAttachment1Ext = ((int)0x8CE1) , + /// + /// Original was GL_COLOR_ATTACHMENT2 = 0x8CE2 + /// + ColorAttachment2 = ((int)0x8CE2) , + /// + /// Original was GL_COLOR_ATTACHMENT2_EXT = 0x8CE2 + /// + ColorAttachment2Ext = ((int)0x8CE2) , + /// + /// Original was GL_COLOR_ATTACHMENT3 = 0x8CE3 + /// + ColorAttachment3 = ((int)0x8CE3) , + /// + /// Original was GL_COLOR_ATTACHMENT3_EXT = 0x8CE3 + /// + ColorAttachment3Ext = ((int)0x8CE3) , + /// + /// Original was GL_COLOR_ATTACHMENT4 = 0x8CE4 + /// + ColorAttachment4 = ((int)0x8CE4) , + /// + /// Original was GL_COLOR_ATTACHMENT4_EXT = 0x8CE4 + /// + ColorAttachment4Ext = ((int)0x8CE4) , + /// + /// Original was GL_COLOR_ATTACHMENT5 = 0x8CE5 + /// + ColorAttachment5 = ((int)0x8CE5) , + /// + /// Original was GL_COLOR_ATTACHMENT5_EXT = 0x8CE5 + /// + ColorAttachment5Ext = ((int)0x8CE5) , + /// + /// Original was GL_COLOR_ATTACHMENT6 = 0x8CE6 + /// + ColorAttachment6 = ((int)0x8CE6) , + /// + /// Original was GL_COLOR_ATTACHMENT6_EXT = 0x8CE6 + /// + ColorAttachment6Ext = ((int)0x8CE6) , + /// + /// Original was GL_COLOR_ATTACHMENT7 = 0x8CE7 + /// + ColorAttachment7 = ((int)0x8CE7) , + /// + /// Original was GL_COLOR_ATTACHMENT7_EXT = 0x8CE7 + /// + ColorAttachment7Ext = ((int)0x8CE7) , + /// + /// Original was GL_COLOR_ATTACHMENT8 = 0x8CE8 + /// + ColorAttachment8 = ((int)0x8CE8) , + /// + /// Original was GL_COLOR_ATTACHMENT8_EXT = 0x8CE8 + /// + ColorAttachment8Ext = ((int)0x8CE8) , + /// + /// Original was GL_COLOR_ATTACHMENT9 = 0x8CE9 + /// + ColorAttachment9 = ((int)0x8CE9) , + /// + /// Original was GL_COLOR_ATTACHMENT9_EXT = 0x8CE9 + /// + ColorAttachment9Ext = ((int)0x8CE9) , + /// + /// Original was GL_COLOR_ATTACHMENT10 = 0x8CEA + /// + ColorAttachment10 = ((int)0x8CEA) , + /// + /// Original was GL_COLOR_ATTACHMENT10_EXT = 0x8CEA + /// + ColorAttachment10Ext = ((int)0x8CEA) , + /// + /// Original was GL_COLOR_ATTACHMENT11 = 0x8CEB + /// + ColorAttachment11 = ((int)0x8CEB) , + /// + /// Original was GL_COLOR_ATTACHMENT11_EXT = 0x8CEB + /// + ColorAttachment11Ext = ((int)0x8CEB) , + /// + /// Original was GL_COLOR_ATTACHMENT12 = 0x8CEC + /// + ColorAttachment12 = ((int)0x8CEC) , + /// + /// Original was GL_COLOR_ATTACHMENT12_EXT = 0x8CEC + /// + ColorAttachment12Ext = ((int)0x8CEC) , + /// + /// Original was GL_COLOR_ATTACHMENT13 = 0x8CED + /// + ColorAttachment13 = ((int)0x8CED) , + /// + /// Original was GL_COLOR_ATTACHMENT13_EXT = 0x8CED + /// + ColorAttachment13Ext = ((int)0x8CED) , + /// + /// Original was GL_COLOR_ATTACHMENT14 = 0x8CEE + /// + ColorAttachment14 = ((int)0x8CEE) , + /// + /// Original was GL_COLOR_ATTACHMENT14_EXT = 0x8CEE + /// + ColorAttachment14Ext = ((int)0x8CEE) , + /// + /// Original was GL_COLOR_ATTACHMENT15 = 0x8CEF + /// + ColorAttachment15 = ((int)0x8CEF) , + /// + /// Original was GL_COLOR_ATTACHMENT15_EXT = 0x8CEF + /// + ColorAttachment15Ext = ((int)0x8CEF) , + /// + /// Original was GL_DEPTH_ATTACHMENT = 0x8D00 + /// + DepthAttachment = ((int)0x8D00) , + /// + /// Original was GL_DEPTH_ATTACHMENT_EXT = 0x8D00 + /// + DepthAttachmentExt = ((int)0x8D00) , + /// + /// Original was GL_DEPTH_ATTACHMENT_OES = 0x8D00 + /// + DepthAttachmentOes = ((int)0x8D00) , + /// + /// Original was GL_STENCIL_ATTACHMENT = 0x8D20 + /// + StencilAttachment = ((int)0x8D20) , + /// + /// Original was GL_STENCIL_ATTACHMENT_EXT = 0x8D20 + /// + StencilAttachmentExt = ((int)0x8D20) , + /// + /// Original was GL_STENCIL_ATTACHMENT_OES = 0x8D20 + /// + StencilAttachmentOes = ((int)0x8D20) , + /// + /// Original was GL_FRAMEBUFFER = 0x8D40 + /// + Framebuffer = ((int)0x8D40) , + /// + /// Original was GL_FRAMEBUFFER_EXT = 0x8D40 + /// + FramebufferExt = ((int)0x8D40) , + /// + /// Original was GL_FRAMEBUFFER_OES = 0x8D40 + /// + FramebufferOes = ((int)0x8D40) , + /// + /// Original was GL_RENDERBUFFER = 0x8D41 + /// + Renderbuffer = ((int)0x8D41) , + /// + /// Original was GL_RENDERBUFFER_EXT = 0x8D41 + /// + RenderbufferExt = ((int)0x8D41) , + /// + /// Original was GL_RENDERBUFFER_OES = 0x8D41 + /// + RenderbufferOes = ((int)0x8D41) , + /// + /// Original was GL_RENDERBUFFER_WIDTH = 0x8D42 + /// + RenderbufferWidth = ((int)0x8D42) , + /// + /// Original was GL_RENDERBUFFER_WIDTH_EXT = 0x8D42 + /// + RenderbufferWidthExt = ((int)0x8D42) , + /// + /// Original was GL_RENDERBUFFER_WIDTH_OES = 0x8D42 + /// + RenderbufferWidthOes = ((int)0x8D42) , + /// + /// Original was GL_RENDERBUFFER_HEIGHT = 0x8D43 + /// + RenderbufferHeight = ((int)0x8D43) , + /// + /// Original was GL_RENDERBUFFER_HEIGHT_EXT = 0x8D43 + /// + RenderbufferHeightExt = ((int)0x8D43) , + /// + /// Original was GL_RENDERBUFFER_HEIGHT_OES = 0x8D43 + /// + RenderbufferHeightOes = ((int)0x8D43) , + /// + /// Original was GL_RENDERBUFFER_INTERNAL_FORMAT = 0x8D44 + /// + RenderbufferInternalFormat = ((int)0x8D44) , + /// + /// Original was GL_RENDERBUFFER_INTERNAL_FORMAT_EXT = 0x8D44 + /// + RenderbufferInternalFormatExt = ((int)0x8D44) , + /// + /// Original was GL_RENDERBUFFER_INTERNAL_FORMAT_OES = 0x8D44 + /// + RenderbufferInternalFormatOes = ((int)0x8D44) , + /// + /// Original was GL_STENCIL_INDEX1 = 0x8D46 + /// + StencilIndex1 = ((int)0x8D46) , + /// + /// Original was GL_STENCIL_INDEX1_EXT = 0x8D46 + /// + StencilIndex1Ext = ((int)0x8D46) , + /// + /// Original was GL_STENCIL_INDEX1_OES = 0x8D46 + /// + StencilIndex1Oes = ((int)0x8D46) , + /// + /// Original was GL_STENCIL_INDEX4 = 0x8D47 + /// + StencilIndex4 = ((int)0x8D47) , + /// + /// Original was GL_STENCIL_INDEX4_EXT = 0x8D47 + /// + StencilIndex4Ext = ((int)0x8D47) , + /// + /// Original was GL_STENCIL_INDEX4_OES = 0x8D47 + /// + StencilIndex4Oes = ((int)0x8D47) , + /// + /// Original was GL_STENCIL_INDEX8 = 0x8D48 + /// + StencilIndex8 = ((int)0x8D48) , + /// + /// Original was GL_STENCIL_INDEX8_EXT = 0x8D48 + /// + StencilIndex8Ext = ((int)0x8D48) , + /// + /// Original was GL_STENCIL_INDEX8_OES = 0x8D48 + /// + StencilIndex8Oes = ((int)0x8D48) , + /// + /// Original was GL_STENCIL_INDEX16 = 0x8D49 + /// + StencilIndex16 = ((int)0x8D49) , + /// + /// Original was GL_STENCIL_INDEX16_EXT = 0x8D49 + /// + StencilIndex16Ext = ((int)0x8D49) , + /// + /// Original was GL_RENDERBUFFER_RED_SIZE = 0x8D50 + /// + RenderbufferRedSize = ((int)0x8D50) , + /// + /// Original was GL_RENDERBUFFER_RED_SIZE_EXT = 0x8D50 + /// + RenderbufferRedSizeExt = ((int)0x8D50) , + /// + /// Original was GL_RENDERBUFFER_RED_SIZE_OES = 0x8D50 + /// + RenderbufferRedSizeOes = ((int)0x8D50) , + /// + /// Original was GL_RENDERBUFFER_GREEN_SIZE = 0x8D51 + /// + RenderbufferGreenSize = ((int)0x8D51) , + /// + /// Original was GL_RENDERBUFFER_GREEN_SIZE_EXT = 0x8D51 + /// + RenderbufferGreenSizeExt = ((int)0x8D51) , + /// + /// Original was GL_RENDERBUFFER_GREEN_SIZE_OES = 0x8D51 + /// + RenderbufferGreenSizeOes = ((int)0x8D51) , + /// + /// Original was GL_RENDERBUFFER_BLUE_SIZE = 0x8D52 + /// + RenderbufferBlueSize = ((int)0x8D52) , + /// + /// Original was GL_RENDERBUFFER_BLUE_SIZE_EXT = 0x8D52 + /// + RenderbufferBlueSizeExt = ((int)0x8D52) , + /// + /// Original was GL_RENDERBUFFER_BLUE_SIZE_OES = 0x8D52 + /// + RenderbufferBlueSizeOes = ((int)0x8D52) , + /// + /// Original was GL_RENDERBUFFER_ALPHA_SIZE = 0x8D53 + /// + RenderbufferAlphaSize = ((int)0x8D53) , + /// + /// Original was GL_RENDERBUFFER_ALPHA_SIZE_EXT = 0x8D53 + /// + RenderbufferAlphaSizeExt = ((int)0x8D53) , + /// + /// Original was GL_RENDERBUFFER_ALPHA_SIZE_OES = 0x8D53 + /// + RenderbufferAlphaSizeOes = ((int)0x8D53) , + /// + /// Original was GL_RENDERBUFFER_DEPTH_SIZE = 0x8D54 + /// + RenderbufferDepthSize = ((int)0x8D54) , + /// + /// Original was GL_RENDERBUFFER_DEPTH_SIZE_EXT = 0x8D54 + /// + RenderbufferDepthSizeExt = ((int)0x8D54) , + /// + /// Original was GL_RENDERBUFFER_DEPTH_SIZE_OES = 0x8D54 + /// + RenderbufferDepthSizeOes = ((int)0x8D54) , + /// + /// Original was GL_RENDERBUFFER_STENCIL_SIZE = 0x8D55 + /// + RenderbufferStencilSize = ((int)0x8D55) , + /// + /// Original was GL_RENDERBUFFER_STENCIL_SIZE_EXT = 0x8D55 + /// + RenderbufferStencilSizeExt = ((int)0x8D55) , + /// + /// Original was GL_RENDERBUFFER_STENCIL_SIZE_OES = 0x8D55 + /// + RenderbufferStencilSizeOes = ((int)0x8D55) , + /// + /// Original was GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE = 0x8D56 + /// + FramebufferIncompleteMultisample = ((int)0x8D56) , + /// + /// Original was GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_ANGLE = 0x8D56 + /// + FramebufferIncompleteMultisampleAngle = ((int)0x8D56) , + /// + /// Original was GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT = 0x8D56 + /// + FramebufferIncompleteMultisampleExt = ((int)0x8D56) , + /// + /// Original was GL_MAX_SAMPLES = 0x8D57 + /// + MaxSamples = ((int)0x8D57) , + /// + /// Original was GL_MAX_SAMPLES_ANGLE = 0x8D57 + /// + MaxSamplesAngle = ((int)0x8D57) , + /// + /// Original was GL_MAX_SAMPLES_EXT = 0x8D57 + /// + MaxSamplesExt = ((int)0x8D57) , + /// + /// Original was GL_TEXTURE_GEN_STR_OES = 0x8D60 + /// + TextureGenStrOes = ((int)0x8D60) , + /// + /// Original was GL_HALF_FLOAT_OES = 0x8D61 + /// + HalfFloatOes = ((int)0x8D61) , + /// + /// Original was GL_RGB565_OES = 0x8D62 + /// + Rgb565Oes = ((int)0x8D62) , + /// + /// Original was GL_ETC1_RGB8_OES = 0x8D64 + /// + Etc1Rgb8Oes = ((int)0x8D64) , + /// + /// Original was GL_TEXTURE_EXTERNAL_OES = 0x8D65 + /// + TextureExternalOes = ((int)0x8D65) , + /// + /// Original was GL_SAMPLER_EXTERNAL_OES = 0x8D66 + /// + SamplerExternalOes = ((int)0x8D66) , + /// + /// Original was GL_TEXTURE_BINDING_EXTERNAL_OES = 0x8D67 + /// + TextureBindingExternalOes = ((int)0x8D67) , + /// + /// Original was GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES = 0x8D68 + /// + RequiredTextureImageUnitsOes = ((int)0x8D68) , + /// + /// Original was GL_RGBA32UI = 0x8D70 + /// + Rgba32ui = ((int)0x8D70) , + /// + /// Original was GL_RGBA32UI_EXT = 0x8D70 + /// + Rgba32uiExt = ((int)0x8D70) , + /// + /// Original was GL_RGB32UI = 0x8D71 + /// + Rgb32ui = ((int)0x8D71) , + /// + /// Original was GL_RGB32UI_EXT = 0x8D71 + /// + Rgb32uiExt = ((int)0x8D71) , + /// + /// Original was GL_ALPHA32UI_EXT = 0x8D72 + /// + Alpha32uiExt = ((int)0x8D72) , + /// + /// Original was GL_INTENSITY32UI_EXT = 0x8D73 + /// + Intensity32uiExt = ((int)0x8D73) , + /// + /// Original was GL_LUMINANCE32UI_EXT = 0x8D74 + /// + Luminance32uiExt = ((int)0x8D74) , + /// + /// Original was GL_LUMINANCE_ALPHA32UI_EXT = 0x8D75 + /// + LuminanceAlpha32uiExt = ((int)0x8D75) , + /// + /// Original was GL_RGBA16UI = 0x8D76 + /// + Rgba16ui = ((int)0x8D76) , + /// + /// Original was GL_RGBA16UI_EXT = 0x8D76 + /// + Rgba16uiExt = ((int)0x8D76) , + /// + /// Original was GL_RGB16UI = 0x8D77 + /// + Rgb16ui = ((int)0x8D77) , + /// + /// Original was GL_RGB16UI_EXT = 0x8D77 + /// + Rgb16uiExt = ((int)0x8D77) , + /// + /// Original was GL_ALPHA16UI_EXT = 0x8D78 + /// + Alpha16uiExt = ((int)0x8D78) , + /// + /// Original was GL_INTENSITY16UI_EXT = 0x8D79 + /// + Intensity16uiExt = ((int)0x8D79) , + /// + /// Original was GL_LUMINANCE16UI_EXT = 0x8D7A + /// + Luminance16uiExt = ((int)0x8D7A) , + /// + /// Original was GL_LUMINANCE_ALPHA16UI_EXT = 0x8D7B + /// + LuminanceAlpha16uiExt = ((int)0x8D7B) , + /// + /// Original was GL_RGBA8UI = 0x8D7C + /// + Rgba8ui = ((int)0x8D7C) , + /// + /// Original was GL_RGBA8UI_EXT = 0x8D7C + /// + Rgba8uiExt = ((int)0x8D7C) , + /// + /// Original was GL_RGB8UI = 0x8D7D + /// + Rgb8ui = ((int)0x8D7D) , + /// + /// Original was GL_RGB8UI_EXT = 0x8D7D + /// + Rgb8uiExt = ((int)0x8D7D) , + /// + /// Original was GL_ALPHA8UI_EXT = 0x8D7E + /// + Alpha8uiExt = ((int)0x8D7E) , + /// + /// Original was GL_INTENSITY8UI_EXT = 0x8D7F + /// + Intensity8uiExt = ((int)0x8D7F) , + /// + /// Original was GL_LUMINANCE8UI_EXT = 0x8D80 + /// + Luminance8uiExt = ((int)0x8D80) , + /// + /// Original was GL_LUMINANCE_ALPHA8UI_EXT = 0x8D81 + /// + LuminanceAlpha8uiExt = ((int)0x8D81) , + /// + /// Original was GL_RGBA32I = 0x8D82 + /// + Rgba32i = ((int)0x8D82) , + /// + /// Original was GL_RGBA32I_EXT = 0x8D82 + /// + Rgba32iExt = ((int)0x8D82) , + /// + /// Original was GL_RGB32I = 0x8D83 + /// + Rgb32i = ((int)0x8D83) , + /// + /// Original was GL_RGB32I_EXT = 0x8D83 + /// + Rgb32iExt = ((int)0x8D83) , + /// + /// Original was GL_ALPHA32I_EXT = 0x8D84 + /// + Alpha32iExt = ((int)0x8D84) , + /// + /// Original was GL_INTENSITY32I_EXT = 0x8D85 + /// + Intensity32iExt = ((int)0x8D85) , + /// + /// Original was GL_LUMINANCE32I_EXT = 0x8D86 + /// + Luminance32iExt = ((int)0x8D86) , + /// + /// Original was GL_LUMINANCE_ALPHA32I_EXT = 0x8D87 + /// + LuminanceAlpha32iExt = ((int)0x8D87) , + /// + /// Original was GL_RGBA16I = 0x8D88 + /// + Rgba16i = ((int)0x8D88) , + /// + /// Original was GL_RGBA16I_EXT = 0x8D88 + /// + Rgba16iExt = ((int)0x8D88) , + /// + /// Original was GL_RGB16I = 0x8D89 + /// + Rgb16i = ((int)0x8D89) , + /// + /// Original was GL_RGB16I_EXT = 0x8D89 + /// + Rgb16iExt = ((int)0x8D89) , + /// + /// Original was GL_ALPHA16I_EXT = 0x8D8A + /// + Alpha16iExt = ((int)0x8D8A) , + /// + /// Original was GL_INTENSITY16I_EXT = 0x8D8B + /// + Intensity16iExt = ((int)0x8D8B) , + /// + /// Original was GL_LUMINANCE16I_EXT = 0x8D8C + /// + Luminance16iExt = ((int)0x8D8C) , + /// + /// Original was GL_LUMINANCE_ALPHA16I_EXT = 0x8D8D + /// + LuminanceAlpha16iExt = ((int)0x8D8D) , + /// + /// Original was GL_RGBA8I = 0x8D8E + /// + Rgba8i = ((int)0x8D8E) , + /// + /// Original was GL_RGBA8I_EXT = 0x8D8E + /// + Rgba8iExt = ((int)0x8D8E) , + /// + /// Original was GL_RGB8I = 0x8D8F + /// + Rgb8i = ((int)0x8D8F) , + /// + /// Original was GL_RGB8I_EXT = 0x8D8F + /// + Rgb8iExt = ((int)0x8D8F) , + /// + /// Original was GL_ALPHA8I_EXT = 0x8D90 + /// + Alpha8iExt = ((int)0x8D90) , + /// + /// Original was GL_INTENSITY8I_EXT = 0x8D91 + /// + Intensity8iExt = ((int)0x8D91) , + /// + /// Original was GL_LUMINANCE8I_EXT = 0x8D92 + /// + Luminance8iExt = ((int)0x8D92) , + /// + /// Original was GL_LUMINANCE_ALPHA8I_EXT = 0x8D93 + /// + LuminanceAlpha8iExt = ((int)0x8D93) , + /// + /// Original was GL_RED_INTEGER = 0x8D94 + /// + RedInteger = ((int)0x8D94) , + /// + /// Original was GL_RED_INTEGER_EXT = 0x8D94 + /// + RedIntegerExt = ((int)0x8D94) , + /// + /// Original was GL_GREEN_INTEGER = 0x8D95 + /// + GreenInteger = ((int)0x8D95) , + /// + /// Original was GL_GREEN_INTEGER_EXT = 0x8D95 + /// + GreenIntegerExt = ((int)0x8D95) , + /// + /// Original was GL_BLUE_INTEGER = 0x8D96 + /// + BlueInteger = ((int)0x8D96) , + /// + /// Original was GL_BLUE_INTEGER_EXT = 0x8D96 + /// + BlueIntegerExt = ((int)0x8D96) , + /// + /// Original was GL_ALPHA_INTEGER = 0x8D97 + /// + AlphaInteger = ((int)0x8D97) , + /// + /// Original was GL_ALPHA_INTEGER_EXT = 0x8D97 + /// + AlphaIntegerExt = ((int)0x8D97) , + /// + /// Original was GL_RGB_INTEGER = 0x8D98 + /// + RgbInteger = ((int)0x8D98) , + /// + /// Original was GL_RGB_INTEGER_EXT = 0x8D98 + /// + RgbIntegerExt = ((int)0x8D98) , + /// + /// Original was GL_RGBA_INTEGER = 0x8D99 + /// + RgbaInteger = ((int)0x8D99) , + /// + /// Original was GL_RGBA_INTEGER_EXT = 0x8D99 + /// + RgbaIntegerExt = ((int)0x8D99) , + /// + /// Original was GL_BGR_INTEGER = 0x8D9A + /// + BgrInteger = ((int)0x8D9A) , + /// + /// Original was GL_BGR_INTEGER_EXT = 0x8D9A + /// + BgrIntegerExt = ((int)0x8D9A) , + /// + /// Original was GL_BGRA_INTEGER = 0x8D9B + /// + BgraInteger = ((int)0x8D9B) , + /// + /// Original was GL_BGRA_INTEGER_EXT = 0x8D9B + /// + BgraIntegerExt = ((int)0x8D9B) , + /// + /// Original was GL_LUMINANCE_INTEGER_EXT = 0x8D9C + /// + LuminanceIntegerExt = ((int)0x8D9C) , + /// + /// Original was GL_LUMINANCE_ALPHA_INTEGER_EXT = 0x8D9D + /// + LuminanceAlphaIntegerExt = ((int)0x8D9D) , + /// + /// Original was GL_RGBA_INTEGER_MODE_EXT = 0x8D9E + /// + RgbaIntegerModeExt = ((int)0x8D9E) , + /// + /// Original was GL_INT_2_10_10_10_REV = 0x8D9F + /// + Int2101010Rev = ((int)0x8D9F) , + /// + /// Original was GL_MAX_PROGRAM_PARAMETER_BUFFER_BINDINGS_NV = 0x8DA0 + /// + MaxProgramParameterBufferBindingsNv = ((int)0x8DA0) , + /// + /// Original was GL_MAX_PROGRAM_PARAMETER_BUFFER_SIZE_NV = 0x8DA1 + /// + MaxProgramParameterBufferSizeNv = ((int)0x8DA1) , + /// + /// Original was GL_VERTEX_PROGRAM_PARAMETER_BUFFER_NV = 0x8DA2 + /// + VertexProgramParameterBufferNv = ((int)0x8DA2) , + /// + /// Original was GL_GEOMETRY_PROGRAM_PARAMETER_BUFFER_NV = 0x8DA3 + /// + GeometryProgramParameterBufferNv = ((int)0x8DA3) , + /// + /// Original was GL_FRAGMENT_PROGRAM_PARAMETER_BUFFER_NV = 0x8DA4 + /// + FragmentProgramParameterBufferNv = ((int)0x8DA4) , + /// + /// Original was GL_MAX_PROGRAM_GENERIC_ATTRIBS_NV = 0x8DA5 + /// + MaxProgramGenericAttribsNv = ((int)0x8DA5) , + /// + /// Original was GL_MAX_PROGRAM_GENERIC_RESULTS_NV = 0x8DA6 + /// + MaxProgramGenericResultsNv = ((int)0x8DA6) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_LAYERED = 0x8DA7 + /// + FramebufferAttachmentLayered = ((int)0x8DA7) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_LAYERED_ARB = 0x8DA7 + /// + FramebufferAttachmentLayeredArb = ((int)0x8DA7) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_LAYERED_EXT = 0x8DA7 + /// + FramebufferAttachmentLayeredExt = ((int)0x8DA7) , + /// + /// Original was GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS = 0x8DA8 + /// + FramebufferIncompleteLayerTargets = ((int)0x8DA8) , + /// + /// Original was GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_ARB = 0x8DA8 + /// + FramebufferIncompleteLayerTargetsArb = ((int)0x8DA8) , + /// + /// Original was GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT = 0x8DA8 + /// + FramebufferIncompleteLayerTargetsExt = ((int)0x8DA8) , + /// + /// Original was GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT = 0x8DA9 + /// + FramebufferIncompleteLayerCount = ((int)0x8DA9) , + /// + /// Original was GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_ARB = 0x8DA9 + /// + FramebufferIncompleteLayerCountArb = ((int)0x8DA9) , + /// + /// Original was GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_EXT = 0x8DA9 + /// + FramebufferIncompleteLayerCountExt = ((int)0x8DA9) , + /// + /// Original was GL_LAYER_NV = 0x8DAA + /// + LayerNv = ((int)0x8DAA) , + /// + /// Original was GL_DEPTH_COMPONENT32F_NV = 0x8DAB + /// + DepthComponent32fNv = ((int)0x8DAB) , + /// + /// Original was GL_DEPTH32F_STENCIL8_NV = 0x8DAC + /// + Depth32fStencil8Nv = ((int)0x8DAC) , + /// + /// Original was GL_FLOAT_32_UNSIGNED_INT_24_8_REV = 0x8DAD + /// + Float32UnsignedInt248Rev = ((int)0x8DAD) , + /// + /// Original was GL_FLOAT_32_UNSIGNED_INT_24_8_REV_NV = 0x8DAD + /// + Float32UnsignedInt248RevNv = ((int)0x8DAD) , + /// + /// Original was GL_SHADER_INCLUDE_ARB = 0x8DAE + /// + ShaderIncludeArb = ((int)0x8DAE) , + /// + /// Original was GL_DEPTH_BUFFER_FLOAT_MODE_NV = 0x8DAF + /// + DepthBufferFloatModeNv = ((int)0x8DAF) , + /// + /// Original was GL_FRAMEBUFFER_SRGB = 0x8DB9 + /// + FramebufferSrgb = ((int)0x8DB9) , + /// + /// Original was GL_FRAMEBUFFER_SRGB_EXT = 0x8DB9 + /// + FramebufferSrgbExt = ((int)0x8DB9) , + /// + /// Original was GL_FRAMEBUFFER_SRGB_CAPABLE_EXT = 0x8DBA + /// + FramebufferSrgbCapableExt = ((int)0x8DBA) , + /// + /// Original was GL_COMPRESSED_RED_RGTC1 = 0x8DBB + /// + CompressedRedRgtc1 = ((int)0x8DBB) , + /// + /// Original was GL_COMPRESSED_RED_RGTC1_EXT = 0x8DBB + /// + CompressedRedRgtc1Ext = ((int)0x8DBB) , + /// + /// Original was GL_COMPRESSED_SIGNED_RED_RGTC1 = 0x8DBC + /// + CompressedSignedRedRgtc1 = ((int)0x8DBC) , + /// + /// Original was GL_COMPRESSED_SIGNED_RED_RGTC1_EXT = 0x8DBC + /// + CompressedSignedRedRgtc1Ext = ((int)0x8DBC) , + /// + /// Original was GL_COMPRESSED_RED_GREEN_RGTC2_EXT = 0x8DBD + /// + CompressedRedGreenRgtc2Ext = ((int)0x8DBD) , + /// + /// Original was GL_COMPRESSED_RG_RGTC2 = 0x8DBD + /// + CompressedRgRgtc2 = ((int)0x8DBD) , + /// + /// Original was GL_COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT = 0x8DBE + /// + CompressedSignedRedGreenRgtc2Ext = ((int)0x8DBE) , + /// + /// Original was GL_COMPRESSED_SIGNED_RG_RGTC2 = 0x8DBE + /// + CompressedSignedRgRgtc2 = ((int)0x8DBE) , + /// + /// Original was GL_SAMPLER_1D_ARRAY = 0x8DC0 + /// + Sampler1DArray = ((int)0x8DC0) , + /// + /// Original was GL_SAMPLER_1D_ARRAY_EXT = 0x8DC0 + /// + Sampler1DArrayExt = ((int)0x8DC0) , + /// + /// Original was GL_SAMPLER_2D_ARRAY = 0x8DC1 + /// + Sampler2DArray = ((int)0x8DC1) , + /// + /// Original was GL_SAMPLER_2D_ARRAY_EXT = 0x8DC1 + /// + Sampler2DArrayExt = ((int)0x8DC1) , + /// + /// Original was GL_SAMPLER_BUFFER = 0x8DC2 + /// + SamplerBuffer = ((int)0x8DC2) , + /// + /// Original was GL_SAMPLER_BUFFER_EXT = 0x8DC2 + /// + SamplerBufferExt = ((int)0x8DC2) , + /// + /// Original was GL_SAMPLER_1D_ARRAY_SHADOW = 0x8DC3 + /// + Sampler1DArrayShadow = ((int)0x8DC3) , + /// + /// Original was GL_SAMPLER_1D_ARRAY_SHADOW_EXT = 0x8DC3 + /// + Sampler1DArrayShadowExt = ((int)0x8DC3) , + /// + /// Original was GL_SAMPLER_2D_ARRAY_SHADOW = 0x8DC4 + /// + Sampler2DArrayShadow = ((int)0x8DC4) , + /// + /// Original was GL_SAMPLER_2D_ARRAY_SHADOW_EXT = 0x8DC4 + /// + Sampler2DArrayShadowExt = ((int)0x8DC4) , + /// + /// Original was GL_SAMPLER_CUBE_SHADOW = 0x8DC5 + /// + SamplerCubeShadow = ((int)0x8DC5) , + /// + /// Original was GL_SAMPLER_CUBE_SHADOW_EXT = 0x8DC5 + /// + SamplerCubeShadowExt = ((int)0x8DC5) , + /// + /// Original was GL_UNSIGNED_INT_VEC2 = 0x8DC6 + /// + UnsignedIntVec2 = ((int)0x8DC6) , + /// + /// Original was GL_UNSIGNED_INT_VEC2_EXT = 0x8DC6 + /// + UnsignedIntVec2Ext = ((int)0x8DC6) , + /// + /// Original was GL_UNSIGNED_INT_VEC3 = 0x8DC7 + /// + UnsignedIntVec3 = ((int)0x8DC7) , + /// + /// Original was GL_UNSIGNED_INT_VEC3_EXT = 0x8DC7 + /// + UnsignedIntVec3Ext = ((int)0x8DC7) , + /// + /// Original was GL_UNSIGNED_INT_VEC4 = 0x8DC8 + /// + UnsignedIntVec4 = ((int)0x8DC8) , + /// + /// Original was GL_UNSIGNED_INT_VEC4_EXT = 0x8DC8 + /// + UnsignedIntVec4Ext = ((int)0x8DC8) , + /// + /// Original was GL_INT_SAMPLER_1D = 0x8DC9 + /// + IntSampler1D = ((int)0x8DC9) , + /// + /// Original was GL_INT_SAMPLER_1D_EXT = 0x8DC9 + /// + IntSampler1DExt = ((int)0x8DC9) , + /// + /// Original was GL_INT_SAMPLER_2D = 0x8DCA + /// + IntSampler2D = ((int)0x8DCA) , + /// + /// Original was GL_INT_SAMPLER_2D_EXT = 0x8DCA + /// + IntSampler2DExt = ((int)0x8DCA) , + /// + /// Original was GL_INT_SAMPLER_3D = 0x8DCB + /// + IntSampler3D = ((int)0x8DCB) , + /// + /// Original was GL_INT_SAMPLER_3D_EXT = 0x8DCB + /// + IntSampler3DExt = ((int)0x8DCB) , + /// + /// Original was GL_INT_SAMPLER_CUBE = 0x8DCC + /// + IntSamplerCube = ((int)0x8DCC) , + /// + /// Original was GL_INT_SAMPLER_CUBE_EXT = 0x8DCC + /// + IntSamplerCubeExt = ((int)0x8DCC) , + /// + /// Original was GL_INT_SAMPLER_2D_RECT = 0x8DCD + /// + IntSampler2DRect = ((int)0x8DCD) , + /// + /// Original was GL_INT_SAMPLER_2D_RECT_EXT = 0x8DCD + /// + IntSampler2DRectExt = ((int)0x8DCD) , + /// + /// Original was GL_INT_SAMPLER_1D_ARRAY = 0x8DCE + /// + IntSampler1DArray = ((int)0x8DCE) , + /// + /// Original was GL_INT_SAMPLER_1D_ARRAY_EXT = 0x8DCE + /// + IntSampler1DArrayExt = ((int)0x8DCE) , + /// + /// Original was GL_INT_SAMPLER_2D_ARRAY = 0x8DCF + /// + IntSampler2DArray = ((int)0x8DCF) , + /// + /// Original was GL_INT_SAMPLER_2D_ARRAY_EXT = 0x8DCF + /// + IntSampler2DArrayExt = ((int)0x8DCF) , + /// + /// Original was GL_INT_SAMPLER_BUFFER = 0x8DD0 + /// + IntSamplerBuffer = ((int)0x8DD0) , + /// + /// Original was GL_INT_SAMPLER_BUFFER_EXT = 0x8DD0 + /// + IntSamplerBufferExt = ((int)0x8DD0) , + /// + /// Original was GL_UNSIGNED_INT_SAMPLER_1D = 0x8DD1 + /// + UnsignedIntSampler1D = ((int)0x8DD1) , + /// + /// Original was GL_UNSIGNED_INT_SAMPLER_1D_EXT = 0x8DD1 + /// + UnsignedIntSampler1DExt = ((int)0x8DD1) , + /// + /// Original was GL_UNSIGNED_INT_SAMPLER_2D = 0x8DD2 + /// + UnsignedIntSampler2D = ((int)0x8DD2) , + /// + /// Original was GL_UNSIGNED_INT_SAMPLER_2D_EXT = 0x8DD2 + /// + UnsignedIntSampler2DExt = ((int)0x8DD2) , + /// + /// Original was GL_UNSIGNED_INT_SAMPLER_3D = 0x8DD3 + /// + UnsignedIntSampler3D = ((int)0x8DD3) , + /// + /// Original was GL_UNSIGNED_INT_SAMPLER_3D_EXT = 0x8DD3 + /// + UnsignedIntSampler3DExt = ((int)0x8DD3) , + /// + /// Original was GL_UNSIGNED_INT_SAMPLER_CUBE = 0x8DD4 + /// + UnsignedIntSamplerCube = ((int)0x8DD4) , + /// + /// Original was GL_UNSIGNED_INT_SAMPLER_CUBE_EXT = 0x8DD4 + /// + UnsignedIntSamplerCubeExt = ((int)0x8DD4) , + /// + /// Original was GL_UNSIGNED_INT_SAMPLER_2D_RECT = 0x8DD5 + /// + UnsignedIntSampler2DRect = ((int)0x8DD5) , + /// + /// Original was GL_UNSIGNED_INT_SAMPLER_2D_RECT_EXT = 0x8DD5 + /// + UnsignedIntSampler2DRectExt = ((int)0x8DD5) , + /// + /// Original was GL_UNSIGNED_INT_SAMPLER_1D_ARRAY = 0x8DD6 + /// + UnsignedIntSampler1DArray = ((int)0x8DD6) , + /// + /// Original was GL_UNSIGNED_INT_SAMPLER_1D_ARRAY_EXT = 0x8DD6 + /// + UnsignedIntSampler1DArrayExt = ((int)0x8DD6) , + /// + /// Original was GL_UNSIGNED_INT_SAMPLER_2D_ARRAY = 0x8DD7 + /// + UnsignedIntSampler2DArray = ((int)0x8DD7) , + /// + /// Original was GL_UNSIGNED_INT_SAMPLER_2D_ARRAY_EXT = 0x8DD7 + /// + UnsignedIntSampler2DArrayExt = ((int)0x8DD7) , + /// + /// Original was GL_UNSIGNED_INT_SAMPLER_BUFFER = 0x8DD8 + /// + UnsignedIntSamplerBuffer = ((int)0x8DD8) , + /// + /// Original was GL_UNSIGNED_INT_SAMPLER_BUFFER_EXT = 0x8DD8 + /// + UnsignedIntSamplerBufferExt = ((int)0x8DD8) , + /// + /// Original was GL_GEOMETRY_SHADER = 0x8DD9 + /// + GeometryShader = ((int)0x8DD9) , + /// + /// Original was GL_GEOMETRY_SHADER_ARB = 0x8DD9 + /// + GeometryShaderArb = ((int)0x8DD9) , + /// + /// Original was GL_GEOMETRY_SHADER_EXT = 0x8DD9 + /// + GeometryShaderExt = ((int)0x8DD9) , + /// + /// Original was GL_GEOMETRY_VERTICES_OUT_ARB = 0x8DDA + /// + GeometryVerticesOutArb = ((int)0x8DDA) , + /// + /// Original was GL_GEOMETRY_VERTICES_OUT_EXT = 0x8DDA + /// + GeometryVerticesOutExt = ((int)0x8DDA) , + /// + /// Original was GL_GEOMETRY_INPUT_TYPE_ARB = 0x8DDB + /// + GeometryInputTypeArb = ((int)0x8DDB) , + /// + /// Original was GL_GEOMETRY_INPUT_TYPE_EXT = 0x8DDB + /// + GeometryInputTypeExt = ((int)0x8DDB) , + /// + /// Original was GL_GEOMETRY_OUTPUT_TYPE_ARB = 0x8DDC + /// + GeometryOutputTypeArb = ((int)0x8DDC) , + /// + /// Original was GL_GEOMETRY_OUTPUT_TYPE_EXT = 0x8DDC + /// + GeometryOutputTypeExt = ((int)0x8DDC) , + /// + /// Original was GL_MAX_GEOMETRY_VARYING_COMPONENTS = 0x8DDD + /// + MaxGeometryVaryingComponents = ((int)0x8DDD) , + /// + /// Original was GL_MAX_GEOMETRY_VARYING_COMPONENTS_ARB = 0x8DDD + /// + MaxGeometryVaryingComponentsArb = ((int)0x8DDD) , + /// + /// Original was GL_MAX_GEOMETRY_VARYING_COMPONENTS_EXT = 0x8DDD + /// + MaxGeometryVaryingComponentsExt = ((int)0x8DDD) , + /// + /// Original was GL_MAX_VERTEX_VARYING_COMPONENTS = 0x8DDE + /// + MaxVertexVaryingComponents = ((int)0x8DDE) , + /// + /// Original was GL_MAX_VERTEX_VARYING_COMPONENTS_ARB = 0x8DDE + /// + MaxVertexVaryingComponentsArb = ((int)0x8DDE) , + /// + /// Original was GL_MAX_VERTEX_VARYING_COMPONENTS_EXT = 0x8DDE + /// + MaxVertexVaryingComponentsExt = ((int)0x8DDE) , + /// + /// Original was GL_MAX_GEOMETRY_UNIFORM_COMPONENTS = 0x8DDF + /// + MaxGeometryUniformComponents = ((int)0x8DDF) , + /// + /// Original was GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_ARB = 0x8DDF + /// + MaxGeometryUniformComponentsArb = ((int)0x8DDF) , + /// + /// Original was GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_EXT = 0x8DDF + /// + MaxGeometryUniformComponentsExt = ((int)0x8DDF) , + /// + /// Original was GL_MAX_GEOMETRY_OUTPUT_VERTICES = 0x8DE0 + /// + MaxGeometryOutputVertices = ((int)0x8DE0) , + /// + /// Original was GL_MAX_GEOMETRY_OUTPUT_VERTICES_ARB = 0x8DE0 + /// + MaxGeometryOutputVerticesArb = ((int)0x8DE0) , + /// + /// Original was GL_MAX_GEOMETRY_OUTPUT_VERTICES_EXT = 0x8DE0 + /// + MaxGeometryOutputVerticesExt = ((int)0x8DE0) , + /// + /// Original was GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS = 0x8DE1 + /// + MaxGeometryTotalOutputComponents = ((int)0x8DE1) , + /// + /// Original was GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_ARB = 0x8DE1 + /// + MaxGeometryTotalOutputComponentsArb = ((int)0x8DE1) , + /// + /// Original was GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_EXT = 0x8DE1 + /// + MaxGeometryTotalOutputComponentsExt = ((int)0x8DE1) , + /// + /// Original was GL_MAX_VERTEX_BINDABLE_UNIFORMS_EXT = 0x8DE2 + /// + MaxVertexBindableUniformsExt = ((int)0x8DE2) , + /// + /// Original was GL_MAX_FRAGMENT_BINDABLE_UNIFORMS_EXT = 0x8DE3 + /// + MaxFragmentBindableUniformsExt = ((int)0x8DE3) , + /// + /// Original was GL_MAX_GEOMETRY_BINDABLE_UNIFORMS_EXT = 0x8DE4 + /// + MaxGeometryBindableUniformsExt = ((int)0x8DE4) , + /// + /// Original was GL_ACTIVE_SUBROUTINES = 0x8DE5 + /// + ActiveSubroutines = ((int)0x8DE5) , + /// + /// Original was GL_ACTIVE_SUBROUTINE_UNIFORMS = 0x8DE6 + /// + ActiveSubroutineUniforms = ((int)0x8DE6) , + /// + /// Original was GL_MAX_SUBROUTINES = 0x8DE7 + /// + MaxSubroutines = ((int)0x8DE7) , + /// + /// Original was GL_MAX_SUBROUTINE_UNIFORM_LOCATIONS = 0x8DE8 + /// + MaxSubroutineUniformLocations = ((int)0x8DE8) , + /// + /// Original was GL_NAMED_STRING_LENGTH_ARB = 0x8DE9 + /// + NamedStringLengthArb = ((int)0x8DE9) , + /// + /// Original was GL_NAMED_STRING_TYPE_ARB = 0x8DEA + /// + NamedStringTypeArb = ((int)0x8DEA) , + /// + /// Original was GL_MAX_BINDABLE_UNIFORM_SIZE_EXT = 0x8DED + /// + MaxBindableUniformSizeExt = ((int)0x8DED) , + /// + /// Original was GL_UNIFORM_BUFFER_EXT = 0x8DEE + /// + UniformBufferExt = ((int)0x8DEE) , + /// + /// Original was GL_UNIFORM_BUFFER_BINDING_EXT = 0x8DEF + /// + UniformBufferBindingExt = ((int)0x8DEF) , + /// + /// Original was GL_LOW_FLOAT = 0x8DF0 + /// + LowFloat = ((int)0x8DF0) , + /// + /// Original was GL_MEDIUM_FLOAT = 0x8DF1 + /// + MediumFloat = ((int)0x8DF1) , + /// + /// Original was GL_HIGH_FLOAT = 0x8DF2 + /// + HighFloat = ((int)0x8DF2) , + /// + /// Original was GL_LOW_INT = 0x8DF3 + /// + LowInt = ((int)0x8DF3) , + /// + /// Original was GL_MEDIUM_INT = 0x8DF4 + /// + MediumInt = ((int)0x8DF4) , + /// + /// Original was GL_HIGH_INT = 0x8DF5 + /// + HighInt = ((int)0x8DF5) , + /// + /// Original was GL_UNSIGNED_INT_10_10_10_2_OES = 0x8DF6 + /// + UnsignedInt1010102Oes = ((int)0x8DF6) , + /// + /// Original was GL_INT_10_10_10_2_OES = 0x8DF7 + /// + Int1010102Oes = ((int)0x8DF7) , + /// + /// Original was GL_SHADER_BINARY_FORMATS = 0x8DF8 + /// + ShaderBinaryFormats = ((int)0x8DF8) , + /// + /// Original was GL_NUM_SHADER_BINARY_FORMATS = 0x8DF9 + /// + NumShaderBinaryFormats = ((int)0x8DF9) , + /// + /// Original was GL_SHADER_COMPILER = 0x8DFA + /// + ShaderCompiler = ((int)0x8DFA) , + /// + /// Original was GL_MAX_VERTEX_UNIFORM_VECTORS = 0x8DFB + /// + MaxVertexUniformVectors = ((int)0x8DFB) , + /// + /// Original was GL_MAX_VARYING_VECTORS = 0x8DFC + /// + MaxVaryingVectors = ((int)0x8DFC) , + /// + /// Original was GL_MAX_FRAGMENT_UNIFORM_VECTORS = 0x8DFD + /// + MaxFragmentUniformVectors = ((int)0x8DFD) , + /// + /// Original was GL_RENDERBUFFER_COLOR_SAMPLES_NV = 0x8E10 + /// + RenderbufferColorSamplesNv = ((int)0x8E10) , + /// + /// Original was GL_MAX_MULTISAMPLE_COVERAGE_MODES_NV = 0x8E11 + /// + MaxMultisampleCoverageModesNv = ((int)0x8E11) , + /// + /// Original was GL_MULTISAMPLE_COVERAGE_MODES_NV = 0x8E12 + /// + MultisampleCoverageModesNv = ((int)0x8E12) , + /// + /// Original was GL_QUERY_WAIT = 0x8E13 + /// + QueryWait = ((int)0x8E13) , + /// + /// Original was GL_QUERY_WAIT_NV = 0x8E13 + /// + QueryWaitNv = ((int)0x8E13) , + /// + /// Original was GL_QUERY_NO_WAIT = 0x8E14 + /// + QueryNoWait = ((int)0x8E14) , + /// + /// Original was GL_QUERY_NO_WAIT_NV = 0x8E14 + /// + QueryNoWaitNv = ((int)0x8E14) , + /// + /// Original was GL_QUERY_BY_REGION_WAIT = 0x8E15 + /// + QueryByRegionWait = ((int)0x8E15) , + /// + /// Original was GL_QUERY_BY_REGION_WAIT_NV = 0x8E15 + /// + QueryByRegionWaitNv = ((int)0x8E15) , + /// + /// Original was GL_QUERY_BY_REGION_NO_WAIT = 0x8E16 + /// + QueryByRegionNoWait = ((int)0x8E16) , + /// + /// Original was GL_QUERY_BY_REGION_NO_WAIT_NV = 0x8E16 + /// + QueryByRegionNoWaitNv = ((int)0x8E16) , + /// + /// Original was GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS = 0x8E1E + /// + MaxCombinedTessControlUniformComponents = ((int)0x8E1E) , + /// + /// Original was GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS = 0x8E1F + /// + MaxCombinedTessEvaluationUniformComponents = ((int)0x8E1F) , + /// + /// Original was GL_COLOR_SAMPLES_NV = 0x8E20 + /// + ColorSamplesNv = ((int)0x8E20) , + /// + /// Original was GL_TRANSFORM_FEEDBACK = 0x8E22 + /// + TransformFeedback = ((int)0x8E22) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_NV = 0x8E22 + /// + TransformFeedbackNv = ((int)0x8E22) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED = 0x8E23 + /// + TransformFeedbackBufferPaused = ((int)0x8E23) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED_NV = 0x8E23 + /// + TransformFeedbackBufferPausedNv = ((int)0x8E23) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE = 0x8E24 + /// + TransformFeedbackBufferActive = ((int)0x8E24) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE_NV = 0x8E24 + /// + TransformFeedbackBufferActiveNv = ((int)0x8E24) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_BINDING = 0x8E25 + /// + TransformFeedbackBinding = ((int)0x8E25) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_BINDING_NV = 0x8E25 + /// + TransformFeedbackBindingNv = ((int)0x8E25) , + /// + /// Original was GL_FRAME_NV = 0x8E26 + /// + FrameNv = ((int)0x8E26) , + /// + /// Original was GL_FIELDS_NV = 0x8E27 + /// + FieldsNv = ((int)0x8E27) , + /// + /// Original was GL_CURRENT_TIME_NV = 0x8E28 + /// + CurrentTimeNv = ((int)0x8E28) , + /// + /// Original was GL_TIMESTAMP = 0x8E28 + /// + Timestamp = ((int)0x8E28) , + /// + /// Original was GL_NUM_FILL_STREAMS_NV = 0x8E29 + /// + NumFillStreamsNv = ((int)0x8E29) , + /// + /// Original was GL_PRESENT_TIME_NV = 0x8E2A + /// + PresentTimeNv = ((int)0x8E2A) , + /// + /// Original was GL_PRESENT_DURATION_NV = 0x8E2B + /// + PresentDurationNv = ((int)0x8E2B) , + /// + /// Original was GL_DEPTH_COMPONENT16_NONLINEAR_NV = 0x8E2C + /// + DepthComponent16NonlinearNv = ((int)0x8E2C) , + /// + /// Original was GL_PROGRAM_MATRIX_EXT = 0x8E2D + /// + ProgramMatrixExt = ((int)0x8E2D) , + /// + /// Original was GL_TRANSPOSE_PROGRAM_MATRIX_EXT = 0x8E2E + /// + TransposeProgramMatrixExt = ((int)0x8E2E) , + /// + /// Original was GL_PROGRAM_MATRIX_STACK_DEPTH_EXT = 0x8E2F + /// + ProgramMatrixStackDepthExt = ((int)0x8E2F) , + /// + /// Original was GL_TEXTURE_SWIZZLE_R = 0x8E42 + /// + TextureSwizzleR = ((int)0x8E42) , + /// + /// Original was GL_TEXTURE_SWIZZLE_R_EXT = 0x8E42 + /// + TextureSwizzleRExt = ((int)0x8E42) , + /// + /// Original was GL_TEXTURE_SWIZZLE_G = 0x8E43 + /// + TextureSwizzleG = ((int)0x8E43) , + /// + /// Original was GL_TEXTURE_SWIZZLE_G_EXT = 0x8E43 + /// + TextureSwizzleGExt = ((int)0x8E43) , + /// + /// Original was GL_TEXTURE_SWIZZLE_B = 0x8E44 + /// + TextureSwizzleB = ((int)0x8E44) , + /// + /// Original was GL_TEXTURE_SWIZZLE_B_EXT = 0x8E44 + /// + TextureSwizzleBExt = ((int)0x8E44) , + /// + /// Original was GL_TEXTURE_SWIZZLE_A = 0x8E45 + /// + TextureSwizzleA = ((int)0x8E45) , + /// + /// Original was GL_TEXTURE_SWIZZLE_A_EXT = 0x8E45 + /// + TextureSwizzleAExt = ((int)0x8E45) , + /// + /// Original was GL_TEXTURE_SWIZZLE_RGBA = 0x8E46 + /// + TextureSwizzleRgba = ((int)0x8E46) , + /// + /// Original was GL_TEXTURE_SWIZZLE_RGBA_EXT = 0x8E46 + /// + TextureSwizzleRgbaExt = ((int)0x8E46) , + /// + /// Original was GL_ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS = 0x8E47 + /// + ActiveSubroutineUniformLocations = ((int)0x8E47) , + /// + /// Original was GL_ACTIVE_SUBROUTINE_MAX_LENGTH = 0x8E48 + /// + ActiveSubroutineMaxLength = ((int)0x8E48) , + /// + /// Original was GL_ACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH = 0x8E49 + /// + ActiveSubroutineUniformMaxLength = ((int)0x8E49) , + /// + /// Original was GL_NUM_COMPATIBLE_SUBROUTINES = 0x8E4A + /// + NumCompatibleSubroutines = ((int)0x8E4A) , + /// + /// Original was GL_COMPATIBLE_SUBROUTINES = 0x8E4B + /// + CompatibleSubroutines = ((int)0x8E4B) , + /// + /// Original was GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION = 0x8E4C + /// + QuadsFollowProvokingVertexConvention = ((int)0x8E4C) , + /// + /// Original was GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION_EXT = 0x8E4C + /// + QuadsFollowProvokingVertexConventionExt = ((int)0x8E4C) , + /// + /// Original was GL_FIRST_VERTEX_CONVENTION = 0x8E4D + /// + FirstVertexConvention = ((int)0x8E4D) , + /// + /// Original was GL_FIRST_VERTEX_CONVENTION_EXT = 0x8E4D + /// + FirstVertexConventionExt = ((int)0x8E4D) , + /// + /// Original was GL_LAST_VERTEX_CONVENTION = 0x8E4E + /// + LastVertexConvention = ((int)0x8E4E) , + /// + /// Original was GL_LAST_VERTEX_CONVENTION_EXT = 0x8E4E + /// + LastVertexConventionExt = ((int)0x8E4E) , + /// + /// Original was GL_PROVOKING_VERTEX = 0x8E4F + /// + ProvokingVertex = ((int)0x8E4F) , + /// + /// Original was GL_PROVOKING_VERTEX_EXT = 0x8E4F + /// + ProvokingVertexExt = ((int)0x8E4F) , + /// + /// Original was GL_SAMPLE_POSITION = 0x8E50 + /// + SamplePosition = ((int)0x8E50) , + /// + /// Original was GL_SAMPLE_POSITION_NV = 0x8E50 + /// + SamplePositionNv = ((int)0x8E50) , + /// + /// Original was GL_SAMPLE_MASK = 0x8E51 + /// + SampleMask = ((int)0x8E51) , + /// + /// Original was GL_SAMPLE_MASK_NV = 0x8E51 + /// + SampleMaskNv = ((int)0x8E51) , + /// + /// Original was GL_SAMPLE_MASK_VALUE = 0x8E52 + /// + SampleMaskValue = ((int)0x8E52) , + /// + /// Original was GL_SAMPLE_MASK_VALUE_NV = 0x8E52 + /// + SampleMaskValueNv = ((int)0x8E52) , + /// + /// Original was GL_TEXTURE_BINDING_RENDERBUFFER_NV = 0x8E53 + /// + TextureBindingRenderbufferNv = ((int)0x8E53) , + /// + /// Original was GL_TEXTURE_RENDERBUFFER_DATA_STORE_BINDING_NV = 0x8E54 + /// + TextureRenderbufferDataStoreBindingNv = ((int)0x8E54) , + /// + /// Original was GL_TEXTURE_RENDERBUFFER_NV = 0x8E55 + /// + TextureRenderbufferNv = ((int)0x8E55) , + /// + /// Original was GL_SAMPLER_RENDERBUFFER_NV = 0x8E56 + /// + SamplerRenderbufferNv = ((int)0x8E56) , + /// + /// Original was GL_INT_SAMPLER_RENDERBUFFER_NV = 0x8E57 + /// + IntSamplerRenderbufferNv = ((int)0x8E57) , + /// + /// Original was GL_UNSIGNED_INT_SAMPLER_RENDERBUFFER_NV = 0x8E58 + /// + UnsignedIntSamplerRenderbufferNv = ((int)0x8E58) , + /// + /// Original was GL_MAX_SAMPLE_MASK_WORDS = 0x8E59 + /// + MaxSampleMaskWords = ((int)0x8E59) , + /// + /// Original was GL_MAX_SAMPLE_MASK_WORDS_NV = 0x8E59 + /// + MaxSampleMaskWordsNv = ((int)0x8E59) , + /// + /// Original was GL_MAX_GEOMETRY_PROGRAM_INVOCATIONS_NV = 0x8E5A + /// + MaxGeometryProgramInvocationsNv = ((int)0x8E5A) , + /// + /// Original was GL_MAX_GEOMETRY_SHADER_INVOCATIONS = 0x8E5A + /// + MaxGeometryShaderInvocations = ((int)0x8E5A) , + /// + /// Original was GL_MIN_FRAGMENT_INTERPOLATION_OFFSET = 0x8E5B + /// + MinFragmentInterpolationOffset = ((int)0x8E5B) , + /// + /// Original was GL_MIN_FRAGMENT_INTERPOLATION_OFFSET_NV = 0x8E5B + /// + MinFragmentInterpolationOffsetNv = ((int)0x8E5B) , + /// + /// Original was GL_MAX_FRAGMENT_INTERPOLATION_OFFSET = 0x8E5C + /// + MaxFragmentInterpolationOffset = ((int)0x8E5C) , + /// + /// Original was GL_MAX_FRAGMENT_INTERPOLATION_OFFSET_NV = 0x8E5C + /// + MaxFragmentInterpolationOffsetNv = ((int)0x8E5C) , + /// + /// Original was GL_FRAGMENT_INTERPOLATION_OFFSET_BITS = 0x8E5D + /// + FragmentInterpolationOffsetBits = ((int)0x8E5D) , + /// + /// Original was GL_FRAGMENT_PROGRAM_INTERPOLATION_OFFSET_BITS_NV = 0x8E5D + /// + FragmentProgramInterpolationOffsetBitsNv = ((int)0x8E5D) , + /// + /// Original was GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET = 0x8E5E + /// + MinProgramTextureGatherOffset = ((int)0x8E5E) , + /// + /// Original was GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET_ARB = 0x8E5E + /// + MinProgramTextureGatherOffsetArb = ((int)0x8E5E) , + /// + /// Original was GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET_NV = 0x8E5E + /// + MinProgramTextureGatherOffsetNv = ((int)0x8E5E) , + /// + /// Original was GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET = 0x8E5F + /// + MaxProgramTextureGatherOffset = ((int)0x8E5F) , + /// + /// Original was GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET_ARB = 0x8E5F + /// + MaxProgramTextureGatherOffsetArb = ((int)0x8E5F) , + /// + /// Original was GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET_NV = 0x8E5F + /// + MaxProgramTextureGatherOffsetNv = ((int)0x8E5F) , + /// + /// Original was GL_MAX_TRANSFORM_FEEDBACK_BUFFERS = 0x8E70 + /// + MaxTransformFeedbackBuffers = ((int)0x8E70) , + /// + /// Original was GL_MAX_VERTEX_STREAMS = 0x8E71 + /// + MaxVertexStreams = ((int)0x8E71) , + /// + /// Original was GL_PATCH_VERTICES = 0x8E72 + /// + PatchVertices = ((int)0x8E72) , + /// + /// Original was GL_PATCH_DEFAULT_INNER_LEVEL = 0x8E73 + /// + PatchDefaultInnerLevel = ((int)0x8E73) , + /// + /// Original was GL_PATCH_DEFAULT_OUTER_LEVEL = 0x8E74 + /// + PatchDefaultOuterLevel = ((int)0x8E74) , + /// + /// Original was GL_TESS_CONTROL_OUTPUT_VERTICES = 0x8E75 + /// + TessControlOutputVertices = ((int)0x8E75) , + /// + /// Original was GL_TESS_GEN_MODE = 0x8E76 + /// + TessGenMode = ((int)0x8E76) , + /// + /// Original was GL_TESS_GEN_SPACING = 0x8E77 + /// + TessGenSpacing = ((int)0x8E77) , + /// + /// Original was GL_TESS_GEN_VERTEX_ORDER = 0x8E78 + /// + TessGenVertexOrder = ((int)0x8E78) , + /// + /// Original was GL_TESS_GEN_POINT_MODE = 0x8E79 + /// + TessGenPointMode = ((int)0x8E79) , + /// + /// Original was GL_ISOLINES = 0x8E7A + /// + Isolines = ((int)0x8E7A) , + /// + /// Original was GL_FRACTIONAL_ODD = 0x8E7B + /// + FractionalOdd = ((int)0x8E7B) , + /// + /// Original was GL_FRACTIONAL_EVEN = 0x8E7C + /// + FractionalEven = ((int)0x8E7C) , + /// + /// Original was GL_MAX_PATCH_VERTICES = 0x8E7D + /// + MaxPatchVertices = ((int)0x8E7D) , + /// + /// Original was GL_MAX_TESS_GEN_LEVEL = 0x8E7E + /// + MaxTessGenLevel = ((int)0x8E7E) , + /// + /// Original was GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS = 0x8E7F + /// + MaxTessControlUniformComponents = ((int)0x8E7F) , + /// + /// Original was GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS = 0x8E80 + /// + MaxTessEvaluationUniformComponents = ((int)0x8E80) , + /// + /// Original was GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS = 0x8E81 + /// + MaxTessControlTextureImageUnits = ((int)0x8E81) , + /// + /// Original was GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS = 0x8E82 + /// + MaxTessEvaluationTextureImageUnits = ((int)0x8E82) , + /// + /// Original was GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS = 0x8E83 + /// + MaxTessControlOutputComponents = ((int)0x8E83) , + /// + /// Original was GL_MAX_TESS_PATCH_COMPONENTS = 0x8E84 + /// + MaxTessPatchComponents = ((int)0x8E84) , + /// + /// Original was GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS = 0x8E85 + /// + MaxTessControlTotalOutputComponents = ((int)0x8E85) , + /// + /// Original was GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS = 0x8E86 + /// + MaxTessEvaluationOutputComponents = ((int)0x8E86) , + /// + /// Original was GL_TESS_EVALUATION_SHADER = 0x8E87 + /// + TessEvaluationShader = ((int)0x8E87) , + /// + /// Original was GL_TESS_CONTROL_SHADER = 0x8E88 + /// + TessControlShader = ((int)0x8E88) , + /// + /// Original was GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS = 0x8E89 + /// + MaxTessControlUniformBlocks = ((int)0x8E89) , + /// + /// Original was GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS = 0x8E8A + /// + MaxTessEvaluationUniformBlocks = ((int)0x8E8A) , + /// + /// Original was GL_COMPRESSED_RGBA_BPTC_UNORM_ARB = 0x8E8C + /// + CompressedRgbaBptcUnormArb = ((int)0x8E8C) , + /// + /// Original was GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM_ARB = 0x8E8D + /// + CompressedSrgbAlphaBptcUnormArb = ((int)0x8E8D) , + /// + /// Original was GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT_ARB = 0x8E8E + /// + CompressedRgbBptcSignedFloatArb = ((int)0x8E8E) , + /// + /// Original was GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_ARB = 0x8E8F + /// + CompressedRgbBptcUnsignedFloatArb = ((int)0x8E8F) , + /// + /// Original was GL_COVERAGE_COMPONENT_NV = 0x8ED0 + /// + CoverageComponentNv = ((int)0x8ED0) , + /// + /// Original was GL_COVERAGE_COMPONENT4_NV = 0x8ED1 + /// + CoverageComponent4Nv = ((int)0x8ED1) , + /// + /// Original was GL_COVERAGE_ATTACHMENT_NV = 0x8ED2 + /// + CoverageAttachmentNv = ((int)0x8ED2) , + /// + /// Original was GL_COVERAGE_BUFFERS_NV = 0x8ED3 + /// + CoverageBuffersNv = ((int)0x8ED3) , + /// + /// Original was GL_COVERAGE_SAMPLES_NV = 0x8ED4 + /// + CoverageSamplesNv = ((int)0x8ED4) , + /// + /// Original was GL_COVERAGE_ALL_FRAGMENTS_NV = 0x8ED5 + /// + CoverageAllFragmentsNv = ((int)0x8ED5) , + /// + /// Original was GL_COVERAGE_EDGE_FRAGMENTS_NV = 0x8ED6 + /// + CoverageEdgeFragmentsNv = ((int)0x8ED6) , + /// + /// Original was GL_COVERAGE_AUTOMATIC_NV = 0x8ED7 + /// + CoverageAutomaticNv = ((int)0x8ED7) , + /// + /// Original was GL_BUFFER_GPU_ADDRESS_NV = 0x8F1D + /// + BufferGpuAddressNv = ((int)0x8F1D) , + /// + /// Original was GL_VERTEX_ATTRIB_ARRAY_UNIFIED_NV = 0x8F1E + /// + VertexAttribArrayUnifiedNv = ((int)0x8F1E) , + /// + /// Original was GL_ELEMENT_ARRAY_UNIFIED_NV = 0x8F1F + /// + ElementArrayUnifiedNv = ((int)0x8F1F) , + /// + /// Original was GL_VERTEX_ATTRIB_ARRAY_ADDRESS_NV = 0x8F20 + /// + VertexAttribArrayAddressNv = ((int)0x8F20) , + /// + /// Original was GL_VERTEX_ARRAY_ADDRESS_NV = 0x8F21 + /// + VertexArrayAddressNv = ((int)0x8F21) , + /// + /// Original was GL_NORMAL_ARRAY_ADDRESS_NV = 0x8F22 + /// + NormalArrayAddressNv = ((int)0x8F22) , + /// + /// Original was GL_COLOR_ARRAY_ADDRESS_NV = 0x8F23 + /// + ColorArrayAddressNv = ((int)0x8F23) , + /// + /// Original was GL_INDEX_ARRAY_ADDRESS_NV = 0x8F24 + /// + IndexArrayAddressNv = ((int)0x8F24) , + /// + /// Original was GL_TEXTURE_COORD_ARRAY_ADDRESS_NV = 0x8F25 + /// + TextureCoordArrayAddressNv = ((int)0x8F25) , + /// + /// Original was GL_EDGE_FLAG_ARRAY_ADDRESS_NV = 0x8F26 + /// + EdgeFlagArrayAddressNv = ((int)0x8F26) , + /// + /// Original was GL_SECONDARY_COLOR_ARRAY_ADDRESS_NV = 0x8F27 + /// + SecondaryColorArrayAddressNv = ((int)0x8F27) , + /// + /// Original was GL_FOG_COORD_ARRAY_ADDRESS_NV = 0x8F28 + /// + FogCoordArrayAddressNv = ((int)0x8F28) , + /// + /// Original was GL_ELEMENT_ARRAY_ADDRESS_NV = 0x8F29 + /// + ElementArrayAddressNv = ((int)0x8F29) , + /// + /// Original was GL_VERTEX_ATTRIB_ARRAY_LENGTH_NV = 0x8F2A + /// + VertexAttribArrayLengthNv = ((int)0x8F2A) , + /// + /// Original was GL_VERTEX_ARRAY_LENGTH_NV = 0x8F2B + /// + VertexArrayLengthNv = ((int)0x8F2B) , + /// + /// Original was GL_NORMAL_ARRAY_LENGTH_NV = 0x8F2C + /// + NormalArrayLengthNv = ((int)0x8F2C) , + /// + /// Original was GL_COLOR_ARRAY_LENGTH_NV = 0x8F2D + /// + ColorArrayLengthNv = ((int)0x8F2D) , + /// + /// Original was GL_INDEX_ARRAY_LENGTH_NV = 0x8F2E + /// + IndexArrayLengthNv = ((int)0x8F2E) , + /// + /// Original was GL_TEXTURE_COORD_ARRAY_LENGTH_NV = 0x8F2F + /// + TextureCoordArrayLengthNv = ((int)0x8F2F) , + /// + /// Original was GL_EDGE_FLAG_ARRAY_LENGTH_NV = 0x8F30 + /// + EdgeFlagArrayLengthNv = ((int)0x8F30) , + /// + /// Original was GL_SECONDARY_COLOR_ARRAY_LENGTH_NV = 0x8F31 + /// + SecondaryColorArrayLengthNv = ((int)0x8F31) , + /// + /// Original was GL_FOG_COORD_ARRAY_LENGTH_NV = 0x8F32 + /// + FogCoordArrayLengthNv = ((int)0x8F32) , + /// + /// Original was GL_ELEMENT_ARRAY_LENGTH_NV = 0x8F33 + /// + ElementArrayLengthNv = ((int)0x8F33) , + /// + /// Original was GL_GPU_ADDRESS_NV = 0x8F34 + /// + GpuAddressNv = ((int)0x8F34) , + /// + /// Original was GL_MAX_SHADER_BUFFER_ADDRESS_NV = 0x8F35 + /// + MaxShaderBufferAddressNv = ((int)0x8F35) , + /// + /// Original was GL_COPY_READ_BUFFER = 0x8F36 + /// + CopyReadBuffer = ((int)0x8F36) , + /// + /// Original was GL_COPY_WRITE_BUFFER = 0x8F37 + /// + CopyWriteBuffer = ((int)0x8F37) , + /// + /// Original was GL_MAX_IMAGE_UNITS_EXT = 0x8F38 + /// + MaxImageUnitsExt = ((int)0x8F38) , + /// + /// Original was GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS_EXT = 0x8F39 + /// + MaxCombinedImageUnitsAndFragmentOutputsExt = ((int)0x8F39) , + /// + /// Original was GL_IMAGE_BINDING_NAME_EXT = 0x8F3A + /// + ImageBindingNameExt = ((int)0x8F3A) , + /// + /// Original was GL_IMAGE_BINDING_LEVEL_EXT = 0x8F3B + /// + ImageBindingLevelExt = ((int)0x8F3B) , + /// + /// Original was GL_IMAGE_BINDING_LAYERED_EXT = 0x8F3C + /// + ImageBindingLayeredExt = ((int)0x8F3C) , + /// + /// Original was GL_IMAGE_BINDING_LAYER_EXT = 0x8F3D + /// + ImageBindingLayerExt = ((int)0x8F3D) , + /// + /// Original was GL_IMAGE_BINDING_ACCESS_EXT = 0x8F3E + /// + ImageBindingAccessExt = ((int)0x8F3E) , + /// + /// Original was GL_DRAW_INDIRECT_BUFFER = 0x8F3F + /// + DrawIndirectBuffer = ((int)0x8F3F) , + /// + /// Original was GL_DRAW_INDIRECT_UNIFIED_NV = 0x8F40 + /// + DrawIndirectUnifiedNv = ((int)0x8F40) , + /// + /// Original was GL_DRAW_INDIRECT_ADDRESS_NV = 0x8F41 + /// + DrawIndirectAddressNv = ((int)0x8F41) , + /// + /// Original was GL_DRAW_INDIRECT_LENGTH_NV = 0x8F42 + /// + DrawIndirectLengthNv = ((int)0x8F42) , + /// + /// Original was GL_DRAW_INDIRECT_BUFFER_BINDING = 0x8F43 + /// + DrawIndirectBufferBinding = ((int)0x8F43) , + /// + /// Original was GL_MAX_PROGRAM_SUBROUTINE_PARAMETERS_NV = 0x8F44 + /// + MaxProgramSubroutineParametersNv = ((int)0x8F44) , + /// + /// Original was GL_MAX_PROGRAM_SUBROUTINE_NUM_NV = 0x8F45 + /// + MaxProgramSubroutineNumNv = ((int)0x8F45) , + /// + /// Original was GL_DOUBLE_MAT2 = 0x8F46 + /// + DoubleMat2 = ((int)0x8F46) , + /// + /// Original was GL_DOUBLE_MAT2_EXT = 0x8F46 + /// + DoubleMat2Ext = ((int)0x8F46) , + /// + /// Original was GL_DOUBLE_MAT3 = 0x8F47 + /// + DoubleMat3 = ((int)0x8F47) , + /// + /// Original was GL_DOUBLE_MAT3_EXT = 0x8F47 + /// + DoubleMat3Ext = ((int)0x8F47) , + /// + /// Original was GL_DOUBLE_MAT4 = 0x8F48 + /// + DoubleMat4 = ((int)0x8F48) , + /// + /// Original was GL_DOUBLE_MAT4_EXT = 0x8F48 + /// + DoubleMat4Ext = ((int)0x8F48) , + /// + /// Original was GL_DOUBLE_MAT2x3 = 0x8F49 + /// + DoubleMat2x3 = ((int)0x8F49) , + /// + /// Original was GL_DOUBLE_MAT2x3_EXT = 0x8F49 + /// + DoubleMat2x3Ext = ((int)0x8F49) , + /// + /// Original was GL_DOUBLE_MAT2x4 = 0x8F4A + /// + DoubleMat2x4 = ((int)0x8F4A) , + /// + /// Original was GL_DOUBLE_MAT2x4_EXT = 0x8F4A + /// + DoubleMat2x4Ext = ((int)0x8F4A) , + /// + /// Original was GL_DOUBLE_MAT3x2 = 0x8F4B + /// + DoubleMat3x2 = ((int)0x8F4B) , + /// + /// Original was GL_DOUBLE_MAT3x2_EXT = 0x8F4B + /// + DoubleMat3x2Ext = ((int)0x8F4B) , + /// + /// Original was GL_DOUBLE_MAT3x4 = 0x8F4C + /// + DoubleMat3x4 = ((int)0x8F4C) , + /// + /// Original was GL_DOUBLE_MAT3x4_EXT = 0x8F4C + /// + DoubleMat3x4Ext = ((int)0x8F4C) , + /// + /// Original was GL_DOUBLE_MAT4x2 = 0x8F4D + /// + DoubleMat4x2 = ((int)0x8F4D) , + /// + /// Original was GL_DOUBLE_MAT4x2_EXT = 0x8F4D + /// + DoubleMat4x2Ext = ((int)0x8F4D) , + /// + /// Original was GL_DOUBLE_MAT4x3 = 0x8F4E + /// + DoubleMat4x3 = ((int)0x8F4E) , + /// + /// Original was GL_DOUBLE_MAT4x3_EXT = 0x8F4E + /// + DoubleMat4x3Ext = ((int)0x8F4E) , + /// + /// Original was GL_MALI_SHADER_BINARY_ARM = 0x8F60 + /// + MaliShaderBinaryArm = ((int)0x8F60) , + /// + /// Original was GL_RED_SNORM = 0x8F90 + /// + RedSnorm = ((int)0x8F90) , + /// + /// Original was GL_RG_SNORM = 0x8F91 + /// + RgSnorm = ((int)0x8F91) , + /// + /// Original was GL_RGB_SNORM = 0x8F92 + /// + RgbSnorm = ((int)0x8F92) , + /// + /// Original was GL_RGBA_SNORM = 0x8F93 + /// + RgbaSnorm = ((int)0x8F93) , + /// + /// Original was GL_R8_SNORM = 0x8F94 + /// + R8Snorm = ((int)0x8F94) , + /// + /// Original was GL_RG8_SNORM = 0x8F95 + /// + Rg8Snorm = ((int)0x8F95) , + /// + /// Original was GL_RGB8_SNORM = 0x8F96 + /// + Rgb8Snorm = ((int)0x8F96) , + /// + /// Original was GL_RGBA8_SNORM = 0x8F97 + /// + Rgba8Snorm = ((int)0x8F97) , + /// + /// Original was GL_R16_SNORM = 0x8F98 + /// + R16Snorm = ((int)0x8F98) , + /// + /// Original was GL_RG16_SNORM = 0x8F99 + /// + Rg16Snorm = ((int)0x8F99) , + /// + /// Original was GL_RGB16_SNORM = 0x8F9A + /// + Rgb16Snorm = ((int)0x8F9A) , + /// + /// Original was GL_RGBA16_SNORM = 0x8F9B + /// + Rgba16Snorm = ((int)0x8F9B) , + /// + /// Original was GL_SIGNED_NORMALIZED = 0x8F9C + /// + SignedNormalized = ((int)0x8F9C) , + /// + /// Original was GL_PRIMITIVE_RESTART = 0x8F9D + /// + PrimitiveRestart = ((int)0x8F9D) , + /// + /// Original was GL_PRIMITIVE_RESTART_INDEX = 0x8F9E + /// + PrimitiveRestartIndex = ((int)0x8F9E) , + /// + /// Original was GL_MAX_PROGRAM_TEXTURE_GATHER_COMPONENTS = 0x8F9F + /// + MaxProgramTextureGatherComponents = ((int)0x8F9F) , + /// + /// Original was GL_PERFMON_GLOBAL_MODE_QCOM = 0x8FA0 + /// + PerfmonGlobalModeQcom = ((int)0x8FA0) , + /// + /// Original was GL_SHADER_BINARY_VIV = 0x8FC4 + /// + ShaderBinaryViv = ((int)0x8FC4) , + /// + /// Original was GL_INT8_NV = 0x8FE0 + /// + Int8Nv = ((int)0x8FE0) , + /// + /// Original was GL_INT8_VEC2_NV = 0x8FE1 + /// + Int8Vec2Nv = ((int)0x8FE1) , + /// + /// Original was GL_INT8_VEC3_NV = 0x8FE2 + /// + Int8Vec3Nv = ((int)0x8FE2) , + /// + /// Original was GL_INT8_VEC4_NV = 0x8FE3 + /// + Int8Vec4Nv = ((int)0x8FE3) , + /// + /// Original was GL_INT16_NV = 0x8FE4 + /// + Int16Nv = ((int)0x8FE4) , + /// + /// Original was GL_INT16_VEC2_NV = 0x8FE5 + /// + Int16Vec2Nv = ((int)0x8FE5) , + /// + /// Original was GL_INT16_VEC3_NV = 0x8FE6 + /// + Int16Vec3Nv = ((int)0x8FE6) , + /// + /// Original was GL_INT16_VEC4_NV = 0x8FE7 + /// + Int16Vec4Nv = ((int)0x8FE7) , + /// + /// Original was GL_INT64_VEC2_NV = 0x8FE9 + /// + Int64Vec2Nv = ((int)0x8FE9) , + /// + /// Original was GL_INT64_VEC3_NV = 0x8FEA + /// + Int64Vec3Nv = ((int)0x8FEA) , + /// + /// Original was GL_INT64_VEC4_NV = 0x8FEB + /// + Int64Vec4Nv = ((int)0x8FEB) , + /// + /// Original was GL_UNSIGNED_INT8_NV = 0x8FEC + /// + UnsignedInt8Nv = ((int)0x8FEC) , + /// + /// Original was GL_UNSIGNED_INT8_VEC2_NV = 0x8FED + /// + UnsignedInt8Vec2Nv = ((int)0x8FED) , + /// + /// Original was GL_UNSIGNED_INT8_VEC3_NV = 0x8FEE + /// + UnsignedInt8Vec3Nv = ((int)0x8FEE) , + /// + /// Original was GL_UNSIGNED_INT8_VEC4_NV = 0x8FEF + /// + UnsignedInt8Vec4Nv = ((int)0x8FEF) , + /// + /// Original was GL_UNSIGNED_INT16_NV = 0x8FF0 + /// + UnsignedInt16Nv = ((int)0x8FF0) , + /// + /// Original was GL_UNSIGNED_INT16_VEC2_NV = 0x8FF1 + /// + UnsignedInt16Vec2Nv = ((int)0x8FF1) , + /// + /// Original was GL_UNSIGNED_INT16_VEC3_NV = 0x8FF2 + /// + UnsignedInt16Vec3Nv = ((int)0x8FF2) , + /// + /// Original was GL_UNSIGNED_INT16_VEC4_NV = 0x8FF3 + /// + UnsignedInt16Vec4Nv = ((int)0x8FF3) , + /// + /// Original was GL_UNSIGNED_INT64_VEC2_NV = 0x8FF5 + /// + UnsignedInt64Vec2Nv = ((int)0x8FF5) , + /// + /// Original was GL_UNSIGNED_INT64_VEC3_NV = 0x8FF6 + /// + UnsignedInt64Vec3Nv = ((int)0x8FF6) , + /// + /// Original was GL_UNSIGNED_INT64_VEC4_NV = 0x8FF7 + /// + UnsignedInt64Vec4Nv = ((int)0x8FF7) , + /// + /// Original was GL_FLOAT16_NV = 0x8FF8 + /// + Float16Nv = ((int)0x8FF8) , + /// + /// Original was GL_FLOAT16_VEC2_NV = 0x8FF9 + /// + Float16Vec2Nv = ((int)0x8FF9) , + /// + /// Original was GL_FLOAT16_VEC3_NV = 0x8FFA + /// + Float16Vec3Nv = ((int)0x8FFA) , + /// + /// Original was GL_FLOAT16_VEC4_NV = 0x8FFB + /// + Float16Vec4Nv = ((int)0x8FFB) , + /// + /// Original was GL_DOUBLE_VEC2 = 0x8FFC + /// + DoubleVec2 = ((int)0x8FFC) , + /// + /// Original was GL_DOUBLE_VEC2_EXT = 0x8FFC + /// + DoubleVec2Ext = ((int)0x8FFC) , + /// + /// Original was GL_DOUBLE_VEC3 = 0x8FFD + /// + DoubleVec3 = ((int)0x8FFD) , + /// + /// Original was GL_DOUBLE_VEC3_EXT = 0x8FFD + /// + DoubleVec3Ext = ((int)0x8FFD) , + /// + /// Original was GL_DOUBLE_VEC4 = 0x8FFE + /// + DoubleVec4 = ((int)0x8FFE) , + /// + /// Original was GL_DOUBLE_VEC4_EXT = 0x8FFE + /// + DoubleVec4Ext = ((int)0x8FFE) , + /// + /// Original was GL_SAMPLER_BUFFER_AMD = 0x9001 + /// + SamplerBufferAmd = ((int)0x9001) , + /// + /// Original was GL_INT_SAMPLER_BUFFER_AMD = 0x9002 + /// + IntSamplerBufferAmd = ((int)0x9002) , + /// + /// Original was GL_UNSIGNED_INT_SAMPLER_BUFFER_AMD = 0x9003 + /// + UnsignedIntSamplerBufferAmd = ((int)0x9003) , + /// + /// Original was GL_TESSELLATION_MODE_AMD = 0x9004 + /// + TessellationModeAmd = ((int)0x9004) , + /// + /// Original was GL_TESSELLATION_FACTOR_AMD = 0x9005 + /// + TessellationFactorAmd = ((int)0x9005) , + /// + /// Original was GL_DISCRETE_AMD = 0x9006 + /// + DiscreteAmd = ((int)0x9006) , + /// + /// Original was GL_CONTINUOUS_AMD = 0x9007 + /// + ContinuousAmd = ((int)0x9007) , + /// + /// Original was GL_TEXTURE_CUBE_MAP_ARRAY = 0x9009 + /// + TextureCubeMapArray = ((int)0x9009) , + /// + /// Original was GL_TEXTURE_CUBE_MAP_ARRAY_ARB = 0x9009 + /// + TextureCubeMapArrayArb = ((int)0x9009) , + /// + /// Original was GL_TEXTURE_BINDING_CUBE_MAP_ARRAY = 0x900A + /// + TextureBindingCubeMapArray = ((int)0x900A) , + /// + /// Original was GL_TEXTURE_BINDING_CUBE_MAP_ARRAY_ARB = 0x900A + /// + TextureBindingCubeMapArrayArb = ((int)0x900A) , + /// + /// Original was GL_PROXY_TEXTURE_CUBE_MAP_ARRAY = 0x900B + /// + ProxyTextureCubeMapArray = ((int)0x900B) , + /// + /// Original was GL_PROXY_TEXTURE_CUBE_MAP_ARRAY_ARB = 0x900B + /// + ProxyTextureCubeMapArrayArb = ((int)0x900B) , + /// + /// Original was GL_SAMPLER_CUBE_MAP_ARRAY = 0x900C + /// + SamplerCubeMapArray = ((int)0x900C) , + /// + /// Original was GL_SAMPLER_CUBE_MAP_ARRAY_ARB = 0x900C + /// + SamplerCubeMapArrayArb = ((int)0x900C) , + /// + /// Original was GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW = 0x900D + /// + SamplerCubeMapArrayShadow = ((int)0x900D) , + /// + /// Original was GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW_ARB = 0x900D + /// + SamplerCubeMapArrayShadowArb = ((int)0x900D) , + /// + /// Original was GL_INT_SAMPLER_CUBE_MAP_ARRAY = 0x900E + /// + IntSamplerCubeMapArray = ((int)0x900E) , + /// + /// Original was GL_INT_SAMPLER_CUBE_MAP_ARRAY_ARB = 0x900E + /// + IntSamplerCubeMapArrayArb = ((int)0x900E) , + /// + /// Original was GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY = 0x900F + /// + UnsignedIntSamplerCubeMapArray = ((int)0x900F) , + /// + /// Original was GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY_ARB = 0x900F + /// + UnsignedIntSamplerCubeMapArrayArb = ((int)0x900F) , + /// + /// Original was GL_ALPHA_SNORM = 0x9010 + /// + AlphaSnorm = ((int)0x9010) , + /// + /// Original was GL_LUMINANCE_SNORM = 0x9011 + /// + LuminanceSnorm = ((int)0x9011) , + /// + /// Original was GL_LUMINANCE_ALPHA_SNORM = 0x9012 + /// + LuminanceAlphaSnorm = ((int)0x9012) , + /// + /// Original was GL_INTENSITY_SNORM = 0x9013 + /// + IntensitySnorm = ((int)0x9013) , + /// + /// Original was GL_ALPHA8_SNORM = 0x9014 + /// + Alpha8Snorm = ((int)0x9014) , + /// + /// Original was GL_LUMINANCE8_SNORM = 0x9015 + /// + Luminance8Snorm = ((int)0x9015) , + /// + /// Original was GL_LUMINANCE8_ALPHA8_SNORM = 0x9016 + /// + Luminance8Alpha8Snorm = ((int)0x9016) , + /// + /// Original was GL_INTENSITY8_SNORM = 0x9017 + /// + Intensity8Snorm = ((int)0x9017) , + /// + /// Original was GL_ALPHA16_SNORM = 0x9018 + /// + Alpha16Snorm = ((int)0x9018) , + /// + /// Original was GL_LUMINANCE16_SNORM = 0x9019 + /// + Luminance16Snorm = ((int)0x9019) , + /// + /// Original was GL_LUMINANCE16_ALPHA16_SNORM = 0x901A + /// + Luminance16Alpha16Snorm = ((int)0x901A) , + /// + /// Original was GL_INTENSITY16_SNORM = 0x901B + /// + Intensity16Snorm = ((int)0x901B) , + /// + /// Original was GL_FACTOR_MIN_AMD = 0x901C + /// + FactorMinAmd = ((int)0x901C) , + /// + /// Original was GL_FACTOR_MAX_AMD = 0x901D + /// + FactorMaxAmd = ((int)0x901D) , + /// + /// Original was GL_DEPTH_CLAMP_NEAR_AMD = 0x901E + /// + DepthClampNearAmd = ((int)0x901E) , + /// + /// Original was GL_DEPTH_CLAMP_FAR_AMD = 0x901F + /// + DepthClampFarAmd = ((int)0x901F) , + /// + /// Original was GL_VIDEO_BUFFER_NV = 0x9020 + /// + VideoBufferNv = ((int)0x9020) , + /// + /// Original was GL_VIDEO_BUFFER_BINDING_NV = 0x9021 + /// + VideoBufferBindingNv = ((int)0x9021) , + /// + /// Original was GL_FIELD_UPPER_NV = 0x9022 + /// + FieldUpperNv = ((int)0x9022) , + /// + /// Original was GL_FIELD_LOWER_NV = 0x9023 + /// + FieldLowerNv = ((int)0x9023) , + /// + /// Original was GL_NUM_VIDEO_CAPTURE_STREAMS_NV = 0x9024 + /// + NumVideoCaptureStreamsNv = ((int)0x9024) , + /// + /// Original was GL_NEXT_VIDEO_CAPTURE_BUFFER_STATUS_NV = 0x9025 + /// + NextVideoCaptureBufferStatusNv = ((int)0x9025) , + /// + /// Original was GL_VIDEO_CAPTURE_TO_422_SUPPORTED_NV = 0x9026 + /// + VideoCaptureTo422SupportedNv = ((int)0x9026) , + /// + /// Original was GL_LAST_VIDEO_CAPTURE_STATUS_NV = 0x9027 + /// + LastVideoCaptureStatusNv = ((int)0x9027) , + /// + /// Original was GL_VIDEO_BUFFER_PITCH_NV = 0x9028 + /// + VideoBufferPitchNv = ((int)0x9028) , + /// + /// Original was GL_VIDEO_COLOR_CONVERSION_MATRIX_NV = 0x9029 + /// + VideoColorConversionMatrixNv = ((int)0x9029) , + /// + /// Original was GL_VIDEO_COLOR_CONVERSION_MAX_NV = 0x902A + /// + VideoColorConversionMaxNv = ((int)0x902A) , + /// + /// Original was GL_VIDEO_COLOR_CONVERSION_MIN_NV = 0x902B + /// + VideoColorConversionMinNv = ((int)0x902B) , + /// + /// Original was GL_VIDEO_COLOR_CONVERSION_OFFSET_NV = 0x902C + /// + VideoColorConversionOffsetNv = ((int)0x902C) , + /// + /// Original was GL_VIDEO_BUFFER_INTERNAL_FORMAT_NV = 0x902D + /// + VideoBufferInternalFormatNv = ((int)0x902D) , + /// + /// Original was GL_PARTIAL_SUCCESS_NV = 0x902E + /// + PartialSuccessNv = ((int)0x902E) , + /// + /// Original was GL_SUCCESS_NV = 0x902F + /// + SuccessNv = ((int)0x902F) , + /// + /// Original was GL_FAILURE_NV = 0x9030 + /// + FailureNv = ((int)0x9030) , + /// + /// Original was GL_YCBYCR8_422_NV = 0x9031 + /// + Ycbycr8422Nv = ((int)0x9031) , + /// + /// Original was GL_YCBAYCR8A_4224_NV = 0x9032 + /// + Ycbaycr8A4224Nv = ((int)0x9032) , + /// + /// Original was GL_Z6Y10Z6CB10Z6Y10Z6CR10_422_NV = 0x9033 + /// + Z6y10z6cb10z6y10z6cr10422Nv = ((int)0x9033) , + /// + /// Original was GL_Z6Y10Z6CB10Z6A10Z6Y10Z6CR10Z6A10_4224_NV = 0x9034 + /// + Z6y10z6cb10z6A10z6y10z6cr10z6A104224Nv = ((int)0x9034) , + /// + /// Original was GL_Z4Y12Z4CB12Z4Y12Z4CR12_422_NV = 0x9035 + /// + Z4y12z4cb12z4y12z4cr12422Nv = ((int)0x9035) , + /// + /// Original was GL_Z4Y12Z4CB12Z4A12Z4Y12Z4CR12Z4A12_4224_NV = 0x9036 + /// + Z4y12z4cb12z4A12z4y12z4cr12z4A124224Nv = ((int)0x9036) , + /// + /// Original was GL_Z4Y12Z4CB12Z4CR12_444_NV = 0x9037 + /// + Z4y12z4cb12z4cr12444Nv = ((int)0x9037) , + /// + /// Original was GL_VIDEO_CAPTURE_FRAME_WIDTH_NV = 0x9038 + /// + VideoCaptureFrameWidthNv = ((int)0x9038) , + /// + /// Original was GL_VIDEO_CAPTURE_FRAME_HEIGHT_NV = 0x9039 + /// + VideoCaptureFrameHeightNv = ((int)0x9039) , + /// + /// Original was GL_VIDEO_CAPTURE_FIELD_UPPER_HEIGHT_NV = 0x903A + /// + VideoCaptureFieldUpperHeightNv = ((int)0x903A) , + /// + /// Original was GL_VIDEO_CAPTURE_FIELD_LOWER_HEIGHT_NV = 0x903B + /// + VideoCaptureFieldLowerHeightNv = ((int)0x903B) , + /// + /// Original was GL_VIDEO_CAPTURE_SURFACE_ORIGIN_NV = 0x903C + /// + VideoCaptureSurfaceOriginNv = ((int)0x903C) , + /// + /// Original was GL_TEXTURE_COVERAGE_SAMPLES_NV = 0x9045 + /// + TextureCoverageSamplesNv = ((int)0x9045) , + /// + /// Original was GL_TEXTURE_COLOR_SAMPLES_NV = 0x9046 + /// + TextureColorSamplesNv = ((int)0x9046) , + /// + /// Original was GL_IMAGE_1D_EXT = 0x904C + /// + Image1DExt = ((int)0x904C) , + /// + /// Original was GL_IMAGE_2D_EXT = 0x904D + /// + Image2DExt = ((int)0x904D) , + /// + /// Original was GL_IMAGE_3D_EXT = 0x904E + /// + Image3DExt = ((int)0x904E) , + /// + /// Original was GL_IMAGE_2D_RECT_EXT = 0x904F + /// + Image2DRectExt = ((int)0x904F) , + /// + /// Original was GL_IMAGE_CUBE_EXT = 0x9050 + /// + ImageCubeExt = ((int)0x9050) , + /// + /// Original was GL_IMAGE_BUFFER_EXT = 0x9051 + /// + ImageBufferExt = ((int)0x9051) , + /// + /// Original was GL_IMAGE_1D_ARRAY_EXT = 0x9052 + /// + Image1DArrayExt = ((int)0x9052) , + /// + /// Original was GL_IMAGE_2D_ARRAY_EXT = 0x9053 + /// + Image2DArrayExt = ((int)0x9053) , + /// + /// Original was GL_IMAGE_CUBE_MAP_ARRAY_EXT = 0x9054 + /// + ImageCubeMapArrayExt = ((int)0x9054) , + /// + /// Original was GL_IMAGE_2D_MULTISAMPLE_EXT = 0x9055 + /// + Image2DMultisampleExt = ((int)0x9055) , + /// + /// Original was GL_IMAGE_2D_MULTISAMPLE_ARRAY_EXT = 0x9056 + /// + Image2DMultisampleArrayExt = ((int)0x9056) , + /// + /// Original was GL_INT_IMAGE_1D_EXT = 0x9057 + /// + IntImage1DExt = ((int)0x9057) , + /// + /// Original was GL_INT_IMAGE_2D_EXT = 0x9058 + /// + IntImage2DExt = ((int)0x9058) , + /// + /// Original was GL_INT_IMAGE_3D_EXT = 0x9059 + /// + IntImage3DExt = ((int)0x9059) , + /// + /// Original was GL_INT_IMAGE_2D_RECT_EXT = 0x905A + /// + IntImage2DRectExt = ((int)0x905A) , + /// + /// Original was GL_INT_IMAGE_CUBE_EXT = 0x905B + /// + IntImageCubeExt = ((int)0x905B) , + /// + /// Original was GL_INT_IMAGE_BUFFER_EXT = 0x905C + /// + IntImageBufferExt = ((int)0x905C) , + /// + /// Original was GL_INT_IMAGE_1D_ARRAY_EXT = 0x905D + /// + IntImage1DArrayExt = ((int)0x905D) , + /// + /// Original was GL_INT_IMAGE_2D_ARRAY_EXT = 0x905E + /// + IntImage2DArrayExt = ((int)0x905E) , + /// + /// Original was GL_INT_IMAGE_CUBE_MAP_ARRAY_EXT = 0x905F + /// + IntImageCubeMapArrayExt = ((int)0x905F) , + /// + /// Original was GL_INT_IMAGE_2D_MULTISAMPLE_EXT = 0x9060 + /// + IntImage2DMultisampleExt = ((int)0x9060) , + /// + /// Original was GL_INT_IMAGE_2D_MULTISAMPLE_ARRAY_EXT = 0x9061 + /// + IntImage2DMultisampleArrayExt = ((int)0x9061) , + /// + /// Original was GL_UNSIGNED_INT_IMAGE_1D_EXT = 0x9062 + /// + UnsignedIntImage1DExt = ((int)0x9062) , + /// + /// Original was GL_UNSIGNED_INT_IMAGE_2D_EXT = 0x9063 + /// + UnsignedIntImage2DExt = ((int)0x9063) , + /// + /// Original was GL_UNSIGNED_INT_IMAGE_3D_EXT = 0x9064 + /// + UnsignedIntImage3DExt = ((int)0x9064) , + /// + /// Original was GL_UNSIGNED_INT_IMAGE_2D_RECT_EXT = 0x9065 + /// + UnsignedIntImage2DRectExt = ((int)0x9065) , + /// + /// Original was GL_UNSIGNED_INT_IMAGE_CUBE_EXT = 0x9066 + /// + UnsignedIntImageCubeExt = ((int)0x9066) , + /// + /// Original was GL_UNSIGNED_INT_IMAGE_BUFFER_EXT = 0x9067 + /// + UnsignedIntImageBufferExt = ((int)0x9067) , + /// + /// Original was GL_UNSIGNED_INT_IMAGE_1D_ARRAY_EXT = 0x9068 + /// + UnsignedIntImage1DArrayExt = ((int)0x9068) , + /// + /// Original was GL_UNSIGNED_INT_IMAGE_2D_ARRAY_EXT = 0x9069 + /// + UnsignedIntImage2DArrayExt = ((int)0x9069) , + /// + /// Original was GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY_EXT = 0x906A + /// + UnsignedIntImageCubeMapArrayExt = ((int)0x906A) , + /// + /// Original was GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_EXT = 0x906B + /// + UnsignedIntImage2DMultisampleExt = ((int)0x906B) , + /// + /// Original was GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY_EXT = 0x906C + /// + UnsignedIntImage2DMultisampleArrayExt = ((int)0x906C) , + /// + /// Original was GL_MAX_IMAGE_SAMPLES_EXT = 0x906D + /// + MaxImageSamplesExt = ((int)0x906D) , + /// + /// Original was GL_IMAGE_BINDING_FORMAT_EXT = 0x906E + /// + ImageBindingFormatExt = ((int)0x906E) , + /// + /// Original was GL_RGB10_A2UI = 0x906F + /// + Rgb10A2ui = ((int)0x906F) , + /// + /// Original was GL_SCALED_RESOLVE_FASTEST_EXT = 0x90BA + /// + ScaledResolveFastestExt = ((int)0x90BA) , + /// + /// Original was GL_SCALED_RESOLVE_NICEST_EXT = 0x90BB + /// + ScaledResolveNicestExt = ((int)0x90BB) , + /// + /// Original was GL_SYNC_X11_FENCE_EXT = 0x90E1 + /// + SyncX11FenceExt = ((int)0x90E1) , + /// + /// Original was GL_TEXTURE_2D_MULTISAMPLE = 0x9100 + /// + Texture2DMultisample = ((int)0x9100) , + /// + /// Original was GL_PROXY_TEXTURE_2D_MULTISAMPLE = 0x9101 + /// + ProxyTexture2DMultisample = ((int)0x9101) , + /// + /// Original was GL_TEXTURE_2D_MULTISAMPLE_ARRAY = 0x9102 + /// + Texture2DMultisampleArray = ((int)0x9102) , + /// + /// Original was GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY = 0x9103 + /// + ProxyTexture2DMultisampleArray = ((int)0x9103) , + /// + /// Original was GL_TEXTURE_BINDING_2D_MULTISAMPLE = 0x9104 + /// + TextureBinding2DMultisample = ((int)0x9104) , + /// + /// Original was GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY = 0x9105 + /// + TextureBinding2DMultisampleArray = ((int)0x9105) , + /// + /// Original was GL_TEXTURE_SAMPLES = 0x9106 + /// + TextureSamples = ((int)0x9106) , + /// + /// Original was GL_TEXTURE_FIXED_SAMPLE_LOCATIONS = 0x9107 + /// + TextureFixedSampleLocations = ((int)0x9107) , + /// + /// Original was GL_SAMPLER_2D_MULTISAMPLE = 0x9108 + /// + Sampler2DMultisample = ((int)0x9108) , + /// + /// Original was GL_INT_SAMPLER_2D_MULTISAMPLE = 0x9109 + /// + IntSampler2DMultisample = ((int)0x9109) , + /// + /// Original was GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE = 0x910A + /// + UnsignedIntSampler2DMultisample = ((int)0x910A) , + /// + /// Original was GL_SAMPLER_2D_MULTISAMPLE_ARRAY = 0x910B + /// + Sampler2DMultisampleArray = ((int)0x910B) , + /// + /// Original was GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY = 0x910C + /// + IntSampler2DMultisampleArray = ((int)0x910C) , + /// + /// Original was GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY = 0x910D + /// + UnsignedIntSampler2DMultisampleArray = ((int)0x910D) , + /// + /// Original was GL_MAX_COLOR_TEXTURE_SAMPLES = 0x910E + /// + MaxColorTextureSamples = ((int)0x910E) , + /// + /// Original was GL_MAX_DEPTH_TEXTURE_SAMPLES = 0x910F + /// + MaxDepthTextureSamples = ((int)0x910F) , + /// + /// Original was GL_MAX_INTEGER_SAMPLES = 0x9110 + /// + MaxIntegerSamples = ((int)0x9110) , + /// + /// Original was GL_MAX_SERVER_WAIT_TIMEOUT = 0x9111 + /// + MaxServerWaitTimeout = ((int)0x9111) , + /// + /// Original was GL_OBJECT_TYPE = 0x9112 + /// + ObjectType = ((int)0x9112) , + /// + /// Original was GL_SYNC_CONDITION = 0x9113 + /// + SyncCondition = ((int)0x9113) , + /// + /// Original was GL_SYNC_STATUS = 0x9114 + /// + SyncStatus = ((int)0x9114) , + /// + /// Original was GL_SYNC_FLAGS = 0x9115 + /// + SyncFlags = ((int)0x9115) , + /// + /// Original was GL_SYNC_FENCE = 0x9116 + /// + SyncFence = ((int)0x9116) , + /// + /// Original was GL_SYNC_GPU_COMMANDS_COMPLETE = 0x9117 + /// + SyncGpuCommandsComplete = ((int)0x9117) , + /// + /// Original was GL_UNSIGNALED = 0x9118 + /// + Unsignaled = ((int)0x9118) , + /// + /// Original was GL_SIGNALED = 0x9119 + /// + Signaled = ((int)0x9119) , + /// + /// Original was GL_ALREADY_SIGNALED = 0x911A + /// + AlreadySignaled = ((int)0x911A) , + /// + /// Original was GL_TIMEOUT_EXPIRED = 0x911B + /// + TimeoutExpired = ((int)0x911B) , + /// + /// Original was GL_CONDITION_SATISFIED = 0x911C + /// + ConditionSatisfied = ((int)0x911C) , + /// + /// Original was GL_WAIT_FAILED = 0x911D + /// + WaitFailed = ((int)0x911D) , + /// + /// Original was GL_BUFFER_ACCESS_FLAGS = 0x911F + /// + BufferAccessFlags = ((int)0x911F) , + /// + /// Original was GL_BUFFER_MAP_LENGTH = 0x9120 + /// + BufferMapLength = ((int)0x9120) , + /// + /// Original was GL_BUFFER_MAP_OFFSET = 0x9121 + /// + BufferMapOffset = ((int)0x9121) , + /// + /// Original was GL_MAX_VERTEX_OUTPUT_COMPONENTS = 0x9122 + /// + MaxVertexOutputComponents = ((int)0x9122) , + /// + /// Original was GL_MAX_GEOMETRY_INPUT_COMPONENTS = 0x9123 + /// + MaxGeometryInputComponents = ((int)0x9123) , + /// + /// Original was GL_MAX_GEOMETRY_OUTPUT_COMPONENTS = 0x9124 + /// + MaxGeometryOutputComponents = ((int)0x9124) , + /// + /// Original was GL_MAX_FRAGMENT_INPUT_COMPONENTS = 0x9125 + /// + MaxFragmentInputComponents = ((int)0x9125) , + /// + /// Original was GL_CONTEXT_PROFILE_MASK = 0x9126 + /// + ContextProfileMask = ((int)0x9126) , + /// + /// Original was GL_SGX_PROGRAM_BINARY_IMG = 0x9130 + /// + SgxProgramBinaryImg = ((int)0x9130) , + /// + /// Original was GL_RENDERBUFFER_SAMPLES_IMG = 0x9133 + /// + RenderbufferSamplesImg = ((int)0x9133) , + /// + /// Original was GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_IMG = 0x9134 + /// + FramebufferIncompleteMultisampleImg = ((int)0x9134) , + /// + /// Original was GL_MAX_SAMPLES_IMG = 0x9135 + /// + MaxSamplesImg = ((int)0x9135) , + /// + /// Original was GL_TEXTURE_SAMPLES_IMG = 0x9136 + /// + TextureSamplesImg = ((int)0x9136) , + /// + /// Original was GL_MAX_DEBUG_MESSAGE_LENGTH_ARB = 0x9143 + /// + MaxDebugMessageLengthArb = ((int)0x9143) , + /// + /// Original was GL_MAX_DEBUG_LOGGED_MESSAGES_AMD = 0x9144 + /// + MaxDebugLoggedMessagesAmd = ((int)0x9144) , + /// + /// Original was GL_MAX_DEBUG_LOGGED_MESSAGES_ARB = 0x9144 + /// + MaxDebugLoggedMessagesArb = ((int)0x9144) , + /// + /// Original was GL_DEBUG_LOGGED_MESSAGES_AMD = 0x9145 + /// + DebugLoggedMessagesAmd = ((int)0x9145) , + /// + /// Original was GL_DEBUG_LOGGED_MESSAGES_ARB = 0x9145 + /// + DebugLoggedMessagesArb = ((int)0x9145) , + /// + /// Original was GL_DEBUG_SEVERITY_HIGH_AMD = 0x9146 + /// + DebugSeverityHighAmd = ((int)0x9146) , + /// + /// Original was GL_DEBUG_SEVERITY_HIGH_ARB = 0x9146 + /// + DebugSeverityHighArb = ((int)0x9146) , + /// + /// Original was GL_DEBUG_SEVERITY_MEDIUM_AMD = 0x9147 + /// + DebugSeverityMediumAmd = ((int)0x9147) , + /// + /// Original was GL_DEBUG_SEVERITY_MEDIUM_ARB = 0x9147 + /// + DebugSeverityMediumArb = ((int)0x9147) , + /// + /// Original was GL_DEBUG_SEVERITY_LOW_AMD = 0x9148 + /// + DebugSeverityLowAmd = ((int)0x9148) , + /// + /// Original was GL_DEBUG_SEVERITY_LOW_ARB = 0x9148 + /// + DebugSeverityLowArb = ((int)0x9148) , + /// + /// Original was GL_DEBUG_CATEGORY_API_ERROR_AMD = 0x9149 + /// + DebugCategoryApiErrorAmd = ((int)0x9149) , + /// + /// Original was GL_DEBUG_CATEGORY_WINDOW_SYSTEM_AMD = 0x914A + /// + DebugCategoryWindowSystemAmd = ((int)0x914A) , + /// + /// Original was GL_DEBUG_CATEGORY_DEPRECATION_AMD = 0x914B + /// + DebugCategoryDeprecationAmd = ((int)0x914B) , + /// + /// Original was GL_DEBUG_CATEGORY_UNDEFINED_BEHAVIOR_AMD = 0x914C + /// + DebugCategoryUndefinedBehaviorAmd = ((int)0x914C) , + /// + /// Original was GL_DEBUG_CATEGORY_PERFORMANCE_AMD = 0x914D + /// + DebugCategoryPerformanceAmd = ((int)0x914D) , + /// + /// Original was GL_DEBUG_CATEGORY_SHADER_COMPILER_AMD = 0x914E + /// + DebugCategoryShaderCompilerAmd = ((int)0x914E) , + /// + /// Original was GL_DEBUG_CATEGORY_APPLICATION_AMD = 0x914F + /// + DebugCategoryApplicationAmd = ((int)0x914F) , + /// + /// Original was GL_DEBUG_CATEGORY_OTHER_AMD = 0x9150 + /// + DebugCategoryOtherAmd = ((int)0x9150) , + /// + /// Original was GL_DATA_BUFFER_AMD = 0x9151 + /// + DataBufferAmd = ((int)0x9151) , + /// + /// Original was GL_PERFORMANCE_MONITOR_AMD = 0x9152 + /// + PerformanceMonitorAmd = ((int)0x9152) , + /// + /// Original was GL_QUERY_OBJECT_AMD = 0x9153 + /// + QueryObjectAmd = ((int)0x9153) , + /// + /// Original was GL_VERTEX_ARRAY_OBJECT_AMD = 0x9154 + /// + VertexArrayObjectAmd = ((int)0x9154) , + /// + /// Original was GL_SAMPLER_OBJECT_AMD = 0x9155 + /// + SamplerObjectAmd = ((int)0x9155) , + /// + /// Original was GL_SHADER_BINARY_DMP = 0x9250 + /// + ShaderBinaryDmp = ((int)0x9250) , + /// + /// Original was GL_TRACE_ALL_BITS_MESA = 0xFFFF + /// + TraceAllBitsMesa = ((int)0xFFFF) , + /// + /// Original was GL_ALL_ATTRIB_BITS = 0xFFFFFFFF + /// + AllAttribBits = unchecked((int)0xFFFFFFFF) , + /// + /// Original was GL_ALL_BARRIER_BITS_EXT = 0xFFFFFFFF + /// + AllBarrierBitsExt = unchecked((int)0xFFFFFFFF) , + /// + /// Original was GL_ALL_SHADER_BITS = 0xFFFFFFFF + /// + AllShaderBits = unchecked((int)0xFFFFFFFF) , + /// + /// Original was GL_CLIENT_ALL_ATTRIB_BITS = 0xFFFFFFFF + /// + ClientAllAttribBits = unchecked((int)0xFFFFFFFF) , + /// + /// Original was GL_INVALID_INDEX = 0xFFFFFFFF + /// + InvalidIndex = unchecked((int)0xFFFFFFFF) , + /// + /// Original was GL_TIMEOUT_IGNORED = 0xFFFFFFFFFFFFFFFF + /// + TimeoutIgnored = unchecked((int)0xFFFFFFFFFFFFFFFF) , + /// + /// Original was GL_ONE = 1 + /// + One = ((int)1) , + /// + /// Original was GL_TRUE = 1 + /// + True = ((int)1) , + /// + /// Original was GL_CULL_VERTEX_IBM = 103050 + /// + CullVertexIbm = ((int)103050) , + /// + /// Original was GL_VERTEX_ARRAY_LIST_IBM = 103070 + /// + VertexArrayListIbm = ((int)103070) , + /// + /// Original was GL_NORMAL_ARRAY_LIST_IBM = 103071 + /// + NormalArrayListIbm = ((int)103071) , + /// + /// Original was GL_COLOR_ARRAY_LIST_IBM = 103072 + /// + ColorArrayListIbm = ((int)103072) , + /// + /// Original was GL_INDEX_ARRAY_LIST_IBM = 103073 + /// + IndexArrayListIbm = ((int)103073) , + /// + /// Original was GL_TEXTURE_COORD_ARRAY_LIST_IBM = 103074 + /// + TextureCoordArrayListIbm = ((int)103074) , + /// + /// Original was GL_EDGE_FLAG_ARRAY_LIST_IBM = 103075 + /// + EdgeFlagArrayListIbm = ((int)103075) , + /// + /// Original was GL_FOG_COORDINATE_ARRAY_LIST_IBM = 103076 + /// + FogCoordinateArrayListIbm = ((int)103076) , + /// + /// Original was GL_SECONDARY_COLOR_ARRAY_LIST_IBM = 103077 + /// + SecondaryColorArrayListIbm = ((int)103077) , + /// + /// Original was GL_VERTEX_ARRAY_LIST_STRIDE_IBM = 103080 + /// + VertexArrayListStrideIbm = ((int)103080) , + /// + /// Original was GL_NORMAL_ARRAY_LIST_STRIDE_IBM = 103081 + /// + NormalArrayListStrideIbm = ((int)103081) , + /// + /// Original was GL_COLOR_ARRAY_LIST_STRIDE_IBM = 103082 + /// + ColorArrayListStrideIbm = ((int)103082) , + /// + /// Original was GL_INDEX_ARRAY_LIST_STRIDE_IBM = 103083 + /// + IndexArrayListStrideIbm = ((int)103083) , + /// + /// Original was GL_TEXTURE_COORD_ARRAY_LIST_STRIDE_IBM = 103084 + /// + TextureCoordArrayListStrideIbm = ((int)103084) , + /// + /// Original was GL_EDGE_FLAG_ARRAY_LIST_STRIDE_IBM = 103085 + /// + EdgeFlagArrayListStrideIbm = ((int)103085) , + /// + /// Original was GL_FOG_COORDINATE_ARRAY_LIST_STRIDE_IBM = 103086 + /// + FogCoordinateArrayListStrideIbm = ((int)103086) , + /// + /// Original was GL_SECONDARY_COLOR_ARRAY_LIST_STRIDE_IBM = 103087 + /// + SecondaryColorArrayListStrideIbm = ((int)103087) , + /// + /// Original was GL_NEXT_BUFFER_NV = 2 + /// + NextBufferNv = ((int)2) , + /// + /// Original was GL_TWO = 2 + /// + Two = ((int)2) , + /// + /// Original was GL_SKIP_COMPONENTS4_NV = 3 + /// + SkipComponents4Nv = ((int)3) , + /// + /// Original was GL_THREE = 3 + /// + Three = ((int)3) , + /// + /// Original was GL_FOUR = 4 + /// + Four = ((int)4) , + /// + /// Original was GL_SKIP_COMPONENTS3_NV = 4 + /// + SkipComponents3Nv = ((int)4) , + /// + /// Original was GL_SKIP_COMPONENTS2_NV = 5 + /// + SkipComponents2Nv = ((int)5) , + /// + /// Original was GL_SKIP_COMPONENTS1_NV = 6 + /// + SkipComponents1Nv = ((int)6) , + } + + /// + /// Used in GL.AlphaFunc + /// + public enum AlphaFunction : int + { + /// + /// Original was GL_NEVER = 0x0200 + /// + Never = ((int)0x0200) , + /// + /// Original was GL_LESS = 0x0201 + /// + Less = ((int)0x0201) , + /// + /// Original was GL_EQUAL = 0x0202 + /// + Equal = ((int)0x0202) , + /// + /// Original was GL_LEQUAL = 0x0203 + /// + Lequal = ((int)0x0203) , + /// + /// Original was GL_GREATER = 0x0204 + /// + Greater = ((int)0x0204) , + /// + /// Original was GL_NOTEQUAL = 0x0205 + /// + Notequal = ((int)0x0205) , + /// + /// Original was GL_GEQUAL = 0x0206 + /// + Gequal = ((int)0x0206) , + /// + /// Original was GL_ALWAYS = 0x0207 + /// + Always = ((int)0x0207) , + } + + /// + /// Not used directly. + /// + public enum AmdBlendMinmaxFactor : int + { + /// + /// Original was GL_FACTOR_MIN_AMD = 0x901C + /// + FactorMinAmd = ((int)0x901C) , + /// + /// Original was GL_FACTOR_MAX_AMD = 0x901D + /// + FactorMaxAmd = ((int)0x901D) , + } + + /// + /// Not used directly. + /// + public enum AmdCompressed3DcTexture : int + { + /// + /// Original was GL_3DC_X_AMD = 0x87F9 + /// + Gl3DcXAmd = ((int)0x87F9) , + /// + /// Original was GL_3DC_XY_AMD = 0x87FA + /// + Gl3DcXyAmd = ((int)0x87FA) , + } + + /// + /// Not used directly. + /// + public enum AmdCompressedAtcTexture : int + { + /// + /// Original was GL_ATC_RGBA_INTERPOLATED_ALPHA_AMD = 0x87EE + /// + AtcRgbaInterpolatedAlphaAmd = ((int)0x87EE) , + /// + /// Original was GL_ATC_RGB_AMD = 0x8C92 + /// + AtcRgbAmd = ((int)0x8C92) , + /// + /// Original was GL_ATC_RGBA_EXPLICIT_ALPHA_AMD = 0x8C93 + /// + AtcRgbaExplicitAlphaAmd = ((int)0x8C93) , + } + + /// + /// Not used directly. + /// + public enum AmdConservativeDepth : int + { + } + + /// + /// Used in GL.Amd.DebugMessageEnable, GL.Amd.DebugMessageInsert, GL.Amd.GetDebugMessageLog + /// + public enum AmdDebugOutput : int + { + /// + /// Original was GL_MAX_DEBUG_LOGGED_MESSAGES_AMD = 0x9144 + /// + MaxDebugLoggedMessagesAmd = ((int)0x9144) , + /// + /// Original was GL_DEBUG_LOGGED_MESSAGES_AMD = 0x9145 + /// + DebugLoggedMessagesAmd = ((int)0x9145) , + /// + /// Original was GL_DEBUG_SEVERITY_HIGH_AMD = 0x9146 + /// + DebugSeverityHighAmd = ((int)0x9146) , + /// + /// Original was GL_DEBUG_SEVERITY_MEDIUM_AMD = 0x9147 + /// + DebugSeverityMediumAmd = ((int)0x9147) , + /// + /// Original was GL_DEBUG_SEVERITY_LOW_AMD = 0x9148 + /// + DebugSeverityLowAmd = ((int)0x9148) , + /// + /// Original was GL_DEBUG_CATEGORY_API_ERROR_AMD = 0x9149 + /// + DebugCategoryApiErrorAmd = ((int)0x9149) , + /// + /// Original was GL_DEBUG_CATEGORY_WINDOW_SYSTEM_AMD = 0x914A + /// + DebugCategoryWindowSystemAmd = ((int)0x914A) , + /// + /// Original was GL_DEBUG_CATEGORY_DEPRECATION_AMD = 0x914B + /// + DebugCategoryDeprecationAmd = ((int)0x914B) , + /// + /// Original was GL_DEBUG_CATEGORY_UNDEFINED_BEHAVIOR_AMD = 0x914C + /// + DebugCategoryUndefinedBehaviorAmd = ((int)0x914C) , + /// + /// Original was GL_DEBUG_CATEGORY_PERFORMANCE_AMD = 0x914D + /// + DebugCategoryPerformanceAmd = ((int)0x914D) , + /// + /// Original was GL_DEBUG_CATEGORY_SHADER_COMPILER_AMD = 0x914E + /// + DebugCategoryShaderCompilerAmd = ((int)0x914E) , + /// + /// Original was GL_DEBUG_CATEGORY_APPLICATION_AMD = 0x914F + /// + DebugCategoryApplicationAmd = ((int)0x914F) , + /// + /// Original was GL_DEBUG_CATEGORY_OTHER_AMD = 0x9150 + /// + DebugCategoryOtherAmd = ((int)0x9150) , + } + + /// + /// Not used directly. + /// + public enum AmdDepthClampSeparate : int + { + /// + /// Original was GL_DEPTH_CLAMP_NEAR_AMD = 0x901E + /// + DepthClampNearAmd = ((int)0x901E) , + /// + /// Original was GL_DEPTH_CLAMP_FAR_AMD = 0x901F + /// + DepthClampFarAmd = ((int)0x901F) , + } + + /// + /// Used in GL.Amd.BlendEquationIndexed, GL.Amd.BlendEquationSeparateIndexed, GL.Amd.BlendFuncIndexed, GL.Amd.BlendFuncSeparateIndexed + /// + public enum AmdDrawBuffersBlend : int + { + } + + /// + /// Used in GL.Amd.MultiDrawArraysIndirect, GL.Amd.MultiDrawElementsIndirect + /// + public enum AmdMultiDrawIndirect : int + { + } + + /// + /// Used in GL.Amd.DeleteNames, GL.Amd.GenNames, GL.Amd.IsName + /// + public enum AmdNameGenDelete : int + { + /// + /// Original was GL_DATA_BUFFER_AMD = 0x9151 + /// + DataBufferAmd = ((int)0x9151) , + /// + /// Original was GL_PERFORMANCE_MONITOR_AMD = 0x9152 + /// + PerformanceMonitorAmd = ((int)0x9152) , + /// + /// Original was GL_QUERY_OBJECT_AMD = 0x9153 + /// + QueryObjectAmd = ((int)0x9153) , + /// + /// Original was GL_VERTEX_ARRAY_OBJECT_AMD = 0x9154 + /// + VertexArrayObjectAmd = ((int)0x9154) , + /// + /// Original was GL_SAMPLER_OBJECT_AMD = 0x9155 + /// + SamplerObjectAmd = ((int)0x9155) , + } + + /// + /// Used in GL.Amd.GetPerfMonitorCounterData, GL.Amd.GetPerfMonitorCounterInfo + /// + public enum AmdPerformanceMonitor : int + { + /// + /// Original was GL_COUNTER_TYPE_AMD = 0x8BC0 + /// + CounterTypeAmd = ((int)0x8BC0) , + /// + /// Original was GL_COUNTER_RANGE_AMD = 0x8BC1 + /// + CounterRangeAmd = ((int)0x8BC1) , + /// + /// Original was GL_UNSIGNED_INT64_AMD = 0x8BC2 + /// + UnsignedInt64Amd = ((int)0x8BC2) , + /// + /// Original was GL_PERCENTAGE_AMD = 0x8BC3 + /// + PercentageAmd = ((int)0x8BC3) , + /// + /// Original was GL_PERFMON_RESULT_AVAILABLE_AMD = 0x8BC4 + /// + PerfmonResultAvailableAmd = ((int)0x8BC4) , + /// + /// Original was GL_PERFMON_RESULT_SIZE_AMD = 0x8BC5 + /// + PerfmonResultSizeAmd = ((int)0x8BC5) , + /// + /// Original was GL_PERFMON_RESULT_AMD = 0x8BC6 + /// + PerfmonResultAmd = ((int)0x8BC6) , + } + + /// + /// Not used directly. + /// + public enum AmdProgramBinaryZ400 : int + { + /// + /// Original was GL_Z400_BINARY_AMD = 0x8740 + /// + Z400BinaryAmd = ((int)0x8740) , + } + + /// + /// Used in GL.Amd.SetMultisample + /// + public enum AmdSamplePositions : int + { + /// + /// Original was GL_SUBSAMPLE_DISTANCE_AMD = 0x883F + /// + SubsampleDistanceAmd = ((int)0x883F) , + } + + /// + /// Not used directly. + /// + public enum AmdSeamlessCubemapPerTexture : int + { + /// + /// Original was GL_TEXTURE_CUBE_MAP_SEAMLESS = 0x884F + /// + TextureCubeMapSeamless = ((int)0x884F) , + } + + /// + /// Not used directly. + /// + public enum AmdShaderStencilExport : int + { + } + + /// + /// Not used directly. + /// + public enum AmdTextureTexture4 : int + { + } + + /// + /// Not used directly. + /// + public enum AmdTransformFeedback3LinesTriangles : int + { + } + + /// + /// Used in GL.Amd.TessellationMode + /// + public enum AmdVertexShaderTesselator : int + { + /// + /// Original was GL_SAMPLER_BUFFER_AMD = 0x9001 + /// + SamplerBufferAmd = ((int)0x9001) , + /// + /// Original was GL_INT_SAMPLER_BUFFER_AMD = 0x9002 + /// + IntSamplerBufferAmd = ((int)0x9002) , + /// + /// Original was GL_UNSIGNED_INT_SAMPLER_BUFFER_AMD = 0x9003 + /// + UnsignedIntSamplerBufferAmd = ((int)0x9003) , + /// + /// Original was GL_TESSELLATION_MODE_AMD = 0x9004 + /// + TessellationModeAmd = ((int)0x9004) , + /// + /// Original was GL_TESSELLATION_FACTOR_AMD = 0x9005 + /// + TessellationFactorAmd = ((int)0x9005) , + /// + /// Original was GL_DISCRETE_AMD = 0x9006 + /// + DiscreteAmd = ((int)0x9006) , + /// + /// Original was GL_CONTINUOUS_AMD = 0x9007 + /// + ContinuousAmd = ((int)0x9007) , + } + + /// + /// Not used directly. + /// + public enum AngleFramebufferBlit : int + { + /// + /// Original was GL_FRAMEBUFFER_BINDING_ANGLE = 0x8CA6 + /// + FramebufferBindingAngle = ((int)0x8CA6) , + /// + /// Original was GL_RENDERBUFFER_BINDING_ANGLE = 0x8CA7 + /// + RenderbufferBindingAngle = ((int)0x8CA7) , + /// + /// Original was GL_READ_FRAMEBUFFER_ANGLE = 0x8CA8 + /// + ReadFramebufferAngle = ((int)0x8CA8) , + /// + /// Original was GL_DRAW_FRAMEBUFFER_ANGLE = 0x8CA9 + /// + DrawFramebufferAngle = ((int)0x8CA9) , + } + + /// + /// Not used directly. + /// + public enum AngleFramebufferMultisample : int + { + /// + /// Original was GL_RENDERBUFFER_SAMPLES_ANGLE = 0x8CAB + /// + RenderbufferSamplesAngle = ((int)0x8CAB) , + /// + /// Original was GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_ANGLE = 0x8D56 + /// + FramebufferIncompleteMultisampleAngle = ((int)0x8D56) , + /// + /// Original was GL_MAX_SAMPLES_ANGLE = 0x8D57 + /// + MaxSamplesAngle = ((int)0x8D57) , + } + + /// + /// Not used directly. + /// + public enum AppleAuxDepthStencil : int + { + /// + /// Original was GL_AUX_DEPTH_STENCIL_APPLE = 0x8A14 + /// + AuxDepthStencilApple = ((int)0x8A14) , + } + + /// + /// Not used directly. + /// + public enum AppleClientStorage : int + { + /// + /// Original was GL_UNPACK_CLIENT_STORAGE_APPLE = 0x85B2 + /// + UnpackClientStorageApple = ((int)0x85B2) , + } + + /// + /// Used in GL.Apple.ElementPointer + /// + public enum AppleElementArray : int + { + /// + /// Original was GL_ELEMENT_ARRAY_APPLE = 0x8A0C + /// + ElementArrayApple = ((int)0x8A0C) , + /// + /// Original was GL_ELEMENT_ARRAY_TYPE_APPLE = 0x8A0D + /// + ElementArrayTypeApple = ((int)0x8A0D) , + /// + /// Original was GL_ELEMENT_ARRAY_POINTER_APPLE = 0x8A0E + /// + ElementArrayPointerApple = ((int)0x8A0E) , + } + + /// + /// Used in GL.Apple.FinishObject, GL.Apple.TestObject + /// + public enum AppleFence : int + { + /// + /// Original was GL_DRAW_PIXELS_APPLE = 0x8A0A + /// + DrawPixelsApple = ((int)0x8A0A) , + /// + /// Original was GL_FENCE_APPLE = 0x8A0B + /// + FenceApple = ((int)0x8A0B) , + } + + /// + /// Not used directly. + /// + public enum AppleFloatPixels : int + { + /// + /// Original was GL_HALF_APPLE = 0x140B + /// + HalfApple = ((int)0x140B) , + /// + /// Original was GL_RGBA_FLOAT32_APPLE = 0x8814 + /// + RgbaFloat32Apple = ((int)0x8814) , + /// + /// Original was GL_RGB_FLOAT32_APPLE = 0x8815 + /// + RgbFloat32Apple = ((int)0x8815) , + /// + /// Original was GL_ALPHA_FLOAT32_APPLE = 0x8816 + /// + AlphaFloat32Apple = ((int)0x8816) , + /// + /// Original was GL_INTENSITY_FLOAT32_APPLE = 0x8817 + /// + IntensityFloat32Apple = ((int)0x8817) , + /// + /// Original was GL_LUMINANCE_FLOAT32_APPLE = 0x8818 + /// + LuminanceFloat32Apple = ((int)0x8818) , + /// + /// Original was GL_LUMINANCE_ALPHA_FLOAT32_APPLE = 0x8819 + /// + LuminanceAlphaFloat32Apple = ((int)0x8819) , + /// + /// Original was GL_RGBA_FLOAT16_APPLE = 0x881A + /// + RgbaFloat16Apple = ((int)0x881A) , + /// + /// Original was GL_RGB_FLOAT16_APPLE = 0x881B + /// + RgbFloat16Apple = ((int)0x881B) , + /// + /// Original was GL_ALPHA_FLOAT16_APPLE = 0x881C + /// + AlphaFloat16Apple = ((int)0x881C) , + /// + /// Original was GL_INTENSITY_FLOAT16_APPLE = 0x881D + /// + IntensityFloat16Apple = ((int)0x881D) , + /// + /// Original was GL_LUMINANCE_FLOAT16_APPLE = 0x881E + /// + LuminanceFloat16Apple = ((int)0x881E) , + /// + /// Original was GL_LUMINANCE_ALPHA_FLOAT16_APPLE = 0x881F + /// + LuminanceAlphaFloat16Apple = ((int)0x881F) , + /// + /// Original was GL_COLOR_FLOAT_APPLE = 0x8A0F + /// + ColorFloatApple = ((int)0x8A0F) , + } + + /// + /// Not used directly. + /// + public enum AppleFlushBufferRange : int + { + /// + /// Original was GL_BUFFER_SERIALIZED_MODIFY_APPLE = 0x8A12 + /// + BufferSerializedModifyApple = ((int)0x8A12) , + /// + /// Original was GL_BUFFER_FLUSHING_UNMAP_APPLE = 0x8A13 + /// + BufferFlushingUnmapApple = ((int)0x8A13) , + } + + /// + /// Used in GL.Apple.GetObjectParameter, GL.Apple.ObjectPurgeable, GL.Apple.ObjectUnpurgeable + /// + public enum AppleObjectPurgeable : int + { + /// + /// Original was GL_BUFFER_OBJECT_APPLE = 0x85B3 + /// + BufferObjectApple = ((int)0x85B3) , + /// + /// Original was GL_RELEASED_APPLE = 0x8A19 + /// + ReleasedApple = ((int)0x8A19) , + /// + /// Original was GL_VOLATILE_APPLE = 0x8A1A + /// + VolatileApple = ((int)0x8A1A) , + /// + /// Original was GL_RETAINED_APPLE = 0x8A1B + /// + RetainedApple = ((int)0x8A1B) , + /// + /// Original was GL_UNDEFINED_APPLE = 0x8A1C + /// + UndefinedApple = ((int)0x8A1C) , + /// + /// Original was GL_PURGEABLE_APPLE = 0x8A1D + /// + PurgeableApple = ((int)0x8A1D) , + } + + /// + /// Not used directly. + /// + public enum AppleRgb422 : int + { + /// + /// Original was GL_UNSIGNED_SHORT_8_8_APPLE = 0x85BA + /// + UnsignedShort88Apple = ((int)0x85BA) , + /// + /// Original was GL_UNSIGNED_SHORT_8_8_REV_APPLE = 0x85BB + /// + UnsignedShort88RevApple = ((int)0x85BB) , + /// + /// Original was GL_RGB_422_APPLE = 0x8A1F + /// + Rgb422Apple = ((int)0x8A1F) , + } + + /// + /// Not used directly. + /// + public enum AppleRowBytes : int + { + /// + /// Original was GL_PACK_ROW_BYTES_APPLE = 0x8A15 + /// + PackRowBytesApple = ((int)0x8A15) , + /// + /// Original was GL_UNPACK_ROW_BYTES_APPLE = 0x8A16 + /// + UnpackRowBytesApple = ((int)0x8A16) , + } + + /// + /// Not used directly. + /// + public enum AppleSpecularVector : int + { + /// + /// Original was GL_LIGHT_MODEL_SPECULAR_VECTOR_APPLE = 0x85B0 + /// + LightModelSpecularVectorApple = ((int)0x85B0) , + } + + /// + /// Used in GL.Apple.GetTexParameterPointer, GL.Apple.TextureRange + /// + public enum AppleTextureRange : int + { + /// + /// Original was GL_TEXTURE_RANGE_LENGTH_APPLE = 0x85B7 + /// + TextureRangeLengthApple = ((int)0x85B7) , + /// + /// Original was GL_TEXTURE_RANGE_POINTER_APPLE = 0x85B8 + /// + TextureRangePointerApple = ((int)0x85B8) , + /// + /// Original was GL_TEXTURE_STORAGE_HINT_APPLE = 0x85BC + /// + TextureStorageHintApple = ((int)0x85BC) , + /// + /// Original was GL_STORAGE_PRIVATE_APPLE = 0x85BD + /// + StoragePrivateApple = ((int)0x85BD) , + /// + /// Original was GL_STORAGE_CACHED_APPLE = 0x85BE + /// + StorageCachedApple = ((int)0x85BE) , + /// + /// Original was GL_STORAGE_SHARED_APPLE = 0x85BF + /// + StorageSharedApple = ((int)0x85BF) , + } + + /// + /// Not used directly. + /// + public enum AppleTransformHint : int + { + /// + /// Original was GL_TRANSFORM_HINT_APPLE = 0x85B1 + /// + TransformHintApple = ((int)0x85B1) , + } + + /// + /// Not used directly. + /// + public enum AppleVertexArrayObject : int + { + /// + /// Original was GL_VERTEX_ARRAY_BINDING_APPLE = 0x85B5 + /// + VertexArrayBindingApple = ((int)0x85B5) , + } + + /// + /// Used in GL.Apple.VertexArrayParameter + /// + public enum AppleVertexArrayRange : int + { + /// + /// Original was GL_VERTEX_ARRAY_RANGE_APPLE = 0x851D + /// + VertexArrayRangeApple = ((int)0x851D) , + /// + /// Original was GL_VERTEX_ARRAY_RANGE_LENGTH_APPLE = 0x851E + /// + VertexArrayRangeLengthApple = ((int)0x851E) , + /// + /// Original was GL_VERTEX_ARRAY_STORAGE_HINT_APPLE = 0x851F + /// + VertexArrayStorageHintApple = ((int)0x851F) , + /// + /// Original was GL_VERTEX_ARRAY_RANGE_POINTER_APPLE = 0x8521 + /// + VertexArrayRangePointerApple = ((int)0x8521) , + /// + /// Original was GL_STORAGE_CLIENT_APPLE = 0x85B4 + /// + StorageClientApple = ((int)0x85B4) , + /// + /// Original was GL_STORAGE_CACHED_APPLE = 0x85BE + /// + StorageCachedApple = ((int)0x85BE) , + /// + /// Original was GL_STORAGE_SHARED_APPLE = 0x85BF + /// + StorageSharedApple = ((int)0x85BF) , + } + + /// + /// Used in GL.Apple.DisableVertexAttrib, GL.Apple.EnableVertexAttrib, GL.Apple.IsVertexAttribEnabled + /// + public enum AppleVertexProgramEvaluators : int + { + /// + /// Original was GL_VERTEX_ATTRIB_MAP1_APPLE = 0x8A00 + /// + VertexAttribMap1Apple = ((int)0x8A00) , + /// + /// Original was GL_VERTEX_ATTRIB_MAP2_APPLE = 0x8A01 + /// + VertexAttribMap2Apple = ((int)0x8A01) , + /// + /// Original was GL_VERTEX_ATTRIB_MAP1_SIZE_APPLE = 0x8A02 + /// + VertexAttribMap1SizeApple = ((int)0x8A02) , + /// + /// Original was GL_VERTEX_ATTRIB_MAP1_COEFF_APPLE = 0x8A03 + /// + VertexAttribMap1CoeffApple = ((int)0x8A03) , + /// + /// Original was GL_VERTEX_ATTRIB_MAP1_ORDER_APPLE = 0x8A04 + /// + VertexAttribMap1OrderApple = ((int)0x8A04) , + /// + /// Original was GL_VERTEX_ATTRIB_MAP1_DOMAIN_APPLE = 0x8A05 + /// + VertexAttribMap1DomainApple = ((int)0x8A05) , + /// + /// Original was GL_VERTEX_ATTRIB_MAP2_SIZE_APPLE = 0x8A06 + /// + VertexAttribMap2SizeApple = ((int)0x8A06) , + /// + /// Original was GL_VERTEX_ATTRIB_MAP2_COEFF_APPLE = 0x8A07 + /// + VertexAttribMap2CoeffApple = ((int)0x8A07) , + /// + /// Original was GL_VERTEX_ATTRIB_MAP2_ORDER_APPLE = 0x8A08 + /// + VertexAttribMap2OrderApple = ((int)0x8A08) , + /// + /// Original was GL_VERTEX_ATTRIB_MAP2_DOMAIN_APPLE = 0x8A09 + /// + VertexAttribMap2DomainApple = ((int)0x8A09) , + } + + /// + /// Not used directly. + /// + public enum AppleYcbcr422 : int + { + /// + /// Original was GL_YCBCR_422_APPLE = 0x85B9 + /// + Ycbcr422Apple = ((int)0x85B9) , + /// + /// Original was GL_UNSIGNED_SHORT_8_8_APPLE = 0x85BA + /// + UnsignedShort88Apple = ((int)0x85BA) , + /// + /// Original was GL_UNSIGNED_SHORT_8_8_REV_APPLE = 0x85BB + /// + UnsignedShort88RevApple = ((int)0x85BB) , + } + + /// + /// Not used directly. + /// + public enum ArbBlendFuncExtended : int + { + /// + /// Original was GL_SRC1_ALPHA = 0x8589 + /// + Src1Alpha = ((int)0x8589) , + /// + /// Original was GL_SRC1_COLOR = 0x88F9 + /// + Src1Color = ((int)0x88F9) , + /// + /// Original was GL_ONE_MINUS_SRC1_COLOR = 0x88FA + /// + OneMinusSrc1Color = ((int)0x88FA) , + /// + /// Original was GL_ONE_MINUS_SRC1_ALPHA = 0x88FB + /// + OneMinusSrc1Alpha = ((int)0x88FB) , + /// + /// Original was GL_MAX_DUAL_SOURCE_DRAW_BUFFERS = 0x88FC + /// + MaxDualSourceDrawBuffers = ((int)0x88FC) , + } + + /// + /// Not used directly. + /// + public enum ArbClEvent : int + { + /// + /// Original was GL_SYNC_CL_EVENT_ARB = 0x8240 + /// + SyncClEventArb = ((int)0x8240) , + /// + /// Original was GL_SYNC_CL_EVENT_COMPLETE_ARB = 0x8241 + /// + SyncClEventCompleteArb = ((int)0x8241) , + } + + /// + /// Used in GL.Arb.ClampColor + /// + public enum ArbColorBufferFloat : int + { + /// + /// Original was GL_RGBA_FLOAT_MODE_ARB = 0x8820 + /// + RgbaFloatModeArb = ((int)0x8820) , + /// + /// Original was GL_CLAMP_VERTEX_COLOR_ARB = 0x891A + /// + ClampVertexColorArb = ((int)0x891A) , + /// + /// Original was GL_CLAMP_FRAGMENT_COLOR_ARB = 0x891B + /// + ClampFragmentColorArb = ((int)0x891B) , + /// + /// Original was GL_CLAMP_READ_COLOR_ARB = 0x891C + /// + ClampReadColorArb = ((int)0x891C) , + /// + /// Original was GL_FIXED_ONLY_ARB = 0x891D + /// + FixedOnlyArb = ((int)0x891D) , + } + + /// + /// Not used directly. + /// + public enum ArbCompatibility : int + { + } + + /// + /// Not used directly. + /// + public enum ArbCopyBuffer : int + { + /// + /// Original was GL_COPY_READ_BUFFER = 0x8F36 + /// + CopyReadBuffer = ((int)0x8F36) , + /// + /// Original was GL_COPY_WRITE_BUFFER = 0x8F37 + /// + CopyWriteBuffer = ((int)0x8F37) , + } + + /// + /// Used in GL.Arb.DebugMessageControl, GL.Arb.DebugMessageInsert, GL.Arb.GetDebugMessageLog + /// + public enum ArbDebugOutput : int + { + /// + /// Original was GL_DEBUG_OUTPUT_SYNCHRONOUS_ARB = 0x8242 + /// + DebugOutputSynchronousArb = ((int)0x8242) , + /// + /// Original was GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_ARB = 0x8243 + /// + DebugNextLoggedMessageLengthArb = ((int)0x8243) , + /// + /// Original was GL_DEBUG_CALLBACK_FUNCTION_ARB = 0x8244 + /// + DebugCallbackFunctionArb = ((int)0x8244) , + /// + /// Original was GL_DEBUG_CALLBACK_USER_PARAM_ARB = 0x8245 + /// + DebugCallbackUserParamArb = ((int)0x8245) , + /// + /// Original was GL_DEBUG_SOURCE_API_ARB = 0x8246 + /// + DebugSourceApiArb = ((int)0x8246) , + /// + /// Original was GL_DEBUG_SOURCE_WINDOW_SYSTEM_ARB = 0x8247 + /// + DebugSourceWindowSystemArb = ((int)0x8247) , + /// + /// Original was GL_DEBUG_SOURCE_SHADER_COMPILER_ARB = 0x8248 + /// + DebugSourceShaderCompilerArb = ((int)0x8248) , + /// + /// Original was GL_DEBUG_SOURCE_THIRD_PARTY_ARB = 0x8249 + /// + DebugSourceThirdPartyArb = ((int)0x8249) , + /// + /// Original was GL_DEBUG_SOURCE_APPLICATION_ARB = 0x824A + /// + DebugSourceApplicationArb = ((int)0x824A) , + /// + /// Original was GL_DEBUG_SOURCE_OTHER_ARB = 0x824B + /// + DebugSourceOtherArb = ((int)0x824B) , + /// + /// Original was GL_DEBUG_TYPE_ERROR_ARB = 0x824C + /// + DebugTypeErrorArb = ((int)0x824C) , + /// + /// Original was GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR_ARB = 0x824D + /// + DebugTypeDeprecatedBehaviorArb = ((int)0x824D) , + /// + /// Original was GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR_ARB = 0x824E + /// + DebugTypeUndefinedBehaviorArb = ((int)0x824E) , + /// + /// Original was GL_DEBUG_TYPE_PORTABILITY_ARB = 0x824F + /// + DebugTypePortabilityArb = ((int)0x824F) , + /// + /// Original was GL_DEBUG_TYPE_PERFORMANCE_ARB = 0x8250 + /// + DebugTypePerformanceArb = ((int)0x8250) , + /// + /// Original was GL_DEBUG_TYPE_OTHER_ARB = 0x8251 + /// + DebugTypeOtherArb = ((int)0x8251) , + /// + /// Original was GL_MAX_DEBUG_MESSAGE_LENGTH_ARB = 0x9143 + /// + MaxDebugMessageLengthArb = ((int)0x9143) , + /// + /// Original was GL_MAX_DEBUG_LOGGED_MESSAGES_ARB = 0x9144 + /// + MaxDebugLoggedMessagesArb = ((int)0x9144) , + /// + /// Original was GL_DEBUG_LOGGED_MESSAGES_ARB = 0x9145 + /// + DebugLoggedMessagesArb = ((int)0x9145) , + /// + /// Original was GL_DEBUG_SEVERITY_HIGH_ARB = 0x9146 + /// + DebugSeverityHighArb = ((int)0x9146) , + /// + /// Original was GL_DEBUG_SEVERITY_MEDIUM_ARB = 0x9147 + /// + DebugSeverityMediumArb = ((int)0x9147) , + /// + /// Original was GL_DEBUG_SEVERITY_LOW_ARB = 0x9148 + /// + DebugSeverityLowArb = ((int)0x9148) , + } + + /// + /// Not used directly. + /// + public enum ArbDepthBufferFloat : int + { + /// + /// Original was GL_DEPTH_COMPONENT32F = 0x8CAC + /// + DepthComponent32f = ((int)0x8CAC) , + /// + /// Original was GL_DEPTH32F_STENCIL8 = 0x8CAD + /// + Depth32fStencil8 = ((int)0x8CAD) , + /// + /// Original was GL_FLOAT_32_UNSIGNED_INT_24_8_REV = 0x8DAD + /// + Float32UnsignedInt248Rev = ((int)0x8DAD) , + } + + /// + /// Not used directly. + /// + public enum ArbDepthClamp : int + { + /// + /// Original was GL_DEPTH_CLAMP = 0x864F + /// + DepthClamp = ((int)0x864F) , + } + + /// + /// Not used directly. + /// + public enum ArbDepthTexture : int + { + /// + /// Original was GL_DEPTH_COMPONENT16_ARB = 0x81A5 + /// + DepthComponent16Arb = ((int)0x81A5) , + /// + /// Original was GL_DEPTH_COMPONENT24_ARB = 0x81A6 + /// + DepthComponent24Arb = ((int)0x81A6) , + /// + /// Original was GL_DEPTH_COMPONENT32_ARB = 0x81A7 + /// + DepthComponent32Arb = ((int)0x81A7) , + /// + /// Original was GL_TEXTURE_DEPTH_SIZE_ARB = 0x884A + /// + TextureDepthSizeArb = ((int)0x884A) , + /// + /// Original was GL_DEPTH_TEXTURE_MODE_ARB = 0x884B + /// + DepthTextureModeArb = ((int)0x884B) , + } + + /// + /// Used in GL.Arb.DrawBuffers + /// + public enum ArbDrawBuffers : int + { + /// + /// Original was GL_MAX_DRAW_BUFFERS_ARB = 0x8824 + /// + MaxDrawBuffersArb = ((int)0x8824) , + /// + /// Original was GL_DRAW_BUFFER0_ARB = 0x8825 + /// + DrawBuffer0Arb = ((int)0x8825) , + /// + /// Original was GL_DRAW_BUFFER1_ARB = 0x8826 + /// + DrawBuffer1Arb = ((int)0x8826) , + /// + /// Original was GL_DRAW_BUFFER2_ARB = 0x8827 + /// + DrawBuffer2Arb = ((int)0x8827) , + /// + /// Original was GL_DRAW_BUFFER3_ARB = 0x8828 + /// + DrawBuffer3Arb = ((int)0x8828) , + /// + /// Original was GL_DRAW_BUFFER4_ARB = 0x8829 + /// + DrawBuffer4Arb = ((int)0x8829) , + /// + /// Original was GL_DRAW_BUFFER5_ARB = 0x882A + /// + DrawBuffer5Arb = ((int)0x882A) , + /// + /// Original was GL_DRAW_BUFFER6_ARB = 0x882B + /// + DrawBuffer6Arb = ((int)0x882B) , + /// + /// Original was GL_DRAW_BUFFER7_ARB = 0x882C + /// + DrawBuffer7Arb = ((int)0x882C) , + /// + /// Original was GL_DRAW_BUFFER8_ARB = 0x882D + /// + DrawBuffer8Arb = ((int)0x882D) , + /// + /// Original was GL_DRAW_BUFFER9_ARB = 0x882E + /// + DrawBuffer9Arb = ((int)0x882E) , + /// + /// Original was GL_DRAW_BUFFER10_ARB = 0x882F + /// + DrawBuffer10Arb = ((int)0x882F) , + /// + /// Original was GL_DRAW_BUFFER11_ARB = 0x8830 + /// + DrawBuffer11Arb = ((int)0x8830) , + /// + /// Original was GL_DRAW_BUFFER12_ARB = 0x8831 + /// + DrawBuffer12Arb = ((int)0x8831) , + /// + /// Original was GL_DRAW_BUFFER13_ARB = 0x8832 + /// + DrawBuffer13Arb = ((int)0x8832) , + /// + /// Original was GL_DRAW_BUFFER14_ARB = 0x8833 + /// + DrawBuffer14Arb = ((int)0x8833) , + /// + /// Original was GL_DRAW_BUFFER15_ARB = 0x8834 + /// + DrawBuffer15Arb = ((int)0x8834) , + } + + /// + /// Used in GL.Arb.BlendEquation, GL.Arb.BlendEquationSeparate, GL.Arb.BlendFunc, GL.Arb.BlendFuncSeparate + /// + public enum ArbDrawBuffersBlend : int + { + } + + /// + /// Not used directly. + /// + public enum ArbDrawElementsBaseVertex : int + { + } + + /// + /// Used in GL.DrawArraysIndirect, GL.DrawElementsIndirect + /// + public enum ArbDrawIndirect : int + { + /// + /// Original was GL_DRAW_INDIRECT_BUFFER = 0x8F3F + /// + DrawIndirectBuffer = ((int)0x8F3F) , + /// + /// Original was GL_DRAW_INDIRECT_BUFFER_BINDING = 0x8F43 + /// + DrawIndirectBufferBinding = ((int)0x8F43) , + } + + /// + /// Not used directly. + /// + public enum ArbDrawInstanced : int + { + } + + /// + /// Not used directly. + /// + public enum ArbEs2Compatibility : int + { + /// + /// Original was GL_FIXED = 0x140C + /// + Fixed = ((int)0x140C) , + /// + /// Original was GL_IMPLEMENTATION_COLOR_READ_TYPE = 0x8B9A + /// + ImplementationColorReadType = ((int)0x8B9A) , + /// + /// Original was GL_IMPLEMENTATION_COLOR_READ_FORMAT = 0x8B9B + /// + ImplementationColorReadFormat = ((int)0x8B9B) , + /// + /// Original was GL_LOW_FLOAT = 0x8DF0 + /// + LowFloat = ((int)0x8DF0) , + /// + /// Original was GL_MEDIUM_FLOAT = 0x8DF1 + /// + MediumFloat = ((int)0x8DF1) , + /// + /// Original was GL_HIGH_FLOAT = 0x8DF2 + /// + HighFloat = ((int)0x8DF2) , + /// + /// Original was GL_LOW_INT = 0x8DF3 + /// + LowInt = ((int)0x8DF3) , + /// + /// Original was GL_MEDIUM_INT = 0x8DF4 + /// + MediumInt = ((int)0x8DF4) , + /// + /// Original was GL_HIGH_INT = 0x8DF5 + /// + HighInt = ((int)0x8DF5) , + /// + /// Original was GL_SHADER_BINARY_FORMATS = 0x8DF8 + /// + ShaderBinaryFormats = ((int)0x8DF8) , + /// + /// Original was GL_NUM_SHADER_BINARY_FORMATS = 0x8DF9 + /// + NumShaderBinaryFormats = ((int)0x8DF9) , + /// + /// Original was GL_SHADER_COMPILER = 0x8DFA + /// + ShaderCompiler = ((int)0x8DFA) , + /// + /// Original was GL_MAX_VERTEX_UNIFORM_VECTORS = 0x8DFB + /// + MaxVertexUniformVectors = ((int)0x8DFB) , + /// + /// Original was GL_MAX_VARYING_VECTORS = 0x8DFC + /// + MaxVaryingVectors = ((int)0x8DFC) , + /// + /// Original was GL_MAX_FRAGMENT_UNIFORM_VECTORS = 0x8DFD + /// + MaxFragmentUniformVectors = ((int)0x8DFD) , + } + + /// + /// Not used directly. + /// + public enum ArbExplicitAttribLocation : int + { + } + + /// + /// Not used directly. + /// + public enum ArbFragmentCoordConventions : int + { + } + + /// + /// Not used directly. + /// + public enum ArbFragmentProgram : int + { + /// + /// Original was GL_VERTEX_PROGRAM_ARB = 0x8620 + /// + VertexProgramArb = ((int)0x8620) , + /// + /// Original was GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB = 0x8622 + /// + VertexAttribArrayEnabledArb = ((int)0x8622) , + /// + /// Original was GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB = 0x8623 + /// + VertexAttribArraySizeArb = ((int)0x8623) , + /// + /// Original was GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB = 0x8624 + /// + VertexAttribArrayStrideArb = ((int)0x8624) , + /// + /// Original was GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB = 0x8625 + /// + VertexAttribArrayTypeArb = ((int)0x8625) , + /// + /// Original was GL_CURRENT_VERTEX_ATTRIB_ARB = 0x8626 + /// + CurrentVertexAttribArb = ((int)0x8626) , + /// + /// Original was GL_PROGRAM_LENGTH_ARB = 0x8627 + /// + ProgramLengthArb = ((int)0x8627) , + /// + /// Original was GL_PROGRAM_STRING_ARB = 0x8628 + /// + ProgramStringArb = ((int)0x8628) , + /// + /// Original was GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB = 0x862E + /// + MaxProgramMatrixStackDepthArb = ((int)0x862E) , + /// + /// Original was GL_MAX_PROGRAM_MATRICES_ARB = 0x862F + /// + MaxProgramMatricesArb = ((int)0x862F) , + /// + /// Original was GL_CURRENT_MATRIX_STACK_DEPTH_ARB = 0x8640 + /// + CurrentMatrixStackDepthArb = ((int)0x8640) , + /// + /// Original was GL_CURRENT_MATRIX_ARB = 0x8641 + /// + CurrentMatrixArb = ((int)0x8641) , + /// + /// Original was GL_VERTEX_PROGRAM_POINT_SIZE_ARB = 0x8642 + /// + VertexProgramPointSizeArb = ((int)0x8642) , + /// + /// Original was GL_VERTEX_PROGRAM_TWO_SIDE_ARB = 0x8643 + /// + VertexProgramTwoSideArb = ((int)0x8643) , + /// + /// Original was GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB = 0x8645 + /// + VertexAttribArrayPointerArb = ((int)0x8645) , + /// + /// Original was GL_PROGRAM_ERROR_POSITION_ARB = 0x864B + /// + ProgramErrorPositionArb = ((int)0x864B) , + /// + /// Original was GL_PROGRAM_BINDING_ARB = 0x8677 + /// + ProgramBindingArb = ((int)0x8677) , + /// + /// Original was GL_FRAGMENT_PROGRAM_ARB = 0x8804 + /// + FragmentProgramArb = ((int)0x8804) , + /// + /// Original was GL_PROGRAM_ALU_INSTRUCTIONS_ARB = 0x8805 + /// + ProgramAluInstructionsArb = ((int)0x8805) , + /// + /// Original was GL_PROGRAM_TEX_INSTRUCTIONS_ARB = 0x8806 + /// + ProgramTexInstructionsArb = ((int)0x8806) , + /// + /// Original was GL_PROGRAM_TEX_INDIRECTIONS_ARB = 0x8807 + /// + ProgramTexIndirectionsArb = ((int)0x8807) , + /// + /// Original was GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB = 0x8808 + /// + ProgramNativeAluInstructionsArb = ((int)0x8808) , + /// + /// Original was GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB = 0x8809 + /// + ProgramNativeTexInstructionsArb = ((int)0x8809) , + /// + /// Original was GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB = 0x880A + /// + ProgramNativeTexIndirectionsArb = ((int)0x880A) , + /// + /// Original was GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB = 0x880B + /// + MaxProgramAluInstructionsArb = ((int)0x880B) , + /// + /// Original was GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB = 0x880C + /// + MaxProgramTexInstructionsArb = ((int)0x880C) , + /// + /// Original was GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB = 0x880D + /// + MaxProgramTexIndirectionsArb = ((int)0x880D) , + /// + /// Original was GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB = 0x880E + /// + MaxProgramNativeAluInstructionsArb = ((int)0x880E) , + /// + /// Original was GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB = 0x880F + /// + MaxProgramNativeTexInstructionsArb = ((int)0x880F) , + /// + /// Original was GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB = 0x8810 + /// + MaxProgramNativeTexIndirectionsArb = ((int)0x8810) , + /// + /// Original was GL_MAX_TEXTURE_COORDS_ARB = 0x8871 + /// + MaxTextureCoordsArb = ((int)0x8871) , + /// + /// Original was GL_MAX_TEXTURE_IMAGE_UNITS_ARB = 0x8872 + /// + MaxTextureImageUnitsArb = ((int)0x8872) , + /// + /// Original was GL_PROGRAM_ERROR_STRING_ARB = 0x8874 + /// + ProgramErrorStringArb = ((int)0x8874) , + /// + /// Original was GL_PROGRAM_FORMAT_ASCII_ARB = 0x8875 + /// + ProgramFormatAsciiArb = ((int)0x8875) , + /// + /// Original was GL_PROGRAM_FORMAT_ARB = 0x8876 + /// + ProgramFormatArb = ((int)0x8876) , + /// + /// Original was GL_PROGRAM_INSTRUCTIONS_ARB = 0x88A0 + /// + ProgramInstructionsArb = ((int)0x88A0) , + /// + /// Original was GL_MAX_PROGRAM_INSTRUCTIONS_ARB = 0x88A1 + /// + MaxProgramInstructionsArb = ((int)0x88A1) , + /// + /// Original was GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB = 0x88A2 + /// + ProgramNativeInstructionsArb = ((int)0x88A2) , + /// + /// Original was GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB = 0x88A3 + /// + MaxProgramNativeInstructionsArb = ((int)0x88A3) , + /// + /// Original was GL_PROGRAM_TEMPORARIES_ARB = 0x88A4 + /// + ProgramTemporariesArb = ((int)0x88A4) , + /// + /// Original was GL_MAX_PROGRAM_TEMPORARIES_ARB = 0x88A5 + /// + MaxProgramTemporariesArb = ((int)0x88A5) , + /// + /// Original was GL_PROGRAM_NATIVE_TEMPORARIES_ARB = 0x88A6 + /// + ProgramNativeTemporariesArb = ((int)0x88A6) , + /// + /// Original was GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB = 0x88A7 + /// + MaxProgramNativeTemporariesArb = ((int)0x88A7) , + /// + /// Original was GL_PROGRAM_PARAMETERS_ARB = 0x88A8 + /// + ProgramParametersArb = ((int)0x88A8) , + /// + /// Original was GL_MAX_PROGRAM_PARAMETERS_ARB = 0x88A9 + /// + MaxProgramParametersArb = ((int)0x88A9) , + /// + /// Original was GL_PROGRAM_NATIVE_PARAMETERS_ARB = 0x88AA + /// + ProgramNativeParametersArb = ((int)0x88AA) , + /// + /// Original was GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB = 0x88AB + /// + MaxProgramNativeParametersArb = ((int)0x88AB) , + /// + /// Original was GL_PROGRAM_ATTRIBS_ARB = 0x88AC + /// + ProgramAttribsArb = ((int)0x88AC) , + /// + /// Original was GL_MAX_PROGRAM_ATTRIBS_ARB = 0x88AD + /// + MaxProgramAttribsArb = ((int)0x88AD) , + /// + /// Original was GL_PROGRAM_NATIVE_ATTRIBS_ARB = 0x88AE + /// + ProgramNativeAttribsArb = ((int)0x88AE) , + /// + /// Original was GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB = 0x88AF + /// + MaxProgramNativeAttribsArb = ((int)0x88AF) , + /// + /// Original was GL_PROGRAM_ADDRESS_REGISTERS_ARB = 0x88B0 + /// + ProgramAddressRegistersArb = ((int)0x88B0) , + /// + /// Original was GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB = 0x88B1 + /// + MaxProgramAddressRegistersArb = ((int)0x88B1) , + /// + /// Original was GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB = 0x88B2 + /// + ProgramNativeAddressRegistersArb = ((int)0x88B2) , + /// + /// Original was GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB = 0x88B3 + /// + MaxProgramNativeAddressRegistersArb = ((int)0x88B3) , + /// + /// Original was GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB = 0x88B4 + /// + MaxProgramLocalParametersArb = ((int)0x88B4) , + /// + /// Original was GL_MAX_PROGRAM_ENV_PARAMETERS_ARB = 0x88B5 + /// + MaxProgramEnvParametersArb = ((int)0x88B5) , + /// + /// Original was GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB = 0x88B6 + /// + ProgramUnderNativeLimitsArb = ((int)0x88B6) , + /// + /// Original was GL_TRANSPOSE_CURRENT_MATRIX_ARB = 0x88B7 + /// + TransposeCurrentMatrixArb = ((int)0x88B7) , + /// + /// Original was GL_MATRIX0_ARB = 0x88C0 + /// + Matrix0Arb = ((int)0x88C0) , + /// + /// Original was GL_MATRIX1_ARB = 0x88C1 + /// + Matrix1Arb = ((int)0x88C1) , + /// + /// Original was GL_MATRIX2_ARB = 0x88C2 + /// + Matrix2Arb = ((int)0x88C2) , + /// + /// Original was GL_MATRIX3_ARB = 0x88C3 + /// + Matrix3Arb = ((int)0x88C3) , + /// + /// Original was GL_MATRIX4_ARB = 0x88C4 + /// + Matrix4Arb = ((int)0x88C4) , + /// + /// Original was GL_MATRIX5_ARB = 0x88C5 + /// + Matrix5Arb = ((int)0x88C5) , + /// + /// Original was GL_MATRIX6_ARB = 0x88C6 + /// + Matrix6Arb = ((int)0x88C6) , + /// + /// Original was GL_MATRIX7_ARB = 0x88C7 + /// + Matrix7Arb = ((int)0x88C7) , + /// + /// Original was GL_MATRIX8_ARB = 0x88C8 + /// + Matrix8Arb = ((int)0x88C8) , + /// + /// Original was GL_MATRIX9_ARB = 0x88C9 + /// + Matrix9Arb = ((int)0x88C9) , + /// + /// Original was GL_MATRIX10_ARB = 0x88CA + /// + Matrix10Arb = ((int)0x88CA) , + /// + /// Original was GL_MATRIX11_ARB = 0x88CB + /// + Matrix11Arb = ((int)0x88CB) , + /// + /// Original was GL_MATRIX12_ARB = 0x88CC + /// + Matrix12Arb = ((int)0x88CC) , + /// + /// Original was GL_MATRIX13_ARB = 0x88CD + /// + Matrix13Arb = ((int)0x88CD) , + /// + /// Original was GL_MATRIX14_ARB = 0x88CE + /// + Matrix14Arb = ((int)0x88CE) , + /// + /// Original was GL_MATRIX15_ARB = 0x88CF + /// + Matrix15Arb = ((int)0x88CF) , + /// + /// Original was GL_MATRIX16_ARB = 0x88D0 + /// + Matrix16Arb = ((int)0x88D0) , + /// + /// Original was GL_MATRIX17_ARB = 0x88D1 + /// + Matrix17Arb = ((int)0x88D1) , + /// + /// Original was GL_MATRIX18_ARB = 0x88D2 + /// + Matrix18Arb = ((int)0x88D2) , + /// + /// Original was GL_MATRIX19_ARB = 0x88D3 + /// + Matrix19Arb = ((int)0x88D3) , + /// + /// Original was GL_MATRIX20_ARB = 0x88D4 + /// + Matrix20Arb = ((int)0x88D4) , + /// + /// Original was GL_MATRIX21_ARB = 0x88D5 + /// + Matrix21Arb = ((int)0x88D5) , + /// + /// Original was GL_MATRIX22_ARB = 0x88D6 + /// + Matrix22Arb = ((int)0x88D6) , + /// + /// Original was GL_MATRIX23_ARB = 0x88D7 + /// + Matrix23Arb = ((int)0x88D7) , + /// + /// Original was GL_MATRIX24_ARB = 0x88D8 + /// + Matrix24Arb = ((int)0x88D8) , + /// + /// Original was GL_MATRIX25_ARB = 0x88D9 + /// + Matrix25Arb = ((int)0x88D9) , + /// + /// Original was GL_MATRIX26_ARB = 0x88DA + /// + Matrix26Arb = ((int)0x88DA) , + /// + /// Original was GL_MATRIX27_ARB = 0x88DB + /// + Matrix27Arb = ((int)0x88DB) , + /// + /// Original was GL_MATRIX28_ARB = 0x88DC + /// + Matrix28Arb = ((int)0x88DC) , + /// + /// Original was GL_MATRIX29_ARB = 0x88DD + /// + Matrix29Arb = ((int)0x88DD) , + /// + /// Original was GL_MATRIX30_ARB = 0x88DE + /// + Matrix30Arb = ((int)0x88DE) , + /// + /// Original was GL_MATRIX31_ARB = 0x88DF + /// + Matrix31Arb = ((int)0x88DF) , + } + + /// + /// Not used directly. + /// + public enum ArbFragmentProgramShadow : int + { + } + + /// + /// Not used directly. + /// + public enum ArbFragmentShader : int + { + /// + /// Original was GL_FRAGMENT_SHADER_ARB = 0x8B30 + /// + FragmentShaderArb = ((int)0x8B30) , + /// + /// Original was GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB = 0x8B49 + /// + MaxFragmentUniformComponentsArb = ((int)0x8B49) , + /// + /// Original was GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB = 0x8B8B + /// + FragmentShaderDerivativeHintArb = ((int)0x8B8B) , + } + + /// + /// Not used directly. + /// + public enum ArbFramebufferObject : int + { + /// + /// Original was GL_INVALID_FRAMEBUFFER_OPERATION = 0x0506 + /// + InvalidFramebufferOperation = ((int)0x0506) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING = 0x8210 + /// + FramebufferAttachmentColorEncoding = ((int)0x8210) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE = 0x8211 + /// + FramebufferAttachmentComponentType = ((int)0x8211) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE = 0x8212 + /// + FramebufferAttachmentRedSize = ((int)0x8212) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE = 0x8213 + /// + FramebufferAttachmentGreenSize = ((int)0x8213) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE = 0x8214 + /// + FramebufferAttachmentBlueSize = ((int)0x8214) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE = 0x8215 + /// + FramebufferAttachmentAlphaSize = ((int)0x8215) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE = 0x8216 + /// + FramebufferAttachmentDepthSize = ((int)0x8216) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE = 0x8217 + /// + FramebufferAttachmentStencilSize = ((int)0x8217) , + /// + /// Original was GL_FRAMEBUFFER_DEFAULT = 0x8218 + /// + FramebufferDefault = ((int)0x8218) , + /// + /// Original was GL_FRAMEBUFFER_UNDEFINED = 0x8219 + /// + FramebufferUndefined = ((int)0x8219) , + /// + /// Original was GL_DEPTH_STENCIL_ATTACHMENT = 0x821A + /// + DepthStencilAttachment = ((int)0x821A) , + /// + /// Original was GL_INDEX = 0x8222 + /// + Index = ((int)0x8222) , + /// + /// Original was GL_MAX_RENDERBUFFER_SIZE = 0x84E8 + /// + MaxRenderbufferSize = ((int)0x84E8) , + /// + /// Original was GL_DEPTH_STENCIL = 0x84F9 + /// + DepthStencil = ((int)0x84F9) , + /// + /// Original was GL_UNSIGNED_INT_24_8 = 0x84FA + /// + UnsignedInt248 = ((int)0x84FA) , + /// + /// Original was GL_DEPTH24_STENCIL8 = 0x88F0 + /// + Depth24Stencil8 = ((int)0x88F0) , + /// + /// Original was GL_TEXTURE_STENCIL_SIZE = 0x88F1 + /// + TextureStencilSize = ((int)0x88F1) , + /// + /// Original was GL_TEXTURE_RED_TYPE = 0x8C10 + /// + TextureRedType = ((int)0x8C10) , + /// + /// Original was GL_TEXTURE_GREEN_TYPE = 0x8C11 + /// + TextureGreenType = ((int)0x8C11) , + /// + /// Original was GL_TEXTURE_BLUE_TYPE = 0x8C12 + /// + TextureBlueType = ((int)0x8C12) , + /// + /// Original was GL_TEXTURE_ALPHA_TYPE = 0x8C13 + /// + TextureAlphaType = ((int)0x8C13) , + /// + /// Original was GL_TEXTURE_LUMINANCE_TYPE = 0x8C14 + /// + TextureLuminanceType = ((int)0x8C14) , + /// + /// Original was GL_TEXTURE_INTENSITY_TYPE = 0x8C15 + /// + TextureIntensityType = ((int)0x8C15) , + /// + /// Original was GL_TEXTURE_DEPTH_TYPE = 0x8C16 + /// + TextureDepthType = ((int)0x8C16) , + /// + /// Original was GL_UNSIGNED_NORMALIZED = 0x8C17 + /// + UnsignedNormalized = ((int)0x8C17) , + /// + /// Original was GL_DRAW_FRAMEBUFFER_BINDING = 0x8CA6 + /// + DrawFramebufferBinding = ((int)0x8CA6) , + /// + /// Original was GL_FRAMEBUFFER_BINDING = 0x8CA6 + /// + FramebufferBinding = ((int)0x8CA6) , + /// + /// Original was GL_RENDERBUFFER_BINDING = 0x8CA7 + /// + RenderbufferBinding = ((int)0x8CA7) , + /// + /// Original was GL_READ_FRAMEBUFFER = 0x8CA8 + /// + ReadFramebuffer = ((int)0x8CA8) , + /// + /// Original was GL_DRAW_FRAMEBUFFER = 0x8CA9 + /// + DrawFramebuffer = ((int)0x8CA9) , + /// + /// Original was GL_READ_FRAMEBUFFER_BINDING = 0x8CAA + /// + ReadFramebufferBinding = ((int)0x8CAA) , + /// + /// Original was GL_RENDERBUFFER_SAMPLES = 0x8CAB + /// + RenderbufferSamples = ((int)0x8CAB) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE = 0x8CD0 + /// + FramebufferAttachmentObjectType = ((int)0x8CD0) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME = 0x8CD1 + /// + FramebufferAttachmentObjectName = ((int)0x8CD1) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL = 0x8CD2 + /// + FramebufferAttachmentTextureLevel = ((int)0x8CD2) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE = 0x8CD3 + /// + FramebufferAttachmentTextureCubeMapFace = ((int)0x8CD3) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER = 0x8CD4 + /// + FramebufferAttachmentTextureLayer = ((int)0x8CD4) , + /// + /// Original was GL_FRAMEBUFFER_COMPLETE = 0x8CD5 + /// + FramebufferComplete = ((int)0x8CD5) , + /// + /// Original was GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT = 0x8CD6 + /// + FramebufferIncompleteAttachment = ((int)0x8CD6) , + /// + /// Original was GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT = 0x8CD7 + /// + FramebufferIncompleteMissingAttachment = ((int)0x8CD7) , + /// + /// Original was GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER = 0x8CDB + /// + FramebufferIncompleteDrawBuffer = ((int)0x8CDB) , + /// + /// Original was GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER = 0x8CDC + /// + FramebufferIncompleteReadBuffer = ((int)0x8CDC) , + /// + /// Original was GL_FRAMEBUFFER_UNSUPPORTED = 0x8CDD + /// + FramebufferUnsupported = ((int)0x8CDD) , + /// + /// Original was GL_MAX_COLOR_ATTACHMENTS = 0x8CDF + /// + MaxColorAttachments = ((int)0x8CDF) , + /// + /// Original was GL_COLOR_ATTACHMENT0 = 0x8CE0 + /// + ColorAttachment0 = ((int)0x8CE0) , + /// + /// Original was GL_COLOR_ATTACHMENT1 = 0x8CE1 + /// + ColorAttachment1 = ((int)0x8CE1) , + /// + /// Original was GL_COLOR_ATTACHMENT2 = 0x8CE2 + /// + ColorAttachment2 = ((int)0x8CE2) , + /// + /// Original was GL_COLOR_ATTACHMENT3 = 0x8CE3 + /// + ColorAttachment3 = ((int)0x8CE3) , + /// + /// Original was GL_COLOR_ATTACHMENT4 = 0x8CE4 + /// + ColorAttachment4 = ((int)0x8CE4) , + /// + /// Original was GL_COLOR_ATTACHMENT5 = 0x8CE5 + /// + ColorAttachment5 = ((int)0x8CE5) , + /// + /// Original was GL_COLOR_ATTACHMENT6 = 0x8CE6 + /// + ColorAttachment6 = ((int)0x8CE6) , + /// + /// Original was GL_COLOR_ATTACHMENT7 = 0x8CE7 + /// + ColorAttachment7 = ((int)0x8CE7) , + /// + /// Original was GL_COLOR_ATTACHMENT8 = 0x8CE8 + /// + ColorAttachment8 = ((int)0x8CE8) , + /// + /// Original was GL_COLOR_ATTACHMENT9 = 0x8CE9 + /// + ColorAttachment9 = ((int)0x8CE9) , + /// + /// Original was GL_COLOR_ATTACHMENT10 = 0x8CEA + /// + ColorAttachment10 = ((int)0x8CEA) , + /// + /// Original was GL_COLOR_ATTACHMENT11 = 0x8CEB + /// + ColorAttachment11 = ((int)0x8CEB) , + /// + /// Original was GL_COLOR_ATTACHMENT12 = 0x8CEC + /// + ColorAttachment12 = ((int)0x8CEC) , + /// + /// Original was GL_COLOR_ATTACHMENT13 = 0x8CED + /// + ColorAttachment13 = ((int)0x8CED) , + /// + /// Original was GL_COLOR_ATTACHMENT14 = 0x8CEE + /// + ColorAttachment14 = ((int)0x8CEE) , + /// + /// Original was GL_COLOR_ATTACHMENT15 = 0x8CEF + /// + ColorAttachment15 = ((int)0x8CEF) , + /// + /// Original was GL_DEPTH_ATTACHMENT = 0x8D00 + /// + DepthAttachment = ((int)0x8D00) , + /// + /// Original was GL_STENCIL_ATTACHMENT = 0x8D20 + /// + StencilAttachment = ((int)0x8D20) , + /// + /// Original was GL_FRAMEBUFFER = 0x8D40 + /// + Framebuffer = ((int)0x8D40) , + /// + /// Original was GL_RENDERBUFFER = 0x8D41 + /// + Renderbuffer = ((int)0x8D41) , + /// + /// Original was GL_RENDERBUFFER_WIDTH = 0x8D42 + /// + RenderbufferWidth = ((int)0x8D42) , + /// + /// Original was GL_RENDERBUFFER_HEIGHT = 0x8D43 + /// + RenderbufferHeight = ((int)0x8D43) , + /// + /// Original was GL_RENDERBUFFER_INTERNAL_FORMAT = 0x8D44 + /// + RenderbufferInternalFormat = ((int)0x8D44) , + /// + /// Original was GL_STENCIL_INDEX1 = 0x8D46 + /// + StencilIndex1 = ((int)0x8D46) , + /// + /// Original was GL_STENCIL_INDEX4 = 0x8D47 + /// + StencilIndex4 = ((int)0x8D47) , + /// + /// Original was GL_STENCIL_INDEX8 = 0x8D48 + /// + StencilIndex8 = ((int)0x8D48) , + /// + /// Original was GL_STENCIL_INDEX16 = 0x8D49 + /// + StencilIndex16 = ((int)0x8D49) , + /// + /// Original was GL_RENDERBUFFER_RED_SIZE = 0x8D50 + /// + RenderbufferRedSize = ((int)0x8D50) , + /// + /// Original was GL_RENDERBUFFER_GREEN_SIZE = 0x8D51 + /// + RenderbufferGreenSize = ((int)0x8D51) , + /// + /// Original was GL_RENDERBUFFER_BLUE_SIZE = 0x8D52 + /// + RenderbufferBlueSize = ((int)0x8D52) , + /// + /// Original was GL_RENDERBUFFER_ALPHA_SIZE = 0x8D53 + /// + RenderbufferAlphaSize = ((int)0x8D53) , + /// + /// Original was GL_RENDERBUFFER_DEPTH_SIZE = 0x8D54 + /// + RenderbufferDepthSize = ((int)0x8D54) , + /// + /// Original was GL_RENDERBUFFER_STENCIL_SIZE = 0x8D55 + /// + RenderbufferStencilSize = ((int)0x8D55) , + /// + /// Original was GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE = 0x8D56 + /// + FramebufferIncompleteMultisample = ((int)0x8D56) , + /// + /// Original was GL_MAX_SAMPLES = 0x8D57 + /// + MaxSamples = ((int)0x8D57) , + } + + /// + /// Not used directly. + /// + public enum ArbFramebufferObjectDeprecated : int + { + /// + /// Original was GL_INDEX = 0x8222 + /// + Index = ((int)0x8222) , + /// + /// Original was GL_TEXTURE_LUMINANCE_TYPE = 0x8C14 + /// + TextureLuminanceType = ((int)0x8C14) , + /// + /// Original was GL_TEXTURE_INTENSITY_TYPE = 0x8C15 + /// + TextureIntensityType = ((int)0x8C15) , + } + + /// + /// Not used directly. + /// + public enum ArbFramebufferSrgb : int + { + /// + /// Original was GL_FRAMEBUFFER_SRGB = 0x8DB9 + /// + FramebufferSrgb = ((int)0x8DB9) , + } + + /// + /// Not used directly. + /// + public enum ArbGeometryShader4 : int + { + /// + /// Original was GL_LINES_ADJACENCY_ARB = 0x000A + /// + LinesAdjacencyArb = ((int)0x000A) , + /// + /// Original was GL_LINE_STRIP_ADJACENCY_ARB = 0x000B + /// + LineStripAdjacencyArb = ((int)0x000B) , + /// + /// Original was GL_TRIANGLES_ADJACENCY_ARB = 0x000C + /// + TrianglesAdjacencyArb = ((int)0x000C) , + /// + /// Original was GL_TRIANGLE_STRIP_ADJACENCY_ARB = 0x000D + /// + TriangleStripAdjacencyArb = ((int)0x000D) , + /// + /// Original was GL_PROGRAM_POINT_SIZE_ARB = 0x8642 + /// + ProgramPointSizeArb = ((int)0x8642) , + /// + /// Original was GL_MAX_VARYING_COMPONENTS = 0x8B4B + /// + MaxVaryingComponents = ((int)0x8B4B) , + /// + /// Original was GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_ARB = 0x8C29 + /// + MaxGeometryTextureImageUnitsArb = ((int)0x8C29) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER = 0x8CD4 + /// + FramebufferAttachmentTextureLayer = ((int)0x8CD4) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_LAYERED_ARB = 0x8DA7 + /// + FramebufferAttachmentLayeredArb = ((int)0x8DA7) , + /// + /// Original was GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_ARB = 0x8DA8 + /// + FramebufferIncompleteLayerTargetsArb = ((int)0x8DA8) , + /// + /// Original was GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_ARB = 0x8DA9 + /// + FramebufferIncompleteLayerCountArb = ((int)0x8DA9) , + /// + /// Original was GL_GEOMETRY_SHADER_ARB = 0x8DD9 + /// + GeometryShaderArb = ((int)0x8DD9) , + /// + /// Original was GL_GEOMETRY_VERTICES_OUT_ARB = 0x8DDA + /// + GeometryVerticesOutArb = ((int)0x8DDA) , + /// + /// Original was GL_GEOMETRY_INPUT_TYPE_ARB = 0x8DDB + /// + GeometryInputTypeArb = ((int)0x8DDB) , + /// + /// Original was GL_GEOMETRY_OUTPUT_TYPE_ARB = 0x8DDC + /// + GeometryOutputTypeArb = ((int)0x8DDC) , + /// + /// Original was GL_MAX_GEOMETRY_VARYING_COMPONENTS_ARB = 0x8DDD + /// + MaxGeometryVaryingComponentsArb = ((int)0x8DDD) , + /// + /// Original was GL_MAX_VERTEX_VARYING_COMPONENTS_ARB = 0x8DDE + /// + MaxVertexVaryingComponentsArb = ((int)0x8DDE) , + /// + /// Original was GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_ARB = 0x8DDF + /// + MaxGeometryUniformComponentsArb = ((int)0x8DDF) , + /// + /// Original was GL_MAX_GEOMETRY_OUTPUT_VERTICES_ARB = 0x8DE0 + /// + MaxGeometryOutputVerticesArb = ((int)0x8DE0) , + /// + /// Original was GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_ARB = 0x8DE1 + /// + MaxGeometryTotalOutputComponentsArb = ((int)0x8DE1) , + } + + /// + /// Not used directly. + /// + public enum ArbGetProgramBinary : int + { + /// + /// Original was GL_PROGRAM_BINARY_RETRIEVABLE_HINT = 0x8257 + /// + ProgramBinaryRetrievableHint = ((int)0x8257) , + /// + /// Original was GL_PROGRAM_BINARY_LENGTH = 0x8741 + /// + ProgramBinaryLength = ((int)0x8741) , + /// + /// Original was GL_NUM_PROGRAM_BINARY_FORMATS = 0x87FE + /// + NumProgramBinaryFormats = ((int)0x87FE) , + /// + /// Original was GL_PROGRAM_BINARY_FORMATS = 0x87FF + /// + ProgramBinaryFormats = ((int)0x87FF) , + } + + /// + /// Not used directly. + /// + public enum ArbGpuShader5 : int + { + /// + /// Original was GL_GEOMETRY_SHADER_INVOCATIONS = 0x887F + /// + GeometryShaderInvocations = ((int)0x887F) , + /// + /// Original was GL_MAX_GEOMETRY_SHADER_INVOCATIONS = 0x8E5A + /// + MaxGeometryShaderInvocations = ((int)0x8E5A) , + /// + /// Original was GL_MIN_FRAGMENT_INTERPOLATION_OFFSET = 0x8E5B + /// + MinFragmentInterpolationOffset = ((int)0x8E5B) , + /// + /// Original was GL_MAX_FRAGMENT_INTERPOLATION_OFFSET = 0x8E5C + /// + MaxFragmentInterpolationOffset = ((int)0x8E5C) , + /// + /// Original was GL_FRAGMENT_INTERPOLATION_OFFSET_BITS = 0x8E5D + /// + FragmentInterpolationOffsetBits = ((int)0x8E5D) , + /// + /// Original was GL_MAX_VERTEX_STREAMS = 0x8E71 + /// + MaxVertexStreams = ((int)0x8E71) , + } + + /// + /// Not used directly. + /// + public enum ArbGpuShaderFp64 : int + { + /// + /// Original was GL_DOUBLE = 0x140A + /// + Double = ((int)0x140A) , + /// + /// Original was GL_DOUBLE_MAT2 = 0x8F46 + /// + DoubleMat2 = ((int)0x8F46) , + /// + /// Original was GL_DOUBLE_MAT3 = 0x8F47 + /// + DoubleMat3 = ((int)0x8F47) , + /// + /// Original was GL_DOUBLE_MAT4 = 0x8F48 + /// + DoubleMat4 = ((int)0x8F48) , + /// + /// Original was GL_DOUBLE_MAT2x3 = 0x8F49 + /// + DoubleMat2x3 = ((int)0x8F49) , + /// + /// Original was GL_DOUBLE_MAT2x4 = 0x8F4A + /// + DoubleMat2x4 = ((int)0x8F4A) , + /// + /// Original was GL_DOUBLE_MAT3x2 = 0x8F4B + /// + DoubleMat3x2 = ((int)0x8F4B) , + /// + /// Original was GL_DOUBLE_MAT3x4 = 0x8F4C + /// + DoubleMat3x4 = ((int)0x8F4C) , + /// + /// Original was GL_DOUBLE_MAT4x2 = 0x8F4D + /// + DoubleMat4x2 = ((int)0x8F4D) , + /// + /// Original was GL_DOUBLE_MAT4x3 = 0x8F4E + /// + DoubleMat4x3 = ((int)0x8F4E) , + /// + /// Original was GL_DOUBLE_VEC2 = 0x8FFC + /// + DoubleVec2 = ((int)0x8FFC) , + /// + /// Original was GL_DOUBLE_VEC3 = 0x8FFD + /// + DoubleVec3 = ((int)0x8FFD) , + /// + /// Original was GL_DOUBLE_VEC4 = 0x8FFE + /// + DoubleVec4 = ((int)0x8FFE) , + } + + /// + /// Not used directly. + /// + public enum ArbHalfFloatPixel : int + { + /// + /// Original was GL_HALF_FLOAT_ARB = 0x140B + /// + HalfFloatArb = ((int)0x140B) , + } + + /// + /// Not used directly. + /// + public enum ArbHalfFloatVertex : int + { + /// + /// Original was GL_HALF_FLOAT = 0x140B + /// + HalfFloat = ((int)0x140B) , + } + + /// + /// Not used directly. + /// + public enum ArbImaging : int + { + /// + /// Original was GL_CONSTANT_COLOR = 0x8001 + /// + ConstantColor = ((int)0x8001) , + /// + /// Original was GL_ONE_MINUS_CONSTANT_COLOR = 0x8002 + /// + OneMinusConstantColor = ((int)0x8002) , + /// + /// Original was GL_CONSTANT_ALPHA = 0x8003 + /// + ConstantAlpha = ((int)0x8003) , + /// + /// Original was GL_ONE_MINUS_CONSTANT_ALPHA = 0x8004 + /// + OneMinusConstantAlpha = ((int)0x8004) , + /// + /// Original was GL_BLEND_COLOR = 0x8005 + /// + BlendColor = ((int)0x8005) , + /// + /// Original was GL_FUNC_ADD = 0x8006 + /// + FuncAdd = ((int)0x8006) , + /// + /// Original was GL_MIN = 0x8007 + /// + Min = ((int)0x8007) , + /// + /// Original was GL_MAX = 0x8008 + /// + Max = ((int)0x8008) , + /// + /// Original was GL_BLEND_EQUATION = 0x8009 + /// + BlendEquation = ((int)0x8009) , + /// + /// Original was GL_FUNC_SUBTRACT = 0x800A + /// + FuncSubtract = ((int)0x800A) , + /// + /// Original was GL_FUNC_REVERSE_SUBTRACT = 0x800B + /// + FuncReverseSubtract = ((int)0x800B) , + } + + /// + /// Not used directly. + /// + public enum ArbImagingDeprecated : int + { + /// + /// Original was GL_CONVOLUTION_1D = 0x8010 + /// + Convolution1D = ((int)0x8010) , + /// + /// Original was GL_CONVOLUTION_2D = 0x8011 + /// + Convolution2D = ((int)0x8011) , + /// + /// Original was GL_SEPARABLE_2D = 0x8012 + /// + Separable2D = ((int)0x8012) , + /// + /// Original was GL_CONVOLUTION_BORDER_MODE = 0x8013 + /// + ConvolutionBorderMode = ((int)0x8013) , + /// + /// Original was GL_CONVOLUTION_FILTER_SCALE = 0x8014 + /// + ConvolutionFilterScale = ((int)0x8014) , + /// + /// Original was GL_CONVOLUTION_FILTER_BIAS = 0x8015 + /// + ConvolutionFilterBias = ((int)0x8015) , + /// + /// Original was GL_REDUCE = 0x8016 + /// + Reduce = ((int)0x8016) , + /// + /// Original was GL_CONVOLUTION_FORMAT = 0x8017 + /// + ConvolutionFormat = ((int)0x8017) , + /// + /// Original was GL_CONVOLUTION_WIDTH = 0x8018 + /// + ConvolutionWidth = ((int)0x8018) , + /// + /// Original was GL_CONVOLUTION_HEIGHT = 0x8019 + /// + ConvolutionHeight = ((int)0x8019) , + /// + /// Original was GL_MAX_CONVOLUTION_WIDTH = 0x801A + /// + MaxConvolutionWidth = ((int)0x801A) , + /// + /// Original was GL_MAX_CONVOLUTION_HEIGHT = 0x801B + /// + MaxConvolutionHeight = ((int)0x801B) , + /// + /// Original was GL_POST_CONVOLUTION_RED_SCALE = 0x801C + /// + PostConvolutionRedScale = ((int)0x801C) , + /// + /// Original was GL_POST_CONVOLUTION_GREEN_SCALE = 0x801D + /// + PostConvolutionGreenScale = ((int)0x801D) , + /// + /// Original was GL_POST_CONVOLUTION_BLUE_SCALE = 0x801E + /// + PostConvolutionBlueScale = ((int)0x801E) , + /// + /// Original was GL_POST_CONVOLUTION_ALPHA_SCALE = 0x801F + /// + PostConvolutionAlphaScale = ((int)0x801F) , + /// + /// Original was GL_POST_CONVOLUTION_RED_BIAS = 0x8020 + /// + PostConvolutionRedBias = ((int)0x8020) , + /// + /// Original was GL_POST_CONVOLUTION_GREEN_BIAS = 0x8021 + /// + PostConvolutionGreenBias = ((int)0x8021) , + /// + /// Original was GL_POST_CONVOLUTION_BLUE_BIAS = 0x8022 + /// + PostConvolutionBlueBias = ((int)0x8022) , + /// + /// Original was GL_POST_CONVOLUTION_ALPHA_BIAS = 0x8023 + /// + PostConvolutionAlphaBias = ((int)0x8023) , + /// + /// Original was GL_HISTOGRAM = 0x8024 + /// + Histogram = ((int)0x8024) , + /// + /// Original was GL_PROXY_HISTOGRAM = 0x8025 + /// + ProxyHistogram = ((int)0x8025) , + /// + /// Original was GL_HISTOGRAM_WIDTH = 0x8026 + /// + HistogramWidth = ((int)0x8026) , + /// + /// Original was GL_HISTOGRAM_FORMAT = 0x8027 + /// + HistogramFormat = ((int)0x8027) , + /// + /// Original was GL_HISTOGRAM_RED_SIZE = 0x8028 + /// + HistogramRedSize = ((int)0x8028) , + /// + /// Original was GL_HISTOGRAM_GREEN_SIZE = 0x8029 + /// + HistogramGreenSize = ((int)0x8029) , + /// + /// Original was GL_HISTOGRAM_BLUE_SIZE = 0x802A + /// + HistogramBlueSize = ((int)0x802A) , + /// + /// Original was GL_HISTOGRAM_ALPHA_SIZE = 0x802B + /// + HistogramAlphaSize = ((int)0x802B) , + /// + /// Original was GL_HISTOGRAM_LUMINANCE_SIZE = 0x802C + /// + HistogramLuminanceSize = ((int)0x802C) , + /// + /// Original was GL_HISTOGRAM_SINK = 0x802D + /// + HistogramSink = ((int)0x802D) , + /// + /// Original was GL_MINMAX = 0x802E + /// + Minmax = ((int)0x802E) , + /// + /// Original was GL_MINMAX_FORMAT = 0x802F + /// + MinmaxFormat = ((int)0x802F) , + /// + /// Original was GL_MINMAX_SINK = 0x8030 + /// + MinmaxSink = ((int)0x8030) , + /// + /// Original was GL_TABLE_TOO_LARGE = 0x8031 + /// + TableTooLarge = ((int)0x8031) , + /// + /// Original was GL_COLOR_MATRIX = 0x80B1 + /// + ColorMatrix = ((int)0x80B1) , + /// + /// Original was GL_COLOR_MATRIX_STACK_DEPTH = 0x80B2 + /// + ColorMatrixStackDepth = ((int)0x80B2) , + /// + /// Original was GL_MAX_COLOR_MATRIX_STACK_DEPTH = 0x80B3 + /// + MaxColorMatrixStackDepth = ((int)0x80B3) , + /// + /// Original was GL_POST_COLOR_MATRIX_RED_SCALE = 0x80B4 + /// + PostColorMatrixRedScale = ((int)0x80B4) , + /// + /// Original was GL_POST_COLOR_MATRIX_GREEN_SCALE = 0x80B5 + /// + PostColorMatrixGreenScale = ((int)0x80B5) , + /// + /// Original was GL_POST_COLOR_MATRIX_BLUE_SCALE = 0x80B6 + /// + PostColorMatrixBlueScale = ((int)0x80B6) , + /// + /// Original was GL_POST_COLOR_MATRIX_ALPHA_SCALE = 0x80B7 + /// + PostColorMatrixAlphaScale = ((int)0x80B7) , + /// + /// Original was GL_POST_COLOR_MATRIX_RED_BIAS = 0x80B8 + /// + PostColorMatrixRedBias = ((int)0x80B8) , + /// + /// Original was GL_POST_COLOR_MATRIX_GREEN_BIAS = 0x80B9 + /// + PostColorMatrixGreenBias = ((int)0x80B9) , + /// + /// Original was GL_POST_COLOR_MATRIX_BLUE_BIAS = 0x80BA + /// + PostColorMatrixBlueBias = ((int)0x80BA) , + /// + /// Original was GL_POST_COLOR_MATRIX_ALPHA_BIAS = 0x80BB + /// + PostColorMatrixAlphaBias = ((int)0x80BB) , + /// + /// Original was GL_COLOR_TABLE = 0x80D0 + /// + ColorTable = ((int)0x80D0) , + /// + /// Original was GL_POST_CONVOLUTION_COLOR_TABLE = 0x80D1 + /// + PostConvolutionColorTable = ((int)0x80D1) , + /// + /// Original was GL_POST_COLOR_MATRIX_COLOR_TABLE = 0x80D2 + /// + PostColorMatrixColorTable = ((int)0x80D2) , + /// + /// Original was GL_PROXY_COLOR_TABLE = 0x80D3 + /// + ProxyColorTable = ((int)0x80D3) , + /// + /// Original was GL_PROXY_POST_CONVOLUTION_COLOR_TABLE = 0x80D4 + /// + ProxyPostConvolutionColorTable = ((int)0x80D4) , + /// + /// Original was GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE = 0x80D5 + /// + ProxyPostColorMatrixColorTable = ((int)0x80D5) , + /// + /// Original was GL_COLOR_TABLE_SCALE = 0x80D6 + /// + ColorTableScale = ((int)0x80D6) , + /// + /// Original was GL_COLOR_TABLE_BIAS = 0x80D7 + /// + ColorTableBias = ((int)0x80D7) , + /// + /// Original was GL_COLOR_TABLE_FORMAT = 0x80D8 + /// + ColorTableFormat = ((int)0x80D8) , + /// + /// Original was GL_COLOR_TABLE_WIDTH = 0x80D9 + /// + ColorTableWidth = ((int)0x80D9) , + /// + /// Original was GL_COLOR_TABLE_RED_SIZE = 0x80DA + /// + ColorTableRedSize = ((int)0x80DA) , + /// + /// Original was GL_COLOR_TABLE_GREEN_SIZE = 0x80DB + /// + ColorTableGreenSize = ((int)0x80DB) , + /// + /// Original was GL_COLOR_TABLE_BLUE_SIZE = 0x80DC + /// + ColorTableBlueSize = ((int)0x80DC) , + /// + /// Original was GL_COLOR_TABLE_ALPHA_SIZE = 0x80DD + /// + ColorTableAlphaSize = ((int)0x80DD) , + /// + /// Original was GL_COLOR_TABLE_LUMINANCE_SIZE = 0x80DE + /// + ColorTableLuminanceSize = ((int)0x80DE) , + /// + /// Original was GL_COLOR_TABLE_INTENSITY_SIZE = 0x80DF + /// + ColorTableIntensitySize = ((int)0x80DF) , + /// + /// Original was GL_CONSTANT_BORDER = 0x8151 + /// + ConstantBorder = ((int)0x8151) , + /// + /// Original was GL_REPLICATE_BORDER = 0x8153 + /// + ReplicateBorder = ((int)0x8153) , + /// + /// Original was GL_CONVOLUTION_BORDER_COLOR = 0x8154 + /// + ConvolutionBorderColor = ((int)0x8154) , + } + + /// + /// Not used directly. + /// + public enum ArbInstancedArrays : int + { + /// + /// Original was GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ARB = 0x88FE + /// + VertexAttribArrayDivisorArb = ((int)0x88FE) , + } + + /// + /// Not used directly. + /// + public enum ArbMapBufferRange : int + { + /// + /// Original was GL_MAP_READ_BIT = 0x0001 + /// + MapReadBit = ((int)0x0001) , + /// + /// Original was GL_MAP_WRITE_BIT = 0x0002 + /// + MapWriteBit = ((int)0x0002) , + /// + /// Original was GL_MAP_INVALIDATE_RANGE_BIT = 0x0004 + /// + MapInvalidateRangeBit = ((int)0x0004) , + /// + /// Original was GL_MAP_INVALIDATE_BUFFER_BIT = 0x0008 + /// + MapInvalidateBufferBit = ((int)0x0008) , + /// + /// Original was GL_MAP_FLUSH_EXPLICIT_BIT = 0x0010 + /// + MapFlushExplicitBit = ((int)0x0010) , + /// + /// Original was GL_MAP_UNSYNCHRONIZED_BIT = 0x0020 + /// + MapUnsynchronizedBit = ((int)0x0020) , + } + + /// + /// Used in GL.Arb.MatrixIndexPointer + /// + public enum ArbMatrixPalette : int + { + /// + /// Original was GL_MATRIX_PALETTE_ARB = 0x8840 + /// + MatrixPaletteArb = ((int)0x8840) , + /// + /// Original was GL_MAX_MATRIX_PALETTE_STACK_DEPTH_ARB = 0x8841 + /// + MaxMatrixPaletteStackDepthArb = ((int)0x8841) , + /// + /// Original was GL_MAX_PALETTE_MATRICES_ARB = 0x8842 + /// + MaxPaletteMatricesArb = ((int)0x8842) , + /// + /// Original was GL_CURRENT_PALETTE_MATRIX_ARB = 0x8843 + /// + CurrentPaletteMatrixArb = ((int)0x8843) , + /// + /// Original was GL_MATRIX_INDEX_ARRAY_ARB = 0x8844 + /// + MatrixIndexArrayArb = ((int)0x8844) , + /// + /// Original was GL_CURRENT_MATRIX_INDEX_ARB = 0x8845 + /// + CurrentMatrixIndexArb = ((int)0x8845) , + /// + /// Original was GL_MATRIX_INDEX_ARRAY_SIZE_ARB = 0x8846 + /// + MatrixIndexArraySizeArb = ((int)0x8846) , + /// + /// Original was GL_MATRIX_INDEX_ARRAY_TYPE_ARB = 0x8847 + /// + MatrixIndexArrayTypeArb = ((int)0x8847) , + /// + /// Original was GL_MATRIX_INDEX_ARRAY_STRIDE_ARB = 0x8848 + /// + MatrixIndexArrayStrideArb = ((int)0x8848) , + /// + /// Original was GL_MATRIX_INDEX_ARRAY_POINTER_ARB = 0x8849 + /// + MatrixIndexArrayPointerArb = ((int)0x8849) , + } + + /// + /// Not used directly. + /// + public enum ArbMultisample : int + { + /// + /// Original was GL_MULTISAMPLE_BIT_ARB = 0x20000000 + /// + MultisampleBitArb = ((int)0x20000000) , + /// + /// Original was GL_MULTISAMPLE_ARB = 0x809D + /// + MultisampleArb = ((int)0x809D) , + /// + /// Original was GL_SAMPLE_ALPHA_TO_COVERAGE_ARB = 0x809E + /// + SampleAlphaToCoverageArb = ((int)0x809E) , + /// + /// Original was GL_SAMPLE_ALPHA_TO_ONE_ARB = 0x809F + /// + SampleAlphaToOneArb = ((int)0x809F) , + /// + /// Original was GL_SAMPLE_COVERAGE_ARB = 0x80A0 + /// + SampleCoverageArb = ((int)0x80A0) , + /// + /// Original was GL_SAMPLE_BUFFERS_ARB = 0x80A8 + /// + SampleBuffersArb = ((int)0x80A8) , + /// + /// Original was GL_SAMPLES_ARB = 0x80A9 + /// + SamplesArb = ((int)0x80A9) , + /// + /// Original was GL_SAMPLE_COVERAGE_VALUE_ARB = 0x80AA + /// + SampleCoverageValueArb = ((int)0x80AA) , + /// + /// Original was GL_SAMPLE_COVERAGE_INVERT_ARB = 0x80AB + /// + SampleCoverageInvertArb = ((int)0x80AB) , + } + + /// + /// Not used directly. + /// + public enum ArbMultitexture : int + { + /// + /// Original was GL_TEXTURE0_ARB = 0x84C0 + /// + Texture0Arb = ((int)0x84C0) , + /// + /// Original was GL_TEXTURE1_ARB = 0x84C1 + /// + Texture1Arb = ((int)0x84C1) , + /// + /// Original was GL_TEXTURE2_ARB = 0x84C2 + /// + Texture2Arb = ((int)0x84C2) , + /// + /// Original was GL_TEXTURE3_ARB = 0x84C3 + /// + Texture3Arb = ((int)0x84C3) , + /// + /// Original was GL_TEXTURE4_ARB = 0x84C4 + /// + Texture4Arb = ((int)0x84C4) , + /// + /// Original was GL_TEXTURE5_ARB = 0x84C5 + /// + Texture5Arb = ((int)0x84C5) , + /// + /// Original was GL_TEXTURE6_ARB = 0x84C6 + /// + Texture6Arb = ((int)0x84C6) , + /// + /// Original was GL_TEXTURE7_ARB = 0x84C7 + /// + Texture7Arb = ((int)0x84C7) , + /// + /// Original was GL_TEXTURE8_ARB = 0x84C8 + /// + Texture8Arb = ((int)0x84C8) , + /// + /// Original was GL_TEXTURE9_ARB = 0x84C9 + /// + Texture9Arb = ((int)0x84C9) , + /// + /// Original was GL_TEXTURE10_ARB = 0x84CA + /// + Texture10Arb = ((int)0x84CA) , + /// + /// Original was GL_TEXTURE11_ARB = 0x84CB + /// + Texture11Arb = ((int)0x84CB) , + /// + /// Original was GL_TEXTURE12_ARB = 0x84CC + /// + Texture12Arb = ((int)0x84CC) , + /// + /// Original was GL_TEXTURE13_ARB = 0x84CD + /// + Texture13Arb = ((int)0x84CD) , + /// + /// Original was GL_TEXTURE14_ARB = 0x84CE + /// + Texture14Arb = ((int)0x84CE) , + /// + /// Original was GL_TEXTURE15_ARB = 0x84CF + /// + Texture15Arb = ((int)0x84CF) , + /// + /// Original was GL_TEXTURE16_ARB = 0x84D0 + /// + Texture16Arb = ((int)0x84D0) , + /// + /// Original was GL_TEXTURE17_ARB = 0x84D1 + /// + Texture17Arb = ((int)0x84D1) , + /// + /// Original was GL_TEXTURE18_ARB = 0x84D2 + /// + Texture18Arb = ((int)0x84D2) , + /// + /// Original was GL_TEXTURE19_ARB = 0x84D3 + /// + Texture19Arb = ((int)0x84D3) , + /// + /// Original was GL_TEXTURE20_ARB = 0x84D4 + /// + Texture20Arb = ((int)0x84D4) , + /// + /// Original was GL_TEXTURE21_ARB = 0x84D5 + /// + Texture21Arb = ((int)0x84D5) , + /// + /// Original was GL_TEXTURE22_ARB = 0x84D6 + /// + Texture22Arb = ((int)0x84D6) , + /// + /// Original was GL_TEXTURE23_ARB = 0x84D7 + /// + Texture23Arb = ((int)0x84D7) , + /// + /// Original was GL_TEXTURE24_ARB = 0x84D8 + /// + Texture24Arb = ((int)0x84D8) , + /// + /// Original was GL_TEXTURE25_ARB = 0x84D9 + /// + Texture25Arb = ((int)0x84D9) , + /// + /// Original was GL_TEXTURE26_ARB = 0x84DA + /// + Texture26Arb = ((int)0x84DA) , + /// + /// Original was GL_TEXTURE27_ARB = 0x84DB + /// + Texture27Arb = ((int)0x84DB) , + /// + /// Original was GL_TEXTURE28_ARB = 0x84DC + /// + Texture28Arb = ((int)0x84DC) , + /// + /// Original was GL_TEXTURE29_ARB = 0x84DD + /// + Texture29Arb = ((int)0x84DD) , + /// + /// Original was GL_TEXTURE30_ARB = 0x84DE + /// + Texture30Arb = ((int)0x84DE) , + /// + /// Original was GL_TEXTURE31_ARB = 0x84DF + /// + Texture31Arb = ((int)0x84DF) , + /// + /// Original was GL_ACTIVE_TEXTURE_ARB = 0x84E0 + /// + ActiveTextureArb = ((int)0x84E0) , + /// + /// Original was GL_CLIENT_ACTIVE_TEXTURE_ARB = 0x84E1 + /// + ClientActiveTextureArb = ((int)0x84E1) , + /// + /// Original was GL_MAX_TEXTURE_UNITS_ARB = 0x84E2 + /// + MaxTextureUnitsArb = ((int)0x84E2) , + } + + /// + /// Used in GL.Arb.BeginQuery, GL.Arb.EndQuery, GL.Arb.GetQuery, GL.Arb.GetQueryObject + /// + public enum ArbOcclusionQuery : int + { + /// + /// Original was GL_QUERY_COUNTER_BITS_ARB = 0x8864 + /// + QueryCounterBitsArb = ((int)0x8864) , + /// + /// Original was GL_CURRENT_QUERY_ARB = 0x8865 + /// + CurrentQueryArb = ((int)0x8865) , + /// + /// Original was GL_QUERY_RESULT_ARB = 0x8866 + /// + QueryResultArb = ((int)0x8866) , + /// + /// Original was GL_QUERY_RESULT_AVAILABLE_ARB = 0x8867 + /// + QueryResultAvailableArb = ((int)0x8867) , + /// + /// Original was GL_SAMPLES_PASSED_ARB = 0x8914 + /// + SamplesPassedArb = ((int)0x8914) , + } + + /// + /// Not used directly. + /// + public enum ArbOcclusionQuery2 : int + { + /// + /// Original was GL_ANY_SAMPLES_PASSED = 0x8C2F + /// + AnySamplesPassed = ((int)0x8C2F) , + } + + /// + /// Not used directly. + /// + public enum ArbPixelBufferObject : int + { + /// + /// Original was GL_PIXEL_PACK_BUFFER_ARB = 0x88EB + /// + PixelPackBufferArb = ((int)0x88EB) , + /// + /// Original was GL_PIXEL_UNPACK_BUFFER_ARB = 0x88EC + /// + PixelUnpackBufferArb = ((int)0x88EC) , + /// + /// Original was GL_PIXEL_PACK_BUFFER_BINDING_ARB = 0x88ED + /// + PixelPackBufferBindingArb = ((int)0x88ED) , + /// + /// Original was GL_PIXEL_UNPACK_BUFFER_BINDING_ARB = 0x88EF + /// + PixelUnpackBufferBindingArb = ((int)0x88EF) , + } + + /// + /// Used in GL.Arb.PointParameter + /// + public enum ArbPointParameters : int + { + /// + /// Original was GL_POINT_SIZE_MIN_ARB = 0x8126 + /// + PointSizeMinArb = ((int)0x8126) , + /// + /// Original was GL_POINT_SIZE_MAX_ARB = 0x8127 + /// + PointSizeMaxArb = ((int)0x8127) , + /// + /// Original was GL_POINT_FADE_THRESHOLD_SIZE_ARB = 0x8128 + /// + PointFadeThresholdSizeArb = ((int)0x8128) , + /// + /// Original was GL_POINT_DISTANCE_ATTENUATION_ARB = 0x8129 + /// + PointDistanceAttenuationArb = ((int)0x8129) , + } + + /// + /// Not used directly. + /// + public enum ArbPointSprite : int + { + /// + /// Original was GL_POINT_SPRITE_ARB = 0x8861 + /// + PointSpriteArb = ((int)0x8861) , + /// + /// Original was GL_COORD_REPLACE_ARB = 0x8862 + /// + CoordReplaceArb = ((int)0x8862) , + } + + /// + /// Not used directly. + /// + public enum ArbProvokingVertex : int + { + /// + /// Original was GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION = 0x8E4C + /// + QuadsFollowProvokingVertexConvention = ((int)0x8E4C) , + /// + /// Original was GL_FIRST_VERTEX_CONVENTION = 0x8E4D + /// + FirstVertexConvention = ((int)0x8E4D) , + /// + /// Original was GL_LAST_VERTEX_CONVENTION = 0x8E4E + /// + LastVertexConvention = ((int)0x8E4E) , + /// + /// Original was GL_PROVOKING_VERTEX = 0x8E4F + /// + ProvokingVertex = ((int)0x8E4F) , + } + + /// + /// Used in GL.Arb.GetnColorTable, GL.Arb.GetnCompressedTexImage, GL.Arb.GetnConvolutionFilter, GL.Arb.GetnHistogram, GL.Arb.GetnMap, GL.Arb.GetnMinmax, GL.Arb.GetnPixelMap, GL.Arb.GetnSeparableFilter, GL.Arb.GetnTexImage, GL.Arb.ReadnPixels + /// + public enum ArbRobustness : int + { + /// + /// Original was GL_NO_ERROR = 0 + /// + NoError = ((int)0) , + /// + /// Original was GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT_ARB = 0x00000004 + /// + ContextFlagRobustAccessBitArb = ((int)0x00000004) , + /// + /// Original was GL_LOSE_CONTEXT_ON_RESET_ARB = 0x8252 + /// + LoseContextOnResetArb = ((int)0x8252) , + /// + /// Original was GL_GUILTY_CONTEXT_RESET_ARB = 0x8253 + /// + GuiltyContextResetArb = ((int)0x8253) , + /// + /// Original was GL_INNOCENT_CONTEXT_RESET_ARB = 0x8254 + /// + InnocentContextResetArb = ((int)0x8254) , + /// + /// Original was GL_UNKNOWN_CONTEXT_RESET_ARB = 0x8255 + /// + UnknownContextResetArb = ((int)0x8255) , + /// + /// Original was GL_RESET_NOTIFICATION_STRATEGY_ARB = 0x8256 + /// + ResetNotificationStrategyArb = ((int)0x8256) , + /// + /// Original was GL_NO_RESET_NOTIFICATION_ARB = 0x8261 + /// + NoResetNotificationArb = ((int)0x8261) , + } + + /// + /// Used in GL.GetSamplerParameterI, GL.SamplerParameterI + /// + public enum ArbSamplerObjects : int + { + /// + /// Original was GL_SAMPLER_BINDING = 0x8919 + /// + SamplerBinding = ((int)0x8919) , + } + + /// + /// Not used directly. + /// + public enum ArbSampleShading : int + { + /// + /// Original was GL_SAMPLE_SHADING_ARB = 0x8C36 + /// + SampleShadingArb = ((int)0x8C36) , + /// + /// Original was GL_MIN_SAMPLE_SHADING_VALUE_ARB = 0x8C37 + /// + MinSampleShadingValueArb = ((int)0x8C37) , + } + + /// + /// Not used directly. + /// + public enum ArbSeamlessCubeMap : int + { + /// + /// Original was GL_TEXTURE_CUBE_MAP_SEAMLESS = 0x884F + /// + TextureCubeMapSeamless = ((int)0x884F) , + } + + /// + /// Not used directly. + /// + public enum ArbSeparateShaderObjects : int + { + /// + /// Original was GL_VERTEX_SHADER_BIT = 0x00000001 + /// + VertexShaderBit = ((int)0x00000001) , + /// + /// Original was GL_FRAGMENT_SHADER_BIT = 0x00000002 + /// + FragmentShaderBit = ((int)0x00000002) , + /// + /// Original was GL_GEOMETRY_SHADER_BIT = 0x00000004 + /// + GeometryShaderBit = ((int)0x00000004) , + /// + /// Original was GL_TESS_CONTROL_SHADER_BIT = 0x00000008 + /// + TessControlShaderBit = ((int)0x00000008) , + /// + /// Original was GL_TESS_EVALUATION_SHADER_BIT = 0x00000010 + /// + TessEvaluationShaderBit = ((int)0x00000010) , + /// + /// Original was GL_PROGRAM_SEPARABLE = 0x8258 + /// + ProgramSeparable = ((int)0x8258) , + /// + /// Original was GL_ACTIVE_PROGRAM = 0x8259 + /// + ActiveProgram = ((int)0x8259) , + /// + /// Original was GL_PROGRAM_PIPELINE_BINDING = 0x825A + /// + ProgramPipelineBinding = ((int)0x825A) , + /// + /// Original was GL_ALL_SHADER_BITS = 0xFFFFFFFF + /// + AllShaderBits = unchecked((int)0xFFFFFFFF) , + } + + /// + /// Not used directly. + /// + public enum ArbShaderBitEncoding : int + { + } + + /// + /// Used in GL.Arb.CreateShaderObject, GL.Arb.GetActiveUniform, GL.Arb.GetHandle, GL.Arb.GetObjectParameter + /// + public enum ArbShaderObjects : int + { + /// + /// Original was GL_PROGRAM_OBJECT_ARB = 0x8B40 + /// + ProgramObjectArb = ((int)0x8B40) , + /// + /// Original was GL_SHADER_OBJECT_ARB = 0x8B48 + /// + ShaderObjectArb = ((int)0x8B48) , + /// + /// Original was GL_OBJECT_TYPE_ARB = 0x8B4E + /// + ObjectTypeArb = ((int)0x8B4E) , + /// + /// Original was GL_OBJECT_SUBTYPE_ARB = 0x8B4F + /// + ObjectSubtypeArb = ((int)0x8B4F) , + /// + /// Original was GL_FLOAT_VEC2_ARB = 0x8B50 + /// + FloatVec2Arb = ((int)0x8B50) , + /// + /// Original was GL_FLOAT_VEC3_ARB = 0x8B51 + /// + FloatVec3Arb = ((int)0x8B51) , + /// + /// Original was GL_FLOAT_VEC4_ARB = 0x8B52 + /// + FloatVec4Arb = ((int)0x8B52) , + /// + /// Original was GL_INT_VEC2_ARB = 0x8B53 + /// + IntVec2Arb = ((int)0x8B53) , + /// + /// Original was GL_INT_VEC3_ARB = 0x8B54 + /// + IntVec3Arb = ((int)0x8B54) , + /// + /// Original was GL_INT_VEC4_ARB = 0x8B55 + /// + IntVec4Arb = ((int)0x8B55) , + /// + /// Original was GL_BOOL_ARB = 0x8B56 + /// + BoolArb = ((int)0x8B56) , + /// + /// Original was GL_BOOL_VEC2_ARB = 0x8B57 + /// + BoolVec2Arb = ((int)0x8B57) , + /// + /// Original was GL_BOOL_VEC3_ARB = 0x8B58 + /// + BoolVec3Arb = ((int)0x8B58) , + /// + /// Original was GL_BOOL_VEC4_ARB = 0x8B59 + /// + BoolVec4Arb = ((int)0x8B59) , + /// + /// Original was GL_FLOAT_MAT2_ARB = 0x8B5A + /// + FloatMat2Arb = ((int)0x8B5A) , + /// + /// Original was GL_FLOAT_MAT3_ARB = 0x8B5B + /// + FloatMat3Arb = ((int)0x8B5B) , + /// + /// Original was GL_FLOAT_MAT4_ARB = 0x8B5C + /// + FloatMat4Arb = ((int)0x8B5C) , + /// + /// Original was GL_SAMPLER_1D_ARB = 0x8B5D + /// + Sampler1DArb = ((int)0x8B5D) , + /// + /// Original was GL_SAMPLER_2D_ARB = 0x8B5E + /// + Sampler2DArb = ((int)0x8B5E) , + /// + /// Original was GL_SAMPLER_3D_ARB = 0x8B5F + /// + Sampler3DArb = ((int)0x8B5F) , + /// + /// Original was GL_SAMPLER_CUBE_ARB = 0x8B60 + /// + SamplerCubeArb = ((int)0x8B60) , + /// + /// Original was GL_SAMPLER_1D_SHADOW_ARB = 0x8B61 + /// + Sampler1DShadowArb = ((int)0x8B61) , + /// + /// Original was GL_SAMPLER_2D_SHADOW_ARB = 0x8B62 + /// + Sampler2DShadowArb = ((int)0x8B62) , + /// + /// Original was GL_SAMPLER_2D_RECT_ARB = 0x8B63 + /// + Sampler2DRectArb = ((int)0x8B63) , + /// + /// Original was GL_SAMPLER_2D_RECT_SHADOW_ARB = 0x8B64 + /// + Sampler2DRectShadowArb = ((int)0x8B64) , + /// + /// Original was GL_OBJECT_DELETE_STATUS_ARB = 0x8B80 + /// + ObjectDeleteStatusArb = ((int)0x8B80) , + /// + /// Original was GL_OBJECT_COMPILE_STATUS_ARB = 0x8B81 + /// + ObjectCompileStatusArb = ((int)0x8B81) , + /// + /// Original was GL_OBJECT_LINK_STATUS_ARB = 0x8B82 + /// + ObjectLinkStatusArb = ((int)0x8B82) , + /// + /// Original was GL_OBJECT_VALIDATE_STATUS_ARB = 0x8B83 + /// + ObjectValidateStatusArb = ((int)0x8B83) , + /// + /// Original was GL_OBJECT_INFO_LOG_LENGTH_ARB = 0x8B84 + /// + ObjectInfoLogLengthArb = ((int)0x8B84) , + /// + /// Original was GL_OBJECT_ATTACHED_OBJECTS_ARB = 0x8B85 + /// + ObjectAttachedObjectsArb = ((int)0x8B85) , + /// + /// Original was GL_OBJECT_ACTIVE_UNIFORMS_ARB = 0x8B86 + /// + ObjectActiveUniformsArb = ((int)0x8B86) , + /// + /// Original was GL_OBJECT_ACTIVE_UNIFORM_MAX_LENGTH_ARB = 0x8B87 + /// + ObjectActiveUniformMaxLengthArb = ((int)0x8B87) , + /// + /// Original was GL_OBJECT_SHADER_SOURCE_LENGTH_ARB = 0x8B88 + /// + ObjectShaderSourceLengthArb = ((int)0x8B88) , + } + + /// + /// Not used directly. + /// + public enum ArbShaderPrecision : int + { + } + + /// + /// Not used directly. + /// + public enum ArbShaderStencilExport : int + { + } + + /// + /// Not used directly. + /// + public enum ArbShaderSubroutine : int + { + /// + /// Original was GL_UNIFORM_SIZE = 0x8A38 + /// + UniformSize = ((int)0x8A38) , + /// + /// Original was GL_UNIFORM_NAME_LENGTH = 0x8A39 + /// + UniformNameLength = ((int)0x8A39) , + /// + /// Original was GL_ACTIVE_SUBROUTINES = 0x8DE5 + /// + ActiveSubroutines = ((int)0x8DE5) , + /// + /// Original was GL_ACTIVE_SUBROUTINE_UNIFORMS = 0x8DE6 + /// + ActiveSubroutineUniforms = ((int)0x8DE6) , + /// + /// Original was GL_MAX_SUBROUTINES = 0x8DE7 + /// + MaxSubroutines = ((int)0x8DE7) , + /// + /// Original was GL_MAX_SUBROUTINE_UNIFORM_LOCATIONS = 0x8DE8 + /// + MaxSubroutineUniformLocations = ((int)0x8DE8) , + /// + /// Original was GL_ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS = 0x8E47 + /// + ActiveSubroutineUniformLocations = ((int)0x8E47) , + /// + /// Original was GL_ACTIVE_SUBROUTINE_MAX_LENGTH = 0x8E48 + /// + ActiveSubroutineMaxLength = ((int)0x8E48) , + /// + /// Original was GL_ACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH = 0x8E49 + /// + ActiveSubroutineUniformMaxLength = ((int)0x8E49) , + /// + /// Original was GL_NUM_COMPATIBLE_SUBROUTINES = 0x8E4A + /// + NumCompatibleSubroutines = ((int)0x8E4A) , + /// + /// Original was GL_COMPATIBLE_SUBROUTINES = 0x8E4B + /// + CompatibleSubroutines = ((int)0x8E4B) , + } + + /// + /// Not used directly. + /// + public enum ArbShaderTextureLod : int + { + } + + /// + /// Not used directly. + /// + public enum ArbShadingLanguage100 : int + { + /// + /// Original was GL_SHADING_LANGUAGE_VERSION_ARB = 0x8B8C + /// + ShadingLanguageVersionArb = ((int)0x8B8C) , + } + + /// + /// Used in GL.Arb.GetNamedString, GL.Arb.NamedString + /// + public enum ArbShadingLanguageInclude : int + { + /// + /// Original was GL_SHADER_INCLUDE_ARB = 0x8DAE + /// + ShaderIncludeArb = ((int)0x8DAE) , + /// + /// Original was GL_NAMED_STRING_LENGTH_ARB = 0x8DE9 + /// + NamedStringLengthArb = ((int)0x8DE9) , + /// + /// Original was GL_NAMED_STRING_TYPE_ARB = 0x8DEA + /// + NamedStringTypeArb = ((int)0x8DEA) , + } + + /// + /// Not used directly. + /// + public enum ArbShadow : int + { + /// + /// Original was GL_TEXTURE_COMPARE_MODE_ARB = 0x884C + /// + TextureCompareModeArb = ((int)0x884C) , + /// + /// Original was GL_TEXTURE_COMPARE_FUNC_ARB = 0x884D + /// + TextureCompareFuncArb = ((int)0x884D) , + /// + /// Original was GL_COMPARE_R_TO_TEXTURE_ARB = 0x884E + /// + CompareRToTextureArb = ((int)0x884E) , + } + + /// + /// Not used directly. + /// + public enum ArbShadowAmbient : int + { + /// + /// Original was GL_TEXTURE_COMPARE_FAIL_VALUE_ARB = 0x80BF + /// + TextureCompareFailValueArb = ((int)0x80BF) , + } + + /// + /// Used in GL.FenceSync, GL.GetInteger64, GL.GetSync + /// + public enum ArbSync : int + { + /// + /// Original was GL_SYNC_FLUSH_COMMANDS_BIT = 0x00000001 + /// + SyncFlushCommandsBit = ((int)0x00000001) , + /// + /// Original was GL_MAX_SERVER_WAIT_TIMEOUT = 0x9111 + /// + MaxServerWaitTimeout = ((int)0x9111) , + /// + /// Original was GL_OBJECT_TYPE = 0x9112 + /// + ObjectType = ((int)0x9112) , + /// + /// Original was GL_SYNC_CONDITION = 0x9113 + /// + SyncCondition = ((int)0x9113) , + /// + /// Original was GL_SYNC_STATUS = 0x9114 + /// + SyncStatus = ((int)0x9114) , + /// + /// Original was GL_SYNC_FLAGS = 0x9115 + /// + SyncFlags = ((int)0x9115) , + /// + /// Original was GL_SYNC_FENCE = 0x9116 + /// + SyncFence = ((int)0x9116) , + /// + /// Original was GL_SYNC_GPU_COMMANDS_COMPLETE = 0x9117 + /// + SyncGpuCommandsComplete = ((int)0x9117) , + /// + /// Original was GL_UNSIGNALED = 0x9118 + /// + Unsignaled = ((int)0x9118) , + /// + /// Original was GL_SIGNALED = 0x9119 + /// + Signaled = ((int)0x9119) , + /// + /// Original was GL_ALREADY_SIGNALED = 0x911A + /// + AlreadySignaled = ((int)0x911A) , + /// + /// Original was GL_TIMEOUT_EXPIRED = 0x911B + /// + TimeoutExpired = ((int)0x911B) , + /// + /// Original was GL_CONDITION_SATISFIED = 0x911C + /// + ConditionSatisfied = ((int)0x911C) , + /// + /// Original was GL_WAIT_FAILED = 0x911D + /// + WaitFailed = ((int)0x911D) , + /// + /// Original was GL_TIMEOUT_IGNORED = 0xFFFFFFFFFFFFFFFF + /// + TimeoutIgnored = unchecked((int)0xFFFFFFFFFFFFFFFF) , + } + + /// + /// Not used directly. + /// + public enum ArbTessellationShader : int + { + /// + /// Original was GL_TRIANGLES = 0x0004 + /// + Triangles = ((int)0x0004) , + /// + /// Original was GL_QUADS = 0x0007 + /// + Quads = ((int)0x0007) , + /// + /// Original was GL_PATCHES = 0x000E + /// + Patches = ((int)0x000E) , + /// + /// Original was GL_EQUAL = 0x0202 + /// + Equal = ((int)0x0202) , + /// + /// Original was GL_CW = 0x0900 + /// + Cw = ((int)0x0900) , + /// + /// Original was GL_CCW = 0x0901 + /// + Ccw = ((int)0x0901) , + /// + /// Original was GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_CONTROL_SHADER = 0x84F0 + /// + UniformBlockReferencedByTessControlShader = ((int)0x84F0) , + /// + /// Original was GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_EVALUATION_SHADER = 0x84F1 + /// + UniformBlockReferencedByTessEvaluationShader = ((int)0x84F1) , + /// + /// Original was GL_MAX_TESS_CONTROL_INPUT_COMPONENTS = 0x886C + /// + MaxTessControlInputComponents = ((int)0x886C) , + /// + /// Original was GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS = 0x886D + /// + MaxTessEvaluationInputComponents = ((int)0x886D) , + /// + /// Original was GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS = 0x8E1E + /// + MaxCombinedTessControlUniformComponents = ((int)0x8E1E) , + /// + /// Original was GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS = 0x8E1F + /// + MaxCombinedTessEvaluationUniformComponents = ((int)0x8E1F) , + /// + /// Original was GL_PATCH_VERTICES = 0x8E72 + /// + PatchVertices = ((int)0x8E72) , + /// + /// Original was GL_PATCH_DEFAULT_INNER_LEVEL = 0x8E73 + /// + PatchDefaultInnerLevel = ((int)0x8E73) , + /// + /// Original was GL_PATCH_DEFAULT_OUTER_LEVEL = 0x8E74 + /// + PatchDefaultOuterLevel = ((int)0x8E74) , + /// + /// Original was GL_TESS_CONTROL_OUTPUT_VERTICES = 0x8E75 + /// + TessControlOutputVertices = ((int)0x8E75) , + /// + /// Original was GL_TESS_GEN_MODE = 0x8E76 + /// + TessGenMode = ((int)0x8E76) , + /// + /// Original was GL_TESS_GEN_SPACING = 0x8E77 + /// + TessGenSpacing = ((int)0x8E77) , + /// + /// Original was GL_TESS_GEN_VERTEX_ORDER = 0x8E78 + /// + TessGenVertexOrder = ((int)0x8E78) , + /// + /// Original was GL_TESS_GEN_POINT_MODE = 0x8E79 + /// + TessGenPointMode = ((int)0x8E79) , + /// + /// Original was GL_ISOLINES = 0x8E7A + /// + Isolines = ((int)0x8E7A) , + /// + /// Original was GL_FRACTIONAL_ODD = 0x8E7B + /// + FractionalOdd = ((int)0x8E7B) , + /// + /// Original was GL_FRACTIONAL_EVEN = 0x8E7C + /// + FractionalEven = ((int)0x8E7C) , + /// + /// Original was GL_MAX_PATCH_VERTICES = 0x8E7D + /// + MaxPatchVertices = ((int)0x8E7D) , + /// + /// Original was GL_MAX_TESS_GEN_LEVEL = 0x8E7E + /// + MaxTessGenLevel = ((int)0x8E7E) , + /// + /// Original was GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS = 0x8E7F + /// + MaxTessControlUniformComponents = ((int)0x8E7F) , + /// + /// Original was GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS = 0x8E80 + /// + MaxTessEvaluationUniformComponents = ((int)0x8E80) , + /// + /// Original was GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS = 0x8E81 + /// + MaxTessControlTextureImageUnits = ((int)0x8E81) , + /// + /// Original was GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS = 0x8E82 + /// + MaxTessEvaluationTextureImageUnits = ((int)0x8E82) , + /// + /// Original was GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS = 0x8E83 + /// + MaxTessControlOutputComponents = ((int)0x8E83) , + /// + /// Original was GL_MAX_TESS_PATCH_COMPONENTS = 0x8E84 + /// + MaxTessPatchComponents = ((int)0x8E84) , + /// + /// Original was GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS = 0x8E85 + /// + MaxTessControlTotalOutputComponents = ((int)0x8E85) , + /// + /// Original was GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS = 0x8E86 + /// + MaxTessEvaluationOutputComponents = ((int)0x8E86) , + /// + /// Original was GL_TESS_EVALUATION_SHADER = 0x8E87 + /// + TessEvaluationShader = ((int)0x8E87) , + /// + /// Original was GL_TESS_CONTROL_SHADER = 0x8E88 + /// + TessControlShader = ((int)0x8E88) , + /// + /// Original was GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS = 0x8E89 + /// + MaxTessControlUniformBlocks = ((int)0x8E89) , + /// + /// Original was GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS = 0x8E8A + /// + MaxTessEvaluationUniformBlocks = ((int)0x8E8A) , + } + + /// + /// Not used directly. + /// + public enum ArbTextureBorderClamp : int + { + /// + /// Original was GL_CLAMP_TO_BORDER_ARB = 0x812D + /// + ClampToBorderArb = ((int)0x812D) , + } + + /// + /// Used in GL.Arb.TexBuffer + /// + public enum ArbTextureBufferObject : int + { + /// + /// Original was GL_TEXTURE_BUFFER_ARB = 0x8C2A + /// + TextureBufferArb = ((int)0x8C2A) , + /// + /// Original was GL_MAX_TEXTURE_BUFFER_SIZE_ARB = 0x8C2B + /// + MaxTextureBufferSizeArb = ((int)0x8C2B) , + /// + /// Original was GL_TEXTURE_BINDING_BUFFER_ARB = 0x8C2C + /// + TextureBindingBufferArb = ((int)0x8C2C) , + /// + /// Original was GL_TEXTURE_BUFFER_DATA_STORE_BINDING_ARB = 0x8C2D + /// + TextureBufferDataStoreBindingArb = ((int)0x8C2D) , + /// + /// Original was GL_TEXTURE_BUFFER_FORMAT_ARB = 0x8C2E + /// + TextureBufferFormatArb = ((int)0x8C2E) , + } + + /// + /// Not used directly. + /// + public enum ArbTextureBufferObjectRgb32 : int + { + /// + /// Original was GL_RGB32F = 0x8815 + /// + Rgb32f = ((int)0x8815) , + /// + /// Original was GL_RGB32UI = 0x8D71 + /// + Rgb32ui = ((int)0x8D71) , + /// + /// Original was GL_RGB32I = 0x8D83 + /// + Rgb32i = ((int)0x8D83) , + } + + /// + /// Not used directly. + /// + public enum ArbTextureCompression : int + { + /// + /// Original was GL_COMPRESSED_ALPHA_ARB = 0x84E9 + /// + CompressedAlphaArb = ((int)0x84E9) , + /// + /// Original was GL_COMPRESSED_LUMINANCE_ARB = 0x84EA + /// + CompressedLuminanceArb = ((int)0x84EA) , + /// + /// Original was GL_COMPRESSED_LUMINANCE_ALPHA_ARB = 0x84EB + /// + CompressedLuminanceAlphaArb = ((int)0x84EB) , + /// + /// Original was GL_COMPRESSED_INTENSITY_ARB = 0x84EC + /// + CompressedIntensityArb = ((int)0x84EC) , + /// + /// Original was GL_COMPRESSED_RGB_ARB = 0x84ED + /// + CompressedRgbArb = ((int)0x84ED) , + /// + /// Original was GL_COMPRESSED_RGBA_ARB = 0x84EE + /// + CompressedRgbaArb = ((int)0x84EE) , + /// + /// Original was GL_TEXTURE_COMPRESSION_HINT_ARB = 0x84EF + /// + TextureCompressionHintArb = ((int)0x84EF) , + /// + /// Original was GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB = 0x86A0 + /// + TextureCompressedImageSizeArb = ((int)0x86A0) , + /// + /// Original was GL_TEXTURE_COMPRESSED_ARB = 0x86A1 + /// + TextureCompressedArb = ((int)0x86A1) , + /// + /// Original was GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB = 0x86A2 + /// + NumCompressedTextureFormatsArb = ((int)0x86A2) , + /// + /// Original was GL_COMPRESSED_TEXTURE_FORMATS_ARB = 0x86A3 + /// + CompressedTextureFormatsArb = ((int)0x86A3) , + } + + /// + /// Not used directly. + /// + public enum ArbTextureCompressionBptc : int + { + /// + /// Original was GL_COMPRESSED_RGBA_BPTC_UNORM_ARB = 0x8E8C + /// + CompressedRgbaBptcUnormArb = ((int)0x8E8C) , + /// + /// Original was GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM_ARB = 0x8E8D + /// + CompressedSrgbAlphaBptcUnormArb = ((int)0x8E8D) , + /// + /// Original was GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT_ARB = 0x8E8E + /// + CompressedRgbBptcSignedFloatArb = ((int)0x8E8E) , + /// + /// Original was GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_ARB = 0x8E8F + /// + CompressedRgbBptcUnsignedFloatArb = ((int)0x8E8F) , + } + + /// + /// Not used directly. + /// + public enum ArbTextureCompressionRgtc : int + { + /// + /// Original was GL_COMPRESSED_RED_RGTC1 = 0x8DBB + /// + CompressedRedRgtc1 = ((int)0x8DBB) , + /// + /// Original was GL_COMPRESSED_SIGNED_RED_RGTC1 = 0x8DBC + /// + CompressedSignedRedRgtc1 = ((int)0x8DBC) , + /// + /// Original was GL_COMPRESSED_RG_RGTC2 = 0x8DBD + /// + CompressedRgRgtc2 = ((int)0x8DBD) , + /// + /// Original was GL_COMPRESSED_SIGNED_RG_RGTC2 = 0x8DBE + /// + CompressedSignedRgRgtc2 = ((int)0x8DBE) , + } + + /// + /// Not used directly. + /// + public enum ArbTextureCubeMap : int + { + /// + /// Original was GL_NORMAL_MAP_ARB = 0x8511 + /// + NormalMapArb = ((int)0x8511) , + /// + /// Original was GL_REFLECTION_MAP_ARB = 0x8512 + /// + ReflectionMapArb = ((int)0x8512) , + /// + /// Original was GL_TEXTURE_CUBE_MAP_ARB = 0x8513 + /// + TextureCubeMapArb = ((int)0x8513) , + /// + /// Original was GL_TEXTURE_BINDING_CUBE_MAP_ARB = 0x8514 + /// + TextureBindingCubeMapArb = ((int)0x8514) , + /// + /// Original was GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB = 0x8515 + /// + TextureCubeMapPositiveXArb = ((int)0x8515) , + /// + /// Original was GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB = 0x8516 + /// + TextureCubeMapNegativeXArb = ((int)0x8516) , + /// + /// Original was GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB = 0x8517 + /// + TextureCubeMapPositiveYArb = ((int)0x8517) , + /// + /// Original was GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB = 0x8518 + /// + TextureCubeMapNegativeYArb = ((int)0x8518) , + /// + /// Original was GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB = 0x8519 + /// + TextureCubeMapPositiveZArb = ((int)0x8519) , + /// + /// Original was GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB = 0x851A + /// + TextureCubeMapNegativeZArb = ((int)0x851A) , + /// + /// Original was GL_PROXY_TEXTURE_CUBE_MAP_ARB = 0x851B + /// + ProxyTextureCubeMapArb = ((int)0x851B) , + /// + /// Original was GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB = 0x851C + /// + MaxCubeMapTextureSizeArb = ((int)0x851C) , + } + + /// + /// Not used directly. + /// + public enum ArbTextureCubeMapArray : int + { + /// + /// Original was GL_TEXTURE_CUBE_MAP_ARRAY = 0x9009 + /// + TextureCubeMapArray = ((int)0x9009) , + /// + /// Original was GL_TEXTURE_CUBE_MAP_ARRAY_ARB = 0x9009 + /// + TextureCubeMapArrayArb = ((int)0x9009) , + /// + /// Original was GL_TEXTURE_BINDING_CUBE_MAP_ARRAY = 0x900A + /// + TextureBindingCubeMapArray = ((int)0x900A) , + /// + /// Original was GL_TEXTURE_BINDING_CUBE_MAP_ARRAY_ARB = 0x900A + /// + TextureBindingCubeMapArrayArb = ((int)0x900A) , + /// + /// Original was GL_PROXY_TEXTURE_CUBE_MAP_ARRAY = 0x900B + /// + ProxyTextureCubeMapArray = ((int)0x900B) , + /// + /// Original was GL_PROXY_TEXTURE_CUBE_MAP_ARRAY_ARB = 0x900B + /// + ProxyTextureCubeMapArrayArb = ((int)0x900B) , + /// + /// Original was GL_SAMPLER_CUBE_MAP_ARRAY = 0x900C + /// + SamplerCubeMapArray = ((int)0x900C) , + /// + /// Original was GL_SAMPLER_CUBE_MAP_ARRAY_ARB = 0x900C + /// + SamplerCubeMapArrayArb = ((int)0x900C) , + /// + /// Original was GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW = 0x900D + /// + SamplerCubeMapArrayShadow = ((int)0x900D) , + /// + /// Original was GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW_ARB = 0x900D + /// + SamplerCubeMapArrayShadowArb = ((int)0x900D) , + /// + /// Original was GL_INT_SAMPLER_CUBE_MAP_ARRAY = 0x900E + /// + IntSamplerCubeMapArray = ((int)0x900E) , + /// + /// Original was GL_INT_SAMPLER_CUBE_MAP_ARRAY_ARB = 0x900E + /// + IntSamplerCubeMapArrayArb = ((int)0x900E) , + /// + /// Original was GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY = 0x900F + /// + UnsignedIntSamplerCubeMapArray = ((int)0x900F) , + /// + /// Original was GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY_ARB = 0x900F + /// + UnsignedIntSamplerCubeMapArrayArb = ((int)0x900F) , + } + + /// + /// Not used directly. + /// + public enum ArbTextureEnvAdd : int + { + } + + /// + /// Not used directly. + /// + public enum ArbTextureEnvCombine : int + { + /// + /// Original was GL_SUBTRACT_ARB = 0x84E7 + /// + SubtractArb = ((int)0x84E7) , + /// + /// Original was GL_COMBINE_ARB = 0x8570 + /// + CombineArb = ((int)0x8570) , + /// + /// Original was GL_COMBINE_RGB_ARB = 0x8571 + /// + CombineRgbArb = ((int)0x8571) , + /// + /// Original was GL_COMBINE_ALPHA_ARB = 0x8572 + /// + CombineAlphaArb = ((int)0x8572) , + /// + /// Original was GL_RGB_SCALE_ARB = 0x8573 + /// + RgbScaleArb = ((int)0x8573) , + /// + /// Original was GL_ADD_SIGNED_ARB = 0x8574 + /// + AddSignedArb = ((int)0x8574) , + /// + /// Original was GL_INTERPOLATE_ARB = 0x8575 + /// + InterpolateArb = ((int)0x8575) , + /// + /// Original was GL_CONSTANT_ARB = 0x8576 + /// + ConstantArb = ((int)0x8576) , + /// + /// Original was GL_PRIMARY_COLOR_ARB = 0x8577 + /// + PrimaryColorArb = ((int)0x8577) , + /// + /// Original was GL_PREVIOUS_ARB = 0x8578 + /// + PreviousArb = ((int)0x8578) , + /// + /// Original was GL_SOURCE0_RGB_ARB = 0x8580 + /// + Source0RgbArb = ((int)0x8580) , + /// + /// Original was GL_SOURCE1_RGB_ARB = 0x8581 + /// + Source1RgbArb = ((int)0x8581) , + /// + /// Original was GL_SOURCE2_RGB_ARB = 0x8582 + /// + Source2RgbArb = ((int)0x8582) , + /// + /// Original was GL_SOURCE0_ALPHA_ARB = 0x8588 + /// + Source0AlphaArb = ((int)0x8588) , + /// + /// Original was GL_SOURCE1_ALPHA_ARB = 0x8589 + /// + Source1AlphaArb = ((int)0x8589) , + /// + /// Original was GL_SOURCE2_ALPHA_ARB = 0x858A + /// + Source2AlphaArb = ((int)0x858A) , + /// + /// Original was GL_OPERAND0_RGB_ARB = 0x8590 + /// + Operand0RgbArb = ((int)0x8590) , + /// + /// Original was GL_OPERAND1_RGB_ARB = 0x8591 + /// + Operand1RgbArb = ((int)0x8591) , + /// + /// Original was GL_OPERAND2_RGB_ARB = 0x8592 + /// + Operand2RgbArb = ((int)0x8592) , + /// + /// Original was GL_OPERAND0_ALPHA_ARB = 0x8598 + /// + Operand0AlphaArb = ((int)0x8598) , + /// + /// Original was GL_OPERAND1_ALPHA_ARB = 0x8599 + /// + Operand1AlphaArb = ((int)0x8599) , + /// + /// Original was GL_OPERAND2_ALPHA_ARB = 0x859A + /// + Operand2AlphaArb = ((int)0x859A) , + } + + /// + /// Not used directly. + /// + public enum ArbTextureEnvCrossbar : int + { + } + + /// + /// Not used directly. + /// + public enum ArbTextureEnvDot3 : int + { + /// + /// Original was GL_DOT3_RGB_ARB = 0x86AE + /// + Dot3RgbArb = ((int)0x86AE) , + /// + /// Original was GL_DOT3_RGBA_ARB = 0x86AF + /// + Dot3RgbaArb = ((int)0x86AF) , + } + + /// + /// Not used directly. + /// + public enum ArbTextureFloat : int + { + /// + /// Original was GL_RGBA32F_ARB = 0x8814 + /// + Rgba32fArb = ((int)0x8814) , + /// + /// Original was GL_RGB32F_ARB = 0x8815 + /// + Rgb32fArb = ((int)0x8815) , + /// + /// Original was GL_ALPHA32F_ARB = 0x8816 + /// + Alpha32fArb = ((int)0x8816) , + /// + /// Original was GL_INTENSITY32F_ARB = 0x8817 + /// + Intensity32fArb = ((int)0x8817) , + /// + /// Original was GL_LUMINANCE32F_ARB = 0x8818 + /// + Luminance32fArb = ((int)0x8818) , + /// + /// Original was GL_LUMINANCE_ALPHA32F_ARB = 0x8819 + /// + LuminanceAlpha32fArb = ((int)0x8819) , + /// + /// Original was GL_RGBA16F_ARB = 0x881A + /// + Rgba16fArb = ((int)0x881A) , + /// + /// Original was GL_RGB16F_ARB = 0x881B + /// + Rgb16fArb = ((int)0x881B) , + /// + /// Original was GL_ALPHA16F_ARB = 0x881C + /// + Alpha16fArb = ((int)0x881C) , + /// + /// Original was GL_INTENSITY16F_ARB = 0x881D + /// + Intensity16fArb = ((int)0x881D) , + /// + /// Original was GL_LUMINANCE16F_ARB = 0x881E + /// + Luminance16fArb = ((int)0x881E) , + /// + /// Original was GL_LUMINANCE_ALPHA16F_ARB = 0x881F + /// + LuminanceAlpha16fArb = ((int)0x881F) , + /// + /// Original was GL_TEXTURE_RED_TYPE_ARB = 0x8C10 + /// + TextureRedTypeArb = ((int)0x8C10) , + /// + /// Original was GL_TEXTURE_GREEN_TYPE_ARB = 0x8C11 + /// + TextureGreenTypeArb = ((int)0x8C11) , + /// + /// Original was GL_TEXTURE_BLUE_TYPE_ARB = 0x8C12 + /// + TextureBlueTypeArb = ((int)0x8C12) , + /// + /// Original was GL_TEXTURE_ALPHA_TYPE_ARB = 0x8C13 + /// + TextureAlphaTypeArb = ((int)0x8C13) , + /// + /// Original was GL_TEXTURE_LUMINANCE_TYPE_ARB = 0x8C14 + /// + TextureLuminanceTypeArb = ((int)0x8C14) , + /// + /// Original was GL_TEXTURE_INTENSITY_TYPE_ARB = 0x8C15 + /// + TextureIntensityTypeArb = ((int)0x8C15) , + /// + /// Original was GL_TEXTURE_DEPTH_TYPE_ARB = 0x8C16 + /// + TextureDepthTypeArb = ((int)0x8C16) , + /// + /// Original was GL_UNSIGNED_NORMALIZED_ARB = 0x8C17 + /// + UnsignedNormalizedArb = ((int)0x8C17) , + } + + /// + /// Not used directly. + /// + public enum ArbTextureGather : int + { + /// + /// Original was GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET = 0x8E5E + /// + MinProgramTextureGatherOffset = ((int)0x8E5E) , + /// + /// Original was GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET_ARB = 0x8E5E + /// + MinProgramTextureGatherOffsetArb = ((int)0x8E5E) , + /// + /// Original was GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET = 0x8E5F + /// + MaxProgramTextureGatherOffset = ((int)0x8E5F) , + /// + /// Original was GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET_ARB = 0x8E5F + /// + MaxProgramTextureGatherOffsetArb = ((int)0x8E5F) , + /// + /// Original was GL_MAX_PROGRAM_TEXTURE_GATHER_COMPONENTS = 0x8F9F + /// + MaxProgramTextureGatherComponents = ((int)0x8F9F) , + } + + /// + /// Not used directly. + /// + public enum ArbTextureMirroredRepeat : int + { + /// + /// Original was GL_MIRRORED_REPEAT_ARB = 0x8370 + /// + MirroredRepeatArb = ((int)0x8370) , + } + + /// + /// Not used directly. + /// + public enum ArbTextureMultisample : int + { + /// + /// Original was GL_SAMPLE_POSITION = 0x8E50 + /// + SamplePosition = ((int)0x8E50) , + /// + /// Original was GL_SAMPLE_MASK = 0x8E51 + /// + SampleMask = ((int)0x8E51) , + /// + /// Original was GL_SAMPLE_MASK_VALUE = 0x8E52 + /// + SampleMaskValue = ((int)0x8E52) , + /// + /// Original was GL_MAX_SAMPLE_MASK_WORDS = 0x8E59 + /// + MaxSampleMaskWords = ((int)0x8E59) , + /// + /// Original was GL_TEXTURE_2D_MULTISAMPLE = 0x9100 + /// + Texture2DMultisample = ((int)0x9100) , + /// + /// Original was GL_PROXY_TEXTURE_2D_MULTISAMPLE = 0x9101 + /// + ProxyTexture2DMultisample = ((int)0x9101) , + /// + /// Original was GL_TEXTURE_2D_MULTISAMPLE_ARRAY = 0x9102 + /// + Texture2DMultisampleArray = ((int)0x9102) , + /// + /// Original was GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY = 0x9103 + /// + ProxyTexture2DMultisampleArray = ((int)0x9103) , + /// + /// Original was GL_TEXTURE_BINDING_2D_MULTISAMPLE = 0x9104 + /// + TextureBinding2DMultisample = ((int)0x9104) , + /// + /// Original was GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY = 0x9105 + /// + TextureBinding2DMultisampleArray = ((int)0x9105) , + /// + /// Original was GL_TEXTURE_SAMPLES = 0x9106 + /// + TextureSamples = ((int)0x9106) , + /// + /// Original was GL_TEXTURE_FIXED_SAMPLE_LOCATIONS = 0x9107 + /// + TextureFixedSampleLocations = ((int)0x9107) , + /// + /// Original was GL_SAMPLER_2D_MULTISAMPLE = 0x9108 + /// + Sampler2DMultisample = ((int)0x9108) , + /// + /// Original was GL_INT_SAMPLER_2D_MULTISAMPLE = 0x9109 + /// + IntSampler2DMultisample = ((int)0x9109) , + /// + /// Original was GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE = 0x910A + /// + UnsignedIntSampler2DMultisample = ((int)0x910A) , + /// + /// Original was GL_SAMPLER_2D_MULTISAMPLE_ARRAY = 0x910B + /// + Sampler2DMultisampleArray = ((int)0x910B) , + /// + /// Original was GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY = 0x910C + /// + IntSampler2DMultisampleArray = ((int)0x910C) , + /// + /// Original was GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY = 0x910D + /// + UnsignedIntSampler2DMultisampleArray = ((int)0x910D) , + /// + /// Original was GL_MAX_COLOR_TEXTURE_SAMPLES = 0x910E + /// + MaxColorTextureSamples = ((int)0x910E) , + /// + /// Original was GL_MAX_DEPTH_TEXTURE_SAMPLES = 0x910F + /// + MaxDepthTextureSamples = ((int)0x910F) , + /// + /// Original was GL_MAX_INTEGER_SAMPLES = 0x9110 + /// + MaxIntegerSamples = ((int)0x9110) , + } + + /// + /// Not used directly. + /// + public enum ArbTextureNonPowerOfTwo : int + { + } + + /// + /// Not used directly. + /// + public enum ArbTextureQueryLod : int + { + } + + /// + /// Not used directly. + /// + public enum ArbTextureRectangle : int + { + /// + /// Original was GL_TEXTURE_RECTANGLE_ARB = 0x84F5 + /// + TextureRectangleArb = ((int)0x84F5) , + /// + /// Original was GL_TEXTURE_BINDING_RECTANGLE_ARB = 0x84F6 + /// + TextureBindingRectangleArb = ((int)0x84F6) , + /// + /// Original was GL_PROXY_TEXTURE_RECTANGLE_ARB = 0x84F7 + /// + ProxyTextureRectangleArb = ((int)0x84F7) , + /// + /// Original was GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB = 0x84F8 + /// + MaxRectangleTextureSizeArb = ((int)0x84F8) , + } + + /// + /// Not used directly. + /// + public enum ArbTextureRg : int + { + /// + /// Original was GL_RG = 0x8227 + /// + Rg = ((int)0x8227) , + /// + /// Original was GL_RG_INTEGER = 0x8228 + /// + RgInteger = ((int)0x8228) , + /// + /// Original was GL_R8 = 0x8229 + /// + R8 = ((int)0x8229) , + /// + /// Original was GL_R16 = 0x822A + /// + R16 = ((int)0x822A) , + /// + /// Original was GL_RG8 = 0x822B + /// + Rg8 = ((int)0x822B) , + /// + /// Original was GL_RG16 = 0x822C + /// + Rg16 = ((int)0x822C) , + /// + /// Original was GL_R16F = 0x822D + /// + R16f = ((int)0x822D) , + /// + /// Original was GL_R32F = 0x822E + /// + R32f = ((int)0x822E) , + /// + /// Original was GL_RG16F = 0x822F + /// + Rg16f = ((int)0x822F) , + /// + /// Original was GL_RG32F = 0x8230 + /// + Rg32f = ((int)0x8230) , + /// + /// Original was GL_R8I = 0x8231 + /// + R8i = ((int)0x8231) , + /// + /// Original was GL_R8UI = 0x8232 + /// + R8ui = ((int)0x8232) , + /// + /// Original was GL_R16I = 0x8233 + /// + R16i = ((int)0x8233) , + /// + /// Original was GL_R16UI = 0x8234 + /// + R16ui = ((int)0x8234) , + /// + /// Original was GL_R32I = 0x8235 + /// + R32i = ((int)0x8235) , + /// + /// Original was GL_R32UI = 0x8236 + /// + R32ui = ((int)0x8236) , + /// + /// Original was GL_RG8I = 0x8237 + /// + Rg8i = ((int)0x8237) , + /// + /// Original was GL_RG8UI = 0x8238 + /// + Rg8ui = ((int)0x8238) , + /// + /// Original was GL_RG16I = 0x8239 + /// + Rg16i = ((int)0x8239) , + /// + /// Original was GL_RG16UI = 0x823A + /// + Rg16ui = ((int)0x823A) , + /// + /// Original was GL_RG32I = 0x823B + /// + Rg32i = ((int)0x823B) , + /// + /// Original was GL_RG32UI = 0x823C + /// + Rg32ui = ((int)0x823C) , + } + + /// + /// Not used directly. + /// + public enum ArbTextureRgb10A2ui : int + { + /// + /// Original was GL_RGB10_A2UI = 0x906F + /// + Rgb10A2ui = ((int)0x906F) , + } + + /// + /// Not used directly. + /// + public enum ArbTextureSwizzle : int + { + /// + /// Original was GL_TEXTURE_SWIZZLE_R = 0x8E42 + /// + TextureSwizzleR = ((int)0x8E42) , + /// + /// Original was GL_TEXTURE_SWIZZLE_G = 0x8E43 + /// + TextureSwizzleG = ((int)0x8E43) , + /// + /// Original was GL_TEXTURE_SWIZZLE_B = 0x8E44 + /// + TextureSwizzleB = ((int)0x8E44) , + /// + /// Original was GL_TEXTURE_SWIZZLE_A = 0x8E45 + /// + TextureSwizzleA = ((int)0x8E45) , + /// + /// Original was GL_TEXTURE_SWIZZLE_RGBA = 0x8E46 + /// + TextureSwizzleRgba = ((int)0x8E46) , + } + + /// + /// Not used directly. + /// + public enum ArbTimerQuery : int + { + /// + /// Original was GL_TIME_ELAPSED = 0x88BF + /// + TimeElapsed = ((int)0x88BF) , + /// + /// Original was GL_TIMESTAMP = 0x8E28 + /// + Timestamp = ((int)0x8E28) , + } + + /// + /// Not used directly. + /// + public enum ArbTransformFeedback2 : int + { + /// + /// Original was GL_TRANSFORM_FEEDBACK = 0x8E22 + /// + TransformFeedback = ((int)0x8E22) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED = 0x8E23 + /// + TransformFeedbackBufferPaused = ((int)0x8E23) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE = 0x8E24 + /// + TransformFeedbackBufferActive = ((int)0x8E24) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_BINDING = 0x8E25 + /// + TransformFeedbackBinding = ((int)0x8E25) , + } + + /// + /// Not used directly. + /// + public enum ArbTransformFeedback3 : int + { + /// + /// Original was GL_MAX_TRANSFORM_FEEDBACK_BUFFERS = 0x8E70 + /// + MaxTransformFeedbackBuffers = ((int)0x8E70) , + /// + /// Original was GL_MAX_VERTEX_STREAMS = 0x8E71 + /// + MaxVertexStreams = ((int)0x8E71) , + } + + /// + /// Not used directly. + /// + public enum ArbTransposeMatrix : int + { + /// + /// Original was GL_TRANSPOSE_MODELVIEW_MATRIX_ARB = 0x84E3 + /// + TransposeModelviewMatrixArb = ((int)0x84E3) , + /// + /// Original was GL_TRANSPOSE_PROJECTION_MATRIX_ARB = 0x84E4 + /// + TransposeProjectionMatrixArb = ((int)0x84E4) , + /// + /// Original was GL_TRANSPOSE_TEXTURE_MATRIX_ARB = 0x84E5 + /// + TransposeTextureMatrixArb = ((int)0x84E5) , + /// + /// Original was GL_TRANSPOSE_COLOR_MATRIX_ARB = 0x84E6 + /// + TransposeColorMatrixArb = ((int)0x84E6) , + } + + /// + /// Not used directly. + /// + public enum ArbUniformBufferObject : int + { + /// + /// Original was GL_UNIFORM_BUFFER = 0x8A11 + /// + UniformBuffer = ((int)0x8A11) , + /// + /// Original was GL_UNIFORM_BUFFER_BINDING = 0x8A28 + /// + UniformBufferBinding = ((int)0x8A28) , + /// + /// Original was GL_UNIFORM_BUFFER_START = 0x8A29 + /// + UniformBufferStart = ((int)0x8A29) , + /// + /// Original was GL_UNIFORM_BUFFER_SIZE = 0x8A2A + /// + UniformBufferSize = ((int)0x8A2A) , + /// + /// Original was GL_MAX_VERTEX_UNIFORM_BLOCKS = 0x8A2B + /// + MaxVertexUniformBlocks = ((int)0x8A2B) , + /// + /// Original was GL_MAX_GEOMETRY_UNIFORM_BLOCKS = 0x8A2C + /// + MaxGeometryUniformBlocks = ((int)0x8A2C) , + /// + /// Original was GL_MAX_FRAGMENT_UNIFORM_BLOCKS = 0x8A2D + /// + MaxFragmentUniformBlocks = ((int)0x8A2D) , + /// + /// Original was GL_MAX_COMBINED_UNIFORM_BLOCKS = 0x8A2E + /// + MaxCombinedUniformBlocks = ((int)0x8A2E) , + /// + /// Original was GL_MAX_UNIFORM_BUFFER_BINDINGS = 0x8A2F + /// + MaxUniformBufferBindings = ((int)0x8A2F) , + /// + /// Original was GL_MAX_UNIFORM_BLOCK_SIZE = 0x8A30 + /// + MaxUniformBlockSize = ((int)0x8A30) , + /// + /// Original was GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS = 0x8A31 + /// + MaxCombinedVertexUniformComponents = ((int)0x8A31) , + /// + /// Original was GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS = 0x8A32 + /// + MaxCombinedGeometryUniformComponents = ((int)0x8A32) , + /// + /// Original was GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS = 0x8A33 + /// + MaxCombinedFragmentUniformComponents = ((int)0x8A33) , + /// + /// Original was GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT = 0x8A34 + /// + UniformBufferOffsetAlignment = ((int)0x8A34) , + /// + /// Original was GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH = 0x8A35 + /// + ActiveUniformBlockMaxNameLength = ((int)0x8A35) , + /// + /// Original was GL_ACTIVE_UNIFORM_BLOCKS = 0x8A36 + /// + ActiveUniformBlocks = ((int)0x8A36) , + /// + /// Original was GL_UNIFORM_TYPE = 0x8A37 + /// + UniformType = ((int)0x8A37) , + /// + /// Original was GL_UNIFORM_SIZE = 0x8A38 + /// + UniformSize = ((int)0x8A38) , + /// + /// Original was GL_UNIFORM_NAME_LENGTH = 0x8A39 + /// + UniformNameLength = ((int)0x8A39) , + /// + /// Original was GL_UNIFORM_BLOCK_INDEX = 0x8A3A + /// + UniformBlockIndex = ((int)0x8A3A) , + /// + /// Original was GL_UNIFORM_OFFSET = 0x8A3B + /// + UniformOffset = ((int)0x8A3B) , + /// + /// Original was GL_UNIFORM_ARRAY_STRIDE = 0x8A3C + /// + UniformArrayStride = ((int)0x8A3C) , + /// + /// Original was GL_UNIFORM_MATRIX_STRIDE = 0x8A3D + /// + UniformMatrixStride = ((int)0x8A3D) , + /// + /// Original was GL_UNIFORM_IS_ROW_MAJOR = 0x8A3E + /// + UniformIsRowMajor = ((int)0x8A3E) , + /// + /// Original was GL_UNIFORM_BLOCK_BINDING = 0x8A3F + /// + UniformBlockBinding = ((int)0x8A3F) , + /// + /// Original was GL_UNIFORM_BLOCK_DATA_SIZE = 0x8A40 + /// + UniformBlockDataSize = ((int)0x8A40) , + /// + /// Original was GL_UNIFORM_BLOCK_NAME_LENGTH = 0x8A41 + /// + UniformBlockNameLength = ((int)0x8A41) , + /// + /// Original was GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS = 0x8A42 + /// + UniformBlockActiveUniforms = ((int)0x8A42) , + /// + /// Original was GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES = 0x8A43 + /// + UniformBlockActiveUniformIndices = ((int)0x8A43) , + /// + /// Original was GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER = 0x8A44 + /// + UniformBlockReferencedByVertexShader = ((int)0x8A44) , + /// + /// Original was GL_UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER = 0x8A45 + /// + UniformBlockReferencedByGeometryShader = ((int)0x8A45) , + /// + /// Original was GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER = 0x8A46 + /// + UniformBlockReferencedByFragmentShader = ((int)0x8A46) , + /// + /// Original was GL_INVALID_INDEX = 0xFFFFFFFF + /// + InvalidIndex = unchecked((int)0xFFFFFFFF) , + } + + /// + /// Not used directly. + /// + public enum ArbVertexArrayBgra : int + { + /// + /// Original was GL_BGRA = 0x80E1 + /// + Bgra = ((int)0x80E1) , + } + + /// + /// Not used directly. + /// + public enum ArbVertexArrayObject : int + { + /// + /// Original was GL_VERTEX_ARRAY_BINDING = 0x85B5 + /// + VertexArrayBinding = ((int)0x85B5) , + } + + /// + /// Not used directly. + /// + public enum ArbVertexAttrib64bit : int + { + /// + /// Original was GL_RGB32I = 0x8D83 + /// + Rgb32i = ((int)0x8D83) , + /// + /// Original was GL_DOUBLE_MAT2 = 0x8F46 + /// + DoubleMat2 = ((int)0x8F46) , + /// + /// Original was GL_DOUBLE_MAT3 = 0x8F47 + /// + DoubleMat3 = ((int)0x8F47) , + /// + /// Original was GL_DOUBLE_MAT4 = 0x8F48 + /// + DoubleMat4 = ((int)0x8F48) , + /// + /// Original was GL_DOUBLE_MAT2x3 = 0x8F49 + /// + DoubleMat2x3 = ((int)0x8F49) , + /// + /// Original was GL_DOUBLE_MAT2x4 = 0x8F4A + /// + DoubleMat2x4 = ((int)0x8F4A) , + /// + /// Original was GL_DOUBLE_MAT3x2 = 0x8F4B + /// + DoubleMat3x2 = ((int)0x8F4B) , + /// + /// Original was GL_DOUBLE_MAT3x4 = 0x8F4C + /// + DoubleMat3x4 = ((int)0x8F4C) , + /// + /// Original was GL_DOUBLE_MAT4x2 = 0x8F4D + /// + DoubleMat4x2 = ((int)0x8F4D) , + /// + /// Original was GL_DOUBLE_MAT4x3 = 0x8F4E + /// + DoubleMat4x3 = ((int)0x8F4E) , + /// + /// Original was GL_DOUBLE_VEC2 = 0x8FFC + /// + DoubleVec2 = ((int)0x8FFC) , + /// + /// Original was GL_DOUBLE_VEC3 = 0x8FFD + /// + DoubleVec3 = ((int)0x8FFD) , + /// + /// Original was GL_DOUBLE_VEC4 = 0x8FFE + /// + DoubleVec4 = ((int)0x8FFE) , + } + + /// + /// Used in GL.Arb.WeightPointer + /// + public enum ArbVertexBlend : int + { + /// + /// Original was GL_MODELVIEW0_ARB = 0x1700 + /// + Modelview0Arb = ((int)0x1700) , + /// + /// Original was GL_MODELVIEW1_ARB = 0x850A + /// + Modelview1Arb = ((int)0x850A) , + /// + /// Original was GL_MAX_VERTEX_UNITS_ARB = 0x86A4 + /// + MaxVertexUnitsArb = ((int)0x86A4) , + /// + /// Original was GL_ACTIVE_VERTEX_UNITS_ARB = 0x86A5 + /// + ActiveVertexUnitsArb = ((int)0x86A5) , + /// + /// Original was GL_WEIGHT_SUM_UNITY_ARB = 0x86A6 + /// + WeightSumUnityArb = ((int)0x86A6) , + /// + /// Original was GL_VERTEX_BLEND_ARB = 0x86A7 + /// + VertexBlendArb = ((int)0x86A7) , + /// + /// Original was GL_CURRENT_WEIGHT_ARB = 0x86A8 + /// + CurrentWeightArb = ((int)0x86A8) , + /// + /// Original was GL_WEIGHT_ARRAY_TYPE_ARB = 0x86A9 + /// + WeightArrayTypeArb = ((int)0x86A9) , + /// + /// Original was GL_WEIGHT_ARRAY_STRIDE_ARB = 0x86AA + /// + WeightArrayStrideArb = ((int)0x86AA) , + /// + /// Original was GL_WEIGHT_ARRAY_SIZE_ARB = 0x86AB + /// + WeightArraySizeArb = ((int)0x86AB) , + /// + /// Original was GL_WEIGHT_ARRAY_POINTER_ARB = 0x86AC + /// + WeightArrayPointerArb = ((int)0x86AC) , + /// + /// Original was GL_WEIGHT_ARRAY_ARB = 0x86AD + /// + WeightArrayArb = ((int)0x86AD) , + /// + /// Original was GL_MODELVIEW2_ARB = 0x8722 + /// + Modelview2Arb = ((int)0x8722) , + /// + /// Original was GL_MODELVIEW3_ARB = 0x8723 + /// + Modelview3Arb = ((int)0x8723) , + /// + /// Original was GL_MODELVIEW4_ARB = 0x8724 + /// + Modelview4Arb = ((int)0x8724) , + /// + /// Original was GL_MODELVIEW5_ARB = 0x8725 + /// + Modelview5Arb = ((int)0x8725) , + /// + /// Original was GL_MODELVIEW6_ARB = 0x8726 + /// + Modelview6Arb = ((int)0x8726) , + /// + /// Original was GL_MODELVIEW7_ARB = 0x8727 + /// + Modelview7Arb = ((int)0x8727) , + /// + /// Original was GL_MODELVIEW8_ARB = 0x8728 + /// + Modelview8Arb = ((int)0x8728) , + /// + /// Original was GL_MODELVIEW9_ARB = 0x8729 + /// + Modelview9Arb = ((int)0x8729) , + /// + /// Original was GL_MODELVIEW10_ARB = 0x872A + /// + Modelview10Arb = ((int)0x872A) , + /// + /// Original was GL_MODELVIEW11_ARB = 0x872B + /// + Modelview11Arb = ((int)0x872B) , + /// + /// Original was GL_MODELVIEW12_ARB = 0x872C + /// + Modelview12Arb = ((int)0x872C) , + /// + /// Original was GL_MODELVIEW13_ARB = 0x872D + /// + Modelview13Arb = ((int)0x872D) , + /// + /// Original was GL_MODELVIEW14_ARB = 0x872E + /// + Modelview14Arb = ((int)0x872E) , + /// + /// Original was GL_MODELVIEW15_ARB = 0x872F + /// + Modelview15Arb = ((int)0x872F) , + /// + /// Original was GL_MODELVIEW16_ARB = 0x8730 + /// + Modelview16Arb = ((int)0x8730) , + /// + /// Original was GL_MODELVIEW17_ARB = 0x8731 + /// + Modelview17Arb = ((int)0x8731) , + /// + /// Original was GL_MODELVIEW18_ARB = 0x8732 + /// + Modelview18Arb = ((int)0x8732) , + /// + /// Original was GL_MODELVIEW19_ARB = 0x8733 + /// + Modelview19Arb = ((int)0x8733) , + /// + /// Original was GL_MODELVIEW20_ARB = 0x8734 + /// + Modelview20Arb = ((int)0x8734) , + /// + /// Original was GL_MODELVIEW21_ARB = 0x8735 + /// + Modelview21Arb = ((int)0x8735) , + /// + /// Original was GL_MODELVIEW22_ARB = 0x8736 + /// + Modelview22Arb = ((int)0x8736) , + /// + /// Original was GL_MODELVIEW23_ARB = 0x8737 + /// + Modelview23Arb = ((int)0x8737) , + /// + /// Original was GL_MODELVIEW24_ARB = 0x8738 + /// + Modelview24Arb = ((int)0x8738) , + /// + /// Original was GL_MODELVIEW25_ARB = 0x8739 + /// + Modelview25Arb = ((int)0x8739) , + /// + /// Original was GL_MODELVIEW26_ARB = 0x873A + /// + Modelview26Arb = ((int)0x873A) , + /// + /// Original was GL_MODELVIEW27_ARB = 0x873B + /// + Modelview27Arb = ((int)0x873B) , + /// + /// Original was GL_MODELVIEW28_ARB = 0x873C + /// + Modelview28Arb = ((int)0x873C) , + /// + /// Original was GL_MODELVIEW29_ARB = 0x873D + /// + Modelview29Arb = ((int)0x873D) , + /// + /// Original was GL_MODELVIEW30_ARB = 0x873E + /// + Modelview30Arb = ((int)0x873E) , + /// + /// Original was GL_MODELVIEW31_ARB = 0x873F + /// + Modelview31Arb = ((int)0x873F) , + } + + /// + /// Used in GL.Arb.GetBufferParameter, GL.Arb.GetBufferPointer, GL.Arb.MapBuffer + /// + public enum ArbVertexBufferObject : int + { + /// + /// Original was GL_BUFFER_SIZE_ARB = 0x8764 + /// + BufferSizeArb = ((int)0x8764) , + /// + /// Original was GL_BUFFER_USAGE_ARB = 0x8765 + /// + BufferUsageArb = ((int)0x8765) , + /// + /// Original was GL_ARRAY_BUFFER_ARB = 0x8892 + /// + ArrayBufferArb = ((int)0x8892) , + /// + /// Original was GL_ELEMENT_ARRAY_BUFFER_ARB = 0x8893 + /// + ElementArrayBufferArb = ((int)0x8893) , + /// + /// Original was GL_ARRAY_BUFFER_BINDING_ARB = 0x8894 + /// + ArrayBufferBindingArb = ((int)0x8894) , + /// + /// Original was GL_ELEMENT_ARRAY_BUFFER_BINDING_ARB = 0x8895 + /// + ElementArrayBufferBindingArb = ((int)0x8895) , + /// + /// Original was GL_VERTEX_ARRAY_BUFFER_BINDING_ARB = 0x8896 + /// + VertexArrayBufferBindingArb = ((int)0x8896) , + /// + /// Original was GL_NORMAL_ARRAY_BUFFER_BINDING_ARB = 0x8897 + /// + NormalArrayBufferBindingArb = ((int)0x8897) , + /// + /// Original was GL_COLOR_ARRAY_BUFFER_BINDING_ARB = 0x8898 + /// + ColorArrayBufferBindingArb = ((int)0x8898) , + /// + /// Original was GL_INDEX_ARRAY_BUFFER_BINDING_ARB = 0x8899 + /// + IndexArrayBufferBindingArb = ((int)0x8899) , + /// + /// Original was GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING_ARB = 0x889A + /// + TextureCoordArrayBufferBindingArb = ((int)0x889A) , + /// + /// Original was GL_EDGE_FLAG_ARRAY_BUFFER_BINDING_ARB = 0x889B + /// + EdgeFlagArrayBufferBindingArb = ((int)0x889B) , + /// + /// Original was GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING_ARB = 0x889C + /// + SecondaryColorArrayBufferBindingArb = ((int)0x889C) , + /// + /// Original was GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING_ARB = 0x889D + /// + FogCoordinateArrayBufferBindingArb = ((int)0x889D) , + /// + /// Original was GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB = 0x889E + /// + WeightArrayBufferBindingArb = ((int)0x889E) , + /// + /// Original was GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB = 0x889F + /// + VertexAttribArrayBufferBindingArb = ((int)0x889F) , + /// + /// Original was GL_READ_ONLY_ARB = 0x88B8 + /// + ReadOnlyArb = ((int)0x88B8) , + /// + /// Original was GL_WRITE_ONLY_ARB = 0x88B9 + /// + WriteOnlyArb = ((int)0x88B9) , + /// + /// Original was GL_READ_WRITE_ARB = 0x88BA + /// + ReadWriteArb = ((int)0x88BA) , + /// + /// Original was GL_BUFFER_ACCESS_ARB = 0x88BB + /// + BufferAccessArb = ((int)0x88BB) , + /// + /// Original was GL_BUFFER_MAPPED_ARB = 0x88BC + /// + BufferMappedArb = ((int)0x88BC) , + /// + /// Original was GL_BUFFER_MAP_POINTER_ARB = 0x88BD + /// + BufferMapPointerArb = ((int)0x88BD) , + /// + /// Original was GL_STREAM_DRAW_ARB = 0x88E0 + /// + StreamDrawArb = ((int)0x88E0) , + /// + /// Original was GL_STREAM_READ_ARB = 0x88E1 + /// + StreamReadArb = ((int)0x88E1) , + /// + /// Original was GL_STREAM_COPY_ARB = 0x88E2 + /// + StreamCopyArb = ((int)0x88E2) , + /// + /// Original was GL_STATIC_DRAW_ARB = 0x88E4 + /// + StaticDrawArb = ((int)0x88E4) , + /// + /// Original was GL_STATIC_READ_ARB = 0x88E5 + /// + StaticReadArb = ((int)0x88E5) , + /// + /// Original was GL_STATIC_COPY_ARB = 0x88E6 + /// + StaticCopyArb = ((int)0x88E6) , + /// + /// Original was GL_DYNAMIC_DRAW_ARB = 0x88E8 + /// + DynamicDrawArb = ((int)0x88E8) , + /// + /// Original was GL_DYNAMIC_READ_ARB = 0x88E9 + /// + DynamicReadArb = ((int)0x88E9) , + /// + /// Original was GL_DYNAMIC_COPY_ARB = 0x88EA + /// + DynamicCopyArb = ((int)0x88EA) , + } + + /// + /// Used in GL.Arb.GetProgramEnvParameter, GL.Arb.GetProgramLocalParameter, GL.Arb.ProgramString + /// + public enum ArbVertexProgram : int + { + /// + /// Original was GL_COLOR_SUM_ARB = 0x8458 + /// + ColorSumArb = ((int)0x8458) , + /// + /// Original was GL_VERTEX_PROGRAM_ARB = 0x8620 + /// + VertexProgramArb = ((int)0x8620) , + /// + /// Original was GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB = 0x8622 + /// + VertexAttribArrayEnabledArb = ((int)0x8622) , + /// + /// Original was GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB = 0x8623 + /// + VertexAttribArraySizeArb = ((int)0x8623) , + /// + /// Original was GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB = 0x8624 + /// + VertexAttribArrayStrideArb = ((int)0x8624) , + /// + /// Original was GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB = 0x8625 + /// + VertexAttribArrayTypeArb = ((int)0x8625) , + /// + /// Original was GL_CURRENT_VERTEX_ATTRIB_ARB = 0x8626 + /// + CurrentVertexAttribArb = ((int)0x8626) , + /// + /// Original was GL_PROGRAM_LENGTH_ARB = 0x8627 + /// + ProgramLengthArb = ((int)0x8627) , + /// + /// Original was GL_PROGRAM_STRING_ARB = 0x8628 + /// + ProgramStringArb = ((int)0x8628) , + /// + /// Original was GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB = 0x862E + /// + MaxProgramMatrixStackDepthArb = ((int)0x862E) , + /// + /// Original was GL_MAX_PROGRAM_MATRICES_ARB = 0x862F + /// + MaxProgramMatricesArb = ((int)0x862F) , + /// + /// Original was GL_CURRENT_MATRIX_STACK_DEPTH_ARB = 0x8640 + /// + CurrentMatrixStackDepthArb = ((int)0x8640) , + /// + /// Original was GL_CURRENT_MATRIX_ARB = 0x8641 + /// + CurrentMatrixArb = ((int)0x8641) , + /// + /// Original was GL_VERTEX_PROGRAM_POINT_SIZE_ARB = 0x8642 + /// + VertexProgramPointSizeArb = ((int)0x8642) , + /// + /// Original was GL_VERTEX_PROGRAM_TWO_SIDE_ARB = 0x8643 + /// + VertexProgramTwoSideArb = ((int)0x8643) , + /// + /// Original was GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB = 0x8645 + /// + VertexAttribArrayPointerArb = ((int)0x8645) , + /// + /// Original was GL_PROGRAM_ERROR_POSITION_ARB = 0x864B + /// + ProgramErrorPositionArb = ((int)0x864B) , + /// + /// Original was GL_PROGRAM_BINDING_ARB = 0x8677 + /// + ProgramBindingArb = ((int)0x8677) , + /// + /// Original was GL_MAX_VERTEX_ATTRIBS_ARB = 0x8869 + /// + MaxVertexAttribsArb = ((int)0x8869) , + /// + /// Original was GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB = 0x886A + /// + VertexAttribArrayNormalizedArb = ((int)0x886A) , + /// + /// Original was GL_PROGRAM_ERROR_STRING_ARB = 0x8874 + /// + ProgramErrorStringArb = ((int)0x8874) , + /// + /// Original was GL_PROGRAM_FORMAT_ASCII_ARB = 0x8875 + /// + ProgramFormatAsciiArb = ((int)0x8875) , + /// + /// Original was GL_PROGRAM_FORMAT_ARB = 0x8876 + /// + ProgramFormatArb = ((int)0x8876) , + /// + /// Original was GL_PROGRAM_INSTRUCTIONS_ARB = 0x88A0 + /// + ProgramInstructionsArb = ((int)0x88A0) , + /// + /// Original was GL_MAX_PROGRAM_INSTRUCTIONS_ARB = 0x88A1 + /// + MaxProgramInstructionsArb = ((int)0x88A1) , + /// + /// Original was GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB = 0x88A2 + /// + ProgramNativeInstructionsArb = ((int)0x88A2) , + /// + /// Original was GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB = 0x88A3 + /// + MaxProgramNativeInstructionsArb = ((int)0x88A3) , + /// + /// Original was GL_PROGRAM_TEMPORARIES_ARB = 0x88A4 + /// + ProgramTemporariesArb = ((int)0x88A4) , + /// + /// Original was GL_MAX_PROGRAM_TEMPORARIES_ARB = 0x88A5 + /// + MaxProgramTemporariesArb = ((int)0x88A5) , + /// + /// Original was GL_PROGRAM_NATIVE_TEMPORARIES_ARB = 0x88A6 + /// + ProgramNativeTemporariesArb = ((int)0x88A6) , + /// + /// Original was GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB = 0x88A7 + /// + MaxProgramNativeTemporariesArb = ((int)0x88A7) , + /// + /// Original was GL_PROGRAM_PARAMETERS_ARB = 0x88A8 + /// + ProgramParametersArb = ((int)0x88A8) , + /// + /// Original was GL_MAX_PROGRAM_PARAMETERS_ARB = 0x88A9 + /// + MaxProgramParametersArb = ((int)0x88A9) , + /// + /// Original was GL_PROGRAM_NATIVE_PARAMETERS_ARB = 0x88AA + /// + ProgramNativeParametersArb = ((int)0x88AA) , + /// + /// Original was GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB = 0x88AB + /// + MaxProgramNativeParametersArb = ((int)0x88AB) , + /// + /// Original was GL_PROGRAM_ATTRIBS_ARB = 0x88AC + /// + ProgramAttribsArb = ((int)0x88AC) , + /// + /// Original was GL_MAX_PROGRAM_ATTRIBS_ARB = 0x88AD + /// + MaxProgramAttribsArb = ((int)0x88AD) , + /// + /// Original was GL_PROGRAM_NATIVE_ATTRIBS_ARB = 0x88AE + /// + ProgramNativeAttribsArb = ((int)0x88AE) , + /// + /// Original was GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB = 0x88AF + /// + MaxProgramNativeAttribsArb = ((int)0x88AF) , + /// + /// Original was GL_PROGRAM_ADDRESS_REGISTERS_ARB = 0x88B0 + /// + ProgramAddressRegistersArb = ((int)0x88B0) , + /// + /// Original was GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB = 0x88B1 + /// + MaxProgramAddressRegistersArb = ((int)0x88B1) , + /// + /// Original was GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB = 0x88B2 + /// + ProgramNativeAddressRegistersArb = ((int)0x88B2) , + /// + /// Original was GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB = 0x88B3 + /// + MaxProgramNativeAddressRegistersArb = ((int)0x88B3) , + /// + /// Original was GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB = 0x88B4 + /// + MaxProgramLocalParametersArb = ((int)0x88B4) , + /// + /// Original was GL_MAX_PROGRAM_ENV_PARAMETERS_ARB = 0x88B5 + /// + MaxProgramEnvParametersArb = ((int)0x88B5) , + /// + /// Original was GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB = 0x88B6 + /// + ProgramUnderNativeLimitsArb = ((int)0x88B6) , + /// + /// Original was GL_TRANSPOSE_CURRENT_MATRIX_ARB = 0x88B7 + /// + TransposeCurrentMatrixArb = ((int)0x88B7) , + /// + /// Original was GL_MATRIX0_ARB = 0x88C0 + /// + Matrix0Arb = ((int)0x88C0) , + /// + /// Original was GL_MATRIX1_ARB = 0x88C1 + /// + Matrix1Arb = ((int)0x88C1) , + /// + /// Original was GL_MATRIX2_ARB = 0x88C2 + /// + Matrix2Arb = ((int)0x88C2) , + /// + /// Original was GL_MATRIX3_ARB = 0x88C3 + /// + Matrix3Arb = ((int)0x88C3) , + /// + /// Original was GL_MATRIX4_ARB = 0x88C4 + /// + Matrix4Arb = ((int)0x88C4) , + /// + /// Original was GL_MATRIX5_ARB = 0x88C5 + /// + Matrix5Arb = ((int)0x88C5) , + /// + /// Original was GL_MATRIX6_ARB = 0x88C6 + /// + Matrix6Arb = ((int)0x88C6) , + /// + /// Original was GL_MATRIX7_ARB = 0x88C7 + /// + Matrix7Arb = ((int)0x88C7) , + /// + /// Original was GL_MATRIX8_ARB = 0x88C8 + /// + Matrix8Arb = ((int)0x88C8) , + /// + /// Original was GL_MATRIX9_ARB = 0x88C9 + /// + Matrix9Arb = ((int)0x88C9) , + /// + /// Original was GL_MATRIX10_ARB = 0x88CA + /// + Matrix10Arb = ((int)0x88CA) , + /// + /// Original was GL_MATRIX11_ARB = 0x88CB + /// + Matrix11Arb = ((int)0x88CB) , + /// + /// Original was GL_MATRIX12_ARB = 0x88CC + /// + Matrix12Arb = ((int)0x88CC) , + /// + /// Original was GL_MATRIX13_ARB = 0x88CD + /// + Matrix13Arb = ((int)0x88CD) , + /// + /// Original was GL_MATRIX14_ARB = 0x88CE + /// + Matrix14Arb = ((int)0x88CE) , + /// + /// Original was GL_MATRIX15_ARB = 0x88CF + /// + Matrix15Arb = ((int)0x88CF) , + /// + /// Original was GL_MATRIX16_ARB = 0x88D0 + /// + Matrix16Arb = ((int)0x88D0) , + /// + /// Original was GL_MATRIX17_ARB = 0x88D1 + /// + Matrix17Arb = ((int)0x88D1) , + /// + /// Original was GL_MATRIX18_ARB = 0x88D2 + /// + Matrix18Arb = ((int)0x88D2) , + /// + /// Original was GL_MATRIX19_ARB = 0x88D3 + /// + Matrix19Arb = ((int)0x88D3) , + /// + /// Original was GL_MATRIX20_ARB = 0x88D4 + /// + Matrix20Arb = ((int)0x88D4) , + /// + /// Original was GL_MATRIX21_ARB = 0x88D5 + /// + Matrix21Arb = ((int)0x88D5) , + /// + /// Original was GL_MATRIX22_ARB = 0x88D6 + /// + Matrix22Arb = ((int)0x88D6) , + /// + /// Original was GL_MATRIX23_ARB = 0x88D7 + /// + Matrix23Arb = ((int)0x88D7) , + /// + /// Original was GL_MATRIX24_ARB = 0x88D8 + /// + Matrix24Arb = ((int)0x88D8) , + /// + /// Original was GL_MATRIX25_ARB = 0x88D9 + /// + Matrix25Arb = ((int)0x88D9) , + /// + /// Original was GL_MATRIX26_ARB = 0x88DA + /// + Matrix26Arb = ((int)0x88DA) , + /// + /// Original was GL_MATRIX27_ARB = 0x88DB + /// + Matrix27Arb = ((int)0x88DB) , + /// + /// Original was GL_MATRIX28_ARB = 0x88DC + /// + Matrix28Arb = ((int)0x88DC) , + /// + /// Original was GL_MATRIX29_ARB = 0x88DD + /// + Matrix29Arb = ((int)0x88DD) , + /// + /// Original was GL_MATRIX30_ARB = 0x88DE + /// + Matrix30Arb = ((int)0x88DE) , + /// + /// Original was GL_MATRIX31_ARB = 0x88DF + /// + Matrix31Arb = ((int)0x88DF) , + } + + /// + /// Used in GL.Arb.GetActiveAttrib + /// + public enum ArbVertexShader : int + { + /// + /// Original was GL_VERTEX_SHADER_ARB = 0x8B31 + /// + VertexShaderArb = ((int)0x8B31) , + /// + /// Original was GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB = 0x8B4A + /// + MaxVertexUniformComponentsArb = ((int)0x8B4A) , + /// + /// Original was GL_MAX_VARYING_FLOATS_ARB = 0x8B4B + /// + MaxVaryingFloatsArb = ((int)0x8B4B) , + /// + /// Original was GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB = 0x8B4C + /// + MaxVertexTextureImageUnitsArb = ((int)0x8B4C) , + /// + /// Original was GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB = 0x8B4D + /// + MaxCombinedTextureImageUnitsArb = ((int)0x8B4D) , + /// + /// Original was GL_OBJECT_ACTIVE_ATTRIBUTES_ARB = 0x8B89 + /// + ObjectActiveAttributesArb = ((int)0x8B89) , + /// + /// Original was GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB = 0x8B8A + /// + ObjectActiveAttributeMaxLengthArb = ((int)0x8B8A) , + } + + /// + /// Not used directly. + /// + public enum ArbVertexType2101010Rev : int + { + /// + /// Original was GL_UNSIGNED_INT_2_10_10_10_REV = 0x8368 + /// + UnsignedInt2101010Rev = ((int)0x8368) , + /// + /// Original was GL_INT_2_10_10_10_REV = 0x8D9F + /// + Int2101010Rev = ((int)0x8D9F) , + } + + /// + /// Not used directly. + /// + public enum ArbViewportArray : int + { + /// + /// Original was GL_DEPTH_RANGE = 0x0B70 + /// + DepthRange = ((int)0x0B70) , + /// + /// Original was GL_VIEWPORT = 0x0BA2 + /// + Viewport = ((int)0x0BA2) , + /// + /// Original was GL_SCISSOR_BOX = 0x0C10 + /// + ScissorBox = ((int)0x0C10) , + /// + /// Original was GL_SCISSOR_TEST = 0x0C11 + /// + ScissorTest = ((int)0x0C11) , + /// + /// Original was GL_MAX_VIEWPORTS = 0x825B + /// + MaxViewports = ((int)0x825B) , + /// + /// Original was GL_VIEWPORT_SUBPIXEL_BITS = 0x825C + /// + ViewportSubpixelBits = ((int)0x825C) , + /// + /// Original was GL_VIEWPORT_BOUNDS_RANGE = 0x825D + /// + ViewportBoundsRange = ((int)0x825D) , + /// + /// Original was GL_LAYER_PROVOKING_VERTEX = 0x825E + /// + LayerProvokingVertex = ((int)0x825E) , + /// + /// Original was GL_VIEWPORT_INDEX_PROVOKING_VERTEX = 0x825F + /// + ViewportIndexProvokingVertex = ((int)0x825F) , + /// + /// Original was GL_UNDEFINED_VERTEX = 0x8260 + /// + UndefinedVertex = ((int)0x8260) , + /// + /// Original was GL_FIRST_VERTEX_CONVENTION = 0x8E4D + /// + FirstVertexConvention = ((int)0x8E4D) , + /// + /// Original was GL_LAST_VERTEX_CONVENTION = 0x8E4E + /// + LastVertexConvention = ((int)0x8E4E) , + /// + /// Original was GL_PROVOKING_VERTEX = 0x8E4F + /// + ProvokingVertex = ((int)0x8E4F) , + } + + /// + /// Not used directly. + /// + public enum ArbWindowPos : int + { + } + + /// + /// Not used directly. + /// + public enum ArmMaliShaderBinary : int + { + /// + /// Original was GL_MALI_SHADER_BINARY_ARM = 0x8F60 + /// + MaliShaderBinaryArm = ((int)0x8F60) , + } + + /// + /// Used in GL.DisableClientState, GL.EnableClientState + /// + public enum ArrayCap : int + { + /// + /// Original was GL_VERTEX_ARRAY = 0x8074 + /// + VertexArray = ((int)0x8074) , + /// + /// Original was GL_NORMAL_ARRAY = 0x8075 + /// + NormalArray = ((int)0x8075) , + /// + /// Original was GL_COLOR_ARRAY = 0x8076 + /// + ColorArray = ((int)0x8076) , + /// + /// Original was GL_INDEX_ARRAY = 0x8077 + /// + IndexArray = ((int)0x8077) , + /// + /// Original was GL_TEXTURE_COORD_ARRAY = 0x8078 + /// + TextureCoordArray = ((int)0x8078) , + /// + /// Original was GL_EDGE_FLAG_ARRAY = 0x8079 + /// + EdgeFlagArray = ((int)0x8079) , + /// + /// Original was GL_FOG_COORD_ARRAY = 0x8457 + /// + FogCoordArray = ((int)0x8457) , + /// + /// Original was GL_SECONDARY_COLOR_ARRAY = 0x845E + /// + SecondaryColorArray = ((int)0x845E) , + } + + /// + /// Not used directly. + /// + public enum AssemblyProgramFormatArb : int + { + /// + /// Original was GL_PROGRAM_FORMAT_ASCII_ARB = 0x8875 + /// + ProgramFormatAsciiArb = ((int)0x8875) , + } + + /// + /// Used in GL.Arb.GetProgram, GL.Arb.GetProgramString, GL.Arb.ProgramParameter, GL.ProgramParameter, GL.Ext.ProgramParameter, GL.NV.GetProgramParameter, GL.NV.GetTrackMatrix + /// + public enum AssemblyProgramParameterArb : int + { + /// + /// Original was GL_PROGRAM_BINARY_RETRIEVABLE_HINT = 0x8257 + /// + ProgramBinaryRetrievableHint = ((int)0x8257) , + /// + /// Original was GL_PROGRAM_SEPARABLE = 0x8258 + /// + ProgramSeparable = ((int)0x8258) , + /// + /// Original was GL_PROGRAM_LENGTH = 0x8627 + /// + ProgramLength = ((int)0x8627) , + /// + /// Original was GL_PROGRAM_BINDING = 0x8677 + /// + ProgramBinding = ((int)0x8677) , + /// + /// Original was GL_PROGRAM_ALU_INSTRUCTIONS_ARB = 0x8805 + /// + ProgramAluInstructionsArb = ((int)0x8805) , + /// + /// Original was GL_PROGRAM_TEX_INSTRUCTIONS_ARB = 0x8806 + /// + ProgramTexInstructionsArb = ((int)0x8806) , + /// + /// Original was GL_PROGRAM_TEX_INDIRECTIONS_ARB = 0x8807 + /// + ProgramTexIndirectionsArb = ((int)0x8807) , + /// + /// Original was GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB = 0x8808 + /// + ProgramNativeAluInstructionsArb = ((int)0x8808) , + /// + /// Original was GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB = 0x8809 + /// + ProgramNativeTexInstructionsArb = ((int)0x8809) , + /// + /// Original was GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB = 0x880A + /// + ProgramNativeTexIndirectionsArb = ((int)0x880A) , + /// + /// Original was GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB = 0x880B + /// + MaxProgramAluInstructionsArb = ((int)0x880B) , + /// + /// Original was GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB = 0x880C + /// + MaxProgramTexInstructionsArb = ((int)0x880C) , + /// + /// Original was GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB = 0x880D + /// + MaxProgramTexIndirectionsArb = ((int)0x880D) , + /// + /// Original was GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB = 0x880E + /// + MaxProgramNativeAluInstructionsArb = ((int)0x880E) , + /// + /// Original was GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB = 0x880F + /// + MaxProgramNativeTexInstructionsArb = ((int)0x880F) , + /// + /// Original was GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB = 0x8810 + /// + MaxProgramNativeTexIndirectionsArb = ((int)0x8810) , + /// + /// Original was GL_PROGRAM_FORMAT = 0x8876 + /// + ProgramFormat = ((int)0x8876) , + /// + /// Original was GL_PROGRAM_INSTRUCTION = 0x88A0 + /// + ProgramInstruction = ((int)0x88A0) , + /// + /// Original was GL_MAX_PROGRAM_INSTRUCTIONS = 0x88A1 + /// + MaxProgramInstructions = ((int)0x88A1) , + /// + /// Original was GL_PROGRAM_NATIVE_INSTRUCTIONS = 0x88A2 + /// + ProgramNativeInstructions = ((int)0x88A2) , + /// + /// Original was GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS = 0x88A3 + /// + MaxProgramNativeInstructions = ((int)0x88A3) , + /// + /// Original was GL_PROGRAM_TEMPORARIES = 0x88A4 + /// + ProgramTemporaries = ((int)0x88A4) , + /// + /// Original was GL_MAX_PROGRAM_TEMPORARIES = 0x88A5 + /// + MaxProgramTemporaries = ((int)0x88A5) , + /// + /// Original was GL_PROGRAM_NATIVE_TEMPORARIES = 0x88A6 + /// + ProgramNativeTemporaries = ((int)0x88A6) , + /// + /// Original was GL_MAX_PROGRAM_NATIVE_TEMPORARIES = 0x88A7 + /// + MaxProgramNativeTemporaries = ((int)0x88A7) , + /// + /// Original was GL_PROGRAM_PARAMETERS = 0x88A8 + /// + ProgramParameters = ((int)0x88A8) , + /// + /// Original was GL_MAX_PROGRAM_PARAMETERS = 0x88A9 + /// + MaxProgramParameters = ((int)0x88A9) , + /// + /// Original was GL_PROGRAM_NATIVE_PARAMETERS = 0x88AA + /// + ProgramNativeParameters = ((int)0x88AA) , + /// + /// Original was GL_MAX_PROGRAM_NATIVE_PARAMETERS = 0x88AB + /// + MaxProgramNativeParameters = ((int)0x88AB) , + /// + /// Original was GL_PROGRAM_ATTRIBS = 0x88AC + /// + ProgramAttribs = ((int)0x88AC) , + /// + /// Original was GL_MAX_PROGRAM_ATTRIBS = 0x88AD + /// + MaxProgramAttribs = ((int)0x88AD) , + /// + /// Original was GL_PROGRAM_NATIVE_ATTRIBS = 0x88AE + /// + ProgramNativeAttribs = ((int)0x88AE) , + /// + /// Original was GL_MAX_PROGRAM_NATIVE_ATTRIBS = 0x88AF + /// + MaxProgramNativeAttribs = ((int)0x88AF) , + /// + /// Original was GL_PROGRAM_ADDRESS_REGISTERS = 0x88B0 + /// + ProgramAddressRegisters = ((int)0x88B0) , + /// + /// Original was GL_MAX_PROGRAM_ADDRESS_REGISTERS = 0x88B1 + /// + MaxProgramAddressRegisters = ((int)0x88B1) , + /// + /// Original was GL_PROGRAM_NATIVE_ADDRESS_REGISTERS = 0x88B2 + /// + ProgramNativeAddressRegisters = ((int)0x88B2) , + /// + /// Original was GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS = 0x88B3 + /// + MaxProgramNativeAddressRegisters = ((int)0x88B3) , + /// + /// Original was GL_MAX_PROGRAM_LOCAL_PARAMETERS = 0x88B4 + /// + MaxProgramLocalParameters = ((int)0x88B4) , + /// + /// Original was GL_MAX_PROGRAM_ENV_PARAMETERS = 0x88B5 + /// + MaxProgramEnvParameters = ((int)0x88B5) , + /// + /// Original was GL_PROGRAM_UNDER_NATIVE_LIMITS = 0x88B6 + /// + ProgramUnderNativeLimits = ((int)0x88B6) , + /// + /// Original was GL_GEOMETRY_VERTICES_OUT = 0x8916 + /// + GeometryVerticesOut = ((int)0x8916) , + /// + /// Original was GL_GEOMETRY_INPUT_TYPE = 0x8917 + /// + GeometryInputType = ((int)0x8917) , + /// + /// Original was GL_GEOMETRY_OUTPUT_TYPE = 0x8918 + /// + GeometryOutputType = ((int)0x8918) , + } + + /// + /// Not used directly. + /// + public enum AssemblyProgramStringParameterArb : int + { + /// + /// Original was GL_PROGRAM_STRING = 0x8628 + /// + ProgramString = ((int)0x8628) , + } + + /// + /// Used in GL.Arb.BindProgram, GL.Arb.GetProgram, GL.Arb.GetProgramString, GL.Arb.ProgramEnvParameter4, GL.Arb.ProgramLocalParameter4, GL.Arb.ProgramString, GL.NV.BindProgram, GL.NV.ExecuteProgram, GL.NV.GetProgramParameter, GL.NV.GetTrackMatrix, GL.NV.LoadProgram, GL.NV.ProgramParameter4, GL.NV.ProgramParameters4, GL.NV.TrackMatrix + /// + public enum AssemblyProgramTargetArb : int + { + /// + /// Original was GL_VERTEX_PROGRAM = 0x8620 + /// + VertexProgram = ((int)0x8620) , + /// + /// Original was GL_FRAGMENT_PROGRAM = 0x8804 + /// + FragmentProgram = ((int)0x8804) , + /// + /// Original was GL_GEOMETRY_PROGRAM_NV = 0x8C26 + /// + GeometryProgramNv = ((int)0x8C26) , + } + + /// + /// Used in GL.Ati.DrawBuffers + /// + public enum AtiDrawBuffers : int + { + /// + /// Original was GL_MAX_DRAW_BUFFERS_ATI = 0x8824 + /// + MaxDrawBuffersAti = ((int)0x8824) , + /// + /// Original was GL_DRAW_BUFFER0_ATI = 0x8825 + /// + DrawBuffer0Ati = ((int)0x8825) , + /// + /// Original was GL_DRAW_BUFFER1_ATI = 0x8826 + /// + DrawBuffer1Ati = ((int)0x8826) , + /// + /// Original was GL_DRAW_BUFFER2_ATI = 0x8827 + /// + DrawBuffer2Ati = ((int)0x8827) , + /// + /// Original was GL_DRAW_BUFFER3_ATI = 0x8828 + /// + DrawBuffer3Ati = ((int)0x8828) , + /// + /// Original was GL_DRAW_BUFFER4_ATI = 0x8829 + /// + DrawBuffer4Ati = ((int)0x8829) , + /// + /// Original was GL_DRAW_BUFFER5_ATI = 0x882A + /// + DrawBuffer5Ati = ((int)0x882A) , + /// + /// Original was GL_DRAW_BUFFER6_ATI = 0x882B + /// + DrawBuffer6Ati = ((int)0x882B) , + /// + /// Original was GL_DRAW_BUFFER7_ATI = 0x882C + /// + DrawBuffer7Ati = ((int)0x882C) , + /// + /// Original was GL_DRAW_BUFFER8_ATI = 0x882D + /// + DrawBuffer8Ati = ((int)0x882D) , + /// + /// Original was GL_DRAW_BUFFER9_ATI = 0x882E + /// + DrawBuffer9Ati = ((int)0x882E) , + /// + /// Original was GL_DRAW_BUFFER10_ATI = 0x882F + /// + DrawBuffer10Ati = ((int)0x882F) , + /// + /// Original was GL_DRAW_BUFFER11_ATI = 0x8830 + /// + DrawBuffer11Ati = ((int)0x8830) , + /// + /// Original was GL_DRAW_BUFFER12_ATI = 0x8831 + /// + DrawBuffer12Ati = ((int)0x8831) , + /// + /// Original was GL_DRAW_BUFFER13_ATI = 0x8832 + /// + DrawBuffer13Ati = ((int)0x8832) , + /// + /// Original was GL_DRAW_BUFFER14_ATI = 0x8833 + /// + DrawBuffer14Ati = ((int)0x8833) , + /// + /// Original was GL_DRAW_BUFFER15_ATI = 0x8834 + /// + DrawBuffer15Ati = ((int)0x8834) , + } + + /// + /// Used in GL.Ati.ElementPointer + /// + public enum AtiElementArray : int + { + /// + /// Original was GL_ELEMENT_ARRAY_ATI = 0x8768 + /// + ElementArrayAti = ((int)0x8768) , + /// + /// Original was GL_ELEMENT_ARRAY_TYPE_ATI = 0x8769 + /// + ElementArrayTypeAti = ((int)0x8769) , + /// + /// Original was GL_ELEMENT_ARRAY_POINTER_ATI = 0x876A + /// + ElementArrayPointerAti = ((int)0x876A) , + } + + /// + /// Used in GL.Ati.GetTexBumpParameter, GL.Ati.TexBumpParameter + /// + public enum AtiEnvmapBumpmap : int + { + /// + /// Original was GL_BUMP_ROT_MATRIX_ATI = 0x8775 + /// + BumpRotMatrixAti = ((int)0x8775) , + /// + /// Original was GL_BUMP_ROT_MATRIX_SIZE_ATI = 0x8776 + /// + BumpRotMatrixSizeAti = ((int)0x8776) , + /// + /// Original was GL_BUMP_NUM_TEX_UNITS_ATI = 0x8777 + /// + BumpNumTexUnitsAti = ((int)0x8777) , + /// + /// Original was GL_BUMP_TEX_UNITS_ATI = 0x8778 + /// + BumpTexUnitsAti = ((int)0x8778) , + /// + /// Original was GL_DUDV_ATI = 0x8779 + /// + DudvAti = ((int)0x8779) , + /// + /// Original was GL_DU8DV8_ATI = 0x877A + /// + Du8Dv8Ati = ((int)0x877A) , + /// + /// Original was GL_BUMP_ENVMAP_ATI = 0x877B + /// + BumpEnvmapAti = ((int)0x877B) , + /// + /// Original was GL_BUMP_TARGET_ATI = 0x877C + /// + BumpTargetAti = ((int)0x877C) , + } + + /// + /// Used in GL.Ati.AlphaFragmentOp1, GL.Ati.AlphaFragmentOp2, GL.Ati.AlphaFragmentOp3, GL.Ati.ColorFragmentOp1, GL.Ati.ColorFragmentOp2, GL.Ati.ColorFragmentOp3, GL.Ati.PassTexCoord, GL.Ati.SampleMap + /// + public enum AtiFragmentShader : int + { + /// + /// Original was GL_2X_BIT_ATI = 0x00000001 + /// + Gl2XBitAti = ((int)0x00000001) , + /// + /// Original was GL_RED_BIT_ATI = 0x00000001 + /// + RedBitAti = ((int)0x00000001) , + /// + /// Original was GL_COMP_BIT_ATI = 0x00000002 + /// + CompBitAti = ((int)0x00000002) , + /// + /// Original was GL_4X_BIT_ATI = 0x00000002 + /// + Gl4XBitAti = ((int)0x00000002) , + /// + /// Original was GL_GREEN_BIT_ATI = 0x00000002 + /// + GreenBitAti = ((int)0x00000002) , + /// + /// Original was GL_BLUE_BIT_ATI = 0x00000004 + /// + BlueBitAti = ((int)0x00000004) , + /// + /// Original was GL_8X_BIT_ATI = 0x00000004 + /// + Gl8XBitAti = ((int)0x00000004) , + /// + /// Original was GL_NEGATE_BIT_ATI = 0x00000004 + /// + NegateBitAti = ((int)0x00000004) , + /// + /// Original was GL_BIAS_BIT_ATI = 0x00000008 + /// + BiasBitAti = ((int)0x00000008) , + /// + /// Original was GL_HALF_BIT_ATI = 0x00000008 + /// + HalfBitAti = ((int)0x00000008) , + /// + /// Original was GL_QUARTER_BIT_ATI = 0x00000010 + /// + QuarterBitAti = ((int)0x00000010) , + /// + /// Original was GL_EIGHTH_BIT_ATI = 0x00000020 + /// + EighthBitAti = ((int)0x00000020) , + /// + /// Original was GL_SATURATE_BIT_ATI = 0x00000040 + /// + SaturateBitAti = ((int)0x00000040) , + /// + /// Original was GL_FRAGMENT_SHADER_ATI = 0x8920 + /// + FragmentShaderAti = ((int)0x8920) , + /// + /// Original was GL_REG_0_ATI = 0x8921 + /// + Reg0Ati = ((int)0x8921) , + /// + /// Original was GL_REG_1_ATI = 0x8922 + /// + Reg1Ati = ((int)0x8922) , + /// + /// Original was GL_REG_2_ATI = 0x8923 + /// + Reg2Ati = ((int)0x8923) , + /// + /// Original was GL_REG_3_ATI = 0x8924 + /// + Reg3Ati = ((int)0x8924) , + /// + /// Original was GL_REG_4_ATI = 0x8925 + /// + Reg4Ati = ((int)0x8925) , + /// + /// Original was GL_REG_5_ATI = 0x8926 + /// + Reg5Ati = ((int)0x8926) , + /// + /// Original was GL_REG_6_ATI = 0x8927 + /// + Reg6Ati = ((int)0x8927) , + /// + /// Original was GL_REG_7_ATI = 0x8928 + /// + Reg7Ati = ((int)0x8928) , + /// + /// Original was GL_REG_8_ATI = 0x8929 + /// + Reg8Ati = ((int)0x8929) , + /// + /// Original was GL_REG_9_ATI = 0x892A + /// + Reg9Ati = ((int)0x892A) , + /// + /// Original was GL_REG_10_ATI = 0x892B + /// + Reg10Ati = ((int)0x892B) , + /// + /// Original was GL_REG_11_ATI = 0x892C + /// + Reg11Ati = ((int)0x892C) , + /// + /// Original was GL_REG_12_ATI = 0x892D + /// + Reg12Ati = ((int)0x892D) , + /// + /// Original was GL_REG_13_ATI = 0x892E + /// + Reg13Ati = ((int)0x892E) , + /// + /// Original was GL_REG_14_ATI = 0x892F + /// + Reg14Ati = ((int)0x892F) , + /// + /// Original was GL_REG_15_ATI = 0x8930 + /// + Reg15Ati = ((int)0x8930) , + /// + /// Original was GL_REG_16_ATI = 0x8931 + /// + Reg16Ati = ((int)0x8931) , + /// + /// Original was GL_REG_17_ATI = 0x8932 + /// + Reg17Ati = ((int)0x8932) , + /// + /// Original was GL_REG_18_ATI = 0x8933 + /// + Reg18Ati = ((int)0x8933) , + /// + /// Original was GL_REG_19_ATI = 0x8934 + /// + Reg19Ati = ((int)0x8934) , + /// + /// Original was GL_REG_20_ATI = 0x8935 + /// + Reg20Ati = ((int)0x8935) , + /// + /// Original was GL_REG_21_ATI = 0x8936 + /// + Reg21Ati = ((int)0x8936) , + /// + /// Original was GL_REG_22_ATI = 0x8937 + /// + Reg22Ati = ((int)0x8937) , + /// + /// Original was GL_REG_23_ATI = 0x8938 + /// + Reg23Ati = ((int)0x8938) , + /// + /// Original was GL_REG_24_ATI = 0x8939 + /// + Reg24Ati = ((int)0x8939) , + /// + /// Original was GL_REG_25_ATI = 0x893A + /// + Reg25Ati = ((int)0x893A) , + /// + /// Original was GL_REG_26_ATI = 0x893B + /// + Reg26Ati = ((int)0x893B) , + /// + /// Original was GL_REG_27_ATI = 0x893C + /// + Reg27Ati = ((int)0x893C) , + /// + /// Original was GL_REG_28_ATI = 0x893D + /// + Reg28Ati = ((int)0x893D) , + /// + /// Original was GL_REG_29_ATI = 0x893E + /// + Reg29Ati = ((int)0x893E) , + /// + /// Original was GL_REG_30_ATI = 0x893F + /// + Reg30Ati = ((int)0x893F) , + /// + /// Original was GL_REG_31_ATI = 0x8940 + /// + Reg31Ati = ((int)0x8940) , + /// + /// Original was GL_CON_0_ATI = 0x8941 + /// + Con0Ati = ((int)0x8941) , + /// + /// Original was GL_CON_1_ATI = 0x8942 + /// + Con1Ati = ((int)0x8942) , + /// + /// Original was GL_CON_2_ATI = 0x8943 + /// + Con2Ati = ((int)0x8943) , + /// + /// Original was GL_CON_3_ATI = 0x8944 + /// + Con3Ati = ((int)0x8944) , + /// + /// Original was GL_CON_4_ATI = 0x8945 + /// + Con4Ati = ((int)0x8945) , + /// + /// Original was GL_CON_5_ATI = 0x8946 + /// + Con5Ati = ((int)0x8946) , + /// + /// Original was GL_CON_6_ATI = 0x8947 + /// + Con6Ati = ((int)0x8947) , + /// + /// Original was GL_CON_7_ATI = 0x8948 + /// + Con7Ati = ((int)0x8948) , + /// + /// Original was GL_CON_8_ATI = 0x8949 + /// + Con8Ati = ((int)0x8949) , + /// + /// Original was GL_CON_9_ATI = 0x894A + /// + Con9Ati = ((int)0x894A) , + /// + /// Original was GL_CON_10_ATI = 0x894B + /// + Con10Ati = ((int)0x894B) , + /// + /// Original was GL_CON_11_ATI = 0x894C + /// + Con11Ati = ((int)0x894C) , + /// + /// Original was GL_CON_12_ATI = 0x894D + /// + Con12Ati = ((int)0x894D) , + /// + /// Original was GL_CON_13_ATI = 0x894E + /// + Con13Ati = ((int)0x894E) , + /// + /// Original was GL_CON_14_ATI = 0x894F + /// + Con14Ati = ((int)0x894F) , + /// + /// Original was GL_CON_15_ATI = 0x8950 + /// + Con15Ati = ((int)0x8950) , + /// + /// Original was GL_CON_16_ATI = 0x8951 + /// + Con16Ati = ((int)0x8951) , + /// + /// Original was GL_CON_17_ATI = 0x8952 + /// + Con17Ati = ((int)0x8952) , + /// + /// Original was GL_CON_18_ATI = 0x8953 + /// + Con18Ati = ((int)0x8953) , + /// + /// Original was GL_CON_19_ATI = 0x8954 + /// + Con19Ati = ((int)0x8954) , + /// + /// Original was GL_CON_20_ATI = 0x8955 + /// + Con20Ati = ((int)0x8955) , + /// + /// Original was GL_CON_21_ATI = 0x8956 + /// + Con21Ati = ((int)0x8956) , + /// + /// Original was GL_CON_22_ATI = 0x8957 + /// + Con22Ati = ((int)0x8957) , + /// + /// Original was GL_CON_23_ATI = 0x8958 + /// + Con23Ati = ((int)0x8958) , + /// + /// Original was GL_CON_24_ATI = 0x8959 + /// + Con24Ati = ((int)0x8959) , + /// + /// Original was GL_CON_25_ATI = 0x895A + /// + Con25Ati = ((int)0x895A) , + /// + /// Original was GL_CON_26_ATI = 0x895B + /// + Con26Ati = ((int)0x895B) , + /// + /// Original was GL_CON_27_ATI = 0x895C + /// + Con27Ati = ((int)0x895C) , + /// + /// Original was GL_CON_28_ATI = 0x895D + /// + Con28Ati = ((int)0x895D) , + /// + /// Original was GL_CON_29_ATI = 0x895E + /// + Con29Ati = ((int)0x895E) , + /// + /// Original was GL_CON_30_ATI = 0x895F + /// + Con30Ati = ((int)0x895F) , + /// + /// Original was GL_CON_31_ATI = 0x8960 + /// + Con31Ati = ((int)0x8960) , + /// + /// Original was GL_MOV_ATI = 0x8961 + /// + MovAti = ((int)0x8961) , + /// + /// Original was GL_ADD_ATI = 0x8963 + /// + AddAti = ((int)0x8963) , + /// + /// Original was GL_MUL_ATI = 0x8964 + /// + MulAti = ((int)0x8964) , + /// + /// Original was GL_SUB_ATI = 0x8965 + /// + SubAti = ((int)0x8965) , + /// + /// Original was GL_DOT3_ATI = 0x8966 + /// + Dot3Ati = ((int)0x8966) , + /// + /// Original was GL_DOT4_ATI = 0x8967 + /// + Dot4Ati = ((int)0x8967) , + /// + /// Original was GL_MAD_ATI = 0x8968 + /// + MadAti = ((int)0x8968) , + /// + /// Original was GL_LERP_ATI = 0x8969 + /// + LerpAti = ((int)0x8969) , + /// + /// Original was GL_CND_ATI = 0x896A + /// + CndAti = ((int)0x896A) , + /// + /// Original was GL_CND0_ATI = 0x896B + /// + Cnd0Ati = ((int)0x896B) , + /// + /// Original was GL_DOT2_ADD_ATI = 0x896C + /// + Dot2AddAti = ((int)0x896C) , + /// + /// Original was GL_SECONDARY_INTERPOLATOR_ATI = 0x896D + /// + SecondaryInterpolatorAti = ((int)0x896D) , + /// + /// Original was GL_NUM_FRAGMENT_REGISTERS_ATI = 0x896E + /// + NumFragmentRegistersAti = ((int)0x896E) , + /// + /// Original was GL_NUM_FRAGMENT_CONSTANTS_ATI = 0x896F + /// + NumFragmentConstantsAti = ((int)0x896F) , + /// + /// Original was GL_NUM_PASSES_ATI = 0x8970 + /// + NumPassesAti = ((int)0x8970) , + /// + /// Original was GL_NUM_INSTRUCTIONS_PER_PASS_ATI = 0x8971 + /// + NumInstructionsPerPassAti = ((int)0x8971) , + /// + /// Original was GL_NUM_INSTRUCTIONS_TOTAL_ATI = 0x8972 + /// + NumInstructionsTotalAti = ((int)0x8972) , + /// + /// Original was GL_NUM_INPUT_INTERPOLATOR_COMPONENTS_ATI = 0x8973 + /// + NumInputInterpolatorComponentsAti = ((int)0x8973) , + /// + /// Original was GL_NUM_LOOPBACK_COMPONENTS_ATI = 0x8974 + /// + NumLoopbackComponentsAti = ((int)0x8974) , + /// + /// Original was GL_COLOR_ALPHA_PAIRING_ATI = 0x8975 + /// + ColorAlphaPairingAti = ((int)0x8975) , + /// + /// Original was GL_SWIZZLE_STR_ATI = 0x8976 + /// + SwizzleStrAti = ((int)0x8976) , + /// + /// Original was GL_SWIZZLE_STQ_ATI = 0x8977 + /// + SwizzleStqAti = ((int)0x8977) , + /// + /// Original was GL_SWIZZLE_STR_DR_ATI = 0x8978 + /// + SwizzleStrDrAti = ((int)0x8978) , + /// + /// Original was GL_SWIZZLE_STQ_DQ_ATI = 0x8979 + /// + SwizzleStqDqAti = ((int)0x8979) , + /// + /// Original was GL_SWIZZLE_STRQ_ATI = 0x897A + /// + SwizzleStrqAti = ((int)0x897A) , + /// + /// Original was GL_SWIZZLE_STRQ_DQ_ATI = 0x897B + /// + SwizzleStrqDqAti = ((int)0x897B) , + } + + /// + /// Not used directly. + /// + public enum AtiMapObjectBuffer : int + { + } + + /// + /// Not used directly. + /// + public enum AtiMeminfo : int + { + /// + /// Original was GL_VBO_FREE_MEMORY_ATI = 0x87FB + /// + VboFreeMemoryAti = ((int)0x87FB) , + /// + /// Original was GL_TEXTURE_FREE_MEMORY_ATI = 0x87FC + /// + TextureFreeMemoryAti = ((int)0x87FC) , + /// + /// Original was GL_RENDERBUFFER_FREE_MEMORY_ATI = 0x87FD + /// + RenderbufferFreeMemoryAti = ((int)0x87FD) , + } + + /// + /// Not used directly. + /// + public enum AtiPixelFormatFloat : int + { + /// + /// Original was GL_TYPE_RGBA_FLOAT_ATI = 0x8820 + /// + TypeRgbaFloatAti = ((int)0x8820) , + /// + /// Original was GL_COLOR_CLEAR_UNCLAMPED_VALUE_ATI = 0x8835 + /// + ColorClearUnclampedValueAti = ((int)0x8835) , + } + + /// + /// Used in GL.Ati.PNTriangles + /// + public enum AtiPnTriangles : int + { + /// + /// Original was GL_PN_TRIANGLES_ATI = 0x87F0 + /// + PnTrianglesAti = ((int)0x87F0) , + /// + /// Original was GL_MAX_PN_TRIANGLES_TESSELATION_LEVEL_ATI = 0x87F1 + /// + MaxPnTrianglesTesselationLevelAti = ((int)0x87F1) , + /// + /// Original was GL_PN_TRIANGLES_POINT_MODE_ATI = 0x87F2 + /// + PnTrianglesPointModeAti = ((int)0x87F2) , + /// + /// Original was GL_PN_TRIANGLES_NORMAL_MODE_ATI = 0x87F3 + /// + PnTrianglesNormalModeAti = ((int)0x87F3) , + /// + /// Original was GL_PN_TRIANGLES_TESSELATION_LEVEL_ATI = 0x87F4 + /// + PnTrianglesTesselationLevelAti = ((int)0x87F4) , + /// + /// Original was GL_PN_TRIANGLES_POINT_MODE_LINEAR_ATI = 0x87F5 + /// + PnTrianglesPointModeLinearAti = ((int)0x87F5) , + /// + /// Original was GL_PN_TRIANGLES_POINT_MODE_CUBIC_ATI = 0x87F6 + /// + PnTrianglesPointModeCubicAti = ((int)0x87F6) , + /// + /// Original was GL_PN_TRIANGLES_NORMAL_MODE_LINEAR_ATI = 0x87F7 + /// + PnTrianglesNormalModeLinearAti = ((int)0x87F7) , + /// + /// Original was GL_PN_TRIANGLES_NORMAL_MODE_QUADRATIC_ATI = 0x87F8 + /// + PnTrianglesNormalModeQuadraticAti = ((int)0x87F8) , + } + + /// + /// Used in GL.Ati.StencilOpSeparate + /// + public enum AtiSeparateStencil : int + { + /// + /// Original was GL_STENCIL_BACK_FUNC_ATI = 0x8800 + /// + StencilBackFuncAti = ((int)0x8800) , + /// + /// Original was GL_STENCIL_BACK_FAIL_ATI = 0x8801 + /// + StencilBackFailAti = ((int)0x8801) , + /// + /// Original was GL_STENCIL_BACK_PASS_DEPTH_FAIL_ATI = 0x8802 + /// + StencilBackPassDepthFailAti = ((int)0x8802) , + /// + /// Original was GL_STENCIL_BACK_PASS_DEPTH_PASS_ATI = 0x8803 + /// + StencilBackPassDepthPassAti = ((int)0x8803) , + } + + /// + /// Not used directly. + /// + public enum AtiTextFragmentShader : int + { + /// + /// Original was GL_TEXT_FRAGMENT_SHADER_ATI = 0x8200 + /// + TextFragmentShaderAti = ((int)0x8200) , + } + + /// + /// Not used directly. + /// + public enum AtiTextureEnvCombine3 : int + { + /// + /// Original was GL_MODULATE_ADD_ATI = 0x8744 + /// + ModulateAddAti = ((int)0x8744) , + /// + /// Original was GL_MODULATE_SIGNED_ADD_ATI = 0x8745 + /// + ModulateSignedAddAti = ((int)0x8745) , + /// + /// Original was GL_MODULATE_SUBTRACT_ATI = 0x8746 + /// + ModulateSubtractAti = ((int)0x8746) , + } + + /// + /// Not used directly. + /// + public enum AtiTextureFloat : int + { + /// + /// Original was GL_RGBA_FLOAT32_ATI = 0x8814 + /// + RgbaFloat32Ati = ((int)0x8814) , + /// + /// Original was GL_RGB_FLOAT32_ATI = 0x8815 + /// + RgbFloat32Ati = ((int)0x8815) , + /// + /// Original was GL_ALPHA_FLOAT32_ATI = 0x8816 + /// + AlphaFloat32Ati = ((int)0x8816) , + /// + /// Original was GL_INTENSITY_FLOAT32_ATI = 0x8817 + /// + IntensityFloat32Ati = ((int)0x8817) , + /// + /// Original was GL_LUMINANCE_FLOAT32_ATI = 0x8818 + /// + LuminanceFloat32Ati = ((int)0x8818) , + /// + /// Original was GL_LUMINANCE_ALPHA_FLOAT32_ATI = 0x8819 + /// + LuminanceAlphaFloat32Ati = ((int)0x8819) , + /// + /// Original was GL_RGBA_FLOAT16_ATI = 0x881A + /// + RgbaFloat16Ati = ((int)0x881A) , + /// + /// Original was GL_RGB_FLOAT16_ATI = 0x881B + /// + RgbFloat16Ati = ((int)0x881B) , + /// + /// Original was GL_ALPHA_FLOAT16_ATI = 0x881C + /// + AlphaFloat16Ati = ((int)0x881C) , + /// + /// Original was GL_INTENSITY_FLOAT16_ATI = 0x881D + /// + IntensityFloat16Ati = ((int)0x881D) , + /// + /// Original was GL_LUMINANCE_FLOAT16_ATI = 0x881E + /// + LuminanceFloat16Ati = ((int)0x881E) , + /// + /// Original was GL_LUMINANCE_ALPHA_FLOAT16_ATI = 0x881F + /// + LuminanceAlphaFloat16Ati = ((int)0x881F) , + } + + /// + /// Not used directly. + /// + public enum AtiTextureMirrorOnce : int + { + /// + /// Original was GL_MIRROR_CLAMP_ATI = 0x8742 + /// + MirrorClampAti = ((int)0x8742) , + /// + /// Original was GL_MIRROR_CLAMP_TO_EDGE_ATI = 0x8743 + /// + MirrorClampToEdgeAti = ((int)0x8743) , + } + + /// + /// Used in GL.Ati.ArrayObject, GL.Ati.GetArrayObject, GL.Ati.GetObjectBuffer, GL.Ati.GetVariantArrayObject, GL.Ati.NewObjectBuffer, GL.Ati.UpdateObjectBuffer, GL.Ati.VariantArrayObject + /// + public enum AtiVertexArrayObject : int + { + /// + /// Original was GL_STATIC_ATI = 0x8760 + /// + StaticAti = ((int)0x8760) , + /// + /// Original was GL_DYNAMIC_ATI = 0x8761 + /// + DynamicAti = ((int)0x8761) , + /// + /// Original was GL_PRESERVE_ATI = 0x8762 + /// + PreserveAti = ((int)0x8762) , + /// + /// Original was GL_DISCARD_ATI = 0x8763 + /// + DiscardAti = ((int)0x8763) , + /// + /// Original was GL_OBJECT_BUFFER_SIZE_ATI = 0x8764 + /// + ObjectBufferSizeAti = ((int)0x8764) , + /// + /// Original was GL_OBJECT_BUFFER_USAGE_ATI = 0x8765 + /// + ObjectBufferUsageAti = ((int)0x8765) , + /// + /// Original was GL_ARRAY_OBJECT_BUFFER_ATI = 0x8766 + /// + ArrayObjectBufferAti = ((int)0x8766) , + /// + /// Original was GL_ARRAY_OBJECT_OFFSET_ATI = 0x8767 + /// + ArrayObjectOffsetAti = ((int)0x8767) , + } + + /// + /// Used in GL.Ati.GetVertexAttribArrayObject, GL.Ati.VertexAttribArrayObject + /// + public enum AtiVertexAttribArrayObject : int + { + } + + /// + /// Used in GL.Ati.ClientActiveVertexStream, GL.Ati.NormalStream3, GL.Ati.VertexBlendEnv, GL.Ati.VertexStream1, GL.Ati.VertexStream2, GL.Ati.VertexStream3, GL.Ati.VertexStream4 + /// + public enum AtiVertexStreams : int + { + /// + /// Original was GL_MAX_VERTEX_STREAMS_ATI = 0x876B + /// + MaxVertexStreamsAti = ((int)0x876B) , + /// + /// Original was GL_VERTEX_STREAM0_ATI = 0x876C + /// + VertexStream0Ati = ((int)0x876C) , + /// + /// Original was GL_VERTEX_STREAM1_ATI = 0x876D + /// + VertexStream1Ati = ((int)0x876D) , + /// + /// Original was GL_VERTEX_STREAM2_ATI = 0x876E + /// + VertexStream2Ati = ((int)0x876E) , + /// + /// Original was GL_VERTEX_STREAM3_ATI = 0x876F + /// + VertexStream3Ati = ((int)0x876F) , + /// + /// Original was GL_VERTEX_STREAM4_ATI = 0x8770 + /// + VertexStream4Ati = ((int)0x8770) , + /// + /// Original was GL_VERTEX_STREAM5_ATI = 0x8771 + /// + VertexStream5Ati = ((int)0x8771) , + /// + /// Original was GL_VERTEX_STREAM6_ATI = 0x8772 + /// + VertexStream6Ati = ((int)0x8772) , + /// + /// Original was GL_VERTEX_STREAM7_ATI = 0x8773 + /// + VertexStream7Ati = ((int)0x8773) , + /// + /// Original was GL_VERTEX_SOURCE_ATI = 0x8774 + /// + VertexSourceAti = ((int)0x8774) , + } + + /// + /// Used in GL.PushAttrib + /// + [Flags] + public enum AttribMask : int + { + /// + /// Original was GL_CURRENT_BIT = 0x00000001 + /// + CurrentBit = ((int)0x00000001) , + /// + /// Original was GL_POINT_BIT = 0x00000002 + /// + PointBit = ((int)0x00000002) , + /// + /// Original was GL_LINE_BIT = 0x00000004 + /// + LineBit = ((int)0x00000004) , + /// + /// Original was GL_POLYGON_BIT = 0x00000008 + /// + PolygonBit = ((int)0x00000008) , + /// + /// Original was GL_POLYGON_STIPPLE_BIT = 0x00000010 + /// + PolygonStippleBit = ((int)0x00000010) , + /// + /// Original was GL_PIXEL_MODE_BIT = 0x00000020 + /// + PixelModeBit = ((int)0x00000020) , + /// + /// Original was GL_LIGHTING_BIT = 0x00000040 + /// + LightingBit = ((int)0x00000040) , + /// + /// Original was GL_FOG_BIT = 0x00000080 + /// + FogBit = ((int)0x00000080) , + /// + /// Original was GL_DEPTH_BUFFER_BIT = 0x00000100 + /// + DepthBufferBit = ((int)0x00000100) , + /// + /// Original was GL_ACCUM_BUFFER_BIT = 0x00000200 + /// + AccumBufferBit = ((int)0x00000200) , + /// + /// Original was GL_STENCIL_BUFFER_BIT = 0x00000400 + /// + StencilBufferBit = ((int)0x00000400) , + /// + /// Original was GL_VIEWPORT_BIT = 0x00000800 + /// + ViewportBit = ((int)0x00000800) , + /// + /// Original was GL_TRANSFORM_BIT = 0x00001000 + /// + TransformBit = ((int)0x00001000) , + /// + /// Original was GL_ENABLE_BIT = 0x00002000 + /// + EnableBit = ((int)0x00002000) , + /// + /// Original was GL_COLOR_BUFFER_BIT = 0x00004000 + /// + ColorBufferBit = ((int)0x00004000) , + /// + /// Original was GL_HINT_BIT = 0x00008000 + /// + HintBit = ((int)0x00008000) , + /// + /// Original was GL_EVAL_BIT = 0x00010000 + /// + EvalBit = ((int)0x00010000) , + /// + /// Original was GL_LIST_BIT = 0x00020000 + /// + ListBit = ((int)0x00020000) , + /// + /// Original was GL_TEXTURE_BIT = 0x00040000 + /// + TextureBit = ((int)0x00040000) , + /// + /// Original was GL_SCISSOR_BIT = 0x00080000 + /// + ScissorBit = ((int)0x00080000) , + /// + /// Original was GL_MULTISAMPLE_BIT = 0x20000000 + /// + MultisampleBit = ((int)0x20000000) , + /// + /// Original was GL_ALL_ATTRIB_BITS = 0xFFFFFFFF + /// + AllAttribBits = unchecked((int)0xFFFFFFFF) , + } + + /// + /// Used in GL.BeginTransformFeedback + /// + public enum BeginFeedbackMode : int + { + /// + /// Original was GL_Points = 0x0000 + /// + Points = ((int)0x0000) , + /// + /// Original was GL_Lines = 0x0001 + /// + Lines = ((int)0x0001) , + /// + /// Original was GL_Triangles = 0x0004 + /// + Triangles = ((int)0x0004) , + } + + /// + /// Used in GL.Apple.DrawElementArray, GL.Apple.DrawRangeElementArray, GL.Apple.MultiDrawElementArray, GL.Apple.MultiDrawRangeElementArray, GL.Arb.DrawArraysInstanced, GL.Arb.DrawElementsInstanced, GL.Ati.DrawElementArray, GL.Ati.DrawRangeElementArray, GL.Begin, GL.DrawArrays, GL.DrawArraysInstanced, GL.DrawElements, GL.DrawElementsBaseVertex, GL.DrawElementsInstanced, GL.DrawElementsInstancedBaseVertex, GL.DrawRangeElements, GL.DrawRangeElementsBaseVertex, GL.DrawTransformFeedback, GL.DrawTransformFeedbackStream, GL.MultiDrawArrays, GL.MultiDrawElements, GL.MultiDrawElementsBaseVertex, GL.Ext.DrawArrays, GL.Ext.DrawArraysInstanced, GL.Ext.DrawElementsInstanced, GL.Ext.DrawRangeElements, GL.Ext.MultiDrawArrays, GL.Ext.MultiDrawElements, GL.Ibm.MultiModeDrawArrays, GL.Ibm.MultiModeDrawElements, GL.Sun.DrawMeshArrays + /// + public enum BeginMode : int + { + /// + /// Original was GL_POINTS = 0x0000 + /// + Points = ((int)0x0000) , + /// + /// Original was GL_LINES = 0x0001 + /// + Lines = ((int)0x0001) , + /// + /// Original was GL_LINE_LOOP = 0x0002 + /// + LineLoop = ((int)0x0002) , + /// + /// Original was GL_LINE_STRIP = 0x0003 + /// + LineStrip = ((int)0x0003) , + /// + /// Original was GL_TRIANGLES = 0x0004 + /// + Triangles = ((int)0x0004) , + /// + /// Original was GL_TRIANGLE_STRIP = 0x0005 + /// + TriangleStrip = ((int)0x0005) , + /// + /// Original was GL_TRIANGLE_FAN = 0x0006 + /// + TriangleFan = ((int)0x0006) , + /// + /// Original was GL_QUADS = 0x0007 + /// + Quads = ((int)0x0007) , + /// + /// Original was GL_QUAD_STRIP = 0x0008 + /// + QuadStrip = ((int)0x0008) , + /// + /// Original was GL_POLYGON = 0x0009 + /// + Polygon = ((int)0x0009) , + /// + /// Original was GL_PATCHES = 0x000E + /// + Patches = ((int)0x000E) , + /// + /// Original was GL_LINES_ADJACENCY = 0xA + /// + LinesAdjacency = ((int)0xA) , + /// + /// Original was GL_LINE_STRIP_ADJACENCY = 0xB + /// + LineStripAdjacency = ((int)0xB) , + /// + /// Original was GL_TRIANGLES_ADJACENCY = 0xC + /// + TrianglesAdjacency = ((int)0xC) , + /// + /// Original was GL_TRIANGLE_STRIP_ADJACENCY = 0xD + /// + TriangleStripAdjacency = ((int)0xD) , + } + + /// + /// Used in GL.GetProgramBinary, GL.ProgramBinary, GL.ShaderBinary + /// + public enum BinaryFormat : int + { + } + + /// + /// Used in GL.BlendEquation, GL.BlendEquationSeparate + /// + public enum BlendEquationMode : int + { + /// + /// Original was GL_FUNC_ADD = 0x8006 + /// + FuncAdd = ((int)0x8006) , + /// + /// Original was GL_MIN = 0x8007 + /// + Min = ((int)0x8007) , + /// + /// Original was GL_MAX = 0x8008 + /// + Max = ((int)0x8008) , + /// + /// Original was GL_FUNC_SUBTRACT = 0x800A + /// + FuncSubtract = ((int)0x800A) , + /// + /// Original was GL_FUNC_REVERSE_SUBTRACT = 0x800B + /// + FuncReverseSubtract = ((int)0x800B) , + } + + /// + /// Not used directly. + /// + public enum BlendEquationModeExt : int + { + /// + /// Original was GL_LOGIC_OP = 0x0BF1 + /// + LogicOp = ((int)0x0BF1) , + /// + /// Original was GL_FUNC_ADD_EXT = 0x8006 + /// + FuncAddExt = ((int)0x8006) , + /// + /// Original was GL_MIN_EXT = 0x8007 + /// + MinExt = ((int)0x8007) , + /// + /// Original was GL_MAX_EXT = 0x8008 + /// + MaxExt = ((int)0x8008) , + /// + /// Original was GL_FUNC_SUBTRACT_EXT = 0x800A + /// + FuncSubtractExt = ((int)0x800A) , + /// + /// Original was GL_FUNC_REVERSE_SUBTRACT_EXT = 0x800B + /// + FuncReverseSubtractExt = ((int)0x800B) , + /// + /// Original was GL_ALPHA_MIN_SGIX = 0x8320 + /// + AlphaMinSgix = ((int)0x8320) , + /// + /// Original was GL_ALPHA_MAX_SGIX = 0x8321 + /// + AlphaMaxSgix = ((int)0x8321) , + } + + /// + /// Used in GL.BlendFunc, GL.BlendFuncSeparate + /// + public enum BlendingFactorDest : int + { + /// + /// Original was GL_ZERO = 0 + /// + Zero = ((int)0) , + /// + /// Original was GL_SRC_COLOR = 0x0300 + /// + SrcColor = ((int)0x0300) , + /// + /// Original was GL_ONE_MINUS_SRC_COLOR = 0x0301 + /// + OneMinusSrcColor = ((int)0x0301) , + /// + /// Original was GL_SRC_ALPHA = 0x0302 + /// + SrcAlpha = ((int)0x0302) , + /// + /// Original was GL_ONE_MINUS_SRC_ALPHA = 0x0303 + /// + OneMinusSrcAlpha = ((int)0x0303) , + /// + /// Original was GL_DST_ALPHA = 0x0304 + /// + DstAlpha = ((int)0x0304) , + /// + /// Original was GL_ONE_MINUS_DST_ALPHA = 0x0305 + /// + OneMinusDstAlpha = ((int)0x0305) , + /// + /// Original was GL_CONSTANT_COLOR = 0x8001 + /// + ConstantColor = ((int)0x8001) , + /// + /// Original was GL_CONSTANT_COLOR_EXT = 0x8001 + /// + ConstantColorExt = ((int)0x8001) , + /// + /// Original was GL_ONE_MINUS_CONSTANT_COLOR = 0x8002 + /// + OneMinusConstantColor = ((int)0x8002) , + /// + /// Original was GL_ONE_MINUS_CONSTANT_COLOR_EXT = 0x8002 + /// + OneMinusConstantColorExt = ((int)0x8002) , + /// + /// Original was GL_CONSTANT_ALPHA = 0x8003 + /// + ConstantAlpha = ((int)0x8003) , + /// + /// Original was GL_CONSTANT_ALPHA_EXT = 0x8003 + /// + ConstantAlphaExt = ((int)0x8003) , + /// + /// Original was GL_ONE_MINUS_CONSTANT_ALPHA = 0x8004 + /// + OneMinusConstantAlpha = ((int)0x8004) , + /// + /// Original was GL_ONE_MINUS_CONSTANT_ALPHA_EXT = 0x8004 + /// + OneMinusConstantAlphaExt = ((int)0x8004) , + /// + /// Original was GL_SRC1_ALPHA = 0x8589 + /// + Src1Alpha = ((int)0x8589) , + /// + /// Original was GL_SRC1_COLOR = 0x88F9 + /// + Src1Color = ((int)0x88F9) , + /// + /// Original was GL_ONE_MINUS_SRC1_COLOR = 0x88FA + /// + OneMinusSrc1Color = ((int)0x88FA) , + /// + /// Original was GL_ONE_MINUS_SRC1_ALPHA = 0x88FB + /// + OneMinusSrc1Alpha = ((int)0x88FB) , + /// + /// Original was GL_ONE = 1 + /// + One = ((int)1) , + } + + /// + /// Used in GL.BlendFunc, GL.BlendFuncSeparate + /// + public enum BlendingFactorSrc : int + { + /// + /// Original was GL_ZERO = 0 + /// + Zero = ((int)0) , + /// + /// Original was GL_SRC_ALPHA = 0x0302 + /// + SrcAlpha = ((int)0x0302) , + /// + /// Original was GL_ONE_MINUS_SRC_ALPHA = 0x0303 + /// + OneMinusSrcAlpha = ((int)0x0303) , + /// + /// Original was GL_DST_ALPHA = 0x0304 + /// + DstAlpha = ((int)0x0304) , + /// + /// Original was GL_ONE_MINUS_DST_ALPHA = 0x0305 + /// + OneMinusDstAlpha = ((int)0x0305) , + /// + /// Original was GL_DST_COLOR = 0x0306 + /// + DstColor = ((int)0x0306) , + /// + /// Original was GL_ONE_MINUS_DST_COLOR = 0x0307 + /// + OneMinusDstColor = ((int)0x0307) , + /// + /// Original was GL_SRC_ALPHA_SATURATE = 0x0308 + /// + SrcAlphaSaturate = ((int)0x0308) , + /// + /// Original was GL_CONSTANT_COLOR = 0x8001 + /// + ConstantColor = ((int)0x8001) , + /// + /// Original was GL_CONSTANT_COLOR_EXT = 0x8001 + /// + ConstantColorExt = ((int)0x8001) , + /// + /// Original was GL_ONE_MINUS_CONSTANT_COLOR = 0x8002 + /// + OneMinusConstantColor = ((int)0x8002) , + /// + /// Original was GL_ONE_MINUS_CONSTANT_COLOR_EXT = 0x8002 + /// + OneMinusConstantColorExt = ((int)0x8002) , + /// + /// Original was GL_CONSTANT_ALPHA = 0x8003 + /// + ConstantAlpha = ((int)0x8003) , + /// + /// Original was GL_CONSTANT_ALPHA_EXT = 0x8003 + /// + ConstantAlphaExt = ((int)0x8003) , + /// + /// Original was GL_ONE_MINUS_CONSTANT_ALPHA = 0x8004 + /// + OneMinusConstantAlpha = ((int)0x8004) , + /// + /// Original was GL_ONE_MINUS_CONSTANT_ALPHA_EXT = 0x8004 + /// + OneMinusConstantAlphaExt = ((int)0x8004) , + /// + /// Original was GL_SRC1_ALPHA = 0x8589 + /// + Src1Alpha = ((int)0x8589) , + /// + /// Original was GL_SRC1_COLOR = 0x88F9 + /// + Src1Color = ((int)0x88F9) , + /// + /// Original was GL_ONE_MINUS_SRC1_COLOR = 0x88FA + /// + OneMinusSrc1Color = ((int)0x88FA) , + /// + /// Original was GL_ONE_MINUS_SRC1_ALPHA = 0x88FB + /// + OneMinusSrc1Alpha = ((int)0x88FB) , + /// + /// Original was GL_ONE = 1 + /// + One = ((int)1) , + } + + /// + /// Used in GL.BlitFramebuffer + /// + public enum BlitFramebufferFilter : int + { + /// + /// Original was GL_NEAREST = 0x2600 + /// + Nearest = ((int)0x2600) , + /// + /// Original was GL_LINEAR = 0x2601 + /// + Linear = ((int)0x2601) , + } + + /// + /// Not used directly. + /// + public enum Boolean : int + { + /// + /// Original was GL_FALSE = 0 + /// + False = ((int)0) , + /// + /// Original was GL_TRUE = 1 + /// + True = ((int)1) , + } + + /// + /// Used in GL.MapBuffer + /// + public enum BufferAccess : int + { + /// + /// Original was GL_READ_ONLY = 0x88B8 + /// + ReadOnly = ((int)0x88B8) , + /// + /// Original was GL_WRITE_ONLY = 0x88B9 + /// + WriteOnly = ((int)0x88B9) , + /// + /// Original was GL_READ_WRITE = 0x88BA + /// + ReadWrite = ((int)0x88BA) , + } + + /// + /// Not used directly. + /// + public enum BufferAccessArb : int + { + /// + /// Original was GL_READ_ONLY = 0x88B8 + /// + ReadOnly = ((int)0x88B8) , + /// + /// Original was GL_WRITE_ONLY = 0x88B9 + /// + WriteOnly = ((int)0x88B9) , + /// + /// Original was GL_READ_WRITE = 0x88BA + /// + ReadWrite = ((int)0x88BA) , + } + + /// + /// Used in GL.MapBufferRange, GL.Ext.MapNamedBufferRange + /// + [Flags] + public enum BufferAccessMask : int + { + /// + /// Original was GL_MAP_READ_BIT = 0x0001 + /// + MapReadBit = ((int)0x0001) , + /// + /// Original was GL_MAP_WRITE_BIT = 0x0002 + /// + MapWriteBit = ((int)0x0002) , + /// + /// Original was GL_MAP_INVALIDATE_RANGE_BIT = 0x0004 + /// + MapInvalidateRangeBit = ((int)0x0004) , + /// + /// Original was GL_MAP_INVALIDATE_BUFFER_BIT = 0x0008 + /// + MapInvalidateBufferBit = ((int)0x0008) , + /// + /// Original was GL_MAP_FLUSH_EXPLICIT_BIT = 0x0010 + /// + MapFlushExplicitBit = ((int)0x0010) , + /// + /// Original was GL_MAP_UNSYNCHRONIZED_BIT = 0x0020 + /// + MapUnsynchronizedBit = ((int)0x0020) , + } + + /// + /// Used in GL.Apple.BufferParameter + /// + public enum BufferParameterApple : int + { + /// + /// Original was GL_BUFFER_SERIALIZED_MODIFY_APPLE = 0x8A12 + /// + BufferSerializedModifyApple = ((int)0x8A12) , + /// + /// Original was GL_BUFFER_FLUSHING_UNMAP_APPLE = 0x8A13 + /// + BufferFlushingUnmapApple = ((int)0x8A13) , + } + + /// + /// Used in GL.GetBufferParameter + /// + public enum BufferParameterName : int + { + /// + /// Original was GL_BUFFER_SIZE = 0x8764 + /// + BufferSize = ((int)0x8764) , + /// + /// Original was GL_BUFFER_USAGE = 0x8765 + /// + BufferUsage = ((int)0x8765) , + /// + /// Original was GL_BUFFER_ACCESS = 0x88BB + /// + BufferAccess = ((int)0x88BB) , + /// + /// Original was GL_BUFFER_MAPPED = 0x88BC + /// + BufferMapped = ((int)0x88BC) , + } + + /// + /// Used in GL.Arb.GetBufferParameter + /// + public enum BufferParameterNameArb : int + { + /// + /// Original was GL_BUFFER_SIZE = 0x8764 + /// + BufferSize = ((int)0x8764) , + /// + /// Original was GL_BUFFER_USAGE = 0x8765 + /// + BufferUsage = ((int)0x8765) , + /// + /// Original was GL_BUFFER_ACCESS = 0x88BB + /// + BufferAccess = ((int)0x88BB) , + /// + /// Original was GL_BUFFER_MAPPED = 0x88BC + /// + BufferMapped = ((int)0x88BC) , + } + + /// + /// Used in GL.GetBufferPointer + /// + public enum BufferPointer : int + { + /// + /// Original was GL_BUFFER_MAP_POINTER = 0x88BD + /// + BufferMapPointer = ((int)0x88BD) , + } + + /// + /// Used in GL.Arb.GetBufferPointer + /// + public enum BufferPointerNameArb : int + { + /// + /// Original was GL_BUFFER_MAP_POINTER = 0x88BD + /// + BufferMapPointer = ((int)0x88BD) , + } + + /// + /// Used in GL.Apple.BufferParameter, GL.Apple.FlushMappedBufferRange, GL.BindBuffer, GL.BindBufferBase, GL.BindBufferRange, GL.BufferData, GL.BufferSubData, GL.CopyBufferSubData, GL.FlushMappedBufferRange, GL.GetBufferParameter, GL.GetBufferPointer, GL.GetBufferSubData, GL.MapBuffer, GL.MapBufferRange, GL.UnmapBuffer + /// + public enum BufferTarget : int + { + /// + /// Original was GL_ARRAY_BUFFER = 0x8892 + /// + ArrayBuffer = ((int)0x8892) , + /// + /// Original was GL_ELEMENT_ARRAY_BUFFER = 0x8893 + /// + ElementArrayBuffer = ((int)0x8893) , + /// + /// Original was GL_PIXEL_PACK_BUFFER = 0x88EB + /// + PixelPackBuffer = ((int)0x88EB) , + /// + /// Original was GL_PIXEL_UNPACK_BUFFER = 0x88EC + /// + PixelUnpackBuffer = ((int)0x88EC) , + /// + /// Original was GL_UNIFORM_BUFFER = 0x8A11 + /// + UniformBuffer = ((int)0x8A11) , + /// + /// Original was GL_TEXTURE_BUFFER = 0x8C2A + /// + TextureBuffer = ((int)0x8C2A) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_BUFFER = 0x8C8E + /// + TransformFeedbackBuffer = ((int)0x8C8E) , + /// + /// Original was GL_COPY_READ_BUFFER = 0x8F36 + /// + CopyReadBuffer = ((int)0x8F36) , + /// + /// Original was GL_COPY_WRITE_BUFFER = 0x8F37 + /// + CopyWriteBuffer = ((int)0x8F37) , + /// + /// Original was GL_DRAW_INDIRECT_BUFFER = 0x8F3F + /// + DrawIndirectBuffer = ((int)0x8F3F) , + } + + /// + /// Used in GL.Arb.BindBuffer, GL.Arb.BufferData, GL.Arb.BufferSubData, GL.Arb.GetBufferSubData, GL.Arb.MapBuffer, GL.Arb.UnmapBuffer + /// + public enum BufferTargetArb : int + { + /// + /// Original was GL_ARRAY_BUFFER = 0x8892 + /// + ArrayBuffer = ((int)0x8892) , + /// + /// Original was GL_ELEMENT_ARRAY_BUFFER = 0x8893 + /// + ElementArrayBuffer = ((int)0x8893) , + /// + /// Original was GL_TEXTURE_BUFFER = 0x8C2A + /// + TextureBuffer = ((int)0x8C2A) , + } + + /// + /// Used in GL.Arb.BufferData + /// + public enum BufferUsageArb : int + { + /// + /// Original was GL_STREAM_DRAW = 0x88E0 + /// + StreamDraw = ((int)0x88E0) , + /// + /// Original was GL_STREAM_READ = 0x88E1 + /// + StreamRead = ((int)0x88E1) , + /// + /// Original was GL_STREAM_COPY = 0x88E2 + /// + StreamCopy = ((int)0x88E2) , + /// + /// Original was GL_STATIC_DRAW = 0x88E4 + /// + StaticDraw = ((int)0x88E4) , + /// + /// Original was GL_STATIC_READ = 0x88E5 + /// + StaticRead = ((int)0x88E5) , + /// + /// Original was GL_STATIC_COPY = 0x88E6 + /// + StaticCopy = ((int)0x88E6) , + /// + /// Original was GL_DYNAMIC_DRAW = 0x88E8 + /// + DynamicDraw = ((int)0x88E8) , + /// + /// Original was GL_DYNAMIC_READ = 0x88E9 + /// + DynamicRead = ((int)0x88E9) , + /// + /// Original was GL_DYNAMIC_COPY = 0x88EA + /// + DynamicCopy = ((int)0x88EA) , + } + + /// + /// Used in GL.BufferData + /// + public enum BufferUsageHint : int + { + /// + /// Original was GL_STREAM_DRAW = 0x88E0 + /// + StreamDraw = ((int)0x88E0) , + /// + /// Original was GL_STREAM_READ = 0x88E1 + /// + StreamRead = ((int)0x88E1) , + /// + /// Original was GL_STREAM_COPY = 0x88E2 + /// + StreamCopy = ((int)0x88E2) , + /// + /// Original was GL_STATIC_DRAW = 0x88E4 + /// + StaticDraw = ((int)0x88E4) , + /// + /// Original was GL_STATIC_READ = 0x88E5 + /// + StaticRead = ((int)0x88E5) , + /// + /// Original was GL_STATIC_COPY = 0x88E6 + /// + StaticCopy = ((int)0x88E6) , + /// + /// Original was GL_DYNAMIC_DRAW = 0x88E8 + /// + DynamicDraw = ((int)0x88E8) , + /// + /// Original was GL_DYNAMIC_READ = 0x88E9 + /// + DynamicRead = ((int)0x88E9) , + /// + /// Original was GL_DYNAMIC_COPY = 0x88EA + /// + DynamicCopy = ((int)0x88EA) , + } + + /// + /// Used in GL.ClampColor + /// + public enum ClampColorMode : int + { + /// + /// Original was GL_FALSE = 0 + /// + False = ((int)0) , + /// + /// Original was GL_FIXED_ONLY = 0x891D + /// + FixedOnly = ((int)0x891D) , + /// + /// Original was GL_TRUE = 1 + /// + True = ((int)1) , + } + + /// + /// Used in GL.ClampColor + /// + public enum ClampColorTarget : int + { + /// + /// Original was GL_CLAMP_VERTEX_COLOR = 0x891A + /// + ClampVertexColor = ((int)0x891A) , + /// + /// Original was GL_CLAMP_FRAGMENT_COLOR = 0x891B + /// + ClampFragmentColor = ((int)0x891B) , + /// + /// Original was GL_CLAMP_READ_COLOR = 0x891C + /// + ClampReadColor = ((int)0x891C) , + } + + /// + /// Used in GL.ClearBuffer + /// + public enum ClearBuffer : int + { + /// + /// Original was GL_COLOR = 0x1800 + /// + Color = ((int)0x1800) , + /// + /// Original was GL_DEPTH = 0x1801 + /// + Depth = ((int)0x1801) , + /// + /// Original was GL_STENCIL = 0x1802 + /// + Stencil = ((int)0x1802) , + /// + /// Original was GL_DEPTH_STENCIL = 0x84F9 + /// + DepthStencil = ((int)0x84F9) , + } + + /// + /// Used in GL.BlitFramebuffer, GL.Clear, GL.Ext.BlitFramebuffer + /// + [Flags] + public enum ClearBufferMask : int + { + /// + /// Original was GL_DEPTH_BUFFER_BIT = 0x00000100 + /// + DepthBufferBit = ((int)0x00000100) , + /// + /// Original was GL_ACCUM_BUFFER_BIT = 0x00000200 + /// + AccumBufferBit = ((int)0x00000200) , + /// + /// Original was GL_STENCIL_BUFFER_BIT = 0x00000400 + /// + StencilBufferBit = ((int)0x00000400) , + /// + /// Original was GL_COLOR_BUFFER_BIT = 0x00004000 + /// + ColorBufferBit = ((int)0x00004000) , + /// + /// Original was GL_COVERAGE_BUFFER_BIT_NV = 0x00008000 + /// + CoverageBufferBitNv = ((int)0x00008000) , + } + + /// + /// Used in GL.PushClientAttrib, GL.Ext.ClientAttribDefault, GL.Ext.PushClientAttribDefault + /// + [Flags] + public enum ClientAttribMask : int + { + /// + /// Original was GL_CLIENT_PIXEL_STORE_BIT = 0x00000001 + /// + ClientPixelStoreBit = ((int)0x00000001) , + /// + /// Original was GL_CLIENT_VERTEX_ARRAY_BIT = 0x00000002 + /// + ClientVertexArrayBit = ((int)0x00000002) , + /// + /// Original was GL_CLIENT_ALL_ATTRIB_BITS = 0xFFFFFFFF + /// + ClientAllAttribBits = unchecked((int)0xFFFFFFFF) , + } + + /// + /// Used in GL.ClipPlane, GL.GetClipPlane + /// + public enum ClipPlaneName : int + { + /// + /// Original was GL_CLIP_PLANE0 = 0x3000 + /// + ClipPlane0 = ((int)0x3000) , + /// + /// Original was GL_CLIP_PLANE1 = 0x3001 + /// + ClipPlane1 = ((int)0x3001) , + /// + /// Original was GL_CLIP_PLANE2 = 0x3002 + /// + ClipPlane2 = ((int)0x3002) , + /// + /// Original was GL_CLIP_PLANE3 = 0x3003 + /// + ClipPlane3 = ((int)0x3003) , + /// + /// Original was GL_CLIP_PLANE4 = 0x3004 + /// + ClipPlane4 = ((int)0x3004) , + /// + /// Original was GL_CLIP_PLANE5 = 0x3005 + /// + ClipPlane5 = ((int)0x3005) , + } + + /// + /// Not used directly. + /// + public enum ColorMaterialFace : int + { + /// + /// Original was GL_FRONT = 0x0404 + /// + Front = ((int)0x0404) , + /// + /// Original was GL_BACK = 0x0405 + /// + Back = ((int)0x0405) , + /// + /// Original was GL_FRONT_AND_BACK = 0x0408 + /// + FrontAndBack = ((int)0x0408) , + } + + /// + /// Used in GL.ColorMaterial + /// + public enum ColorMaterialParameter : int + { + /// + /// Original was GL_AMBIENT = 0x1200 + /// + Ambient = ((int)0x1200) , + /// + /// Original was GL_DIFFUSE = 0x1201 + /// + Diffuse = ((int)0x1201) , + /// + /// Original was GL_SPECULAR = 0x1202 + /// + Specular = ((int)0x1202) , + /// + /// Original was GL_EMISSION = 0x1600 + /// + Emission = ((int)0x1600) , + /// + /// Original was GL_AMBIENT_AND_DIFFUSE = 0x1602 + /// + AmbientAndDiffuse = ((int)0x1602) , + } + + /// + /// Used in GL.ColorPointer, GL.SecondaryColorPointer, GL.Ext.ColorPointer, GL.Ext.SecondaryColorPointer, GL.Ibm.ColorPointerList + /// + public enum ColorPointerType : int + { + /// + /// Original was GL_BYTE = 0x1400 + /// + Byte = ((int)0x1400) , + /// + /// Original was GL_UNSIGNED_BYTE = 0x1401 + /// + UnsignedByte = ((int)0x1401) , + /// + /// Original was GL_SHORT = 0x1402 + /// + Short = ((int)0x1402) , + /// + /// Original was GL_UNSIGNED_SHORT = 0x1403 + /// + UnsignedShort = ((int)0x1403) , + /// + /// Original was GL_INT = 0x1404 + /// + Int = ((int)0x1404) , + /// + /// Original was GL_UNSIGNED_INT = 0x1405 + /// + UnsignedInt = ((int)0x1405) , + /// + /// Original was GL_FLOAT = 0x1406 + /// + Float = ((int)0x1406) , + /// + /// Original was GL_DOUBLE = 0x140A + /// + Double = ((int)0x140A) , + /// + /// Original was GL_HALF_FLOAT = 0x140B + /// + HalfFloat = ((int)0x140B) , + /// + /// Original was GL_UNSIGNED_INT_2_10_10_10_REV = 0x8368 + /// + UnsignedInt2101010Rev = ((int)0x8368) , + /// + /// Original was GL_INT_2_10_10_10_REV = 0x8D9F + /// + Int2101010Rev = ((int)0x8D9F) , + } + + /// + /// Used in GL.ColorTableParameter + /// + public enum ColorTableParameterPName : int + { + /// + /// Original was GL_COLOR_TABLE_SCALE = 0x80D6 + /// + ColorTableScale = ((int)0x80D6) , + /// + /// Original was GL_COLOR_TABLE_BIAS = 0x80D7 + /// + ColorTableBias = ((int)0x80D7) , + } + + /// + /// Not used directly. + /// + public enum ColorTableParameterPNameSgi : int + { + /// + /// Original was GL_COLOR_TABLE_SCALE_SGI = 0x80D6 + /// + ColorTableScaleSgi = ((int)0x80D6) , + /// + /// Original was GL_COLOR_TABLE_BIAS_SGI = 0x80D7 + /// + ColorTableBiasSgi = ((int)0x80D7) , + } + + /// + /// Used in GL.ColorSubTable, GL.ColorTable, GL.ColorTableParameter, GL.CopyColorSubTable, GL.CopyColorTable, GL.GetColorTable, GL.GetColorTableParameter, GL.Ext.ColorSubTable, GL.Ext.ColorTable, GL.Ext.CopyColorSubTable, GL.Ext.GetColorTable, GL.Ext.GetColorTableParameter + /// + public enum ColorTableTarget : int + { + /// + /// Original was GL_COLOR_TABLE = 0x80D0 + /// + ColorTable = ((int)0x80D0) , + /// + /// Original was GL_POST_CONVOLUTION_COLOR_TABLE = 0x80D1 + /// + PostConvolutionColorTable = ((int)0x80D1) , + /// + /// Original was GL_POST_COLOR_MATRIX_COLOR_TABLE = 0x80D2 + /// + PostColorMatrixColorTable = ((int)0x80D2) , + /// + /// Original was GL_PROXY_COLOR_TABLE = 0x80D3 + /// + ProxyColorTable = ((int)0x80D3) , + /// + /// Original was GL_PROXY_POST_CONVOLUTION_COLOR_TABLE = 0x80D4 + /// + ProxyPostConvolutionColorTable = ((int)0x80D4) , + /// + /// Original was GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE = 0x80D5 + /// + ProxyPostColorMatrixColorTable = ((int)0x80D5) , + } + + /// + /// Not used directly. + /// + public enum ColorTableTargetSgi : int + { + /// + /// Original was GL_TEXTURE_COLOR_TABLE_SGI = 0x80BC + /// + TextureColorTableSgi = ((int)0x80BC) , + /// + /// Original was GL_PROXY_TEXTURE_COLOR_TABLE_SGI = 0x80BD + /// + ProxyTextureColorTableSgi = ((int)0x80BD) , + /// + /// Original was GL_COLOR_TABLE_SGI = 0x80D0 + /// + ColorTableSgi = ((int)0x80D0) , + /// + /// Original was GL_POST_CONVOLUTION_COLOR_TABLE_SGI = 0x80D1 + /// + PostConvolutionColorTableSgi = ((int)0x80D1) , + /// + /// Original was GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI = 0x80D2 + /// + PostColorMatrixColorTableSgi = ((int)0x80D2) , + /// + /// Original was GL_PROXY_COLOR_TABLE_SGI = 0x80D3 + /// + ProxyColorTableSgi = ((int)0x80D3) , + /// + /// Original was GL_PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI = 0x80D4 + /// + ProxyPostConvolutionColorTableSgi = ((int)0x80D4) , + /// + /// Original was GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI = 0x80D5 + /// + ProxyPostColorMatrixColorTableSgi = ((int)0x80D5) , + } + + /// + /// Used in GL.BeginConditionalRender + /// + public enum ConditionalRenderType : int + { + /// + /// Original was GL_QUERY_WAIT = 0x8E13 + /// + QueryWait = ((int)0x8E13) , + /// + /// Original was GL_QUERY_NO_WAIT = 0x8E14 + /// + QueryNoWait = ((int)0x8E14) , + /// + /// Original was GL_QUERY_BY_REGION_WAIT = 0x8E15 + /// + QueryByRegionWait = ((int)0x8E15) , + /// + /// Original was GL_QUERY_BY_REGION_NO_WAIT = 0x8E16 + /// + QueryByRegionNoWait = ((int)0x8E16) , + } + + /// + /// Not used directly. + /// + public enum ConvolutionBorderModeExt : int + { + /// + /// Original was GL_REDUCE_EXT = 0x8016 + /// + ReduceExt = ((int)0x8016) , + } + + /// + /// Used in GL.ConvolutionParameter + /// + public enum ConvolutionParameter : int + { + /// + /// Original was GL_CONVOLUTION_BORDER_MODE = 0x8013 + /// + ConvolutionBorderMode = ((int)0x8013) , + /// + /// Original was GL_CONVOLUTION_FILTER_SCALE = 0x8014 + /// + ConvolutionFilterScale = ((int)0x8014) , + /// + /// Original was GL_CONVOLUTION_FILTER_BIAS = 0x8015 + /// + ConvolutionFilterBias = ((int)0x8015) , + } + + /// + /// Not used directly. + /// + public enum ConvolutionParameterExt : int + { + /// + /// Original was GL_CONVOLUTION_BORDER_MODE_EXT = 0x8013 + /// + ConvolutionBorderModeExt = ((int)0x8013) , + /// + /// Original was GL_CONVOLUTION_FILTER_SCALE_EXT = 0x8014 + /// + ConvolutionFilterScaleExt = ((int)0x8014) , + /// + /// Original was GL_CONVOLUTION_FILTER_BIAS_EXT = 0x8015 + /// + ConvolutionFilterBiasExt = ((int)0x8015) , + } + + /// + /// Not used directly. + /// + public enum ConvolutionParameterValue : int + { + /// + /// Original was GL_REDUCE = 0x8016 + /// + Reduce = ((int)0x8016) , + /// + /// Original was GL_CONSTANT_BORDER = 0x8151 + /// + ConstantBorder = ((int)0x8151) , + /// + /// Original was GL_REPLICATE_BORDER = 0x8153 + /// + ReplicateBorder = ((int)0x8153) , + } + + /// + /// Used in GL.ConvolutionFilter1D, GL.ConvolutionFilter2D, GL.ConvolutionParameter, GL.CopyConvolutionFilter1D, GL.CopyConvolutionFilter2D, GL.GetConvolutionFilter, GL.GetConvolutionParameter + /// + public enum ConvolutionTarget : int + { + /// + /// Original was GL_CONVOLUTION_1D = 0x8010 + /// + Convolution1D = ((int)0x8010) , + /// + /// Original was GL_CONVOLUTION_2D = 0x8011 + /// + Convolution2D = ((int)0x8011) , + /// + /// Original was GL_SEPARABLE_2D = 0x8012 + /// + Separable2D = ((int)0x8012) , + } + + /// + /// Not used directly. + /// + public enum ConvolutionTargetExt : int + { + /// + /// Original was GL_CONVOLUTION_1D_EXT = 0x8010 + /// + Convolution1DExt = ((int)0x8010) , + /// + /// Original was GL_CONVOLUTION_2D_EXT = 0x8011 + /// + Convolution2DExt = ((int)0x8011) , + } + + /// + /// Used in GL.CullFace + /// + public enum CullFaceMode : int + { + /// + /// Original was GL_FRONT = 0x0404 + /// + Front = ((int)0x0404) , + /// + /// Original was GL_BACK = 0x0405 + /// + Back = ((int)0x0405) , + /// + /// Original was GL_FRONT_AND_BACK = 0x0408 + /// + FrontAndBack = ((int)0x0408) , + } + + /// + /// Not used directly. + /// + public enum DataType : int + { + /// + /// Original was GL_BYTE = 0x1400 + /// + Byte = ((int)0x1400) , + /// + /// Original was GL_UNSIGNED_BYTE = 0x1401 + /// + UnsignedByte = ((int)0x1401) , + /// + /// Original was GL_SHORT = 0x1402 + /// + Short = ((int)0x1402) , + /// + /// Original was GL_UNSIGNED_SHORT = 0x1403 + /// + UnsignedShort = ((int)0x1403) , + /// + /// Original was GL_INT = 0x1404 + /// + Int = ((int)0x1404) , + /// + /// Original was GL_UNSIGNED_INT = 0x1405 + /// + UnsignedInt = ((int)0x1405) , + /// + /// Original was GL_FLOAT = 0x1406 + /// + Float = ((int)0x1406) , + /// + /// Original was GL_2_BYTES = 0x1407 + /// + Gl2Bytes = ((int)0x1407) , + /// + /// Original was GL_3_BYTES = 0x1408 + /// + Gl3Bytes = ((int)0x1408) , + /// + /// Original was GL_4_BYTES = 0x1409 + /// + Gl4Bytes = ((int)0x1409) , + /// + /// Original was GL_DOUBLE = 0x140A + /// + Double = ((int)0x140A) , + /// + /// Original was GL_DOUBLE_EXT = 0x140A + /// + DoubleExt = ((int)0x140A) , + } + + /// + /// Used in GL.DepthFunc + /// + public enum DepthFunction : int + { + /// + /// Original was GL_NEVER = 0x0200 + /// + Never = ((int)0x0200) , + /// + /// Original was GL_LESS = 0x0201 + /// + Less = ((int)0x0201) , + /// + /// Original was GL_EQUAL = 0x0202 + /// + Equal = ((int)0x0202) , + /// + /// Original was GL_LEQUAL = 0x0203 + /// + Lequal = ((int)0x0203) , + /// + /// Original was GL_GREATER = 0x0204 + /// + Greater = ((int)0x0204) , + /// + /// Original was GL_NOTEQUAL = 0x0205 + /// + Notequal = ((int)0x0205) , + /// + /// Original was GL_GEQUAL = 0x0206 + /// + Gequal = ((int)0x0206) , + /// + /// Original was GL_ALWAYS = 0x0207 + /// + Always = ((int)0x0207) , + } + + /// + /// Not used directly. + /// + public enum DmpShaderBinary : int + { + /// + /// Original was GL_SHADER_BINARY_DMP = 0x9250 + /// + ShaderBinaryDmp = ((int)0x9250) , + } + + /// + /// Used in GL.DrawBuffer, GL.Ext.FramebufferDrawBuffer, GL.Ext.FramebufferDrawBuffers + /// + public enum DrawBufferMode : int + { + /// + /// Original was GL_NONE = 0 + /// + None = ((int)0) , + /// + /// Original was GL_FRONT_LEFT = 0x0400 + /// + FrontLeft = ((int)0x0400) , + /// + /// Original was GL_FRONT_RIGHT = 0x0401 + /// + FrontRight = ((int)0x0401) , + /// + /// Original was GL_BACK_LEFT = 0x0402 + /// + BackLeft = ((int)0x0402) , + /// + /// Original was GL_BACK_RIGHT = 0x0403 + /// + BackRight = ((int)0x0403) , + /// + /// Original was GL_FRONT = 0x0404 + /// + Front = ((int)0x0404) , + /// + /// Original was GL_BACK = 0x0405 + /// + Back = ((int)0x0405) , + /// + /// Original was GL_LEFT = 0x0406 + /// + Left = ((int)0x0406) , + /// + /// Original was GL_RIGHT = 0x0407 + /// + Right = ((int)0x0407) , + /// + /// Original was GL_FRONT_AND_BACK = 0x0408 + /// + FrontAndBack = ((int)0x0408) , + /// + /// Original was GL_AUX0 = 0x0409 + /// + Aux0 = ((int)0x0409) , + /// + /// Original was GL_AUX1 = 0x040A + /// + Aux1 = ((int)0x040A) , + /// + /// Original was GL_AUX2 = 0x040B + /// + Aux2 = ((int)0x040B) , + /// + /// Original was GL_AUX3 = 0x040C + /// + Aux3 = ((int)0x040C) , + /// + /// Original was GL_COLOR_ATTACHMENT0 = 0x8CE0 + /// + ColorAttachment0 = ((int)0x8CE0) , + /// + /// Original was GL_COLOR_ATTACHMENT1 = 0x8CE1 + /// + ColorAttachment1 = ((int)0x8CE1) , + /// + /// Original was GL_COLOR_ATTACHMENT2 = 0x8CE2 + /// + ColorAttachment2 = ((int)0x8CE2) , + /// + /// Original was GL_COLOR_ATTACHMENT3 = 0x8CE3 + /// + ColorAttachment3 = ((int)0x8CE3) , + /// + /// Original was GL_COLOR_ATTACHMENT4 = 0x8CE4 + /// + ColorAttachment4 = ((int)0x8CE4) , + /// + /// Original was GL_COLOR_ATTACHMENT5 = 0x8CE5 + /// + ColorAttachment5 = ((int)0x8CE5) , + /// + /// Original was GL_COLOR_ATTACHMENT6 = 0x8CE6 + /// + ColorAttachment6 = ((int)0x8CE6) , + /// + /// Original was GL_COLOR_ATTACHMENT7 = 0x8CE7 + /// + ColorAttachment7 = ((int)0x8CE7) , + /// + /// Original was GL_COLOR_ATTACHMENT8 = 0x8CE8 + /// + ColorAttachment8 = ((int)0x8CE8) , + /// + /// Original was GL_COLOR_ATTACHMENT9 = 0x8CE9 + /// + ColorAttachment9 = ((int)0x8CE9) , + /// + /// Original was GL_COLOR_ATTACHMENT10 = 0x8CEA + /// + ColorAttachment10 = ((int)0x8CEA) , + /// + /// Original was GL_COLOR_ATTACHMENT11 = 0x8CEB + /// + ColorAttachment11 = ((int)0x8CEB) , + /// + /// Original was GL_COLOR_ATTACHMENT12 = 0x8CEC + /// + ColorAttachment12 = ((int)0x8CEC) , + /// + /// Original was GL_COLOR_ATTACHMENT13 = 0x8CED + /// + ColorAttachment13 = ((int)0x8CED) , + /// + /// Original was GL_COLOR_ATTACHMENT14 = 0x8CEE + /// + ColorAttachment14 = ((int)0x8CEE) , + /// + /// Original was GL_COLOR_ATTACHMENT15 = 0x8CEF + /// + ColorAttachment15 = ((int)0x8CEF) , + } + + /// + /// Used in GL.DrawBuffers + /// + public enum DrawBuffersEnum : int + { + /// + /// Original was GL_NONE = 0 + /// + None = ((int)0) , + /// + /// Original was GL_FRONT_LEFT = 0x0400 + /// + FrontLeft = ((int)0x0400) , + /// + /// Original was GL_FRONT_RIGHT = 0x0401 + /// + FrontRight = ((int)0x0401) , + /// + /// Original was GL_BACK_LEFT = 0x0402 + /// + BackLeft = ((int)0x0402) , + /// + /// Original was GL_BACK_RIGHT = 0x0403 + /// + BackRight = ((int)0x0403) , + /// + /// Original was GL_AUX0 = 0x0409 + /// + Aux0 = ((int)0x0409) , + /// + /// Original was GL_AUX1 = 0x040A + /// + Aux1 = ((int)0x040A) , + /// + /// Original was GL_AUX2 = 0x040B + /// + Aux2 = ((int)0x040B) , + /// + /// Original was GL_AUX3 = 0x040C + /// + Aux3 = ((int)0x040C) , + /// + /// Original was GL_COLOR_ATTACHMENT0 = 0x8CE0 + /// + ColorAttachment0 = ((int)0x8CE0) , + /// + /// Original was GL_COLOR_ATTACHMENT1 = 0x8CE1 + /// + ColorAttachment1 = ((int)0x8CE1) , + /// + /// Original was GL_COLOR_ATTACHMENT2 = 0x8CE2 + /// + ColorAttachment2 = ((int)0x8CE2) , + /// + /// Original was GL_COLOR_ATTACHMENT3 = 0x8CE3 + /// + ColorAttachment3 = ((int)0x8CE3) , + /// + /// Original was GL_COLOR_ATTACHMENT4 = 0x8CE4 + /// + ColorAttachment4 = ((int)0x8CE4) , + /// + /// Original was GL_COLOR_ATTACHMENT5 = 0x8CE5 + /// + ColorAttachment5 = ((int)0x8CE5) , + /// + /// Original was GL_COLOR_ATTACHMENT6 = 0x8CE6 + /// + ColorAttachment6 = ((int)0x8CE6) , + /// + /// Original was GL_COLOR_ATTACHMENT7 = 0x8CE7 + /// + ColorAttachment7 = ((int)0x8CE7) , + /// + /// Original was GL_COLOR_ATTACHMENT8 = 0x8CE8 + /// + ColorAttachment8 = ((int)0x8CE8) , + /// + /// Original was GL_COLOR_ATTACHMENT9 = 0x8CE9 + /// + ColorAttachment9 = ((int)0x8CE9) , + /// + /// Original was GL_COLOR_ATTACHMENT10 = 0x8CEA + /// + ColorAttachment10 = ((int)0x8CEA) , + /// + /// Original was GL_COLOR_ATTACHMENT11 = 0x8CEB + /// + ColorAttachment11 = ((int)0x8CEB) , + /// + /// Original was GL_COLOR_ATTACHMENT12 = 0x8CEC + /// + ColorAttachment12 = ((int)0x8CEC) , + /// + /// Original was GL_COLOR_ATTACHMENT13 = 0x8CED + /// + ColorAttachment13 = ((int)0x8CED) , + /// + /// Original was GL_COLOR_ATTACHMENT14 = 0x8CEE + /// + ColorAttachment14 = ((int)0x8CEE) , + /// + /// Original was GL_COLOR_ATTACHMENT15 = 0x8CEF + /// + ColorAttachment15 = ((int)0x8CEF) , + } + + /// + /// Used in GL.Arb.DrawElementsInstanced, GL.DrawElements, GL.DrawElementsBaseVertex, GL.DrawElementsInstanced, GL.DrawElementsInstancedBaseVertex, GL.DrawRangeElements, GL.DrawRangeElementsBaseVertex, GL.MultiDrawElements, GL.MultiDrawElementsBaseVertex, GL.Ext.DrawElementsInstanced, GL.Ext.DrawRangeElements, GL.Ext.MultiDrawElements, GL.Ibm.MultiModeDrawElements + /// + public enum DrawElementsType : int + { + /// + /// Original was GL_UNSIGNED_BYTE = 0x1401 + /// + UnsignedByte = ((int)0x1401) , + /// + /// Original was GL_UNSIGNED_SHORT = 0x1403 + /// + UnsignedShort = ((int)0x1403) , + /// + /// Original was GL_UNSIGNED_INT = 0x1405 + /// + UnsignedInt = ((int)0x1405) , + } + + /// + /// Used in GL.Ati.ArrayObject, GL.Ati.GetArrayObject, GL.Disable, GL.Enable, GL.IsEnabled, GL.Ext.DisableClientStateIndexed, GL.Ext.EnableClientStateIndexed + /// + public enum EnableCap : int + { + /// + /// Original was GL_POINT_SMOOTH = 0x0B10 + /// + PointSmooth = ((int)0x0B10) , + /// + /// Original was GL_LINE_SMOOTH = 0x0B20 + /// + LineSmooth = ((int)0x0B20) , + /// + /// Original was GL_LINE_STIPPLE = 0x0B24 + /// + LineStipple = ((int)0x0B24) , + /// + /// Original was GL_POLYGON_SMOOTH = 0x0B41 + /// + PolygonSmooth = ((int)0x0B41) , + /// + /// Original was GL_POLYGON_STIPPLE = 0x0B42 + /// + PolygonStipple = ((int)0x0B42) , + /// + /// Original was GL_CULL_FACE = 0x0B44 + /// + CullFace = ((int)0x0B44) , + /// + /// Original was GL_LIGHTING = 0x0B50 + /// + Lighting = ((int)0x0B50) , + /// + /// Original was GL_COLOR_MATERIAL = 0x0B57 + /// + ColorMaterial = ((int)0x0B57) , + /// + /// Original was GL_FOG = 0x0B60 + /// + Fog = ((int)0x0B60) , + /// + /// Original was GL_DEPTH_TEST = 0x0B71 + /// + DepthTest = ((int)0x0B71) , + /// + /// Original was GL_STENCIL_TEST = 0x0B90 + /// + StencilTest = ((int)0x0B90) , + /// + /// Original was GL_NORMALIZE = 0x0BA1 + /// + Normalize = ((int)0x0BA1) , + /// + /// Original was GL_ALPHA_TEST = 0x0BC0 + /// + AlphaTest = ((int)0x0BC0) , + /// + /// Original was GL_DITHER = 0x0BD0 + /// + Dither = ((int)0x0BD0) , + /// + /// Original was GL_BLEND = 0x0BE2 + /// + Blend = ((int)0x0BE2) , + /// + /// Original was GL_INDEX_LOGIC_OP = 0x0BF1 + /// + IndexLogicOp = ((int)0x0BF1) , + /// + /// Original was GL_COLOR_LOGIC_OP = 0x0BF2 + /// + ColorLogicOp = ((int)0x0BF2) , + /// + /// Original was GL_SCISSOR_TEST = 0x0C11 + /// + ScissorTest = ((int)0x0C11) , + /// + /// Original was GL_TEXTURE_GEN_S = 0x0C60 + /// + TextureGenS = ((int)0x0C60) , + /// + /// Original was GL_TEXTURE_GEN_T = 0x0C61 + /// + TextureGenT = ((int)0x0C61) , + /// + /// Original was GL_TEXTURE_GEN_R = 0x0C62 + /// + TextureGenR = ((int)0x0C62) , + /// + /// Original was GL_TEXTURE_GEN_Q = 0x0C63 + /// + TextureGenQ = ((int)0x0C63) , + /// + /// Original was GL_AUTO_NORMAL = 0x0D80 + /// + AutoNormal = ((int)0x0D80) , + /// + /// Original was GL_MAP1_COLOR_4 = 0x0D90 + /// + Map1Color4 = ((int)0x0D90) , + /// + /// Original was GL_MAP1_INDEX = 0x0D91 + /// + Map1Index = ((int)0x0D91) , + /// + /// Original was GL_MAP1_NORMAL = 0x0D92 + /// + Map1Normal = ((int)0x0D92) , + /// + /// Original was GL_MAP1_TEXTURE_COORD_1 = 0x0D93 + /// + Map1TextureCoord1 = ((int)0x0D93) , + /// + /// Original was GL_MAP1_TEXTURE_COORD_2 = 0x0D94 + /// + Map1TextureCoord2 = ((int)0x0D94) , + /// + /// Original was GL_MAP1_TEXTURE_COORD_3 = 0x0D95 + /// + Map1TextureCoord3 = ((int)0x0D95) , + /// + /// Original was GL_MAP1_TEXTURE_COORD_4 = 0x0D96 + /// + Map1TextureCoord4 = ((int)0x0D96) , + /// + /// Original was GL_MAP1_VERTEX_3 = 0x0D97 + /// + Map1Vertex3 = ((int)0x0D97) , + /// + /// Original was GL_MAP1_VERTEX_4 = 0x0D98 + /// + Map1Vertex4 = ((int)0x0D98) , + /// + /// Original was GL_MAP2_COLOR_4 = 0x0DB0 + /// + Map2Color4 = ((int)0x0DB0) , + /// + /// Original was GL_MAP2_INDEX = 0x0DB1 + /// + Map2Index = ((int)0x0DB1) , + /// + /// Original was GL_MAP2_NORMAL = 0x0DB2 + /// + Map2Normal = ((int)0x0DB2) , + /// + /// Original was GL_MAP2_TEXTURE_COORD_1 = 0x0DB3 + /// + Map2TextureCoord1 = ((int)0x0DB3) , + /// + /// Original was GL_MAP2_TEXTURE_COORD_2 = 0x0DB4 + /// + Map2TextureCoord2 = ((int)0x0DB4) , + /// + /// Original was GL_MAP2_TEXTURE_COORD_3 = 0x0DB5 + /// + Map2TextureCoord3 = ((int)0x0DB5) , + /// + /// Original was GL_MAP2_TEXTURE_COORD_4 = 0x0DB6 + /// + Map2TextureCoord4 = ((int)0x0DB6) , + /// + /// Original was GL_MAP2_VERTEX_3 = 0x0DB7 + /// + Map2Vertex3 = ((int)0x0DB7) , + /// + /// Original was GL_MAP2_VERTEX_4 = 0x0DB8 + /// + Map2Vertex4 = ((int)0x0DB8) , + /// + /// Original was GL_TEXTURE_1D = 0x0DE0 + /// + Texture1D = ((int)0x0DE0) , + /// + /// Original was GL_TEXTURE_2D = 0x0DE1 + /// + Texture2D = ((int)0x0DE1) , + /// + /// Original was GL_POLYGON_OFFSET_POINT = 0x2A01 + /// + PolygonOffsetPoint = ((int)0x2A01) , + /// + /// Original was GL_POLYGON_OFFSET_LINE = 0x2A02 + /// + PolygonOffsetLine = ((int)0x2A02) , + /// + /// Original was GL_CLIP_PLANE0 = 0x3000 + /// + ClipPlane0 = ((int)0x3000) , + /// + /// Original was GL_CLIP_PLANE1 = 0x3001 + /// + ClipPlane1 = ((int)0x3001) , + /// + /// Original was GL_CLIP_PLANE2 = 0x3002 + /// + ClipPlane2 = ((int)0x3002) , + /// + /// Original was GL_CLIP_PLANE3 = 0x3003 + /// + ClipPlane3 = ((int)0x3003) , + /// + /// Original was GL_CLIP_PLANE4 = 0x3004 + /// + ClipPlane4 = ((int)0x3004) , + /// + /// Original was GL_CLIP_PLANE5 = 0x3005 + /// + ClipPlane5 = ((int)0x3005) , + /// + /// Original was GL_LIGHT0 = 0x4000 + /// + Light0 = ((int)0x4000) , + /// + /// Original was GL_LIGHT1 = 0x4001 + /// + Light1 = ((int)0x4001) , + /// + /// Original was GL_LIGHT2 = 0x4002 + /// + Light2 = ((int)0x4002) , + /// + /// Original was GL_LIGHT3 = 0x4003 + /// + Light3 = ((int)0x4003) , + /// + /// Original was GL_LIGHT4 = 0x4004 + /// + Light4 = ((int)0x4004) , + /// + /// Original was GL_LIGHT5 = 0x4005 + /// + Light5 = ((int)0x4005) , + /// + /// Original was GL_LIGHT6 = 0x4006 + /// + Light6 = ((int)0x4006) , + /// + /// Original was GL_LIGHT7 = 0x4007 + /// + Light7 = ((int)0x4007) , + /// + /// Original was GL_CONVOLUTION_1D = 0x8010 + /// + Convolution1D = ((int)0x8010) , + /// + /// Original was GL_CONVOLUTION_1D_EXT = 0x8010 + /// + Convolution1DExt = ((int)0x8010) , + /// + /// Original was GL_CONVOLUTION_2D = 0x8011 + /// + Convolution2D = ((int)0x8011) , + /// + /// Original was GL_CONVOLUTION_2D_EXT = 0x8011 + /// + Convolution2DExt = ((int)0x8011) , + /// + /// Original was GL_SEPARABLE_2D = 0x8012 + /// + Separable2D = ((int)0x8012) , + /// + /// Original was GL_SEPARABLE_2D_EXT = 0x8012 + /// + Separable2DExt = ((int)0x8012) , + /// + /// Original was GL_HISTOGRAM = 0x8024 + /// + Histogram = ((int)0x8024) , + /// + /// Original was GL_HISTOGRAM_EXT = 0x8024 + /// + HistogramExt = ((int)0x8024) , + /// + /// Original was GL_MINMAX_EXT = 0x802E + /// + MinmaxExt = ((int)0x802E) , + /// + /// Original was GL_POLYGON_OFFSET_FILL = 0x8037 + /// + PolygonOffsetFill = ((int)0x8037) , + /// + /// Original was GL_RESCALE_NORMAL = 0x803A + /// + RescaleNormal = ((int)0x803A) , + /// + /// Original was GL_RESCALE_NORMAL_EXT = 0x803A + /// + RescaleNormalExt = ((int)0x803A) , + /// + /// Original was GL_TEXTURE_3D_EXT = 0x806F + /// + Texture3DExt = ((int)0x806F) , + /// + /// Original was GL_VERTEX_ARRAY = 0x8074 + /// + VertexArray = ((int)0x8074) , + /// + /// Original was GL_NORMAL_ARRAY = 0x8075 + /// + NormalArray = ((int)0x8075) , + /// + /// Original was GL_COLOR_ARRAY = 0x8076 + /// + ColorArray = ((int)0x8076) , + /// + /// Original was GL_INDEX_ARRAY = 0x8077 + /// + IndexArray = ((int)0x8077) , + /// + /// Original was GL_TEXTURE_COORD_ARRAY = 0x8078 + /// + TextureCoordArray = ((int)0x8078) , + /// + /// Original was GL_EDGE_FLAG_ARRAY = 0x8079 + /// + EdgeFlagArray = ((int)0x8079) , + /// + /// Original was GL_INTERLACE_SGIX = 0x8094 + /// + InterlaceSgix = ((int)0x8094) , + /// + /// Original was GL_MULTISAMPLE = 0x809D + /// + Multisample = ((int)0x809D) , + /// + /// Original was GL_MULTISAMPLE_SGIS = 0x809D + /// + MultisampleSgis = ((int)0x809D) , + /// + /// Original was GL_SAMPLE_ALPHA_TO_COVERAGE = 0x809E + /// + SampleAlphaToCoverage = ((int)0x809E) , + /// + /// Original was GL_SAMPLE_ALPHA_TO_MASK_SGIS = 0x809E + /// + SampleAlphaToMaskSgis = ((int)0x809E) , + /// + /// Original was GL_SAMPLE_ALPHA_TO_ONE = 0x809F + /// + SampleAlphaToOne = ((int)0x809F) , + /// + /// Original was GL_SAMPLE_ALPHA_TO_ONE_SGIS = 0x809F + /// + SampleAlphaToOneSgis = ((int)0x809F) , + /// + /// Original was GL_SAMPLE_COVERAGE = 0x80A0 + /// + SampleCoverage = ((int)0x80A0) , + /// + /// Original was GL_SAMPLE_MASK_SGIS = 0x80A0 + /// + SampleMaskSgis = ((int)0x80A0) , + /// + /// Original was GL_TEXTURE_COLOR_TABLE_SGI = 0x80BC + /// + TextureColorTableSgi = ((int)0x80BC) , + /// + /// Original was GL_COLOR_TABLE = 0x80D0 + /// + ColorTable = ((int)0x80D0) , + /// + /// Original was GL_COLOR_TABLE_SGI = 0x80D0 + /// + ColorTableSgi = ((int)0x80D0) , + /// + /// Original was GL_POST_CONVOLUTION_COLOR_TABLE = 0x80D1 + /// + PostConvolutionColorTable = ((int)0x80D1) , + /// + /// Original was GL_POST_CONVOLUTION_COLOR_TABLE_SGI = 0x80D1 + /// + PostConvolutionColorTableSgi = ((int)0x80D1) , + /// + /// Original was GL_POST_COLOR_MATRIX_COLOR_TABLE = 0x80D2 + /// + PostColorMatrixColorTable = ((int)0x80D2) , + /// + /// Original was GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI = 0x80D2 + /// + PostColorMatrixColorTableSgi = ((int)0x80D2) , + /// + /// Original was GL_TEXTURE_4D_SGIS = 0x8134 + /// + Texture4DSgis = ((int)0x8134) , + /// + /// Original was GL_PIXEL_TEX_GEN_SGIX = 0x8139 + /// + PixelTexGenSgix = ((int)0x8139) , + /// + /// Original was GL_SPRITE_SGIX = 0x8148 + /// + SpriteSgix = ((int)0x8148) , + /// + /// Original was GL_REFERENCE_PLANE_SGIX = 0x817D + /// + ReferencePlaneSgix = ((int)0x817D) , + /// + /// Original was GL_IR_INSTRUMENT1_SGIX = 0x817F + /// + IrInstrument1Sgix = ((int)0x817F) , + /// + /// Original was GL_CALLIGRAPHIC_FRAGMENT_SGIX = 0x8183 + /// + CalligraphicFragmentSgix = ((int)0x8183) , + /// + /// Original was GL_FRAMEZOOM_SGIX = 0x818B + /// + FramezoomSgix = ((int)0x818B) , + /// + /// Original was GL_FOG_OFFSET_SGIX = 0x8198 + /// + FogOffsetSgix = ((int)0x8198) , + /// + /// Original was GL_SHARED_TEXTURE_PALETTE_EXT = 0x81FB + /// + SharedTexturePaletteExt = ((int)0x81FB) , + /// + /// Original was GL_ASYNC_HISTOGRAM_SGIX = 0x832C + /// + AsyncHistogramSgix = ((int)0x832C) , + /// + /// Original was GL_PIXEL_TEXTURE_SGIS = 0x8353 + /// + PixelTextureSgis = ((int)0x8353) , + /// + /// Original was GL_ASYNC_TEX_IMAGE_SGIX = 0x835C + /// + AsyncTexImageSgix = ((int)0x835C) , + /// + /// Original was GL_ASYNC_DRAW_PIXELS_SGIX = 0x835D + /// + AsyncDrawPixelsSgix = ((int)0x835D) , + /// + /// Original was GL_ASYNC_READ_PIXELS_SGIX = 0x835E + /// + AsyncReadPixelsSgix = ((int)0x835E) , + /// + /// Original was GL_FRAGMENT_LIGHTING_SGIX = 0x8400 + /// + FragmentLightingSgix = ((int)0x8400) , + /// + /// Original was GL_FRAGMENT_COLOR_MATERIAL_SGIX = 0x8401 + /// + FragmentColorMaterialSgix = ((int)0x8401) , + /// + /// Original was GL_FRAGMENT_LIGHT0_SGIX = 0x840C + /// + FragmentLight0Sgix = ((int)0x840C) , + /// + /// Original was GL_FRAGMENT_LIGHT1_SGIX = 0x840D + /// + FragmentLight1Sgix = ((int)0x840D) , + /// + /// Original was GL_FRAGMENT_LIGHT2_SGIX = 0x840E + /// + FragmentLight2Sgix = ((int)0x840E) , + /// + /// Original was GL_FRAGMENT_LIGHT3_SGIX = 0x840F + /// + FragmentLight3Sgix = ((int)0x840F) , + /// + /// Original was GL_FRAGMENT_LIGHT4_SGIX = 0x8410 + /// + FragmentLight4Sgix = ((int)0x8410) , + /// + /// Original was GL_FRAGMENT_LIGHT5_SGIX = 0x8411 + /// + FragmentLight5Sgix = ((int)0x8411) , + /// + /// Original was GL_FRAGMENT_LIGHT6_SGIX = 0x8412 + /// + FragmentLight6Sgix = ((int)0x8412) , + /// + /// Original was GL_FRAGMENT_LIGHT7_SGIX = 0x8413 + /// + FragmentLight7Sgix = ((int)0x8413) , + /// + /// Original was GL_FOG_COORD_ARRAY = 0x8457 + /// + FogCoordArray = ((int)0x8457) , + /// + /// Original was GL_COLOR_SUM = 0x8458 + /// + ColorSum = ((int)0x8458) , + /// + /// Original was GL_SECONDARY_COLOR_ARRAY = 0x845E + /// + SecondaryColorArray = ((int)0x845E) , + /// + /// Original was GL_TEXTURE_RECTANGLE = 0x84F5 + /// + TextureRectangle = ((int)0x84F5) , + /// + /// Original was GL_TEXTURE_CUBE_MAP = 0x8513 + /// + TextureCubeMap = ((int)0x8513) , + /// + /// Original was GL_PROGRAM_POINT_SIZE = 0x8642 + /// + ProgramPointSize = ((int)0x8642) , + /// + /// Original was GL_VERTEX_PROGRAM_POINT_SIZE = 0x8642 + /// + VertexProgramPointSize = ((int)0x8642) , + /// + /// Original was GL_VERTEX_PROGRAM_TWO_SIDE = 0x8643 + /// + VertexProgramTwoSide = ((int)0x8643) , + /// + /// Original was GL_DEPTH_CLAMP = 0x864F + /// + DepthClamp = ((int)0x864F) , + /// + /// Original was GL_TEXTURE_CUBE_MAP_SEAMLESS = 0x884F + /// + TextureCubeMapSeamless = ((int)0x884F) , + /// + /// Original was GL_POINT_SPRITE = 0x8861 + /// + PointSprite = ((int)0x8861) , + /// + /// Original was GL_SAMPLE_SHADING = 0x8C36 + /// + SampleShading = ((int)0x8C36) , + /// + /// Original was GL_RASTERIZER_DISCARD = 0x8C89 + /// + RasterizerDiscard = ((int)0x8C89) , + /// + /// Original was GL_FRAMEBUFFER_SRGB = 0x8DB9 + /// + FramebufferSrgb = ((int)0x8DB9) , + /// + /// Original was GL_SAMPLE_MASK = 0x8E51 + /// + SampleMask = ((int)0x8E51) , + /// + /// Original was GL_PRIMITIVE_RESTART = 0x8F9D + /// + PrimitiveRestart = ((int)0x8F9D) , + } + + /// + /// Not used directly. + /// + public enum ErrorCode : int + { + /// + /// Original was GL_NO_ERROR = 0 + /// + NoError = ((int)0) , + /// + /// Original was GL_INVALID_ENUM = 0x0500 + /// + InvalidEnum = ((int)0x0500) , + /// + /// Original was GL_INVALID_VALUE = 0x0501 + /// + InvalidValue = ((int)0x0501) , + /// + /// Original was GL_INVALID_OPERATION = 0x0502 + /// + InvalidOperation = ((int)0x0502) , + /// + /// Original was GL_STACK_OVERFLOW = 0x0503 + /// + StackOverflow = ((int)0x0503) , + /// + /// Original was GL_STACK_UNDERFLOW = 0x0504 + /// + StackUnderflow = ((int)0x0504) , + /// + /// Original was GL_OUT_OF_MEMORY = 0x0505 + /// + OutOfMemory = ((int)0x0505) , + /// + /// Original was GL_INVALID_FRAMEBUFFER_OPERATION = 0x0506 + /// + InvalidFramebufferOperation = ((int)0x0506) , + /// + /// Original was GL_INVALID_FRAMEBUFFER_OPERATION_EXT = 0x0506 + /// + InvalidFramebufferOperationExt = ((int)0x0506) , + /// + /// Original was GL_TABLE_TOO_LARGE_EXT = 0x8031 + /// + TableTooLargeExt = ((int)0x8031) , + /// + /// Original was GL_TEXTURE_TOO_LARGE_EXT = 0x8065 + /// + TextureTooLargeExt = ((int)0x8065) , + } + + /// + /// Not used directly. + /// + public enum Ext422Pixels : int + { + /// + /// Original was GL_422_EXT = 0x80CC + /// + Gl422Ext = ((int)0x80CC) , + /// + /// Original was GL_422_REV_EXT = 0x80CD + /// + Gl422RevExt = ((int)0x80CD) , + /// + /// Original was GL_422_AVERAGE_EXT = 0x80CE + /// + Gl422AverageExt = ((int)0x80CE) , + /// + /// Original was GL_422_REV_AVERAGE_EXT = 0x80CF + /// + Gl422RevAverageExt = ((int)0x80CF) , + } + + /// + /// Not used directly. + /// + public enum ExtAbgr : int + { + /// + /// Original was GL_ABGR_EXT = 0x8000 + /// + AbgrExt = ((int)0x8000) , + } + + /// + /// Not used directly. + /// + public enum ExtBgra : int + { + /// + /// Original was GL_BGR_EXT = 0x80E0 + /// + BgrExt = ((int)0x80E0) , + /// + /// Original was GL_BGRA_EXT = 0x80E1 + /// + BgraExt = ((int)0x80E1) , + } + + /// + /// Not used directly. + /// + public enum ExtBindableUniform : int + { + /// + /// Original was GL_MAX_VERTEX_BINDABLE_UNIFORMS_EXT = 0x8DE2 + /// + MaxVertexBindableUniformsExt = ((int)0x8DE2) , + /// + /// Original was GL_MAX_FRAGMENT_BINDABLE_UNIFORMS_EXT = 0x8DE3 + /// + MaxFragmentBindableUniformsExt = ((int)0x8DE3) , + /// + /// Original was GL_MAX_GEOMETRY_BINDABLE_UNIFORMS_EXT = 0x8DE4 + /// + MaxGeometryBindableUniformsExt = ((int)0x8DE4) , + /// + /// Original was GL_MAX_BINDABLE_UNIFORM_SIZE_EXT = 0x8DED + /// + MaxBindableUniformSizeExt = ((int)0x8DED) , + /// + /// Original was GL_UNIFORM_BUFFER_EXT = 0x8DEE + /// + UniformBufferExt = ((int)0x8DEE) , + /// + /// Original was GL_UNIFORM_BUFFER_BINDING_EXT = 0x8DEF + /// + UniformBufferBindingExt = ((int)0x8DEF) , + } + + /// + /// Not used directly. + /// + public enum ExtBlendColor : int + { + /// + /// Original was GL_CONSTANT_COLOR_EXT = 0x8001 + /// + ConstantColorExt = ((int)0x8001) , + /// + /// Original was GL_ONE_MINUS_CONSTANT_COLOR_EXT = 0x8002 + /// + OneMinusConstantColorExt = ((int)0x8002) , + /// + /// Original was GL_CONSTANT_ALPHA_EXT = 0x8003 + /// + ConstantAlphaExt = ((int)0x8003) , + /// + /// Original was GL_ONE_MINUS_CONSTANT_ALPHA_EXT = 0x8004 + /// + OneMinusConstantAlphaExt = ((int)0x8004) , + /// + /// Original was GL_BLEND_COLOR_EXT = 0x8005 + /// + BlendColorExt = ((int)0x8005) , + } + + /// + /// Used in GL.Ext.BlendEquationSeparate + /// + public enum ExtBlendEquationSeparate : int + { + /// + /// Original was GL_BLEND_EQUATION_RGB_EXT = 0x8009 + /// + BlendEquationRgbExt = ((int)0x8009) , + /// + /// Original was GL_BLEND_EQUATION_ALPHA_EXT = 0x883D + /// + BlendEquationAlphaExt = ((int)0x883D) , + } + + /// + /// Used in GL.Ext.BlendFuncSeparate + /// + public enum ExtBlendFuncSeparate : int + { + /// + /// Original was GL_BLEND_DST_RGB_EXT = 0x80C8 + /// + BlendDstRgbExt = ((int)0x80C8) , + /// + /// Original was GL_BLEND_SRC_RGB_EXT = 0x80C9 + /// + BlendSrcRgbExt = ((int)0x80C9) , + /// + /// Original was GL_BLEND_DST_ALPHA_EXT = 0x80CA + /// + BlendDstAlphaExt = ((int)0x80CA) , + /// + /// Original was GL_BLEND_SRC_ALPHA_EXT = 0x80CB + /// + BlendSrcAlphaExt = ((int)0x80CB) , + } + + /// + /// Not used directly. + /// + public enum ExtBlendLogicOp : int + { + } + + /// + /// Used in GL.Ext.BlendEquation + /// + public enum ExtBlendMinmax : int + { + /// + /// Original was GL_FUNC_ADD = 0x8006 + /// + FuncAdd = ((int)0x8006) , + /// + /// Original was GL_FUNC_ADD_EXT = 0x8006 + /// + FuncAddExt = ((int)0x8006) , + /// + /// Original was GL_MIN = 0x8007 + /// + Min = ((int)0x8007) , + /// + /// Original was GL_MIN_EXT = 0x8007 + /// + MinExt = ((int)0x8007) , + /// + /// Original was GL_MAX = 0x8008 + /// + Max = ((int)0x8008) , + /// + /// Original was GL_MAX_EXT = 0x8008 + /// + MaxExt = ((int)0x8008) , + /// + /// Original was GL_BLEND_EQUATION = 0x8009 + /// + BlendEquation = ((int)0x8009) , + /// + /// Original was GL_BLEND_EQUATION_EXT = 0x8009 + /// + BlendEquationExt = ((int)0x8009) , + } + + /// + /// Not used directly. + /// + public enum ExtBlendSubtract : int + { + /// + /// Original was GL_FUNC_SUBTRACT = 0x800A + /// + FuncSubtract = ((int)0x800A) , + /// + /// Original was GL_FUNC_SUBTRACT_EXT = 0x800A + /// + FuncSubtractExt = ((int)0x800A) , + /// + /// Original was GL_FUNC_REVERSE_SUBTRACT = 0x800B + /// + FuncReverseSubtract = ((int)0x800B) , + /// + /// Original was GL_FUNC_REVERSE_SUBTRACT_EXT = 0x800B + /// + FuncReverseSubtractExt = ((int)0x800B) , + } + + /// + /// Not used directly. + /// + public enum ExtClipVolumeHint : int + { + /// + /// Original was GL_CLIP_VOLUME_CLIPPING_HINT_EXT = 0x80F0 + /// + ClipVolumeClippingHintExt = ((int)0x80F0) , + } + + /// + /// Not used directly. + /// + public enum ExtCmyka : int + { + /// + /// Original was GL_CMYK_EXT = 0x800C + /// + CmykExt = ((int)0x800C) , + /// + /// Original was GL_CMYKA_EXT = 0x800D + /// + CmykaExt = ((int)0x800D) , + /// + /// Original was GL_PACK_CMYK_HINT_EXT = 0x800E + /// + PackCmykHintExt = ((int)0x800E) , + /// + /// Original was GL_UNPACK_CMYK_HINT_EXT = 0x800F + /// + UnpackCmykHintExt = ((int)0x800F) , + } + + /// + /// Not used directly. + /// + public enum ExtColorSubtable : int + { + } + + /// + /// Not used directly. + /// + public enum ExtCompiledVertexArray : int + { + /// + /// Original was GL_ARRAY_ELEMENT_LOCK_FIRST_EXT = 0x81A8 + /// + ArrayElementLockFirstExt = ((int)0x81A8) , + /// + /// Original was GL_ARRAY_ELEMENT_LOCK_COUNT_EXT = 0x81A9 + /// + ArrayElementLockCountExt = ((int)0x81A9) , + } + + /// + /// Used in GL.Ext.ConvolutionFilter1D, GL.Ext.ConvolutionFilter2D, GL.Ext.ConvolutionParameter, GL.Ext.CopyConvolutionFilter1D, GL.Ext.CopyConvolutionFilter2D, GL.Ext.GetConvolutionFilter, GL.Ext.GetConvolutionParameter, GL.Ext.GetSeparableFilter, GL.Ext.SeparableFilter2D + /// + public enum ExtConvolution : int + { + /// + /// Original was GL_CONVOLUTION_1D_EXT = 0x8010 + /// + Convolution1DExt = ((int)0x8010) , + /// + /// Original was GL_CONVOLUTION_2D_EXT = 0x8011 + /// + Convolution2DExt = ((int)0x8011) , + /// + /// Original was GL_SEPARABLE_2D_EXT = 0x8012 + /// + Separable2DExt = ((int)0x8012) , + /// + /// Original was GL_CONVOLUTION_BORDER_MODE_EXT = 0x8013 + /// + ConvolutionBorderModeExt = ((int)0x8013) , + /// + /// Original was GL_CONVOLUTION_FILTER_SCALE_EXT = 0x8014 + /// + ConvolutionFilterScaleExt = ((int)0x8014) , + /// + /// Original was GL_CONVOLUTION_FILTER_BIAS_EXT = 0x8015 + /// + ConvolutionFilterBiasExt = ((int)0x8015) , + /// + /// Original was GL_REDUCE_EXT = 0x8016 + /// + ReduceExt = ((int)0x8016) , + /// + /// Original was GL_CONVOLUTION_FORMAT_EXT = 0x8017 + /// + ConvolutionFormatExt = ((int)0x8017) , + /// + /// Original was GL_CONVOLUTION_WIDTH_EXT = 0x8018 + /// + ConvolutionWidthExt = ((int)0x8018) , + /// + /// Original was GL_CONVOLUTION_HEIGHT_EXT = 0x8019 + /// + ConvolutionHeightExt = ((int)0x8019) , + /// + /// Original was GL_MAX_CONVOLUTION_WIDTH_EXT = 0x801A + /// + MaxConvolutionWidthExt = ((int)0x801A) , + /// + /// Original was GL_MAX_CONVOLUTION_HEIGHT_EXT = 0x801B + /// + MaxConvolutionHeightExt = ((int)0x801B) , + /// + /// Original was GL_POST_CONVOLUTION_RED_SCALE_EXT = 0x801C + /// + PostConvolutionRedScaleExt = ((int)0x801C) , + /// + /// Original was GL_POST_CONVOLUTION_GREEN_SCALE_EXT = 0x801D + /// + PostConvolutionGreenScaleExt = ((int)0x801D) , + /// + /// Original was GL_POST_CONVOLUTION_BLUE_SCALE_EXT = 0x801E + /// + PostConvolutionBlueScaleExt = ((int)0x801E) , + /// + /// Original was GL_POST_CONVOLUTION_ALPHA_SCALE_EXT = 0x801F + /// + PostConvolutionAlphaScaleExt = ((int)0x801F) , + /// + /// Original was GL_POST_CONVOLUTION_RED_BIAS_EXT = 0x8020 + /// + PostConvolutionRedBiasExt = ((int)0x8020) , + /// + /// Original was GL_POST_CONVOLUTION_GREEN_BIAS_EXT = 0x8021 + /// + PostConvolutionGreenBiasExt = ((int)0x8021) , + /// + /// Original was GL_POST_CONVOLUTION_BLUE_BIAS_EXT = 0x8022 + /// + PostConvolutionBlueBiasExt = ((int)0x8022) , + /// + /// Original was GL_POST_CONVOLUTION_ALPHA_BIAS_EXT = 0x8023 + /// + PostConvolutionAlphaBiasExt = ((int)0x8023) , + } + + /// + /// Not used directly. + /// + public enum ExtCoordinateFrame : int + { + /// + /// Original was GL_TANGENT_ARRAY_EXT = 0x8439 + /// + TangentArrayExt = ((int)0x8439) , + /// + /// Original was GL_BINORMAL_ARRAY_EXT = 0x843A + /// + BinormalArrayExt = ((int)0x843A) , + /// + /// Original was GL_CURRENT_TANGENT_EXT = 0x843B + /// + CurrentTangentExt = ((int)0x843B) , + /// + /// Original was GL_CURRENT_BINORMAL_EXT = 0x843C + /// + CurrentBinormalExt = ((int)0x843C) , + /// + /// Original was GL_TANGENT_ARRAY_TYPE_EXT = 0x843E + /// + TangentArrayTypeExt = ((int)0x843E) , + /// + /// Original was GL_TANGENT_ARRAY_STRIDE_EXT = 0x843F + /// + TangentArrayStrideExt = ((int)0x843F) , + /// + /// Original was GL_BINORMAL_ARRAY_TYPE_EXT = 0x8440 + /// + BinormalArrayTypeExt = ((int)0x8440) , + /// + /// Original was GL_BINORMAL_ARRAY_STRIDE_EXT = 0x8441 + /// + BinormalArrayStrideExt = ((int)0x8441) , + /// + /// Original was GL_TANGENT_ARRAY_POINTER_EXT = 0x8442 + /// + TangentArrayPointerExt = ((int)0x8442) , + /// + /// Original was GL_BINORMAL_ARRAY_POINTER_EXT = 0x8443 + /// + BinormalArrayPointerExt = ((int)0x8443) , + /// + /// Original was GL_MAP1_TANGENT_EXT = 0x8444 + /// + Map1TangentExt = ((int)0x8444) , + /// + /// Original was GL_MAP2_TANGENT_EXT = 0x8445 + /// + Map2TangentExt = ((int)0x8445) , + /// + /// Original was GL_MAP1_BINORMAL_EXT = 0x8446 + /// + Map1BinormalExt = ((int)0x8446) , + /// + /// Original was GL_MAP2_BINORMAL_EXT = 0x8447 + /// + Map2BinormalExt = ((int)0x8447) , + } + + /// + /// Not used directly. + /// + public enum ExtCopyTexture : int + { + } + + /// + /// Used in GL.Ext.CullParameter + /// + public enum ExtCullVertex : int + { + /// + /// Original was GL_CULL_VERTEX_EXT = 0x81AA + /// + CullVertexExt = ((int)0x81AA) , + /// + /// Original was GL_CULL_VERTEX_EYE_POSITION_EXT = 0x81AB + /// + CullVertexEyePositionExt = ((int)0x81AB) , + /// + /// Original was GL_CULL_VERTEX_OBJECT_POSITION_EXT = 0x81AC + /// + CullVertexObjectPositionExt = ((int)0x81AC) , + } + + /// + /// Not used directly. + /// + public enum ExtDepthBoundsTest : int + { + /// + /// Original was GL_DEPTH_BOUNDS_TEST_EXT = 0x8890 + /// + DepthBoundsTestExt = ((int)0x8890) , + /// + /// Original was GL_DEPTH_BOUNDS_EXT = 0x8891 + /// + DepthBoundsExt = ((int)0x8891) , + } + + /// + /// Used in GL.Ext.CompressedMultiTexImage1D, GL.Ext.CompressedMultiTexImage2D, GL.Ext.CompressedMultiTexImage3D, GL.Ext.CompressedTextureImage1D, GL.Ext.CompressedTextureImage2D, GL.Ext.CompressedTextureImage3D, GL.Ext.CopyMultiTexImage1D, GL.Ext.CopyMultiTexImage2D, GL.Ext.CopyTextureImage1D, GL.Ext.CopyTextureImage2D, GL.Ext.GetDoubleIndexed, GL.Ext.GetFloatIndexed, GL.Ext.GetFramebufferParameter, GL.Ext.GetNamedBufferParameter, GL.Ext.GetNamedBufferPointer, GL.Ext.GetNamedFramebufferAttachmentParameter, GL.Ext.GetNamedProgram, GL.Ext.GetNamedProgramLocalParameter, GL.Ext.GetNamedProgramLocalParameterI, GL.Ext.GetNamedProgramString, GL.Ext.GetPointerIndexed, GL.Ext.MapNamedBuffer, GL.Ext.MultiTexBuffer, GL.Ext.MultiTexImage1D, GL.Ext.MultiTexImage2D, GL.Ext.MultiTexImage3D, GL.Ext.NamedBufferData, GL.Ext.NamedProgramLocalParameter4, GL.Ext.NamedProgramLocalParameterI4, GL.Ext.NamedProgramLocalParameters4, GL.Ext.NamedProgramLocalParametersI4, GL.Ext.NamedProgramString, GL.Ext.TextureBuffer, GL.Ext.TextureImage1D, GL.Ext.TextureImage2D, GL.Ext.TextureImage3D + /// + public enum ExtDirectStateAccess : int + { + /// + /// Original was GL_PROGRAM_MATRIX_EXT = 0x8E2D + /// + ProgramMatrixExt = ((int)0x8E2D) , + /// + /// Original was GL_TRANSPOSE_PROGRAM_MATRIX_EXT = 0x8E2E + /// + TransposeProgramMatrixExt = ((int)0x8E2E) , + /// + /// Original was GL_PROGRAM_MATRIX_STACK_DEPTH_EXT = 0x8E2F + /// + ProgramMatrixStackDepthExt = ((int)0x8E2F) , + } + + /// + /// Not used directly. + /// + public enum ExtDiscardFramebuffer : int + { + /// + /// Original was GL_COLOR_EXT = 0x1800 + /// + ColorExt = ((int)0x1800) , + /// + /// Original was GL_DEPTH_EXT = 0x1801 + /// + DepthExt = ((int)0x1801) , + /// + /// Original was GL_STENCIL_EXT = 0x1802 + /// + StencilExt = ((int)0x1802) , + } + + /// + /// Used in GL.Ext.GetBooleanIndexed + /// + public enum ExtDrawBuffers2 : int + { + } + + /// + /// Not used directly. + /// + public enum ExtDrawInstanced : int + { + } + + /// + /// Not used directly. + /// + public enum ExtDrawRangeElements : int + { + /// + /// Original was GL_MAX_ELEMENTS_VERTICES_EXT = 0x80E8 + /// + MaxElementsVerticesExt = ((int)0x80E8) , + /// + /// Original was GL_MAX_ELEMENTS_INDICES_EXT = 0x80E9 + /// + MaxElementsIndicesExt = ((int)0x80E9) , + } + + /// + /// Used in GL.Ext.FogCoordPointer + /// + public enum ExtFogCoord : int + { + /// + /// Original was GL_FOG_COORDINATE_SOURCE_EXT = 0x8450 + /// + FogCoordinateSourceExt = ((int)0x8450) , + /// + /// Original was GL_FOG_COORDINATE_EXT = 0x8451 + /// + FogCoordinateExt = ((int)0x8451) , + /// + /// Original was GL_FRAGMENT_DEPTH_EXT = 0x8452 + /// + FragmentDepthExt = ((int)0x8452) , + /// + /// Original was GL_CURRENT_FOG_COORDINATE_EXT = 0x8453 + /// + CurrentFogCoordinateExt = ((int)0x8453) , + /// + /// Original was GL_FOG_COORDINATE_ARRAY_TYPE_EXT = 0x8454 + /// + FogCoordinateArrayTypeExt = ((int)0x8454) , + /// + /// Original was GL_FOG_COORDINATE_ARRAY_STRIDE_EXT = 0x8455 + /// + FogCoordinateArrayStrideExt = ((int)0x8455) , + /// + /// Original was GL_FOG_COORDINATE_ARRAY_POINTER_EXT = 0x8456 + /// + FogCoordinateArrayPointerExt = ((int)0x8456) , + /// + /// Original was GL_FOG_COORDINATE_ARRAY_EXT = 0x8457 + /// + FogCoordinateArrayExt = ((int)0x8457) , + } + + /// + /// Used in GL.Ext.BlitFramebuffer + /// + public enum ExtFramebufferBlit : int + { + /// + /// Original was GL_DRAW_FRAMEBUFFER_BINDING_EXT = 0x8CA6 + /// + DrawFramebufferBindingExt = ((int)0x8CA6) , + /// + /// Original was GL_READ_FRAMEBUFFER_EXT = 0x8CA8 + /// + ReadFramebufferExt = ((int)0x8CA8) , + /// + /// Original was GL_DRAW_FRAMEBUFFER_EXT = 0x8CA9 + /// + DrawFramebufferExt = ((int)0x8CA9) , + /// + /// Original was GL_READ_FRAMEBUFFER_BINDING_EXT = 0x8CAA + /// + ReadFramebufferBindingExt = ((int)0x8CAA) , + } + + /// + /// Used in GL.Ext.RenderbufferStorageMultisample + /// + public enum ExtFramebufferMultisample : int + { + /// + /// Original was GL_RENDERBUFFER_SAMPLES_EXT = 0x8CAB + /// + RenderbufferSamplesExt = ((int)0x8CAB) , + /// + /// Original was GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT = 0x8D56 + /// + FramebufferIncompleteMultisampleExt = ((int)0x8D56) , + /// + /// Original was GL_MAX_SAMPLES_EXT = 0x8D57 + /// + MaxSamplesExt = ((int)0x8D57) , + } + + /// + /// Not used directly. + /// + public enum ExtFramebufferMultisampleBlitScaled : int + { + /// + /// Original was GL_SCALED_RESOLVE_FASTEST_EXT = 0x90BA + /// + ScaledResolveFastestExt = ((int)0x90BA) , + /// + /// Original was GL_SCALED_RESOLVE_NICEST_EXT = 0x90BB + /// + ScaledResolveNicestExt = ((int)0x90BB) , + } + + /// + /// Not used directly. + /// + public enum ExtFramebufferObject : int + { + /// + /// Original was GL_INVALID_FRAMEBUFFER_OPERATION_EXT = 0x0506 + /// + InvalidFramebufferOperationExt = ((int)0x0506) , + /// + /// Original was GL_MAX_RENDERBUFFER_SIZE_EXT = 0x84E8 + /// + MaxRenderbufferSizeExt = ((int)0x84E8) , + /// + /// Original was GL_FRAMEBUFFER_BINDING_EXT = 0x8CA6 + /// + FramebufferBindingExt = ((int)0x8CA6) , + /// + /// Original was GL_RENDERBUFFER_BINDING_EXT = 0x8CA7 + /// + RenderbufferBindingExt = ((int)0x8CA7) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE = 0x8CD0 + /// + FramebufferAttachmentObjectType = ((int)0x8CD0) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT = 0x8CD0 + /// + FramebufferAttachmentObjectTypeExt = ((int)0x8CD0) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME = 0x8CD1 + /// + FramebufferAttachmentObjectName = ((int)0x8CD1) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT = 0x8CD1 + /// + FramebufferAttachmentObjectNameExt = ((int)0x8CD1) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL = 0x8CD2 + /// + FramebufferAttachmentTextureLevel = ((int)0x8CD2) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT = 0x8CD2 + /// + FramebufferAttachmentTextureLevelExt = ((int)0x8CD2) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE = 0x8CD3 + /// + FramebufferAttachmentTextureCubeMapFace = ((int)0x8CD3) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT = 0x8CD3 + /// + FramebufferAttachmentTextureCubeMapFaceExt = ((int)0x8CD3) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT = 0x8CD4 + /// + FramebufferAttachmentTexture3DZoffsetExt = ((int)0x8CD4) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER = 0x8CD4 + /// + FramebufferAttachmentTextureLayer = ((int)0x8CD4) , + /// + /// Original was GL_FRAMEBUFFER_COMPLETE = 0x8CD5 + /// + FramebufferComplete = ((int)0x8CD5) , + /// + /// Original was GL_FRAMEBUFFER_COMPLETE_EXT = 0x8CD5 + /// + FramebufferCompleteExt = ((int)0x8CD5) , + /// + /// Original was GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT = 0x8CD6 + /// + FramebufferIncompleteAttachment = ((int)0x8CD6) , + /// + /// Original was GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT = 0x8CD6 + /// + FramebufferIncompleteAttachmentExt = ((int)0x8CD6) , + /// + /// Original was GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT = 0x8CD7 + /// + FramebufferIncompleteMissingAttachment = ((int)0x8CD7) , + /// + /// Original was GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT = 0x8CD7 + /// + FramebufferIncompleteMissingAttachmentExt = ((int)0x8CD7) , + /// + /// Original was GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT = 0x8CD9 + /// + FramebufferIncompleteDimensionsExt = ((int)0x8CD9) , + /// + /// Original was GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT = 0x8CDA + /// + FramebufferIncompleteFormatsExt = ((int)0x8CDA) , + /// + /// Original was GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER = 0x8CDB + /// + FramebufferIncompleteDrawBuffer = ((int)0x8CDB) , + /// + /// Original was GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT = 0x8CDB + /// + FramebufferIncompleteDrawBufferExt = ((int)0x8CDB) , + /// + /// Original was GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER = 0x8CDC + /// + FramebufferIncompleteReadBuffer = ((int)0x8CDC) , + /// + /// Original was GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT = 0x8CDC + /// + FramebufferIncompleteReadBufferExt = ((int)0x8CDC) , + /// + /// Original was GL_FRAMEBUFFER_UNSUPPORTED = 0x8CDD + /// + FramebufferUnsupported = ((int)0x8CDD) , + /// + /// Original was GL_FRAMEBUFFER_UNSUPPORTED_EXT = 0x8CDD + /// + FramebufferUnsupportedExt = ((int)0x8CDD) , + /// + /// Original was GL_MAX_COLOR_ATTACHMENTS = 0x8CDF + /// + MaxColorAttachments = ((int)0x8CDF) , + /// + /// Original was GL_MAX_COLOR_ATTACHMENTS_EXT = 0x8CDF + /// + MaxColorAttachmentsExt = ((int)0x8CDF) , + /// + /// Original was GL_COLOR_ATTACHMENT0 = 0x8CE0 + /// + ColorAttachment0 = ((int)0x8CE0) , + /// + /// Original was GL_COLOR_ATTACHMENT0_EXT = 0x8CE0 + /// + ColorAttachment0Ext = ((int)0x8CE0) , + /// + /// Original was GL_COLOR_ATTACHMENT1 = 0x8CE1 + /// + ColorAttachment1 = ((int)0x8CE1) , + /// + /// Original was GL_COLOR_ATTACHMENT1_EXT = 0x8CE1 + /// + ColorAttachment1Ext = ((int)0x8CE1) , + /// + /// Original was GL_COLOR_ATTACHMENT2 = 0x8CE2 + /// + ColorAttachment2 = ((int)0x8CE2) , + /// + /// Original was GL_COLOR_ATTACHMENT2_EXT = 0x8CE2 + /// + ColorAttachment2Ext = ((int)0x8CE2) , + /// + /// Original was GL_COLOR_ATTACHMENT3 = 0x8CE3 + /// + ColorAttachment3 = ((int)0x8CE3) , + /// + /// Original was GL_COLOR_ATTACHMENT3_EXT = 0x8CE3 + /// + ColorAttachment3Ext = ((int)0x8CE3) , + /// + /// Original was GL_COLOR_ATTACHMENT4 = 0x8CE4 + /// + ColorAttachment4 = ((int)0x8CE4) , + /// + /// Original was GL_COLOR_ATTACHMENT4_EXT = 0x8CE4 + /// + ColorAttachment4Ext = ((int)0x8CE4) , + /// + /// Original was GL_COLOR_ATTACHMENT5 = 0x8CE5 + /// + ColorAttachment5 = ((int)0x8CE5) , + /// + /// Original was GL_COLOR_ATTACHMENT5_EXT = 0x8CE5 + /// + ColorAttachment5Ext = ((int)0x8CE5) , + /// + /// Original was GL_COLOR_ATTACHMENT6 = 0x8CE6 + /// + ColorAttachment6 = ((int)0x8CE6) , + /// + /// Original was GL_COLOR_ATTACHMENT6_EXT = 0x8CE6 + /// + ColorAttachment6Ext = ((int)0x8CE6) , + /// + /// Original was GL_COLOR_ATTACHMENT7 = 0x8CE7 + /// + ColorAttachment7 = ((int)0x8CE7) , + /// + /// Original was GL_COLOR_ATTACHMENT7_EXT = 0x8CE7 + /// + ColorAttachment7Ext = ((int)0x8CE7) , + /// + /// Original was GL_COLOR_ATTACHMENT8 = 0x8CE8 + /// + ColorAttachment8 = ((int)0x8CE8) , + /// + /// Original was GL_COLOR_ATTACHMENT8_EXT = 0x8CE8 + /// + ColorAttachment8Ext = ((int)0x8CE8) , + /// + /// Original was GL_COLOR_ATTACHMENT9 = 0x8CE9 + /// + ColorAttachment9 = ((int)0x8CE9) , + /// + /// Original was GL_COLOR_ATTACHMENT9_EXT = 0x8CE9 + /// + ColorAttachment9Ext = ((int)0x8CE9) , + /// + /// Original was GL_COLOR_ATTACHMENT10 = 0x8CEA + /// + ColorAttachment10 = ((int)0x8CEA) , + /// + /// Original was GL_COLOR_ATTACHMENT10_EXT = 0x8CEA + /// + ColorAttachment10Ext = ((int)0x8CEA) , + /// + /// Original was GL_COLOR_ATTACHMENT11 = 0x8CEB + /// + ColorAttachment11 = ((int)0x8CEB) , + /// + /// Original was GL_COLOR_ATTACHMENT11_EXT = 0x8CEB + /// + ColorAttachment11Ext = ((int)0x8CEB) , + /// + /// Original was GL_COLOR_ATTACHMENT12 = 0x8CEC + /// + ColorAttachment12 = ((int)0x8CEC) , + /// + /// Original was GL_COLOR_ATTACHMENT12_EXT = 0x8CEC + /// + ColorAttachment12Ext = ((int)0x8CEC) , + /// + /// Original was GL_COLOR_ATTACHMENT13 = 0x8CED + /// + ColorAttachment13 = ((int)0x8CED) , + /// + /// Original was GL_COLOR_ATTACHMENT13_EXT = 0x8CED + /// + ColorAttachment13Ext = ((int)0x8CED) , + /// + /// Original was GL_COLOR_ATTACHMENT14 = 0x8CEE + /// + ColorAttachment14 = ((int)0x8CEE) , + /// + /// Original was GL_COLOR_ATTACHMENT14_EXT = 0x8CEE + /// + ColorAttachment14Ext = ((int)0x8CEE) , + /// + /// Original was GL_COLOR_ATTACHMENT15 = 0x8CEF + /// + ColorAttachment15 = ((int)0x8CEF) , + /// + /// Original was GL_COLOR_ATTACHMENT15_EXT = 0x8CEF + /// + ColorAttachment15Ext = ((int)0x8CEF) , + /// + /// Original was GL_DEPTH_ATTACHMENT = 0x8D00 + /// + DepthAttachment = ((int)0x8D00) , + /// + /// Original was GL_DEPTH_ATTACHMENT_EXT = 0x8D00 + /// + DepthAttachmentExt = ((int)0x8D00) , + /// + /// Original was GL_STENCIL_ATTACHMENT = 0x8D20 + /// + StencilAttachment = ((int)0x8D20) , + /// + /// Original was GL_STENCIL_ATTACHMENT_EXT = 0x8D20 + /// + StencilAttachmentExt = ((int)0x8D20) , + /// + /// Original was GL_FRAMEBUFFER = 0x8D40 + /// + Framebuffer = ((int)0x8D40) , + /// + /// Original was GL_FRAMEBUFFER_EXT = 0x8D40 + /// + FramebufferExt = ((int)0x8D40) , + /// + /// Original was GL_RENDERBUFFER = 0x8D41 + /// + Renderbuffer = ((int)0x8D41) , + /// + /// Original was GL_RENDERBUFFER_EXT = 0x8D41 + /// + RenderbufferExt = ((int)0x8D41) , + /// + /// Original was GL_RENDERBUFFER_WIDTH = 0x8D42 + /// + RenderbufferWidth = ((int)0x8D42) , + /// + /// Original was GL_RENDERBUFFER_WIDTH_EXT = 0x8D42 + /// + RenderbufferWidthExt = ((int)0x8D42) , + /// + /// Original was GL_RENDERBUFFER_HEIGHT = 0x8D43 + /// + RenderbufferHeight = ((int)0x8D43) , + /// + /// Original was GL_RENDERBUFFER_HEIGHT_EXT = 0x8D43 + /// + RenderbufferHeightExt = ((int)0x8D43) , + /// + /// Original was GL_RENDERBUFFER_INTERNAL_FORMAT = 0x8D44 + /// + RenderbufferInternalFormat = ((int)0x8D44) , + /// + /// Original was GL_RENDERBUFFER_INTERNAL_FORMAT_EXT = 0x8D44 + /// + RenderbufferInternalFormatExt = ((int)0x8D44) , + /// + /// Original was GL_STENCIL_INDEX1 = 0x8D46 + /// + StencilIndex1 = ((int)0x8D46) , + /// + /// Original was GL_STENCIL_INDEX1_EXT = 0x8D46 + /// + StencilIndex1Ext = ((int)0x8D46) , + /// + /// Original was GL_STENCIL_INDEX4 = 0x8D47 + /// + StencilIndex4 = ((int)0x8D47) , + /// + /// Original was GL_STENCIL_INDEX4_EXT = 0x8D47 + /// + StencilIndex4Ext = ((int)0x8D47) , + /// + /// Original was GL_STENCIL_INDEX8 = 0x8D48 + /// + StencilIndex8 = ((int)0x8D48) , + /// + /// Original was GL_STENCIL_INDEX8_EXT = 0x8D48 + /// + StencilIndex8Ext = ((int)0x8D48) , + /// + /// Original was GL_STENCIL_INDEX16 = 0x8D49 + /// + StencilIndex16 = ((int)0x8D49) , + /// + /// Original was GL_STENCIL_INDEX16_EXT = 0x8D49 + /// + StencilIndex16Ext = ((int)0x8D49) , + /// + /// Original was GL_RENDERBUFFER_RED_SIZE = 0x8D50 + /// + RenderbufferRedSize = ((int)0x8D50) , + /// + /// Original was GL_RENDERBUFFER_RED_SIZE_EXT = 0x8D50 + /// + RenderbufferRedSizeExt = ((int)0x8D50) , + /// + /// Original was GL_RENDERBUFFER_GREEN_SIZE = 0x8D51 + /// + RenderbufferGreenSize = ((int)0x8D51) , + /// + /// Original was GL_RENDERBUFFER_GREEN_SIZE_EXT = 0x8D51 + /// + RenderbufferGreenSizeExt = ((int)0x8D51) , + /// + /// Original was GL_RENDERBUFFER_BLUE_SIZE = 0x8D52 + /// + RenderbufferBlueSize = ((int)0x8D52) , + /// + /// Original was GL_RENDERBUFFER_BLUE_SIZE_EXT = 0x8D52 + /// + RenderbufferBlueSizeExt = ((int)0x8D52) , + /// + /// Original was GL_RENDERBUFFER_ALPHA_SIZE = 0x8D53 + /// + RenderbufferAlphaSize = ((int)0x8D53) , + /// + /// Original was GL_RENDERBUFFER_ALPHA_SIZE_EXT = 0x8D53 + /// + RenderbufferAlphaSizeExt = ((int)0x8D53) , + /// + /// Original was GL_RENDERBUFFER_DEPTH_SIZE = 0x8D54 + /// + RenderbufferDepthSize = ((int)0x8D54) , + /// + /// Original was GL_RENDERBUFFER_DEPTH_SIZE_EXT = 0x8D54 + /// + RenderbufferDepthSizeExt = ((int)0x8D54) , + /// + /// Original was GL_RENDERBUFFER_STENCIL_SIZE = 0x8D55 + /// + RenderbufferStencilSize = ((int)0x8D55) , + /// + /// Original was GL_RENDERBUFFER_STENCIL_SIZE_EXT = 0x8D55 + /// + RenderbufferStencilSizeExt = ((int)0x8D55) , + } + + /// + /// Not used directly. + /// + public enum ExtFramebufferSrgb : int + { + /// + /// Original was GL_FRAMEBUFFER_SRGB_EXT = 0x8DB9 + /// + FramebufferSrgbExt = ((int)0x8DB9) , + /// + /// Original was GL_FRAMEBUFFER_SRGB_CAPABLE_EXT = 0x8DBA + /// + FramebufferSrgbCapableExt = ((int)0x8DBA) , + } + + /// + /// Not used directly. + /// + public enum ExtGeometryShader4 : int + { + /// + /// Original was GL_LINES_ADJACENCY_EXT = 0x000A + /// + LinesAdjacencyExt = ((int)0x000A) , + /// + /// Original was GL_LINE_STRIP_ADJACENCY_EXT = 0x000B + /// + LineStripAdjacencyExt = ((int)0x000B) , + /// + /// Original was GL_TRIANGLES_ADJACENCY_EXT = 0x000C + /// + TrianglesAdjacencyExt = ((int)0x000C) , + /// + /// Original was GL_TRIANGLE_STRIP_ADJACENCY_EXT = 0x000D + /// + TriangleStripAdjacencyExt = ((int)0x000D) , + /// + /// Original was GL_PROGRAM_POINT_SIZE_EXT = 0x8642 + /// + ProgramPointSizeExt = ((int)0x8642) , + /// + /// Original was GL_MAX_VARYING_COMPONENTS_EXT = 0x8B4B + /// + MaxVaryingComponentsExt = ((int)0x8B4B) , + /// + /// Original was GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT = 0x8C29 + /// + MaxGeometryTextureImageUnitsExt = ((int)0x8C29) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT = 0x8CD4 + /// + FramebufferAttachmentTextureLayerExt = ((int)0x8CD4) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_LAYERED_EXT = 0x8DA7 + /// + FramebufferAttachmentLayeredExt = ((int)0x8DA7) , + /// + /// Original was GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT = 0x8DA8 + /// + FramebufferIncompleteLayerTargetsExt = ((int)0x8DA8) , + /// + /// Original was GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_EXT = 0x8DA9 + /// + FramebufferIncompleteLayerCountExt = ((int)0x8DA9) , + /// + /// Original was GL_GEOMETRY_SHADER_EXT = 0x8DD9 + /// + GeometryShaderExt = ((int)0x8DD9) , + /// + /// Original was GL_GEOMETRY_VERTICES_OUT_EXT = 0x8DDA + /// + GeometryVerticesOutExt = ((int)0x8DDA) , + /// + /// Original was GL_GEOMETRY_INPUT_TYPE_EXT = 0x8DDB + /// + GeometryInputTypeExt = ((int)0x8DDB) , + /// + /// Original was GL_GEOMETRY_OUTPUT_TYPE_EXT = 0x8DDC + /// + GeometryOutputTypeExt = ((int)0x8DDC) , + /// + /// Original was GL_MAX_GEOMETRY_VARYING_COMPONENTS_EXT = 0x8DDD + /// + MaxGeometryVaryingComponentsExt = ((int)0x8DDD) , + /// + /// Original was GL_MAX_VERTEX_VARYING_COMPONENTS_EXT = 0x8DDE + /// + MaxVertexVaryingComponentsExt = ((int)0x8DDE) , + /// + /// Original was GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_EXT = 0x8DDF + /// + MaxGeometryUniformComponentsExt = ((int)0x8DDF) , + /// + /// Original was GL_MAX_GEOMETRY_OUTPUT_VERTICES_EXT = 0x8DE0 + /// + MaxGeometryOutputVerticesExt = ((int)0x8DE0) , + /// + /// Original was GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_EXT = 0x8DE1 + /// + MaxGeometryTotalOutputComponentsExt = ((int)0x8DE1) , + } + + /// + /// Used in GL.Ext.ProgramEnvParameters4, GL.Ext.ProgramLocalParameters4 + /// + public enum ExtGpuProgramParameters : int + { + } + + /// + /// Not used directly. + /// + public enum ExtGpuShader4 : int + { + /// + /// Original was GL_SAMPLER_1D_ARRAY_EXT = 0x8DC0 + /// + Sampler1DArrayExt = ((int)0x8DC0) , + /// + /// Original was GL_SAMPLER_2D_ARRAY_EXT = 0x8DC1 + /// + Sampler2DArrayExt = ((int)0x8DC1) , + /// + /// Original was GL_SAMPLER_BUFFER_EXT = 0x8DC2 + /// + SamplerBufferExt = ((int)0x8DC2) , + /// + /// Original was GL_SAMPLER_1D_ARRAY_SHADOW_EXT = 0x8DC3 + /// + Sampler1DArrayShadowExt = ((int)0x8DC3) , + /// + /// Original was GL_SAMPLER_2D_ARRAY_SHADOW_EXT = 0x8DC4 + /// + Sampler2DArrayShadowExt = ((int)0x8DC4) , + /// + /// Original was GL_SAMPLER_CUBE_SHADOW_EXT = 0x8DC5 + /// + SamplerCubeShadowExt = ((int)0x8DC5) , + /// + /// Original was GL_UNSIGNED_INT_VEC2_EXT = 0x8DC6 + /// + UnsignedIntVec2Ext = ((int)0x8DC6) , + /// + /// Original was GL_UNSIGNED_INT_VEC3_EXT = 0x8DC7 + /// + UnsignedIntVec3Ext = ((int)0x8DC7) , + /// + /// Original was GL_UNSIGNED_INT_VEC4_EXT = 0x8DC8 + /// + UnsignedIntVec4Ext = ((int)0x8DC8) , + /// + /// Original was GL_INT_SAMPLER_1D_EXT = 0x8DC9 + /// + IntSampler1DExt = ((int)0x8DC9) , + /// + /// Original was GL_INT_SAMPLER_2D_EXT = 0x8DCA + /// + IntSampler2DExt = ((int)0x8DCA) , + /// + /// Original was GL_INT_SAMPLER_3D_EXT = 0x8DCB + /// + IntSampler3DExt = ((int)0x8DCB) , + /// + /// Original was GL_INT_SAMPLER_CUBE_EXT = 0x8DCC + /// + IntSamplerCubeExt = ((int)0x8DCC) , + /// + /// Original was GL_INT_SAMPLER_2D_RECT_EXT = 0x8DCD + /// + IntSampler2DRectExt = ((int)0x8DCD) , + /// + /// Original was GL_INT_SAMPLER_1D_ARRAY_EXT = 0x8DCE + /// + IntSampler1DArrayExt = ((int)0x8DCE) , + /// + /// Original was GL_INT_SAMPLER_2D_ARRAY_EXT = 0x8DCF + /// + IntSampler2DArrayExt = ((int)0x8DCF) , + /// + /// Original was GL_INT_SAMPLER_BUFFER_EXT = 0x8DD0 + /// + IntSamplerBufferExt = ((int)0x8DD0) , + /// + /// Original was GL_UNSIGNED_INT_SAMPLER_1D_EXT = 0x8DD1 + /// + UnsignedIntSampler1DExt = ((int)0x8DD1) , + /// + /// Original was GL_UNSIGNED_INT_SAMPLER_2D_EXT = 0x8DD2 + /// + UnsignedIntSampler2DExt = ((int)0x8DD2) , + /// + /// Original was GL_UNSIGNED_INT_SAMPLER_3D_EXT = 0x8DD3 + /// + UnsignedIntSampler3DExt = ((int)0x8DD3) , + /// + /// Original was GL_UNSIGNED_INT_SAMPLER_CUBE_EXT = 0x8DD4 + /// + UnsignedIntSamplerCubeExt = ((int)0x8DD4) , + /// + /// Original was GL_UNSIGNED_INT_SAMPLER_2D_RECT_EXT = 0x8DD5 + /// + UnsignedIntSampler2DRectExt = ((int)0x8DD5) , + /// + /// Original was GL_UNSIGNED_INT_SAMPLER_1D_ARRAY_EXT = 0x8DD6 + /// + UnsignedIntSampler1DArrayExt = ((int)0x8DD6) , + /// + /// Original was GL_UNSIGNED_INT_SAMPLER_2D_ARRAY_EXT = 0x8DD7 + /// + UnsignedIntSampler2DArrayExt = ((int)0x8DD7) , + /// + /// Original was GL_UNSIGNED_INT_SAMPLER_BUFFER_EXT = 0x8DD8 + /// + UnsignedIntSamplerBufferExt = ((int)0x8DD8) , + } + + /// + /// Used in GL.Ext.GetHistogram, GL.Ext.GetHistogramParameter, GL.Ext.GetMinmax, GL.Ext.GetMinmaxParameter, GL.Ext.Histogram, GL.Ext.Minmax, GL.Ext.ResetHistogram, GL.Ext.ResetMinmax + /// + public enum ExtHistogram : int + { + /// + /// Original was GL_HISTOGRAM_EXT = 0x8024 + /// + HistogramExt = ((int)0x8024) , + /// + /// Original was GL_PROXY_HISTOGRAM_EXT = 0x8025 + /// + ProxyHistogramExt = ((int)0x8025) , + /// + /// Original was GL_HISTOGRAM_WIDTH_EXT = 0x8026 + /// + HistogramWidthExt = ((int)0x8026) , + /// + /// Original was GL_HISTOGRAM_FORMAT_EXT = 0x8027 + /// + HistogramFormatExt = ((int)0x8027) , + /// + /// Original was GL_HISTOGRAM_RED_SIZE_EXT = 0x8028 + /// + HistogramRedSizeExt = ((int)0x8028) , + /// + /// Original was GL_HISTOGRAM_GREEN_SIZE_EXT = 0x8029 + /// + HistogramGreenSizeExt = ((int)0x8029) , + /// + /// Original was GL_HISTOGRAM_BLUE_SIZE_EXT = 0x802A + /// + HistogramBlueSizeExt = ((int)0x802A) , + /// + /// Original was GL_HISTOGRAM_ALPHA_SIZE_EXT = 0x802B + /// + HistogramAlphaSizeExt = ((int)0x802B) , + /// + /// Original was GL_HISTOGRAM_LUMINANCE_SIZE = 0x802C + /// + HistogramLuminanceSize = ((int)0x802C) , + /// + /// Original was GL_HISTOGRAM_LUMINANCE_SIZE_EXT = 0x802C + /// + HistogramLuminanceSizeExt = ((int)0x802C) , + /// + /// Original was GL_HISTOGRAM_SINK_EXT = 0x802D + /// + HistogramSinkExt = ((int)0x802D) , + /// + /// Original was GL_MINMAX_EXT = 0x802E + /// + MinmaxExt = ((int)0x802E) , + /// + /// Original was GL_MINMAX_FORMAT_EXT = 0x802F + /// + MinmaxFormatExt = ((int)0x802F) , + /// + /// Original was GL_MINMAX_SINK_EXT = 0x8030 + /// + MinmaxSinkExt = ((int)0x8030) , + /// + /// Original was GL_TABLE_TOO_LARGE_EXT = 0x8031 + /// + TableTooLargeExt = ((int)0x8031) , + } + + /// + /// Not used directly. + /// + public enum ExtIndexArrayFormats : int + { + /// + /// Original was GL_IUI_V2F_EXT = 0x81AD + /// + IuiV2fExt = ((int)0x81AD) , + /// + /// Original was GL_IUI_V3F_EXT = 0x81AE + /// + IuiV3fExt = ((int)0x81AE) , + /// + /// Original was GL_IUI_N3F_V2F_EXT = 0x81AF + /// + IuiN3fV2fExt = ((int)0x81AF) , + /// + /// Original was GL_IUI_N3F_V3F_EXT = 0x81B0 + /// + IuiN3fV3fExt = ((int)0x81B0) , + /// + /// Original was GL_T2F_IUI_V2F_EXT = 0x81B1 + /// + T2fIuiV2fExt = ((int)0x81B1) , + /// + /// Original was GL_T2F_IUI_V3F_EXT = 0x81B2 + /// + T2fIuiV3fExt = ((int)0x81B2) , + /// + /// Original was GL_T2F_IUI_N3F_V2F_EXT = 0x81B3 + /// + T2fIuiN3fV2fExt = ((int)0x81B3) , + /// + /// Original was GL_T2F_IUI_N3F_V3F_EXT = 0x81B4 + /// + T2fIuiN3fV3fExt = ((int)0x81B4) , + } + + /// + /// Used in GL.Ext.IndexFunc + /// + public enum ExtIndexFunc : int + { + /// + /// Original was GL_INDEX_TEST_EXT = 0x81B5 + /// + IndexTestExt = ((int)0x81B5) , + /// + /// Original was GL_INDEX_TEST_FUNC_EXT = 0x81B6 + /// + IndexTestFuncExt = ((int)0x81B6) , + /// + /// Original was GL_INDEX_TEST_REF_EXT = 0x81B7 + /// + IndexTestRefExt = ((int)0x81B7) , + } + + /// + /// Used in GL.Ext.IndexMaterial + /// + public enum ExtIndexMaterial : int + { + /// + /// Original was GL_INDEX_MATERIAL_EXT = 0x81B8 + /// + IndexMaterialExt = ((int)0x81B8) , + /// + /// Original was GL_INDEX_MATERIAL_PARAMETER_EXT = 0x81B9 + /// + IndexMaterialParameterExt = ((int)0x81B9) , + /// + /// Original was GL_INDEX_MATERIAL_FACE_EXT = 0x81BA + /// + IndexMaterialFaceExt = ((int)0x81BA) , + } + + /// + /// Not used directly. + /// + public enum ExtIndexTexture : int + { + } + + /// + /// Used in GL.Ext.ApplyTexture, GL.Ext.TextureLight + /// + public enum ExtLightTexture : int + { + /// + /// Original was GL_FRAGMENT_MATERIAL_EXT = 0x8349 + /// + FragmentMaterialExt = ((int)0x8349) , + /// + /// Original was GL_FRAGMENT_NORMAL_EXT = 0x834A + /// + FragmentNormalExt = ((int)0x834A) , + /// + /// Original was GL_FRAGMENT_COLOR_EXT = 0x834C + /// + FragmentColorExt = ((int)0x834C) , + /// + /// Original was GL_ATTENUATION_EXT = 0x834D + /// + AttenuationExt = ((int)0x834D) , + /// + /// Original was GL_SHADOW_ATTENUATION_EXT = 0x834E + /// + ShadowAttenuationExt = ((int)0x834E) , + /// + /// Original was GL_TEXTURE_APPLICATION_MODE_EXT = 0x834F + /// + TextureApplicationModeExt = ((int)0x834F) , + /// + /// Original was GL_TEXTURE_LIGHT_EXT = 0x8350 + /// + TextureLightExt = ((int)0x8350) , + /// + /// Original was GL_TEXTURE_MATERIAL_FACE_EXT = 0x8351 + /// + TextureMaterialFaceExt = ((int)0x8351) , + /// + /// Original was GL_TEXTURE_MATERIAL_PARAMETER_EXT = 0x8352 + /// + TextureMaterialParameterExt = ((int)0x8352) , + /// + /// Original was GL_FRAGMENT_DEPTH_EXT = 0x8452 + /// + FragmentDepthExt = ((int)0x8452) , + } + + /// + /// Not used directly. + /// + public enum ExtMiscAttribute : int + { + } + + /// + /// Not used directly. + /// + public enum ExtMultiDrawArrays : int + { + } + + /// + /// Used in GL.Ext.SamplePattern + /// + public enum ExtMultisample : int + { + /// + /// Original was GL_MULTISAMPLE_BIT_EXT = 0x20000000 + /// + MultisampleBitExt = ((int)0x20000000) , + /// + /// Original was GL_MULTISAMPLE_EXT = 0x809D + /// + MultisampleExt = ((int)0x809D) , + /// + /// Original was GL_SAMPLE_ALPHA_TO_MASK_EXT = 0x809E + /// + SampleAlphaToMaskExt = ((int)0x809E) , + /// + /// Original was GL_SAMPLE_ALPHA_TO_ONE_EXT = 0x809F + /// + SampleAlphaToOneExt = ((int)0x809F) , + /// + /// Original was GL_SAMPLE_MASK_EXT = 0x80A0 + /// + SampleMaskExt = ((int)0x80A0) , + /// + /// Original was GL_1PASS_EXT = 0x80A1 + /// + Gl1PassExt = ((int)0x80A1) , + /// + /// Original was GL_2PASS_0_EXT = 0x80A2 + /// + Gl2Pass0Ext = ((int)0x80A2) , + /// + /// Original was GL_2PASS_1_EXT = 0x80A3 + /// + Gl2Pass1Ext = ((int)0x80A3) , + /// + /// Original was GL_4PASS_0_EXT = 0x80A4 + /// + Gl4Pass0Ext = ((int)0x80A4) , + /// + /// Original was GL_4PASS_1_EXT = 0x80A5 + /// + Gl4Pass1Ext = ((int)0x80A5) , + /// + /// Original was GL_4PASS_2_EXT = 0x80A6 + /// + Gl4Pass2Ext = ((int)0x80A6) , + /// + /// Original was GL_4PASS_3_EXT = 0x80A7 + /// + Gl4Pass3Ext = ((int)0x80A7) , + /// + /// Original was GL_SAMPLE_BUFFERS_EXT = 0x80A8 + /// + SampleBuffersExt = ((int)0x80A8) , + /// + /// Original was GL_SAMPLES_EXT = 0x80A9 + /// + SamplesExt = ((int)0x80A9) , + /// + /// Original was GL_SAMPLE_MASK_VALUE_EXT = 0x80AA + /// + SampleMaskValueExt = ((int)0x80AA) , + /// + /// Original was GL_SAMPLE_MASK_INVERT_EXT = 0x80AB + /// + SampleMaskInvertExt = ((int)0x80AB) , + /// + /// Original was GL_SAMPLE_PATTERN_EXT = 0x80AC + /// + SamplePatternExt = ((int)0x80AC) , + } + + /// + /// Not used directly. + /// + public enum ExtPackedDepthStencil : int + { + /// + /// Original was GL_DEPTH_STENCIL_EXT = 0x84F9 + /// + DepthStencilExt = ((int)0x84F9) , + /// + /// Original was GL_UNSIGNED_INT_24_8_EXT = 0x84FA + /// + UnsignedInt248Ext = ((int)0x84FA) , + /// + /// Original was GL_DEPTH24_STENCIL8_EXT = 0x88F0 + /// + Depth24Stencil8Ext = ((int)0x88F0) , + /// + /// Original was GL_TEXTURE_STENCIL_SIZE_EXT = 0x88F1 + /// + TextureStencilSizeExt = ((int)0x88F1) , + } + + /// + /// Not used directly. + /// + public enum ExtPackedFloat : int + { + /// + /// Original was GL_R11F_G11F_B10F_EXT = 0x8C3A + /// + R11fG11fB10fExt = ((int)0x8C3A) , + /// + /// Original was GL_UNSIGNED_INT_10F_11F_11F_REV_EXT = 0x8C3B + /// + UnsignedInt10F11F11FRevExt = ((int)0x8C3B) , + /// + /// Original was GL_RGBA_SIGNED_COMPONENTS_EXT = 0x8C3C + /// + RgbaSignedComponentsExt = ((int)0x8C3C) , + } + + /// + /// Not used directly. + /// + public enum ExtPackedPixels : int + { + /// + /// Original was GL_UNSIGNED_BYTE_3_3_2_EXT = 0x8032 + /// + UnsignedByte332Ext = ((int)0x8032) , + /// + /// Original was GL_UNSIGNED_SHORT_4_4_4_4_EXT = 0x8033 + /// + UnsignedShort4444Ext = ((int)0x8033) , + /// + /// Original was GL_UNSIGNED_SHORT_5_5_5_1_EXT = 0x8034 + /// + UnsignedShort5551Ext = ((int)0x8034) , + /// + /// Original was GL_UNSIGNED_INT_8_8_8_8_EXT = 0x8035 + /// + UnsignedInt8888Ext = ((int)0x8035) , + /// + /// Original was GL_UNSIGNED_INT_10_10_10_2_EXT = 0x8036 + /// + UnsignedInt1010102Ext = ((int)0x8036) , + /// + /// Original was GL_UNSIGNED_BYTE_2_3_3_REV_EXT = 0x8362 + /// + UnsignedByte233RevExt = ((int)0x8362) , + /// + /// Original was GL_UNSIGNED_SHORT_5_6_5_EXT = 0x8363 + /// + UnsignedShort565Ext = ((int)0x8363) , + /// + /// Original was GL_UNSIGNED_SHORT_5_6_5_REV_EXT = 0x8364 + /// + UnsignedShort565RevExt = ((int)0x8364) , + /// + /// Original was GL_UNSIGNED_SHORT_4_4_4_4_REV_EXT = 0x8365 + /// + UnsignedShort4444RevExt = ((int)0x8365) , + /// + /// Original was GL_UNSIGNED_SHORT_1_5_5_5_REV_EXT = 0x8366 + /// + UnsignedShort1555RevExt = ((int)0x8366) , + /// + /// Original was GL_UNSIGNED_INT_8_8_8_8_REV_EXT = 0x8367 + /// + UnsignedInt8888RevExt = ((int)0x8367) , + /// + /// Original was GL_UNSIGNED_INT_2_10_10_10_REV_EXT = 0x8368 + /// + UnsignedInt2101010RevExt = ((int)0x8368) , + } + + /// + /// Not used directly. + /// + public enum ExtPalettedTexture : int + { + /// + /// Original was GL_COLOR_INDEX1_EXT = 0x80E2 + /// + ColorIndex1Ext = ((int)0x80E2) , + /// + /// Original was GL_COLOR_INDEX2_EXT = 0x80E3 + /// + ColorIndex2Ext = ((int)0x80E3) , + /// + /// Original was GL_COLOR_INDEX4_EXT = 0x80E4 + /// + ColorIndex4Ext = ((int)0x80E4) , + /// + /// Original was GL_COLOR_INDEX8_EXT = 0x80E5 + /// + ColorIndex8Ext = ((int)0x80E5) , + /// + /// Original was GL_COLOR_INDEX12_EXT = 0x80E6 + /// + ColorIndex12Ext = ((int)0x80E6) , + /// + /// Original was GL_COLOR_INDEX16_EXT = 0x80E7 + /// + ColorIndex16Ext = ((int)0x80E7) , + /// + /// Original was GL_TEXTURE_INDEX_SIZE_EXT = 0x80ED + /// + TextureIndexSizeExt = ((int)0x80ED) , + } + + /// + /// Not used directly. + /// + public enum ExtPixelBufferObject : int + { + /// + /// Original was GL_PIXEL_PACK_BUFFER_EXT = 0x88EB + /// + PixelPackBufferExt = ((int)0x88EB) , + /// + /// Original was GL_PIXEL_UNPACK_BUFFER_EXT = 0x88EC + /// + PixelUnpackBufferExt = ((int)0x88EC) , + /// + /// Original was GL_PIXEL_PACK_BUFFER_BINDING_EXT = 0x88ED + /// + PixelPackBufferBindingExt = ((int)0x88ED) , + /// + /// Original was GL_PIXEL_UNPACK_BUFFER_BINDING_EXT = 0x88EF + /// + PixelUnpackBufferBindingExt = ((int)0x88EF) , + } + + /// + /// Used in GL.Ext.PixelTransformParameter + /// + public enum ExtPixelTransform : int + { + /// + /// Original was GL_PIXEL_TRANSFORM_2D_EXT = 0x8330 + /// + PixelTransform2DExt = ((int)0x8330) , + /// + /// Original was GL_PIXEL_MAG_FILTER_EXT = 0x8331 + /// + PixelMagFilterExt = ((int)0x8331) , + /// + /// Original was GL_PIXEL_MIN_FILTER_EXT = 0x8332 + /// + PixelMinFilterExt = ((int)0x8332) , + /// + /// Original was GL_PIXEL_CUBIC_WEIGHT_EXT = 0x8333 + /// + PixelCubicWeightExt = ((int)0x8333) , + /// + /// Original was GL_CUBIC_EXT = 0x8334 + /// + CubicExt = ((int)0x8334) , + /// + /// Original was GL_AVERAGE_EXT = 0x8335 + /// + AverageExt = ((int)0x8335) , + /// + /// Original was GL_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT = 0x8336 + /// + PixelTransform2DStackDepthExt = ((int)0x8336) , + /// + /// Original was GL_MAX_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT = 0x8337 + /// + MaxPixelTransform2DStackDepthExt = ((int)0x8337) , + /// + /// Original was GL_PIXEL_TRANSFORM_2D_MATRIX_EXT = 0x8338 + /// + PixelTransform2DMatrixExt = ((int)0x8338) , + } + + /// + /// Not used directly. + /// + public enum ExtPixelTransformColorTable : int + { + } + + /// + /// Used in GL.Ext.PointParameter + /// + public enum ExtPointParameters : int + { + /// + /// Original was GL_POINT_SIZE_MIN_EXT = 0x8126 + /// + PointSizeMinExt = ((int)0x8126) , + /// + /// Original was GL_POINT_SIZE_MAX_EXT = 0x8127 + /// + PointSizeMaxExt = ((int)0x8127) , + /// + /// Original was GL_POINT_FADE_THRESHOLD_SIZE_EXT = 0x8128 + /// + PointFadeThresholdSizeExt = ((int)0x8128) , + /// + /// Original was GL_DISTANCE_ATTENUATION_EXT = 0x8129 + /// + DistanceAttenuationExt = ((int)0x8129) , + } + + /// + /// Not used directly. + /// + public enum ExtPolygonOffset : int + { + /// + /// Original was GL_POLYGON_OFFSET_EXT = 0x8037 + /// + PolygonOffsetExt = ((int)0x8037) , + /// + /// Original was GL_POLYGON_OFFSET_FACTOR_EXT = 0x8038 + /// + PolygonOffsetFactorExt = ((int)0x8038) , + /// + /// Original was GL_POLYGON_OFFSET_BIAS_EXT = 0x8039 + /// + PolygonOffsetBiasExt = ((int)0x8039) , + } + + /// + /// Used in GL.Ext.ProvokingVertex + /// + public enum ExtProvokingVertex : int + { + /// + /// Original was GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION_EXT = 0x8E4C + /// + QuadsFollowProvokingVertexConventionExt = ((int)0x8E4C) , + /// + /// Original was GL_FIRST_VERTEX_CONVENTION_EXT = 0x8E4D + /// + FirstVertexConventionExt = ((int)0x8E4D) , + /// + /// Original was GL_LAST_VERTEX_CONVENTION_EXT = 0x8E4E + /// + LastVertexConventionExt = ((int)0x8E4E) , + /// + /// Original was GL_PROVOKING_VERTEX_EXT = 0x8E4F + /// + ProvokingVertexExt = ((int)0x8E4F) , + } + + /// + /// Not used directly. + /// + public enum ExtRescaleNormal : int + { + /// + /// Original was GL_RESCALE_NORMAL_EXT = 0x803A + /// + RescaleNormalExt = ((int)0x803A) , + } + + /// + /// Not used directly. + /// + public enum ExtSecondaryColor : int + { + /// + /// Original was GL_COLOR_SUM_EXT = 0x8458 + /// + ColorSumExt = ((int)0x8458) , + /// + /// Original was GL_CURRENT_SECONDARY_COLOR_EXT = 0x8459 + /// + CurrentSecondaryColorExt = ((int)0x8459) , + /// + /// Original was GL_SECONDARY_COLOR_ARRAY_SIZE_EXT = 0x845A + /// + SecondaryColorArraySizeExt = ((int)0x845A) , + /// + /// Original was GL_SECONDARY_COLOR_ARRAY_TYPE_EXT = 0x845B + /// + SecondaryColorArrayTypeExt = ((int)0x845B) , + /// + /// Original was GL_SECONDARY_COLOR_ARRAY_STRIDE_EXT = 0x845C + /// + SecondaryColorArrayStrideExt = ((int)0x845C) , + /// + /// Original was GL_SECONDARY_COLOR_ARRAY_POINTER_EXT = 0x845D + /// + SecondaryColorArrayPointerExt = ((int)0x845D) , + /// + /// Original was GL_SECONDARY_COLOR_ARRAY_EXT = 0x845E + /// + SecondaryColorArrayExt = ((int)0x845E) , + } + + /// + /// Used in GL.Ext.CreateShaderProgram, GL.Ext.UseShaderProgram + /// + public enum ExtSeparateShaderObjects : int + { + /// + /// Original was GL_ACTIVE_PROGRAM_EXT = 0x8B8D + /// + ActiveProgramExt = ((int)0x8B8D) , + } + + /// + /// Not used directly. + /// + public enum ExtSeparateSpecularColor : int + { + /// + /// Original was GL_LIGHT_MODEL_COLOR_CONTROL_EXT = 0x81F8 + /// + LightModelColorControlExt = ((int)0x81F8) , + /// + /// Original was GL_SINGLE_COLOR_EXT = 0x81F9 + /// + SingleColorExt = ((int)0x81F9) , + /// + /// Original was GL_SEPARATE_SPECULAR_COLOR_EXT = 0x81FA + /// + SeparateSpecularColorExt = ((int)0x81FA) , + } + + /// + /// Used in GL.Ext.BindImageTexture + /// + public enum ExtShaderImageLoadStore : int + { + /// + /// Original was GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT_EXT = 0x00000001 + /// + VertexAttribArrayBarrierBitExt = ((int)0x00000001) , + /// + /// Original was GL_ELEMENT_ARRAY_BARRIER_BIT_EXT = 0x00000002 + /// + ElementArrayBarrierBitExt = ((int)0x00000002) , + /// + /// Original was GL_UNIFORM_BARRIER_BIT_EXT = 0x00000004 + /// + UniformBarrierBitExt = ((int)0x00000004) , + /// + /// Original was GL_TEXTURE_FETCH_BARRIER_BIT_EXT = 0x00000008 + /// + TextureFetchBarrierBitExt = ((int)0x00000008) , + /// + /// Original was GL_SHADER_IMAGE_ACCESS_BARRIER_BIT_EXT = 0x00000020 + /// + ShaderImageAccessBarrierBitExt = ((int)0x00000020) , + /// + /// Original was GL_COMMAND_BARRIER_BIT_EXT = 0x00000040 + /// + CommandBarrierBitExt = ((int)0x00000040) , + /// + /// Original was GL_PIXEL_BUFFER_BARRIER_BIT_EXT = 0x00000080 + /// + PixelBufferBarrierBitExt = ((int)0x00000080) , + /// + /// Original was GL_TEXTURE_UPDATE_BARRIER_BIT_EXT = 0x00000100 + /// + TextureUpdateBarrierBitExt = ((int)0x00000100) , + /// + /// Original was GL_BUFFER_UPDATE_BARRIER_BIT_EXT = 0x00000200 + /// + BufferUpdateBarrierBitExt = ((int)0x00000200) , + /// + /// Original was GL_FRAMEBUFFER_BARRIER_BIT_EXT = 0x00000400 + /// + FramebufferBarrierBitExt = ((int)0x00000400) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_BARRIER_BIT_EXT = 0x00000800 + /// + TransformFeedbackBarrierBitExt = ((int)0x00000800) , + /// + /// Original was GL_ATOMIC_COUNTER_BARRIER_BIT_EXT = 0x00001000 + /// + AtomicCounterBarrierBitExt = ((int)0x00001000) , + /// + /// Original was GL_MAX_IMAGE_UNITS_EXT = 0x8F38 + /// + MaxImageUnitsExt = ((int)0x8F38) , + /// + /// Original was GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS_EXT = 0x8F39 + /// + MaxCombinedImageUnitsAndFragmentOutputsExt = ((int)0x8F39) , + /// + /// Original was GL_IMAGE_BINDING_NAME_EXT = 0x8F3A + /// + ImageBindingNameExt = ((int)0x8F3A) , + /// + /// Original was GL_IMAGE_BINDING_LEVEL_EXT = 0x8F3B + /// + ImageBindingLevelExt = ((int)0x8F3B) , + /// + /// Original was GL_IMAGE_BINDING_LAYERED_EXT = 0x8F3C + /// + ImageBindingLayeredExt = ((int)0x8F3C) , + /// + /// Original was GL_IMAGE_BINDING_LAYER_EXT = 0x8F3D + /// + ImageBindingLayerExt = ((int)0x8F3D) , + /// + /// Original was GL_IMAGE_BINDING_ACCESS_EXT = 0x8F3E + /// + ImageBindingAccessExt = ((int)0x8F3E) , + /// + /// Original was GL_IMAGE_1D_EXT = 0x904C + /// + Image1DExt = ((int)0x904C) , + /// + /// Original was GL_IMAGE_2D_EXT = 0x904D + /// + Image2DExt = ((int)0x904D) , + /// + /// Original was GL_IMAGE_3D_EXT = 0x904E + /// + Image3DExt = ((int)0x904E) , + /// + /// Original was GL_IMAGE_2D_RECT_EXT = 0x904F + /// + Image2DRectExt = ((int)0x904F) , + /// + /// Original was GL_IMAGE_CUBE_EXT = 0x9050 + /// + ImageCubeExt = ((int)0x9050) , + /// + /// Original was GL_IMAGE_BUFFER_EXT = 0x9051 + /// + ImageBufferExt = ((int)0x9051) , + /// + /// Original was GL_IMAGE_1D_ARRAY_EXT = 0x9052 + /// + Image1DArrayExt = ((int)0x9052) , + /// + /// Original was GL_IMAGE_2D_ARRAY_EXT = 0x9053 + /// + Image2DArrayExt = ((int)0x9053) , + /// + /// Original was GL_IMAGE_CUBE_MAP_ARRAY_EXT = 0x9054 + /// + ImageCubeMapArrayExt = ((int)0x9054) , + /// + /// Original was GL_IMAGE_2D_MULTISAMPLE_EXT = 0x9055 + /// + Image2DMultisampleExt = ((int)0x9055) , + /// + /// Original was GL_IMAGE_2D_MULTISAMPLE_ARRAY_EXT = 0x9056 + /// + Image2DMultisampleArrayExt = ((int)0x9056) , + /// + /// Original was GL_INT_IMAGE_1D_EXT = 0x9057 + /// + IntImage1DExt = ((int)0x9057) , + /// + /// Original was GL_INT_IMAGE_2D_EXT = 0x9058 + /// + IntImage2DExt = ((int)0x9058) , + /// + /// Original was GL_INT_IMAGE_3D_EXT = 0x9059 + /// + IntImage3DExt = ((int)0x9059) , + /// + /// Original was GL_INT_IMAGE_2D_RECT_EXT = 0x905A + /// + IntImage2DRectExt = ((int)0x905A) , + /// + /// Original was GL_INT_IMAGE_CUBE_EXT = 0x905B + /// + IntImageCubeExt = ((int)0x905B) , + /// + /// Original was GL_INT_IMAGE_BUFFER_EXT = 0x905C + /// + IntImageBufferExt = ((int)0x905C) , + /// + /// Original was GL_INT_IMAGE_1D_ARRAY_EXT = 0x905D + /// + IntImage1DArrayExt = ((int)0x905D) , + /// + /// Original was GL_INT_IMAGE_2D_ARRAY_EXT = 0x905E + /// + IntImage2DArrayExt = ((int)0x905E) , + /// + /// Original was GL_INT_IMAGE_CUBE_MAP_ARRAY_EXT = 0x905F + /// + IntImageCubeMapArrayExt = ((int)0x905F) , + /// + /// Original was GL_INT_IMAGE_2D_MULTISAMPLE_EXT = 0x9060 + /// + IntImage2DMultisampleExt = ((int)0x9060) , + /// + /// Original was GL_INT_IMAGE_2D_MULTISAMPLE_ARRAY_EXT = 0x9061 + /// + IntImage2DMultisampleArrayExt = ((int)0x9061) , + /// + /// Original was GL_UNSIGNED_INT_IMAGE_1D_EXT = 0x9062 + /// + UnsignedIntImage1DExt = ((int)0x9062) , + /// + /// Original was GL_UNSIGNED_INT_IMAGE_2D_EXT = 0x9063 + /// + UnsignedIntImage2DExt = ((int)0x9063) , + /// + /// Original was GL_UNSIGNED_INT_IMAGE_3D_EXT = 0x9064 + /// + UnsignedIntImage3DExt = ((int)0x9064) , + /// + /// Original was GL_UNSIGNED_INT_IMAGE_2D_RECT_EXT = 0x9065 + /// + UnsignedIntImage2DRectExt = ((int)0x9065) , + /// + /// Original was GL_UNSIGNED_INT_IMAGE_CUBE_EXT = 0x9066 + /// + UnsignedIntImageCubeExt = ((int)0x9066) , + /// + /// Original was GL_UNSIGNED_INT_IMAGE_BUFFER_EXT = 0x9067 + /// + UnsignedIntImageBufferExt = ((int)0x9067) , + /// + /// Original was GL_UNSIGNED_INT_IMAGE_1D_ARRAY_EXT = 0x9068 + /// + UnsignedIntImage1DArrayExt = ((int)0x9068) , + /// + /// Original was GL_UNSIGNED_INT_IMAGE_2D_ARRAY_EXT = 0x9069 + /// + UnsignedIntImage2DArrayExt = ((int)0x9069) , + /// + /// Original was GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY_EXT = 0x906A + /// + UnsignedIntImageCubeMapArrayExt = ((int)0x906A) , + /// + /// Original was GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_EXT = 0x906B + /// + UnsignedIntImage2DMultisampleExt = ((int)0x906B) , + /// + /// Original was GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY_EXT = 0x906C + /// + UnsignedIntImage2DMultisampleArrayExt = ((int)0x906C) , + /// + /// Original was GL_MAX_IMAGE_SAMPLES_EXT = 0x906D + /// + MaxImageSamplesExt = ((int)0x906D) , + /// + /// Original was GL_IMAGE_BINDING_FORMAT_EXT = 0x906E + /// + ImageBindingFormatExt = ((int)0x906E) , + /// + /// Original was GL_ALL_BARRIER_BITS_EXT = 0xFFFFFFFF + /// + AllBarrierBitsExt = unchecked((int)0xFFFFFFFF) , + } + + /// + /// Not used directly. + /// + public enum ExtShadowFuncs : int + { + } + + /// + /// Not used directly. + /// + public enum ExtSharedTexturePalette : int + { + /// + /// Original was GL_SHARED_TEXTURE_PALETTE_EXT = 0x81FB + /// + SharedTexturePaletteExt = ((int)0x81FB) , + } + + /// + /// Not used directly. + /// + public enum ExtStencilClearTag : int + { + /// + /// Original was GL_STENCIL_TAG_BITS_EXT = 0x88F2 + /// + StencilTagBitsExt = ((int)0x88F2) , + /// + /// Original was GL_STENCIL_CLEAR_TAG_VALUE_EXT = 0x88F3 + /// + StencilClearTagValueExt = ((int)0x88F3) , + } + + /// + /// Used in GL.Ext.ActiveStencilFace + /// + public enum ExtStencilTwoSide : int + { + /// + /// Original was GL_STENCIL_TEST_TWO_SIDE_EXT = 0x8910 + /// + StencilTestTwoSideExt = ((int)0x8910) , + /// + /// Original was GL_ACTIVE_STENCIL_FACE_EXT = 0x8911 + /// + ActiveStencilFaceExt = ((int)0x8911) , + } + + /// + /// Not used directly. + /// + public enum ExtStencilWrap : int + { + /// + /// Original was GL_INCR_WRAP_EXT = 0x8507 + /// + IncrWrapExt = ((int)0x8507) , + /// + /// Original was GL_DECR_WRAP_EXT = 0x8508 + /// + DecrWrapExt = ((int)0x8508) , + } + + /// + /// Not used directly. + /// + public enum ExtSubtexture : int + { + } + + /// + /// Not used directly. + /// + public enum ExtTexture : int + { + /// + /// Original was GL_ALPHA4_EXT = 0x803B + /// + Alpha4Ext = ((int)0x803B) , + /// + /// Original was GL_ALPHA8_EXT = 0x803C + /// + Alpha8Ext = ((int)0x803C) , + /// + /// Original was GL_ALPHA12_EXT = 0x803D + /// + Alpha12Ext = ((int)0x803D) , + /// + /// Original was GL_ALPHA16_EXT = 0x803E + /// + Alpha16Ext = ((int)0x803E) , + /// + /// Original was GL_LUMINANCE4_EXT = 0x803F + /// + Luminance4Ext = ((int)0x803F) , + /// + /// Original was GL_LUMINANCE8_EXT = 0x8040 + /// + Luminance8Ext = ((int)0x8040) , + /// + /// Original was GL_LUMINANCE12_EXT = 0x8041 + /// + Luminance12Ext = ((int)0x8041) , + /// + /// Original was GL_LUMINANCE16_EXT = 0x8042 + /// + Luminance16Ext = ((int)0x8042) , + /// + /// Original was GL_LUMINANCE4_ALPHA4_EXT = 0x8043 + /// + Luminance4Alpha4Ext = ((int)0x8043) , + /// + /// Original was GL_LUMINANCE6_ALPHA2_EXT = 0x8044 + /// + Luminance6Alpha2Ext = ((int)0x8044) , + /// + /// Original was GL_LUMINANCE8_ALPHA8_EXT = 0x8045 + /// + Luminance8Alpha8Ext = ((int)0x8045) , + /// + /// Original was GL_LUMINANCE12_ALPHA4_EXT = 0x8046 + /// + Luminance12Alpha4Ext = ((int)0x8046) , + /// + /// Original was GL_LUMINANCE12_ALPHA12_EXT = 0x8047 + /// + Luminance12Alpha12Ext = ((int)0x8047) , + /// + /// Original was GL_LUMINANCE16_ALPHA16_EXT = 0x8048 + /// + Luminance16Alpha16Ext = ((int)0x8048) , + /// + /// Original was GL_INTENSITY_EXT = 0x8049 + /// + IntensityExt = ((int)0x8049) , + /// + /// Original was GL_INTENSITY4_EXT = 0x804A + /// + Intensity4Ext = ((int)0x804A) , + /// + /// Original was GL_INTENSITY8_EXT = 0x804B + /// + Intensity8Ext = ((int)0x804B) , + /// + /// Original was GL_INTENSITY12_EXT = 0x804C + /// + Intensity12Ext = ((int)0x804C) , + /// + /// Original was GL_INTENSITY16_EXT = 0x804D + /// + Intensity16Ext = ((int)0x804D) , + /// + /// Original was GL_RGB2_EXT = 0x804E + /// + Rgb2Ext = ((int)0x804E) , + /// + /// Original was GL_RGB4_EXT = 0x804F + /// + Rgb4Ext = ((int)0x804F) , + /// + /// Original was GL_RGB5_EXT = 0x8050 + /// + Rgb5Ext = ((int)0x8050) , + /// + /// Original was GL_RGB8_EXT = 0x8051 + /// + Rgb8Ext = ((int)0x8051) , + /// + /// Original was GL_RGB10_EXT = 0x8052 + /// + Rgb10Ext = ((int)0x8052) , + /// + /// Original was GL_RGB12_EXT = 0x8053 + /// + Rgb12Ext = ((int)0x8053) , + /// + /// Original was GL_RGB16_EXT = 0x8054 + /// + Rgb16Ext = ((int)0x8054) , + /// + /// Original was GL_RGBA2_EXT = 0x8055 + /// + Rgba2Ext = ((int)0x8055) , + /// + /// Original was GL_RGBA4_EXT = 0x8056 + /// + Rgba4Ext = ((int)0x8056) , + /// + /// Original was GL_RGB5_A1_EXT = 0x8057 + /// + Rgb5A1Ext = ((int)0x8057) , + /// + /// Original was GL_RGBA8_EXT = 0x8058 + /// + Rgba8Ext = ((int)0x8058) , + /// + /// Original was GL_RGB10_A2_EXT = 0x8059 + /// + Rgb10A2Ext = ((int)0x8059) , + /// + /// Original was GL_RGBA12_EXT = 0x805A + /// + Rgba12Ext = ((int)0x805A) , + /// + /// Original was GL_RGBA16_EXT = 0x805B + /// + Rgba16Ext = ((int)0x805B) , + /// + /// Original was GL_TEXTURE_RED_SIZE_EXT = 0x805C + /// + TextureRedSizeExt = ((int)0x805C) , + /// + /// Original was GL_TEXTURE_GREEN_SIZE_EXT = 0x805D + /// + TextureGreenSizeExt = ((int)0x805D) , + /// + /// Original was GL_TEXTURE_BLUE_SIZE_EXT = 0x805E + /// + TextureBlueSizeExt = ((int)0x805E) , + /// + /// Original was GL_TEXTURE_ALPHA_SIZE_EXT = 0x805F + /// + TextureAlphaSizeExt = ((int)0x805F) , + /// + /// Original was GL_TEXTURE_LUMINANCE_SIZE_EXT = 0x8060 + /// + TextureLuminanceSizeExt = ((int)0x8060) , + /// + /// Original was GL_TEXTURE_INTENSITY_SIZE_EXT = 0x8061 + /// + TextureIntensitySizeExt = ((int)0x8061) , + /// + /// Original was GL_REPLACE_EXT = 0x8062 + /// + ReplaceExt = ((int)0x8062) , + /// + /// Original was GL_PROXY_TEXTURE_1D_EXT = 0x8063 + /// + ProxyTexture1DExt = ((int)0x8063) , + /// + /// Original was GL_PROXY_TEXTURE_2D_EXT = 0x8064 + /// + ProxyTexture2DExt = ((int)0x8064) , + /// + /// Original was GL_TEXTURE_TOO_LARGE_EXT = 0x8065 + /// + TextureTooLargeExt = ((int)0x8065) , + } + + /// + /// Not used directly. + /// + public enum ExtTexture3D : int + { + /// + /// Original was GL_PACK_SKIP_IMAGES_EXT = 0x806B + /// + PackSkipImagesExt = ((int)0x806B) , + /// + /// Original was GL_PACK_IMAGE_HEIGHT_EXT = 0x806C + /// + PackImageHeightExt = ((int)0x806C) , + /// + /// Original was GL_UNPACK_SKIP_IMAGES_EXT = 0x806D + /// + UnpackSkipImagesExt = ((int)0x806D) , + /// + /// Original was GL_UNPACK_IMAGE_HEIGHT_EXT = 0x806E + /// + UnpackImageHeightExt = ((int)0x806E) , + /// + /// Original was GL_TEXTURE_3D_EXT = 0x806F + /// + Texture3DExt = ((int)0x806F) , + /// + /// Original was GL_PROXY_TEXTURE_3D_EXT = 0x8070 + /// + ProxyTexture3DExt = ((int)0x8070) , + /// + /// Original was GL_TEXTURE_DEPTH_EXT = 0x8071 + /// + TextureDepthExt = ((int)0x8071) , + /// + /// Original was GL_TEXTURE_WRAP_R_EXT = 0x8072 + /// + TextureWrapRExt = ((int)0x8072) , + /// + /// Original was GL_MAX_3D_TEXTURE_SIZE_EXT = 0x8073 + /// + Max3DTextureSizeExt = ((int)0x8073) , + } + + /// + /// Not used directly. + /// + public enum ExtTextureArray : int + { + /// + /// Original was GL_COMPARE_REF_DEPTH_TO_TEXTURE_EXT = 0x884E + /// + CompareRefDepthToTextureExt = ((int)0x884E) , + /// + /// Original was GL_MAX_ARRAY_TEXTURE_LAYERS_EXT = 0x88FF + /// + MaxArrayTextureLayersExt = ((int)0x88FF) , + /// + /// Original was GL_TEXTURE_1D_ARRAY_EXT = 0x8C18 + /// + Texture1DArrayExt = ((int)0x8C18) , + /// + /// Original was GL_PROXY_TEXTURE_1D_ARRAY_EXT = 0x8C19 + /// + ProxyTexture1DArrayExt = ((int)0x8C19) , + /// + /// Original was GL_TEXTURE_2D_ARRAY_EXT = 0x8C1A + /// + Texture2DArrayExt = ((int)0x8C1A) , + /// + /// Original was GL_PROXY_TEXTURE_2D_ARRAY_EXT = 0x8C1B + /// + ProxyTexture2DArrayExt = ((int)0x8C1B) , + /// + /// Original was GL_TEXTURE_BINDING_1D_ARRAY_EXT = 0x8C1C + /// + TextureBinding1DArrayExt = ((int)0x8C1C) , + /// + /// Original was GL_TEXTURE_BINDING_2D_ARRAY_EXT = 0x8C1D + /// + TextureBinding2DArrayExt = ((int)0x8C1D) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT = 0x8CD4 + /// + FramebufferAttachmentTextureLayerExt = ((int)0x8CD4) , + } + + /// + /// Used in GL.Ext.TexBuffer + /// + public enum ExtTextureBufferObject : int + { + /// + /// Original was GL_TEXTURE_BUFFER_EXT = 0x8C2A + /// + TextureBufferExt = ((int)0x8C2A) , + /// + /// Original was GL_MAX_TEXTURE_BUFFER_SIZE_EXT = 0x8C2B + /// + MaxTextureBufferSizeExt = ((int)0x8C2B) , + /// + /// Original was GL_TEXTURE_BINDING_BUFFER_EXT = 0x8C2C + /// + TextureBindingBufferExt = ((int)0x8C2C) , + /// + /// Original was GL_TEXTURE_BUFFER_DATA_STORE_BINDING_EXT = 0x8C2D + /// + TextureBufferDataStoreBindingExt = ((int)0x8C2D) , + /// + /// Original was GL_TEXTURE_BUFFER_FORMAT_EXT = 0x8C2E + /// + TextureBufferFormatExt = ((int)0x8C2E) , + } + + /// + /// Not used directly. + /// + public enum ExtTextureCompressionLatc : int + { + /// + /// Original was GL_COMPRESSED_LUMINANCE_LATC1_EXT = 0x8C70 + /// + CompressedLuminanceLatc1Ext = ((int)0x8C70) , + /// + /// Original was GL_COMPRESSED_SIGNED_LUMINANCE_LATC1_EXT = 0x8C71 + /// + CompressedSignedLuminanceLatc1Ext = ((int)0x8C71) , + /// + /// Original was GL_COMPRESSED_LUMINANCE_ALPHA_LATC2_EXT = 0x8C72 + /// + CompressedLuminanceAlphaLatc2Ext = ((int)0x8C72) , + /// + /// Original was GL_COMPRESSED_SIGNED_LUMINANCE_ALPHA_LATC2_EXT = 0x8C73 + /// + CompressedSignedLuminanceAlphaLatc2Ext = ((int)0x8C73) , + } + + /// + /// Not used directly. + /// + public enum ExtTextureCompressionRgtc : int + { + /// + /// Original was GL_COMPRESSED_RED_RGTC1_EXT = 0x8DBB + /// + CompressedRedRgtc1Ext = ((int)0x8DBB) , + /// + /// Original was GL_COMPRESSED_SIGNED_RED_RGTC1_EXT = 0x8DBC + /// + CompressedSignedRedRgtc1Ext = ((int)0x8DBC) , + /// + /// Original was GL_COMPRESSED_RED_GREEN_RGTC2_EXT = 0x8DBD + /// + CompressedRedGreenRgtc2Ext = ((int)0x8DBD) , + /// + /// Original was GL_COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT = 0x8DBE + /// + CompressedSignedRedGreenRgtc2Ext = ((int)0x8DBE) , + } + + /// + /// Not used directly. + /// + public enum ExtTextureCompressionS3tc : int + { + /// + /// Original was GL_COMPRESSED_RGB_S3TC_DXT1_EXT = 0x83F0 + /// + CompressedRgbS3tcDxt1Ext = ((int)0x83F0) , + /// + /// Original was GL_COMPRESSED_RGBA_S3TC_DXT1_EXT = 0x83F1 + /// + CompressedRgbaS3tcDxt1Ext = ((int)0x83F1) , + /// + /// Original was GL_COMPRESSED_RGBA_S3TC_DXT3_EXT = 0x83F2 + /// + CompressedRgbaS3tcDxt3Ext = ((int)0x83F2) , + /// + /// Original was GL_COMPRESSED_RGBA_S3TC_DXT5_EXT = 0x83F3 + /// + CompressedRgbaS3tcDxt5Ext = ((int)0x83F3) , + } + + /// + /// Not used directly. + /// + public enum ExtTextureCubeMap : int + { + /// + /// Original was GL_NORMAL_MAP_EXT = 0x8511 + /// + NormalMapExt = ((int)0x8511) , + /// + /// Original was GL_REFLECTION_MAP_EXT = 0x8512 + /// + ReflectionMapExt = ((int)0x8512) , + /// + /// Original was GL_TEXTURE_CUBE_MAP_EXT = 0x8513 + /// + TextureCubeMapExt = ((int)0x8513) , + /// + /// Original was GL_TEXTURE_BINDING_CUBE_MAP_EXT = 0x8514 + /// + TextureBindingCubeMapExt = ((int)0x8514) , + /// + /// Original was GL_TEXTURE_CUBE_MAP_POSITIVE_X_EXT = 0x8515 + /// + TextureCubeMapPositiveXExt = ((int)0x8515) , + /// + /// Original was GL_TEXTURE_CUBE_MAP_NEGATIVE_X_EXT = 0x8516 + /// + TextureCubeMapNegativeXExt = ((int)0x8516) , + /// + /// Original was GL_TEXTURE_CUBE_MAP_POSITIVE_Y_EXT = 0x8517 + /// + TextureCubeMapPositiveYExt = ((int)0x8517) , + /// + /// Original was GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_EXT = 0x8518 + /// + TextureCubeMapNegativeYExt = ((int)0x8518) , + /// + /// Original was GL_TEXTURE_CUBE_MAP_POSITIVE_Z_EXT = 0x8519 + /// + TextureCubeMapPositiveZExt = ((int)0x8519) , + /// + /// Original was GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_EXT = 0x851A + /// + TextureCubeMapNegativeZExt = ((int)0x851A) , + /// + /// Original was GL_PROXY_TEXTURE_CUBE_MAP_EXT = 0x851B + /// + ProxyTextureCubeMapExt = ((int)0x851B) , + /// + /// Original was GL_MAX_CUBE_MAP_TEXTURE_SIZE_EXT = 0x851C + /// + MaxCubeMapTextureSizeExt = ((int)0x851C) , + } + + /// + /// Not used directly. + /// + public enum ExtTextureEnvAdd : int + { + } + + /// + /// Not used directly. + /// + public enum ExtTextureEnvCombine : int + { + /// + /// Original was GL_COMBINE_EXT = 0x8570 + /// + CombineExt = ((int)0x8570) , + /// + /// Original was GL_COMBINE_RGB_EXT = 0x8571 + /// + CombineRgbExt = ((int)0x8571) , + /// + /// Original was GL_COMBINE_ALPHA_EXT = 0x8572 + /// + CombineAlphaExt = ((int)0x8572) , + /// + /// Original was GL_RGB_SCALE_EXT = 0x8573 + /// + RgbScaleExt = ((int)0x8573) , + /// + /// Original was GL_ADD_SIGNED_EXT = 0x8574 + /// + AddSignedExt = ((int)0x8574) , + /// + /// Original was GL_INTERPOLATE_EXT = 0x8575 + /// + InterpolateExt = ((int)0x8575) , + /// + /// Original was GL_CONSTANT_EXT = 0x8576 + /// + ConstantExt = ((int)0x8576) , + /// + /// Original was GL_PRIMARY_COLOR_EXT = 0x8577 + /// + PrimaryColorExt = ((int)0x8577) , + /// + /// Original was GL_PREVIOUS_EXT = 0x8578 + /// + PreviousExt = ((int)0x8578) , + /// + /// Original was GL_SOURCE0_RGB_EXT = 0x8580 + /// + Source0RgbExt = ((int)0x8580) , + /// + /// Original was GL_SOURCE1_RGB_EXT = 0x8581 + /// + Source1RgbExt = ((int)0x8581) , + /// + /// Original was GL_SOURCE2_RGB_EXT = 0x8582 + /// + Source2RgbExt = ((int)0x8582) , + /// + /// Original was GL_SOURCE0_ALPHA_EXT = 0x8588 + /// + Source0AlphaExt = ((int)0x8588) , + /// + /// Original was GL_SOURCE1_ALPHA_EXT = 0x8589 + /// + Source1AlphaExt = ((int)0x8589) , + /// + /// Original was GL_SOURCE2_ALPHA_EXT = 0x858A + /// + Source2AlphaExt = ((int)0x858A) , + /// + /// Original was GL_OPERAND0_RGB_EXT = 0x8590 + /// + Operand0RgbExt = ((int)0x8590) , + /// + /// Original was GL_OPERAND1_RGB_EXT = 0x8591 + /// + Operand1RgbExt = ((int)0x8591) , + /// + /// Original was GL_OPERAND2_RGB_EXT = 0x8592 + /// + Operand2RgbExt = ((int)0x8592) , + /// + /// Original was GL_OPERAND0_ALPHA_EXT = 0x8598 + /// + Operand0AlphaExt = ((int)0x8598) , + /// + /// Original was GL_OPERAND1_ALPHA_EXT = 0x8599 + /// + Operand1AlphaExt = ((int)0x8599) , + /// + /// Original was GL_OPERAND2_ALPHA_EXT = 0x859A + /// + Operand2AlphaExt = ((int)0x859A) , + } + + /// + /// Not used directly. + /// + public enum ExtTextureEnvDot3 : int + { + /// + /// Original was GL_DOT3_RGB_EXT = 0x8740 + /// + Dot3RgbExt = ((int)0x8740) , + /// + /// Original was GL_DOT3_RGBA_EXT = 0x8741 + /// + Dot3RgbaExt = ((int)0x8741) , + } + + /// + /// Not used directly. + /// + public enum ExtTextureFilterAnisotropic : int + { + /// + /// Original was GL_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FE + /// + TextureMaxAnisotropyExt = ((int)0x84FE) , + /// + /// Original was GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FF + /// + MaxTextureMaxAnisotropyExt = ((int)0x84FF) , + } + + /// + /// Not used directly. + /// + public enum ExtTextureInteger : int + { + /// + /// Original was GL_RGBA32UI = 0x8D70 + /// + Rgba32ui = ((int)0x8D70) , + /// + /// Original was GL_RGBA32UI_EXT = 0x8D70 + /// + Rgba32uiExt = ((int)0x8D70) , + /// + /// Original was GL_RGB32UI = 0x8D71 + /// + Rgb32ui = ((int)0x8D71) , + /// + /// Original was GL_RGB32UI_EXT = 0x8D71 + /// + Rgb32uiExt = ((int)0x8D71) , + /// + /// Original was GL_ALPHA32UI_EXT = 0x8D72 + /// + Alpha32uiExt = ((int)0x8D72) , + /// + /// Original was GL_INTENSITY32UI_EXT = 0x8D73 + /// + Intensity32uiExt = ((int)0x8D73) , + /// + /// Original was GL_LUMINANCE32UI_EXT = 0x8D74 + /// + Luminance32uiExt = ((int)0x8D74) , + /// + /// Original was GL_LUMINANCE_ALPHA32UI_EXT = 0x8D75 + /// + LuminanceAlpha32uiExt = ((int)0x8D75) , + /// + /// Original was GL_RGBA16UI = 0x8D76 + /// + Rgba16ui = ((int)0x8D76) , + /// + /// Original was GL_RGBA16UI_EXT = 0x8D76 + /// + Rgba16uiExt = ((int)0x8D76) , + /// + /// Original was GL_RGB16UI = 0x8D77 + /// + Rgb16ui = ((int)0x8D77) , + /// + /// Original was GL_RGB16UI_EXT = 0x8D77 + /// + Rgb16uiExt = ((int)0x8D77) , + /// + /// Original was GL_ALPHA16UI_EXT = 0x8D78 + /// + Alpha16uiExt = ((int)0x8D78) , + /// + /// Original was GL_INTENSITY16UI_EXT = 0x8D79 + /// + Intensity16uiExt = ((int)0x8D79) , + /// + /// Original was GL_LUMINANCE16UI_EXT = 0x8D7A + /// + Luminance16uiExt = ((int)0x8D7A) , + /// + /// Original was GL_LUMINANCE_ALPHA16UI_EXT = 0x8D7B + /// + LuminanceAlpha16uiExt = ((int)0x8D7B) , + /// + /// Original was GL_RGBA8UI = 0x8D7C + /// + Rgba8ui = ((int)0x8D7C) , + /// + /// Original was GL_RGBA8UI_EXT = 0x8D7C + /// + Rgba8uiExt = ((int)0x8D7C) , + /// + /// Original was GL_RGB8UI = 0x8D7D + /// + Rgb8ui = ((int)0x8D7D) , + /// + /// Original was GL_RGB8UI_EXT = 0x8D7D + /// + Rgb8uiExt = ((int)0x8D7D) , + /// + /// Original was GL_ALPHA8UI_EXT = 0x8D7E + /// + Alpha8uiExt = ((int)0x8D7E) , + /// + /// Original was GL_INTENSITY8UI_EXT = 0x8D7F + /// + Intensity8uiExt = ((int)0x8D7F) , + /// + /// Original was GL_LUMINANCE8UI_EXT = 0x8D80 + /// + Luminance8uiExt = ((int)0x8D80) , + /// + /// Original was GL_LUMINANCE_ALPHA8UI_EXT = 0x8D81 + /// + LuminanceAlpha8uiExt = ((int)0x8D81) , + /// + /// Original was GL_RGBA32I = 0x8D82 + /// + Rgba32i = ((int)0x8D82) , + /// + /// Original was GL_RGBA32I_EXT = 0x8D82 + /// + Rgba32iExt = ((int)0x8D82) , + /// + /// Original was GL_RGB32I = 0x8D83 + /// + Rgb32i = ((int)0x8D83) , + /// + /// Original was GL_RGB32I_EXT = 0x8D83 + /// + Rgb32iExt = ((int)0x8D83) , + /// + /// Original was GL_ALPHA32I_EXT = 0x8D84 + /// + Alpha32iExt = ((int)0x8D84) , + /// + /// Original was GL_INTENSITY32I_EXT = 0x8D85 + /// + Intensity32iExt = ((int)0x8D85) , + /// + /// Original was GL_LUMINANCE32I_EXT = 0x8D86 + /// + Luminance32iExt = ((int)0x8D86) , + /// + /// Original was GL_LUMINANCE_ALPHA32I_EXT = 0x8D87 + /// + LuminanceAlpha32iExt = ((int)0x8D87) , + /// + /// Original was GL_RGBA16I = 0x8D88 + /// + Rgba16i = ((int)0x8D88) , + /// + /// Original was GL_RGBA16I_EXT = 0x8D88 + /// + Rgba16iExt = ((int)0x8D88) , + /// + /// Original was GL_RGB16I = 0x8D89 + /// + Rgb16i = ((int)0x8D89) , + /// + /// Original was GL_RGB16I_EXT = 0x8D89 + /// + Rgb16iExt = ((int)0x8D89) , + /// + /// Original was GL_ALPHA16I_EXT = 0x8D8A + /// + Alpha16iExt = ((int)0x8D8A) , + /// + /// Original was GL_INTENSITY16I_EXT = 0x8D8B + /// + Intensity16iExt = ((int)0x8D8B) , + /// + /// Original was GL_LUMINANCE16I_EXT = 0x8D8C + /// + Luminance16iExt = ((int)0x8D8C) , + /// + /// Original was GL_LUMINANCE_ALPHA16I_EXT = 0x8D8D + /// + LuminanceAlpha16iExt = ((int)0x8D8D) , + /// + /// Original was GL_RGBA8I = 0x8D8E + /// + Rgba8i = ((int)0x8D8E) , + /// + /// Original was GL_RGBA8I_EXT = 0x8D8E + /// + Rgba8iExt = ((int)0x8D8E) , + /// + /// Original was GL_RGB8I = 0x8D8F + /// + Rgb8i = ((int)0x8D8F) , + /// + /// Original was GL_RGB8I_EXT = 0x8D8F + /// + Rgb8iExt = ((int)0x8D8F) , + /// + /// Original was GL_ALPHA8I_EXT = 0x8D90 + /// + Alpha8iExt = ((int)0x8D90) , + /// + /// Original was GL_INTENSITY8I_EXT = 0x8D91 + /// + Intensity8iExt = ((int)0x8D91) , + /// + /// Original was GL_LUMINANCE8I_EXT = 0x8D92 + /// + Luminance8iExt = ((int)0x8D92) , + /// + /// Original was GL_LUMINANCE_ALPHA8I_EXT = 0x8D93 + /// + LuminanceAlpha8iExt = ((int)0x8D93) , + /// + /// Original was GL_RED_INTEGER = 0x8D94 + /// + RedInteger = ((int)0x8D94) , + /// + /// Original was GL_RED_INTEGER_EXT = 0x8D94 + /// + RedIntegerExt = ((int)0x8D94) , + /// + /// Original was GL_GREEN_INTEGER = 0x8D95 + /// + GreenInteger = ((int)0x8D95) , + /// + /// Original was GL_GREEN_INTEGER_EXT = 0x8D95 + /// + GreenIntegerExt = ((int)0x8D95) , + /// + /// Original was GL_BLUE_INTEGER = 0x8D96 + /// + BlueInteger = ((int)0x8D96) , + /// + /// Original was GL_BLUE_INTEGER_EXT = 0x8D96 + /// + BlueIntegerExt = ((int)0x8D96) , + /// + /// Original was GL_ALPHA_INTEGER = 0x8D97 + /// + AlphaInteger = ((int)0x8D97) , + /// + /// Original was GL_ALPHA_INTEGER_EXT = 0x8D97 + /// + AlphaIntegerExt = ((int)0x8D97) , + /// + /// Original was GL_RGB_INTEGER = 0x8D98 + /// + RgbInteger = ((int)0x8D98) , + /// + /// Original was GL_RGB_INTEGER_EXT = 0x8D98 + /// + RgbIntegerExt = ((int)0x8D98) , + /// + /// Original was GL_RGBA_INTEGER = 0x8D99 + /// + RgbaInteger = ((int)0x8D99) , + /// + /// Original was GL_RGBA_INTEGER_EXT = 0x8D99 + /// + RgbaIntegerExt = ((int)0x8D99) , + /// + /// Original was GL_BGR_INTEGER = 0x8D9A + /// + BgrInteger = ((int)0x8D9A) , + /// + /// Original was GL_BGR_INTEGER_EXT = 0x8D9A + /// + BgrIntegerExt = ((int)0x8D9A) , + /// + /// Original was GL_BGRA_INTEGER = 0x8D9B + /// + BgraInteger = ((int)0x8D9B) , + /// + /// Original was GL_BGRA_INTEGER_EXT = 0x8D9B + /// + BgraIntegerExt = ((int)0x8D9B) , + /// + /// Original was GL_LUMINANCE_INTEGER_EXT = 0x8D9C + /// + LuminanceIntegerExt = ((int)0x8D9C) , + /// + /// Original was GL_LUMINANCE_ALPHA_INTEGER_EXT = 0x8D9D + /// + LuminanceAlphaIntegerExt = ((int)0x8D9D) , + /// + /// Original was GL_RGBA_INTEGER_MODE_EXT = 0x8D9E + /// + RgbaIntegerModeExt = ((int)0x8D9E) , + } + + /// + /// Not used directly. + /// + public enum ExtTextureLodBias : int + { + /// + /// Original was GL_MAX_TEXTURE_LOD_BIAS_EXT = 0x84FD + /// + MaxTextureLodBiasExt = ((int)0x84FD) , + /// + /// Original was GL_TEXTURE_FILTER_CONTROL_EXT = 0x8500 + /// + TextureFilterControlExt = ((int)0x8500) , + /// + /// Original was GL_TEXTURE_LOD_BIAS_EXT = 0x8501 + /// + TextureLodBiasExt = ((int)0x8501) , + } + + /// + /// Not used directly. + /// + public enum ExtTextureMirrorClamp : int + { + /// + /// Original was GL_MIRROR_CLAMP_EXT = 0x8742 + /// + MirrorClampExt = ((int)0x8742) , + /// + /// Original was GL_MIRROR_CLAMP_TO_EDGE_EXT = 0x8743 + /// + MirrorClampToEdgeExt = ((int)0x8743) , + /// + /// Original was GL_MIRROR_CLAMP_TO_BORDER_EXT = 0x8912 + /// + MirrorClampToBorderExt = ((int)0x8912) , + } + + /// + /// Not used directly. + /// + public enum ExtTextureObject : int + { + /// + /// Original was GL_TEXTURE_PRIORITY_EXT = 0x8066 + /// + TexturePriorityExt = ((int)0x8066) , + /// + /// Original was GL_TEXTURE_RESIDENT_EXT = 0x8067 + /// + TextureResidentExt = ((int)0x8067) , + /// + /// Original was GL_TEXTURE_1D_BINDING_EXT = 0x8068 + /// + Texture1DBindingExt = ((int)0x8068) , + /// + /// Original was GL_TEXTURE_2D_BINDING_EXT = 0x8069 + /// + Texture2DBindingExt = ((int)0x8069) , + /// + /// Original was GL_TEXTURE_3D_BINDING_EXT = 0x806A + /// + Texture3DBindingExt = ((int)0x806A) , + } + + /// + /// Used in GL.Ext.TextureNormal + /// + public enum ExtTexturePerturbNormal : int + { + /// + /// Original was GL_PERTURB_EXT = 0x85AE + /// + PerturbExt = ((int)0x85AE) , + /// + /// Original was GL_TEXTURE_NORMAL_EXT = 0x85AF + /// + TextureNormalExt = ((int)0x85AF) , + } + + /// + /// Not used directly. + /// + public enum ExtTextureSharedExponent : int + { + /// + /// Original was GL_RGB9_E5_EXT = 0x8C3D + /// + Rgb9E5Ext = ((int)0x8C3D) , + /// + /// Original was GL_UNSIGNED_INT_5_9_9_9_REV_EXT = 0x8C3E + /// + UnsignedInt5999RevExt = ((int)0x8C3E) , + /// + /// Original was GL_TEXTURE_SHARED_SIZE_EXT = 0x8C3F + /// + TextureSharedSizeExt = ((int)0x8C3F) , + } + + /// + /// Not used directly. + /// + public enum ExtTextureSnorm : int + { + /// + /// Original was GL_RED_SNORM = 0x8F90 + /// + RedSnorm = ((int)0x8F90) , + /// + /// Original was GL_RG_SNORM = 0x8F91 + /// + RgSnorm = ((int)0x8F91) , + /// + /// Original was GL_RGB_SNORM = 0x8F92 + /// + RgbSnorm = ((int)0x8F92) , + /// + /// Original was GL_RGBA_SNORM = 0x8F93 + /// + RgbaSnorm = ((int)0x8F93) , + /// + /// Original was GL_R8_SNORM = 0x8F94 + /// + R8Snorm = ((int)0x8F94) , + /// + /// Original was GL_RG8_SNORM = 0x8F95 + /// + Rg8Snorm = ((int)0x8F95) , + /// + /// Original was GL_RGB8_SNORM = 0x8F96 + /// + Rgb8Snorm = ((int)0x8F96) , + /// + /// Original was GL_RGBA8_SNORM = 0x8F97 + /// + Rgba8Snorm = ((int)0x8F97) , + /// + /// Original was GL_R16_SNORM = 0x8F98 + /// + R16Snorm = ((int)0x8F98) , + /// + /// Original was GL_RG16_SNORM = 0x8F99 + /// + Rg16Snorm = ((int)0x8F99) , + /// + /// Original was GL_RGB16_SNORM = 0x8F9A + /// + Rgb16Snorm = ((int)0x8F9A) , + /// + /// Original was GL_RGBA16_SNORM = 0x8F9B + /// + Rgba16Snorm = ((int)0x8F9B) , + /// + /// Original was GL_SIGNED_NORMALIZED = 0x8F9C + /// + SignedNormalized = ((int)0x8F9C) , + /// + /// Original was GL_ALPHA_SNORM = 0x9010 + /// + AlphaSnorm = ((int)0x9010) , + /// + /// Original was GL_LUMINANCE_SNORM = 0x9011 + /// + LuminanceSnorm = ((int)0x9011) , + /// + /// Original was GL_LUMINANCE_ALPHA_SNORM = 0x9012 + /// + LuminanceAlphaSnorm = ((int)0x9012) , + /// + /// Original was GL_INTENSITY_SNORM = 0x9013 + /// + IntensitySnorm = ((int)0x9013) , + /// + /// Original was GL_ALPHA8_SNORM = 0x9014 + /// + Alpha8Snorm = ((int)0x9014) , + /// + /// Original was GL_LUMINANCE8_SNORM = 0x9015 + /// + Luminance8Snorm = ((int)0x9015) , + /// + /// Original was GL_LUMINANCE8_ALPHA8_SNORM = 0x9016 + /// + Luminance8Alpha8Snorm = ((int)0x9016) , + /// + /// Original was GL_INTENSITY8_SNORM = 0x9017 + /// + Intensity8Snorm = ((int)0x9017) , + /// + /// Original was GL_ALPHA16_SNORM = 0x9018 + /// + Alpha16Snorm = ((int)0x9018) , + /// + /// Original was GL_LUMINANCE16_SNORM = 0x9019 + /// + Luminance16Snorm = ((int)0x9019) , + /// + /// Original was GL_LUMINANCE16_ALPHA16_SNORM = 0x901A + /// + Luminance16Alpha16Snorm = ((int)0x901A) , + /// + /// Original was GL_INTENSITY16_SNORM = 0x901B + /// + Intensity16Snorm = ((int)0x901B) , + } + + /// + /// Not used directly. + /// + public enum ExtTextureSrgb : int + { + /// + /// Original was GL_SRGB_EXT = 0x8C40 + /// + SrgbExt = ((int)0x8C40) , + /// + /// Original was GL_SRGB8_EXT = 0x8C41 + /// + Srgb8Ext = ((int)0x8C41) , + /// + /// Original was GL_SRGB_ALPHA_EXT = 0x8C42 + /// + SrgbAlphaExt = ((int)0x8C42) , + /// + /// Original was GL_SRGB8_ALPHA8_EXT = 0x8C43 + /// + Srgb8Alpha8Ext = ((int)0x8C43) , + /// + /// Original was GL_SLUMINANCE_ALPHA_EXT = 0x8C44 + /// + SluminanceAlphaExt = ((int)0x8C44) , + /// + /// Original was GL_SLUMINANCE8_ALPHA8_EXT = 0x8C45 + /// + Sluminance8Alpha8Ext = ((int)0x8C45) , + /// + /// Original was GL_SLUMINANCE_EXT = 0x8C46 + /// + SluminanceExt = ((int)0x8C46) , + /// + /// Original was GL_SLUMINANCE8_EXT = 0x8C47 + /// + Sluminance8Ext = ((int)0x8C47) , + /// + /// Original was GL_COMPRESSED_SRGB_EXT = 0x8C48 + /// + CompressedSrgbExt = ((int)0x8C48) , + /// + /// Original was GL_COMPRESSED_SRGB_ALPHA_EXT = 0x8C49 + /// + CompressedSrgbAlphaExt = ((int)0x8C49) , + /// + /// Original was GL_COMPRESSED_SLUMINANCE_EXT = 0x8C4A + /// + CompressedSluminanceExt = ((int)0x8C4A) , + /// + /// Original was GL_COMPRESSED_SLUMINANCE_ALPHA_EXT = 0x8C4B + /// + CompressedSluminanceAlphaExt = ((int)0x8C4B) , + /// + /// Original was GL_COMPRESSED_SRGB_S3TC_DXT1_EXT = 0x8C4C + /// + CompressedSrgbS3tcDxt1Ext = ((int)0x8C4C) , + /// + /// Original was GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT = 0x8C4D + /// + CompressedSrgbAlphaS3tcDxt1Ext = ((int)0x8C4D) , + /// + /// Original was GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT = 0x8C4E + /// + CompressedSrgbAlphaS3tcDxt3Ext = ((int)0x8C4E) , + /// + /// Original was GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT = 0x8C4F + /// + CompressedSrgbAlphaS3tcDxt5Ext = ((int)0x8C4F) , + } + + /// + /// Not used directly. + /// + public enum ExtTextureSrgbDecode : int + { + /// + /// Original was GL_TEXTURE_SRGB_DECODE_EXT = 0x8A48 + /// + TextureSrgbDecodeExt = ((int)0x8A48) , + /// + /// Original was GL_DECODE_EXT = 0x8A49 + /// + DecodeExt = ((int)0x8A49) , + /// + /// Original was GL_SKIP_DECODE_EXT = 0x8A4A + /// + SkipDecodeExt = ((int)0x8A4A) , + } + + /// + /// Not used directly. + /// + public enum ExtTextureSwizzle : int + { + /// + /// Original was GL_TEXTURE_SWIZZLE_R_EXT = 0x8E42 + /// + TextureSwizzleRExt = ((int)0x8E42) , + /// + /// Original was GL_TEXTURE_SWIZZLE_G_EXT = 0x8E43 + /// + TextureSwizzleGExt = ((int)0x8E43) , + /// + /// Original was GL_TEXTURE_SWIZZLE_B_EXT = 0x8E44 + /// + TextureSwizzleBExt = ((int)0x8E44) , + /// + /// Original was GL_TEXTURE_SWIZZLE_A_EXT = 0x8E45 + /// + TextureSwizzleAExt = ((int)0x8E45) , + /// + /// Original was GL_TEXTURE_SWIZZLE_RGBA_EXT = 0x8E46 + /// + TextureSwizzleRgbaExt = ((int)0x8E46) , + } + + /// + /// Not used directly. + /// + public enum ExtTextureType2101010Rev : int + { + } + + /// + /// Used in GL.Ext.GetQueryObject + /// + public enum ExtTimerQuery : int + { + /// + /// Original was GL_TIME_ELAPSED_EXT = 0x88BF + /// + TimeElapsedExt = ((int)0x88BF) , + } + + /// + /// Used in GL.Ext.BeginTransformFeedback, GL.Ext.BindBufferBase, GL.Ext.BindBufferOffset, GL.Ext.BindBufferRange, GL.Ext.GetTransformFeedbackVarying, GL.Ext.TransformFeedbackVaryings + /// + public enum ExtTransformFeedback : int + { + /// + /// Original was GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH_EXT = 0x8C76 + /// + TransformFeedbackVaryingMaxLengthExt = ((int)0x8C76) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_BUFFER_MODE_EXT = 0x8C7F + /// + TransformFeedbackBufferModeExt = ((int)0x8C7F) , + /// + /// Original was GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_EXT = 0x8C80 + /// + MaxTransformFeedbackSeparateComponentsExt = ((int)0x8C80) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_VARYINGS_EXT = 0x8C83 + /// + TransformFeedbackVaryingsExt = ((int)0x8C83) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_BUFFER_START_EXT = 0x8C84 + /// + TransformFeedbackBufferStartExt = ((int)0x8C84) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_BUFFER_SIZE_EXT = 0x8C85 + /// + TransformFeedbackBufferSizeExt = ((int)0x8C85) , + /// + /// Original was GL_PRIMITIVES_GENERATED_EXT = 0x8C87 + /// + PrimitivesGeneratedExt = ((int)0x8C87) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_EXT = 0x8C88 + /// + TransformFeedbackPrimitivesWrittenExt = ((int)0x8C88) , + /// + /// Original was GL_RASTERIZER_DISCARD_EXT = 0x8C89 + /// + RasterizerDiscardExt = ((int)0x8C89) , + /// + /// Original was GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS_EXT = 0x8C8A + /// + MaxTransformFeedbackInterleavedComponentsExt = ((int)0x8C8A) , + /// + /// Original was GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_EXT = 0x8C8B + /// + MaxTransformFeedbackSeparateAttribsExt = ((int)0x8C8B) , + /// + /// Original was GL_INTERLEAVED_ATTRIBS_EXT = 0x8C8C + /// + InterleavedAttribsExt = ((int)0x8C8C) , + /// + /// Original was GL_SEPARATE_ATTRIBS_EXT = 0x8C8D + /// + SeparateAttribsExt = ((int)0x8C8D) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_BUFFER_EXT = 0x8C8E + /// + TransformFeedbackBufferExt = ((int)0x8C8E) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_BUFFER_BINDING_EXT = 0x8C8F + /// + TransformFeedbackBufferBindingExt = ((int)0x8C8F) , + } + + /// + /// Not used directly. + /// + public enum ExtVertexArray : int + { + /// + /// Original was GL_VERTEX_ARRAY_EXT = 0x8074 + /// + VertexArrayExt = ((int)0x8074) , + /// + /// Original was GL_NORMAL_ARRAY_EXT = 0x8075 + /// + NormalArrayExt = ((int)0x8075) , + /// + /// Original was GL_COLOR_ARRAY_EXT = 0x8076 + /// + ColorArrayExt = ((int)0x8076) , + /// + /// Original was GL_INDEX_ARRAY_EXT = 0x8077 + /// + IndexArrayExt = ((int)0x8077) , + /// + /// Original was GL_TEXTURE_COORD_ARRAY_EXT = 0x8078 + /// + TextureCoordArrayExt = ((int)0x8078) , + /// + /// Original was GL_EDGE_FLAG_ARRAY_EXT = 0x8079 + /// + EdgeFlagArrayExt = ((int)0x8079) , + /// + /// Original was GL_VERTEX_ARRAY_SIZE_EXT = 0x807A + /// + VertexArraySizeExt = ((int)0x807A) , + /// + /// Original was GL_VERTEX_ARRAY_TYPE_EXT = 0x807B + /// + VertexArrayTypeExt = ((int)0x807B) , + /// + /// Original was GL_VERTEX_ARRAY_STRIDE_EXT = 0x807C + /// + VertexArrayStrideExt = ((int)0x807C) , + /// + /// Original was GL_VERTEX_ARRAY_COUNT_EXT = 0x807D + /// + VertexArrayCountExt = ((int)0x807D) , + /// + /// Original was GL_NORMAL_ARRAY_TYPE_EXT = 0x807E + /// + NormalArrayTypeExt = ((int)0x807E) , + /// + /// Original was GL_NORMAL_ARRAY_STRIDE_EXT = 0x807F + /// + NormalArrayStrideExt = ((int)0x807F) , + /// + /// Original was GL_NORMAL_ARRAY_COUNT_EXT = 0x8080 + /// + NormalArrayCountExt = ((int)0x8080) , + /// + /// Original was GL_COLOR_ARRAY_SIZE_EXT = 0x8081 + /// + ColorArraySizeExt = ((int)0x8081) , + /// + /// Original was GL_COLOR_ARRAY_TYPE_EXT = 0x8082 + /// + ColorArrayTypeExt = ((int)0x8082) , + /// + /// Original was GL_COLOR_ARRAY_STRIDE_EXT = 0x8083 + /// + ColorArrayStrideExt = ((int)0x8083) , + /// + /// Original was GL_COLOR_ARRAY_COUNT_EXT = 0x8084 + /// + ColorArrayCountExt = ((int)0x8084) , + /// + /// Original was GL_INDEX_ARRAY_TYPE_EXT = 0x8085 + /// + IndexArrayTypeExt = ((int)0x8085) , + /// + /// Original was GL_INDEX_ARRAY_STRIDE_EXT = 0x8086 + /// + IndexArrayStrideExt = ((int)0x8086) , + /// + /// Original was GL_INDEX_ARRAY_COUNT_EXT = 0x8087 + /// + IndexArrayCountExt = ((int)0x8087) , + /// + /// Original was GL_TEXTURE_COORD_ARRAY_SIZE_EXT = 0x8088 + /// + TextureCoordArraySizeExt = ((int)0x8088) , + /// + /// Original was GL_TEXTURE_COORD_ARRAY_TYPE_EXT = 0x8089 + /// + TextureCoordArrayTypeExt = ((int)0x8089) , + /// + /// Original was GL_TEXTURE_COORD_ARRAY_STRIDE_EXT = 0x808A + /// + TextureCoordArrayStrideExt = ((int)0x808A) , + /// + /// Original was GL_TEXTURE_COORD_ARRAY_COUNT_EXT = 0x808B + /// + TextureCoordArrayCountExt = ((int)0x808B) , + /// + /// Original was GL_EDGE_FLAG_ARRAY_STRIDE_EXT = 0x808C + /// + EdgeFlagArrayStrideExt = ((int)0x808C) , + /// + /// Original was GL_EDGE_FLAG_ARRAY_COUNT_EXT = 0x808D + /// + EdgeFlagArrayCountExt = ((int)0x808D) , + /// + /// Original was GL_VERTEX_ARRAY_POINTER_EXT = 0x808E + /// + VertexArrayPointerExt = ((int)0x808E) , + /// + /// Original was GL_NORMAL_ARRAY_POINTER_EXT = 0x808F + /// + NormalArrayPointerExt = ((int)0x808F) , + /// + /// Original was GL_COLOR_ARRAY_POINTER_EXT = 0x8090 + /// + ColorArrayPointerExt = ((int)0x8090) , + /// + /// Original was GL_INDEX_ARRAY_POINTER_EXT = 0x8091 + /// + IndexArrayPointerExt = ((int)0x8091) , + /// + /// Original was GL_TEXTURE_COORD_ARRAY_POINTER_EXT = 0x8092 + /// + TextureCoordArrayPointerExt = ((int)0x8092) , + /// + /// Original was GL_EDGE_FLAG_ARRAY_POINTER_EXT = 0x8093 + /// + EdgeFlagArrayPointerExt = ((int)0x8093) , + } + + /// + /// Not used directly. + /// + public enum ExtVertexArrayBgra : int + { + /// + /// Original was GL_BGRA = 0x80E1 + /// + Bgra = ((int)0x80E1) , + } + + /// + /// Used in GL.Ext.GetVertexAttribL, GL.Ext.VertexArrayVertexAttribLOffset, GL.Ext.VertexAttribLPointer + /// + public enum ExtVertexAttrib64bit : int + { + /// + /// Original was GL_DOUBLE = 0x140A + /// + Double = ((int)0x140A) , + /// + /// Original was GL_DOUBLE_MAT2_EXT = 0x8F46 + /// + DoubleMat2Ext = ((int)0x8F46) , + /// + /// Original was GL_DOUBLE_MAT3_EXT = 0x8F47 + /// + DoubleMat3Ext = ((int)0x8F47) , + /// + /// Original was GL_DOUBLE_MAT4_EXT = 0x8F48 + /// + DoubleMat4Ext = ((int)0x8F48) , + /// + /// Original was GL_DOUBLE_MAT2x3_EXT = 0x8F49 + /// + DoubleMat2x3Ext = ((int)0x8F49) , + /// + /// Original was GL_DOUBLE_MAT2x4_EXT = 0x8F4A + /// + DoubleMat2x4Ext = ((int)0x8F4A) , + /// + /// Original was GL_DOUBLE_MAT3x2_EXT = 0x8F4B + /// + DoubleMat3x2Ext = ((int)0x8F4B) , + /// + /// Original was GL_DOUBLE_MAT3x4_EXT = 0x8F4C + /// + DoubleMat3x4Ext = ((int)0x8F4C) , + /// + /// Original was GL_DOUBLE_MAT4x2_EXT = 0x8F4D + /// + DoubleMat4x2Ext = ((int)0x8F4D) , + /// + /// Original was GL_DOUBLE_MAT4x3_EXT = 0x8F4E + /// + DoubleMat4x3Ext = ((int)0x8F4E) , + /// + /// Original was GL_DOUBLE_VEC2_EXT = 0x8FFC + /// + DoubleVec2Ext = ((int)0x8FFC) , + /// + /// Original was GL_DOUBLE_VEC3_EXT = 0x8FFD + /// + DoubleVec3Ext = ((int)0x8FFD) , + /// + /// Original was GL_DOUBLE_VEC4_EXT = 0x8FFE + /// + DoubleVec4Ext = ((int)0x8FFE) , + } + + /// + /// Used in GL.Ext.BindParameter, GL.Ext.BindTextureUnitParameter, GL.Ext.GenSymbol, GL.Ext.GetInvariantBoolean, GL.Ext.GetInvariantFloat, GL.Ext.GetInvariantInteger, GL.Ext.GetLocalConstantBoolean, GL.Ext.GetLocalConstantFloat, GL.Ext.GetLocalConstantInteger, GL.Ext.GetVariantBoolean, GL.Ext.GetVariantFloat, GL.Ext.GetVariantInteger, GL.Ext.GetVariantPointer, GL.Ext.IsVariantEnabled, GL.Ext.SetInvariant, GL.Ext.SetLocalConstant, GL.Ext.ShaderOp1, GL.Ext.ShaderOp2, GL.Ext.ShaderOp3, GL.Ext.Swizzle, GL.Ext.VariantPointer, GL.Ext.WriteMask + /// + public enum ExtVertexShader : int + { + /// + /// Original was GL_VERTEX_SHADER_EXT = 0x8780 + /// + VertexShaderExt = ((int)0x8780) , + /// + /// Original was GL_VERTEX_SHADER_BINDING_EXT = 0x8781 + /// + VertexShaderBindingExt = ((int)0x8781) , + /// + /// Original was GL_OP_INDEX_EXT = 0x8782 + /// + OpIndexExt = ((int)0x8782) , + /// + /// Original was GL_OP_NEGATE_EXT = 0x8783 + /// + OpNegateExt = ((int)0x8783) , + /// + /// Original was GL_OP_DOT3_EXT = 0x8784 + /// + OpDot3Ext = ((int)0x8784) , + /// + /// Original was GL_OP_DOT4_EXT = 0x8785 + /// + OpDot4Ext = ((int)0x8785) , + /// + /// Original was GL_OP_MUL_EXT = 0x8786 + /// + OpMulExt = ((int)0x8786) , + /// + /// Original was GL_OP_ADD_EXT = 0x8787 + /// + OpAddExt = ((int)0x8787) , + /// + /// Original was GL_OP_MADD_EXT = 0x8788 + /// + OpMaddExt = ((int)0x8788) , + /// + /// Original was GL_OP_FRAC_EXT = 0x8789 + /// + OpFracExt = ((int)0x8789) , + /// + /// Original was GL_OP_MAX_EXT = 0x878A + /// + OpMaxExt = ((int)0x878A) , + /// + /// Original was GL_OP_MIN_EXT = 0x878B + /// + OpMinExt = ((int)0x878B) , + /// + /// Original was GL_OP_SET_GE_EXT = 0x878C + /// + OpSetGeExt = ((int)0x878C) , + /// + /// Original was GL_OP_SET_LT_EXT = 0x878D + /// + OpSetLtExt = ((int)0x878D) , + /// + /// Original was GL_OP_CLAMP_EXT = 0x878E + /// + OpClampExt = ((int)0x878E) , + /// + /// Original was GL_OP_FLOOR_EXT = 0x878F + /// + OpFloorExt = ((int)0x878F) , + /// + /// Original was GL_OP_ROUND_EXT = 0x8790 + /// + OpRoundExt = ((int)0x8790) , + /// + /// Original was GL_OP_EXP_BASE_2_EXT = 0x8791 + /// + OpExpBase2Ext = ((int)0x8791) , + /// + /// Original was GL_OP_LOG_BASE_2_EXT = 0x8792 + /// + OpLogBase2Ext = ((int)0x8792) , + /// + /// Original was GL_OP_POWER_EXT = 0x8793 + /// + OpPowerExt = ((int)0x8793) , + /// + /// Original was GL_OP_RECIP_EXT = 0x8794 + /// + OpRecipExt = ((int)0x8794) , + /// + /// Original was GL_OP_RECIP_SQRT_EXT = 0x8795 + /// + OpRecipSqrtExt = ((int)0x8795) , + /// + /// Original was GL_OP_SUB_EXT = 0x8796 + /// + OpSubExt = ((int)0x8796) , + /// + /// Original was GL_OP_CROSS_PRODUCT_EXT = 0x8797 + /// + OpCrossProductExt = ((int)0x8797) , + /// + /// Original was GL_OP_MULTIPLY_MATRIX_EXT = 0x8798 + /// + OpMultiplyMatrixExt = ((int)0x8798) , + /// + /// Original was GL_OP_MOV_EXT = 0x8799 + /// + OpMovExt = ((int)0x8799) , + /// + /// Original was GL_OUTPUT_VERTEX_EXT = 0x879A + /// + OutputVertexExt = ((int)0x879A) , + /// + /// Original was GL_OUTPUT_COLOR0_EXT = 0x879B + /// + OutputColor0Ext = ((int)0x879B) , + /// + /// Original was GL_OUTPUT_COLOR1_EXT = 0x879C + /// + OutputColor1Ext = ((int)0x879C) , + /// + /// Original was GL_OUTPUT_TEXTURE_COORD0_EXT = 0x879D + /// + OutputTextureCoord0Ext = ((int)0x879D) , + /// + /// Original was GL_OUTPUT_TEXTURE_COORD1_EXT = 0x879E + /// + OutputTextureCoord1Ext = ((int)0x879E) , + /// + /// Original was GL_OUTPUT_TEXTURE_COORD2_EXT = 0x879F + /// + OutputTextureCoord2Ext = ((int)0x879F) , + /// + /// Original was GL_OUTPUT_TEXTURE_COORD3_EXT = 0x87A0 + /// + OutputTextureCoord3Ext = ((int)0x87A0) , + /// + /// Original was GL_OUTPUT_TEXTURE_COORD4_EXT = 0x87A1 + /// + OutputTextureCoord4Ext = ((int)0x87A1) , + /// + /// Original was GL_OUTPUT_TEXTURE_COORD5_EXT = 0x87A2 + /// + OutputTextureCoord5Ext = ((int)0x87A2) , + /// + /// Original was GL_OUTPUT_TEXTURE_COORD6_EXT = 0x87A3 + /// + OutputTextureCoord6Ext = ((int)0x87A3) , + /// + /// Original was GL_OUTPUT_TEXTURE_COORD7_EXT = 0x87A4 + /// + OutputTextureCoord7Ext = ((int)0x87A4) , + /// + /// Original was GL_OUTPUT_TEXTURE_COORD8_EXT = 0x87A5 + /// + OutputTextureCoord8Ext = ((int)0x87A5) , + /// + /// Original was GL_OUTPUT_TEXTURE_COORD9_EXT = 0x87A6 + /// + OutputTextureCoord9Ext = ((int)0x87A6) , + /// + /// Original was GL_OUTPUT_TEXTURE_COORD10_EXT = 0x87A7 + /// + OutputTextureCoord10Ext = ((int)0x87A7) , + /// + /// Original was GL_OUTPUT_TEXTURE_COORD11_EXT = 0x87A8 + /// + OutputTextureCoord11Ext = ((int)0x87A8) , + /// + /// Original was GL_OUTPUT_TEXTURE_COORD12_EXT = 0x87A9 + /// + OutputTextureCoord12Ext = ((int)0x87A9) , + /// + /// Original was GL_OUTPUT_TEXTURE_COORD13_EXT = 0x87AA + /// + OutputTextureCoord13Ext = ((int)0x87AA) , + /// + /// Original was GL_OUTPUT_TEXTURE_COORD14_EXT = 0x87AB + /// + OutputTextureCoord14Ext = ((int)0x87AB) , + /// + /// Original was GL_OUTPUT_TEXTURE_COORD15_EXT = 0x87AC + /// + OutputTextureCoord15Ext = ((int)0x87AC) , + /// + /// Original was GL_OUTPUT_TEXTURE_COORD16_EXT = 0x87AD + /// + OutputTextureCoord16Ext = ((int)0x87AD) , + /// + /// Original was GL_OUTPUT_TEXTURE_COORD17_EXT = 0x87AE + /// + OutputTextureCoord17Ext = ((int)0x87AE) , + /// + /// Original was GL_OUTPUT_TEXTURE_COORD18_EXT = 0x87AF + /// + OutputTextureCoord18Ext = ((int)0x87AF) , + /// + /// Original was GL_OUTPUT_TEXTURE_COORD19_EXT = 0x87B0 + /// + OutputTextureCoord19Ext = ((int)0x87B0) , + /// + /// Original was GL_OUTPUT_TEXTURE_COORD20_EXT = 0x87B1 + /// + OutputTextureCoord20Ext = ((int)0x87B1) , + /// + /// Original was GL_OUTPUT_TEXTURE_COORD21_EXT = 0x87B2 + /// + OutputTextureCoord21Ext = ((int)0x87B2) , + /// + /// Original was GL_OUTPUT_TEXTURE_COORD22_EXT = 0x87B3 + /// + OutputTextureCoord22Ext = ((int)0x87B3) , + /// + /// Original was GL_OUTPUT_TEXTURE_COORD23_EXT = 0x87B4 + /// + OutputTextureCoord23Ext = ((int)0x87B4) , + /// + /// Original was GL_OUTPUT_TEXTURE_COORD24_EXT = 0x87B5 + /// + OutputTextureCoord24Ext = ((int)0x87B5) , + /// + /// Original was GL_OUTPUT_TEXTURE_COORD25_EXT = 0x87B6 + /// + OutputTextureCoord25Ext = ((int)0x87B6) , + /// + /// Original was GL_OUTPUT_TEXTURE_COORD26_EXT = 0x87B7 + /// + OutputTextureCoord26Ext = ((int)0x87B7) , + /// + /// Original was GL_OUTPUT_TEXTURE_COORD27_EXT = 0x87B8 + /// + OutputTextureCoord27Ext = ((int)0x87B8) , + /// + /// Original was GL_OUTPUT_TEXTURE_COORD28_EXT = 0x87B9 + /// + OutputTextureCoord28Ext = ((int)0x87B9) , + /// + /// Original was GL_OUTPUT_TEXTURE_COORD29_EXT = 0x87BA + /// + OutputTextureCoord29Ext = ((int)0x87BA) , + /// + /// Original was GL_OUTPUT_TEXTURE_COORD30_EXT = 0x87BB + /// + OutputTextureCoord30Ext = ((int)0x87BB) , + /// + /// Original was GL_OUTPUT_TEXTURE_COORD31_EXT = 0x87BC + /// + OutputTextureCoord31Ext = ((int)0x87BC) , + /// + /// Original was GL_OUTPUT_FOG_EXT = 0x87BD + /// + OutputFogExt = ((int)0x87BD) , + /// + /// Original was GL_SCALAR_EXT = 0x87BE + /// + ScalarExt = ((int)0x87BE) , + /// + /// Original was GL_VECTOR_EXT = 0x87BF + /// + VectorExt = ((int)0x87BF) , + /// + /// Original was GL_MATRIX_EXT = 0x87C0 + /// + MatrixExt = ((int)0x87C0) , + /// + /// Original was GL_VARIANT_EXT = 0x87C1 + /// + VariantExt = ((int)0x87C1) , + /// + /// Original was GL_INVARIANT_EXT = 0x87C2 + /// + InvariantExt = ((int)0x87C2) , + /// + /// Original was GL_LOCAL_CONSTANT_EXT = 0x87C3 + /// + LocalConstantExt = ((int)0x87C3) , + /// + /// Original was GL_LOCAL_EXT = 0x87C4 + /// + LocalExt = ((int)0x87C4) , + /// + /// Original was GL_MAX_VERTEX_SHADER_INSTRUCTIONS_EXT = 0x87C5 + /// + MaxVertexShaderInstructionsExt = ((int)0x87C5) , + /// + /// Original was GL_MAX_VERTEX_SHADER_VARIANTS_EXT = 0x87C6 + /// + MaxVertexShaderVariantsExt = ((int)0x87C6) , + /// + /// Original was GL_MAX_VERTEX_SHADER_INVARIANTS_EXT = 0x87C7 + /// + MaxVertexShaderInvariantsExt = ((int)0x87C7) , + /// + /// Original was GL_MAX_VERTEX_SHADER_LOCAL_CONSTANTS_EXT = 0x87C8 + /// + MaxVertexShaderLocalConstantsExt = ((int)0x87C8) , + /// + /// Original was GL_MAX_VERTEX_SHADER_LOCALS_EXT = 0x87C9 + /// + MaxVertexShaderLocalsExt = ((int)0x87C9) , + /// + /// Original was GL_MAX_OPTIMIZED_VERTEX_SHADER_INSTRUCTIONS_EXT = 0x87CA + /// + MaxOptimizedVertexShaderInstructionsExt = ((int)0x87CA) , + /// + /// Original was GL_MAX_OPTIMIZED_VERTEX_SHADER_VARIANTS_EXT = 0x87CB + /// + MaxOptimizedVertexShaderVariantsExt = ((int)0x87CB) , + /// + /// Original was GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCAL_CONSTANTS_EXT = 0x87CC + /// + MaxOptimizedVertexShaderLocalConstantsExt = ((int)0x87CC) , + /// + /// Original was GL_MAX_OPTIMIZED_VERTEX_SHADER_INVARIANTS_EXT = 0x87CD + /// + MaxOptimizedVertexShaderInvariantsExt = ((int)0x87CD) , + /// + /// Original was GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCALS_EXT = 0x87CE + /// + MaxOptimizedVertexShaderLocalsExt = ((int)0x87CE) , + /// + /// Original was GL_VERTEX_SHADER_INSTRUCTIONS_EXT = 0x87CF + /// + VertexShaderInstructionsExt = ((int)0x87CF) , + /// + /// Original was GL_VERTEX_SHADER_VARIANTS_EXT = 0x87D0 + /// + VertexShaderVariantsExt = ((int)0x87D0) , + /// + /// Original was GL_VERTEX_SHADER_INVARIANTS_EXT = 0x87D1 + /// + VertexShaderInvariantsExt = ((int)0x87D1) , + /// + /// Original was GL_VERTEX_SHADER_LOCAL_CONSTANTS_EXT = 0x87D2 + /// + VertexShaderLocalConstantsExt = ((int)0x87D2) , + /// + /// Original was GL_VERTEX_SHADER_LOCALS_EXT = 0x87D3 + /// + VertexShaderLocalsExt = ((int)0x87D3) , + /// + /// Original was GL_VERTEX_SHADER_OPTIMIZED_EXT = 0x87D4 + /// + VertexShaderOptimizedExt = ((int)0x87D4) , + /// + /// Original was GL_X_EXT = 0x87D5 + /// + XExt = ((int)0x87D5) , + /// + /// Original was GL_Y_EXT = 0x87D6 + /// + YExt = ((int)0x87D6) , + /// + /// Original was GL_Z_EXT = 0x87D7 + /// + ZExt = ((int)0x87D7) , + /// + /// Original was GL_W_EXT = 0x87D8 + /// + WExt = ((int)0x87D8) , + /// + /// Original was GL_NEGATIVE_X_EXT = 0x87D9 + /// + NegativeXExt = ((int)0x87D9) , + /// + /// Original was GL_NEGATIVE_Y_EXT = 0x87DA + /// + NegativeYExt = ((int)0x87DA) , + /// + /// Original was GL_NEGATIVE_Z_EXT = 0x87DB + /// + NegativeZExt = ((int)0x87DB) , + /// + /// Original was GL_NEGATIVE_W_EXT = 0x87DC + /// + NegativeWExt = ((int)0x87DC) , + /// + /// Original was GL_ZERO_EXT = 0x87DD + /// + ZeroExt = ((int)0x87DD) , + /// + /// Original was GL_ONE_EXT = 0x87DE + /// + OneExt = ((int)0x87DE) , + /// + /// Original was GL_NEGATIVE_ONE_EXT = 0x87DF + /// + NegativeOneExt = ((int)0x87DF) , + /// + /// Original was GL_NORMALIZED_RANGE_EXT = 0x87E0 + /// + NormalizedRangeExt = ((int)0x87E0) , + /// + /// Original was GL_FULL_RANGE_EXT = 0x87E1 + /// + FullRangeExt = ((int)0x87E1) , + /// + /// Original was GL_CURRENT_VERTEX_EXT = 0x87E2 + /// + CurrentVertexExt = ((int)0x87E2) , + /// + /// Original was GL_MVP_MATRIX_EXT = 0x87E3 + /// + MvpMatrixExt = ((int)0x87E3) , + /// + /// Original was GL_VARIANT_VALUE_EXT = 0x87E4 + /// + VariantValueExt = ((int)0x87E4) , + /// + /// Original was GL_VARIANT_DATATYPE_EXT = 0x87E5 + /// + VariantDatatypeExt = ((int)0x87E5) , + /// + /// Original was GL_VARIANT_ARRAY_STRIDE_EXT = 0x87E6 + /// + VariantArrayStrideExt = ((int)0x87E6) , + /// + /// Original was GL_VARIANT_ARRAY_TYPE_EXT = 0x87E7 + /// + VariantArrayTypeExt = ((int)0x87E7) , + /// + /// Original was GL_VARIANT_ARRAY_EXT = 0x87E8 + /// + VariantArrayExt = ((int)0x87E8) , + /// + /// Original was GL_VARIANT_ARRAY_POINTER_EXT = 0x87E9 + /// + VariantArrayPointerExt = ((int)0x87E9) , + /// + /// Original was GL_INVARIANT_VALUE_EXT = 0x87EA + /// + InvariantValueExt = ((int)0x87EA) , + /// + /// Original was GL_INVARIANT_DATATYPE_EXT = 0x87EB + /// + InvariantDatatypeExt = ((int)0x87EB) , + /// + /// Original was GL_LOCAL_CONSTANT_VALUE_EXT = 0x87EC + /// + LocalConstantValueExt = ((int)0x87EC) , + /// + /// Original was GL_LOCAL_CONSTANT_DATATYPE_EXT = 0x87ED + /// + LocalConstantDatatypeExt = ((int)0x87ED) , + } + + /// + /// Used in GL.Ext.VertexWeightPointer + /// + public enum ExtVertexWeighting : int + { + /// + /// Original was GL_MODELVIEW0_STACK_DEPTH_EXT = 0x0BA3 + /// + Modelview0StackDepthExt = ((int)0x0BA3) , + /// + /// Original was GL_MODELVIEW0_MATRIX_EXT = 0x0BA6 + /// + Modelview0MatrixExt = ((int)0x0BA6) , + /// + /// Original was GL_MODELVIEW0_EXT = 0x1700 + /// + Modelview0Ext = ((int)0x1700) , + /// + /// Original was GL_MODELVIEW1_STACK_DEPTH_EXT = 0x8502 + /// + Modelview1StackDepthExt = ((int)0x8502) , + /// + /// Original was GL_MODELVIEW1_MATRIX_EXT = 0x8506 + /// + Modelview1MatrixExt = ((int)0x8506) , + /// + /// Original was GL_MODELVIEW_MATRIX1_EXT = 0x8506 + /// + ModelviewMatrix1Ext = ((int)0x8506) , + /// + /// Original was GL_VERTEX_WEIGHTING_EXT = 0x8509 + /// + VertexWeightingExt = ((int)0x8509) , + /// + /// Original was GL_MODELVIEW1_EXT = 0x850A + /// + Modelview1Ext = ((int)0x850A) , + /// + /// Original was GL_CURRENT_VERTEX_WEIGHT_EXT = 0x850B + /// + CurrentVertexWeightExt = ((int)0x850B) , + /// + /// Original was GL_VERTEX_WEIGHT_ARRAY_EXT = 0x850C + /// + VertexWeightArrayExt = ((int)0x850C) , + /// + /// Original was GL_VERTEX_WEIGHT_ARRAY_SIZE_EXT = 0x850D + /// + VertexWeightArraySizeExt = ((int)0x850D) , + /// + /// Original was GL_VERTEX_WEIGHT_ARRAY_TYPE_EXT = 0x850E + /// + VertexWeightArrayTypeExt = ((int)0x850E) , + /// + /// Original was GL_VERTEX_WEIGHT_ARRAY_STRIDE_EXT = 0x850F + /// + VertexWeightArrayStrideExt = ((int)0x850F) , + /// + /// Original was GL_VERTEX_WEIGHT_ARRAY_POINTER_EXT = 0x8510 + /// + VertexWeightArrayPointerExt = ((int)0x8510) , + } + + /// + /// Used in GL.Ext.ImportSync + /// + public enum ExtX11SyncObject : int + { + /// + /// Original was GL_SYNC_X11_FENCE_EXT = 0x90E1 + /// + SyncX11FenceExt = ((int)0x90E1) , + } + + /// + /// Not used directly. + /// + public enum FeedBackToken : int + { + /// + /// Original was GL_PASS_THROUGH_TOKEN = 0x0700 + /// + PassThroughToken = ((int)0x0700) , + /// + /// Original was GL_POINT_TOKEN = 0x0701 + /// + PointToken = ((int)0x0701) , + /// + /// Original was GL_LINE_TOKEN = 0x0702 + /// + LineToken = ((int)0x0702) , + /// + /// Original was GL_POLYGON_TOKEN = 0x0703 + /// + PolygonToken = ((int)0x0703) , + /// + /// Original was GL_BITMAP_TOKEN = 0x0704 + /// + BitmapToken = ((int)0x0704) , + /// + /// Original was GL_DRAW_PIXEL_TOKEN = 0x0705 + /// + DrawPixelToken = ((int)0x0705) , + /// + /// Original was GL_COPY_PIXEL_TOKEN = 0x0706 + /// + CopyPixelToken = ((int)0x0706) , + /// + /// Original was GL_LINE_RESET_TOKEN = 0x0707 + /// + LineResetToken = ((int)0x0707) , + } + + /// + /// Used in GL.FeedbackBuffer + /// + public enum FeedbackType : int + { + /// + /// Original was GL_2D = 0x0600 + /// + Gl2D = ((int)0x0600) , + /// + /// Original was GL_3D = 0x0601 + /// + Gl3D = ((int)0x0601) , + /// + /// Original was GL_3D_COLOR = 0x0602 + /// + Gl3DColor = ((int)0x0602) , + /// + /// Original was GL_3D_COLOR_TEXTURE = 0x0603 + /// + Gl3DColorTexture = ((int)0x0603) , + /// + /// Original was GL_4D_COLOR_TEXTURE = 0x0604 + /// + Gl4DColorTexture = ((int)0x0604) , + } + + /// + /// Not used directly. + /// + [Flags] + public enum FfdMaskSgix : int + { + /// + /// Original was GL_TEXTURE_DEFORMATION_BIT_SGIX = 0x00000001 + /// + TextureDeformationBitSgix = ((int)0x00000001) , + /// + /// Original was GL_GEOMETRY_DEFORMATION_BIT_SGIX = 0x00000002 + /// + GeometryDeformationBitSgix = ((int)0x00000002) , + } + + /// + /// Not used directly. + /// + public enum FfdTargetSgix : int + { + /// + /// Original was GL_GEOMETRY_DEFORMATION_SGIX = 0x8194 + /// + GeometryDeformationSgix = ((int)0x8194) , + /// + /// Original was GL_TEXTURE_DEFORMATION_SGIX = 0x8195 + /// + TextureDeformationSgix = ((int)0x8195) , + } + + /// + /// Not used directly. + /// + public enum FogMode : int + { + /// + /// Original was GL_EXP = 0x0800 + /// + Exp = ((int)0x0800) , + /// + /// Original was GL_EXP2 = 0x0801 + /// + Exp2 = ((int)0x0801) , + /// + /// Original was GL_LINEAR = 0x2601 + /// + Linear = ((int)0x2601) , + /// + /// Original was GL_FOG_FUNC_SGIS = 0x812A + /// + FogFuncSgis = ((int)0x812A) , + /// + /// Original was GL_FOG_COORD = 0x8451 + /// + FogCoord = ((int)0x8451) , + /// + /// Original was GL_FRAGMENT_DEPTH = 0x8452 + /// + FragmentDepth = ((int)0x8452) , + } + + /// + /// Used in GL.Fog + /// + public enum FogParameter : int + { + /// + /// Original was GL_FOG_INDEX = 0x0B61 + /// + FogIndex = ((int)0x0B61) , + /// + /// Original was GL_FOG_DENSITY = 0x0B62 + /// + FogDensity = ((int)0x0B62) , + /// + /// Original was GL_FOG_START = 0x0B63 + /// + FogStart = ((int)0x0B63) , + /// + /// Original was GL_FOG_END = 0x0B64 + /// + FogEnd = ((int)0x0B64) , + /// + /// Original was GL_FOG_MODE = 0x0B65 + /// + FogMode = ((int)0x0B65) , + /// + /// Original was GL_FOG_COLOR = 0x0B66 + /// + FogColor = ((int)0x0B66) , + /// + /// Original was GL_FOG_OFFSET_VALUE_SGIX = 0x8199 + /// + FogOffsetValueSgix = ((int)0x8199) , + /// + /// Original was GL_FOG_COORD_SRC = 0x8450 + /// + FogCoordSrc = ((int)0x8450) , + } + + /// + /// Used in GL.FogCoordPointer + /// + public enum FogPointerType : int + { + /// + /// Original was GL_FLOAT = 0x1406 + /// + Float = ((int)0x1406) , + /// + /// Original was GL_DOUBLE = 0x140A + /// + Double = ((int)0x140A) , + /// + /// Original was GL_HALF_FLOAT = 0x140B + /// + HalfFloat = ((int)0x140B) , + } + + /// + /// Not used directly. + /// + public enum FragmentLightModelParameterSgix : int + { + /// + /// Original was GL_FRAGMENT_LIGHT_MODEL_LOCAL_VIEWER_SGIX = 0x8408 + /// + FragmentLightModelLocalViewerSgix = ((int)0x8408) , + /// + /// Original was GL_FRAGMENT_LIGHT_MODEL_TWO_SIDE_SGIX = 0x8409 + /// + FragmentLightModelTwoSideSgix = ((int)0x8409) , + /// + /// Original was GL_FRAGMENT_LIGHT_MODEL_AMBIENT_SGIX = 0x840A + /// + FragmentLightModelAmbientSgix = ((int)0x840A) , + /// + /// Original was GL_FRAGMENT_LIGHT_MODEL_NORMAL_INTERPOLATION_SGIX = 0x840B + /// + FragmentLightModelNormalInterpolationSgix = ((int)0x840B) , + } + + /// + /// Used in GL.Arb.FramebufferTexture, GL.Arb.FramebufferTextureFace, GL.Arb.FramebufferTextureLayer, GL.FramebufferRenderbuffer, GL.FramebufferTexture, GL.FramebufferTexture1D, GL.FramebufferTexture2D, GL.FramebufferTexture3D, GL.FramebufferTextureLayer, GL.GetFramebufferAttachmentParameter, GL.Ext.FramebufferRenderbuffer, GL.Ext.FramebufferTexture1D, GL.Ext.FramebufferTexture2D, GL.Ext.FramebufferTexture3D, GL.Ext.FramebufferTexture, GL.Ext.FramebufferTextureFace, GL.Ext.FramebufferTextureLayer, GL.Ext.GetFramebufferAttachmentParameter, GL.Ext.GetNamedFramebufferAttachmentParameter, GL.Ext.NamedFramebufferRenderbuffer, GL.Ext.NamedFramebufferTexture1D, GL.Ext.NamedFramebufferTexture2D, GL.Ext.NamedFramebufferTexture3D, GL.Ext.NamedFramebufferTexture, GL.Ext.NamedFramebufferTextureFace, GL.Ext.NamedFramebufferTextureLayer + /// + public enum FramebufferAttachment : int + { + /// + /// Original was GL_DEPTH_STENCIL_ATTACHMENT = 0x821A + /// + DepthStencilAttachment = ((int)0x821A) , + /// + /// Original was GL_COLOR_ATTACHMENT0 = 0x8CE0 + /// + ColorAttachment0 = ((int)0x8CE0) , + /// + /// Original was GL_COLOR_ATTACHMENT0_EXT = 0x8CE0 + /// + ColorAttachment0Ext = ((int)0x8CE0) , + /// + /// Original was GL_COLOR_ATTACHMENT1 = 0x8CE1 + /// + ColorAttachment1 = ((int)0x8CE1) , + /// + /// Original was GL_COLOR_ATTACHMENT1_EXT = 0x8CE1 + /// + ColorAttachment1Ext = ((int)0x8CE1) , + /// + /// Original was GL_COLOR_ATTACHMENT2 = 0x8CE2 + /// + ColorAttachment2 = ((int)0x8CE2) , + /// + /// Original was GL_COLOR_ATTACHMENT2_EXT = 0x8CE2 + /// + ColorAttachment2Ext = ((int)0x8CE2) , + /// + /// Original was GL_COLOR_ATTACHMENT3 = 0x8CE3 + /// + ColorAttachment3 = ((int)0x8CE3) , + /// + /// Original was GL_COLOR_ATTACHMENT3_EXT = 0x8CE3 + /// + ColorAttachment3Ext = ((int)0x8CE3) , + /// + /// Original was GL_COLOR_ATTACHMENT4 = 0x8CE4 + /// + ColorAttachment4 = ((int)0x8CE4) , + /// + /// Original was GL_COLOR_ATTACHMENT4_EXT = 0x8CE4 + /// + ColorAttachment4Ext = ((int)0x8CE4) , + /// + /// Original was GL_COLOR_ATTACHMENT5 = 0x8CE5 + /// + ColorAttachment5 = ((int)0x8CE5) , + /// + /// Original was GL_COLOR_ATTACHMENT5_EXT = 0x8CE5 + /// + ColorAttachment5Ext = ((int)0x8CE5) , + /// + /// Original was GL_COLOR_ATTACHMENT6 = 0x8CE6 + /// + ColorAttachment6 = ((int)0x8CE6) , + /// + /// Original was GL_COLOR_ATTACHMENT6_EXT = 0x8CE6 + /// + ColorAttachment6Ext = ((int)0x8CE6) , + /// + /// Original was GL_COLOR_ATTACHMENT7 = 0x8CE7 + /// + ColorAttachment7 = ((int)0x8CE7) , + /// + /// Original was GL_COLOR_ATTACHMENT7_EXT = 0x8CE7 + /// + ColorAttachment7Ext = ((int)0x8CE7) , + /// + /// Original was GL_COLOR_ATTACHMENT8 = 0x8CE8 + /// + ColorAttachment8 = ((int)0x8CE8) , + /// + /// Original was GL_COLOR_ATTACHMENT8_EXT = 0x8CE8 + /// + ColorAttachment8Ext = ((int)0x8CE8) , + /// + /// Original was GL_COLOR_ATTACHMENT9 = 0x8CE9 + /// + ColorAttachment9 = ((int)0x8CE9) , + /// + /// Original was GL_COLOR_ATTACHMENT9_EXT = 0x8CE9 + /// + ColorAttachment9Ext = ((int)0x8CE9) , + /// + /// Original was GL_COLOR_ATTACHMENT10 = 0x8CEA + /// + ColorAttachment10 = ((int)0x8CEA) , + /// + /// Original was GL_COLOR_ATTACHMENT10_EXT = 0x8CEA + /// + ColorAttachment10Ext = ((int)0x8CEA) , + /// + /// Original was GL_COLOR_ATTACHMENT11 = 0x8CEB + /// + ColorAttachment11 = ((int)0x8CEB) , + /// + /// Original was GL_COLOR_ATTACHMENT11_EXT = 0x8CEB + /// + ColorAttachment11Ext = ((int)0x8CEB) , + /// + /// Original was GL_COLOR_ATTACHMENT12 = 0x8CEC + /// + ColorAttachment12 = ((int)0x8CEC) , + /// + /// Original was GL_COLOR_ATTACHMENT12_EXT = 0x8CEC + /// + ColorAttachment12Ext = ((int)0x8CEC) , + /// + /// Original was GL_COLOR_ATTACHMENT13 = 0x8CED + /// + ColorAttachment13 = ((int)0x8CED) , + /// + /// Original was GL_COLOR_ATTACHMENT13_EXT = 0x8CED + /// + ColorAttachment13Ext = ((int)0x8CED) , + /// + /// Original was GL_COLOR_ATTACHMENT14 = 0x8CEE + /// + ColorAttachment14 = ((int)0x8CEE) , + /// + /// Original was GL_COLOR_ATTACHMENT14_EXT = 0x8CEE + /// + ColorAttachment14Ext = ((int)0x8CEE) , + /// + /// Original was GL_COLOR_ATTACHMENT15 = 0x8CEF + /// + ColorAttachment15 = ((int)0x8CEF) , + /// + /// Original was GL_COLOR_ATTACHMENT15_EXT = 0x8CEF + /// + ColorAttachment15Ext = ((int)0x8CEF) , + /// + /// Original was GL_DEPTH_ATTACHMENT = 0x8D00 + /// + DepthAttachment = ((int)0x8D00) , + /// + /// Original was GL_DEPTH_ATTACHMENT_EXT = 0x8D00 + /// + DepthAttachmentExt = ((int)0x8D00) , + /// + /// Original was GL_STENCIL_ATTACHMENT = 0x8D20 + /// + StencilAttachment = ((int)0x8D20) , + /// + /// Original was GL_STENCIL_ATTACHMENT_EXT = 0x8D20 + /// + StencilAttachmentExt = ((int)0x8D20) , + } + + /// + /// Not used directly. + /// + public enum FramebufferAttachmentComponentType : int + { + /// + /// Original was GL_INT = 0x1404 + /// + Int = ((int)0x1404) , + /// + /// Original was GL_FLOAT = 0x1406 + /// + Float = ((int)0x1406) , + /// + /// Original was GL_INDEX = 0x8222 + /// + Index = ((int)0x8222) , + /// + /// Original was GL_UNSIGNED_NORMALIZED = 0x8C17 + /// + UnsignedNormalized = ((int)0x8C17) , + } + + /// + /// Not used directly. + /// + public enum FramebufferAttachmentObjectType : int + { + /// + /// Original was GL_NONE = 0 + /// + None = ((int)0) , + /// + /// Original was GL_TEXTURE = 0x1702 + /// + Texture = ((int)0x1702) , + /// + /// Original was GL_FRAMEBUFFER_DEFAULT = 0x8218 + /// + FramebufferDefault = ((int)0x8218) , + /// + /// Original was GL_RENDERBUFFER = 0x8D41 + /// + Renderbuffer = ((int)0x8D41) , + } + + /// + /// Not used directly. + /// + public enum FramebufferErrorCode : int + { + /// + /// Original was GL_FRAMEBUFFER_UNDEFINED = 0x8219 + /// + FramebufferUndefined = ((int)0x8219) , + /// + /// Original was GL_FRAMEBUFFER_COMPLETE = 0x8CD5 + /// + FramebufferComplete = ((int)0x8CD5) , + /// + /// Original was GL_FRAMEBUFFER_COMPLETE_EXT = 0x8CD5 + /// + FramebufferCompleteExt = ((int)0x8CD5) , + /// + /// Original was GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT = 0x8CD6 + /// + FramebufferIncompleteAttachment = ((int)0x8CD6) , + /// + /// Original was GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT = 0x8CD6 + /// + FramebufferIncompleteAttachmentExt = ((int)0x8CD6) , + /// + /// Original was GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT = 0x8CD7 + /// + FramebufferIncompleteMissingAttachment = ((int)0x8CD7) , + /// + /// Original was GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT = 0x8CD7 + /// + FramebufferIncompleteMissingAttachmentExt = ((int)0x8CD7) , + /// + /// Original was GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT = 0x8CD9 + /// + FramebufferIncompleteDimensionsExt = ((int)0x8CD9) , + /// + /// Original was GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT = 0x8CDA + /// + FramebufferIncompleteFormatsExt = ((int)0x8CDA) , + /// + /// Original was GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER = 0x8CDB + /// + FramebufferIncompleteDrawBuffer = ((int)0x8CDB) , + /// + /// Original was GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT = 0x8CDB + /// + FramebufferIncompleteDrawBufferExt = ((int)0x8CDB) , + /// + /// Original was GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER = 0x8CDC + /// + FramebufferIncompleteReadBuffer = ((int)0x8CDC) , + /// + /// Original was GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT = 0x8CDC + /// + FramebufferIncompleteReadBufferExt = ((int)0x8CDC) , + /// + /// Original was GL_FRAMEBUFFER_UNSUPPORTED = 0x8CDD + /// + FramebufferUnsupported = ((int)0x8CDD) , + /// + /// Original was GL_FRAMEBUFFER_UNSUPPORTED_EXT = 0x8CDD + /// + FramebufferUnsupportedExt = ((int)0x8CDD) , + /// + /// Original was GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE = 0x8D56 + /// + FramebufferIncompleteMultisample = ((int)0x8D56) , + /// + /// Original was GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS = 0x8DA8 + /// + FramebufferIncompleteLayerTargets = ((int)0x8DA8) , + /// + /// Original was GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT = 0x8DA9 + /// + FramebufferIncompleteLayerCount = ((int)0x8DA9) , + } + + /// + /// Used in GL.GetFramebufferAttachmentParameter, GL.Ext.GetFramebufferAttachmentParameter + /// + public enum FramebufferParameterName : int + { + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING = 0x8210 + /// + FramebufferAttachmentColorEncoding = ((int)0x8210) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE = 0x8211 + /// + FramebufferAttachmentComponentType = ((int)0x8211) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE = 0x8212 + /// + FramebufferAttachmentRedSize = ((int)0x8212) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE = 0x8213 + /// + FramebufferAttachmentGreenSize = ((int)0x8213) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE = 0x8214 + /// + FramebufferAttachmentBlueSize = ((int)0x8214) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE = 0x8215 + /// + FramebufferAttachmentAlphaSize = ((int)0x8215) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE = 0x8216 + /// + FramebufferAttachmentDepthSize = ((int)0x8216) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE = 0x8217 + /// + FramebufferAttachmentStencilSize = ((int)0x8217) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE = 0x8CD0 + /// + FramebufferAttachmentObjectType = ((int)0x8CD0) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT = 0x8CD0 + /// + FramebufferAttachmentObjectTypeExt = ((int)0x8CD0) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME = 0x8CD1 + /// + FramebufferAttachmentObjectName = ((int)0x8CD1) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT = 0x8CD1 + /// + FramebufferAttachmentObjectNameExt = ((int)0x8CD1) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL = 0x8CD2 + /// + FramebufferAttachmentTextureLevel = ((int)0x8CD2) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT = 0x8CD2 + /// + FramebufferAttachmentTextureLevelExt = ((int)0x8CD2) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE = 0x8CD3 + /// + FramebufferAttachmentTextureCubeMapFace = ((int)0x8CD3) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT = 0x8CD3 + /// + FramebufferAttachmentTextureCubeMapFaceExt = ((int)0x8CD3) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT = 0x8CD4 + /// + FramebufferAttachmentTexture3DZoffsetExt = ((int)0x8CD4) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER = 0x8CD4 + /// + FramebufferAttachmentTextureLayer = ((int)0x8CD4) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_LAYERED = 0x8DA7 + /// + FramebufferAttachmentLayered = ((int)0x8DA7) , + } + + /// + /// Used in GL.Arb.FramebufferTexture, GL.Arb.FramebufferTextureFace, GL.Arb.FramebufferTextureLayer, GL.BindFramebuffer, GL.CheckFramebufferStatus, GL.FramebufferRenderbuffer, GL.FramebufferTexture, GL.FramebufferTexture1D, GL.FramebufferTexture2D, GL.FramebufferTexture3D, GL.FramebufferTextureLayer, GL.GetFramebufferAttachmentParameter, GL.Ext.BindFramebuffer, GL.Ext.CheckFramebufferStatus, GL.Ext.CheckNamedFramebufferStatus, GL.Ext.FramebufferRenderbuffer, GL.Ext.FramebufferTexture1D, GL.Ext.FramebufferTexture2D, GL.Ext.FramebufferTexture3D, GL.Ext.FramebufferTexture, GL.Ext.FramebufferTextureFace, GL.Ext.FramebufferTextureLayer, GL.Ext.GetFramebufferAttachmentParameter + /// + public enum FramebufferTarget : int + { + /// + /// Original was GL_READ_FRAMEBUFFER = 0x8CA8 + /// + ReadFramebuffer = ((int)0x8CA8) , + /// + /// Original was GL_DRAW_FRAMEBUFFER = 0x8CA9 + /// + DrawFramebuffer = ((int)0x8CA9) , + /// + /// Original was GL_FRAMEBUFFER = 0x8D40 + /// + Framebuffer = ((int)0x8D40) , + /// + /// Original was GL_FRAMEBUFFER_EXT = 0x8D40 + /// + FramebufferExt = ((int)0x8D40) , + } + + /// + /// Used in GL.FrontFace + /// + public enum FrontFaceDirection : int + { + /// + /// Original was GL_CW = 0x0900 + /// + Cw = ((int)0x0900) , + /// + /// Original was GL_CCW = 0x0901 + /// + Ccw = ((int)0x0901) , + } + + /// + /// Used in GL.GenerateMipmap, GL.Ext.GenerateMipmap + /// + public enum GenerateMipmapTarget : int + { + /// + /// Original was GL_TEXTURE_1D = 0x0DE0 + /// + Texture1D = ((int)0x0DE0) , + /// + /// Original was GL_TEXTURE_2D = 0x0DE1 + /// + Texture2D = ((int)0x0DE1) , + /// + /// Original was GL_TEXTURE_3D = 0x806F + /// + Texture3D = ((int)0x806F) , + /// + /// Original was GL_TEXTURE_CUBE_MAP = 0x8513 + /// + TextureCubeMap = ((int)0x8513) , + /// + /// Original was GL_TEXTURE_1D_ARRAY = 0x8C18 + /// + Texture1DArray = ((int)0x8C18) , + /// + /// Original was GL_TEXTURE_2D_ARRAY = 0x8C1A + /// + Texture2DArray = ((int)0x8C1A) , + /// + /// Original was GL_TEXTURE_2D_MULTISAMPLE = 0x9100 + /// + Texture2DMultisample = ((int)0x9100) , + /// + /// Original was GL_TEXTURE_2D_MULTISAMPLE_ARRAY = 0x9102 + /// + Texture2DMultisampleArray = ((int)0x9102) , + } + + /// + /// Used in GL.GetColorTableParameter, GL.Ext.GetColorTableParameter + /// + public enum GetColorTableParameterPName : int + { + /// + /// Original was GL_COLOR_TABLE_SCALE = 0x80D6 + /// + ColorTableScale = ((int)0x80D6) , + /// + /// Original was GL_COLOR_TABLE_BIAS = 0x80D7 + /// + ColorTableBias = ((int)0x80D7) , + /// + /// Original was GL_COLOR_TABLE_FORMAT = 0x80D8 + /// + ColorTableFormat = ((int)0x80D8) , + /// + /// Original was GL_COLOR_TABLE_WIDTH = 0x80D9 + /// + ColorTableWidth = ((int)0x80D9) , + /// + /// Original was GL_COLOR_TABLE_RED_SIZE = 0x80DA + /// + ColorTableRedSize = ((int)0x80DA) , + /// + /// Original was GL_COLOR_TABLE_GREEN_SIZE = 0x80DB + /// + ColorTableGreenSize = ((int)0x80DB) , + /// + /// Original was GL_COLOR_TABLE_BLUE_SIZE = 0x80DC + /// + ColorTableBlueSize = ((int)0x80DC) , + /// + /// Original was GL_COLOR_TABLE_ALPHA_SIZE = 0x80DD + /// + ColorTableAlphaSize = ((int)0x80DD) , + /// + /// Original was GL_COLOR_TABLE_LUMINANCE_SIZE = 0x80DE + /// + ColorTableLuminanceSize = ((int)0x80DE) , + /// + /// Original was GL_COLOR_TABLE_INTENSITY_SIZE = 0x80DF + /// + ColorTableIntensitySize = ((int)0x80DF) , + } + + /// + /// Not used directly. + /// + public enum GetColorTableParameterPNameSgi : int + { + /// + /// Original was GL_COLOR_TABLE_SCALE_SGI = 0x80D6 + /// + ColorTableScaleSgi = ((int)0x80D6) , + /// + /// Original was GL_COLOR_TABLE_BIAS_SGI = 0x80D7 + /// + ColorTableBiasSgi = ((int)0x80D7) , + /// + /// Original was GL_COLOR_TABLE_FORMAT_SGI = 0x80D8 + /// + ColorTableFormatSgi = ((int)0x80D8) , + /// + /// Original was GL_COLOR_TABLE_WIDTH_SGI = 0x80D9 + /// + ColorTableWidthSgi = ((int)0x80D9) , + /// + /// Original was GL_COLOR_TABLE_RED_SIZE_SGI = 0x80DA + /// + ColorTableRedSizeSgi = ((int)0x80DA) , + /// + /// Original was GL_COLOR_TABLE_GREEN_SIZE_SGI = 0x80DB + /// + ColorTableGreenSizeSgi = ((int)0x80DB) , + /// + /// Original was GL_COLOR_TABLE_BLUE_SIZE_SGI = 0x80DC + /// + ColorTableBlueSizeSgi = ((int)0x80DC) , + /// + /// Original was GL_COLOR_TABLE_ALPHA_SIZE_SGI = 0x80DD + /// + ColorTableAlphaSizeSgi = ((int)0x80DD) , + /// + /// Original was GL_COLOR_TABLE_LUMINANCE_SIZE_SGI = 0x80DE + /// + ColorTableLuminanceSizeSgi = ((int)0x80DE) , + /// + /// Original was GL_COLOR_TABLE_INTENSITY_SIZE_SGI = 0x80DF + /// + ColorTableIntensitySizeSgi = ((int)0x80DF) , + } + + /// + /// Not used directly. + /// + public enum GetConvolutionParameter : int + { + /// + /// Original was GL_CONVOLUTION_BORDER_MODE_EXT = 0x8013 + /// + ConvolutionBorderModeExt = ((int)0x8013) , + /// + /// Original was GL_CONVOLUTION_FILTER_SCALE_EXT = 0x8014 + /// + ConvolutionFilterScaleExt = ((int)0x8014) , + /// + /// Original was GL_CONVOLUTION_FILTER_BIAS_EXT = 0x8015 + /// + ConvolutionFilterBiasExt = ((int)0x8015) , + /// + /// Original was GL_CONVOLUTION_FORMAT_EXT = 0x8017 + /// + ConvolutionFormatExt = ((int)0x8017) , + /// + /// Original was GL_CONVOLUTION_WIDTH_EXT = 0x8018 + /// + ConvolutionWidthExt = ((int)0x8018) , + /// + /// Original was GL_CONVOLUTION_HEIGHT_EXT = 0x8019 + /// + ConvolutionHeightExt = ((int)0x8019) , + /// + /// Original was GL_MAX_CONVOLUTION_WIDTH_EXT = 0x801A + /// + MaxConvolutionWidthExt = ((int)0x801A) , + /// + /// Original was GL_MAX_CONVOLUTION_HEIGHT_EXT = 0x801B + /// + MaxConvolutionHeightExt = ((int)0x801B) , + } + + /// + /// Used in GL.GetConvolutionParameter + /// + public enum GetConvolutionParameterPName : int + { + /// + /// Original was GL_CONVOLUTION_BORDER_MODE = 0x8013 + /// + ConvolutionBorderMode = ((int)0x8013) , + /// + /// Original was GL_CONVOLUTION_FILTER_SCALE = 0x8014 + /// + ConvolutionFilterScale = ((int)0x8014) , + /// + /// Original was GL_CONVOLUTION_FILTER_BIAS = 0x8015 + /// + ConvolutionFilterBias = ((int)0x8015) , + /// + /// Original was GL_CONVOLUTION_FORMAT = 0x8017 + /// + ConvolutionFormat = ((int)0x8017) , + /// + /// Original was GL_CONVOLUTION_WIDTH = 0x8018 + /// + ConvolutionWidth = ((int)0x8018) , + /// + /// Original was GL_CONVOLUTION_HEIGHT = 0x8019 + /// + ConvolutionHeight = ((int)0x8019) , + /// + /// Original was GL_MAX_CONVOLUTION_WIDTH = 0x801A + /// + MaxConvolutionWidth = ((int)0x801A) , + /// + /// Original was GL_MAX_CONVOLUTION_HEIGHT = 0x801B + /// + MaxConvolutionHeight = ((int)0x801B) , + /// + /// Original was GL_CONVOLUTION_BORDER_COLOR = 0x8154 + /// + ConvolutionBorderColor = ((int)0x8154) , + } + + /// + /// Used in GL.GetHistogramParameter + /// + public enum GetHistogramParameterPName : int + { + /// + /// Original was GL_HISTOGRAM_WIDTH = 0x8026 + /// + HistogramWidth = ((int)0x8026) , + /// + /// Original was GL_HISTOGRAM_FORMAT = 0x8027 + /// + HistogramFormat = ((int)0x8027) , + /// + /// Original was GL_HISTOGRAM_RED_SIZE = 0x8028 + /// + HistogramRedSize = ((int)0x8028) , + /// + /// Original was GL_HISTOGRAM_GREEN_SIZE = 0x8029 + /// + HistogramGreenSize = ((int)0x8029) , + /// + /// Original was GL_HISTOGRAM_BLUE_SIZE = 0x802A + /// + HistogramBlueSize = ((int)0x802A) , + /// + /// Original was GL_HISTOGRAM_ALPHA_SIZE = 0x802B + /// + HistogramAlphaSize = ((int)0x802B) , + /// + /// Original was GL_HISTOGRAM_LUMINANCE_SIZE = 0x802C + /// + HistogramLuminanceSize = ((int)0x802C) , + /// + /// Original was GL_HISTOGRAM_SINK = 0x802D + /// + HistogramSink = ((int)0x802D) , + } + + /// + /// Not used directly. + /// + public enum GetHistogramParameterPNameExt : int + { + /// + /// Original was GL_HISTOGRAM_WIDTH_EXT = 0x8026 + /// + HistogramWidthExt = ((int)0x8026) , + /// + /// Original was GL_HISTOGRAM_FORMAT_EXT = 0x8027 + /// + HistogramFormatExt = ((int)0x8027) , + /// + /// Original was GL_HISTOGRAM_RED_SIZE_EXT = 0x8028 + /// + HistogramRedSizeExt = ((int)0x8028) , + /// + /// Original was GL_HISTOGRAM_GREEN_SIZE_EXT = 0x8029 + /// + HistogramGreenSizeExt = ((int)0x8029) , + /// + /// Original was GL_HISTOGRAM_BLUE_SIZE_EXT = 0x802A + /// + HistogramBlueSizeExt = ((int)0x802A) , + /// + /// Original was GL_HISTOGRAM_ALPHA_SIZE_EXT = 0x802B + /// + HistogramAlphaSizeExt = ((int)0x802B) , + /// + /// Original was GL_HISTOGRAM_LUMINANCE_SIZE_EXT = 0x802C + /// + HistogramLuminanceSizeExt = ((int)0x802C) , + /// + /// Original was GL_HISTOGRAM_SINK_EXT = 0x802D + /// + HistogramSinkExt = ((int)0x802D) , + } + + /// + /// Used in GL.GetBoolean, GL.GetDouble, GL.GetFloat, GL.GetInteger, GL.Ext.GetIntegerIndexed + /// + public enum GetIndexedPName : int + { + /// + /// Original was GL_DEPTH_RANGE = 0x0B70 + /// + DepthRange = ((int)0x0B70) , + /// + /// Original was GL_VIEWPORT = 0x0BA2 + /// + Viewport = ((int)0x0BA2) , + /// + /// Original was GL_SCISSOR_BOX = 0x0C10 + /// + ScissorBox = ((int)0x0C10) , + /// + /// Original was GL_COLOR_WRITEMASK = 0x0C23 + /// + ColorWritemask = ((int)0x0C23) , + /// + /// Original was GL_UNIFORM_BUFFER_BINDING = 0x8A28 + /// + UniformBufferBinding = ((int)0x8A28) , + /// + /// Original was GL_UNIFORM_BUFFER_START = 0x8A29 + /// + UniformBufferStart = ((int)0x8A29) , + /// + /// Original was GL_UNIFORM_BUFFER_SIZE = 0x8A2A + /// + UniformBufferSize = ((int)0x8A2A) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_BUFFER_START = 0x8C84 + /// + TransformFeedbackBufferStart = ((int)0x8C84) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_BUFFER_SIZE = 0x8C85 + /// + TransformFeedbackBufferSize = ((int)0x8C85) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_BUFFER_BINDING = 0x8C8F + /// + TransformFeedbackBufferBinding = ((int)0x8C8F) , + /// + /// Original was GL_SAMPLE_MASK_VALUE = 0x8E52 + /// + SampleMaskValue = ((int)0x8E52) , + } + + /// + /// Used in GL.GetMap + /// + public enum GetMapQuery : int + { + /// + /// Original was GL_COEFF = 0x0A00 + /// + Coeff = ((int)0x0A00) , + /// + /// Original was GL_ORDER = 0x0A01 + /// + Order = ((int)0x0A01) , + /// + /// Original was GL_DOMAIN = 0x0A02 + /// + Domain = ((int)0x0A02) , + } + + /// + /// Used in GL.GetMinmaxParameter + /// + public enum GetMinmaxParameterPName : int + { + /// + /// Original was GL_MINMAX_FORMAT = 0x802F + /// + MinmaxFormat = ((int)0x802F) , + /// + /// Original was GL_MINMAX_SINK = 0x8030 + /// + MinmaxSink = ((int)0x8030) , + } + + /// + /// Not used directly. + /// + public enum GetMinmaxParameterPNameExt : int + { + /// + /// Original was GL_MINMAX_FORMAT_EXT = 0x802F + /// + MinmaxFormatExt = ((int)0x802F) , + /// + /// Original was GL_MINMAX_SINK_EXT = 0x8030 + /// + MinmaxSinkExt = ((int)0x8030) , + } + + /// + /// Used in GL.GetMultisample + /// + public enum GetMultisamplePName : int + { + /// + /// Original was GL_SAMPLE_POSITION = 0x8E50 + /// + SamplePosition = ((int)0x8E50) , + } + + /// + /// Not used directly. + /// + public enum GetPixelMap : int + { + /// + /// Original was GL_PIXEL_MAP_I_TO_I = 0x0C70 + /// + PixelMapIToI = ((int)0x0C70) , + /// + /// Original was GL_PIXEL_MAP_S_TO_S = 0x0C71 + /// + PixelMapSToS = ((int)0x0C71) , + /// + /// Original was GL_PIXEL_MAP_I_TO_R = 0x0C72 + /// + PixelMapIToR = ((int)0x0C72) , + /// + /// Original was GL_PIXEL_MAP_I_TO_G = 0x0C73 + /// + PixelMapIToG = ((int)0x0C73) , + /// + /// Original was GL_PIXEL_MAP_I_TO_B = 0x0C74 + /// + PixelMapIToB = ((int)0x0C74) , + /// + /// Original was GL_PIXEL_MAP_I_TO_A = 0x0C75 + /// + PixelMapIToA = ((int)0x0C75) , + /// + /// Original was GL_PIXEL_MAP_R_TO_R = 0x0C76 + /// + PixelMapRToR = ((int)0x0C76) , + /// + /// Original was GL_PIXEL_MAP_G_TO_G = 0x0C77 + /// + PixelMapGToG = ((int)0x0C77) , + /// + /// Original was GL_PIXEL_MAP_B_TO_B = 0x0C78 + /// + PixelMapBToB = ((int)0x0C78) , + /// + /// Original was GL_PIXEL_MAP_A_TO_A = 0x0C79 + /// + PixelMapAToA = ((int)0x0C79) , + } + + /// + /// Used in GL.GetBoolean, GL.GetDouble, GL.GetFloat, GL.GetInteger + /// + public enum GetPName : int + { + /// + /// Original was GL_CURRENT_COLOR = 0x0B00 + /// + CurrentColor = ((int)0x0B00) , + /// + /// Original was GL_CURRENT_INDEX = 0x0B01 + /// + CurrentIndex = ((int)0x0B01) , + /// + /// Original was GL_CURRENT_NORMAL = 0x0B02 + /// + CurrentNormal = ((int)0x0B02) , + /// + /// Original was GL_CURRENT_TEXTURE_COORDS = 0x0B03 + /// + CurrentTextureCoords = ((int)0x0B03) , + /// + /// Original was GL_CURRENT_RASTER_COLOR = 0x0B04 + /// + CurrentRasterColor = ((int)0x0B04) , + /// + /// Original was GL_CURRENT_RASTER_INDEX = 0x0B05 + /// + CurrentRasterIndex = ((int)0x0B05) , + /// + /// Original was GL_CURRENT_RASTER_TEXTURE_COORDS = 0x0B06 + /// + CurrentRasterTextureCoords = ((int)0x0B06) , + /// + /// Original was GL_CURRENT_RASTER_POSITION = 0x0B07 + /// + CurrentRasterPosition = ((int)0x0B07) , + /// + /// Original was GL_CURRENT_RASTER_POSITION_VALID = 0x0B08 + /// + CurrentRasterPositionValid = ((int)0x0B08) , + /// + /// Original was GL_CURRENT_RASTER_DISTANCE = 0x0B09 + /// + CurrentRasterDistance = ((int)0x0B09) , + /// + /// Original was GL_POINT_SMOOTH = 0x0B10 + /// + PointSmooth = ((int)0x0B10) , + /// + /// Original was GL_POINT_SIZE = 0x0B11 + /// + PointSize = ((int)0x0B11) , + /// + /// Original was GL_POINT_SIZE_RANGE = 0x0B12 + /// + PointSizeRange = ((int)0x0B12) , + /// + /// Original was GL_SMOOTH_POINT_SIZE_RANGE = 0x0B12 + /// + SmoothPointSizeRange = ((int)0x0B12) , + /// + /// Original was GL_POINT_SIZE_GRANULARITY = 0x0B13 + /// + PointSizeGranularity = ((int)0x0B13) , + /// + /// Original was GL_SMOOTH_POINT_SIZE_GRANULARITY = 0x0B13 + /// + SmoothPointSizeGranularity = ((int)0x0B13) , + /// + /// Original was GL_LINE_SMOOTH = 0x0B20 + /// + LineSmooth = ((int)0x0B20) , + /// + /// Original was GL_LINE_WIDTH = 0x0B21 + /// + LineWidth = ((int)0x0B21) , + /// + /// Original was GL_LINE_WIDTH_RANGE = 0x0B22 + /// + LineWidthRange = ((int)0x0B22) , + /// + /// Original was GL_SMOOTH_LINE_WIDTH_RANGE = 0x0B22 + /// + SmoothLineWidthRange = ((int)0x0B22) , + /// + /// Original was GL_LINE_WIDTH_GRANULARITY = 0x0B23 + /// + LineWidthGranularity = ((int)0x0B23) , + /// + /// Original was GL_SMOOTH_LINE_WIDTH_GRANULARITY = 0x0B23 + /// + SmoothLineWidthGranularity = ((int)0x0B23) , + /// + /// Original was GL_LINE_STIPPLE = 0x0B24 + /// + LineStipple = ((int)0x0B24) , + /// + /// Original was GL_LINE_STIPPLE_PATTERN = 0x0B25 + /// + LineStipplePattern = ((int)0x0B25) , + /// + /// Original was GL_LINE_STIPPLE_REPEAT = 0x0B26 + /// + LineStippleRepeat = ((int)0x0B26) , + /// + /// Original was GL_LIST_MODE = 0x0B30 + /// + ListMode = ((int)0x0B30) , + /// + /// Original was GL_MAX_LIST_NESTING = 0x0B31 + /// + MaxListNesting = ((int)0x0B31) , + /// + /// Original was GL_LIST_BASE = 0x0B32 + /// + ListBase = ((int)0x0B32) , + /// + /// Original was GL_LIST_INDEX = 0x0B33 + /// + ListIndex = ((int)0x0B33) , + /// + /// Original was GL_POLYGON_MODE = 0x0B40 + /// + PolygonMode = ((int)0x0B40) , + /// + /// Original was GL_POLYGON_SMOOTH = 0x0B41 + /// + PolygonSmooth = ((int)0x0B41) , + /// + /// Original was GL_POLYGON_STIPPLE = 0x0B42 + /// + PolygonStipple = ((int)0x0B42) , + /// + /// Original was GL_EDGE_FLAG = 0x0B43 + /// + EdgeFlag = ((int)0x0B43) , + /// + /// Original was GL_CULL_FACE = 0x0B44 + /// + CullFace = ((int)0x0B44) , + /// + /// Original was GL_CULL_FACE_MODE = 0x0B45 + /// + CullFaceMode = ((int)0x0B45) , + /// + /// Original was GL_FRONT_FACE = 0x0B46 + /// + FrontFace = ((int)0x0B46) , + /// + /// Original was GL_LIGHTING = 0x0B50 + /// + Lighting = ((int)0x0B50) , + /// + /// Original was GL_LIGHT_MODEL_LOCAL_VIEWER = 0x0B51 + /// + LightModelLocalViewer = ((int)0x0B51) , + /// + /// Original was GL_LIGHT_MODEL_TWO_SIDE = 0x0B52 + /// + LightModelTwoSide = ((int)0x0B52) , + /// + /// Original was GL_LIGHT_MODEL_AMBIENT = 0x0B53 + /// + LightModelAmbient = ((int)0x0B53) , + /// + /// Original was GL_SHADE_MODEL = 0x0B54 + /// + ShadeModel = ((int)0x0B54) , + /// + /// Original was GL_COLOR_MATERIAL_FACE = 0x0B55 + /// + ColorMaterialFace = ((int)0x0B55) , + /// + /// Original was GL_COLOR_MATERIAL_PARAMETER = 0x0B56 + /// + ColorMaterialParameter = ((int)0x0B56) , + /// + /// Original was GL_COLOR_MATERIAL = 0x0B57 + /// + ColorMaterial = ((int)0x0B57) , + /// + /// Original was GL_FOG = 0x0B60 + /// + Fog = ((int)0x0B60) , + /// + /// Original was GL_FOG_INDEX = 0x0B61 + /// + FogIndex = ((int)0x0B61) , + /// + /// Original was GL_FOG_DENSITY = 0x0B62 + /// + FogDensity = ((int)0x0B62) , + /// + /// Original was GL_FOG_START = 0x0B63 + /// + FogStart = ((int)0x0B63) , + /// + /// Original was GL_FOG_END = 0x0B64 + /// + FogEnd = ((int)0x0B64) , + /// + /// Original was GL_FOG_MODE = 0x0B65 + /// + FogMode = ((int)0x0B65) , + /// + /// Original was GL_FOG_COLOR = 0x0B66 + /// + FogColor = ((int)0x0B66) , + /// + /// Original was GL_DEPTH_RANGE = 0x0B70 + /// + DepthRange = ((int)0x0B70) , + /// + /// Original was GL_DEPTH_TEST = 0x0B71 + /// + DepthTest = ((int)0x0B71) , + /// + /// Original was GL_DEPTH_WRITEMASK = 0x0B72 + /// + DepthWritemask = ((int)0x0B72) , + /// + /// Original was GL_DEPTH_CLEAR_VALUE = 0x0B73 + /// + DepthClearValue = ((int)0x0B73) , + /// + /// Original was GL_DEPTH_FUNC = 0x0B74 + /// + DepthFunc = ((int)0x0B74) , + /// + /// Original was GL_ACCUM_CLEAR_VALUE = 0x0B80 + /// + AccumClearValue = ((int)0x0B80) , + /// + /// Original was GL_STENCIL_TEST = 0x0B90 + /// + StencilTest = ((int)0x0B90) , + /// + /// Original was GL_STENCIL_CLEAR_VALUE = 0x0B91 + /// + StencilClearValue = ((int)0x0B91) , + /// + /// Original was GL_STENCIL_FUNC = 0x0B92 + /// + StencilFunc = ((int)0x0B92) , + /// + /// Original was GL_STENCIL_VALUE_MASK = 0x0B93 + /// + StencilValueMask = ((int)0x0B93) , + /// + /// Original was GL_STENCIL_FAIL = 0x0B94 + /// + StencilFail = ((int)0x0B94) , + /// + /// Original was GL_STENCIL_PASS_DEPTH_FAIL = 0x0B95 + /// + StencilPassDepthFail = ((int)0x0B95) , + /// + /// Original was GL_STENCIL_PASS_DEPTH_PASS = 0x0B96 + /// + StencilPassDepthPass = ((int)0x0B96) , + /// + /// Original was GL_STENCIL_REF = 0x0B97 + /// + StencilRef = ((int)0x0B97) , + /// + /// Original was GL_STENCIL_WRITEMASK = 0x0B98 + /// + StencilWritemask = ((int)0x0B98) , + /// + /// Original was GL_MATRIX_MODE = 0x0BA0 + /// + MatrixMode = ((int)0x0BA0) , + /// + /// Original was GL_NORMALIZE = 0x0BA1 + /// + Normalize = ((int)0x0BA1) , + /// + /// Original was GL_VIEWPORT = 0x0BA2 + /// + Viewport = ((int)0x0BA2) , + /// + /// Original was GL_MODELVIEW_STACK_DEPTH = 0x0BA3 + /// + ModelviewStackDepth = ((int)0x0BA3) , + /// + /// Original was GL_PROJECTION_STACK_DEPTH = 0x0BA4 + /// + ProjectionStackDepth = ((int)0x0BA4) , + /// + /// Original was GL_TEXTURE_STACK_DEPTH = 0x0BA5 + /// + TextureStackDepth = ((int)0x0BA5) , + /// + /// Original was GL_MODELVIEW_MATRIX = 0x0BA6 + /// + ModelviewMatrix = ((int)0x0BA6) , + /// + /// Original was GL_PROJECTION_MATRIX = 0x0BA7 + /// + ProjectionMatrix = ((int)0x0BA7) , + /// + /// Original was GL_TEXTURE_MATRIX = 0x0BA8 + /// + TextureMatrix = ((int)0x0BA8) , + /// + /// Original was GL_ATTRIB_STACK_DEPTH = 0x0BB0 + /// + AttribStackDepth = ((int)0x0BB0) , + /// + /// Original was GL_CLIENT_ATTRIB_STACK_DEPTH = 0x0BB1 + /// + ClientAttribStackDepth = ((int)0x0BB1) , + /// + /// Original was GL_ALPHA_TEST = 0x0BC0 + /// + AlphaTest = ((int)0x0BC0) , + /// + /// Original was GL_ALPHA_TEST_FUNC = 0x0BC1 + /// + AlphaTestFunc = ((int)0x0BC1) , + /// + /// Original was GL_ALPHA_TEST_REF = 0x0BC2 + /// + AlphaTestRef = ((int)0x0BC2) , + /// + /// Original was GL_DITHER = 0x0BD0 + /// + Dither = ((int)0x0BD0) , + /// + /// Original was GL_BLEND_DST = 0x0BE0 + /// + BlendDst = ((int)0x0BE0) , + /// + /// Original was GL_BLEND_SRC = 0x0BE1 + /// + BlendSrc = ((int)0x0BE1) , + /// + /// Original was GL_BLEND = 0x0BE2 + /// + Blend = ((int)0x0BE2) , + /// + /// Original was GL_LOGIC_OP_MODE = 0x0BF0 + /// + LogicOpMode = ((int)0x0BF0) , + /// + /// Original was GL_INDEX_LOGIC_OP = 0x0BF1 + /// + IndexLogicOp = ((int)0x0BF1) , + /// + /// Original was GL_LOGIC_OP = 0x0BF1 + /// + LogicOp = ((int)0x0BF1) , + /// + /// Original was GL_COLOR_LOGIC_OP = 0x0BF2 + /// + ColorLogicOp = ((int)0x0BF2) , + /// + /// Original was GL_AUX_BUFFERS = 0x0C00 + /// + AuxBuffers = ((int)0x0C00) , + /// + /// Original was GL_DRAW_BUFFER = 0x0C01 + /// + DrawBuffer = ((int)0x0C01) , + /// + /// Original was GL_READ_BUFFER = 0x0C02 + /// + ReadBuffer = ((int)0x0C02) , + /// + /// Original was GL_SCISSOR_BOX = 0x0C10 + /// + ScissorBox = ((int)0x0C10) , + /// + /// Original was GL_SCISSOR_TEST = 0x0C11 + /// + ScissorTest = ((int)0x0C11) , + /// + /// Original was GL_INDEX_CLEAR_VALUE = 0x0C20 + /// + IndexClearValue = ((int)0x0C20) , + /// + /// Original was GL_INDEX_WRITEMASK = 0x0C21 + /// + IndexWritemask = ((int)0x0C21) , + /// + /// Original was GL_COLOR_CLEAR_VALUE = 0x0C22 + /// + ColorClearValue = ((int)0x0C22) , + /// + /// Original was GL_COLOR_WRITEMASK = 0x0C23 + /// + ColorWritemask = ((int)0x0C23) , + /// + /// Original was GL_INDEX_MODE = 0x0C30 + /// + IndexMode = ((int)0x0C30) , + /// + /// Original was GL_RGBA_MODE = 0x0C31 + /// + RgbaMode = ((int)0x0C31) , + /// + /// Original was GL_DOUBLEBUFFER = 0x0C32 + /// + Doublebuffer = ((int)0x0C32) , + /// + /// Original was GL_STEREO = 0x0C33 + /// + Stereo = ((int)0x0C33) , + /// + /// Original was GL_RENDER_MODE = 0x0C40 + /// + RenderMode = ((int)0x0C40) , + /// + /// Original was GL_PERSPECTIVE_CORRECTION_HINT = 0x0C50 + /// + PerspectiveCorrectionHint = ((int)0x0C50) , + /// + /// Original was GL_POINT_SMOOTH_HINT = 0x0C51 + /// + PointSmoothHint = ((int)0x0C51) , + /// + /// Original was GL_LINE_SMOOTH_HINT = 0x0C52 + /// + LineSmoothHint = ((int)0x0C52) , + /// + /// Original was GL_POLYGON_SMOOTH_HINT = 0x0C53 + /// + PolygonSmoothHint = ((int)0x0C53) , + /// + /// Original was GL_FOG_HINT = 0x0C54 + /// + FogHint = ((int)0x0C54) , + /// + /// Original was GL_TEXTURE_GEN_S = 0x0C60 + /// + TextureGenS = ((int)0x0C60) , + /// + /// Original was GL_TEXTURE_GEN_T = 0x0C61 + /// + TextureGenT = ((int)0x0C61) , + /// + /// Original was GL_TEXTURE_GEN_R = 0x0C62 + /// + TextureGenR = ((int)0x0C62) , + /// + /// Original was GL_TEXTURE_GEN_Q = 0x0C63 + /// + TextureGenQ = ((int)0x0C63) , + /// + /// Original was GL_PIXEL_MAP_I_TO_I_SIZE = 0x0CB0 + /// + PixelMapIToISize = ((int)0x0CB0) , + /// + /// Original was GL_PIXEL_MAP_S_TO_S_SIZE = 0x0CB1 + /// + PixelMapSToSSize = ((int)0x0CB1) , + /// + /// Original was GL_PIXEL_MAP_I_TO_R_SIZE = 0x0CB2 + /// + PixelMapIToRSize = ((int)0x0CB2) , + /// + /// Original was GL_PIXEL_MAP_I_TO_G_SIZE = 0x0CB3 + /// + PixelMapIToGSize = ((int)0x0CB3) , + /// + /// Original was GL_PIXEL_MAP_I_TO_B_SIZE = 0x0CB4 + /// + PixelMapIToBSize = ((int)0x0CB4) , + /// + /// Original was GL_PIXEL_MAP_I_TO_A_SIZE = 0x0CB5 + /// + PixelMapIToASize = ((int)0x0CB5) , + /// + /// Original was GL_PIXEL_MAP_R_TO_R_SIZE = 0x0CB6 + /// + PixelMapRToRSize = ((int)0x0CB6) , + /// + /// Original was GL_PIXEL_MAP_G_TO_G_SIZE = 0x0CB7 + /// + PixelMapGToGSize = ((int)0x0CB7) , + /// + /// Original was GL_PIXEL_MAP_B_TO_B_SIZE = 0x0CB8 + /// + PixelMapBToBSize = ((int)0x0CB8) , + /// + /// Original was GL_PIXEL_MAP_A_TO_A_SIZE = 0x0CB9 + /// + PixelMapAToASize = ((int)0x0CB9) , + /// + /// Original was GL_UNPACK_SWAP_BYTES = 0x0CF0 + /// + UnpackSwapBytes = ((int)0x0CF0) , + /// + /// Original was GL_UNPACK_LSB_FIRST = 0x0CF1 + /// + UnpackLsbFirst = ((int)0x0CF1) , + /// + /// Original was GL_UNPACK_ROW_LENGTH = 0x0CF2 + /// + UnpackRowLength = ((int)0x0CF2) , + /// + /// Original was GL_UNPACK_SKIP_ROWS = 0x0CF3 + /// + UnpackSkipRows = ((int)0x0CF3) , + /// + /// Original was GL_UNPACK_SKIP_PIXELS = 0x0CF4 + /// + UnpackSkipPixels = ((int)0x0CF4) , + /// + /// Original was GL_UNPACK_ALIGNMENT = 0x0CF5 + /// + UnpackAlignment = ((int)0x0CF5) , + /// + /// Original was GL_PACK_SWAP_BYTES = 0x0D00 + /// + PackSwapBytes = ((int)0x0D00) , + /// + /// Original was GL_PACK_LSB_FIRST = 0x0D01 + /// + PackLsbFirst = ((int)0x0D01) , + /// + /// Original was GL_PACK_ROW_LENGTH = 0x0D02 + /// + PackRowLength = ((int)0x0D02) , + /// + /// Original was GL_PACK_SKIP_ROWS = 0x0D03 + /// + PackSkipRows = ((int)0x0D03) , + /// + /// Original was GL_PACK_SKIP_PIXELS = 0x0D04 + /// + PackSkipPixels = ((int)0x0D04) , + /// + /// Original was GL_PACK_ALIGNMENT = 0x0D05 + /// + PackAlignment = ((int)0x0D05) , + /// + /// Original was GL_MAP_COLOR = 0x0D10 + /// + MapColor = ((int)0x0D10) , + /// + /// Original was GL_MAP_STENCIL = 0x0D11 + /// + MapStencil = ((int)0x0D11) , + /// + /// Original was GL_INDEX_SHIFT = 0x0D12 + /// + IndexShift = ((int)0x0D12) , + /// + /// Original was GL_INDEX_OFFSET = 0x0D13 + /// + IndexOffset = ((int)0x0D13) , + /// + /// Original was GL_RED_SCALE = 0x0D14 + /// + RedScale = ((int)0x0D14) , + /// + /// Original was GL_RED_BIAS = 0x0D15 + /// + RedBias = ((int)0x0D15) , + /// + /// Original was GL_ZOOM_X = 0x0D16 + /// + ZoomX = ((int)0x0D16) , + /// + /// Original was GL_ZOOM_Y = 0x0D17 + /// + ZoomY = ((int)0x0D17) , + /// + /// Original was GL_GREEN_SCALE = 0x0D18 + /// + GreenScale = ((int)0x0D18) , + /// + /// Original was GL_GREEN_BIAS = 0x0D19 + /// + GreenBias = ((int)0x0D19) , + /// + /// Original was GL_BLUE_SCALE = 0x0D1A + /// + BlueScale = ((int)0x0D1A) , + /// + /// Original was GL_BLUE_BIAS = 0x0D1B + /// + BlueBias = ((int)0x0D1B) , + /// + /// Original was GL_ALPHA_SCALE = 0x0D1C + /// + AlphaScale = ((int)0x0D1C) , + /// + /// Original was GL_ALPHA_BIAS = 0x0D1D + /// + AlphaBias = ((int)0x0D1D) , + /// + /// Original was GL_DEPTH_SCALE = 0x0D1E + /// + DepthScale = ((int)0x0D1E) , + /// + /// Original was GL_DEPTH_BIAS = 0x0D1F + /// + DepthBias = ((int)0x0D1F) , + /// + /// Original was GL_MAX_EVAL_ORDER = 0x0D30 + /// + MaxEvalOrder = ((int)0x0D30) , + /// + /// Original was GL_MAX_LIGHTS = 0x0D31 + /// + MaxLights = ((int)0x0D31) , + /// + /// Original was GL_MAX_CLIP_DISTANCES = 0x0D32 + /// + MaxClipDistances = ((int)0x0D32) , + /// + /// Original was GL_MAX_CLIP_PLANES = 0x0D32 + /// + MaxClipPlanes = ((int)0x0D32) , + /// + /// Original was GL_MAX_TEXTURE_SIZE = 0x0D33 + /// + MaxTextureSize = ((int)0x0D33) , + /// + /// Original was GL_MAX_PIXEL_MAP_TABLE = 0x0D34 + /// + MaxPixelMapTable = ((int)0x0D34) , + /// + /// Original was GL_MAX_ATTRIB_STACK_DEPTH = 0x0D35 + /// + MaxAttribStackDepth = ((int)0x0D35) , + /// + /// Original was GL_MAX_MODELVIEW_STACK_DEPTH = 0x0D36 + /// + MaxModelviewStackDepth = ((int)0x0D36) , + /// + /// Original was GL_MAX_NAME_STACK_DEPTH = 0x0D37 + /// + MaxNameStackDepth = ((int)0x0D37) , + /// + /// Original was GL_MAX_PROJECTION_STACK_DEPTH = 0x0D38 + /// + MaxProjectionStackDepth = ((int)0x0D38) , + /// + /// Original was GL_MAX_TEXTURE_STACK_DEPTH = 0x0D39 + /// + MaxTextureStackDepth = ((int)0x0D39) , + /// + /// Original was GL_MAX_VIEWPORT_DIMS = 0x0D3A + /// + MaxViewportDims = ((int)0x0D3A) , + /// + /// Original was GL_MAX_CLIENT_ATTRIB_STACK_DEPTH = 0x0D3B + /// + MaxClientAttribStackDepth = ((int)0x0D3B) , + /// + /// Original was GL_SUBPIXEL_BITS = 0x0D50 + /// + SubpixelBits = ((int)0x0D50) , + /// + /// Original was GL_INDEX_BITS = 0x0D51 + /// + IndexBits = ((int)0x0D51) , + /// + /// Original was GL_RED_BITS = 0x0D52 + /// + RedBits = ((int)0x0D52) , + /// + /// Original was GL_GREEN_BITS = 0x0D53 + /// + GreenBits = ((int)0x0D53) , + /// + /// Original was GL_BLUE_BITS = 0x0D54 + /// + BlueBits = ((int)0x0D54) , + /// + /// Original was GL_ALPHA_BITS = 0x0D55 + /// + AlphaBits = ((int)0x0D55) , + /// + /// Original was GL_DEPTH_BITS = 0x0D56 + /// + DepthBits = ((int)0x0D56) , + /// + /// Original was GL_STENCIL_BITS = 0x0D57 + /// + StencilBits = ((int)0x0D57) , + /// + /// Original was GL_ACCUM_RED_BITS = 0x0D58 + /// + AccumRedBits = ((int)0x0D58) , + /// + /// Original was GL_ACCUM_GREEN_BITS = 0x0D59 + /// + AccumGreenBits = ((int)0x0D59) , + /// + /// Original was GL_ACCUM_BLUE_BITS = 0x0D5A + /// + AccumBlueBits = ((int)0x0D5A) , + /// + /// Original was GL_ACCUM_ALPHA_BITS = 0x0D5B + /// + AccumAlphaBits = ((int)0x0D5B) , + /// + /// Original was GL_NAME_STACK_DEPTH = 0x0D70 + /// + NameStackDepth = ((int)0x0D70) , + /// + /// Original was GL_AUTO_NORMAL = 0x0D80 + /// + AutoNormal = ((int)0x0D80) , + /// + /// Original was GL_MAP1_COLOR_4 = 0x0D90 + /// + Map1Color4 = ((int)0x0D90) , + /// + /// Original was GL_MAP1_INDEX = 0x0D91 + /// + Map1Index = ((int)0x0D91) , + /// + /// Original was GL_MAP1_NORMAL = 0x0D92 + /// + Map1Normal = ((int)0x0D92) , + /// + /// Original was GL_MAP1_TEXTURE_COORD_1 = 0x0D93 + /// + Map1TextureCoord1 = ((int)0x0D93) , + /// + /// Original was GL_MAP1_TEXTURE_COORD_2 = 0x0D94 + /// + Map1TextureCoord2 = ((int)0x0D94) , + /// + /// Original was GL_MAP1_TEXTURE_COORD_3 = 0x0D95 + /// + Map1TextureCoord3 = ((int)0x0D95) , + /// + /// Original was GL_MAP1_TEXTURE_COORD_4 = 0x0D96 + /// + Map1TextureCoord4 = ((int)0x0D96) , + /// + /// Original was GL_MAP1_VERTEX_3 = 0x0D97 + /// + Map1Vertex3 = ((int)0x0D97) , + /// + /// Original was GL_MAP1_VERTEX_4 = 0x0D98 + /// + Map1Vertex4 = ((int)0x0D98) , + /// + /// Original was GL_MAP2_COLOR_4 = 0x0DB0 + /// + Map2Color4 = ((int)0x0DB0) , + /// + /// Original was GL_MAP2_INDEX = 0x0DB1 + /// + Map2Index = ((int)0x0DB1) , + /// + /// Original was GL_MAP2_NORMAL = 0x0DB2 + /// + Map2Normal = ((int)0x0DB2) , + /// + /// Original was GL_MAP2_TEXTURE_COORD_1 = 0x0DB3 + /// + Map2TextureCoord1 = ((int)0x0DB3) , + /// + /// Original was GL_MAP2_TEXTURE_COORD_2 = 0x0DB4 + /// + Map2TextureCoord2 = ((int)0x0DB4) , + /// + /// Original was GL_MAP2_TEXTURE_COORD_3 = 0x0DB5 + /// + Map2TextureCoord3 = ((int)0x0DB5) , + /// + /// Original was GL_MAP2_TEXTURE_COORD_4 = 0x0DB6 + /// + Map2TextureCoord4 = ((int)0x0DB6) , + /// + /// Original was GL_MAP2_VERTEX_3 = 0x0DB7 + /// + Map2Vertex3 = ((int)0x0DB7) , + /// + /// Original was GL_MAP2_VERTEX_4 = 0x0DB8 + /// + Map2Vertex4 = ((int)0x0DB8) , + /// + /// Original was GL_MAP1_GRID_DOMAIN = 0x0DD0 + /// + Map1GridDomain = ((int)0x0DD0) , + /// + /// Original was GL_MAP1_GRID_SEGMENTS = 0x0DD1 + /// + Map1GridSegments = ((int)0x0DD1) , + /// + /// Original was GL_MAP2_GRID_DOMAIN = 0x0DD2 + /// + Map2GridDomain = ((int)0x0DD2) , + /// + /// Original was GL_MAP2_GRID_SEGMENTS = 0x0DD3 + /// + Map2GridSegments = ((int)0x0DD3) , + /// + /// Original was GL_TEXTURE_1D = 0x0DE0 + /// + Texture1D = ((int)0x0DE0) , + /// + /// Original was GL_TEXTURE_2D = 0x0DE1 + /// + Texture2D = ((int)0x0DE1) , + /// + /// Original was GL_FEEDBACK_BUFFER_SIZE = 0x0DF1 + /// + FeedbackBufferSize = ((int)0x0DF1) , + /// + /// Original was GL_FEEDBACK_BUFFER_TYPE = 0x0DF2 + /// + FeedbackBufferType = ((int)0x0DF2) , + /// + /// Original was GL_SELECTION_BUFFER_SIZE = 0x0DF4 + /// + SelectionBufferSize = ((int)0x0DF4) , + /// + /// Original was GL_POLYGON_OFFSET_UNITS = 0x2A00 + /// + PolygonOffsetUnits = ((int)0x2A00) , + /// + /// Original was GL_POLYGON_OFFSET_POINT = 0x2A01 + /// + PolygonOffsetPoint = ((int)0x2A01) , + /// + /// Original was GL_POLYGON_OFFSET_LINE = 0x2A02 + /// + PolygonOffsetLine = ((int)0x2A02) , + /// + /// Original was GL_CLIP_PLANE0 = 0x3000 + /// + ClipPlane0 = ((int)0x3000) , + /// + /// Original was GL_CLIP_PLANE1 = 0x3001 + /// + ClipPlane1 = ((int)0x3001) , + /// + /// Original was GL_CLIP_PLANE2 = 0x3002 + /// + ClipPlane2 = ((int)0x3002) , + /// + /// Original was GL_CLIP_PLANE3 = 0x3003 + /// + ClipPlane3 = ((int)0x3003) , + /// + /// Original was GL_CLIP_PLANE4 = 0x3004 + /// + ClipPlane4 = ((int)0x3004) , + /// + /// Original was GL_CLIP_PLANE5 = 0x3005 + /// + ClipPlane5 = ((int)0x3005) , + /// + /// Original was GL_LIGHT0 = 0x4000 + /// + Light0 = ((int)0x4000) , + /// + /// Original was GL_LIGHT1 = 0x4001 + /// + Light1 = ((int)0x4001) , + /// + /// Original was GL_LIGHT2 = 0x4002 + /// + Light2 = ((int)0x4002) , + /// + /// Original was GL_LIGHT3 = 0x4003 + /// + Light3 = ((int)0x4003) , + /// + /// Original was GL_LIGHT4 = 0x4004 + /// + Light4 = ((int)0x4004) , + /// + /// Original was GL_LIGHT5 = 0x4005 + /// + Light5 = ((int)0x4005) , + /// + /// Original was GL_LIGHT6 = 0x4006 + /// + Light6 = ((int)0x4006) , + /// + /// Original was GL_LIGHT7 = 0x4007 + /// + Light7 = ((int)0x4007) , + /// + /// Original was GL_BLEND_COLOR_EXT = 0x8005 + /// + BlendColorExt = ((int)0x8005) , + /// + /// Original was GL_BLEND_EQUATION_EXT = 0x8009 + /// + BlendEquationExt = ((int)0x8009) , + /// + /// Original was GL_BLEND_EQUATION_RGB = 0x8009 + /// + BlendEquationRgb = ((int)0x8009) , + /// + /// Original was GL_PACK_CMYK_HINT_EXT = 0x800E + /// + PackCmykHintExt = ((int)0x800E) , + /// + /// Original was GL_UNPACK_CMYK_HINT_EXT = 0x800F + /// + UnpackCmykHintExt = ((int)0x800F) , + /// + /// Original was GL_CONVOLUTION_1D_EXT = 0x8010 + /// + Convolution1DExt = ((int)0x8010) , + /// + /// Original was GL_CONVOLUTION_2D_EXT = 0x8011 + /// + Convolution2DExt = ((int)0x8011) , + /// + /// Original was GL_SEPARABLE_2D_EXT = 0x8012 + /// + Separable2DExt = ((int)0x8012) , + /// + /// Original was GL_POST_CONVOLUTION_RED_SCALE_EXT = 0x801C + /// + PostConvolutionRedScaleExt = ((int)0x801C) , + /// + /// Original was GL_POST_CONVOLUTION_GREEN_SCALE_EXT = 0x801D + /// + PostConvolutionGreenScaleExt = ((int)0x801D) , + /// + /// Original was GL_POST_CONVOLUTION_BLUE_SCALE_EXT = 0x801E + /// + PostConvolutionBlueScaleExt = ((int)0x801E) , + /// + /// Original was GL_POST_CONVOLUTION_ALPHA_SCALE_EXT = 0x801F + /// + PostConvolutionAlphaScaleExt = ((int)0x801F) , + /// + /// Original was GL_POST_CONVOLUTION_RED_BIAS_EXT = 0x8020 + /// + PostConvolutionRedBiasExt = ((int)0x8020) , + /// + /// Original was GL_POST_CONVOLUTION_GREEN_BIAS_EXT = 0x8021 + /// + PostConvolutionGreenBiasExt = ((int)0x8021) , + /// + /// Original was GL_POST_CONVOLUTION_BLUE_BIAS_EXT = 0x8022 + /// + PostConvolutionBlueBiasExt = ((int)0x8022) , + /// + /// Original was GL_POST_CONVOLUTION_ALPHA_BIAS_EXT = 0x8023 + /// + PostConvolutionAlphaBiasExt = ((int)0x8023) , + /// + /// Original was GL_HISTOGRAM_EXT = 0x8024 + /// + HistogramExt = ((int)0x8024) , + /// + /// Original was GL_MINMAX_EXT = 0x802E + /// + MinmaxExt = ((int)0x802E) , + /// + /// Original was GL_POLYGON_OFFSET_FILL = 0x8037 + /// + PolygonOffsetFill = ((int)0x8037) , + /// + /// Original was GL_POLYGON_OFFSET_FACTOR = 0x8038 + /// + PolygonOffsetFactor = ((int)0x8038) , + /// + /// Original was GL_POLYGON_OFFSET_BIAS_EXT = 0x8039 + /// + PolygonOffsetBiasExt = ((int)0x8039) , + /// + /// Original was GL_RESCALE_NORMAL_EXT = 0x803A + /// + RescaleNormalExt = ((int)0x803A) , + /// + /// Original was GL_TEXTURE_BINDING_1D = 0x8068 + /// + TextureBinding1D = ((int)0x8068) , + /// + /// Original was GL_TEXTURE_BINDING_2D = 0x8069 + /// + TextureBinding2D = ((int)0x8069) , + /// + /// Original was GL_TEXTURE_3D_BINDING_EXT = 0x806A + /// + Texture3DBindingExt = ((int)0x806A) , + /// + /// Original was GL_TEXTURE_BINDING_3D = 0x806A + /// + TextureBinding3D = ((int)0x806A) , + /// + /// Original was GL_PACK_SKIP_IMAGES_EXT = 0x806B + /// + PackSkipImagesExt = ((int)0x806B) , + /// + /// Original was GL_PACK_IMAGE_HEIGHT_EXT = 0x806C + /// + PackImageHeightExt = ((int)0x806C) , + /// + /// Original was GL_UNPACK_SKIP_IMAGES_EXT = 0x806D + /// + UnpackSkipImagesExt = ((int)0x806D) , + /// + /// Original was GL_UNPACK_IMAGE_HEIGHT_EXT = 0x806E + /// + UnpackImageHeightExt = ((int)0x806E) , + /// + /// Original was GL_TEXTURE_3D_EXT = 0x806F + /// + Texture3DExt = ((int)0x806F) , + /// + /// Original was GL_MAX_3D_TEXTURE_SIZE = 0x8073 + /// + Max3DTextureSize = ((int)0x8073) , + /// + /// Original was GL_MAX_3D_TEXTURE_SIZE_EXT = 0x8073 + /// + Max3DTextureSizeExt = ((int)0x8073) , + /// + /// Original was GL_VERTEX_ARRAY = 0x8074 + /// + VertexArray = ((int)0x8074) , + /// + /// Original was GL_NORMAL_ARRAY = 0x8075 + /// + NormalArray = ((int)0x8075) , + /// + /// Original was GL_COLOR_ARRAY = 0x8076 + /// + ColorArray = ((int)0x8076) , + /// + /// Original was GL_INDEX_ARRAY = 0x8077 + /// + IndexArray = ((int)0x8077) , + /// + /// Original was GL_TEXTURE_COORD_ARRAY = 0x8078 + /// + TextureCoordArray = ((int)0x8078) , + /// + /// Original was GL_EDGE_FLAG_ARRAY = 0x8079 + /// + EdgeFlagArray = ((int)0x8079) , + /// + /// Original was GL_VERTEX_ARRAY_SIZE = 0x807A + /// + VertexArraySize = ((int)0x807A) , + /// + /// Original was GL_VERTEX_ARRAY_TYPE = 0x807B + /// + VertexArrayType = ((int)0x807B) , + /// + /// Original was GL_VERTEX_ARRAY_STRIDE = 0x807C + /// + VertexArrayStride = ((int)0x807C) , + /// + /// Original was GL_VERTEX_ARRAY_COUNT_EXT = 0x807D + /// + VertexArrayCountExt = ((int)0x807D) , + /// + /// Original was GL_NORMAL_ARRAY_TYPE = 0x807E + /// + NormalArrayType = ((int)0x807E) , + /// + /// Original was GL_NORMAL_ARRAY_STRIDE = 0x807F + /// + NormalArrayStride = ((int)0x807F) , + /// + /// Original was GL_NORMAL_ARRAY_COUNT_EXT = 0x8080 + /// + NormalArrayCountExt = ((int)0x8080) , + /// + /// Original was GL_COLOR_ARRAY_SIZE = 0x8081 + /// + ColorArraySize = ((int)0x8081) , + /// + /// Original was GL_COLOR_ARRAY_TYPE = 0x8082 + /// + ColorArrayType = ((int)0x8082) , + /// + /// Original was GL_COLOR_ARRAY_STRIDE = 0x8083 + /// + ColorArrayStride = ((int)0x8083) , + /// + /// Original was GL_COLOR_ARRAY_COUNT_EXT = 0x8084 + /// + ColorArrayCountExt = ((int)0x8084) , + /// + /// Original was GL_INDEX_ARRAY_TYPE = 0x8085 + /// + IndexArrayType = ((int)0x8085) , + /// + /// Original was GL_INDEX_ARRAY_STRIDE = 0x8086 + /// + IndexArrayStride = ((int)0x8086) , + /// + /// Original was GL_INDEX_ARRAY_COUNT_EXT = 0x8087 + /// + IndexArrayCountExt = ((int)0x8087) , + /// + /// Original was GL_TEXTURE_COORD_ARRAY_SIZE = 0x8088 + /// + TextureCoordArraySize = ((int)0x8088) , + /// + /// Original was GL_TEXTURE_COORD_ARRAY_TYPE = 0x8089 + /// + TextureCoordArrayType = ((int)0x8089) , + /// + /// Original was GL_TEXTURE_COORD_ARRAY_STRIDE = 0x808A + /// + TextureCoordArrayStride = ((int)0x808A) , + /// + /// Original was GL_TEXTURE_COORD_ARRAY_COUNT_EXT = 0x808B + /// + TextureCoordArrayCountExt = ((int)0x808B) , + /// + /// Original was GL_EDGE_FLAG_ARRAY_STRIDE = 0x808C + /// + EdgeFlagArrayStride = ((int)0x808C) , + /// + /// Original was GL_EDGE_FLAG_ARRAY_COUNT_EXT = 0x808D + /// + EdgeFlagArrayCountExt = ((int)0x808D) , + /// + /// Original was GL_INTERLACE_SGIX = 0x8094 + /// + InterlaceSgix = ((int)0x8094) , + /// + /// Original was GL_DETAIL_TEXTURE_2D_BINDING_SGIS = 0x8096 + /// + DetailTexture2DBindingSgis = ((int)0x8096) , + /// + /// Original was GL_MULTISAMPLE = 0x809D + /// + Multisample = ((int)0x809D) , + /// + /// Original was GL_MULTISAMPLE_SGIS = 0x809D + /// + MultisampleSgis = ((int)0x809D) , + /// + /// Original was GL_SAMPLE_ALPHA_TO_COVERAGE = 0x809E + /// + SampleAlphaToCoverage = ((int)0x809E) , + /// + /// Original was GL_SAMPLE_ALPHA_TO_MASK_SGIS = 0x809E + /// + SampleAlphaToMaskSgis = ((int)0x809E) , + /// + /// Original was GL_SAMPLE_ALPHA_TO_ONE = 0x809F + /// + SampleAlphaToOne = ((int)0x809F) , + /// + /// Original was GL_SAMPLE_ALPHA_TO_ONE_SGIS = 0x809F + /// + SampleAlphaToOneSgis = ((int)0x809F) , + /// + /// Original was GL_SAMPLE_COVERAGE = 0x80A0 + /// + SampleCoverage = ((int)0x80A0) , + /// + /// Original was GL_SAMPLE_MASK_SGIS = 0x80A0 + /// + SampleMaskSgis = ((int)0x80A0) , + /// + /// Original was GL_SAMPLE_BUFFERS = 0x80A8 + /// + SampleBuffers = ((int)0x80A8) , + /// + /// Original was GL_SAMPLE_BUFFERS_SGIS = 0x80A8 + /// + SampleBuffersSgis = ((int)0x80A8) , + /// + /// Original was GL_SAMPLES = 0x80A9 + /// + Samples = ((int)0x80A9) , + /// + /// Original was GL_SAMPLES_SGIS = 0x80A9 + /// + SamplesSgis = ((int)0x80A9) , + /// + /// Original was GL_SAMPLE_COVERAGE_VALUE = 0x80AA + /// + SampleCoverageValue = ((int)0x80AA) , + /// + /// Original was GL_SAMPLE_MASK_VALUE_SGIS = 0x80AA + /// + SampleMaskValueSgis = ((int)0x80AA) , + /// + /// Original was GL_SAMPLE_COVERAGE_INVERT = 0x80AB + /// + SampleCoverageInvert = ((int)0x80AB) , + /// + /// Original was GL_SAMPLE_MASK_INVERT_SGIS = 0x80AB + /// + SampleMaskInvertSgis = ((int)0x80AB) , + /// + /// Original was GL_SAMPLE_PATTERN_SGIS = 0x80AC + /// + SamplePatternSgis = ((int)0x80AC) , + /// + /// Original was GL_COLOR_MATRIX_SGI = 0x80B1 + /// + ColorMatrixSgi = ((int)0x80B1) , + /// + /// Original was GL_COLOR_MATRIX_STACK_DEPTH_SGI = 0x80B2 + /// + ColorMatrixStackDepthSgi = ((int)0x80B2) , + /// + /// Original was GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI = 0x80B3 + /// + MaxColorMatrixStackDepthSgi = ((int)0x80B3) , + /// + /// Original was GL_POST_COLOR_MATRIX_RED_SCALE_SGI = 0x80B4 + /// + PostColorMatrixRedScaleSgi = ((int)0x80B4) , + /// + /// Original was GL_POST_COLOR_MATRIX_GREEN_SCALE_SGI = 0x80B5 + /// + PostColorMatrixGreenScaleSgi = ((int)0x80B5) , + /// + /// Original was GL_POST_COLOR_MATRIX_BLUE_SCALE_SGI = 0x80B6 + /// + PostColorMatrixBlueScaleSgi = ((int)0x80B6) , + /// + /// Original was GL_POST_COLOR_MATRIX_ALPHA_SCALE_SGI = 0x80B7 + /// + PostColorMatrixAlphaScaleSgi = ((int)0x80B7) , + /// + /// Original was GL_POST_COLOR_MATRIX_RED_BIAS_SGI = 0x80B8 + /// + PostColorMatrixRedBiasSgi = ((int)0x80B8) , + /// + /// Original was GL_POST_COLOR_MATRIX_GREEN_BIAS_SGI = 0x80B9 + /// + PostColorMatrixGreenBiasSgi = ((int)0x80B9) , + /// + /// Original was GL_POST_COLOR_MATRIX_BLUE_BIAS_SGI = 0x80BA + /// + PostColorMatrixBlueBiasSgi = ((int)0x80BA) , + /// + /// Original was GL_POST_COLOR_MATRIX_ALPHA_BIAS_SGI = 0x80BB + /// + PostColorMatrixAlphaBiasSgi = ((int)0x80BB) , + /// + /// Original was GL_TEXTURE_COLOR_TABLE_SGI = 0x80BC + /// + TextureColorTableSgi = ((int)0x80BC) , + /// + /// Original was GL_BLEND_DST_RGB = 0x80C8 + /// + BlendDstRgb = ((int)0x80C8) , + /// + /// Original was GL_BLEND_SRC_RGB = 0x80C9 + /// + BlendSrcRgb = ((int)0x80C9) , + /// + /// Original was GL_BLEND_DST_ALPHA = 0x80CA + /// + BlendDstAlpha = ((int)0x80CA) , + /// + /// Original was GL_BLEND_SRC_ALPHA = 0x80CB + /// + BlendSrcAlpha = ((int)0x80CB) , + /// + /// Original was GL_COLOR_TABLE_SGI = 0x80D0 + /// + ColorTableSgi = ((int)0x80D0) , + /// + /// Original was GL_POST_CONVOLUTION_COLOR_TABLE_SGI = 0x80D1 + /// + PostConvolutionColorTableSgi = ((int)0x80D1) , + /// + /// Original was GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI = 0x80D2 + /// + PostColorMatrixColorTableSgi = ((int)0x80D2) , + /// + /// Original was GL_MAX_ELEMENTS_VERTICES = 0x80E8 + /// + MaxElementsVertices = ((int)0x80E8) , + /// + /// Original was GL_MAX_ELEMENTS_INDICES = 0x80E9 + /// + MaxElementsIndices = ((int)0x80E9) , + /// + /// Original was GL_POINT_SIZE_MIN = 0x8126 + /// + PointSizeMin = ((int)0x8126) , + /// + /// Original was GL_POINT_SIZE_MIN_SGIS = 0x8126 + /// + PointSizeMinSgis = ((int)0x8126) , + /// + /// Original was GL_POINT_SIZE_MAX = 0x8127 + /// + PointSizeMax = ((int)0x8127) , + /// + /// Original was GL_POINT_SIZE_MAX_SGIS = 0x8127 + /// + PointSizeMaxSgis = ((int)0x8127) , + /// + /// Original was GL_POINT_FADE_THRESHOLD_SIZE = 0x8128 + /// + PointFadeThresholdSize = ((int)0x8128) , + /// + /// Original was GL_POINT_FADE_THRESHOLD_SIZE_SGIS = 0x8128 + /// + PointFadeThresholdSizeSgis = ((int)0x8128) , + /// + /// Original was GL_DISTANCE_ATTENUATION_SGIS = 0x8129 + /// + DistanceAttenuationSgis = ((int)0x8129) , + /// + /// Original was GL_POINT_DISTANCE_ATTENUATION = 0x8129 + /// + PointDistanceAttenuation = ((int)0x8129) , + /// + /// Original was GL_FOG_FUNC_POINTS_SGIS = 0x812B + /// + FogFuncPointsSgis = ((int)0x812B) , + /// + /// Original was GL_MAX_FOG_FUNC_POINTS_SGIS = 0x812C + /// + MaxFogFuncPointsSgis = ((int)0x812C) , + /// + /// Original was GL_PACK_SKIP_VOLUMES_SGIS = 0x8130 + /// + PackSkipVolumesSgis = ((int)0x8130) , + /// + /// Original was GL_PACK_IMAGE_DEPTH_SGIS = 0x8131 + /// + PackImageDepthSgis = ((int)0x8131) , + /// + /// Original was GL_UNPACK_SKIP_VOLUMES_SGIS = 0x8132 + /// + UnpackSkipVolumesSgis = ((int)0x8132) , + /// + /// Original was GL_UNPACK_IMAGE_DEPTH_SGIS = 0x8133 + /// + UnpackImageDepthSgis = ((int)0x8133) , + /// + /// Original was GL_TEXTURE_4D_SGIS = 0x8134 + /// + Texture4DSgis = ((int)0x8134) , + /// + /// Original was GL_MAX_4D_TEXTURE_SIZE_SGIS = 0x8138 + /// + Max4DTextureSizeSgis = ((int)0x8138) , + /// + /// Original was GL_PIXEL_TEX_GEN_SGIX = 0x8139 + /// + PixelTexGenSgix = ((int)0x8139) , + /// + /// Original was GL_PIXEL_TILE_BEST_ALIGNMENT_SGIX = 0x813E + /// + PixelTileBestAlignmentSgix = ((int)0x813E) , + /// + /// Original was GL_PIXEL_TILE_CACHE_INCREMENT_SGIX = 0x813F + /// + PixelTileCacheIncrementSgix = ((int)0x813F) , + /// + /// Original was GL_PIXEL_TILE_WIDTH_SGIX = 0x8140 + /// + PixelTileWidthSgix = ((int)0x8140) , + /// + /// Original was GL_PIXEL_TILE_HEIGHT_SGIX = 0x8141 + /// + PixelTileHeightSgix = ((int)0x8141) , + /// + /// Original was GL_PIXEL_TILE_GRID_WIDTH_SGIX = 0x8142 + /// + PixelTileGridWidthSgix = ((int)0x8142) , + /// + /// Original was GL_PIXEL_TILE_GRID_HEIGHT_SGIX = 0x8143 + /// + PixelTileGridHeightSgix = ((int)0x8143) , + /// + /// Original was GL_PIXEL_TILE_GRID_DEPTH_SGIX = 0x8144 + /// + PixelTileGridDepthSgix = ((int)0x8144) , + /// + /// Original was GL_PIXEL_TILE_CACHE_SIZE_SGIX = 0x8145 + /// + PixelTileCacheSizeSgix = ((int)0x8145) , + /// + /// Original was GL_SPRITE_SGIX = 0x8148 + /// + SpriteSgix = ((int)0x8148) , + /// + /// Original was GL_SPRITE_MODE_SGIX = 0x8149 + /// + SpriteModeSgix = ((int)0x8149) , + /// + /// Original was GL_SPRITE_AXIS_SGIX = 0x814A + /// + SpriteAxisSgix = ((int)0x814A) , + /// + /// Original was GL_SPRITE_TRANSLATION_SGIX = 0x814B + /// + SpriteTranslationSgix = ((int)0x814B) , + /// + /// Original was GL_TEXTURE_4D_BINDING_SGIS = 0x814F + /// + Texture4DBindingSgis = ((int)0x814F) , + /// + /// Original was GL_MAX_CLIPMAP_DEPTH_SGIX = 0x8177 + /// + MaxClipmapDepthSgix = ((int)0x8177) , + /// + /// Original was GL_MAX_CLIPMAP_VIRTUAL_DEPTH_SGIX = 0x8178 + /// + MaxClipmapVirtualDepthSgix = ((int)0x8178) , + /// + /// Original was GL_POST_TEXTURE_FILTER_BIAS_RANGE_SGIX = 0x817B + /// + PostTextureFilterBiasRangeSgix = ((int)0x817B) , + /// + /// Original was GL_POST_TEXTURE_FILTER_SCALE_RANGE_SGIX = 0x817C + /// + PostTextureFilterScaleRangeSgix = ((int)0x817C) , + /// + /// Original was GL_REFERENCE_PLANE_SGIX = 0x817D + /// + ReferencePlaneSgix = ((int)0x817D) , + /// + /// Original was GL_REFERENCE_PLANE_EQUATION_SGIX = 0x817E + /// + ReferencePlaneEquationSgix = ((int)0x817E) , + /// + /// Original was GL_IR_INSTRUMENT1_SGIX = 0x817F + /// + IrInstrument1Sgix = ((int)0x817F) , + /// + /// Original was GL_INSTRUMENT_MEASUREMENTS_SGIX = 0x8181 + /// + InstrumentMeasurementsSgix = ((int)0x8181) , + /// + /// Original was GL_CALLIGRAPHIC_FRAGMENT_SGIX = 0x8183 + /// + CalligraphicFragmentSgix = ((int)0x8183) , + /// + /// Original was GL_FRAMEZOOM_SGIX = 0x818B + /// + FramezoomSgix = ((int)0x818B) , + /// + /// Original was GL_FRAMEZOOM_FACTOR_SGIX = 0x818C + /// + FramezoomFactorSgix = ((int)0x818C) , + /// + /// Original was GL_MAX_FRAMEZOOM_FACTOR_SGIX = 0x818D + /// + MaxFramezoomFactorSgix = ((int)0x818D) , + /// + /// Original was GL_GENERATE_MIPMAP_HINT = 0x8192 + /// + GenerateMipmapHint = ((int)0x8192) , + /// + /// Original was GL_GENERATE_MIPMAP_HINT_SGIS = 0x8192 + /// + GenerateMipmapHintSgis = ((int)0x8192) , + /// + /// Original was GL_DEFORMATIONS_MASK_SGIX = 0x8196 + /// + DeformationsMaskSgix = ((int)0x8196) , + /// + /// Original was GL_FOG_OFFSET_SGIX = 0x8198 + /// + FogOffsetSgix = ((int)0x8198) , + /// + /// Original was GL_FOG_OFFSET_VALUE_SGIX = 0x8199 + /// + FogOffsetValueSgix = ((int)0x8199) , + /// + /// Original was GL_LIGHT_MODEL_COLOR_CONTROL = 0x81F8 + /// + LightModelColorControl = ((int)0x81F8) , + /// + /// Original was GL_SHARED_TEXTURE_PALETTE_EXT = 0x81FB + /// + SharedTexturePaletteExt = ((int)0x81FB) , + /// + /// Original was GL_MAJOR_VERSION = 0x821B + /// + MajorVersion = ((int)0x821B) , + /// + /// Original was GL_MINOR_VERSION = 0x821C + /// + MinorVersion = ((int)0x821C) , + /// + /// Original was GL_NUM_EXTENSIONS = 0x821D + /// + NumExtensions = ((int)0x821D) , + /// + /// Original was GL_CONTEXT_FLAGS = 0x821E + /// + ContextFlags = ((int)0x821E) , + /// + /// Original was GL_PROGRAM_PIPELINE_BINDING = 0x825A + /// + ProgramPipelineBinding = ((int)0x825A) , + /// + /// Original was GL_MAX_VIEWPORTS = 0x825B + /// + MaxViewports = ((int)0x825B) , + /// + /// Original was GL_VIEWPORT_SUBPIXEL_BITS = 0x825C + /// + ViewportSubpixelBits = ((int)0x825C) , + /// + /// Original was GL_VIEWPORT_BOUNDS_RANGE = 0x825D + /// + ViewportBoundsRange = ((int)0x825D) , + /// + /// Original was GL_LAYER_PROVOKING_VERTEX = 0x825E + /// + LayerProvokingVertex = ((int)0x825E) , + /// + /// Original was GL_VIEWPORT_INDEX_PROVOKING_VERTEX = 0x825F + /// + ViewportIndexProvokingVertex = ((int)0x825F) , + /// + /// Original was GL_CONVOLUTION_HINT_SGIX = 0x8316 + /// + ConvolutionHintSgix = ((int)0x8316) , + /// + /// Original was GL_ASYNC_MARKER_SGIX = 0x8329 + /// + AsyncMarkerSgix = ((int)0x8329) , + /// + /// Original was GL_PIXEL_TEX_GEN_MODE_SGIX = 0x832B + /// + PixelTexGenModeSgix = ((int)0x832B) , + /// + /// Original was GL_ASYNC_HISTOGRAM_SGIX = 0x832C + /// + AsyncHistogramSgix = ((int)0x832C) , + /// + /// Original was GL_MAX_ASYNC_HISTOGRAM_SGIX = 0x832D + /// + MaxAsyncHistogramSgix = ((int)0x832D) , + /// + /// Original was GL_PIXEL_TEXTURE_SGIS = 0x8353 + /// + PixelTextureSgis = ((int)0x8353) , + /// + /// Original was GL_ASYNC_TEX_IMAGE_SGIX = 0x835C + /// + AsyncTexImageSgix = ((int)0x835C) , + /// + /// Original was GL_ASYNC_DRAW_PIXELS_SGIX = 0x835D + /// + AsyncDrawPixelsSgix = ((int)0x835D) , + /// + /// Original was GL_ASYNC_READ_PIXELS_SGIX = 0x835E + /// + AsyncReadPixelsSgix = ((int)0x835E) , + /// + /// Original was GL_MAX_ASYNC_TEX_IMAGE_SGIX = 0x835F + /// + MaxAsyncTexImageSgix = ((int)0x835F) , + /// + /// Original was GL_MAX_ASYNC_DRAW_PIXELS_SGIX = 0x8360 + /// + MaxAsyncDrawPixelsSgix = ((int)0x8360) , + /// + /// Original was GL_MAX_ASYNC_READ_PIXELS_SGIX = 0x8361 + /// + MaxAsyncReadPixelsSgix = ((int)0x8361) , + /// + /// Original was GL_VERTEX_PRECLIP_SGIX = 0x83EE + /// + VertexPreclipSgix = ((int)0x83EE) , + /// + /// Original was GL_VERTEX_PRECLIP_HINT_SGIX = 0x83EF + /// + VertexPreclipHintSgix = ((int)0x83EF) , + /// + /// Original was GL_FRAGMENT_LIGHTING_SGIX = 0x8400 + /// + FragmentLightingSgix = ((int)0x8400) , + /// + /// Original was GL_FRAGMENT_COLOR_MATERIAL_SGIX = 0x8401 + /// + FragmentColorMaterialSgix = ((int)0x8401) , + /// + /// Original was GL_FRAGMENT_COLOR_MATERIAL_FACE_SGIX = 0x8402 + /// + FragmentColorMaterialFaceSgix = ((int)0x8402) , + /// + /// Original was GL_FRAGMENT_COLOR_MATERIAL_PARAMETER_SGIX = 0x8403 + /// + FragmentColorMaterialParameterSgix = ((int)0x8403) , + /// + /// Original was GL_MAX_FRAGMENT_LIGHTS_SGIX = 0x8404 + /// + MaxFragmentLightsSgix = ((int)0x8404) , + /// + /// Original was GL_MAX_ACTIVE_LIGHTS_SGIX = 0x8405 + /// + MaxActiveLightsSgix = ((int)0x8405) , + /// + /// Original was GL_LIGHT_ENV_MODE_SGIX = 0x8407 + /// + LightEnvModeSgix = ((int)0x8407) , + /// + /// Original was GL_FRAGMENT_LIGHT_MODEL_LOCAL_VIEWER_SGIX = 0x8408 + /// + FragmentLightModelLocalViewerSgix = ((int)0x8408) , + /// + /// Original was GL_FRAGMENT_LIGHT_MODEL_TWO_SIDE_SGIX = 0x8409 + /// + FragmentLightModelTwoSideSgix = ((int)0x8409) , + /// + /// Original was GL_FRAGMENT_LIGHT_MODEL_AMBIENT_SGIX = 0x840A + /// + FragmentLightModelAmbientSgix = ((int)0x840A) , + /// + /// Original was GL_FRAGMENT_LIGHT_MODEL_NORMAL_INTERPOLATION_SGIX = 0x840B + /// + FragmentLightModelNormalInterpolationSgix = ((int)0x840B) , + /// + /// Original was GL_FRAGMENT_LIGHT0_SGIX = 0x840C + /// + FragmentLight0Sgix = ((int)0x840C) , + /// + /// Original was GL_PACK_RESAMPLE_SGIX = 0x842C + /// + PackResampleSgix = ((int)0x842C) , + /// + /// Original was GL_UNPACK_RESAMPLE_SGIX = 0x842D + /// + UnpackResampleSgix = ((int)0x842D) , + /// + /// Original was GL_CURRENT_FOG_COORD = 0x8453 + /// + CurrentFogCoord = ((int)0x8453) , + /// + /// Original was GL_FOG_COORD_ARRAY_TYPE = 0x8454 + /// + FogCoordArrayType = ((int)0x8454) , + /// + /// Original was GL_FOG_COORD_ARRAY_STRIDE = 0x8455 + /// + FogCoordArrayStride = ((int)0x8455) , + /// + /// Original was GL_COLOR_SUM = 0x8458 + /// + ColorSum = ((int)0x8458) , + /// + /// Original was GL_CURRENT_SECONDARY_COLOR = 0x8459 + /// + CurrentSecondaryColor = ((int)0x8459) , + /// + /// Original was GL_SECONDARY_COLOR_ARRAY_SIZE = 0x845A + /// + SecondaryColorArraySize = ((int)0x845A) , + /// + /// Original was GL_SECONDARY_COLOR_ARRAY_TYPE = 0x845B + /// + SecondaryColorArrayType = ((int)0x845B) , + /// + /// Original was GL_SECONDARY_COLOR_ARRAY_STRIDE = 0x845C + /// + SecondaryColorArrayStride = ((int)0x845C) , + /// + /// Original was GL_CURRENT_RASTER_SECONDARY_COLOR = 0x845F + /// + CurrentRasterSecondaryColor = ((int)0x845F) , + /// + /// Original was GL_ALIASED_POINT_SIZE_RANGE = 0x846D + /// + AliasedPointSizeRange = ((int)0x846D) , + /// + /// Original was GL_ALIASED_LINE_WIDTH_RANGE = 0x846E + /// + AliasedLineWidthRange = ((int)0x846E) , + /// + /// Original was GL_ACTIVE_TEXTURE = 0x84E0 + /// + ActiveTexture = ((int)0x84E0) , + /// + /// Original was GL_CLIENT_ACTIVE_TEXTURE = 0x84E1 + /// + ClientActiveTexture = ((int)0x84E1) , + /// + /// Original was GL_MAX_TEXTURE_UNITS = 0x84E2 + /// + MaxTextureUnits = ((int)0x84E2) , + /// + /// Original was GL_TRANSPOSE_MODELVIEW_MATRIX = 0x84E3 + /// + TransposeModelviewMatrix = ((int)0x84E3) , + /// + /// Original was GL_TRANSPOSE_PROJECTION_MATRIX = 0x84E4 + /// + TransposeProjectionMatrix = ((int)0x84E4) , + /// + /// Original was GL_TRANSPOSE_TEXTURE_MATRIX = 0x84E5 + /// + TransposeTextureMatrix = ((int)0x84E5) , + /// + /// Original was GL_TRANSPOSE_COLOR_MATRIX = 0x84E6 + /// + TransposeColorMatrix = ((int)0x84E6) , + /// + /// Original was GL_MAX_RENDERBUFFER_SIZE = 0x84E8 + /// + MaxRenderbufferSize = ((int)0x84E8) , + /// + /// Original was GL_MAX_RENDERBUFFER_SIZE_EXT = 0x84E8 + /// + MaxRenderbufferSizeExt = ((int)0x84E8) , + /// + /// Original was GL_TEXTURE_COMPRESSION_HINT = 0x84EF + /// + TextureCompressionHint = ((int)0x84EF) , + /// + /// Original was GL_TEXTURE_BINDING_RECTANGLE = 0x84F6 + /// + TextureBindingRectangle = ((int)0x84F6) , + /// + /// Original was GL_MAX_RECTANGLE_TEXTURE_SIZE = 0x84F8 + /// + MaxRectangleTextureSize = ((int)0x84F8) , + /// + /// Original was GL_MAX_TEXTURE_LOD_BIAS = 0x84FD + /// + MaxTextureLodBias = ((int)0x84FD) , + /// + /// Original was GL_TEXTURE_CUBE_MAP = 0x8513 + /// + TextureCubeMap = ((int)0x8513) , + /// + /// Original was GL_TEXTURE_BINDING_CUBE_MAP = 0x8514 + /// + TextureBindingCubeMap = ((int)0x8514) , + /// + /// Original was GL_MAX_CUBE_MAP_TEXTURE_SIZE = 0x851C + /// + MaxCubeMapTextureSize = ((int)0x851C) , + /// + /// Original was GL_PACK_SUBSAMPLE_RATE_SGIX = 0x85A0 + /// + PackSubsampleRateSgix = ((int)0x85A0) , + /// + /// Original was GL_UNPACK_SUBSAMPLE_RATE_SGIX = 0x85A1 + /// + UnpackSubsampleRateSgix = ((int)0x85A1) , + /// + /// Original was GL_VERTEX_ARRAY_BINDING = 0x85B5 + /// + VertexArrayBinding = ((int)0x85B5) , + /// + /// Original was GL_PROGRAM_POINT_SIZE = 0x8642 + /// + ProgramPointSize = ((int)0x8642) , + /// + /// Original was GL_DEPTH_CLAMP = 0x864F + /// + DepthClamp = ((int)0x864F) , + /// + /// Original was GL_NUM_COMPRESSED_TEXTURE_FORMATS = 0x86A2 + /// + NumCompressedTextureFormats = ((int)0x86A2) , + /// + /// Original was GL_COMPRESSED_TEXTURE_FORMATS = 0x86A3 + /// + CompressedTextureFormats = ((int)0x86A3) , + /// + /// Original was GL_NUM_PROGRAM_BINARY_FORMATS = 0x87FE + /// + NumProgramBinaryFormats = ((int)0x87FE) , + /// + /// Original was GL_PROGRAM_BINARY_FORMATS = 0x87FF + /// + ProgramBinaryFormats = ((int)0x87FF) , + /// + /// Original was GL_STENCIL_BACK_FUNC = 0x8800 + /// + StencilBackFunc = ((int)0x8800) , + /// + /// Original was GL_STENCIL_BACK_FAIL = 0x8801 + /// + StencilBackFail = ((int)0x8801) , + /// + /// Original was GL_STENCIL_BACK_PASS_DEPTH_FAIL = 0x8802 + /// + StencilBackPassDepthFail = ((int)0x8802) , + /// + /// Original was GL_STENCIL_BACK_PASS_DEPTH_PASS = 0x8803 + /// + StencilBackPassDepthPass = ((int)0x8803) , + /// + /// Original was GL_RGBA_FLOAT_MODE = 0x8820 + /// + RgbaFloatMode = ((int)0x8820) , + /// + /// Original was GL_MAX_DRAW_BUFFERS = 0x8824 + /// + MaxDrawBuffers = ((int)0x8824) , + /// + /// Original was GL_DRAW_BUFFER0 = 0x8825 + /// + DrawBuffer0 = ((int)0x8825) , + /// + /// Original was GL_DRAW_BUFFER1 = 0x8826 + /// + DrawBuffer1 = ((int)0x8826) , + /// + /// Original was GL_DRAW_BUFFER2 = 0x8827 + /// + DrawBuffer2 = ((int)0x8827) , + /// + /// Original was GL_DRAW_BUFFER3 = 0x8828 + /// + DrawBuffer3 = ((int)0x8828) , + /// + /// Original was GL_DRAW_BUFFER4 = 0x8829 + /// + DrawBuffer4 = ((int)0x8829) , + /// + /// Original was GL_DRAW_BUFFER5 = 0x882A + /// + DrawBuffer5 = ((int)0x882A) , + /// + /// Original was GL_DRAW_BUFFER6 = 0x882B + /// + DrawBuffer6 = ((int)0x882B) , + /// + /// Original was GL_DRAW_BUFFER7 = 0x882C + /// + DrawBuffer7 = ((int)0x882C) , + /// + /// Original was GL_DRAW_BUFFER8 = 0x882D + /// + DrawBuffer8 = ((int)0x882D) , + /// + /// Original was GL_DRAW_BUFFER9 = 0x882E + /// + DrawBuffer9 = ((int)0x882E) , + /// + /// Original was GL_DRAW_BUFFER10 = 0x882F + /// + DrawBuffer10 = ((int)0x882F) , + /// + /// Original was GL_DRAW_BUFFER11 = 0x8830 + /// + DrawBuffer11 = ((int)0x8830) , + /// + /// Original was GL_DRAW_BUFFER12 = 0x8831 + /// + DrawBuffer12 = ((int)0x8831) , + /// + /// Original was GL_DRAW_BUFFER13 = 0x8832 + /// + DrawBuffer13 = ((int)0x8832) , + /// + /// Original was GL_DRAW_BUFFER14 = 0x8833 + /// + DrawBuffer14 = ((int)0x8833) , + /// + /// Original was GL_DRAW_BUFFER15 = 0x8834 + /// + DrawBuffer15 = ((int)0x8834) , + /// + /// Original was GL_BLEND_EQUATION_ALPHA = 0x883D + /// + BlendEquationAlpha = ((int)0x883D) , + /// + /// Original was GL_TEXTURE_CUBE_MAP_SEAMLESS = 0x884F + /// + TextureCubeMapSeamless = ((int)0x884F) , + /// + /// Original was GL_POINT_SPRITE = 0x8861 + /// + PointSprite = ((int)0x8861) , + /// + /// Original was GL_MAX_VERTEX_ATTRIBS = 0x8869 + /// + MaxVertexAttribs = ((int)0x8869) , + /// + /// Original was GL_MAX_TESS_CONTROL_INPUT_COMPONENTS = 0x886C + /// + MaxTessControlInputComponents = ((int)0x886C) , + /// + /// Original was GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS = 0x886D + /// + MaxTessEvaluationInputComponents = ((int)0x886D) , + /// + /// Original was GL_MAX_TEXTURE_COORDS = 0x8871 + /// + MaxTextureCoords = ((int)0x8871) , + /// + /// Original was GL_MAX_TEXTURE_IMAGE_UNITS = 0x8872 + /// + MaxTextureImageUnits = ((int)0x8872) , + /// + /// Original was GL_ARRAY_BUFFER_BINDING = 0x8894 + /// + ArrayBufferBinding = ((int)0x8894) , + /// + /// Original was GL_ELEMENT_ARRAY_BUFFER_BINDING = 0x8895 + /// + ElementArrayBufferBinding = ((int)0x8895) , + /// + /// Original was GL_VERTEX_ARRAY_BUFFER_BINDING = 0x8896 + /// + VertexArrayBufferBinding = ((int)0x8896) , + /// + /// Original was GL_NORMAL_ARRAY_BUFFER_BINDING = 0x8897 + /// + NormalArrayBufferBinding = ((int)0x8897) , + /// + /// Original was GL_COLOR_ARRAY_BUFFER_BINDING = 0x8898 + /// + ColorArrayBufferBinding = ((int)0x8898) , + /// + /// Original was GL_INDEX_ARRAY_BUFFER_BINDING = 0x8899 + /// + IndexArrayBufferBinding = ((int)0x8899) , + /// + /// Original was GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING = 0x889A + /// + TextureCoordArrayBufferBinding = ((int)0x889A) , + /// + /// Original was GL_EDGE_FLAG_ARRAY_BUFFER_BINDING = 0x889B + /// + EdgeFlagArrayBufferBinding = ((int)0x889B) , + /// + /// Original was GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING = 0x889C + /// + SecondaryColorArrayBufferBinding = ((int)0x889C) , + /// + /// Original was GL_FOG_COORD_ARRAY_BUFFER_BINDING = 0x889D + /// + FogCoordArrayBufferBinding = ((int)0x889D) , + /// + /// Original was GL_WEIGHT_ARRAY_BUFFER_BINDING = 0x889E + /// + WeightArrayBufferBinding = ((int)0x889E) , + /// + /// Original was GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING = 0x889F + /// + VertexAttribArrayBufferBinding = ((int)0x889F) , + /// + /// Original was GL_PIXEL_PACK_BUFFER_BINDING = 0x88ED + /// + PixelPackBufferBinding = ((int)0x88ED) , + /// + /// Original was GL_PIXEL_UNPACK_BUFFER_BINDING = 0x88EF + /// + PixelUnpackBufferBinding = ((int)0x88EF) , + /// + /// Original was GL_MAX_DUAL_SOURCE_DRAW_BUFFERS = 0x88FC + /// + MaxDualSourceDrawBuffers = ((int)0x88FC) , + /// + /// Original was GL_MAX_ARRAY_TEXTURE_LAYERS = 0x88FF + /// + MaxArrayTextureLayers = ((int)0x88FF) , + /// + /// Original was GL_MIN_PROGRAM_TEXEL_OFFSET = 0x8904 + /// + MinProgramTexelOffset = ((int)0x8904) , + /// + /// Original was GL_MAX_PROGRAM_TEXEL_OFFSET = 0x8905 + /// + MaxProgramTexelOffset = ((int)0x8905) , + /// + /// Original was GL_SAMPLER_BINDING = 0x8919 + /// + SamplerBinding = ((int)0x8919) , + /// + /// Original was GL_CLAMP_VERTEX_COLOR = 0x891A + /// + ClampVertexColor = ((int)0x891A) , + /// + /// Original was GL_CLAMP_FRAGMENT_COLOR = 0x891B + /// + ClampFragmentColor = ((int)0x891B) , + /// + /// Original was GL_CLAMP_READ_COLOR = 0x891C + /// + ClampReadColor = ((int)0x891C) , + /// + /// Original was GL_MAX_VERTEX_UNIFORM_BLOCKS = 0x8A2B + /// + MaxVertexUniformBlocks = ((int)0x8A2B) , + /// + /// Original was GL_MAX_GEOMETRY_UNIFORM_BLOCKS = 0x8A2C + /// + MaxGeometryUniformBlocks = ((int)0x8A2C) , + /// + /// Original was GL_MAX_FRAGMENT_UNIFORM_BLOCKS = 0x8A2D + /// + MaxFragmentUniformBlocks = ((int)0x8A2D) , + /// + /// Original was GL_MAX_COMBINED_UNIFORM_BLOCKS = 0x8A2E + /// + MaxCombinedUniformBlocks = ((int)0x8A2E) , + /// + /// Original was GL_MAX_UNIFORM_BUFFER_BINDINGS = 0x8A2F + /// + MaxUniformBufferBindings = ((int)0x8A2F) , + /// + /// Original was GL_MAX_UNIFORM_BLOCK_SIZE = 0x8A30 + /// + MaxUniformBlockSize = ((int)0x8A30) , + /// + /// Original was GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS = 0x8A31 + /// + MaxCombinedVertexUniformComponents = ((int)0x8A31) , + /// + /// Original was GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS = 0x8A32 + /// + MaxCombinedGeometryUniformComponents = ((int)0x8A32) , + /// + /// Original was GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS = 0x8A33 + /// + MaxCombinedFragmentUniformComponents = ((int)0x8A33) , + /// + /// Original was GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT = 0x8A34 + /// + UniformBufferOffsetAlignment = ((int)0x8A34) , + /// + /// Original was GL_MAX_FRAGMENT_UNIFORM_COMPONENTS = 0x8B49 + /// + MaxFragmentUniformComponents = ((int)0x8B49) , + /// + /// Original was GL_MAX_VERTEX_UNIFORM_COMPONENTS = 0x8B4A + /// + MaxVertexUniformComponents = ((int)0x8B4A) , + /// + /// Original was GL_MAX_VARYING_COMPONENTS = 0x8B4B + /// + MaxVaryingComponents = ((int)0x8B4B) , + /// + /// Original was GL_MAX_VARYING_FLOATS = 0x8B4B + /// + MaxVaryingFloats = ((int)0x8B4B) , + /// + /// Original was GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS = 0x8B4C + /// + MaxVertexTextureImageUnits = ((int)0x8B4C) , + /// + /// Original was GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS = 0x8B4D + /// + MaxCombinedTextureImageUnits = ((int)0x8B4D) , + /// + /// Original was GL_FRAGMENT_SHADER_DERIVATIVE_HINT = 0x8B8B + /// + FragmentShaderDerivativeHint = ((int)0x8B8B) , + /// + /// Original was GL_CURRENT_PROGRAM = 0x8B8D + /// + CurrentProgram = ((int)0x8B8D) , + /// + /// Original was GL_IMPLEMENTATION_COLOR_READ_TYPE = 0x8B9A + /// + ImplementationColorReadType = ((int)0x8B9A) , + /// + /// Original was GL_IMPLEMENTATION_COLOR_READ_FORMAT = 0x8B9B + /// + ImplementationColorReadFormat = ((int)0x8B9B) , + /// + /// Original was GL_TEXTURE_BINDING_1D_ARRAY = 0x8C1C + /// + TextureBinding1DArray = ((int)0x8C1C) , + /// + /// Original was GL_TEXTURE_BINDING_2D_ARRAY = 0x8C1D + /// + TextureBinding2DArray = ((int)0x8C1D) , + /// + /// Original was GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS = 0x8C29 + /// + MaxGeometryTextureImageUnits = ((int)0x8C29) , + /// + /// Original was GL_TEXTURE_BUFFER = 0x8C2A + /// + TextureBuffer = ((int)0x8C2A) , + /// + /// Original was GL_MAX_TEXTURE_BUFFER_SIZE = 0x8C2B + /// + MaxTextureBufferSize = ((int)0x8C2B) , + /// + /// Original was GL_TEXTURE_BINDING_BUFFER = 0x8C2C + /// + TextureBindingBuffer = ((int)0x8C2C) , + /// + /// Original was GL_TEXTURE_BUFFER_DATA_STORE_BINDING = 0x8C2D + /// + TextureBufferDataStoreBinding = ((int)0x8C2D) , + /// + /// Original was GL_TEXTURE_BUFFER_FORMAT = 0x8C2E + /// + TextureBufferFormat = ((int)0x8C2E) , + /// + /// Original was GL_SAMPLE_SHADING = 0x8C36 + /// + SampleShading = ((int)0x8C36) , + /// + /// Original was GL_MIN_SAMPLE_SHADING_VALUE = 0x8C37 + /// + MinSampleShadingValue = ((int)0x8C37) , + /// + /// Original was GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS = 0x8C80 + /// + MaxTransformFeedbackSeparateComponents = ((int)0x8C80) , + /// + /// Original was GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS = 0x8C8A + /// + MaxTransformFeedbackInterleavedComponents = ((int)0x8C8A) , + /// + /// Original was GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS = 0x8C8B + /// + MaxTransformFeedbackSeparateAttribs = ((int)0x8C8B) , + /// + /// Original was GL_STENCIL_BACK_REF = 0x8CA3 + /// + StencilBackRef = ((int)0x8CA3) , + /// + /// Original was GL_STENCIL_BACK_VALUE_MASK = 0x8CA4 + /// + StencilBackValueMask = ((int)0x8CA4) , + /// + /// Original was GL_STENCIL_BACK_WRITEMASK = 0x8CA5 + /// + StencilBackWritemask = ((int)0x8CA5) , + /// + /// Original was GL_DRAW_FRAMEBUFFER_BINDING = 0x8CA6 + /// + DrawFramebufferBinding = ((int)0x8CA6) , + /// + /// Original was GL_FRAMEBUFFER_BINDING = 0x8CA6 + /// + FramebufferBinding = ((int)0x8CA6) , + /// + /// Original was GL_FRAMEBUFFER_BINDING_EXT = 0x8CA6 + /// + FramebufferBindingExt = ((int)0x8CA6) , + /// + /// Original was GL_RENDERBUFFER_BINDING = 0x8CA7 + /// + RenderbufferBinding = ((int)0x8CA7) , + /// + /// Original was GL_RENDERBUFFER_BINDING_EXT = 0x8CA7 + /// + RenderbufferBindingExt = ((int)0x8CA7) , + /// + /// Original was GL_READ_FRAMEBUFFER_BINDING = 0x8CAA + /// + ReadFramebufferBinding = ((int)0x8CAA) , + /// + /// Original was GL_MAX_COLOR_ATTACHMENTS = 0x8CDF + /// + MaxColorAttachments = ((int)0x8CDF) , + /// + /// Original was GL_MAX_COLOR_ATTACHMENTS_EXT = 0x8CDF + /// + MaxColorAttachmentsExt = ((int)0x8CDF) , + /// + /// Original was GL_MAX_SAMPLES = 0x8D57 + /// + MaxSamples = ((int)0x8D57) , + /// + /// Original was GL_FRAMEBUFFER_SRGB = 0x8DB9 + /// + FramebufferSrgb = ((int)0x8DB9) , + /// + /// Original was GL_MAX_GEOMETRY_VARYING_COMPONENTS = 0x8DDD + /// + MaxGeometryVaryingComponents = ((int)0x8DDD) , + /// + /// Original was GL_MAX_VERTEX_VARYING_COMPONENTS = 0x8DDE + /// + MaxVertexVaryingComponents = ((int)0x8DDE) , + /// + /// Original was GL_MAX_GEOMETRY_UNIFORM_COMPONENTS = 0x8DDF + /// + MaxGeometryUniformComponents = ((int)0x8DDF) , + /// + /// Original was GL_MAX_GEOMETRY_OUTPUT_VERTICES = 0x8DE0 + /// + MaxGeometryOutputVertices = ((int)0x8DE0) , + /// + /// Original was GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS = 0x8DE1 + /// + MaxGeometryTotalOutputComponents = ((int)0x8DE1) , + /// + /// Original was GL_MAX_SUBROUTINES = 0x8DE7 + /// + MaxSubroutines = ((int)0x8DE7) , + /// + /// Original was GL_MAX_SUBROUTINE_UNIFORM_LOCATIONS = 0x8DE8 + /// + MaxSubroutineUniformLocations = ((int)0x8DE8) , + /// + /// Original was GL_SHADER_BINARY_FORMATS = 0x8DF8 + /// + ShaderBinaryFormats = ((int)0x8DF8) , + /// + /// Original was GL_NUM_SHADER_BINARY_FORMATS = 0x8DF9 + /// + NumShaderBinaryFormats = ((int)0x8DF9) , + /// + /// Original was GL_SHADER_COMPILER = 0x8DFA + /// + ShaderCompiler = ((int)0x8DFA) , + /// + /// Original was GL_MAX_VERTEX_UNIFORM_VECTORS = 0x8DFB + /// + MaxVertexUniformVectors = ((int)0x8DFB) , + /// + /// Original was GL_MAX_VARYING_VECTORS = 0x8DFC + /// + MaxVaryingVectors = ((int)0x8DFC) , + /// + /// Original was GL_MAX_FRAGMENT_UNIFORM_VECTORS = 0x8DFD + /// + MaxFragmentUniformVectors = ((int)0x8DFD) , + /// + /// Original was GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS = 0x8E1E + /// + MaxCombinedTessControlUniformComponents = ((int)0x8E1E) , + /// + /// Original was GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS = 0x8E1F + /// + MaxCombinedTessEvaluationUniformComponents = ((int)0x8E1F) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED = 0x8E23 + /// + TransformFeedbackBufferPaused = ((int)0x8E23) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE = 0x8E24 + /// + TransformFeedbackBufferActive = ((int)0x8E24) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_BINDING = 0x8E25 + /// + TransformFeedbackBinding = ((int)0x8E25) , + /// + /// Original was GL_TIMESTAMP = 0x8E28 + /// + Timestamp = ((int)0x8E28) , + /// + /// Original was GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION = 0x8E4C + /// + QuadsFollowProvokingVertexConvention = ((int)0x8E4C) , + /// + /// Original was GL_PROVOKING_VERTEX = 0x8E4F + /// + ProvokingVertex = ((int)0x8E4F) , + /// + /// Original was GL_SAMPLE_MASK = 0x8E51 + /// + SampleMask = ((int)0x8E51) , + /// + /// Original was GL_MAX_SAMPLE_MASK_WORDS = 0x8E59 + /// + MaxSampleMaskWords = ((int)0x8E59) , + /// + /// Original was GL_MAX_GEOMETRY_SHADER_INVOCATIONS = 0x8E5A + /// + MaxGeometryShaderInvocations = ((int)0x8E5A) , + /// + /// Original was GL_MIN_FRAGMENT_INTERPOLATION_OFFSET = 0x8E5B + /// + MinFragmentInterpolationOffset = ((int)0x8E5B) , + /// + /// Original was GL_MAX_FRAGMENT_INTERPOLATION_OFFSET = 0x8E5C + /// + MaxFragmentInterpolationOffset = ((int)0x8E5C) , + /// + /// Original was GL_FRAGMENT_INTERPOLATION_OFFSET_BITS = 0x8E5D + /// + FragmentInterpolationOffsetBits = ((int)0x8E5D) , + /// + /// Original was GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET = 0x8E5E + /// + MinProgramTextureGatherOffset = ((int)0x8E5E) , + /// + /// Original was GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET = 0x8E5F + /// + MaxProgramTextureGatherOffset = ((int)0x8E5F) , + /// + /// Original was GL_MAX_TRANSFORM_FEEDBACK_BUFFERS = 0x8E70 + /// + MaxTransformFeedbackBuffers = ((int)0x8E70) , + /// + /// Original was GL_MAX_VERTEX_STREAMS = 0x8E71 + /// + MaxVertexStreams = ((int)0x8E71) , + /// + /// Original was GL_PATCH_VERTICES = 0x8E72 + /// + PatchVertices = ((int)0x8E72) , + /// + /// Original was GL_PATCH_DEFAULT_INNER_LEVEL = 0x8E73 + /// + PatchDefaultInnerLevel = ((int)0x8E73) , + /// + /// Original was GL_PATCH_DEFAULT_OUTER_LEVEL = 0x8E74 + /// + PatchDefaultOuterLevel = ((int)0x8E74) , + /// + /// Original was GL_MAX_TESS_GEN_LEVEL = 0x8E7E + /// + MaxTessGenLevel = ((int)0x8E7E) , + /// + /// Original was GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS = 0x8E7F + /// + MaxTessControlUniformComponents = ((int)0x8E7F) , + /// + /// Original was GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS = 0x8E80 + /// + MaxTessEvaluationUniformComponents = ((int)0x8E80) , + /// + /// Original was GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS = 0x8E81 + /// + MaxTessControlTextureImageUnits = ((int)0x8E81) , + /// + /// Original was GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS = 0x8E82 + /// + MaxTessEvaluationTextureImageUnits = ((int)0x8E82) , + /// + /// Original was GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS = 0x8E83 + /// + MaxTessControlOutputComponents = ((int)0x8E83) , + /// + /// Original was GL_MAX_TESS_PATCH_COMPONENTS = 0x8E84 + /// + MaxTessPatchComponents = ((int)0x8E84) , + /// + /// Original was GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS = 0x8E85 + /// + MaxTessControlTotalOutputComponents = ((int)0x8E85) , + /// + /// Original was GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS = 0x8E86 + /// + MaxTessEvaluationOutputComponents = ((int)0x8E86) , + /// + /// Original was GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS = 0x8E89 + /// + MaxTessControlUniformBlocks = ((int)0x8E89) , + /// + /// Original was GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS = 0x8E8A + /// + MaxTessEvaluationUniformBlocks = ((int)0x8E8A) , + /// + /// Original was GL_DRAW_INDIRECT_BUFFER_BINDING = 0x8F43 + /// + DrawIndirectBufferBinding = ((int)0x8F43) , + /// + /// Original was GL_MAX_PROGRAM_TEXTURE_GATHER_COMPONENTS = 0x8F9F + /// + MaxProgramTextureGatherComponents = ((int)0x8F9F) , + /// + /// Original was GL_TEXTURE_BINDING_2D_MULTISAMPLE = 0x9104 + /// + TextureBinding2DMultisample = ((int)0x9104) , + /// + /// Original was GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY = 0x9105 + /// + TextureBinding2DMultisampleArray = ((int)0x9105) , + /// + /// Original was GL_MAX_COLOR_TEXTURE_SAMPLES = 0x910E + /// + MaxColorTextureSamples = ((int)0x910E) , + /// + /// Original was GL_MAX_DEPTH_TEXTURE_SAMPLES = 0x910F + /// + MaxDepthTextureSamples = ((int)0x910F) , + /// + /// Original was GL_MAX_INTEGER_SAMPLES = 0x9110 + /// + MaxIntegerSamples = ((int)0x9110) , + /// + /// Original was GL_MAX_VERTEX_OUTPUT_COMPONENTS = 0x9122 + /// + MaxVertexOutputComponents = ((int)0x9122) , + /// + /// Original was GL_MAX_GEOMETRY_INPUT_COMPONENTS = 0x9123 + /// + MaxGeometryInputComponents = ((int)0x9123) , + /// + /// Original was GL_MAX_GEOMETRY_OUTPUT_COMPONENTS = 0x9124 + /// + MaxGeometryOutputComponents = ((int)0x9124) , + /// + /// Original was GL_MAX_FRAGMENT_INPUT_COMPONENTS = 0x9125 + /// + MaxFragmentInputComponents = ((int)0x9125) , + } + + /// + /// Used in GL.GetPointer, GL.Ext.GetPointer + /// + public enum GetPointervPName : int + { + /// + /// Original was GL_FEEDBACK_BUFFER_POINTER = 0x0DF0 + /// + FeedbackBufferPointer = ((int)0x0DF0) , + /// + /// Original was GL_SELECTION_BUFFER_POINTER = 0x0DF3 + /// + SelectionBufferPointer = ((int)0x0DF3) , + /// + /// Original was GL_VERTEX_ARRAY_POINTER = 0x808E + /// + VertexArrayPointer = ((int)0x808E) , + /// + /// Original was GL_NORMAL_ARRAY_POINTER = 0x808F + /// + NormalArrayPointer = ((int)0x808F) , + /// + /// Original was GL_COLOR_ARRAY_POINTER = 0x8090 + /// + ColorArrayPointer = ((int)0x8090) , + /// + /// Original was GL_INDEX_ARRAY_POINTER = 0x8091 + /// + IndexArrayPointer = ((int)0x8091) , + /// + /// Original was GL_TEXTURE_COORD_ARRAY_POINTER = 0x8092 + /// + TextureCoordArrayPointer = ((int)0x8092) , + /// + /// Original was GL_EDGE_FLAG_ARRAY_POINTER = 0x8093 + /// + EdgeFlagArrayPointer = ((int)0x8093) , + /// + /// Original was GL_INSTRUMENT_BUFFER_POINTER_SGIX = 0x8180 + /// + InstrumentBufferPointerSgix = ((int)0x8180) , + /// + /// Original was GL_FOG_COORD_ARRAY_POINTER = 0x8456 + /// + FogCoordArrayPointer = ((int)0x8456) , + /// + /// Original was GL_SECONDARY_COLOR_ARRAY_POINTER = 0x845D + /// + SecondaryColorArrayPointer = ((int)0x845D) , + } + + /// + /// Used in GL.GetQueryObject + /// + public enum GetQueryObjectParam : int + { + /// + /// Original was GL_QUERY_RESULT = 0x8866 + /// + QueryResult = ((int)0x8866) , + /// + /// Original was GL_QUERY_RESULT_AVAILABLE = 0x8867 + /// + QueryResultAvailable = ((int)0x8867) , + } + + /// + /// Used in GL.GetQueryIndexed, GL.GetQuery + /// + public enum GetQueryParam : int + { + /// + /// Original was GL_QUERY_COUNTER_BITS = 0x8864 + /// + QueryCounterBits = ((int)0x8864) , + /// + /// Original was GL_CURRENT_QUERY = 0x8865 + /// + CurrentQuery = ((int)0x8865) , + } + + /// + /// Used in GL.GetTexLevelParameter, GL.GetTexParameter, GL.GetTexParameterI, GL.Ext.GetMultiTexLevelParameter, GL.Ext.GetMultiTexParameter, GL.Ext.GetMultiTexParameterI, GL.Ext.GetTexParameterI, GL.Ext.GetTextureLevelParameter, GL.Ext.GetTextureParameter, GL.Ext.GetTextureParameterI + /// + public enum GetTextureParameter : int + { + /// + /// Original was GL_TEXTURE_WIDTH = 0x1000 + /// + TextureWidth = ((int)0x1000) , + /// + /// Original was GL_TEXTURE_HEIGHT = 0x1001 + /// + TextureHeight = ((int)0x1001) , + /// + /// Original was GL_TEXTURE_COMPONENTS = 0x1003 + /// + TextureComponents = ((int)0x1003) , + /// + /// Original was GL_TEXTURE_INTERNAL_FORMAT = 0x1003 + /// + TextureInternalFormat = ((int)0x1003) , + /// + /// Original was GL_TEXTURE_BORDER_COLOR = 0x1004 + /// + TextureBorderColor = ((int)0x1004) , + /// + /// Original was GL_TEXTURE_BORDER = 0x1005 + /// + TextureBorder = ((int)0x1005) , + /// + /// Original was GL_TEXTURE_MAG_FILTER = 0x2800 + /// + TextureMagFilter = ((int)0x2800) , + /// + /// Original was GL_TEXTURE_MIN_FILTER = 0x2801 + /// + TextureMinFilter = ((int)0x2801) , + /// + /// Original was GL_TEXTURE_WRAP_S = 0x2802 + /// + TextureWrapS = ((int)0x2802) , + /// + /// Original was GL_TEXTURE_WRAP_T = 0x2803 + /// + TextureWrapT = ((int)0x2803) , + /// + /// Original was GL_TEXTURE_RED_SIZE = 0x805C + /// + TextureRedSize = ((int)0x805C) , + /// + /// Original was GL_TEXTURE_GREEN_SIZE = 0x805D + /// + TextureGreenSize = ((int)0x805D) , + /// + /// Original was GL_TEXTURE_BLUE_SIZE = 0x805E + /// + TextureBlueSize = ((int)0x805E) , + /// + /// Original was GL_TEXTURE_ALPHA_SIZE = 0x805F + /// + TextureAlphaSize = ((int)0x805F) , + /// + /// Original was GL_TEXTURE_LUMINANCE_SIZE = 0x8060 + /// + TextureLuminanceSize = ((int)0x8060) , + /// + /// Original was GL_TEXTURE_INTENSITY_SIZE = 0x8061 + /// + TextureIntensitySize = ((int)0x8061) , + /// + /// Original was GL_TEXTURE_PRIORITY = 0x8066 + /// + TexturePriority = ((int)0x8066) , + /// + /// Original was GL_TEXTURE_RESIDENT = 0x8067 + /// + TextureResident = ((int)0x8067) , + /// + /// Original was GL_TEXTURE_DEPTH = 0x8071 + /// + TextureDepth = ((int)0x8071) , + /// + /// Original was GL_TEXTURE_DEPTH_EXT = 0x8071 + /// + TextureDepthExt = ((int)0x8071) , + /// + /// Original was GL_TEXTURE_WRAP_R = 0x8072 + /// + TextureWrapR = ((int)0x8072) , + /// + /// Original was GL_TEXTURE_WRAP_R_EXT = 0x8072 + /// + TextureWrapRExt = ((int)0x8072) , + /// + /// Original was GL_DETAIL_TEXTURE_LEVEL_SGIS = 0x809A + /// + DetailTextureLevelSgis = ((int)0x809A) , + /// + /// Original was GL_DETAIL_TEXTURE_MODE_SGIS = 0x809B + /// + DetailTextureModeSgis = ((int)0x809B) , + /// + /// Original was GL_DETAIL_TEXTURE_FUNC_POINTS_SGIS = 0x809C + /// + DetailTextureFuncPointsSgis = ((int)0x809C) , + /// + /// Original was GL_SHARPEN_TEXTURE_FUNC_POINTS_SGIS = 0x80B0 + /// + SharpenTextureFuncPointsSgis = ((int)0x80B0) , + /// + /// Original was GL_SHADOW_AMBIENT_SGIX = 0x80BF + /// + ShadowAmbientSgix = ((int)0x80BF) , + /// + /// Original was GL_DUAL_TEXTURE_SELECT_SGIS = 0x8124 + /// + DualTextureSelectSgis = ((int)0x8124) , + /// + /// Original was GL_QUAD_TEXTURE_SELECT_SGIS = 0x8125 + /// + QuadTextureSelectSgis = ((int)0x8125) , + /// + /// Original was GL_TEXTURE_4DSIZE_SGIS = 0x8136 + /// + Texture4DsizeSgis = ((int)0x8136) , + /// + /// Original was GL_TEXTURE_WRAP_Q_SGIS = 0x8137 + /// + TextureWrapQSgis = ((int)0x8137) , + /// + /// Original was GL_TEXTURE_MIN_LOD = 0x813A + /// + TextureMinLod = ((int)0x813A) , + /// + /// Original was GL_TEXTURE_MIN_LOD_SGIS = 0x813A + /// + TextureMinLodSgis = ((int)0x813A) , + /// + /// Original was GL_TEXTURE_MAX_LOD = 0x813B + /// + TextureMaxLod = ((int)0x813B) , + /// + /// Original was GL_TEXTURE_MAX_LOD_SGIS = 0x813B + /// + TextureMaxLodSgis = ((int)0x813B) , + /// + /// Original was GL_TEXTURE_BASE_LEVEL = 0x813C + /// + TextureBaseLevel = ((int)0x813C) , + /// + /// Original was GL_TEXTURE_BASE_LEVEL_SGIS = 0x813C + /// + TextureBaseLevelSgis = ((int)0x813C) , + /// + /// Original was GL_TEXTURE_MAX_LEVEL = 0x813D + /// + TextureMaxLevel = ((int)0x813D) , + /// + /// Original was GL_TEXTURE_MAX_LEVEL_SGIS = 0x813D + /// + TextureMaxLevelSgis = ((int)0x813D) , + /// + /// Original was GL_TEXTURE_FILTER4_SIZE_SGIS = 0x8147 + /// + TextureFilter4SizeSgis = ((int)0x8147) , + /// + /// Original was GL_TEXTURE_CLIPMAP_CENTER_SGIX = 0x8171 + /// + TextureClipmapCenterSgix = ((int)0x8171) , + /// + /// Original was GL_TEXTURE_CLIPMAP_FRAME_SGIX = 0x8172 + /// + TextureClipmapFrameSgix = ((int)0x8172) , + /// + /// Original was GL_TEXTURE_CLIPMAP_OFFSET_SGIX = 0x8173 + /// + TextureClipmapOffsetSgix = ((int)0x8173) , + /// + /// Original was GL_TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX = 0x8174 + /// + TextureClipmapVirtualDepthSgix = ((int)0x8174) , + /// + /// Original was GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX = 0x8175 + /// + TextureClipmapLodOffsetSgix = ((int)0x8175) , + /// + /// Original was GL_TEXTURE_CLIPMAP_DEPTH_SGIX = 0x8176 + /// + TextureClipmapDepthSgix = ((int)0x8176) , + /// + /// Original was GL_POST_TEXTURE_FILTER_BIAS_SGIX = 0x8179 + /// + PostTextureFilterBiasSgix = ((int)0x8179) , + /// + /// Original was GL_POST_TEXTURE_FILTER_SCALE_SGIX = 0x817A + /// + PostTextureFilterScaleSgix = ((int)0x817A) , + /// + /// Original was GL_TEXTURE_LOD_BIAS_S_SGIX = 0x818E + /// + TextureLodBiasSSgix = ((int)0x818E) , + /// + /// Original was GL_TEXTURE_LOD_BIAS_T_SGIX = 0x818F + /// + TextureLodBiasTSgix = ((int)0x818F) , + /// + /// Original was GL_TEXTURE_LOD_BIAS_R_SGIX = 0x8190 + /// + TextureLodBiasRSgix = ((int)0x8190) , + /// + /// Original was GL_GENERATE_MIPMAP = 0x8191 + /// + GenerateMipmap = ((int)0x8191) , + /// + /// Original was GL_GENERATE_MIPMAP_SGIS = 0x8191 + /// + GenerateMipmapSgis = ((int)0x8191) , + /// + /// Original was GL_TEXTURE_COMPARE_SGIX = 0x819A + /// + TextureCompareSgix = ((int)0x819A) , + /// + /// Original was GL_TEXTURE_COMPARE_OPERATOR_SGIX = 0x819B + /// + TextureCompareOperatorSgix = ((int)0x819B) , + /// + /// Original was GL_TEXTURE_LEQUAL_R_SGIX = 0x819C + /// + TextureLequalRSgix = ((int)0x819C) , + /// + /// Original was GL_TEXTURE_GEQUAL_R_SGIX = 0x819D + /// + TextureGequalRSgix = ((int)0x819D) , + /// + /// Original was GL_TEXTURE_MAX_CLAMP_S_SGIX = 0x8369 + /// + TextureMaxClampSSgix = ((int)0x8369) , + /// + /// Original was GL_TEXTURE_MAX_CLAMP_T_SGIX = 0x836A + /// + TextureMaxClampTSgix = ((int)0x836A) , + /// + /// Original was GL_TEXTURE_MAX_CLAMP_R_SGIX = 0x836B + /// + TextureMaxClampRSgix = ((int)0x836B) , + /// + /// Original was GL_TEXTURE_COMPRESSED_IMAGE_SIZE = 0x86A0 + /// + TextureCompressedImageSize = ((int)0x86A0) , + /// + /// Original was GL_TEXTURE_COMPRESSED = 0x86A1 + /// + TextureCompressed = ((int)0x86A1) , + /// + /// Original was GL_TEXTURE_DEPTH_SIZE = 0x884A + /// + TextureDepthSize = ((int)0x884A) , + /// + /// Original was GL_DEPTH_TEXTURE_MODE = 0x884B + /// + DepthTextureMode = ((int)0x884B) , + /// + /// Original was GL_TEXTURE_COMPARE_MODE = 0x884C + /// + TextureCompareMode = ((int)0x884C) , + /// + /// Original was GL_TEXTURE_COMPARE_FUNC = 0x884D + /// + TextureCompareFunc = ((int)0x884D) , + /// + /// Original was GL_TEXTURE_STENCIL_SIZE = 0x88F1 + /// + TextureStencilSize = ((int)0x88F1) , + /// + /// Original was GL_TEXTURE_RED_TYPE = 0x8C10 + /// + TextureRedType = ((int)0x8C10) , + /// + /// Original was GL_TEXTURE_GREEN_TYPE = 0x8C11 + /// + TextureGreenType = ((int)0x8C11) , + /// + /// Original was GL_TEXTURE_BLUE_TYPE = 0x8C12 + /// + TextureBlueType = ((int)0x8C12) , + /// + /// Original was GL_TEXTURE_ALPHA_TYPE = 0x8C13 + /// + TextureAlphaType = ((int)0x8C13) , + /// + /// Original was GL_TEXTURE_LUMINANCE_TYPE = 0x8C14 + /// + TextureLuminanceType = ((int)0x8C14) , + /// + /// Original was GL_TEXTURE_INTENSITY_TYPE = 0x8C15 + /// + TextureIntensityType = ((int)0x8C15) , + /// + /// Original was GL_TEXTURE_DEPTH_TYPE = 0x8C16 + /// + TextureDepthType = ((int)0x8C16) , + /// + /// Original was GL_TEXTURE_SHARED_SIZE = 0x8C3F + /// + TextureSharedSize = ((int)0x8C3F) , + /// + /// Original was GL_TEXTURE_SWIZZLE_R = 0x8E42 + /// + TextureSwizzleR = ((int)0x8E42) , + /// + /// Original was GL_TEXTURE_SWIZZLE_G = 0x8E43 + /// + TextureSwizzleG = ((int)0x8E43) , + /// + /// Original was GL_TEXTURE_SWIZZLE_B = 0x8E44 + /// + TextureSwizzleB = ((int)0x8E44) , + /// + /// Original was GL_TEXTURE_SWIZZLE_A = 0x8E45 + /// + TextureSwizzleA = ((int)0x8E45) , + /// + /// Original was GL_TEXTURE_SWIZZLE_RGBA = 0x8E46 + /// + TextureSwizzleRgba = ((int)0x8E46) , + /// + /// Original was GL_TEXTURE_SAMPLES = 0x9106 + /// + TextureSamples = ((int)0x9106) , + /// + /// Original was GL_TEXTURE_FIXED_SAMPLE_LOCATIONS = 0x9107 + /// + TextureFixedSampleLocations = ((int)0x9107) , + } + + /// + /// Not used directly. + /// + public enum Gl3DfxMultisample : int + { + /// + /// Original was GL_MULTISAMPLE_BIT_3DFX = 0x20000000 + /// + MultisampleBit3Dfx = ((int)0x20000000) , + /// + /// Original was GL_MULTISAMPLE_3DFX = 0x86B2 + /// + Multisample3Dfx = ((int)0x86B2) , + /// + /// Original was GL_SAMPLE_BUFFERS_3DFX = 0x86B3 + /// + SampleBuffers3Dfx = ((int)0x86B3) , + /// + /// Original was GL_SAMPLES_3DFX = 0x86B4 + /// + Samples3Dfx = ((int)0x86B4) , + } + + /// + /// Not used directly. + /// + public enum Gl3DfxTbuffer : int + { + } + + /// + /// Not used directly. + /// + public enum Gl3DfxTextureCompressionFxt1 : int + { + /// + /// Original was GL_COMPRESSED_RGB_FXT1_3DFX = 0x86B0 + /// + CompressedRgbFxt13Dfx = ((int)0x86B0) , + /// + /// Original was GL_COMPRESSED_RGBA_FXT1_3DFX = 0x86B1 + /// + CompressedRgbaFxt13Dfx = ((int)0x86B1) , + } + + /// + /// Not used directly. + /// + public enum GremedyFrameTerminator : int + { + } + + /// + /// Not used directly. + /// + public enum GremedyStringMarker : int + { + } + + /// + /// Used in GL.Hint + /// + public enum HintMode : int + { + /// + /// Original was GL_DONT_CARE = 0x1100 + /// + DontCare = ((int)0x1100) , + /// + /// Original was GL_FASTEST = 0x1101 + /// + Fastest = ((int)0x1101) , + /// + /// Original was GL_NICEST = 0x1102 + /// + Nicest = ((int)0x1102) , + } + + /// + /// Used in GL.Hint + /// + public enum HintTarget : int + { + /// + /// Original was GL_PERSPECTIVE_CORRECTION_HINT = 0x0C50 + /// + PerspectiveCorrectionHint = ((int)0x0C50) , + /// + /// Original was GL_POINT_SMOOTH_HINT = 0x0C51 + /// + PointSmoothHint = ((int)0x0C51) , + /// + /// Original was GL_LINE_SMOOTH_HINT = 0x0C52 + /// + LineSmoothHint = ((int)0x0C52) , + /// + /// Original was GL_POLYGON_SMOOTH_HINT = 0x0C53 + /// + PolygonSmoothHint = ((int)0x0C53) , + /// + /// Original was GL_FOG_HINT = 0x0C54 + /// + FogHint = ((int)0x0C54) , + /// + /// Original was GL_PACK_CMYK_HINT_EXT = 0x800E + /// + PackCmykHintExt = ((int)0x800E) , + /// + /// Original was GL_UNPACK_CMYK_HINT_EXT = 0x800F + /// + UnpackCmykHintExt = ((int)0x800F) , + /// + /// Original was GL_TEXTURE_MULTI_BUFFER_HINT_SGIX = 0x812E + /// + TextureMultiBufferHintSgix = ((int)0x812E) , + /// + /// Original was GL_GENERATE_MIPMAP_HINT = 0x8192 + /// + GenerateMipmapHint = ((int)0x8192) , + /// + /// Original was GL_GENERATE_MIPMAP_HINT_SGIS = 0x8192 + /// + GenerateMipmapHintSgis = ((int)0x8192) , + /// + /// Original was GL_CONVOLUTION_HINT_SGIX = 0x8316 + /// + ConvolutionHintSgix = ((int)0x8316) , + /// + /// Original was GL_VERTEX_PRECLIP_HINT_SGIX = 0x83EF + /// + VertexPreclipHintSgix = ((int)0x83EF) , + /// + /// Original was GL_TEXTURE_COMPRESSION_HINT = 0x84EF + /// + TextureCompressionHint = ((int)0x84EF) , + /// + /// Original was GL_FRAGMENT_SHADER_DERIVATIVE_HINT = 0x8B8B + /// + FragmentShaderDerivativeHint = ((int)0x8B8B) , + } + + /// + /// Used in GL.GetHistogram, GL.GetHistogramParameter, GL.Histogram, GL.ResetHistogram + /// + public enum HistogramTarget : int + { + /// + /// Original was GL_HISTOGRAM = 0x8024 + /// + Histogram = ((int)0x8024) , + /// + /// Original was GL_PROXY_HISTOGRAM = 0x8025 + /// + ProxyHistogram = ((int)0x8025) , + } + + /// + /// Not used directly. + /// + public enum HistogramTargetExt : int + { + /// + /// Original was GL_HISTOGRAM_EXT = 0x8024 + /// + HistogramExt = ((int)0x8024) , + /// + /// Original was GL_PROXY_HISTOGRAM_EXT = 0x8025 + /// + ProxyHistogramExt = ((int)0x8025) , + } + + /// + /// Not used directly. + /// + public enum HpConvolutionBorderModes : int + { + /// + /// Original was GL_IGNORE_BORDER_HP = 0x8150 + /// + IgnoreBorderHp = ((int)0x8150) , + /// + /// Original was GL_CONSTANT_BORDER_HP = 0x8151 + /// + ConstantBorderHp = ((int)0x8151) , + /// + /// Original was GL_REPLICATE_BORDER_HP = 0x8153 + /// + ReplicateBorderHp = ((int)0x8153) , + /// + /// Original was GL_CONVOLUTION_BORDER_COLOR_HP = 0x8154 + /// + ConvolutionBorderColorHp = ((int)0x8154) , + } + + /// + /// Used in GL.HP.GetImageTransformParameter, GL.HP.ImageTransformParameter + /// + public enum HpImageTransform : int + { + /// + /// Original was GL_IMAGE_SCALE_X_HP = 0x8155 + /// + ImageScaleXHp = ((int)0x8155) , + /// + /// Original was GL_IMAGE_SCALE_Y_HP = 0x8156 + /// + ImageScaleYHp = ((int)0x8156) , + /// + /// Original was GL_IMAGE_TRANSLATE_X_HP = 0x8157 + /// + ImageTranslateXHp = ((int)0x8157) , + /// + /// Original was GL_IMAGE_TRANSLATE_Y_HP = 0x8158 + /// + ImageTranslateYHp = ((int)0x8158) , + /// + /// Original was GL_IMAGE_ROTATE_ANGLE_HP = 0x8159 + /// + ImageRotateAngleHp = ((int)0x8159) , + /// + /// Original was GL_IMAGE_ROTATE_ORIGIN_X_HP = 0x815A + /// + ImageRotateOriginXHp = ((int)0x815A) , + /// + /// Original was GL_IMAGE_ROTATE_ORIGIN_Y_HP = 0x815B + /// + ImageRotateOriginYHp = ((int)0x815B) , + /// + /// Original was GL_IMAGE_MAG_FILTER_HP = 0x815C + /// + ImageMagFilterHp = ((int)0x815C) , + /// + /// Original was GL_IMAGE_MIN_FILTER_HP = 0x815D + /// + ImageMinFilterHp = ((int)0x815D) , + /// + /// Original was GL_IMAGE_CUBIC_WEIGHT_HP = 0x815E + /// + ImageCubicWeightHp = ((int)0x815E) , + /// + /// Original was GL_CUBIC_HP = 0x815F + /// + CubicHp = ((int)0x815F) , + /// + /// Original was GL_AVERAGE_HP = 0x8160 + /// + AverageHp = ((int)0x8160) , + /// + /// Original was GL_IMAGE_TRANSFORM_2D_HP = 0x8161 + /// + ImageTransform2DHp = ((int)0x8161) , + /// + /// Original was GL_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP = 0x8162 + /// + PostImageTransformColorTableHp = ((int)0x8162) , + /// + /// Original was GL_PROXY_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP = 0x8163 + /// + ProxyPostImageTransformColorTableHp = ((int)0x8163) , + } + + /// + /// Not used directly. + /// + public enum HpOcclusionTest : int + { + /// + /// Original was GL_OCCLUSION_TEST_HP = 0x8165 + /// + OcclusionTestHp = ((int)0x8165) , + /// + /// Original was GL_OCCLUSION_TEST_RESULT_HP = 0x8166 + /// + OcclusionTestResultHp = ((int)0x8166) , + } + + /// + /// Not used directly. + /// + public enum HpTextureLighting : int + { + /// + /// Original was GL_TEXTURE_LIGHTING_MODE_HP = 0x8167 + /// + TextureLightingModeHp = ((int)0x8167) , + /// + /// Original was GL_TEXTURE_POST_SPECULAR_HP = 0x8168 + /// + TexturePostSpecularHp = ((int)0x8168) , + /// + /// Original was GL_TEXTURE_PRE_SPECULAR_HP = 0x8169 + /// + TexturePreSpecularHp = ((int)0x8169) , + } + + /// + /// Not used directly. + /// + public enum IbmCullVertex : int + { + /// + /// Original was GL_CULL_VERTEX_IBM = 103050 + /// + CullVertexIbm = ((int)103050) , + } + + /// + /// Not used directly. + /// + public enum IbmMultimodeDrawArrays : int + { + } + + /// + /// Not used directly. + /// + public enum IbmRasterposClip : int + { + /// + /// Original was GL_RASTER_POSITION_UNCLIPPED_IBM = 0x19262 + /// + RasterPositionUnclippedIbm = ((int)0x19262) , + } + + /// + /// Not used directly. + /// + public enum IbmTextureMirroredRepeat : int + { + /// + /// Original was GL_MIRRORED_REPEAT_IBM = 0x8370 + /// + MirroredRepeatIbm = ((int)0x8370) , + } + + /// + /// Used in GL.Ibm.FogCoordPointerList, GL.Ibm.SecondaryColorPointerList + /// + public enum IbmVertexArrayLists : int + { + /// + /// Original was GL_VERTEX_ARRAY_LIST_IBM = 103070 + /// + VertexArrayListIbm = ((int)103070) , + /// + /// Original was GL_NORMAL_ARRAY_LIST_IBM = 103071 + /// + NormalArrayListIbm = ((int)103071) , + /// + /// Original was GL_COLOR_ARRAY_LIST_IBM = 103072 + /// + ColorArrayListIbm = ((int)103072) , + /// + /// Original was GL_INDEX_ARRAY_LIST_IBM = 103073 + /// + IndexArrayListIbm = ((int)103073) , + /// + /// Original was GL_TEXTURE_COORD_ARRAY_LIST_IBM = 103074 + /// + TextureCoordArrayListIbm = ((int)103074) , + /// + /// Original was GL_EDGE_FLAG_ARRAY_LIST_IBM = 103075 + /// + EdgeFlagArrayListIbm = ((int)103075) , + /// + /// Original was GL_FOG_COORDINATE_ARRAY_LIST_IBM = 103076 + /// + FogCoordinateArrayListIbm = ((int)103076) , + /// + /// Original was GL_SECONDARY_COLOR_ARRAY_LIST_IBM = 103077 + /// + SecondaryColorArrayListIbm = ((int)103077) , + /// + /// Original was GL_VERTEX_ARRAY_LIST_STRIDE_IBM = 103080 + /// + VertexArrayListStrideIbm = ((int)103080) , + /// + /// Original was GL_NORMAL_ARRAY_LIST_STRIDE_IBM = 103081 + /// + NormalArrayListStrideIbm = ((int)103081) , + /// + /// Original was GL_COLOR_ARRAY_LIST_STRIDE_IBM = 103082 + /// + ColorArrayListStrideIbm = ((int)103082) , + /// + /// Original was GL_INDEX_ARRAY_LIST_STRIDE_IBM = 103083 + /// + IndexArrayListStrideIbm = ((int)103083) , + /// + /// Original was GL_TEXTURE_COORD_ARRAY_LIST_STRIDE_IBM = 103084 + /// + TextureCoordArrayListStrideIbm = ((int)103084) , + /// + /// Original was GL_EDGE_FLAG_ARRAY_LIST_STRIDE_IBM = 103085 + /// + EdgeFlagArrayListStrideIbm = ((int)103085) , + /// + /// Original was GL_FOG_COORDINATE_ARRAY_LIST_STRIDE_IBM = 103086 + /// + FogCoordinateArrayListStrideIbm = ((int)103086) , + /// + /// Original was GL_SECONDARY_COLOR_ARRAY_LIST_STRIDE_IBM = 103087 + /// + SecondaryColorArrayListStrideIbm = ((int)103087) , + } + + /// + /// Not used directly. + /// + public enum ImgMultisampledRenderToTexture : int + { + /// + /// Original was GL_RENDERBUFFER_SAMPLES_IMG = 0x9133 + /// + RenderbufferSamplesImg = ((int)0x9133) , + /// + /// Original was GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_IMG = 0x9134 + /// + FramebufferIncompleteMultisampleImg = ((int)0x9134) , + /// + /// Original was GL_MAX_SAMPLES_IMG = 0x9135 + /// + MaxSamplesImg = ((int)0x9135) , + /// + /// Original was GL_TEXTURE_SAMPLES_IMG = 0x9136 + /// + TextureSamplesImg = ((int)0x9136) , + } + + /// + /// Not used directly. + /// + public enum ImgProgramBinary : int + { + /// + /// Original was GL_SGX_PROGRAM_BINARY_IMG = 0x9130 + /// + SgxProgramBinaryImg = ((int)0x9130) , + } + + /// + /// Not used directly. + /// + public enum ImgShaderBinary : int + { + /// + /// Original was GL_SGX_BINARY_IMG = 0x8C0A + /// + SgxBinaryImg = ((int)0x8C0A) , + } + + /// + /// Not used directly. + /// + public enum ImgTextureCompressionPvrtc : int + { + /// + /// Original was GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG = 0x8C00 + /// + CompressedRgbPvrtc4Bppv1Img = ((int)0x8C00) , + /// + /// Original was GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG = 0x8C01 + /// + CompressedRgbPvrtc2Bppv1Img = ((int)0x8C01) , + /// + /// Original was GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG = 0x8C02 + /// + CompressedRgbaPvrtc4Bppv1Img = ((int)0x8C02) , + /// + /// Original was GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG = 0x8C03 + /// + CompressedRgbaPvrtc2Bppv1Img = ((int)0x8C03) , + } + + /// + /// Not used directly. + /// + public enum ImgTextureEnvEnhancedFixedFunction : int + { + /// + /// Original was GL_DOT3_RGBA_IMG = 0x86AF + /// + Dot3RgbaImg = ((int)0x86AF) , + /// + /// Original was GL_MODULATE_COLOR_IMG = 0x8C04 + /// + ModulateColorImg = ((int)0x8C04) , + /// + /// Original was GL_RECIP_ADD_SIGNED_ALPHA_IMG = 0x8C05 + /// + RecipAddSignedAlphaImg = ((int)0x8C05) , + /// + /// Original was GL_TEXTURE_ALPHA_MODULATE_IMG = 0x8C06 + /// + TextureAlphaModulateImg = ((int)0x8C06) , + /// + /// Original was GL_FACTOR_ALPHA_MODULATE_IMG = 0x8C07 + /// + FactorAlphaModulateImg = ((int)0x8C07) , + /// + /// Original was GL_FRAGMENT_ALPHA_MODULATE_IMG = 0x8C08 + /// + FragmentAlphaModulateImg = ((int)0x8C08) , + /// + /// Original was GL_ADD_BLEND_IMG = 0x8C09 + /// + AddBlendImg = ((int)0x8C09) , + } + + /// + /// Used in GL.Disable, GL.Enable, GL.IsEnabled, GL.Ext.DisableIndexed, GL.Ext.EnableIndexed, GL.Ext.IsEnabledIndexed + /// + public enum IndexedEnableCap : int + { + /// + /// Original was GL_BLEND = 0x0BE2 + /// + Blend = ((int)0x0BE2) , + /// + /// Original was GL_SCISSOR_TEST = 0x0C11 + /// + ScissorTest = ((int)0x0C11) , + } + + /// + /// Used in GL.IndexPointer, GL.Ext.IndexPointer, GL.Ibm.IndexPointerList + /// + public enum IndexPointerType : int + { + /// + /// Original was GL_SHORT = 0x1402 + /// + Short = ((int)0x1402) , + /// + /// Original was GL_INT = 0x1404 + /// + Int = ((int)0x1404) , + /// + /// Original was GL_FLOAT = 0x1406 + /// + Float = ((int)0x1406) , + /// + /// Original was GL_DOUBLE = 0x140A + /// + Double = ((int)0x140A) , + } + + /// + /// Not used directly. + /// + public enum IngrColorClamp : int + { + /// + /// Original was GL_RED_MIN_CLAMP_INGR = 0x8560 + /// + RedMinClampIngr = ((int)0x8560) , + /// + /// Original was GL_GREEN_MIN_CLAMP_INGR = 0x8561 + /// + GreenMinClampIngr = ((int)0x8561) , + /// + /// Original was GL_BLUE_MIN_CLAMP_INGR = 0x8562 + /// + BlueMinClampIngr = ((int)0x8562) , + /// + /// Original was GL_ALPHA_MIN_CLAMP_INGR = 0x8563 + /// + AlphaMinClampIngr = ((int)0x8563) , + /// + /// Original was GL_RED_MAX_CLAMP_INGR = 0x8564 + /// + RedMaxClampIngr = ((int)0x8564) , + /// + /// Original was GL_GREEN_MAX_CLAMP_INGR = 0x8565 + /// + GreenMaxClampIngr = ((int)0x8565) , + /// + /// Original was GL_BLUE_MAX_CLAMP_INGR = 0x8566 + /// + BlueMaxClampIngr = ((int)0x8566) , + /// + /// Original was GL_ALPHA_MAX_CLAMP_INGR = 0x8567 + /// + AlphaMaxClampIngr = ((int)0x8567) , + } + + /// + /// Not used directly. + /// + public enum IngrInterlaceRead : int + { + /// + /// Original was GL_INTERLACE_READ_INGR = 0x8568 + /// + InterlaceReadIngr = ((int)0x8568) , + } + + /// + /// Not used directly. + /// + public enum IngrPaletteBuffer : int + { + } + + /// + /// Not used directly. + /// + public enum IntelParallelArrays : int + { + /// + /// Original was GL_PARALLEL_ARRAYS_INTEL = 0x83F4 + /// + ParallelArraysIntel = ((int)0x83F4) , + /// + /// Original was GL_VERTEX_ARRAY_PARALLEL_POINTERS_INTEL = 0x83F5 + /// + VertexArrayParallelPointersIntel = ((int)0x83F5) , + /// + /// Original was GL_NORMAL_ARRAY_PARALLEL_POINTERS_INTEL = 0x83F6 + /// + NormalArrayParallelPointersIntel = ((int)0x83F6) , + /// + /// Original was GL_COLOR_ARRAY_PARALLEL_POINTERS_INTEL = 0x83F7 + /// + ColorArrayParallelPointersIntel = ((int)0x83F7) , + /// + /// Original was GL_TEXTURE_COORD_ARRAY_PARALLEL_POINTERS_INTEL = 0x83F8 + /// + TextureCoordArrayParallelPointersIntel = ((int)0x83F8) , + } + + /// + /// Not used directly. + /// + public enum IntelTextureScissor : int + { + } + + /// + /// Used in GL.InterleavedArrays + /// + public enum InterleavedArrayFormat : int + { + /// + /// Original was GL_V2F = 0x2A20 + /// + V2f = ((int)0x2A20) , + /// + /// Original was GL_V3F = 0x2A21 + /// + V3f = ((int)0x2A21) , + /// + /// Original was GL_C4UB_V2F = 0x2A22 + /// + C4ubV2f = ((int)0x2A22) , + /// + /// Original was GL_C4UB_V3F = 0x2A23 + /// + C4ubV3f = ((int)0x2A23) , + /// + /// Original was GL_C3F_V3F = 0x2A24 + /// + C3fV3f = ((int)0x2A24) , + /// + /// Original was GL_N3F_V3F = 0x2A25 + /// + N3fV3f = ((int)0x2A25) , + /// + /// Original was GL_C4F_N3F_V3F = 0x2A26 + /// + C4fN3fV3f = ((int)0x2A26) , + /// + /// Original was GL_T2F_V3F = 0x2A27 + /// + T2fV3f = ((int)0x2A27) , + /// + /// Original was GL_T4F_V4F = 0x2A28 + /// + T4fV4f = ((int)0x2A28) , + /// + /// Original was GL_T2F_C4UB_V3F = 0x2A29 + /// + T2fC4ubV3f = ((int)0x2A29) , + /// + /// Original was GL_T2F_C3F_V3F = 0x2A2A + /// + T2fC3fV3f = ((int)0x2A2A) , + /// + /// Original was GL_T2F_N3F_V3F = 0x2A2B + /// + T2fN3fV3f = ((int)0x2A2B) , + /// + /// Original was GL_T2F_C4F_N3F_V3F = 0x2A2C + /// + T2fC4fN3fV3f = ((int)0x2A2C) , + /// + /// Original was GL_T4F_C4F_N3F_V4F = 0x2A2D + /// + T4fC4fN3fV4f = ((int)0x2A2D) , + } + + /// + /// Not used directly. + /// + public enum LightEnvModeSgix : int + { + /// + /// Original was GL_ADD = 0x0104 + /// + Add = ((int)0x0104) , + /// + /// Original was GL_REPLACE = 0x1E01 + /// + Replace = ((int)0x1E01) , + /// + /// Original was GL_MODULATE = 0x2100 + /// + Modulate = ((int)0x2100) , + } + + /// + /// Not used directly. + /// + public enum LightEnvParameterSgix : int + { + /// + /// Original was GL_LIGHT_ENV_MODE_SGIX = 0x8407 + /// + LightEnvModeSgix = ((int)0x8407) , + } + + /// + /// Not used directly. + /// + public enum LightModelColorControl : int + { + /// + /// Original was GL_SINGLE_COLOR = 0x81F9 + /// + SingleColor = ((int)0x81F9) , + /// + /// Original was GL_SEPARATE_SPECULAR_COLOR = 0x81FA + /// + SeparateSpecularColor = ((int)0x81FA) , + } + + /// + /// Used in GL.LightModel + /// + public enum LightModelParameter : int + { + /// + /// Original was GL_LIGHT_MODEL_LOCAL_VIEWER = 0x0B51 + /// + LightModelLocalViewer = ((int)0x0B51) , + /// + /// Original was GL_LIGHT_MODEL_TWO_SIDE = 0x0B52 + /// + LightModelTwoSide = ((int)0x0B52) , + /// + /// Original was GL_LIGHT_MODEL_AMBIENT = 0x0B53 + /// + LightModelAmbient = ((int)0x0B53) , + /// + /// Original was GL_LIGHT_MODEL_COLOR_CONTROL = 0x81F8 + /// + LightModelColorControl = ((int)0x81F8) , + } + + /// + /// Used in GL.GetLight, GL.Light, GL.Ext.BindLightParameter + /// + public enum LightName : int + { + /// + /// Original was GL_LIGHT0 = 0x4000 + /// + Light0 = ((int)0x4000) , + /// + /// Original was GL_LIGHT1 = 0x4001 + /// + Light1 = ((int)0x4001) , + /// + /// Original was GL_LIGHT2 = 0x4002 + /// + Light2 = ((int)0x4002) , + /// + /// Original was GL_LIGHT3 = 0x4003 + /// + Light3 = ((int)0x4003) , + /// + /// Original was GL_LIGHT4 = 0x4004 + /// + Light4 = ((int)0x4004) , + /// + /// Original was GL_LIGHT5 = 0x4005 + /// + Light5 = ((int)0x4005) , + /// + /// Original was GL_LIGHT6 = 0x4006 + /// + Light6 = ((int)0x4006) , + /// + /// Original was GL_LIGHT7 = 0x4007 + /// + Light7 = ((int)0x4007) , + /// + /// Original was GL_FRAGMENT_LIGHT0_SGIX = 0x840C + /// + FragmentLight0Sgix = ((int)0x840C) , + /// + /// Original was GL_FRAGMENT_LIGHT1_SGIX = 0x840D + /// + FragmentLight1Sgix = ((int)0x840D) , + /// + /// Original was GL_FRAGMENT_LIGHT2_SGIX = 0x840E + /// + FragmentLight2Sgix = ((int)0x840E) , + /// + /// Original was GL_FRAGMENT_LIGHT3_SGIX = 0x840F + /// + FragmentLight3Sgix = ((int)0x840F) , + /// + /// Original was GL_FRAGMENT_LIGHT4_SGIX = 0x8410 + /// + FragmentLight4Sgix = ((int)0x8410) , + /// + /// Original was GL_FRAGMENT_LIGHT5_SGIX = 0x8411 + /// + FragmentLight5Sgix = ((int)0x8411) , + /// + /// Original was GL_FRAGMENT_LIGHT6_SGIX = 0x8412 + /// + FragmentLight6Sgix = ((int)0x8412) , + /// + /// Original was GL_FRAGMENT_LIGHT7_SGIX = 0x8413 + /// + FragmentLight7Sgix = ((int)0x8413) , + } + + /// + /// Used in GL.GetLight, GL.Light, GL.Ext.BindLightParameter + /// + public enum LightParameter : int + { + /// + /// Original was GL_AMBIENT = 0x1200 + /// + Ambient = ((int)0x1200) , + /// + /// Original was GL_DIFFUSE = 0x1201 + /// + Diffuse = ((int)0x1201) , + /// + /// Original was GL_SPECULAR = 0x1202 + /// + Specular = ((int)0x1202) , + /// + /// Original was GL_POSITION = 0x1203 + /// + Position = ((int)0x1203) , + /// + /// Original was GL_SPOT_DIRECTION = 0x1204 + /// + SpotDirection = ((int)0x1204) , + /// + /// Original was GL_SPOT_EXPONENT = 0x1205 + /// + SpotExponent = ((int)0x1205) , + /// + /// Original was GL_SPOT_CUTOFF = 0x1206 + /// + SpotCutoff = ((int)0x1206) , + /// + /// Original was GL_CONSTANT_ATTENUATION = 0x1207 + /// + ConstantAttenuation = ((int)0x1207) , + /// + /// Original was GL_LINEAR_ATTENUATION = 0x1208 + /// + LinearAttenuation = ((int)0x1208) , + /// + /// Original was GL_QUADRATIC_ATTENUATION = 0x1209 + /// + QuadraticAttenuation = ((int)0x1209) , + } + + /// + /// Used in GL.NewList + /// + public enum ListMode : int + { + /// + /// Original was GL_COMPILE = 0x1300 + /// + Compile = ((int)0x1300) , + /// + /// Original was GL_COMPILE_AND_EXECUTE = 0x1301 + /// + CompileAndExecute = ((int)0x1301) , + } + + /// + /// Used in GL.CallLists + /// + public enum ListNameType : int + { + /// + /// Original was GL_BYTE = 0x1400 + /// + Byte = ((int)0x1400) , + /// + /// Original was GL_UNSIGNED_BYTE = 0x1401 + /// + UnsignedByte = ((int)0x1401) , + /// + /// Original was GL_SHORT = 0x1402 + /// + Short = ((int)0x1402) , + /// + /// Original was GL_UNSIGNED_SHORT = 0x1403 + /// + UnsignedShort = ((int)0x1403) , + /// + /// Original was GL_INT = 0x1404 + /// + Int = ((int)0x1404) , + /// + /// Original was GL_UNSIGNED_INT = 0x1405 + /// + UnsignedInt = ((int)0x1405) , + /// + /// Original was GL_FLOAT = 0x1406 + /// + Float = ((int)0x1406) , + /// + /// Original was GL_2_BYTES = 0x1407 + /// + Gl2Bytes = ((int)0x1407) , + /// + /// Original was GL_3_BYTES = 0x1408 + /// + Gl3Bytes = ((int)0x1408) , + /// + /// Original was GL_4_BYTES = 0x1409 + /// + Gl4Bytes = ((int)0x1409) , + } + + /// + /// Used in GL.Sgix.GetListParameter, GL.Sgix.ListParameter + /// + public enum ListParameterName : int + { + /// + /// Original was GL_LIST_PRIORITY_SGIX = 0x8182 + /// + ListPrioritySgix = ((int)0x8182) , + } + + /// + /// Used in GL.LogicOp + /// + public enum LogicOp : int + { + /// + /// Original was GL_CLEAR = 0x1500 + /// + Clear = ((int)0x1500) , + /// + /// Original was GL_AND = 0x1501 + /// + And = ((int)0x1501) , + /// + /// Original was GL_AND_REVERSE = 0x1502 + /// + AndReverse = ((int)0x1502) , + /// + /// Original was GL_COPY = 0x1503 + /// + Copy = ((int)0x1503) , + /// + /// Original was GL_AND_INVERTED = 0x1504 + /// + AndInverted = ((int)0x1504) , + /// + /// Original was GL_NOOP = 0x1505 + /// + Noop = ((int)0x1505) , + /// + /// Original was GL_XOR = 0x1506 + /// + Xor = ((int)0x1506) , + /// + /// Original was GL_OR = 0x1507 + /// + Or = ((int)0x1507) , + /// + /// Original was GL_NOR = 0x1508 + /// + Nor = ((int)0x1508) , + /// + /// Original was GL_EQUIV = 0x1509 + /// + Equiv = ((int)0x1509) , + /// + /// Original was GL_INVERT = 0x150A + /// + Invert = ((int)0x150A) , + /// + /// Original was GL_OR_REVERSE = 0x150B + /// + OrReverse = ((int)0x150B) , + /// + /// Original was GL_COPY_INVERTED = 0x150C + /// + CopyInverted = ((int)0x150C) , + /// + /// Original was GL_OR_INVERTED = 0x150D + /// + OrInverted = ((int)0x150D) , + /// + /// Original was GL_NAND = 0x150E + /// + Nand = ((int)0x150E) , + /// + /// Original was GL_SET = 0x150F + /// + Set = ((int)0x150F) , + } + + /// + /// Used in GL.GetMap, GL.Map1, GL.Map2 + /// + public enum MapTarget : int + { + /// + /// Original was GL_MAP1_COLOR_4 = 0x0D90 + /// + Map1Color4 = ((int)0x0D90) , + /// + /// Original was GL_MAP1_INDEX = 0x0D91 + /// + Map1Index = ((int)0x0D91) , + /// + /// Original was GL_MAP1_NORMAL = 0x0D92 + /// + Map1Normal = ((int)0x0D92) , + /// + /// Original was GL_MAP1_TEXTURE_COORD_1 = 0x0D93 + /// + Map1TextureCoord1 = ((int)0x0D93) , + /// + /// Original was GL_MAP1_TEXTURE_COORD_2 = 0x0D94 + /// + Map1TextureCoord2 = ((int)0x0D94) , + /// + /// Original was GL_MAP1_TEXTURE_COORD_3 = 0x0D95 + /// + Map1TextureCoord3 = ((int)0x0D95) , + /// + /// Original was GL_MAP1_TEXTURE_COORD_4 = 0x0D96 + /// + Map1TextureCoord4 = ((int)0x0D96) , + /// + /// Original was GL_MAP1_VERTEX_3 = 0x0D97 + /// + Map1Vertex3 = ((int)0x0D97) , + /// + /// Original was GL_MAP1_VERTEX_4 = 0x0D98 + /// + Map1Vertex4 = ((int)0x0D98) , + /// + /// Original was GL_MAP2_COLOR_4 = 0x0DB0 + /// + Map2Color4 = ((int)0x0DB0) , + /// + /// Original was GL_MAP2_INDEX = 0x0DB1 + /// + Map2Index = ((int)0x0DB1) , + /// + /// Original was GL_MAP2_NORMAL = 0x0DB2 + /// + Map2Normal = ((int)0x0DB2) , + /// + /// Original was GL_MAP2_TEXTURE_COORD_1 = 0x0DB3 + /// + Map2TextureCoord1 = ((int)0x0DB3) , + /// + /// Original was GL_MAP2_TEXTURE_COORD_2 = 0x0DB4 + /// + Map2TextureCoord2 = ((int)0x0DB4) , + /// + /// Original was GL_MAP2_TEXTURE_COORD_3 = 0x0DB5 + /// + Map2TextureCoord3 = ((int)0x0DB5) , + /// + /// Original was GL_MAP2_TEXTURE_COORD_4 = 0x0DB6 + /// + Map2TextureCoord4 = ((int)0x0DB6) , + /// + /// Original was GL_MAP2_VERTEX_3 = 0x0DB7 + /// + Map2Vertex3 = ((int)0x0DB7) , + /// + /// Original was GL_MAP2_VERTEX_4 = 0x0DB8 + /// + Map2Vertex4 = ((int)0x0DB8) , + /// + /// Original was GL_GEOMETRY_DEFORMATION_SGIX = 0x8194 + /// + GeometryDeformationSgix = ((int)0x8194) , + /// + /// Original was GL_TEXTURE_DEFORMATION_SGIX = 0x8195 + /// + TextureDeformationSgix = ((int)0x8195) , + } + + /// + /// Used in GL.ColorMaterial, GL.GetMaterial, GL.Material, GL.PolygonMode, GL.Ext.BindMaterialParameter, GL.Ext.IndexMaterial, GL.Ext.TextureMaterial, GL.Sgix.FragmentColorMaterial, GL.Sgix.FragmentMaterial, GL.Sgix.GetFragmentMaterial + /// + public enum MaterialFace : int + { + /// + /// Original was GL_FRONT = 0x0404 + /// + Front = ((int)0x0404) , + /// + /// Original was GL_BACK = 0x0405 + /// + Back = ((int)0x0405) , + /// + /// Original was GL_FRONT_AND_BACK = 0x0408 + /// + FrontAndBack = ((int)0x0408) , + } + + /// + /// Used in GL.GetMaterial, GL.Material, GL.Ext.BindMaterialParameter, GL.Ext.TextureMaterial, GL.Sgix.FragmentColorMaterial, GL.Sgix.FragmentMaterial, GL.Sgix.GetFragmentMaterial + /// + public enum MaterialParameter : int + { + /// + /// Original was GL_AMBIENT = 0x1200 + /// + Ambient = ((int)0x1200) , + /// + /// Original was GL_DIFFUSE = 0x1201 + /// + Diffuse = ((int)0x1201) , + /// + /// Original was GL_SPECULAR = 0x1202 + /// + Specular = ((int)0x1202) , + /// + /// Original was GL_EMISSION = 0x1600 + /// + Emission = ((int)0x1600) , + /// + /// Original was GL_SHININESS = 0x1601 + /// + Shininess = ((int)0x1601) , + /// + /// Original was GL_AMBIENT_AND_DIFFUSE = 0x1602 + /// + AmbientAndDiffuse = ((int)0x1602) , + /// + /// Original was GL_COLOR_INDEXES = 0x1603 + /// + ColorIndexes = ((int)0x1603) , + } + + /// + /// Used in GL.MatrixMode, GL.Ext.MatrixFrustum, GL.Ext.MatrixLoad, GL.Ext.MatrixLoadIdentity, GL.Ext.MatrixLoadTranspose, GL.Ext.MatrixMult, GL.Ext.MatrixMultTranspose, GL.Ext.MatrixOrtho, GL.Ext.MatrixPop, GL.Ext.MatrixPush, GL.Ext.MatrixRotate, GL.Ext.MatrixScale, GL.Ext.MatrixTranslate + /// + public enum MatrixMode : int + { + /// + /// Original was GL_MODELVIEW = 0x1700 + /// + Modelview = ((int)0x1700) , + /// + /// Original was GL_PROJECTION = 0x1701 + /// + Projection = ((int)0x1701) , + /// + /// Original was GL_TEXTURE = 0x1702 + /// + Texture = ((int)0x1702) , + /// + /// Original was GL_COLOR = 0x1800 + /// + Color = ((int)0x1800) , + } + + /// + /// Not used directly. + /// + public enum MatrixModeArb : int + { + /// + /// Original was GL_MODELVIEW = 0x1700 + /// + Modelview = ((int)0x1700) , + /// + /// Original was GL_PROJECTION = 0x1701 + /// + Projection = ((int)0x1701) , + /// + /// Original was GL_TEXTURE = 0x1702 + /// + Texture = ((int)0x1702) , + /// + /// Original was GL_COLOR = 0x1800 + /// + Color = ((int)0x1800) , + /// + /// Original was GL_MATRIX0 = 0x88C0 + /// + Matrix0 = ((int)0x88C0) , + /// + /// Original was GL_MATRIX1 = 0x88C1 + /// + Matrix1 = ((int)0x88C1) , + /// + /// Original was GL_MATRIX2 = 0x88C2 + /// + Matrix2 = ((int)0x88C2) , + /// + /// Original was GL_MATRIX3 = 0x88C3 + /// + Matrix3 = ((int)0x88C3) , + /// + /// Original was GL_MATRIX4 = 0x88C4 + /// + Matrix4 = ((int)0x88C4) , + /// + /// Original was GL_MATRIX5 = 0x88C5 + /// + Matrix5 = ((int)0x88C5) , + /// + /// Original was GL_MATRIX6 = 0x88C6 + /// + Matrix6 = ((int)0x88C6) , + /// + /// Original was GL_MATRIX7 = 0x88C7 + /// + Matrix7 = ((int)0x88C7) , + /// + /// Original was GL_MATRIX8 = 0x88C8 + /// + Matrix8 = ((int)0x88C8) , + /// + /// Original was GL_MATRIX9 = 0x88C9 + /// + Matrix9 = ((int)0x88C9) , + /// + /// Original was GL_MATRIX10 = 0x88CA + /// + Matrix10 = ((int)0x88CA) , + /// + /// Original was GL_MATRIX11 = 0x88CB + /// + Matrix11 = ((int)0x88CB) , + /// + /// Original was GL_MATRIX12 = 0x88CC + /// + Matrix12 = ((int)0x88CC) , + /// + /// Original was GL_MATRIX13 = 0x88CD + /// + Matrix13 = ((int)0x88CD) , + /// + /// Original was GL_MATRIX14 = 0x88CE + /// + Matrix14 = ((int)0x88CE) , + /// + /// Original was GL_MATRIX15 = 0x88CF + /// + Matrix15 = ((int)0x88CF) , + /// + /// Original was GL_MATRIX16 = 0x88D0 + /// + Matrix16 = ((int)0x88D0) , + /// + /// Original was GL_MATRIX17 = 0x88D1 + /// + Matrix17 = ((int)0x88D1) , + /// + /// Original was GL_MATRIX18 = 0x88D2 + /// + Matrix18 = ((int)0x88D2) , + /// + /// Original was GL_MATRIX19 = 0x88D3 + /// + Matrix19 = ((int)0x88D3) , + /// + /// Original was GL_MATRIX20 = 0x88D4 + /// + Matrix20 = ((int)0x88D4) , + /// + /// Original was GL_MATRIX21 = 0x88D5 + /// + Matrix21 = ((int)0x88D5) , + /// + /// Original was GL_MATRIX22 = 0x88D6 + /// + Matrix22 = ((int)0x88D6) , + /// + /// Original was GL_MATRIX23 = 0x88D7 + /// + Matrix23 = ((int)0x88D7) , + /// + /// Original was GL_MATRIX24 = 0x88D8 + /// + Matrix24 = ((int)0x88D8) , + /// + /// Original was GL_MATRIX25 = 0x88D9 + /// + Matrix25 = ((int)0x88D9) , + /// + /// Original was GL_MATRIX26 = 0x88DA + /// + Matrix26 = ((int)0x88DA) , + /// + /// Original was GL_MATRIX27 = 0x88DB + /// + Matrix27 = ((int)0x88DB) , + /// + /// Original was GL_MATRIX28 = 0x88DC + /// + Matrix28 = ((int)0x88DC) , + /// + /// Original was GL_MATRIX29 = 0x88DD + /// + Matrix29 = ((int)0x88DD) , + /// + /// Original was GL_MATRIX30 = 0x88DE + /// + Matrix30 = ((int)0x88DE) , + /// + /// Original was GL_MATRIX31 = 0x88DF + /// + Matrix31 = ((int)0x88DF) , + } + + /// + /// Not used directly. + /// + public enum MesaPackedDepthStencil : int + { + /// + /// Original was GL_DEPTH_STENCIL_MESA = 0x8750 + /// + DepthStencilMesa = ((int)0x8750) , + /// + /// Original was GL_UNSIGNED_INT_24_8_MESA = 0x8751 + /// + UnsignedInt248Mesa = ((int)0x8751) , + /// + /// Original was GL_UNSIGNED_INT_8_24_REV_MESA = 0x8752 + /// + UnsignedInt824RevMesa = ((int)0x8752) , + /// + /// Original was GL_UNSIGNED_SHORT_15_1_MESA = 0x8753 + /// + UnsignedShort151Mesa = ((int)0x8753) , + /// + /// Original was GL_UNSIGNED_SHORT_1_15_REV_MESA = 0x8754 + /// + UnsignedShort115RevMesa = ((int)0x8754) , + } + + /// + /// Not used directly. + /// + public enum MesaPackInvert : int + { + /// + /// Original was GL_PACK_INVERT_MESA = 0x8758 + /// + PackInvertMesa = ((int)0x8758) , + } + + /// + /// Not used directly. + /// + public enum MesaProgramDebug : int + { + /// + /// Original was GL_FRAGMENT_PROGRAM_POSITION_MESA = 0x8BB0 + /// + FragmentProgramPositionMesa = ((int)0x8BB0) , + /// + /// Original was GL_FRAGMENT_PROGRAM_CALLBACK_MESA = 0x8BB1 + /// + FragmentProgramCallbackMesa = ((int)0x8BB1) , + /// + /// Original was GL_FRAGMENT_PROGRAM_CALLBACK_FUNC_MESA = 0x8BB2 + /// + FragmentProgramCallbackFuncMesa = ((int)0x8BB2) , + /// + /// Original was GL_FRAGMENT_PROGRAM_CALLBACK_DATA_MESA = 0x8BB3 + /// + FragmentProgramCallbackDataMesa = ((int)0x8BB3) , + /// + /// Original was GL_VERTEX_PROGRAM_CALLBACK_MESA = 0x8BB4 + /// + VertexProgramCallbackMesa = ((int)0x8BB4) , + /// + /// Original was GL_VERTEX_PROGRAM_POSITION_MESA = 0x8BB4 + /// + VertexProgramPositionMesa = ((int)0x8BB4) , + /// + /// Original was GL_VERTEX_PROGRAM_CALLBACK_FUNC_MESA = 0x8BB6 + /// + VertexProgramCallbackFuncMesa = ((int)0x8BB6) , + /// + /// Original was GL_VERTEX_PROGRAM_CALLBACK_DATA_MESA = 0x8BB7 + /// + VertexProgramCallbackDataMesa = ((int)0x8BB7) , + } + + /// + /// Not used directly. + /// + public enum MesaResizeBuffers : int + { + } + + /// + /// Not used directly. + /// + public enum MesaShaderDebug : int + { + /// + /// Original was GL_DEBUG_OBJECT_MESA = 0x8759 + /// + DebugObjectMesa = ((int)0x8759) , + /// + /// Original was GL_DEBUG_PRINT_MESA = 0x875A + /// + DebugPrintMesa = ((int)0x875A) , + /// + /// Original was GL_DEBUG_ASSERT_MESA = 0x875B + /// + DebugAssertMesa = ((int)0x875B) , + } + + /// + /// Not used directly. + /// + public enum MesaTrace : int + { + /// + /// Original was GL_TRACE_OPERATIONS_BIT_MESA = 0x0001 + /// + TraceOperationsBitMesa = ((int)0x0001) , + /// + /// Original was GL_TRACE_PRIMITIVES_BIT_MESA = 0x0002 + /// + TracePrimitivesBitMesa = ((int)0x0002) , + /// + /// Original was GL_TRACE_ARRAYS_BIT_MESA = 0x0004 + /// + TraceArraysBitMesa = ((int)0x0004) , + /// + /// Original was GL_TRACE_TEXTURES_BIT_MESA = 0x0008 + /// + TraceTexturesBitMesa = ((int)0x0008) , + /// + /// Original was GL_TRACE_PIXELS_BIT_MESA = 0x0010 + /// + TracePixelsBitMesa = ((int)0x0010) , + /// + /// Original was GL_TRACE_ERRORS_BIT_MESA = 0x0020 + /// + TraceErrorsBitMesa = ((int)0x0020) , + /// + /// Original was GL_TRACE_MASK_MESA = 0x8755 + /// + TraceMaskMesa = ((int)0x8755) , + /// + /// Original was GL_TRACE_NAME_MESA = 0x8756 + /// + TraceNameMesa = ((int)0x8756) , + /// + /// Original was GL_TRACE_ALL_BITS_MESA = 0xFFFF + /// + TraceAllBitsMesa = ((int)0xFFFF) , + } + + /// + /// Not used directly. + /// + public enum MesaWindowPos : int + { + } + + /// + /// Not used directly. + /// + public enum MesaxTextureStack : int + { + /// + /// Original was GL_TEXTURE_1D_STACK_MESAX = 0x8759 + /// + Texture1DStackMesax = ((int)0x8759) , + /// + /// Original was GL_TEXTURE_2D_STACK_MESAX = 0x875A + /// + Texture2DStackMesax = ((int)0x875A) , + /// + /// Original was GL_PROXY_TEXTURE_1D_STACK_MESAX = 0x875B + /// + ProxyTexture1DStackMesax = ((int)0x875B) , + /// + /// Original was GL_PROXY_TEXTURE_2D_STACK_MESAX = 0x875C + /// + ProxyTexture2DStackMesax = ((int)0x875C) , + /// + /// Original was GL_TEXTURE_1D_STACK_BINDING_MESAX = 0x875D + /// + Texture1DStackBindingMesax = ((int)0x875D) , + /// + /// Original was GL_TEXTURE_2D_STACK_BINDING_MESAX = 0x875E + /// + Texture2DStackBindingMesax = ((int)0x875E) , + } + + /// + /// Not used directly. + /// + public enum MesaYcbcrTexture : int + { + /// + /// Original was GL_UNSIGNED_SHORT_8_8_MESA = 0x85BA + /// + UnsignedShort88Mesa = ((int)0x85BA) , + /// + /// Original was GL_UNSIGNED_SHORT_8_8_REV_MESA = 0x85BB + /// + UnsignedShort88RevMesa = ((int)0x85BB) , + /// + /// Original was GL_YCBCR_MESA = 0x8757 + /// + YcbcrMesa = ((int)0x8757) , + } + + /// + /// Used in GL.EvalMesh1 + /// + public enum MeshMode1 : int + { + /// + /// Original was GL_POINT = 0x1B00 + /// + Point = ((int)0x1B00) , + /// + /// Original was GL_LINE = 0x1B01 + /// + Line = ((int)0x1B01) , + } + + /// + /// Used in GL.EvalMesh2 + /// + public enum MeshMode2 : int + { + /// + /// Original was GL_POINT = 0x1B00 + /// + Point = ((int)0x1B00) , + /// + /// Original was GL_LINE = 0x1B01 + /// + Line = ((int)0x1B01) , + /// + /// Original was GL_FILL = 0x1B02 + /// + Fill = ((int)0x1B02) , + } + + /// + /// Used in GL.GetMinmax, GL.GetMinmaxParameter, GL.Minmax, GL.ResetMinmax + /// + public enum MinmaxTarget : int + { + /// + /// Original was GL_MINMAX = 0x802E + /// + Minmax = ((int)0x802E) , + } + + /// + /// Not used directly. + /// + public enum MinmaxTargetExt : int + { + /// + /// Original was GL_MINMAX_EXT = 0x802E + /// + MinmaxExt = ((int)0x802E) , + } + + /// + /// Used in GL.NormalPointer, GL.Ext.BinormalPointer, GL.Ext.NormalPointer, GL.Ext.TangentPointer, GL.Ibm.NormalPointerList, GL.Intel.NormalPointer + /// + public enum NormalPointerType : int + { + /// + /// Original was GL_BYTE = 0x1400 + /// + Byte = ((int)0x1400) , + /// + /// Original was GL_SHORT = 0x1402 + /// + Short = ((int)0x1402) , + /// + /// Original was GL_INT = 0x1404 + /// + Int = ((int)0x1404) , + /// + /// Original was GL_FLOAT = 0x1406 + /// + Float = ((int)0x1406) , + /// + /// Original was GL_DOUBLE = 0x140A + /// + Double = ((int)0x140A) , + /// + /// Original was GL_HALF_FLOAT = 0x140B + /// + HalfFloat = ((int)0x140B) , + /// + /// Original was GL_UNSIGNED_INT_2_10_10_10_REV = 0x8368 + /// + UnsignedInt2101010Rev = ((int)0x8368) , + /// + /// Original was GL_INT_2_10_10_10_REV = 0x8D9F + /// + Int2101010Rev = ((int)0x8D9F) , + } + + /// + /// Not used directly. + /// + public enum NvBlendSquare : int + { + } + + /// + /// Used in GL.NV.BeginConditionalRender + /// + public enum NvConditionalRender : int + { + /// + /// Original was GL_QUERY_WAIT_NV = 0x8E13 + /// + QueryWaitNv = ((int)0x8E13) , + /// + /// Original was GL_QUERY_NO_WAIT_NV = 0x8E14 + /// + QueryNoWaitNv = ((int)0x8E14) , + /// + /// Original was GL_QUERY_BY_REGION_WAIT_NV = 0x8E15 + /// + QueryByRegionWaitNv = ((int)0x8E15) , + /// + /// Original was GL_QUERY_BY_REGION_NO_WAIT_NV = 0x8E16 + /// + QueryByRegionNoWaitNv = ((int)0x8E16) , + } + + /// + /// Not used directly. + /// + public enum NvCopyDepthToColor : int + { + /// + /// Original was GL_DEPTH_STENCIL_TO_RGBA_NV = 0x886E + /// + DepthStencilToRgbaNv = ((int)0x886E) , + /// + /// Original was GL_DEPTH_STENCIL_TO_BGRA_NV = 0x886F + /// + DepthStencilToBgraNv = ((int)0x886F) , + } + + /// + /// Used in GL.NV.CopyImageSubData + /// + public enum NvCopyImage : int + { + } + + /// + /// Not used directly. + /// + public enum NvCoverageSample : int + { + /// + /// Original was GL_COVERAGE_BUFFER_BIT_NV = 0x00008000 + /// + CoverageBufferBitNv = ((int)0x00008000) , + /// + /// Original was GL_COVERAGE_COMPONENT_NV = 0x8ED0 + /// + CoverageComponentNv = ((int)0x8ED0) , + /// + /// Original was GL_COVERAGE_COMPONENT4_NV = 0x8ED1 + /// + CoverageComponent4Nv = ((int)0x8ED1) , + /// + /// Original was GL_COVERAGE_ATTACHMENT_NV = 0x8ED2 + /// + CoverageAttachmentNv = ((int)0x8ED2) , + /// + /// Original was GL_COVERAGE_BUFFERS_NV = 0x8ED3 + /// + CoverageBuffersNv = ((int)0x8ED3) , + /// + /// Original was GL_COVERAGE_SAMPLES_NV = 0x8ED4 + /// + CoverageSamplesNv = ((int)0x8ED4) , + /// + /// Original was GL_COVERAGE_ALL_FRAGMENTS_NV = 0x8ED5 + /// + CoverageAllFragmentsNv = ((int)0x8ED5) , + /// + /// Original was GL_COVERAGE_EDGE_FRAGMENTS_NV = 0x8ED6 + /// + CoverageEdgeFragmentsNv = ((int)0x8ED6) , + /// + /// Original was GL_COVERAGE_AUTOMATIC_NV = 0x8ED7 + /// + CoverageAutomaticNv = ((int)0x8ED7) , + } + + /// + /// Not used directly. + /// + public enum NvDepthBufferFloat : int + { + /// + /// Original was GL_DEPTH_COMPONENT32F_NV = 0x8DAB + /// + DepthComponent32fNv = ((int)0x8DAB) , + /// + /// Original was GL_DEPTH32F_STENCIL8_NV = 0x8DAC + /// + Depth32fStencil8Nv = ((int)0x8DAC) , + /// + /// Original was GL_FLOAT_32_UNSIGNED_INT_24_8_REV_NV = 0x8DAD + /// + Float32UnsignedInt248RevNv = ((int)0x8DAD) , + /// + /// Original was GL_DEPTH_BUFFER_FLOAT_MODE_NV = 0x8DAF + /// + DepthBufferFloatModeNv = ((int)0x8DAF) , + } + + /// + /// Not used directly. + /// + public enum NvDepthClamp : int + { + /// + /// Original was GL_DEPTH_CLAMP_NV = 0x864F + /// + DepthClampNv = ((int)0x864F) , + } + + /// + /// Not used directly. + /// + public enum NvDepthNonlinear : int + { + /// + /// Original was GL_DEPTH_COMPONENT16_NONLINEAR_NV = 0x8E2C + /// + DepthComponent16NonlinearNv = ((int)0x8E2C) , + } + + /// + /// Used in GL.NV.EvalMap, GL.NV.GetMapAttribParameter, GL.NV.GetMapControlPoints, GL.NV.GetMapParameter, GL.NV.MapControlPoints, GL.NV.MapParameter + /// + public enum NvEvaluators : int + { + /// + /// Original was GL_EVAL_2D_NV = 0x86C0 + /// + Eval2DNv = ((int)0x86C0) , + /// + /// Original was GL_EVAL_TRIANGULAR_2D_NV = 0x86C1 + /// + EvalTriangular2DNv = ((int)0x86C1) , + /// + /// Original was GL_MAP_TESSELLATION_NV = 0x86C2 + /// + MapTessellationNv = ((int)0x86C2) , + /// + /// Original was GL_MAP_ATTRIB_U_ORDER_NV = 0x86C3 + /// + MapAttribUOrderNv = ((int)0x86C3) , + /// + /// Original was GL_MAP_ATTRIB_V_ORDER_NV = 0x86C4 + /// + MapAttribVOrderNv = ((int)0x86C4) , + /// + /// Original was GL_EVAL_FRACTIONAL_TESSELLATION_NV = 0x86C5 + /// + EvalFractionalTessellationNv = ((int)0x86C5) , + /// + /// Original was GL_EVAL_VERTEX_ATRRIB0_NV = 0x86C6 + /// + EvalVertexAtrrib0Nv = ((int)0x86C6) , + /// + /// Original was GL_EVAL_VERTEX_ATTRIB0_NV = 0x86C6 + /// + EvalVertexAttrib0Nv = ((int)0x86C6) , + /// + /// Original was GL_EVAL_VERTEX_ATRRIB1_NV = 0x86C7 + /// + EvalVertexAtrrib1Nv = ((int)0x86C7) , + /// + /// Original was GL_EVAL_VERTEX_ATTRIB1_NV = 0x86C7 + /// + EvalVertexAttrib1Nv = ((int)0x86C7) , + /// + /// Original was GL_EVAL_VERTEX_ATRRIB2_NV = 0x86C8 + /// + EvalVertexAtrrib2Nv = ((int)0x86C8) , + /// + /// Original was GL_EVAL_VERTEX_ATTRIB2_NV = 0x86C8 + /// + EvalVertexAttrib2Nv = ((int)0x86C8) , + /// + /// Original was GL_EVAL_VERTEX_ATRRIB3_NV = 0x86C9 + /// + EvalVertexAtrrib3Nv = ((int)0x86C9) , + /// + /// Original was GL_EVAL_VERTEX_ATTRIB3_NV = 0x86C9 + /// + EvalVertexAttrib3Nv = ((int)0x86C9) , + /// + /// Original was GL_EVAL_VERTEX_ATRRIB4_NV = 0x86CA + /// + EvalVertexAtrrib4Nv = ((int)0x86CA) , + /// + /// Original was GL_EVAL_VERTEX_ATTRIB4_NV = 0x86CA + /// + EvalVertexAttrib4Nv = ((int)0x86CA) , + /// + /// Original was GL_EVAL_VERTEX_ATRRIB5_NV = 0x86CB + /// + EvalVertexAtrrib5Nv = ((int)0x86CB) , + /// + /// Original was GL_EVAL_VERTEX_ATTRIB5_NV = 0x86CB + /// + EvalVertexAttrib5Nv = ((int)0x86CB) , + /// + /// Original was GL_EVAL_VERTEX_ATRRIB6_NV = 0x86CC + /// + EvalVertexAtrrib6Nv = ((int)0x86CC) , + /// + /// Original was GL_EVAL_VERTEX_ATTRIB6_NV = 0x86CC + /// + EvalVertexAttrib6Nv = ((int)0x86CC) , + /// + /// Original was GL_EVAL_VERTEX_ATRRIB7_NV = 0x86CD + /// + EvalVertexAtrrib7Nv = ((int)0x86CD) , + /// + /// Original was GL_EVAL_VERTEX_ATTRIB7_NV = 0x86CD + /// + EvalVertexAttrib7Nv = ((int)0x86CD) , + /// + /// Original was GL_EVAL_VERTEX_ATRRIB8_NV = 0x86CE + /// + EvalVertexAtrrib8Nv = ((int)0x86CE) , + /// + /// Original was GL_EVAL_VERTEX_ATTRIB8_NV = 0x86CE + /// + EvalVertexAttrib8Nv = ((int)0x86CE) , + /// + /// Original was GL_EVAL_VERTEX_ATRRIB9_NV = 0x86CF + /// + EvalVertexAtrrib9Nv = ((int)0x86CF) , + /// + /// Original was GL_EVAL_VERTEX_ATTRIB9_NV = 0x86CF + /// + EvalVertexAttrib9Nv = ((int)0x86CF) , + /// + /// Original was GL_EVAL_VERTEX_ATRRIB10_NV = 0x86D0 + /// + EvalVertexAtrrib10Nv = ((int)0x86D0) , + /// + /// Original was GL_EVAL_VERTEX_ATTRIB10_NV = 0x86D0 + /// + EvalVertexAttrib10Nv = ((int)0x86D0) , + /// + /// Original was GL_EVAL_VERTEX_ATRRIB11_NV = 0x86D1 + /// + EvalVertexAtrrib11Nv = ((int)0x86D1) , + /// + /// Original was GL_EVAL_VERTEX_ATTRIB11_NV = 0x86D1 + /// + EvalVertexAttrib11Nv = ((int)0x86D1) , + /// + /// Original was GL_EVAL_VERTEX_ATRRIB12_NV = 0x86D2 + /// + EvalVertexAtrrib12Nv = ((int)0x86D2) , + /// + /// Original was GL_EVAL_VERTEX_ATTRIB12_NV = 0x86D2 + /// + EvalVertexAttrib12Nv = ((int)0x86D2) , + /// + /// Original was GL_EVAL_VERTEX_ATRRIB13_NV = 0x86D3 + /// + EvalVertexAtrrib13Nv = ((int)0x86D3) , + /// + /// Original was GL_EVAL_VERTEX_ATTRIB13_NV = 0x86D3 + /// + EvalVertexAttrib13Nv = ((int)0x86D3) , + /// + /// Original was GL_EVAL_VERTEX_ATRRIB14_NV = 0x86D4 + /// + EvalVertexAtrrib14Nv = ((int)0x86D4) , + /// + /// Original was GL_EVAL_VERTEX_ATTRIB14_NV = 0x86D4 + /// + EvalVertexAttrib14Nv = ((int)0x86D4) , + /// + /// Original was GL_EVAL_VERTEX_ATRRIB15_NV = 0x86D5 + /// + EvalVertexAtrrib15Nv = ((int)0x86D5) , + /// + /// Original was GL_EVAL_VERTEX_ATTRIB15_NV = 0x86D5 + /// + EvalVertexAttrib15Nv = ((int)0x86D5) , + /// + /// Original was GL_MAX_MAP_TESSELLATION_NV = 0x86D6 + /// + MaxMapTessellationNv = ((int)0x86D6) , + /// + /// Original was GL_MAX_RATIONAL_EVAL_ORDER_NV = 0x86D7 + /// + MaxRationalEvalOrderNv = ((int)0x86D7) , + } + + /// + /// Used in GL.NV.GetMultisample + /// + public enum NvExplicitMultisample : int + { + /// + /// Original was GL_SAMPLE_POSITION_NV = 0x8E50 + /// + SamplePositionNv = ((int)0x8E50) , + /// + /// Original was GL_SAMPLE_MASK_NV = 0x8E51 + /// + SampleMaskNv = ((int)0x8E51) , + /// + /// Original was GL_SAMPLE_MASK_VALUE_NV = 0x8E52 + /// + SampleMaskValueNv = ((int)0x8E52) , + /// + /// Original was GL_TEXTURE_BINDING_RENDERBUFFER_NV = 0x8E53 + /// + TextureBindingRenderbufferNv = ((int)0x8E53) , + /// + /// Original was GL_TEXTURE_RENDERBUFFER_DATA_STORE_BINDING_NV = 0x8E54 + /// + TextureRenderbufferDataStoreBindingNv = ((int)0x8E54) , + /// + /// Original was GL_TEXTURE_RENDERBUFFER_NV = 0x8E55 + /// + TextureRenderbufferNv = ((int)0x8E55) , + /// + /// Original was GL_SAMPLER_RENDERBUFFER_NV = 0x8E56 + /// + SamplerRenderbufferNv = ((int)0x8E56) , + /// + /// Original was GL_INT_SAMPLER_RENDERBUFFER_NV = 0x8E57 + /// + IntSamplerRenderbufferNv = ((int)0x8E57) , + /// + /// Original was GL_UNSIGNED_INT_SAMPLER_RENDERBUFFER_NV = 0x8E58 + /// + UnsignedIntSamplerRenderbufferNv = ((int)0x8E58) , + /// + /// Original was GL_MAX_SAMPLE_MASK_WORDS_NV = 0x8E59 + /// + MaxSampleMaskWordsNv = ((int)0x8E59) , + } + + /// + /// Used in GL.NV.GetFence, GL.NV.SetFence + /// + public enum NvFence : int + { + /// + /// Original was GL_ALL_COMPLETED_NV = 0x84F2 + /// + AllCompletedNv = ((int)0x84F2) , + /// + /// Original was GL_FENCE_STATUS_NV = 0x84F3 + /// + FenceStatusNv = ((int)0x84F3) , + /// + /// Original was GL_FENCE_CONDITION_NV = 0x84F4 + /// + FenceConditionNv = ((int)0x84F4) , + } + + /// + /// Not used directly. + /// + public enum NvFloatBuffer : int + { + /// + /// Original was GL_FLOAT_R_NV = 0x8880 + /// + FloatRNv = ((int)0x8880) , + /// + /// Original was GL_FLOAT_RG_NV = 0x8881 + /// + FloatRgNv = ((int)0x8881) , + /// + /// Original was GL_FLOAT_RGB_NV = 0x8882 + /// + FloatRgbNv = ((int)0x8882) , + /// + /// Original was GL_FLOAT_RGBA_NV = 0x8883 + /// + FloatRgbaNv = ((int)0x8883) , + /// + /// Original was GL_FLOAT_R16_NV = 0x8884 + /// + FloatR16Nv = ((int)0x8884) , + /// + /// Original was GL_FLOAT_R32_NV = 0x8885 + /// + FloatR32Nv = ((int)0x8885) , + /// + /// Original was GL_FLOAT_RG16_NV = 0x8886 + /// + FloatRg16Nv = ((int)0x8886) , + /// + /// Original was GL_FLOAT_RG32_NV = 0x8887 + /// + FloatRg32Nv = ((int)0x8887) , + /// + /// Original was GL_FLOAT_RGB16_NV = 0x8888 + /// + FloatRgb16Nv = ((int)0x8888) , + /// + /// Original was GL_FLOAT_RGB32_NV = 0x8889 + /// + FloatRgb32Nv = ((int)0x8889) , + /// + /// Original was GL_FLOAT_RGBA16_NV = 0x888A + /// + FloatRgba16Nv = ((int)0x888A) , + /// + /// Original was GL_FLOAT_RGBA32_NV = 0x888B + /// + FloatRgba32Nv = ((int)0x888B) , + /// + /// Original was GL_TEXTURE_FLOAT_COMPONENTS_NV = 0x888C + /// + TextureFloatComponentsNv = ((int)0x888C) , + /// + /// Original was GL_FLOAT_CLEAR_COLOR_VALUE_NV = 0x888D + /// + FloatClearColorValueNv = ((int)0x888D) , + /// + /// Original was GL_FLOAT_RGBA_MODE_NV = 0x888E + /// + FloatRgbaModeNv = ((int)0x888E) , + } + + /// + /// Not used directly. + /// + public enum NvFogDistance : int + { + /// + /// Original was GL_EYE_PLANE = 0x2502 + /// + EyePlane = ((int)0x2502) , + /// + /// Original was GL_FOG_DISTANCE_MODE_NV = 0x855A + /// + FogDistanceModeNv = ((int)0x855A) , + /// + /// Original was GL_FOG_GEN_MODE_NV = 0x855A + /// + FogGenModeNv = ((int)0x855A) , + /// + /// Original was GL_EYE_RADIAL_NV = 0x855B + /// + EyeRadialNv = ((int)0x855B) , + /// + /// Original was GL_EYE_PLANE_ABSOLUTE_NV = 0x855C + /// + EyePlaneAbsoluteNv = ((int)0x855C) , + } + + /// + /// Not used directly. + /// + public enum NvFragmentProgram : int + { + /// + /// Original was GL_MAX_FRAGMENT_PROGRAM_LOCAL_PARAMETERS_NV = 0x8868 + /// + MaxFragmentProgramLocalParametersNv = ((int)0x8868) , + /// + /// Original was GL_FRAGMENT_PROGRAM_NV = 0x8870 + /// + FragmentProgramNv = ((int)0x8870) , + /// + /// Original was GL_MAX_TEXTURE_COORDS_NV = 0x8871 + /// + MaxTextureCoordsNv = ((int)0x8871) , + /// + /// Original was GL_MAX_TEXTURE_IMAGE_UNITS_NV = 0x8872 + /// + MaxTextureImageUnitsNv = ((int)0x8872) , + /// + /// Original was GL_FRAGMENT_PROGRAM_BINDING_NV = 0x8873 + /// + FragmentProgramBindingNv = ((int)0x8873) , + /// + /// Original was GL_PROGRAM_ERROR_STRING_NV = 0x8874 + /// + ProgramErrorStringNv = ((int)0x8874) , + } + + /// + /// Not used directly. + /// + public enum NvFragmentProgram2 : int + { + /// + /// Original was GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV = 0x88F4 + /// + MaxProgramExecInstructionsNv = ((int)0x88F4) , + /// + /// Original was GL_MAX_PROGRAM_CALL_DEPTH_NV = 0x88F5 + /// + MaxProgramCallDepthNv = ((int)0x88F5) , + /// + /// Original was GL_MAX_PROGRAM_IF_DEPTH_NV = 0x88F6 + /// + MaxProgramIfDepthNv = ((int)0x88F6) , + /// + /// Original was GL_MAX_PROGRAM_LOOP_DEPTH_NV = 0x88F7 + /// + MaxProgramLoopDepthNv = ((int)0x88F7) , + /// + /// Original was GL_MAX_PROGRAM_LOOP_COUNT_NV = 0x88F8 + /// + MaxProgramLoopCountNv = ((int)0x88F8) , + } + + /// + /// Not used directly. + /// + public enum NvFragmentProgram4 : int + { + } + + /// + /// Not used directly. + /// + public enum NvFragmentProgramOption : int + { + } + + /// + /// Not used directly. + /// + public enum NvFramebufferMultisampleCoverage : int + { + /// + /// Original was GL_RENDERBUFFER_COVERAGE_SAMPLES_NV = 0x8CAB + /// + RenderbufferCoverageSamplesNv = ((int)0x8CAB) , + /// + /// Original was GL_RENDERBUFFER_COLOR_SAMPLES_NV = 0x8E10 + /// + RenderbufferColorSamplesNv = ((int)0x8E10) , + /// + /// Original was GL_MAX_MULTISAMPLE_COVERAGE_MODES_NV = 0x8E11 + /// + MaxMultisampleCoverageModesNv = ((int)0x8E11) , + /// + /// Original was GL_MULTISAMPLE_COVERAGE_MODES_NV = 0x8E12 + /// + MultisampleCoverageModesNv = ((int)0x8E12) , + } + + /// + /// Used in GL.NV.ProgramVertexLimit + /// + public enum NvGeometryProgram4 : int + { + /// + /// Original was GL_LINES_ADJACENCY_EXT = 0x000A + /// + LinesAdjacencyExt = ((int)0x000A) , + /// + /// Original was GL_LINE_STRIP_ADJACENCY_EXT = 0x000B + /// + LineStripAdjacencyExt = ((int)0x000B) , + /// + /// Original was GL_TRIANGLES_ADJACENCY_EXT = 0x000C + /// + TrianglesAdjacencyExt = ((int)0x000C) , + /// + /// Original was GL_TRIANGLE_STRIP_ADJACENCY_EXT = 0x000D + /// + TriangleStripAdjacencyExt = ((int)0x000D) , + /// + /// Original was GL_PROGRAM_POINT_SIZE_EXT = 0x8642 + /// + ProgramPointSizeExt = ((int)0x8642) , + /// + /// Original was GL_GEOMETRY_PROGRAM_NV = 0x8C26 + /// + GeometryProgramNv = ((int)0x8C26) , + /// + /// Original was GL_MAX_PROGRAM_OUTPUT_VERTICES_NV = 0x8C27 + /// + MaxProgramOutputVerticesNv = ((int)0x8C27) , + /// + /// Original was GL_MAX_PROGRAM_TOTAL_OUTPUT_COMPONENTS_NV = 0x8C28 + /// + MaxProgramTotalOutputComponentsNv = ((int)0x8C28) , + /// + /// Original was GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT = 0x8C29 + /// + MaxGeometryTextureImageUnitsExt = ((int)0x8C29) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT = 0x8CD4 + /// + FramebufferAttachmentTextureLayerExt = ((int)0x8CD4) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_LAYERED_EXT = 0x8DA7 + /// + FramebufferAttachmentLayeredExt = ((int)0x8DA7) , + /// + /// Original was GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT = 0x8DA8 + /// + FramebufferIncompleteLayerTargetsExt = ((int)0x8DA8) , + /// + /// Original was GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_EXT = 0x8DA9 + /// + FramebufferIncompleteLayerCountExt = ((int)0x8DA9) , + /// + /// Original was GL_GEOMETRY_VERTICES_OUT_EXT = 0x8DDA + /// + GeometryVerticesOutExt = ((int)0x8DDA) , + /// + /// Original was GL_GEOMETRY_INPUT_TYPE_EXT = 0x8DDB + /// + GeometryInputTypeExt = ((int)0x8DDB) , + /// + /// Original was GL_GEOMETRY_OUTPUT_TYPE_EXT = 0x8DDC + /// + GeometryOutputTypeExt = ((int)0x8DDC) , + } + + /// + /// Not used directly. + /// + public enum NvGeometryShader4 : int + { + } + + /// + /// Used in GL.NV.GetProgramEnvParameterI, GL.NV.GetProgramLocalParameterI, GL.NV.ProgramEnvParameterI4, GL.NV.ProgramEnvParametersI4, GL.NV.ProgramLocalParameterI4, GL.NV.ProgramLocalParametersI4 + /// + public enum NvGpuProgram4 : int + { + /// + /// Original was GL_MIN_PROGRAM_TEXEL_OFFSET_NV = 0x8904 + /// + MinProgramTexelOffsetNv = ((int)0x8904) , + /// + /// Original was GL_MAX_PROGRAM_TEXEL_OFFSET_NV = 0x8905 + /// + MaxProgramTexelOffsetNv = ((int)0x8905) , + /// + /// Original was GL_PROGRAM_ATTRIB_COMPONENTS_NV = 0x8906 + /// + ProgramAttribComponentsNv = ((int)0x8906) , + /// + /// Original was GL_PROGRAM_RESULT_COMPONENTS_NV = 0x8907 + /// + ProgramResultComponentsNv = ((int)0x8907) , + /// + /// Original was GL_MAX_PROGRAM_ATTRIB_COMPONENTS_NV = 0x8908 + /// + MaxProgramAttribComponentsNv = ((int)0x8908) , + /// + /// Original was GL_MAX_PROGRAM_RESULT_COMPONENTS_NV = 0x8909 + /// + MaxProgramResultComponentsNv = ((int)0x8909) , + /// + /// Original was GL_MAX_PROGRAM_GENERIC_ATTRIBS_NV = 0x8DA5 + /// + MaxProgramGenericAttribsNv = ((int)0x8DA5) , + /// + /// Original was GL_MAX_PROGRAM_GENERIC_RESULTS_NV = 0x8DA6 + /// + MaxProgramGenericResultsNv = ((int)0x8DA6) , + } + + /// + /// Used in GL.NV.GetProgramSubroutineParameter, GL.NV.ProgramSubroutineParameters + /// + public enum NvGpuProgram5 : int + { + /// + /// Original was GL_MAX_GEOMETRY_PROGRAM_INVOCATIONS_NV = 0x8E5A + /// + MaxGeometryProgramInvocationsNv = ((int)0x8E5A) , + /// + /// Original was GL_MIN_FRAGMENT_INTERPOLATION_OFFSET_NV = 0x8E5B + /// + MinFragmentInterpolationOffsetNv = ((int)0x8E5B) , + /// + /// Original was GL_MAX_FRAGMENT_INTERPOLATION_OFFSET_NV = 0x8E5C + /// + MaxFragmentInterpolationOffsetNv = ((int)0x8E5C) , + /// + /// Original was GL_FRAGMENT_PROGRAM_INTERPOLATION_OFFSET_BITS_NV = 0x8E5D + /// + FragmentProgramInterpolationOffsetBitsNv = ((int)0x8E5D) , + /// + /// Original was GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET_NV = 0x8E5E + /// + MinProgramTextureGatherOffsetNv = ((int)0x8E5E) , + /// + /// Original was GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET_NV = 0x8E5F + /// + MaxProgramTextureGatherOffsetNv = ((int)0x8E5F) , + /// + /// Original was GL_MAX_PROGRAM_SUBROUTINE_PARAMETERS_NV = 0x8F44 + /// + MaxProgramSubroutineParametersNv = ((int)0x8F44) , + /// + /// Original was GL_MAX_PROGRAM_SUBROUTINE_NUM_NV = 0x8F45 + /// + MaxProgramSubroutineNumNv = ((int)0x8F45) , + } + + /// + /// Not used directly. + /// + public enum NvGpuShader5 : int + { + /// + /// Original was GL_PATCHES = 0x000E + /// + Patches = ((int)0x000E) , + /// + /// Original was GL_INT64_NV = 0x140E + /// + Int64Nv = ((int)0x140E) , + /// + /// Original was GL_UNSIGNED_INT64_NV = 0x140F + /// + UnsignedInt64Nv = ((int)0x140F) , + /// + /// Original was GL_INT8_NV = 0x8FE0 + /// + Int8Nv = ((int)0x8FE0) , + /// + /// Original was GL_INT8_VEC2_NV = 0x8FE1 + /// + Int8Vec2Nv = ((int)0x8FE1) , + /// + /// Original was GL_INT8_VEC3_NV = 0x8FE2 + /// + Int8Vec3Nv = ((int)0x8FE2) , + /// + /// Original was GL_INT8_VEC4_NV = 0x8FE3 + /// + Int8Vec4Nv = ((int)0x8FE3) , + /// + /// Original was GL_INT16_NV = 0x8FE4 + /// + Int16Nv = ((int)0x8FE4) , + /// + /// Original was GL_INT16_VEC2_NV = 0x8FE5 + /// + Int16Vec2Nv = ((int)0x8FE5) , + /// + /// Original was GL_INT16_VEC3_NV = 0x8FE6 + /// + Int16Vec3Nv = ((int)0x8FE6) , + /// + /// Original was GL_INT16_VEC4_NV = 0x8FE7 + /// + Int16Vec4Nv = ((int)0x8FE7) , + /// + /// Original was GL_INT64_VEC2_NV = 0x8FE9 + /// + Int64Vec2Nv = ((int)0x8FE9) , + /// + /// Original was GL_INT64_VEC3_NV = 0x8FEA + /// + Int64Vec3Nv = ((int)0x8FEA) , + /// + /// Original was GL_INT64_VEC4_NV = 0x8FEB + /// + Int64Vec4Nv = ((int)0x8FEB) , + /// + /// Original was GL_UNSIGNED_INT8_NV = 0x8FEC + /// + UnsignedInt8Nv = ((int)0x8FEC) , + /// + /// Original was GL_UNSIGNED_INT8_VEC2_NV = 0x8FED + /// + UnsignedInt8Vec2Nv = ((int)0x8FED) , + /// + /// Original was GL_UNSIGNED_INT8_VEC3_NV = 0x8FEE + /// + UnsignedInt8Vec3Nv = ((int)0x8FEE) , + /// + /// Original was GL_UNSIGNED_INT8_VEC4_NV = 0x8FEF + /// + UnsignedInt8Vec4Nv = ((int)0x8FEF) , + /// + /// Original was GL_UNSIGNED_INT16_NV = 0x8FF0 + /// + UnsignedInt16Nv = ((int)0x8FF0) , + /// + /// Original was GL_UNSIGNED_INT16_VEC2_NV = 0x8FF1 + /// + UnsignedInt16Vec2Nv = ((int)0x8FF1) , + /// + /// Original was GL_UNSIGNED_INT16_VEC3_NV = 0x8FF2 + /// + UnsignedInt16Vec3Nv = ((int)0x8FF2) , + /// + /// Original was GL_UNSIGNED_INT16_VEC4_NV = 0x8FF3 + /// + UnsignedInt16Vec4Nv = ((int)0x8FF3) , + /// + /// Original was GL_UNSIGNED_INT64_VEC2_NV = 0x8FF5 + /// + UnsignedInt64Vec2Nv = ((int)0x8FF5) , + /// + /// Original was GL_UNSIGNED_INT64_VEC3_NV = 0x8FF6 + /// + UnsignedInt64Vec3Nv = ((int)0x8FF6) , + /// + /// Original was GL_UNSIGNED_INT64_VEC4_NV = 0x8FF7 + /// + UnsignedInt64Vec4Nv = ((int)0x8FF7) , + /// + /// Original was GL_FLOAT16_NV = 0x8FF8 + /// + Float16Nv = ((int)0x8FF8) , + /// + /// Original was GL_FLOAT16_VEC2_NV = 0x8FF9 + /// + Float16Vec2Nv = ((int)0x8FF9) , + /// + /// Original was GL_FLOAT16_VEC3_NV = 0x8FFA + /// + Float16Vec3Nv = ((int)0x8FFA) , + /// + /// Original was GL_FLOAT16_VEC4_NV = 0x8FFB + /// + Float16Vec4Nv = ((int)0x8FFB) , + } + + /// + /// Not used directly. + /// + public enum NvHalfFloat : int + { + /// + /// Original was GL_HALF_FLOAT_NV = 0x140B + /// + HalfFloatNv = ((int)0x140B) , + } + + /// + /// Not used directly. + /// + public enum NvLightMaxExponent : int + { + /// + /// Original was GL_MAX_SHININESS_NV = 0x8504 + /// + MaxShininessNv = ((int)0x8504) , + /// + /// Original was GL_MAX_SPOT_EXPONENT_NV = 0x8505 + /// + MaxSpotExponentNv = ((int)0x8505) , + } + + /// + /// Not used directly. + /// + public enum NvMultisampleCoverage : int + { + /// + /// Original was GL_COVERAGE_SAMPLES_NV = 0x80A9 + /// + CoverageSamplesNv = ((int)0x80A9) , + /// + /// Original was GL_COLOR_SAMPLES_NV = 0x8E20 + /// + ColorSamplesNv = ((int)0x8E20) , + } + + /// + /// Not used directly. + /// + public enum NvMultisampleFilterHint : int + { + /// + /// Original was GL_MULTISAMPLE_FILTER_HINT_NV = 0x8534 + /// + MultisampleFilterHintNv = ((int)0x8534) , + } + + /// + /// Used in GL.NV.GetOcclusionQuery + /// + public enum NvOcclusionQuery : int + { + /// + /// Original was GL_PIXEL_COUNTER_BITS_NV = 0x8864 + /// + PixelCounterBitsNv = ((int)0x8864) , + /// + /// Original was GL_CURRENT_OCCLUSION_QUERY_ID_NV = 0x8865 + /// + CurrentOcclusionQueryIdNv = ((int)0x8865) , + /// + /// Original was GL_PIXEL_COUNT_NV = 0x8866 + /// + PixelCountNv = ((int)0x8866) , + /// + /// Original was GL_PIXEL_COUNT_AVAILABLE_NV = 0x8867 + /// + PixelCountAvailableNv = ((int)0x8867) , + } + + /// + /// Not used directly. + /// + public enum NvPackedDepthStencil : int + { + /// + /// Original was GL_DEPTH_STENCIL_NV = 0x84F9 + /// + DepthStencilNv = ((int)0x84F9) , + /// + /// Original was GL_UNSIGNED_INT_24_8_NV = 0x84FA + /// + UnsignedInt248Nv = ((int)0x84FA) , + } + + /// + /// Used in GL.NV.ProgramBufferParameters, GL.NV.ProgramBufferParametersI + /// + public enum NvParameterBufferObject : int + { + /// + /// Original was GL_MAX_PROGRAM_PARAMETER_BUFFER_BINDINGS_NV = 0x8DA0 + /// + MaxProgramParameterBufferBindingsNv = ((int)0x8DA0) , + /// + /// Original was GL_MAX_PROGRAM_PARAMETER_BUFFER_SIZE_NV = 0x8DA1 + /// + MaxProgramParameterBufferSizeNv = ((int)0x8DA1) , + /// + /// Original was GL_VERTEX_PROGRAM_PARAMETER_BUFFER_NV = 0x8DA2 + /// + VertexProgramParameterBufferNv = ((int)0x8DA2) , + /// + /// Original was GL_GEOMETRY_PROGRAM_PARAMETER_BUFFER_NV = 0x8DA3 + /// + GeometryProgramParameterBufferNv = ((int)0x8DA3) , + /// + /// Original was GL_FRAGMENT_PROGRAM_PARAMETER_BUFFER_NV = 0x8DA4 + /// + FragmentProgramParameterBufferNv = ((int)0x8DA4) , + } + + /// + /// Not used directly. + /// + public enum NvParameterBufferObject2 : int + { + } + + /// + /// Used in GL.NV.FlushPixelDataRange, GL.NV.PixelDataRange + /// + public enum NvPixelDataRange : int + { + /// + /// Original was GL_WRITE_PIXEL_DATA_RANGE_NV = 0x8878 + /// + WritePixelDataRangeNv = ((int)0x8878) , + /// + /// Original was GL_READ_PIXEL_DATA_RANGE_NV = 0x8879 + /// + ReadPixelDataRangeNv = ((int)0x8879) , + /// + /// Original was GL_WRITE_PIXEL_DATA_RANGE_LENGTH_NV = 0x887A + /// + WritePixelDataRangeLengthNv = ((int)0x887A) , + /// + /// Original was GL_READ_PIXEL_DATA_RANGE_LENGTH_NV = 0x887B + /// + ReadPixelDataRangeLengthNv = ((int)0x887B) , + /// + /// Original was GL_WRITE_PIXEL_DATA_RANGE_POINTER_NV = 0x887C + /// + WritePixelDataRangePointerNv = ((int)0x887C) , + /// + /// Original was GL_READ_PIXEL_DATA_RANGE_POINTER_NV = 0x887D + /// + ReadPixelDataRangePointerNv = ((int)0x887D) , + } + + /// + /// Used in GL.NV.PointParameter + /// + public enum NvPointSprite : int + { + /// + /// Original was GL_POINT_SPRITE_NV = 0x8861 + /// + PointSpriteNv = ((int)0x8861) , + /// + /// Original was GL_COORD_REPLACE_NV = 0x8862 + /// + CoordReplaceNv = ((int)0x8862) , + /// + /// Original was GL_POINT_SPRITE_R_MODE_NV = 0x8863 + /// + PointSpriteRModeNv = ((int)0x8863) , + } + + /// + /// Used in GL.NV.GetVideo, GL.NV.PresentFrameDualFill, GL.NV.PresentFrameKeye + /// + public enum NvPresentVideo : int + { + /// + /// Original was GL_FRAME_NV = 0x8E26 + /// + FrameNv = ((int)0x8E26) , + /// + /// Original was GL_FIELDS_NV = 0x8E27 + /// + FieldsNv = ((int)0x8E27) , + /// + /// Original was GL_CURRENT_TIME_NV = 0x8E28 + /// + CurrentTimeNv = ((int)0x8E28) , + /// + /// Original was GL_NUM_FILL_STREAMS_NV = 0x8E29 + /// + NumFillStreamsNv = ((int)0x8E29) , + /// + /// Original was GL_PRESENT_TIME_NV = 0x8E2A + /// + PresentTimeNv = ((int)0x8E2A) , + /// + /// Original was GL_PRESENT_DURATION_NV = 0x8E2B + /// + PresentDurationNv = ((int)0x8E2B) , + } + + /// + /// Not used directly. + /// + public enum NvPrimitiveRestart : int + { + /// + /// Original was GL_PRIMITIVE_RESTART_NV = 0x8558 + /// + PrimitiveRestartNv = ((int)0x8558) , + /// + /// Original was GL_PRIMITIVE_RESTART_INDEX_NV = 0x8559 + /// + PrimitiveRestartIndexNv = ((int)0x8559) , + } + + /// + /// Used in GL.NV.CombinerInput, GL.NV.CombinerOutput, GL.NV.CombinerParameter, GL.NV.FinalCombinerInput, GL.NV.GetCombinerInputParameter, GL.NV.GetCombinerOutputParameter, GL.NV.GetFinalCombinerInputParameter + /// + public enum NvRegisterCombiners : int + { + /// + /// Original was GL_NONE = 0 + /// + None = ((int)0) , + /// + /// Original was GL_ZERO = 0 + /// + Zero = ((int)0) , + /// + /// Original was GL_FOG = 0x0B60 + /// + Fog = ((int)0x0B60) , + /// + /// Original was GL_TEXTURE0_ARB = 0x84C0 + /// + Texture0Arb = ((int)0x84C0) , + /// + /// Original was GL_TEXTURE1_ARB = 0x84C1 + /// + Texture1Arb = ((int)0x84C1) , + /// + /// Original was GL_REGISTER_COMBINERS_NV = 0x8522 + /// + RegisterCombinersNv = ((int)0x8522) , + /// + /// Original was GL_VARIABLE_A_NV = 0x8523 + /// + VariableANv = ((int)0x8523) , + /// + /// Original was GL_VARIABLE_B_NV = 0x8524 + /// + VariableBNv = ((int)0x8524) , + /// + /// Original was GL_VARIABLE_C_NV = 0x8525 + /// + VariableCNv = ((int)0x8525) , + /// + /// Original was GL_VARIABLE_D_NV = 0x8526 + /// + VariableDNv = ((int)0x8526) , + /// + /// Original was GL_VARIABLE_E_NV = 0x8527 + /// + VariableENv = ((int)0x8527) , + /// + /// Original was GL_VARIABLE_F_NV = 0x8528 + /// + VariableFNv = ((int)0x8528) , + /// + /// Original was GL_VARIABLE_G_NV = 0x8529 + /// + VariableGNv = ((int)0x8529) , + /// + /// Original was GL_CONSTANT_COLOR0_NV = 0x852A + /// + ConstantColor0Nv = ((int)0x852A) , + /// + /// Original was GL_CONSTANT_COLOR1_NV = 0x852B + /// + ConstantColor1Nv = ((int)0x852B) , + /// + /// Original was GL_PRIMARY_COLOR_NV = 0x852C + /// + PrimaryColorNv = ((int)0x852C) , + /// + /// Original was GL_SECONDARY_COLOR_NV = 0x852D + /// + SecondaryColorNv = ((int)0x852D) , + /// + /// Original was GL_SPARE0_NV = 0x852E + /// + Spare0Nv = ((int)0x852E) , + /// + /// Original was GL_SPARE1_NV = 0x852F + /// + Spare1Nv = ((int)0x852F) , + /// + /// Original was GL_DISCARD_NV = 0x8530 + /// + DiscardNv = ((int)0x8530) , + /// + /// Original was GL_E_TIMES_F_NV = 0x8531 + /// + ETimesFNv = ((int)0x8531) , + /// + /// Original was GL_SPARE0_PLUS_SECONDARY_COLOR_NV = 0x8532 + /// + Spare0PlusSecondaryColorNv = ((int)0x8532) , + /// + /// Original was GL_VERTEX_ARRAY_RANGE_WITHOUT_FLUSH_NV = 0x8533 + /// + VertexArrayRangeWithoutFlushNv = ((int)0x8533) , + /// + /// Original was GL_MULTISAMPLE_FILTER_HINT_NV = 0x8534 + /// + MultisampleFilterHintNv = ((int)0x8534) , + /// + /// Original was GL_UNSIGNED_IDENTITY_NV = 0x8536 + /// + UnsignedIdentityNv = ((int)0x8536) , + /// + /// Original was GL_UNSIGNED_INVERT_NV = 0x8537 + /// + UnsignedInvertNv = ((int)0x8537) , + /// + /// Original was GL_EXPAND_NORMAL_NV = 0x8538 + /// + ExpandNormalNv = ((int)0x8538) , + /// + /// Original was GL_EXPAND_NEGATE_NV = 0x8539 + /// + ExpandNegateNv = ((int)0x8539) , + /// + /// Original was GL_HALF_BIAS_NORMAL_NV = 0x853A + /// + HalfBiasNormalNv = ((int)0x853A) , + /// + /// Original was GL_HALF_BIAS_NEGATE_NV = 0x853B + /// + HalfBiasNegateNv = ((int)0x853B) , + /// + /// Original was GL_SIGNED_IDENTITY_NV = 0x853C + /// + SignedIdentityNv = ((int)0x853C) , + /// + /// Original was GL_SIGNED_NEGATE_NV = 0x853D + /// + SignedNegateNv = ((int)0x853D) , + /// + /// Original was GL_UNSIGNED_NEGATE_NV = 0x853D + /// + UnsignedNegateNv = ((int)0x853D) , + /// + /// Original was GL_SCALE_BY_TWO_NV = 0x853E + /// + ScaleByTwoNv = ((int)0x853E) , + /// + /// Original was GL_SCALE_BY_FOUR_NV = 0x853F + /// + ScaleByFourNv = ((int)0x853F) , + /// + /// Original was GL_SCALE_BY_ONE_HALF_NV = 0x8540 + /// + ScaleByOneHalfNv = ((int)0x8540) , + /// + /// Original was GL_BIAS_BY_NEGATIVE_ONE_HALF_NV = 0x8541 + /// + BiasByNegativeOneHalfNv = ((int)0x8541) , + /// + /// Original was GL_COMBINER_INPUT_NV = 0x8542 + /// + CombinerInputNv = ((int)0x8542) , + /// + /// Original was GL_COMBINER_MAPPING_NV = 0x8543 + /// + CombinerMappingNv = ((int)0x8543) , + /// + /// Original was GL_COMBINER_COMPONENT_USAGE_NV = 0x8544 + /// + CombinerComponentUsageNv = ((int)0x8544) , + /// + /// Original was GL_COMBINER_AB_DOT_PRODUCT_NV = 0x8545 + /// + CombinerAbDotProductNv = ((int)0x8545) , + /// + /// Original was GL_COMBINER_CD_DOT_PRODUCT_NV = 0x8546 + /// + CombinerCdDotProductNv = ((int)0x8546) , + /// + /// Original was GL_COMBINER_MUX_SUM_NV = 0x8547 + /// + CombinerMuxSumNv = ((int)0x8547) , + /// + /// Original was GL_COMBINER_SCALE_NV = 0x8548 + /// + CombinerScaleNv = ((int)0x8548) , + /// + /// Original was GL_COMBINER_BIAS_NV = 0x8549 + /// + CombinerBiasNv = ((int)0x8549) , + /// + /// Original was GL_COMBINER_AB_OUTPUT_NV = 0x854A + /// + CombinerAbOutputNv = ((int)0x854A) , + /// + /// Original was GL_COMBINER_CD_OUTPUT_NV = 0x854B + /// + CombinerCdOutputNv = ((int)0x854B) , + /// + /// Original was GL_COMBINER_SUM_OUTPUT_NV = 0x854C + /// + CombinerSumOutputNv = ((int)0x854C) , + /// + /// Original was GL_MAX_GENERAL_COMBINERS_NV = 0x854D + /// + MaxGeneralCombinersNv = ((int)0x854D) , + /// + /// Original was GL_NUM_GENERAL_COMBINERS_NV = 0x854E + /// + NumGeneralCombinersNv = ((int)0x854E) , + /// + /// Original was GL_COLOR_SUM_CLAMP_NV = 0x854F + /// + ColorSumClampNv = ((int)0x854F) , + /// + /// Original was GL_COMBINER0_NV = 0x8550 + /// + Combiner0Nv = ((int)0x8550) , + /// + /// Original was GL_COMBINER1_NV = 0x8551 + /// + Combiner1Nv = ((int)0x8551) , + /// + /// Original was GL_COMBINER2_NV = 0x8552 + /// + Combiner2Nv = ((int)0x8552) , + /// + /// Original was GL_COMBINER3_NV = 0x8553 + /// + Combiner3Nv = ((int)0x8553) , + /// + /// Original was GL_COMBINER4_NV = 0x8554 + /// + Combiner4Nv = ((int)0x8554) , + /// + /// Original was GL_COMBINER5_NV = 0x8555 + /// + Combiner5Nv = ((int)0x8555) , + /// + /// Original was GL_COMBINER6_NV = 0x8556 + /// + Combiner6Nv = ((int)0x8556) , + /// + /// Original was GL_COMBINER7_NV = 0x8557 + /// + Combiner7Nv = ((int)0x8557) , + } + + /// + /// Used in GL.NV.CombinerStageParameter, GL.NV.GetCombinerStageParameter + /// + public enum NvRegisterCombiners2 : int + { + /// + /// Original was GL_PER_STAGE_CONSTANTS_NV = 0x8535 + /// + PerStageConstantsNv = ((int)0x8535) , + } + + /// + /// Used in GL.NV.GetBufferParameter, GL.NV.GetInteger, GL.NV.GetNamedBufferParameter, GL.NV.IsBufferResident, GL.NV.MakeBufferNonResident, GL.NV.MakeBufferResident, GL.NV.MakeNamedBufferResident + /// + public enum NvShaderBufferLoad : int + { + /// + /// Original was GL_BUFFER_GPU_ADDRESS_NV = 0x8F1D + /// + BufferGpuAddressNv = ((int)0x8F1D) , + /// + /// Original was GL_GPU_ADDRESS_NV = 0x8F34 + /// + GpuAddressNv = ((int)0x8F34) , + /// + /// Original was GL_MAX_SHADER_BUFFER_ADDRESS_NV = 0x8F35 + /// + MaxShaderBufferAddressNv = ((int)0x8F35) , + } + + /// + /// Not used directly. + /// + public enum NvShaderBufferStore : int + { + /// + /// Original was GL_SHADER_GLOBAL_ACCESS_BARRIER_BIT_NV = 0x00000010 + /// + ShaderGlobalAccessBarrierBitNv = ((int)0x00000010) , + /// + /// Original was GL_WRITE_ONLY = 0x88B9 + /// + WriteOnly = ((int)0x88B9) , + /// + /// Original was GL_READ_WRITE = 0x88BA + /// + ReadWrite = ((int)0x88BA) , + } + + /// + /// Not used directly. + /// + public enum NvTessellationProgram5 : int + { + /// + /// Original was GL_MAX_PROGRAM_PATCH_ATTRIBS_NV = 0x86D8 + /// + MaxProgramPatchAttribsNv = ((int)0x86D8) , + /// + /// Original was GL_TESS_CONTROL_PROGRAM_NV = 0x891E + /// + TessControlProgramNv = ((int)0x891E) , + /// + /// Original was GL_TESS_EVALUATION_PROGRAM_NV = 0x891F + /// + TessEvaluationProgramNv = ((int)0x891F) , + /// + /// Original was GL_TESS_CONTROL_PROGRAM_PARAMETER_BUFFER_NV = 0x8C74 + /// + TessControlProgramParameterBufferNv = ((int)0x8C74) , + /// + /// Original was GL_TESS_EVALUATION_PROGRAM_PARAMETER_BUFFER_NV = 0x8C75 + /// + TessEvaluationProgramParameterBufferNv = ((int)0x8C75) , + } + + /// + /// Not used directly. + /// + public enum NvTexgenEmboss : int + { + /// + /// Original was GL_EMBOSS_LIGHT_NV = 0x855D + /// + EmbossLightNv = ((int)0x855D) , + /// + /// Original was GL_EMBOSS_CONSTANT_NV = 0x855E + /// + EmbossConstantNv = ((int)0x855E) , + /// + /// Original was GL_EMBOSS_MAP_NV = 0x855F + /// + EmbossMapNv = ((int)0x855F) , + } + + /// + /// Not used directly. + /// + public enum NvTexgenReflection : int + { + /// + /// Original was GL_NORMAL_MAP = 0x8511 + /// + NormalMap = ((int)0x8511) , + /// + /// Original was GL_NORMAL_MAP_NV = 0x8511 + /// + NormalMapNv = ((int)0x8511) , + /// + /// Original was GL_REFLECTION_MAP = 0x8512 + /// + ReflectionMap = ((int)0x8512) , + /// + /// Original was GL_REFLECTION_MAP_NV = 0x8512 + /// + ReflectionMapNv = ((int)0x8512) , + } + + /// + /// Not used directly. + /// + public enum NvTextureBarrier : int + { + } + + /// + /// Not used directly. + /// + public enum NvTextureCompressionVtc : int + { + } + + /// + /// Not used directly. + /// + public enum NvTextureEnvCombine4 : int + { + /// + /// Original was GL_COMBINE4_NV = 0x8503 + /// + Combine4Nv = ((int)0x8503) , + /// + /// Original was GL_SOURCE3_RGB_NV = 0x8583 + /// + Source3RgbNv = ((int)0x8583) , + /// + /// Original was GL_SOURCE3_ALPHA_NV = 0x858B + /// + Source3AlphaNv = ((int)0x858B) , + /// + /// Original was GL_OPERAND3_RGB_NV = 0x8593 + /// + Operand3RgbNv = ((int)0x8593) , + /// + /// Original was GL_OPERAND3_ALPHA_NV = 0x859B + /// + Operand3AlphaNv = ((int)0x859B) , + } + + /// + /// Not used directly. + /// + public enum NvTextureExpandNormal : int + { + /// + /// Original was GL_TEXTURE_UNSIGNED_REMAP_MODE_NV = 0x888F + /// + TextureUnsignedRemapModeNv = ((int)0x888F) , + } + + /// + /// Used in GL.NV.TexImage2DMultisampleCoverage, GL.NV.TexImage3DMultisampleCoverage, GL.NV.TextureImage2DMultisampleCoverage, GL.NV.TextureImage2DMultisample, GL.NV.TextureImage3DMultisampleCoverage, GL.NV.TextureImage3DMultisample + /// + public enum NvTextureMultisample : int + { + /// + /// Original was GL_TEXTURE_COVERAGE_SAMPLES_NV = 0x9045 + /// + TextureCoverageSamplesNv = ((int)0x9045) , + /// + /// Original was GL_TEXTURE_COLOR_SAMPLES_NV = 0x9046 + /// + TextureColorSamplesNv = ((int)0x9046) , + } + + /// + /// Not used directly. + /// + public enum NvTextureRectangle : int + { + /// + /// Original was GL_TEXTURE_RECTANGLE_NV = 0x84F5 + /// + TextureRectangleNv = ((int)0x84F5) , + /// + /// Original was GL_TEXTURE_BINDING_RECTANGLE_NV = 0x84F6 + /// + TextureBindingRectangleNv = ((int)0x84F6) , + /// + /// Original was GL_PROXY_TEXTURE_RECTANGLE_NV = 0x84F7 + /// + ProxyTextureRectangleNv = ((int)0x84F7) , + /// + /// Original was GL_MAX_RECTANGLE_TEXTURE_SIZE_NV = 0x84F8 + /// + MaxRectangleTextureSizeNv = ((int)0x84F8) , + } + + /// + /// Not used directly. + /// + public enum NvTextureShader : int + { + /// + /// Original was GL_OFFSET_TEXTURE_RECTANGLE_NV = 0x864C + /// + OffsetTextureRectangleNv = ((int)0x864C) , + /// + /// Original was GL_OFFSET_TEXTURE_RECTANGLE_SCALE_NV = 0x864D + /// + OffsetTextureRectangleScaleNv = ((int)0x864D) , + /// + /// Original was GL_DOT_PRODUCT_TEXTURE_RECTANGLE_NV = 0x864E + /// + DotProductTextureRectangleNv = ((int)0x864E) , + /// + /// Original was GL_RGBA_UNSIGNED_DOT_PRODUCT_MAPPING_NV = 0x86D9 + /// + RgbaUnsignedDotProductMappingNv = ((int)0x86D9) , + /// + /// Original was GL_UNSIGNED_INT_S8_S8_8_8_NV = 0x86DA + /// + UnsignedIntS8S888Nv = ((int)0x86DA) , + /// + /// Original was GL_UNSIGNED_INT_8_8_S8_S8_REV_NV = 0x86DB + /// + UnsignedInt88S8S8RevNv = ((int)0x86DB) , + /// + /// Original was GL_DSDT_MAG_INTENSITY_NV = 0x86DC + /// + DsdtMagIntensityNv = ((int)0x86DC) , + /// + /// Original was GL_SHADER_CONSISTENT_NV = 0x86DD + /// + ShaderConsistentNv = ((int)0x86DD) , + /// + /// Original was GL_TEXTURE_SHADER_NV = 0x86DE + /// + TextureShaderNv = ((int)0x86DE) , + /// + /// Original was GL_SHADER_OPERATION_NV = 0x86DF + /// + ShaderOperationNv = ((int)0x86DF) , + /// + /// Original was GL_CULL_MODES_NV = 0x86E0 + /// + CullModesNv = ((int)0x86E0) , + /// + /// Original was GL_OFFSET_TEXTURE_2D_MATRIX_NV = 0x86E1 + /// + OffsetTexture2DMatrixNv = ((int)0x86E1) , + /// + /// Original was GL_OFFSET_TEXTURE_MATRIX_NV = 0x86E1 + /// + OffsetTextureMatrixNv = ((int)0x86E1) , + /// + /// Original was GL_OFFSET_TEXTURE_2D_SCALE_NV = 0x86E2 + /// + OffsetTexture2DScaleNv = ((int)0x86E2) , + /// + /// Original was GL_OFFSET_TEXTURE_SCALE_NV = 0x86E2 + /// + OffsetTextureScaleNv = ((int)0x86E2) , + /// + /// Original was GL_OFFSET_TEXTURE_2D_BIAS_NV = 0x86E3 + /// + OffsetTexture2DBiasNv = ((int)0x86E3) , + /// + /// Original was GL_OFFSET_TEXTURE_BIAS_NV = 0x86E3 + /// + OffsetTextureBiasNv = ((int)0x86E3) , + /// + /// Original was GL_PREVIOUS_TEXTURE_INPUT_NV = 0x86E4 + /// + PreviousTextureInputNv = ((int)0x86E4) , + /// + /// Original was GL_CONST_EYE_NV = 0x86E5 + /// + ConstEyeNv = ((int)0x86E5) , + /// + /// Original was GL_PASS_THROUGH_NV = 0x86E6 + /// + PassThroughNv = ((int)0x86E6) , + /// + /// Original was GL_CULL_FRAGMENT_NV = 0x86E7 + /// + CullFragmentNv = ((int)0x86E7) , + /// + /// Original was GL_OFFSET_TEXTURE_2D_NV = 0x86E8 + /// + OffsetTexture2DNv = ((int)0x86E8) , + /// + /// Original was GL_DEPENDENT_AR_TEXTURE_2D_NV = 0x86E9 + /// + DependentArTexture2DNv = ((int)0x86E9) , + /// + /// Original was GL_DEPENDENT_GB_TEXTURE_2D_NV = 0x86EA + /// + DependentGbTexture2DNv = ((int)0x86EA) , + /// + /// Original was GL_DOT_PRODUCT_NV = 0x86EC + /// + DotProductNv = ((int)0x86EC) , + /// + /// Original was GL_DOT_PRODUCT_DEPTH_REPLACE_NV = 0x86ED + /// + DotProductDepthReplaceNv = ((int)0x86ED) , + /// + /// Original was GL_DOT_PRODUCT_TEXTURE_2D_NV = 0x86EE + /// + DotProductTexture2DNv = ((int)0x86EE) , + /// + /// Original was GL_DOT_PRODUCT_TEXTURE_CUBE_MAP_NV = 0x86F0 + /// + DotProductTextureCubeMapNv = ((int)0x86F0) , + /// + /// Original was GL_DOT_PRODUCT_DIFFUSE_CUBE_MAP_NV = 0x86F1 + /// + DotProductDiffuseCubeMapNv = ((int)0x86F1) , + /// + /// Original was GL_DOT_PRODUCT_REFLECT_CUBE_MAP_NV = 0x86F2 + /// + DotProductReflectCubeMapNv = ((int)0x86F2) , + /// + /// Original was GL_DOT_PRODUCT_CONST_EYE_REFLECT_CUBE_MAP_NV = 0x86F3 + /// + DotProductConstEyeReflectCubeMapNv = ((int)0x86F3) , + /// + /// Original was GL_HILO_NV = 0x86F4 + /// + HiloNv = ((int)0x86F4) , + /// + /// Original was GL_DSDT_NV = 0x86F5 + /// + DsdtNv = ((int)0x86F5) , + /// + /// Original was GL_DSDT_MAG_NV = 0x86F6 + /// + DsdtMagNv = ((int)0x86F6) , + /// + /// Original was GL_DSDT_MAG_VIB_NV = 0x86F7 + /// + DsdtMagVibNv = ((int)0x86F7) , + /// + /// Original was GL_HILO16_NV = 0x86F8 + /// + Hilo16Nv = ((int)0x86F8) , + /// + /// Original was GL_SIGNED_HILO_NV = 0x86F9 + /// + SignedHiloNv = ((int)0x86F9) , + /// + /// Original was GL_SIGNED_HILO16_NV = 0x86FA + /// + SignedHilo16Nv = ((int)0x86FA) , + /// + /// Original was GL_SIGNED_RGBA_NV = 0x86FB + /// + SignedRgbaNv = ((int)0x86FB) , + /// + /// Original was GL_SIGNED_RGBA8_NV = 0x86FC + /// + SignedRgba8Nv = ((int)0x86FC) , + /// + /// Original was GL_SIGNED_RGB_NV = 0x86FE + /// + SignedRgbNv = ((int)0x86FE) , + /// + /// Original was GL_SIGNED_RGB8_NV = 0x86FF + /// + SignedRgb8Nv = ((int)0x86FF) , + /// + /// Original was GL_SIGNED_LUMINANCE_NV = 0x8701 + /// + SignedLuminanceNv = ((int)0x8701) , + /// + /// Original was GL_SIGNED_LUMINANCE8_NV = 0x8702 + /// + SignedLuminance8Nv = ((int)0x8702) , + /// + /// Original was GL_SIGNED_LUMINANCE_ALPHA_NV = 0x8703 + /// + SignedLuminanceAlphaNv = ((int)0x8703) , + /// + /// Original was GL_SIGNED_LUMINANCE8_ALPHA8_NV = 0x8704 + /// + SignedLuminance8Alpha8Nv = ((int)0x8704) , + /// + /// Original was GL_SIGNED_ALPHA_NV = 0x8705 + /// + SignedAlphaNv = ((int)0x8705) , + /// + /// Original was GL_SIGNED_ALPHA8_NV = 0x8706 + /// + SignedAlpha8Nv = ((int)0x8706) , + /// + /// Original was GL_SIGNED_INTENSITY_NV = 0x8707 + /// + SignedIntensityNv = ((int)0x8707) , + /// + /// Original was GL_SIGNED_INTENSITY8_NV = 0x8708 + /// + SignedIntensity8Nv = ((int)0x8708) , + /// + /// Original was GL_DSDT8_NV = 0x8709 + /// + Dsdt8Nv = ((int)0x8709) , + /// + /// Original was GL_DSDT8_MAG8_NV = 0x870A + /// + Dsdt8Mag8Nv = ((int)0x870A) , + /// + /// Original was GL_DSDT8_MAG8_INTENSITY8_NV = 0x870B + /// + Dsdt8Mag8Intensity8Nv = ((int)0x870B) , + /// + /// Original was GL_SIGNED_RGB_UNSIGNED_ALPHA_NV = 0x870C + /// + SignedRgbUnsignedAlphaNv = ((int)0x870C) , + /// + /// Original was GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV = 0x870D + /// + SignedRgb8UnsignedAlpha8Nv = ((int)0x870D) , + /// + /// Original was GL_HI_SCALE_NV = 0x870E + /// + HiScaleNv = ((int)0x870E) , + /// + /// Original was GL_LO_SCALE_NV = 0x870F + /// + LoScaleNv = ((int)0x870F) , + /// + /// Original was GL_DS_SCALE_NV = 0x8710 + /// + DsScaleNv = ((int)0x8710) , + /// + /// Original was GL_DT_SCALE_NV = 0x8711 + /// + DtScaleNv = ((int)0x8711) , + /// + /// Original was GL_MAGNITUDE_SCALE_NV = 0x8712 + /// + MagnitudeScaleNv = ((int)0x8712) , + /// + /// Original was GL_VIBRANCE_SCALE_NV = 0x8713 + /// + VibranceScaleNv = ((int)0x8713) , + /// + /// Original was GL_HI_BIAS_NV = 0x8714 + /// + HiBiasNv = ((int)0x8714) , + /// + /// Original was GL_LO_BIAS_NV = 0x8715 + /// + LoBiasNv = ((int)0x8715) , + /// + /// Original was GL_DS_BIAS_NV = 0x8716 + /// + DsBiasNv = ((int)0x8716) , + /// + /// Original was GL_DT_BIAS_NV = 0x8717 + /// + DtBiasNv = ((int)0x8717) , + /// + /// Original was GL_MAGNITUDE_BIAS_NV = 0x8718 + /// + MagnitudeBiasNv = ((int)0x8718) , + /// + /// Original was GL_VIBRANCE_BIAS_NV = 0x8719 + /// + VibranceBiasNv = ((int)0x8719) , + /// + /// Original was GL_TEXTURE_BORDER_VALUES_NV = 0x871A + /// + TextureBorderValuesNv = ((int)0x871A) , + /// + /// Original was GL_TEXTURE_HI_SIZE_NV = 0x871B + /// + TextureHiSizeNv = ((int)0x871B) , + /// + /// Original was GL_TEXTURE_LO_SIZE_NV = 0x871C + /// + TextureLoSizeNv = ((int)0x871C) , + /// + /// Original was GL_TEXTURE_DS_SIZE_NV = 0x871D + /// + TextureDsSizeNv = ((int)0x871D) , + /// + /// Original was GL_TEXTURE_DT_SIZE_NV = 0x871E + /// + TextureDtSizeNv = ((int)0x871E) , + /// + /// Original was GL_TEXTURE_MAG_SIZE_NV = 0x871F + /// + TextureMagSizeNv = ((int)0x871F) , + } + + /// + /// Not used directly. + /// + public enum NvTextureShader2 : int + { + /// + /// Original was GL_DOT_PRODUCT_TEXTURE_3D_NV = 0x86EF + /// + DotProductTexture3DNv = ((int)0x86EF) , + } + + /// + /// Not used directly. + /// + public enum NvTextureShader3 : int + { + /// + /// Original was GL_OFFSET_PROJECTIVE_TEXTURE_2D_NV = 0x8850 + /// + OffsetProjectiveTexture2DNv = ((int)0x8850) , + /// + /// Original was GL_OFFSET_PROJECTIVE_TEXTURE_2D_SCALE_NV = 0x8851 + /// + OffsetProjectiveTexture2DScaleNv = ((int)0x8851) , + /// + /// Original was GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_NV = 0x8852 + /// + OffsetProjectiveTextureRectangleNv = ((int)0x8852) , + /// + /// Original was GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_SCALE_NV = 0x8853 + /// + OffsetProjectiveTextureRectangleScaleNv = ((int)0x8853) , + /// + /// Original was GL_OFFSET_HILO_TEXTURE_2D_NV = 0x8854 + /// + OffsetHiloTexture2DNv = ((int)0x8854) , + /// + /// Original was GL_OFFSET_HILO_TEXTURE_RECTANGLE_NV = 0x8855 + /// + OffsetHiloTextureRectangleNv = ((int)0x8855) , + /// + /// Original was GL_OFFSET_HILO_PROJECTIVE_TEXTURE_2D_NV = 0x8856 + /// + OffsetHiloProjectiveTexture2DNv = ((int)0x8856) , + /// + /// Original was GL_OFFSET_HILO_PROJECTIVE_TEXTURE_RECTANGLE_NV = 0x8857 + /// + OffsetHiloProjectiveTextureRectangleNv = ((int)0x8857) , + /// + /// Original was GL_DEPENDENT_HILO_TEXTURE_2D_NV = 0x8858 + /// + DependentHiloTexture2DNv = ((int)0x8858) , + /// + /// Original was GL_DEPENDENT_RGB_TEXTURE_3D_NV = 0x8859 + /// + DependentRgbTexture3DNv = ((int)0x8859) , + /// + /// Original was GL_DEPENDENT_RGB_TEXTURE_CUBE_MAP_NV = 0x885A + /// + DependentRgbTextureCubeMapNv = ((int)0x885A) , + /// + /// Original was GL_DOT_PRODUCT_PASS_THROUGH_NV = 0x885B + /// + DotProductPassThroughNv = ((int)0x885B) , + /// + /// Original was GL_DOT_PRODUCT_TEXTURE_1D_NV = 0x885C + /// + DotProductTexture1DNv = ((int)0x885C) , + /// + /// Original was GL_DOT_PRODUCT_AFFINE_DEPTH_REPLACE_NV = 0x885D + /// + DotProductAffineDepthReplaceNv = ((int)0x885D) , + /// + /// Original was GL_HILO8_NV = 0x885E + /// + Hilo8Nv = ((int)0x885E) , + /// + /// Original was GL_SIGNED_HILO8_NV = 0x885F + /// + SignedHilo8Nv = ((int)0x885F) , + /// + /// Original was GL_FORCE_BLUE_TO_ONE_NV = 0x8860 + /// + ForceBlueToOneNv = ((int)0x8860) , + } + + /// + /// Used in GL.NV.BeginTransformFeedback, GL.NV.BindBufferBase, GL.NV.BindBufferOffset, GL.NV.BindBufferRange, GL.NV.GetActiveVarying, GL.NV.TransformFeedbackAttrib, GL.NV.TransformFeedbackStreamAttrib, GL.NV.TransformFeedbackVaryings + /// + public enum NvTransformFeedback : int + { + /// + /// Original was GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH = 0x8C76 + /// + TransformFeedbackVaryingMaxLength = ((int)0x8C76) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH_EXT = 0x8C76 + /// + TransformFeedbackVaryingMaxLengthExt = ((int)0x8C76) , + /// + /// Original was GL_BACK_PRIMARY_COLOR_NV = 0x8C77 + /// + BackPrimaryColorNv = ((int)0x8C77) , + /// + /// Original was GL_BACK_SECONDARY_COLOR_NV = 0x8C78 + /// + BackSecondaryColorNv = ((int)0x8C78) , + /// + /// Original was GL_TEXTURE_COORD_NV = 0x8C79 + /// + TextureCoordNv = ((int)0x8C79) , + /// + /// Original was GL_CLIP_DISTANCE_NV = 0x8C7A + /// + ClipDistanceNv = ((int)0x8C7A) , + /// + /// Original was GL_VERTEX_ID_NV = 0x8C7B + /// + VertexIdNv = ((int)0x8C7B) , + /// + /// Original was GL_PRIMITIVE_ID_NV = 0x8C7C + /// + PrimitiveIdNv = ((int)0x8C7C) , + /// + /// Original was GL_GENERIC_ATTRIB_NV = 0x8C7D + /// + GenericAttribNv = ((int)0x8C7D) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_ATTRIBS_NV = 0x8C7E + /// + TransformFeedbackAttribsNv = ((int)0x8C7E) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_BUFFER_MODE = 0x8C7F + /// + TransformFeedbackBufferMode = ((int)0x8C7F) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_BUFFER_MODE_EXT = 0x8C7F + /// + TransformFeedbackBufferModeExt = ((int)0x8C7F) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_BUFFER_MODE_NV = 0x8C7F + /// + TransformFeedbackBufferModeNv = ((int)0x8C7F) , + /// + /// Original was GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS = 0x8C80 + /// + MaxTransformFeedbackSeparateComponents = ((int)0x8C80) , + /// + /// Original was GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_EXT = 0x8C80 + /// + MaxTransformFeedbackSeparateComponentsExt = ((int)0x8C80) , + /// + /// Original was GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_NV = 0x8C80 + /// + MaxTransformFeedbackSeparateComponentsNv = ((int)0x8C80) , + /// + /// Original was GL_ACTIVE_VARYINGS_NV = 0x8C81 + /// + ActiveVaryingsNv = ((int)0x8C81) , + /// + /// Original was GL_ACTIVE_VARYING_MAX_LENGTH_NV = 0x8C82 + /// + ActiveVaryingMaxLengthNv = ((int)0x8C82) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_VARYINGS = 0x8C83 + /// + TransformFeedbackVaryings = ((int)0x8C83) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_VARYINGS_EXT = 0x8C83 + /// + TransformFeedbackVaryingsExt = ((int)0x8C83) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_VARYINGS_NV = 0x8C83 + /// + TransformFeedbackVaryingsNv = ((int)0x8C83) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_BUFFER_START = 0x8C84 + /// + TransformFeedbackBufferStart = ((int)0x8C84) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_BUFFER_START_EXT = 0x8C84 + /// + TransformFeedbackBufferStartExt = ((int)0x8C84) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_BUFFER_START_NV = 0x8C84 + /// + TransformFeedbackBufferStartNv = ((int)0x8C84) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_BUFFER_SIZE = 0x8C85 + /// + TransformFeedbackBufferSize = ((int)0x8C85) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_BUFFER_SIZE_EXT = 0x8C85 + /// + TransformFeedbackBufferSizeExt = ((int)0x8C85) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_BUFFER_SIZE_NV = 0x8C85 + /// + TransformFeedbackBufferSizeNv = ((int)0x8C85) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_RECORD_NV = 0x8C86 + /// + TransformFeedbackRecordNv = ((int)0x8C86) , + /// + /// Original was GL_PRIMITIVES_GENERATED = 0x8C87 + /// + PrimitivesGenerated = ((int)0x8C87) , + /// + /// Original was GL_PRIMITIVES_GENERATED_EXT = 0x8C87 + /// + PrimitivesGeneratedExt = ((int)0x8C87) , + /// + /// Original was GL_PRIMITIVES_GENERATED_NV = 0x8C87 + /// + PrimitivesGeneratedNv = ((int)0x8C87) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN = 0x8C88 + /// + TransformFeedbackPrimitivesWritten = ((int)0x8C88) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_EXT = 0x8C88 + /// + TransformFeedbackPrimitivesWrittenExt = ((int)0x8C88) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_NV = 0x8C88 + /// + TransformFeedbackPrimitivesWrittenNv = ((int)0x8C88) , + /// + /// Original was GL_RASTERIZER_DISCARD = 0x8C89 + /// + RasterizerDiscard = ((int)0x8C89) , + /// + /// Original was GL_RASTERIZER_DISCARD_EXT = 0x8C89 + /// + RasterizerDiscardExt = ((int)0x8C89) , + /// + /// Original was GL_RASTERIZER_DISCARD_NV = 0x8C89 + /// + RasterizerDiscardNv = ((int)0x8C89) , + /// + /// Original was GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_ATTRIBS_NV = 0x8C8A + /// + MaxTransformFeedbackInterleavedAttribsNv = ((int)0x8C8A) , + /// + /// Original was GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS = 0x8C8A + /// + MaxTransformFeedbackInterleavedComponents = ((int)0x8C8A) , + /// + /// Original was GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS_EXT = 0x8C8A + /// + MaxTransformFeedbackInterleavedComponentsExt = ((int)0x8C8A) , + /// + /// Original was GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS = 0x8C8B + /// + MaxTransformFeedbackSeparateAttribs = ((int)0x8C8B) , + /// + /// Original was GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_EXT = 0x8C8B + /// + MaxTransformFeedbackSeparateAttribsExt = ((int)0x8C8B) , + /// + /// Original was GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_NV = 0x8C8B + /// + MaxTransformFeedbackSeparateAttribsNv = ((int)0x8C8B) , + /// + /// Original was GL_INTERLEAVED_ATTRIBS = 0x8C8C + /// + InterleavedAttribs = ((int)0x8C8C) , + /// + /// Original was GL_INTERLEAVED_ATTRIBS_EXT = 0x8C8C + /// + InterleavedAttribsExt = ((int)0x8C8C) , + /// + /// Original was GL_INTERLEAVED_ATTRIBS_NV = 0x8C8C + /// + InterleavedAttribsNv = ((int)0x8C8C) , + /// + /// Original was GL_SEPARATE_ATTRIBS = 0x8C8D + /// + SeparateAttribs = ((int)0x8C8D) , + /// + /// Original was GL_SEPARATE_ATTRIBS_EXT = 0x8C8D + /// + SeparateAttribsExt = ((int)0x8C8D) , + /// + /// Original was GL_SEPARATE_ATTRIBS_NV = 0x8C8D + /// + SeparateAttribsNv = ((int)0x8C8D) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_BUFFER = 0x8C8E + /// + TransformFeedbackBuffer = ((int)0x8C8E) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_BUFFER_EXT = 0x8C8E + /// + TransformFeedbackBufferExt = ((int)0x8C8E) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_BUFFER_NV = 0x8C8E + /// + TransformFeedbackBufferNv = ((int)0x8C8E) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_BUFFER_BINDING = 0x8C8F + /// + TransformFeedbackBufferBinding = ((int)0x8C8F) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_BUFFER_BINDING_EXT = 0x8C8F + /// + TransformFeedbackBufferBindingExt = ((int)0x8C8F) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_BUFFER_BINDING_NV = 0x8C8F + /// + TransformFeedbackBufferBindingNv = ((int)0x8C8F) , + /// + /// Original was GL_LAYER_NV = 0x8DAA + /// + LayerNv = ((int)0x8DAA) , + /// + /// Original was GL_NEXT_BUFFER_NV = 2 + /// + NextBufferNv = ((int)2) , + /// + /// Original was GL_SKIP_COMPONENTS4_NV = 3 + /// + SkipComponents4Nv = ((int)3) , + /// + /// Original was GL_SKIP_COMPONENTS3_NV = 4 + /// + SkipComponents3Nv = ((int)4) , + /// + /// Original was GL_SKIP_COMPONENTS2_NV = 5 + /// + SkipComponents2Nv = ((int)5) , + /// + /// Original was GL_SKIP_COMPONENTS1_NV = 6 + /// + SkipComponents1Nv = ((int)6) , + } + + /// + /// Used in GL.NV.BindTransformFeedback, GL.NV.DrawTransformFeedback + /// + public enum NvTransformFeedback2 : int + { + /// + /// Original was GL_TRANSFORM_FEEDBACK_NV = 0x8E22 + /// + TransformFeedbackNv = ((int)0x8E22) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED_NV = 0x8E23 + /// + TransformFeedbackBufferPausedNv = ((int)0x8E23) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE_NV = 0x8E24 + /// + TransformFeedbackBufferActiveNv = ((int)0x8E24) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_BINDING_NV = 0x8E25 + /// + TransformFeedbackBindingNv = ((int)0x8E25) , + } + + /// + /// Used in GL.NV.VDPAUGetSurface, GL.NV.VDPAURegisterOutputSurface, GL.NV.VDPAURegisterVideoSurface, GL.NV.VDPAUSurfaceAccess + /// + public enum NvVdpauInterop : int + { + /// + /// Original was GL_SURFACE_STATE_NV = 0x86EB + /// + SurfaceStateNv = ((int)0x86EB) , + /// + /// Original was GL_SURFACE_REGISTERED_NV = 0x86FD + /// + SurfaceRegisteredNv = ((int)0x86FD) , + /// + /// Original was GL_SURFACE_MAPPED_NV = 0x8700 + /// + SurfaceMappedNv = ((int)0x8700) , + /// + /// Original was GL_WRITE_DISCARD_NV = 0x88BE + /// + WriteDiscardNv = ((int)0x88BE) , + } + + /// + /// Not used directly. + /// + public enum NvVertexArrayRange : int + { + /// + /// Original was GL_VERTEX_ARRAY_RANGE_NV = 0x851D + /// + VertexArrayRangeNv = ((int)0x851D) , + /// + /// Original was GL_VERTEX_ARRAY_RANGE_LENGTH_NV = 0x851E + /// + VertexArrayRangeLengthNv = ((int)0x851E) , + /// + /// Original was GL_VERTEX_ARRAY_RANGE_VALID_NV = 0x851F + /// + VertexArrayRangeValidNv = ((int)0x851F) , + /// + /// Original was GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV = 0x8520 + /// + MaxVertexArrayRangeElementNv = ((int)0x8520) , + /// + /// Original was GL_VERTEX_ARRAY_RANGE_POINTER_NV = 0x8521 + /// + VertexArrayRangePointerNv = ((int)0x8521) , + } + + /// + /// Not used directly. + /// + public enum NvVertexArrayRange2 : int + { + /// + /// Original was GL_VERTEX_ARRAY_RANGE_WITHOUT_FLUSH_NV = 0x8533 + /// + VertexArrayRangeWithoutFlushNv = ((int)0x8533) , + } + + /// + /// Used in GL.NV.GetVertexAttrib, GL.NV.VertexAttribLFormat + /// + public enum NvVertexAttribInteger64bit : int + { + /// + /// Original was GL_INT64_NV = 0x140E + /// + Int64Nv = ((int)0x140E) , + /// + /// Original was GL_UNSIGNED_INT64_NV = 0x140F + /// + UnsignedInt64Nv = ((int)0x140F) , + } + + /// + /// Used in GL.NV.BufferAddressRange, GL.NV.ColorFormat, GL.NV.FogCoordFormat, GL.NV.GetInteger, GL.NV.IndexFormat, GL.NV.NormalFormat, GL.NV.SecondaryColorFormat, GL.NV.TexCoordFormat, GL.NV.VertexAttribFormat, GL.NV.VertexAttribIFormat, GL.NV.VertexFormat + /// + public enum NvVertexBufferUnifiedMemory : int + { + /// + /// Original was GL_VERTEX_ATTRIB_ARRAY_UNIFIED_NV = 0x8F1E + /// + VertexAttribArrayUnifiedNv = ((int)0x8F1E) , + /// + /// Original was GL_ELEMENT_ARRAY_UNIFIED_NV = 0x8F1F + /// + ElementArrayUnifiedNv = ((int)0x8F1F) , + /// + /// Original was GL_VERTEX_ATTRIB_ARRAY_ADDRESS_NV = 0x8F20 + /// + VertexAttribArrayAddressNv = ((int)0x8F20) , + /// + /// Original was GL_VERTEX_ARRAY_ADDRESS_NV = 0x8F21 + /// + VertexArrayAddressNv = ((int)0x8F21) , + /// + /// Original was GL_NORMAL_ARRAY_ADDRESS_NV = 0x8F22 + /// + NormalArrayAddressNv = ((int)0x8F22) , + /// + /// Original was GL_COLOR_ARRAY_ADDRESS_NV = 0x8F23 + /// + ColorArrayAddressNv = ((int)0x8F23) , + /// + /// Original was GL_INDEX_ARRAY_ADDRESS_NV = 0x8F24 + /// + IndexArrayAddressNv = ((int)0x8F24) , + /// + /// Original was GL_TEXTURE_COORD_ARRAY_ADDRESS_NV = 0x8F25 + /// + TextureCoordArrayAddressNv = ((int)0x8F25) , + /// + /// Original was GL_EDGE_FLAG_ARRAY_ADDRESS_NV = 0x8F26 + /// + EdgeFlagArrayAddressNv = ((int)0x8F26) , + /// + /// Original was GL_SECONDARY_COLOR_ARRAY_ADDRESS_NV = 0x8F27 + /// + SecondaryColorArrayAddressNv = ((int)0x8F27) , + /// + /// Original was GL_FOG_COORD_ARRAY_ADDRESS_NV = 0x8F28 + /// + FogCoordArrayAddressNv = ((int)0x8F28) , + /// + /// Original was GL_ELEMENT_ARRAY_ADDRESS_NV = 0x8F29 + /// + ElementArrayAddressNv = ((int)0x8F29) , + /// + /// Original was GL_VERTEX_ATTRIB_ARRAY_LENGTH_NV = 0x8F2A + /// + VertexAttribArrayLengthNv = ((int)0x8F2A) , + /// + /// Original was GL_VERTEX_ARRAY_LENGTH_NV = 0x8F2B + /// + VertexArrayLengthNv = ((int)0x8F2B) , + /// + /// Original was GL_NORMAL_ARRAY_LENGTH_NV = 0x8F2C + /// + NormalArrayLengthNv = ((int)0x8F2C) , + /// + /// Original was GL_COLOR_ARRAY_LENGTH_NV = 0x8F2D + /// + ColorArrayLengthNv = ((int)0x8F2D) , + /// + /// Original was GL_INDEX_ARRAY_LENGTH_NV = 0x8F2E + /// + IndexArrayLengthNv = ((int)0x8F2E) , + /// + /// Original was GL_TEXTURE_COORD_ARRAY_LENGTH_NV = 0x8F2F + /// + TextureCoordArrayLengthNv = ((int)0x8F2F) , + /// + /// Original was GL_EDGE_FLAG_ARRAY_LENGTH_NV = 0x8F30 + /// + EdgeFlagArrayLengthNv = ((int)0x8F30) , + /// + /// Original was GL_SECONDARY_COLOR_ARRAY_LENGTH_NV = 0x8F31 + /// + SecondaryColorArrayLengthNv = ((int)0x8F31) , + /// + /// Original was GL_FOG_COORD_ARRAY_LENGTH_NV = 0x8F32 + /// + FogCoordArrayLengthNv = ((int)0x8F32) , + /// + /// Original was GL_ELEMENT_ARRAY_LENGTH_NV = 0x8F33 + /// + ElementArrayLengthNv = ((int)0x8F33) , + /// + /// Original was GL_DRAW_INDIRECT_UNIFIED_NV = 0x8F40 + /// + DrawIndirectUnifiedNv = ((int)0x8F40) , + /// + /// Original was GL_DRAW_INDIRECT_ADDRESS_NV = 0x8F41 + /// + DrawIndirectAddressNv = ((int)0x8F41) , + /// + /// Original was GL_DRAW_INDIRECT_LENGTH_NV = 0x8F42 + /// + DrawIndirectLengthNv = ((int)0x8F42) , + } + + /// + /// Used in GL.NV.GetProgram, GL.NV.GetProgramString, GL.NV.GetVertexAttrib, GL.NV.GetVertexAttribPointer, GL.NV.TrackMatrix + /// + public enum NvVertexProgram : int + { + /// + /// Original was GL_VERTEX_PROGRAM_NV = 0x8620 + /// + VertexProgramNv = ((int)0x8620) , + /// + /// Original was GL_VERTEX_STATE_PROGRAM_NV = 0x8621 + /// + VertexStateProgramNv = ((int)0x8621) , + /// + /// Original was GL_ATTRIB_ARRAY_SIZE_NV = 0x8623 + /// + AttribArraySizeNv = ((int)0x8623) , + /// + /// Original was GL_ATTRIB_ARRAY_STRIDE_NV = 0x8624 + /// + AttribArrayStrideNv = ((int)0x8624) , + /// + /// Original was GL_ATTRIB_ARRAY_TYPE_NV = 0x8625 + /// + AttribArrayTypeNv = ((int)0x8625) , + /// + /// Original was GL_CURRENT_ATTRIB_NV = 0x8626 + /// + CurrentAttribNv = ((int)0x8626) , + /// + /// Original was GL_PROGRAM_LENGTH_NV = 0x8627 + /// + ProgramLengthNv = ((int)0x8627) , + /// + /// Original was GL_PROGRAM_STRING_NV = 0x8628 + /// + ProgramStringNv = ((int)0x8628) , + /// + /// Original was GL_MODELVIEW_PROJECTION_NV = 0x8629 + /// + ModelviewProjectionNv = ((int)0x8629) , + /// + /// Original was GL_IDENTITY_NV = 0x862A + /// + IdentityNv = ((int)0x862A) , + /// + /// Original was GL_INVERSE_NV = 0x862B + /// + InverseNv = ((int)0x862B) , + /// + /// Original was GL_TRANSPOSE_NV = 0x862C + /// + TransposeNv = ((int)0x862C) , + /// + /// Original was GL_INVERSE_TRANSPOSE_NV = 0x862D + /// + InverseTransposeNv = ((int)0x862D) , + /// + /// Original was GL_MAX_TRACK_MATRIX_STACK_DEPTH_NV = 0x862E + /// + MaxTrackMatrixStackDepthNv = ((int)0x862E) , + /// + /// Original was GL_MAX_TRACK_MATRICES_NV = 0x862F + /// + MaxTrackMatricesNv = ((int)0x862F) , + /// + /// Original was GL_MATRIX0_NV = 0x8630 + /// + Matrix0Nv = ((int)0x8630) , + /// + /// Original was GL_MATRIX1_NV = 0x8631 + /// + Matrix1Nv = ((int)0x8631) , + /// + /// Original was GL_MATRIX2_NV = 0x8632 + /// + Matrix2Nv = ((int)0x8632) , + /// + /// Original was GL_MATRIX3_NV = 0x8633 + /// + Matrix3Nv = ((int)0x8633) , + /// + /// Original was GL_MATRIX4_NV = 0x8634 + /// + Matrix4Nv = ((int)0x8634) , + /// + /// Original was GL_MATRIX5_NV = 0x8635 + /// + Matrix5Nv = ((int)0x8635) , + /// + /// Original was GL_MATRIX6_NV = 0x8636 + /// + Matrix6Nv = ((int)0x8636) , + /// + /// Original was GL_MATRIX7_NV = 0x8637 + /// + Matrix7Nv = ((int)0x8637) , + /// + /// Original was GL_CURRENT_MATRIX_STACK_DEPTH_NV = 0x8640 + /// + CurrentMatrixStackDepthNv = ((int)0x8640) , + /// + /// Original was GL_CURRENT_MATRIX_NV = 0x8641 + /// + CurrentMatrixNv = ((int)0x8641) , + /// + /// Original was GL_VERTEX_PROGRAM_POINT_SIZE_NV = 0x8642 + /// + VertexProgramPointSizeNv = ((int)0x8642) , + /// + /// Original was GL_VERTEX_PROGRAM_TWO_SIDE_NV = 0x8643 + /// + VertexProgramTwoSideNv = ((int)0x8643) , + /// + /// Original was GL_PROGRAM_PARAMETER_NV = 0x8644 + /// + ProgramParameterNv = ((int)0x8644) , + /// + /// Original was GL_ATTRIB_ARRAY_POINTER_NV = 0x8645 + /// + AttribArrayPointerNv = ((int)0x8645) , + /// + /// Original was GL_PROGRAM_TARGET_NV = 0x8646 + /// + ProgramTargetNv = ((int)0x8646) , + /// + /// Original was GL_PROGRAM_RESIDENT_NV = 0x8647 + /// + ProgramResidentNv = ((int)0x8647) , + /// + /// Original was GL_TRACK_MATRIX_NV = 0x8648 + /// + TrackMatrixNv = ((int)0x8648) , + /// + /// Original was GL_TRACK_MATRIX_TRANSFORM_NV = 0x8649 + /// + TrackMatrixTransformNv = ((int)0x8649) , + /// + /// Original was GL_VERTEX_PROGRAM_BINDING_NV = 0x864A + /// + VertexProgramBindingNv = ((int)0x864A) , + /// + /// Original was GL_PROGRAM_ERROR_POSITION_NV = 0x864B + /// + ProgramErrorPositionNv = ((int)0x864B) , + /// + /// Original was GL_VERTEX_ATTRIB_ARRAY0_NV = 0x8650 + /// + VertexAttribArray0Nv = ((int)0x8650) , + /// + /// Original was GL_VERTEX_ATTRIB_ARRAY1_NV = 0x8651 + /// + VertexAttribArray1Nv = ((int)0x8651) , + /// + /// Original was GL_VERTEX_ATTRIB_ARRAY2_NV = 0x8652 + /// + VertexAttribArray2Nv = ((int)0x8652) , + /// + /// Original was GL_VERTEX_ATTRIB_ARRAY3_NV = 0x8653 + /// + VertexAttribArray3Nv = ((int)0x8653) , + /// + /// Original was GL_VERTEX_ATTRIB_ARRAY4_NV = 0x8654 + /// + VertexAttribArray4Nv = ((int)0x8654) , + /// + /// Original was GL_VERTEX_ATTRIB_ARRAY5_NV = 0x8655 + /// + VertexAttribArray5Nv = ((int)0x8655) , + /// + /// Original was GL_VERTEX_ATTRIB_ARRAY6_NV = 0x8656 + /// + VertexAttribArray6Nv = ((int)0x8656) , + /// + /// Original was GL_VERTEX_ATTRIB_ARRAY7_NV = 0x8657 + /// + VertexAttribArray7Nv = ((int)0x8657) , + /// + /// Original was GL_VERTEX_ATTRIB_ARRAY8_NV = 0x8658 + /// + VertexAttribArray8Nv = ((int)0x8658) , + /// + /// Original was GL_VERTEX_ATTRIB_ARRAY9_NV = 0x8659 + /// + VertexAttribArray9Nv = ((int)0x8659) , + /// + /// Original was GL_VERTEX_ATTRIB_ARRAY10_NV = 0x865A + /// + VertexAttribArray10Nv = ((int)0x865A) , + /// + /// Original was GL_VERTEX_ATTRIB_ARRAY11_NV = 0x865B + /// + VertexAttribArray11Nv = ((int)0x865B) , + /// + /// Original was GL_VERTEX_ATTRIB_ARRAY12_NV = 0x865C + /// + VertexAttribArray12Nv = ((int)0x865C) , + /// + /// Original was GL_VERTEX_ATTRIB_ARRAY13_NV = 0x865D + /// + VertexAttribArray13Nv = ((int)0x865D) , + /// + /// Original was GL_VERTEX_ATTRIB_ARRAY14_NV = 0x865E + /// + VertexAttribArray14Nv = ((int)0x865E) , + /// + /// Original was GL_VERTEX_ATTRIB_ARRAY15_NV = 0x865F + /// + VertexAttribArray15Nv = ((int)0x865F) , + /// + /// Original was GL_MAP1_VERTEX_ATTRIB0_4_NV = 0x8660 + /// + Map1VertexAttrib04Nv = ((int)0x8660) , + /// + /// Original was GL_MAP1_VERTEX_ATTRIB1_4_NV = 0x8661 + /// + Map1VertexAttrib14Nv = ((int)0x8661) , + /// + /// Original was GL_MAP1_VERTEX_ATTRIB2_4_NV = 0x8662 + /// + Map1VertexAttrib24Nv = ((int)0x8662) , + /// + /// Original was GL_MAP1_VERTEX_ATTRIB3_4_NV = 0x8663 + /// + Map1VertexAttrib34Nv = ((int)0x8663) , + /// + /// Original was GL_MAP1_VERTEX_ATTRIB4_4_NV = 0x8664 + /// + Map1VertexAttrib44Nv = ((int)0x8664) , + /// + /// Original was GL_MAP1_VERTEX_ATTRIB5_4_NV = 0x8665 + /// + Map1VertexAttrib54Nv = ((int)0x8665) , + /// + /// Original was GL_MAP1_VERTEX_ATTRIB6_4_NV = 0x8666 + /// + Map1VertexAttrib64Nv = ((int)0x8666) , + /// + /// Original was GL_MAP1_VERTEX_ATTRIB7_4_NV = 0x8667 + /// + Map1VertexAttrib74Nv = ((int)0x8667) , + /// + /// Original was GL_MAP1_VERTEX_ATTRIB8_4_NV = 0x8668 + /// + Map1VertexAttrib84Nv = ((int)0x8668) , + /// + /// Original was GL_MAP1_VERTEX_ATTRIB9_4_NV = 0x8669 + /// + Map1VertexAttrib94Nv = ((int)0x8669) , + /// + /// Original was GL_MAP1_VERTEX_ATTRIB10_4_NV = 0x866A + /// + Map1VertexAttrib104Nv = ((int)0x866A) , + /// + /// Original was GL_MAP1_VERTEX_ATTRIB11_4_NV = 0x866B + /// + Map1VertexAttrib114Nv = ((int)0x866B) , + /// + /// Original was GL_MAP1_VERTEX_ATTRIB12_4_NV = 0x866C + /// + Map1VertexAttrib124Nv = ((int)0x866C) , + /// + /// Original was GL_MAP1_VERTEX_ATTRIB13_4_NV = 0x866D + /// + Map1VertexAttrib134Nv = ((int)0x866D) , + /// + /// Original was GL_MAP1_VERTEX_ATTRIB14_4_NV = 0x866E + /// + Map1VertexAttrib144Nv = ((int)0x866E) , + /// + /// Original was GL_MAP1_VERTEX_ATTRIB15_4_NV = 0x866F + /// + Map1VertexAttrib154Nv = ((int)0x866F) , + /// + /// Original was GL_MAP2_VERTEX_ATTRIB0_4_NV = 0x8670 + /// + Map2VertexAttrib04Nv = ((int)0x8670) , + /// + /// Original was GL_MAP2_VERTEX_ATTRIB1_4_NV = 0x8671 + /// + Map2VertexAttrib14Nv = ((int)0x8671) , + /// + /// Original was GL_MAP2_VERTEX_ATTRIB2_4_NV = 0x8672 + /// + Map2VertexAttrib24Nv = ((int)0x8672) , + /// + /// Original was GL_MAP2_VERTEX_ATTRIB3_4_NV = 0x8673 + /// + Map2VertexAttrib34Nv = ((int)0x8673) , + /// + /// Original was GL_MAP2_VERTEX_ATTRIB4_4_NV = 0x8674 + /// + Map2VertexAttrib44Nv = ((int)0x8674) , + /// + /// Original was GL_MAP2_VERTEX_ATTRIB5_4_NV = 0x8675 + /// + Map2VertexAttrib54Nv = ((int)0x8675) , + /// + /// Original was GL_MAP2_VERTEX_ATTRIB6_4_NV = 0x8676 + /// + Map2VertexAttrib64Nv = ((int)0x8676) , + /// + /// Original was GL_MAP2_VERTEX_ATTRIB7_4_NV = 0x8677 + /// + Map2VertexAttrib74Nv = ((int)0x8677) , + /// + /// Original was GL_MAP2_VERTEX_ATTRIB8_4_NV = 0x8678 + /// + Map2VertexAttrib84Nv = ((int)0x8678) , + /// + /// Original was GL_MAP2_VERTEX_ATTRIB9_4_NV = 0x8679 + /// + Map2VertexAttrib94Nv = ((int)0x8679) , + /// + /// Original was GL_MAP2_VERTEX_ATTRIB10_4_NV = 0x867A + /// + Map2VertexAttrib104Nv = ((int)0x867A) , + /// + /// Original was GL_MAP2_VERTEX_ATTRIB11_4_NV = 0x867B + /// + Map2VertexAttrib114Nv = ((int)0x867B) , + /// + /// Original was GL_MAP2_VERTEX_ATTRIB12_4_NV = 0x867C + /// + Map2VertexAttrib124Nv = ((int)0x867C) , + /// + /// Original was GL_MAP2_VERTEX_ATTRIB13_4_NV = 0x867D + /// + Map2VertexAttrib134Nv = ((int)0x867D) , + /// + /// Original was GL_MAP2_VERTEX_ATTRIB14_4_NV = 0x867E + /// + Map2VertexAttrib144Nv = ((int)0x867E) , + /// + /// Original was GL_MAP2_VERTEX_ATTRIB15_4_NV = 0x867F + /// + Map2VertexAttrib154Nv = ((int)0x867F) , + } + + /// + /// Not used directly. + /// + public enum NvVertexProgram11 : int + { + } + + /// + /// Not used directly. + /// + public enum NvVertexProgram2 : int + { + } + + /// + /// Not used directly. + /// + public enum NvVertexProgram2Option : int + { + /// + /// Original was GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV = 0x88F4 + /// + MaxProgramExecInstructionsNv = ((int)0x88F4) , + /// + /// Original was GL_MAX_PROGRAM_CALL_DEPTH_NV = 0x88F5 + /// + MaxProgramCallDepthNv = ((int)0x88F5) , + } + + /// + /// Not used directly. + /// + public enum NvVertexProgram3 : int + { + /// + /// Original was GL_FRAGMENT_SHADER = 0x8B30 + /// + FragmentShader = ((int)0x8B30) , + /// + /// Original was GL_FRAGMENT_SHADER_ARB = 0x8B30 + /// + FragmentShaderArb = ((int)0x8B30) , + /// + /// Original was GL_VERTEX_SHADER = 0x8B31 + /// + VertexShader = ((int)0x8B31) , + /// + /// Original was GL_VERTEX_SHADER_ARB = 0x8B31 + /// + VertexShaderArb = ((int)0x8B31) , + /// + /// Original was GL_PROGRAM_OBJECT_ARB = 0x8B40 + /// + ProgramObjectArb = ((int)0x8B40) , + /// + /// Original was GL_SHADER_OBJECT_ARB = 0x8B48 + /// + ShaderObjectArb = ((int)0x8B48) , + /// + /// Original was GL_MAX_FRAGMENT_UNIFORM_COMPONENTS = 0x8B49 + /// + MaxFragmentUniformComponents = ((int)0x8B49) , + /// + /// Original was GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB = 0x8B49 + /// + MaxFragmentUniformComponentsArb = ((int)0x8B49) , + /// + /// Original was GL_MAX_VERTEX_UNIFORM_COMPONENTS = 0x8B4A + /// + MaxVertexUniformComponents = ((int)0x8B4A) , + /// + /// Original was GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB = 0x8B4A + /// + MaxVertexUniformComponentsArb = ((int)0x8B4A) , + /// + /// Original was GL_MAX_VARYING_FLOATS = 0x8B4B + /// + MaxVaryingFloats = ((int)0x8B4B) , + /// + /// Original was GL_MAX_VARYING_FLOATS_ARB = 0x8B4B + /// + MaxVaryingFloatsArb = ((int)0x8B4B) , + /// + /// Original was GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS = 0x8B4C + /// + MaxVertexTextureImageUnits = ((int)0x8B4C) , + /// + /// Original was GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB = 0x8B4C + /// + MaxVertexTextureImageUnitsArb = ((int)0x8B4C) , + /// + /// Original was GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS = 0x8B4D + /// + MaxCombinedTextureImageUnits = ((int)0x8B4D) , + /// + /// Original was GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB = 0x8B4D + /// + MaxCombinedTextureImageUnitsArb = ((int)0x8B4D) , + /// + /// Original was GL_OBJECT_TYPE_ARB = 0x8B4E + /// + ObjectTypeArb = ((int)0x8B4E) , + /// + /// Original was GL_OBJECT_SUBTYPE_ARB = 0x8B4F + /// + ObjectSubtypeArb = ((int)0x8B4F) , + /// + /// Original was GL_SHADER_TYPE = 0x8B4F + /// + ShaderType = ((int)0x8B4F) , + /// + /// Original was GL_FLOAT_VEC2 = 0x8B50 + /// + FloatVec2 = ((int)0x8B50) , + /// + /// Original was GL_FLOAT_VEC2_ARB = 0x8B50 + /// + FloatVec2Arb = ((int)0x8B50) , + /// + /// Original was GL_FLOAT_VEC3 = 0x8B51 + /// + FloatVec3 = ((int)0x8B51) , + /// + /// Original was GL_FLOAT_VEC3_ARB = 0x8B51 + /// + FloatVec3Arb = ((int)0x8B51) , + /// + /// Original was GL_FLOAT_VEC4 = 0x8B52 + /// + FloatVec4 = ((int)0x8B52) , + /// + /// Original was GL_FLOAT_VEC4_ARB = 0x8B52 + /// + FloatVec4Arb = ((int)0x8B52) , + /// + /// Original was GL_INT_VEC2 = 0x8B53 + /// + IntVec2 = ((int)0x8B53) , + /// + /// Original was GL_INT_VEC2_ARB = 0x8B53 + /// + IntVec2Arb = ((int)0x8B53) , + /// + /// Original was GL_INT_VEC3 = 0x8B54 + /// + IntVec3 = ((int)0x8B54) , + /// + /// Original was GL_INT_VEC3_ARB = 0x8B54 + /// + IntVec3Arb = ((int)0x8B54) , + /// + /// Original was GL_INT_VEC4 = 0x8B55 + /// + IntVec4 = ((int)0x8B55) , + /// + /// Original was GL_INT_VEC4_ARB = 0x8B55 + /// + IntVec4Arb = ((int)0x8B55) , + /// + /// Original was GL_BOOL = 0x8B56 + /// + Bool = ((int)0x8B56) , + /// + /// Original was GL_BOOL_ARB = 0x8B56 + /// + BoolArb = ((int)0x8B56) , + /// + /// Original was GL_BOOL_VEC2 = 0x8B57 + /// + BoolVec2 = ((int)0x8B57) , + /// + /// Original was GL_BOOL_VEC2_ARB = 0x8B57 + /// + BoolVec2Arb = ((int)0x8B57) , + /// + /// Original was GL_BOOL_VEC3 = 0x8B58 + /// + BoolVec3 = ((int)0x8B58) , + /// + /// Original was GL_BOOL_VEC3_ARB = 0x8B58 + /// + BoolVec3Arb = ((int)0x8B58) , + /// + /// Original was GL_BOOL_VEC4 = 0x8B59 + /// + BoolVec4 = ((int)0x8B59) , + /// + /// Original was GL_BOOL_VEC4_ARB = 0x8B59 + /// + BoolVec4Arb = ((int)0x8B59) , + /// + /// Original was GL_FLOAT_MAT2 = 0x8B5A + /// + FloatMat2 = ((int)0x8B5A) , + /// + /// Original was GL_FLOAT_MAT2_ARB = 0x8B5A + /// + FloatMat2Arb = ((int)0x8B5A) , + /// + /// Original was GL_FLOAT_MAT3 = 0x8B5B + /// + FloatMat3 = ((int)0x8B5B) , + /// + /// Original was GL_FLOAT_MAT3_ARB = 0x8B5B + /// + FloatMat3Arb = ((int)0x8B5B) , + /// + /// Original was GL_FLOAT_MAT4 = 0x8B5C + /// + FloatMat4 = ((int)0x8B5C) , + /// + /// Original was GL_FLOAT_MAT4_ARB = 0x8B5C + /// + FloatMat4Arb = ((int)0x8B5C) , + /// + /// Original was GL_SAMPLER_1D = 0x8B5D + /// + Sampler1D = ((int)0x8B5D) , + /// + /// Original was GL_SAMPLER_1D_ARB = 0x8B5D + /// + Sampler1DArb = ((int)0x8B5D) , + /// + /// Original was GL_SAMPLER_2D = 0x8B5E + /// + Sampler2D = ((int)0x8B5E) , + /// + /// Original was GL_SAMPLER_2D_ARB = 0x8B5E + /// + Sampler2DArb = ((int)0x8B5E) , + /// + /// Original was GL_SAMPLER_3D = 0x8B5F + /// + Sampler3D = ((int)0x8B5F) , + /// + /// Original was GL_SAMPLER_3D_ARB = 0x8B5F + /// + Sampler3DArb = ((int)0x8B5F) , + /// + /// Original was GL_SAMPLER_CUBE = 0x8B60 + /// + SamplerCube = ((int)0x8B60) , + /// + /// Original was GL_SAMPLER_CUBE_ARB = 0x8B60 + /// + SamplerCubeArb = ((int)0x8B60) , + /// + /// Original was GL_SAMPLER_1D_SHADOW = 0x8B61 + /// + Sampler1DShadow = ((int)0x8B61) , + /// + /// Original was GL_SAMPLER_1D_SHADOW_ARB = 0x8B61 + /// + Sampler1DShadowArb = ((int)0x8B61) , + /// + /// Original was GL_SAMPLER_2D_SHADOW = 0x8B62 + /// + Sampler2DShadow = ((int)0x8B62) , + /// + /// Original was GL_SAMPLER_2D_SHADOW_ARB = 0x8B62 + /// + Sampler2DShadowArb = ((int)0x8B62) , + /// + /// Original was GL_SAMPLER_2D_RECT_ARB = 0x8B63 + /// + Sampler2DRectArb = ((int)0x8B63) , + /// + /// Original was GL_SAMPLER_2D_RECT_SHADOW_ARB = 0x8B64 + /// + Sampler2DRectShadowArb = ((int)0x8B64) , + /// + /// Original was GL_FLOAT_MAT2x3 = 0x8B65 + /// + FloatMat2x3 = ((int)0x8B65) , + /// + /// Original was GL_FLOAT_MAT2x4 = 0x8B66 + /// + FloatMat2x4 = ((int)0x8B66) , + /// + /// Original was GL_FLOAT_MAT3x2 = 0x8B67 + /// + FloatMat3x2 = ((int)0x8B67) , + /// + /// Original was GL_FLOAT_MAT3x4 = 0x8B68 + /// + FloatMat3x4 = ((int)0x8B68) , + /// + /// Original was GL_FLOAT_MAT4x2 = 0x8B69 + /// + FloatMat4x2 = ((int)0x8B69) , + /// + /// Original was GL_FLOAT_MAT4x3 = 0x8B6A + /// + FloatMat4x3 = ((int)0x8B6A) , + /// + /// Original was GL_DELETE_STATUS = 0x8B80 + /// + DeleteStatus = ((int)0x8B80) , + /// + /// Original was GL_OBJECT_DELETE_STATUS_ARB = 0x8B80 + /// + ObjectDeleteStatusArb = ((int)0x8B80) , + /// + /// Original was GL_COMPILE_STATUS = 0x8B81 + /// + CompileStatus = ((int)0x8B81) , + /// + /// Original was GL_OBJECT_COMPILE_STATUS_ARB = 0x8B81 + /// + ObjectCompileStatusArb = ((int)0x8B81) , + /// + /// Original was GL_LINK_STATUS = 0x8B82 + /// + LinkStatus = ((int)0x8B82) , + /// + /// Original was GL_OBJECT_LINK_STATUS_ARB = 0x8B82 + /// + ObjectLinkStatusArb = ((int)0x8B82) , + /// + /// Original was GL_OBJECT_VALIDATE_STATUS_ARB = 0x8B83 + /// + ObjectValidateStatusArb = ((int)0x8B83) , + /// + /// Original was GL_VALIDATE_STATUS = 0x8B83 + /// + ValidateStatus = ((int)0x8B83) , + /// + /// Original was GL_INFO_LOG_LENGTH = 0x8B84 + /// + InfoLogLength = ((int)0x8B84) , + /// + /// Original was GL_OBJECT_INFO_LOG_LENGTH_ARB = 0x8B84 + /// + ObjectInfoLogLengthArb = ((int)0x8B84) , + /// + /// Original was GL_ATTACHED_SHADERS = 0x8B85 + /// + AttachedShaders = ((int)0x8B85) , + /// + /// Original was GL_OBJECT_ATTACHED_OBJECTS_ARB = 0x8B85 + /// + ObjectAttachedObjectsArb = ((int)0x8B85) , + /// + /// Original was GL_ACTIVE_UNIFORMS = 0x8B86 + /// + ActiveUniforms = ((int)0x8B86) , + /// + /// Original was GL_OBJECT_ACTIVE_UNIFORMS_ARB = 0x8B86 + /// + ObjectActiveUniformsArb = ((int)0x8B86) , + /// + /// Original was GL_ACTIVE_UNIFORM_MAX_LENGTH = 0x8B87 + /// + ActiveUniformMaxLength = ((int)0x8B87) , + /// + /// Original was GL_OBJECT_ACTIVE_UNIFORM_MAX_LENGTH_ARB = 0x8B87 + /// + ObjectActiveUniformMaxLengthArb = ((int)0x8B87) , + /// + /// Original was GL_OBJECT_SHADER_SOURCE_LENGTH_ARB = 0x8B88 + /// + ObjectShaderSourceLengthArb = ((int)0x8B88) , + /// + /// Original was GL_SHADER_SOURCE_LENGTH = 0x8B88 + /// + ShaderSourceLength = ((int)0x8B88) , + /// + /// Original was GL_ACTIVE_ATTRIBUTES = 0x8B89 + /// + ActiveAttributes = ((int)0x8B89) , + /// + /// Original was GL_OBJECT_ACTIVE_ATTRIBUTES_ARB = 0x8B89 + /// + ObjectActiveAttributesArb = ((int)0x8B89) , + /// + /// Original was GL_ACTIVE_ATTRIBUTE_MAX_LENGTH = 0x8B8A + /// + ActiveAttributeMaxLength = ((int)0x8B8A) , + /// + /// Original was GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB = 0x8B8A + /// + ObjectActiveAttributeMaxLengthArb = ((int)0x8B8A) , + /// + /// Original was GL_FRAGMENT_SHADER_DERIVATIVE_HINT = 0x8B8B + /// + FragmentShaderDerivativeHint = ((int)0x8B8B) , + /// + /// Original was GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB = 0x8B8B + /// + FragmentShaderDerivativeHintArb = ((int)0x8B8B) , + /// + /// Original was GL_SHADING_LANGUAGE_VERSION = 0x8B8C + /// + ShadingLanguageVersion = ((int)0x8B8C) , + /// + /// Original was GL_SHADING_LANGUAGE_VERSION_ARB = 0x8B8C + /// + ShadingLanguageVersionArb = ((int)0x8B8C) , + } + + /// + /// Used in GL.Ext.GetVertexAttribI, GL.Ext.VertexAttribIPointer + /// + public enum NvVertexProgram4 : int + { + /// + /// Original was GL_VERTEX_ATTRIB_ARRAY_INTEGER_NV = 0x88FD + /// + VertexAttribArrayIntegerNv = ((int)0x88FD) , + } + + /// + /// Used in GL.NV.BindVideoCaptureStreamBuffer, GL.NV.BindVideoCaptureStreamTexture, GL.NV.GetVideoCapture, GL.NV.GetVideoCaptureStream, GL.NV.VideoCaptureStreamParameter + /// + public enum NvVideoCapture : int + { + /// + /// Original was GL_VIDEO_BUFFER_NV = 0x9020 + /// + VideoBufferNv = ((int)0x9020) , + /// + /// Original was GL_VIDEO_BUFFER_BINDING_NV = 0x9021 + /// + VideoBufferBindingNv = ((int)0x9021) , + /// + /// Original was GL_FIELD_UPPER_NV = 0x9022 + /// + FieldUpperNv = ((int)0x9022) , + /// + /// Original was GL_FIELD_LOWER_NV = 0x9023 + /// + FieldLowerNv = ((int)0x9023) , + /// + /// Original was GL_NUM_VIDEO_CAPTURE_STREAMS_NV = 0x9024 + /// + NumVideoCaptureStreamsNv = ((int)0x9024) , + /// + /// Original was GL_NEXT_VIDEO_CAPTURE_BUFFER_STATUS_NV = 0x9025 + /// + NextVideoCaptureBufferStatusNv = ((int)0x9025) , + /// + /// Original was GL_VIDEO_CAPTURE_TO_422_SUPPORTED_NV = 0x9026 + /// + VideoCaptureTo422SupportedNv = ((int)0x9026) , + /// + /// Original was GL_LAST_VIDEO_CAPTURE_STATUS_NV = 0x9027 + /// + LastVideoCaptureStatusNv = ((int)0x9027) , + /// + /// Original was GL_VIDEO_BUFFER_PITCH_NV = 0x9028 + /// + VideoBufferPitchNv = ((int)0x9028) , + /// + /// Original was GL_VIDEO_COLOR_CONVERSION_MATRIX_NV = 0x9029 + /// + VideoColorConversionMatrixNv = ((int)0x9029) , + /// + /// Original was GL_VIDEO_COLOR_CONVERSION_MAX_NV = 0x902A + /// + VideoColorConversionMaxNv = ((int)0x902A) , + /// + /// Original was GL_VIDEO_COLOR_CONVERSION_MIN_NV = 0x902B + /// + VideoColorConversionMinNv = ((int)0x902B) , + /// + /// Original was GL_VIDEO_COLOR_CONVERSION_OFFSET_NV = 0x902C + /// + VideoColorConversionOffsetNv = ((int)0x902C) , + /// + /// Original was GL_VIDEO_BUFFER_INTERNAL_FORMAT_NV = 0x902D + /// + VideoBufferInternalFormatNv = ((int)0x902D) , + /// + /// Original was GL_PARTIAL_SUCCESS_NV = 0x902E + /// + PartialSuccessNv = ((int)0x902E) , + /// + /// Original was GL_SUCCESS_NV = 0x902F + /// + SuccessNv = ((int)0x902F) , + /// + /// Original was GL_FAILURE_NV = 0x9030 + /// + FailureNv = ((int)0x9030) , + /// + /// Original was GL_YCBYCR8_422_NV = 0x9031 + /// + Ycbycr8422Nv = ((int)0x9031) , + /// + /// Original was GL_YCBAYCR8A_4224_NV = 0x9032 + /// + Ycbaycr8A4224Nv = ((int)0x9032) , + /// + /// Original was GL_Z6Y10Z6CB10Z6Y10Z6CR10_422_NV = 0x9033 + /// + Z6y10z6cb10z6y10z6cr10422Nv = ((int)0x9033) , + /// + /// Original was GL_Z6Y10Z6CB10Z6A10Z6Y10Z6CR10Z6A10_4224_NV = 0x9034 + /// + Z6y10z6cb10z6A10z6y10z6cr10z6A104224Nv = ((int)0x9034) , + /// + /// Original was GL_Z4Y12Z4CB12Z4Y12Z4CR12_422_NV = 0x9035 + /// + Z4y12z4cb12z4y12z4cr12422Nv = ((int)0x9035) , + /// + /// Original was GL_Z4Y12Z4CB12Z4A12Z4Y12Z4CR12Z4A12_4224_NV = 0x9036 + /// + Z4y12z4cb12z4A12z4y12z4cr12z4A124224Nv = ((int)0x9036) , + /// + /// Original was GL_Z4Y12Z4CB12Z4CR12_444_NV = 0x9037 + /// + Z4y12z4cb12z4cr12444Nv = ((int)0x9037) , + /// + /// Original was GL_VIDEO_CAPTURE_FRAME_WIDTH_NV = 0x9038 + /// + VideoCaptureFrameWidthNv = ((int)0x9038) , + /// + /// Original was GL_VIDEO_CAPTURE_FRAME_HEIGHT_NV = 0x9039 + /// + VideoCaptureFrameHeightNv = ((int)0x9039) , + /// + /// Original was GL_VIDEO_CAPTURE_FIELD_UPPER_HEIGHT_NV = 0x903A + /// + VideoCaptureFieldUpperHeightNv = ((int)0x903A) , + /// + /// Original was GL_VIDEO_CAPTURE_FIELD_LOWER_HEIGHT_NV = 0x903B + /// + VideoCaptureFieldLowerHeightNv = ((int)0x903B) , + /// + /// Original was GL_VIDEO_CAPTURE_SURFACE_ORIGIN_NV = 0x903C + /// + VideoCaptureSurfaceOriginNv = ((int)0x903C) , + } + + /// + /// Not used directly. + /// + public enum OesBlendEquationSeparate : int + { + /// + /// Original was GL_BLEND_EQUATION_RGB_OES = 0x8009 + /// + BlendEquationRgbOes = ((int)0x8009) , + /// + /// Original was GL_BLEND_EQUATION_ALPHA_OES = 0x883D + /// + BlendEquationAlphaOes = ((int)0x883D) , + } + + /// + /// Not used directly. + /// + public enum OesBlendFuncSeparate : int + { + /// + /// Original was GL_BLEND_DST_RGB_OES = 0x80C8 + /// + BlendDstRgbOes = ((int)0x80C8) , + /// + /// Original was GL_BLEND_SRC_RGB_OES = 0x80C9 + /// + BlendSrcRgbOes = ((int)0x80C9) , + /// + /// Original was GL_BLEND_DST_ALPHA_OES = 0x80CA + /// + BlendDstAlphaOes = ((int)0x80CA) , + /// + /// Original was GL_BLEND_SRC_ALPHA_OES = 0x80CB + /// + BlendSrcAlphaOes = ((int)0x80CB) , + } + + /// + /// Not used directly. + /// + public enum OesBlendSubtract : int + { + /// + /// Original was GL_FUNC_ADD_OES = 0x8006 + /// + FuncAddOes = ((int)0x8006) , + /// + /// Original was GL_BLEND_EQUATION_OES = 0x8009 + /// + BlendEquationOes = ((int)0x8009) , + /// + /// Original was GL_FUNC_SUBTRACT_OES = 0x800A + /// + FuncSubtractOes = ((int)0x800A) , + /// + /// Original was GL_FUNC_REVERSE_SUBTRACT_OES = 0x800B + /// + FuncReverseSubtractOes = ((int)0x800B) , + } + + /// + /// Not used directly. + /// + public enum OesCompressedEtc1Rgb8Texture : int + { + /// + /// Original was GL_ETC1_RGB8_OES = 0x8D64 + /// + Etc1Rgb8Oes = ((int)0x8D64) , + } + + /// + /// Not used directly. + /// + public enum OesCompressedPalettedTexture : int + { + /// + /// Original was GL_PALETTE4_RGB8_OES = 0x8B90 + /// + Palette4Rgb8Oes = ((int)0x8B90) , + /// + /// Original was GL_PALETTE4_RGBA8_OES = 0x8B91 + /// + Palette4Rgba8Oes = ((int)0x8B91) , + /// + /// Original was GL_PALETTE4_R5_G6_B5_OES = 0x8B92 + /// + Palette4R5G6B5Oes = ((int)0x8B92) , + /// + /// Original was GL_PALETTE4_RGBA4_OES = 0x8B93 + /// + Palette4Rgba4Oes = ((int)0x8B93) , + /// + /// Original was GL_PALETTE4_RGB5_A1_OES = 0x8B94 + /// + Palette4Rgb5A1Oes = ((int)0x8B94) , + /// + /// Original was GL_PALETTE8_RGB8_OES = 0x8B95 + /// + Palette8Rgb8Oes = ((int)0x8B95) , + /// + /// Original was GL_PALETTE8_RGBA8_OES = 0x8B96 + /// + Palette8Rgba8Oes = ((int)0x8B96) , + /// + /// Original was GL_PALETTE8_R5_G6_B5_OES = 0x8B97 + /// + Palette8R5G6B5Oes = ((int)0x8B97) , + /// + /// Original was GL_PALETTE8_RGBA4_OES = 0x8B98 + /// + Palette8Rgba4Oes = ((int)0x8B98) , + /// + /// Original was GL_PALETTE8_RGB5_A1_OES = 0x8B99 + /// + Palette8Rgb5A1Oes = ((int)0x8B99) , + } + + /// + /// Not used directly. + /// + public enum OesDepth24 : int + { + /// + /// Original was GL_DEPTH_COMPONENT24_OES = 0x81A6 + /// + DepthComponent24Oes = ((int)0x81A6) , + } + + /// + /// Not used directly. + /// + public enum OesDepth32 : int + { + /// + /// Original was GL_DEPTH_COMPONENT32_OES = 0x81A7 + /// + DepthComponent32Oes = ((int)0x81A7) , + } + + /// + /// Not used directly. + /// + public enum OesDepthTexture : int + { + } + + /// + /// Not used directly. + /// + public enum OesDrawTexture : int + { + /// + /// Original was GL_TEXTURE_CROP_RECT_OES = 0x8B9D + /// + TextureCropRectOes = ((int)0x8B9D) , + } + + /// + /// Not used directly. + /// + public enum OesEglImageExternal : int + { + /// + /// Original was GL_TEXTURE_EXTERNAL_OES = 0x8D65 + /// + TextureExternalOes = ((int)0x8D65) , + /// + /// Original was GL_SAMPLER_EXTERNAL_OES = 0x8D66 + /// + SamplerExternalOes = ((int)0x8D66) , + /// + /// Original was GL_TEXTURE_BINDING_EXTERNAL_OES = 0x8D67 + /// + TextureBindingExternalOes = ((int)0x8D67) , + /// + /// Original was GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES = 0x8D68 + /// + RequiredTextureImageUnitsOes = ((int)0x8D68) , + } + + /// + /// Not used directly. + /// + public enum OesElementIndexUint : int + { + } + + /// + /// Not used directly. + /// + public enum OesFixedPoint : int + { + /// + /// Original was GL_FIXED_OES = 0x140C + /// + FixedOes = ((int)0x140C) , + } + + /// + /// Not used directly. + /// + public enum OesFramebufferObject : int + { + /// + /// Original was GL_INVALID_FRAMEBUFFER_OPERATION_OES = 0x0506 + /// + InvalidFramebufferOperationOes = ((int)0x0506) , + /// + /// Original was GL_RGBA4_OES = 0x8056 + /// + Rgba4Oes = ((int)0x8056) , + /// + /// Original was GL_RGB5_A1_OES = 0x8057 + /// + Rgb5A1Oes = ((int)0x8057) , + /// + /// Original was GL_DEPTH_COMPONENT16_OES = 0x81A5 + /// + DepthComponent16Oes = ((int)0x81A5) , + /// + /// Original was GL_MAX_RENDERBUFFER_SIZE_OES = 0x84E8 + /// + MaxRenderbufferSizeOes = ((int)0x84E8) , + /// + /// Original was GL_FRAMEBUFFER_BINDING_OES = 0x8CA6 + /// + FramebufferBindingOes = ((int)0x8CA6) , + /// + /// Original was GL_RENDERBUFFER_BINDING_OES = 0x8CA7 + /// + RenderbufferBindingOes = ((int)0x8CA7) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_OES = 0x8CD0 + /// + FramebufferAttachmentObjectTypeOes = ((int)0x8CD0) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_OES = 0x8CD1 + /// + FramebufferAttachmentObjectNameOes = ((int)0x8CD1) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_OES = 0x8CD2 + /// + FramebufferAttachmentTextureLevelOes = ((int)0x8CD2) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_OES = 0x8CD3 + /// + FramebufferAttachmentTextureCubeMapFaceOes = ((int)0x8CD3) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_OES = 0x8CD4 + /// + FramebufferAttachmentTexture3DZoffsetOes = ((int)0x8CD4) , + /// + /// Original was GL_FRAMEBUFFER_COMPLETE_OES = 0x8CD5 + /// + FramebufferCompleteOes = ((int)0x8CD5) , + /// + /// Original was GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_OES = 0x8CD6 + /// + FramebufferIncompleteAttachmentOes = ((int)0x8CD6) , + /// + /// Original was GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_OES = 0x8CD7 + /// + FramebufferIncompleteMissingAttachmentOes = ((int)0x8CD7) , + /// + /// Original was GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_OES = 0x8CD9 + /// + FramebufferIncompleteDimensionsOes = ((int)0x8CD9) , + /// + /// Original was GL_FRAMEBUFFER_INCOMPLETE_FORMATS_OES = 0x8CDA + /// + FramebufferIncompleteFormatsOes = ((int)0x8CDA) , + /// + /// Original was GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_OES = 0x8CDB + /// + FramebufferIncompleteDrawBufferOes = ((int)0x8CDB) , + /// + /// Original was GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_OES = 0x8CDC + /// + FramebufferIncompleteReadBufferOes = ((int)0x8CDC) , + /// + /// Original was GL_FRAMEBUFFER_UNSUPPORTED_OES = 0x8CDD + /// + FramebufferUnsupportedOes = ((int)0x8CDD) , + /// + /// Original was GL_COLOR_ATTACHMENT0_OES = 0x8CE0 + /// + ColorAttachment0Oes = ((int)0x8CE0) , + /// + /// Original was GL_DEPTH_ATTACHMENT_OES = 0x8D00 + /// + DepthAttachmentOes = ((int)0x8D00) , + /// + /// Original was GL_STENCIL_ATTACHMENT_OES = 0x8D20 + /// + StencilAttachmentOes = ((int)0x8D20) , + /// + /// Original was GL_FRAMEBUFFER_OES = 0x8D40 + /// + FramebufferOes = ((int)0x8D40) , + /// + /// Original was GL_RENDERBUFFER_OES = 0x8D41 + /// + RenderbufferOes = ((int)0x8D41) , + /// + /// Original was GL_RENDERBUFFER_WIDTH_OES = 0x8D42 + /// + RenderbufferWidthOes = ((int)0x8D42) , + /// + /// Original was GL_RENDERBUFFER_HEIGHT_OES = 0x8D43 + /// + RenderbufferHeightOes = ((int)0x8D43) , + /// + /// Original was GL_RENDERBUFFER_INTERNAL_FORMAT_OES = 0x8D44 + /// + RenderbufferInternalFormatOes = ((int)0x8D44) , + /// + /// Original was GL_STENCIL_INDEX1_OES = 0x8D46 + /// + StencilIndex1Oes = ((int)0x8D46) , + /// + /// Original was GL_STENCIL_INDEX4_OES = 0x8D47 + /// + StencilIndex4Oes = ((int)0x8D47) , + /// + /// Original was GL_STENCIL_INDEX8_OES = 0x8D48 + /// + StencilIndex8Oes = ((int)0x8D48) , + /// + /// Original was GL_RENDERBUFFER_RED_SIZE_OES = 0x8D50 + /// + RenderbufferRedSizeOes = ((int)0x8D50) , + /// + /// Original was GL_RENDERBUFFER_GREEN_SIZE_OES = 0x8D51 + /// + RenderbufferGreenSizeOes = ((int)0x8D51) , + /// + /// Original was GL_RENDERBUFFER_BLUE_SIZE_OES = 0x8D52 + /// + RenderbufferBlueSizeOes = ((int)0x8D52) , + /// + /// Original was GL_RENDERBUFFER_ALPHA_SIZE_OES = 0x8D53 + /// + RenderbufferAlphaSizeOes = ((int)0x8D53) , + /// + /// Original was GL_RENDERBUFFER_DEPTH_SIZE_OES = 0x8D54 + /// + RenderbufferDepthSizeOes = ((int)0x8D54) , + /// + /// Original was GL_RENDERBUFFER_STENCIL_SIZE_OES = 0x8D55 + /// + RenderbufferStencilSizeOes = ((int)0x8D55) , + /// + /// Original was GL_RGB565_OES = 0x8D62 + /// + Rgb565Oes = ((int)0x8D62) , + } + + /// + /// Not used directly. + /// + public enum OesGetProgramBinary : int + { + /// + /// Original was GL_PROGRAM_BINARY_LENGTH_OES = 0x8741 + /// + ProgramBinaryLengthOes = ((int)0x8741) , + /// + /// Original was GL_NUM_PROGRAM_BINARY_FORMATS_OES = 0x87FE + /// + NumProgramBinaryFormatsOes = ((int)0x87FE) , + /// + /// Original was GL_PROGRAM_BINARY_FORMATS_OES = 0x87FF + /// + ProgramBinaryFormatsOes = ((int)0x87FF) , + } + + /// + /// Not used directly. + /// + public enum OesMapbuffer : int + { + /// + /// Original was GL_WRITE_ONLY_OES = 0x88B9 + /// + WriteOnlyOes = ((int)0x88B9) , + /// + /// Original was GL_BUFFER_ACCESS_OES = 0x88BB + /// + BufferAccessOes = ((int)0x88BB) , + /// + /// Original was GL_BUFFER_MAPPED_OES = 0x88BC + /// + BufferMappedOes = ((int)0x88BC) , + /// + /// Original was GL_BUFFER_MAP_POINTER_OES = 0x88BD + /// + BufferMapPointerOes = ((int)0x88BD) , + } + + /// + /// Not used directly. + /// + public enum OesMatrixGet : int + { + /// + /// Original was GL_MODELVIEW_MATRIX_FLOAT_AS_INT_BITS_OES = 0x898D + /// + ModelviewMatrixFloatAsIntBitsOes = ((int)0x898D) , + /// + /// Original was GL_PROJECTION_MATRIX_FLOAT_AS_INT_BITS_OES = 0x898E + /// + ProjectionMatrixFloatAsIntBitsOes = ((int)0x898E) , + /// + /// Original was GL_TEXTURE_MATRIX_FLOAT_AS_INT_BITS_OES = 0x898F + /// + TextureMatrixFloatAsIntBitsOes = ((int)0x898F) , + } + + /// + /// Not used directly. + /// + public enum OesMatrixPalette : int + { + /// + /// Original was GL_MAX_VERTEX_UNITS_OES = 0x86A4 + /// + MaxVertexUnitsOes = ((int)0x86A4) , + /// + /// Original was GL_WEIGHT_ARRAY_TYPE_OES = 0x86A9 + /// + WeightArrayTypeOes = ((int)0x86A9) , + /// + /// Original was GL_WEIGHT_ARRAY_STRIDE_OES = 0x86AA + /// + WeightArrayStrideOes = ((int)0x86AA) , + /// + /// Original was GL_WEIGHT_ARRAY_SIZE_OES = 0x86AB + /// + WeightArraySizeOes = ((int)0x86AB) , + /// + /// Original was GL_WEIGHT_ARRAY_POINTER_OES = 0x86AC + /// + WeightArrayPointerOes = ((int)0x86AC) , + /// + /// Original was GL_WEIGHT_ARRAY_OES = 0x86AD + /// + WeightArrayOes = ((int)0x86AD) , + /// + /// Original was GL_MATRIX_PALETTE_OES = 0x8840 + /// + MatrixPaletteOes = ((int)0x8840) , + /// + /// Original was GL_MAX_PALETTE_MATRICES_OES = 0x8842 + /// + MaxPaletteMatricesOes = ((int)0x8842) , + /// + /// Original was GL_CURRENT_PALETTE_MATRIX_OES = 0x8843 + /// + CurrentPaletteMatrixOes = ((int)0x8843) , + /// + /// Original was GL_MATRIX_INDEX_ARRAY_OES = 0x8844 + /// + MatrixIndexArrayOes = ((int)0x8844) , + /// + /// Original was GL_MATRIX_INDEX_ARRAY_SIZE_OES = 0x8846 + /// + MatrixIndexArraySizeOes = ((int)0x8846) , + /// + /// Original was GL_MATRIX_INDEX_ARRAY_TYPE_OES = 0x8847 + /// + MatrixIndexArrayTypeOes = ((int)0x8847) , + /// + /// Original was GL_MATRIX_INDEX_ARRAY_STRIDE_OES = 0x8848 + /// + MatrixIndexArrayStrideOes = ((int)0x8848) , + /// + /// Original was GL_MATRIX_INDEX_ARRAY_POINTER_OES = 0x8849 + /// + MatrixIndexArrayPointerOes = ((int)0x8849) , + /// + /// Original was GL_WEIGHT_ARRAY_BUFFER_BINDING_OES = 0x889E + /// + WeightArrayBufferBindingOes = ((int)0x889E) , + /// + /// Original was GL_MATRIX_INDEX_ARRAY_BUFFER_BINDING_OES = 0x8B9E + /// + MatrixIndexArrayBufferBindingOes = ((int)0x8B9E) , + } + + /// + /// Not used directly. + /// + public enum OesPackedDepthStencil : int + { + /// + /// Original was GL_DEPTH_STENCIL_OES = 0x84F9 + /// + DepthStencilOes = ((int)0x84F9) , + /// + /// Original was GL_UNSIGNED_INT_24_8_OES = 0x84FA + /// + UnsignedInt248Oes = ((int)0x84FA) , + /// + /// Original was GL_DEPTH24_STENCIL8_OES = 0x88F0 + /// + Depth24Stencil8Oes = ((int)0x88F0) , + } + + /// + /// Not used directly. + /// + public enum OesPointSizeArray : int + { + /// + /// Original was GL_POINT_SIZE_ARRAY_TYPE_OES = 0x898A + /// + PointSizeArrayTypeOes = ((int)0x898A) , + /// + /// Original was GL_POINT_SIZE_ARRAY_STRIDE_OES = 0x898B + /// + PointSizeArrayStrideOes = ((int)0x898B) , + /// + /// Original was GL_POINT_SIZE_ARRAY_POINTER_OES = 0x898C + /// + PointSizeArrayPointerOes = ((int)0x898C) , + /// + /// Original was GL_POINT_SIZE_ARRAY_OES = 0x8B9C + /// + PointSizeArrayOes = ((int)0x8B9C) , + /// + /// Original was GL_POINT_SIZE_ARRAY_BUFFER_BINDING_OES = 0x8B9F + /// + PointSizeArrayBufferBindingOes = ((int)0x8B9F) , + } + + /// + /// Not used directly. + /// + public enum OesPointSprite : int + { + /// + /// Original was GL_POINT_SPRITE_ARB = 0x8861 + /// + PointSpriteArb = ((int)0x8861) , + /// + /// Original was GL_COORD_REPLACE_ARB = 0x8862 + /// + CoordReplaceArb = ((int)0x8862) , + } + + /// + /// Not used directly. + /// + public enum OesReadFormat : int + { + /// + /// Original was GL_IMPLEMENTATION_COLOR_READ_TYPE_OES = 0x8B9A + /// + ImplementationColorReadTypeOes = ((int)0x8B9A) , + /// + /// Original was GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES = 0x8B9B + /// + ImplementationColorReadFormatOes = ((int)0x8B9B) , + } + + /// + /// Not used directly. + /// + public enum OesRgb8Rgba8 : int + { + /// + /// Original was GL_RGB8 = 0x8051 + /// + Rgb8 = ((int)0x8051) , + /// + /// Original was GL_RGBA8 = 0x8058 + /// + Rgba8 = ((int)0x8058) , + } + + /// + /// Not used directly. + /// + public enum OesStandardDerivatives : int + { + /// + /// Original was GL_FRAGMENT_SHADER_DERIVATIVE_HINT_OES = 0x8B8B + /// + FragmentShaderDerivativeHintOes = ((int)0x8B8B) , + } + + /// + /// Not used directly. + /// + public enum OesStencil1 : int + { + /// + /// Original was GL_STENCIL_INDEX1_OES = 0x8D46 + /// + StencilIndex1Oes = ((int)0x8D46) , + } + + /// + /// Not used directly. + /// + public enum OesStencil4 : int + { + /// + /// Original was GL_STENCIL_INDEX4_OES = 0x8D47 + /// + StencilIndex4Oes = ((int)0x8D47) , + } + + /// + /// Not used directly. + /// + public enum OesStencil8 : int + { + /// + /// Original was GL_STENCIL_INDEX8_OES = 0x8D48 + /// + StencilIndex8Oes = ((int)0x8D48) , + } + + /// + /// Not used directly. + /// + public enum OesStencilWrap : int + { + /// + /// Original was GL_INCR_WRAP_OES = 0x8507 + /// + IncrWrapOes = ((int)0x8507) , + /// + /// Original was GL_DECR_WRAP_OES = 0x8508 + /// + DecrWrapOes = ((int)0x8508) , + } + + /// + /// Not used directly. + /// + public enum OesTexture3D : int + { + /// + /// Original was GL_TEXTURE_3D_BINDING_OES = 0x806A + /// + Texture3DBindingOes = ((int)0x806A) , + /// + /// Original was GL_TEXTURE_3D_OES = 0x806F + /// + Texture3DOes = ((int)0x806F) , + /// + /// Original was GL_TEXTURE_WRAP_R_OES = 0x8072 + /// + TextureWrapROes = ((int)0x8072) , + /// + /// Original was GL_MAX_3D_TEXTURE_SIZE_OES = 0x8073 + /// + Max3DTextureSizeOes = ((int)0x8073) , + /// + /// Original was GL_SAMPLER_3D_OES = 0x8B5F + /// + Sampler3DOes = ((int)0x8B5F) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_OES = 0x8CD4 + /// + FramebufferAttachmentTexture3DZoffsetOes = ((int)0x8CD4) , + } + + /// + /// Not used directly. + /// + public enum OesTextureCubeMap : int + { + /// + /// Original was GL_TEXTURE_GEN_MODE = 0x2500 + /// + TextureGenMode = ((int)0x2500) , + /// + /// Original was GL_NORMAL_MAP_OES = 0x8511 + /// + NormalMapOes = ((int)0x8511) , + /// + /// Original was GL_REFLECTION_MAP_OES = 0x8512 + /// + ReflectionMapOes = ((int)0x8512) , + /// + /// Original was GL_TEXTURE_CUBE_MAP_OES = 0x8513 + /// + TextureCubeMapOes = ((int)0x8513) , + /// + /// Original was GL_TEXTURE_BINDING_CUBE_MAP_OES = 0x8514 + /// + TextureBindingCubeMapOes = ((int)0x8514) , + /// + /// Original was GL_TEXTURE_CUBE_MAP_POSITIVE_X_OES = 0x8515 + /// + TextureCubeMapPositiveXOes = ((int)0x8515) , + /// + /// Original was GL_TEXTURE_CUBE_MAP_NEGATIVE_X_OES = 0x8516 + /// + TextureCubeMapNegativeXOes = ((int)0x8516) , + /// + /// Original was GL_TEXTURE_CUBE_MAP_POSITIVE_Y_OES = 0x8517 + /// + TextureCubeMapPositiveYOes = ((int)0x8517) , + /// + /// Original was GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_OES = 0x8518 + /// + TextureCubeMapNegativeYOes = ((int)0x8518) , + /// + /// Original was GL_TEXTURE_CUBE_MAP_POSITIVE_Z_OES = 0x8519 + /// + TextureCubeMapPositiveZOes = ((int)0x8519) , + /// + /// Original was GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_OES = 0x851A + /// + TextureCubeMapNegativeZOes = ((int)0x851A) , + /// + /// Original was GL_MAX_CUBE_MAP_TEXTURE_SIZE_OES = 0x851C + /// + MaxCubeMapTextureSizeOes = ((int)0x851C) , + /// + /// Original was GL_TEXTURE_GEN_STR_OES = 0x8D60 + /// + TextureGenStrOes = ((int)0x8D60) , + } + + /// + /// Not used directly. + /// + public enum OesTextureEnvCrossbar : int + { + /// + /// Original was GL_TEXTURE0 = 0x84C0 + /// + Texture0 = ((int)0x84C0) , + /// + /// Original was GL_TEXTURE1 = 0x84C1 + /// + Texture1 = ((int)0x84C1) , + /// + /// Original was GL_TEXTURE2 = 0x84C2 + /// + Texture2 = ((int)0x84C2) , + /// + /// Original was GL_TEXTURE3 = 0x84C3 + /// + Texture3 = ((int)0x84C3) , + /// + /// Original was GL_TEXTURE4 = 0x84C4 + /// + Texture4 = ((int)0x84C4) , + /// + /// Original was GL_TEXTURE5 = 0x84C5 + /// + Texture5 = ((int)0x84C5) , + /// + /// Original was GL_TEXTURE6 = 0x84C6 + /// + Texture6 = ((int)0x84C6) , + /// + /// Original was GL_TEXTURE7 = 0x84C7 + /// + Texture7 = ((int)0x84C7) , + /// + /// Original was GL_TEXTURE8 = 0x84C8 + /// + Texture8 = ((int)0x84C8) , + /// + /// Original was GL_TEXTURE9 = 0x84C9 + /// + Texture9 = ((int)0x84C9) , + /// + /// Original was GL_TEXTURE10 = 0x84CA + /// + Texture10 = ((int)0x84CA) , + /// + /// Original was GL_TEXTURE11 = 0x84CB + /// + Texture11 = ((int)0x84CB) , + /// + /// Original was GL_TEXTURE12 = 0x84CC + /// + Texture12 = ((int)0x84CC) , + /// + /// Original was GL_TEXTURE13 = 0x84CD + /// + Texture13 = ((int)0x84CD) , + /// + /// Original was GL_TEXTURE14 = 0x84CE + /// + Texture14 = ((int)0x84CE) , + /// + /// Original was GL_TEXTURE15 = 0x84CF + /// + Texture15 = ((int)0x84CF) , + /// + /// Original was GL_TEXTURE16 = 0x84D0 + /// + Texture16 = ((int)0x84D0) , + /// + /// Original was GL_TEXTURE17 = 0x84D1 + /// + Texture17 = ((int)0x84D1) , + /// + /// Original was GL_TEXTURE18 = 0x84D2 + /// + Texture18 = ((int)0x84D2) , + /// + /// Original was GL_TEXTURE19 = 0x84D3 + /// + Texture19 = ((int)0x84D3) , + /// + /// Original was GL_TEXTURE20 = 0x84D4 + /// + Texture20 = ((int)0x84D4) , + /// + /// Original was GL_TEXTURE21 = 0x84D5 + /// + Texture21 = ((int)0x84D5) , + /// + /// Original was GL_TEXTURE22 = 0x84D6 + /// + Texture22 = ((int)0x84D6) , + /// + /// Original was GL_TEXTURE23 = 0x84D7 + /// + Texture23 = ((int)0x84D7) , + /// + /// Original was GL_TEXTURE24 = 0x84D8 + /// + Texture24 = ((int)0x84D8) , + /// + /// Original was GL_TEXTURE25 = 0x84D9 + /// + Texture25 = ((int)0x84D9) , + /// + /// Original was GL_TEXTURE26 = 0x84DA + /// + Texture26 = ((int)0x84DA) , + /// + /// Original was GL_TEXTURE27 = 0x84DB + /// + Texture27 = ((int)0x84DB) , + /// + /// Original was GL_TEXTURE28 = 0x84DC + /// + Texture28 = ((int)0x84DC) , + /// + /// Original was GL_TEXTURE29 = 0x84DD + /// + Texture29 = ((int)0x84DD) , + /// + /// Original was GL_TEXTURE30 = 0x84DE + /// + Texture30 = ((int)0x84DE) , + /// + /// Original was GL_TEXTURE31 = 0x84DF + /// + Texture31 = ((int)0x84DF) , + } + + /// + /// Not used directly. + /// + public enum OesTextureFloat : int + { + /// + /// Original was GL_HALF_FLOAT_OES = 0x8D61 + /// + HalfFloatOes = ((int)0x8D61) , + } + + /// + /// Not used directly. + /// + public enum OesTextureMirroredRepeat : int + { + /// + /// Original was GL_MIRRORED_REPEAT_OES = 0x8370 + /// + MirroredRepeatOes = ((int)0x8370) , + } + + /// + /// Not used directly. + /// + public enum OesVertexHalfFloat : int + { + /// + /// Original was GL_HALF_FLOAT_OES = 0x8D61 + /// + HalfFloatOes = ((int)0x8D61) , + } + + /// + /// Not used directly. + /// + public enum OesVertexType1010102 : int + { + /// + /// Original was GL_UNSIGNED_INT_10_10_10_2_OES = 0x8DF6 + /// + UnsignedInt1010102Oes = ((int)0x8DF6) , + /// + /// Original was GL_INT_10_10_10_2_OES = 0x8DF7 + /// + Int1010102Oes = ((int)0x8DF7) , + } + + /// + /// Not used directly. + /// + public enum OmlInterlace : int + { + /// + /// Original was GL_INTERLACE_OML = 0x8980 + /// + InterlaceOml = ((int)0x8980) , + /// + /// Original was GL_INTERLACE_READ_OML = 0x8981 + /// + InterlaceReadOml = ((int)0x8981) , + } + + /// + /// Not used directly. + /// + public enum OmlResample : int + { + /// + /// Original was GL_PACK_RESAMPLE_OML = 0x8984 + /// + PackResampleOml = ((int)0x8984) , + /// + /// Original was GL_UNPACK_RESAMPLE_OML = 0x8985 + /// + UnpackResampleOml = ((int)0x8985) , + /// + /// Original was GL_RESAMPLE_REPLICATE_OML = 0x8986 + /// + ResampleReplicateOml = ((int)0x8986) , + /// + /// Original was GL_RESAMPLE_ZERO_FILL_OML = 0x8987 + /// + ResampleZeroFillOml = ((int)0x8987) , + /// + /// Original was GL_RESAMPLE_AVERAGE_OML = 0x8988 + /// + ResampleAverageOml = ((int)0x8988) , + /// + /// Original was GL_RESAMPLE_DECIMATE_OML = 0x8989 + /// + ResampleDecimateOml = ((int)0x8989) , + } + + /// + /// Not used directly. + /// + public enum OmlSubsample : int + { + /// + /// Original was GL_FORMAT_SUBSAMPLE_24_24_OML = 0x8982 + /// + FormatSubsample2424Oml = ((int)0x8982) , + /// + /// Original was GL_FORMAT_SUBSAMPLE_244_244_OML = 0x8983 + /// + FormatSubsample244244Oml = ((int)0x8983) , + } + + /// + /// Used in GL.ColorP3, GL.ColorP4, GL.MultiTexCoordP1, GL.MultiTexCoordP2, GL.MultiTexCoordP3, GL.MultiTexCoordP4, GL.NormalP3, GL.SecondaryColorP3, GL.TexCoordP1, GL.TexCoordP2, GL.TexCoordP3, GL.TexCoordP4, GL.VertexAttribP1, GL.VertexAttribP2, GL.VertexAttribP3, GL.VertexAttribP4, GL.VertexP2, GL.VertexP3, GL.VertexP4 + /// + public enum PackedPointerType : int + { + /// + /// Original was GL_UNSIGNED_INT_2_10_10_10_REV = 0x8368 + /// + UnsignedInt2101010Rev = ((int)0x8368) , + /// + /// Original was GL_INT_2_10_10_10_REV = 0x8D9F + /// + Int2101010Rev = ((int)0x8D9F) , + } + + /// + /// Used in GL.PatchParameter + /// + public enum PatchParameterFloat : int + { + /// + /// Original was GL_PATCH_DEFAULT_INNER_LEVEL = 0x8E73 + /// + PatchDefaultInnerLevel = ((int)0x8E73) , + /// + /// Original was GL_PATCH_DEFAULT_OUTER_LEVEL = 0x8E74 + /// + PatchDefaultOuterLevel = ((int)0x8E74) , + } + + /// + /// Used in GL.PatchParameter + /// + public enum PatchParameterInt : int + { + /// + /// Original was GL_PATCH_VERTICES = 0x8E72 + /// + PatchVertices = ((int)0x8E72) , + } + + /// + /// Used in GL.Pgi.Hint + /// + public enum PgiMiscHints : int + { + /// + /// Original was GL_PREFER_DOUBLEBUFFER_HINT_PGI = 0x1A1F8 + /// + PreferDoublebufferHintPgi = ((int)0x1A1F8) , + /// + /// Original was GL_CONSERVE_MEMORY_HINT_PGI = 0x1A1FD + /// + ConserveMemoryHintPgi = ((int)0x1A1FD) , + /// + /// Original was GL_RECLAIM_MEMORY_HINT_PGI = 0x1A1FE + /// + ReclaimMemoryHintPgi = ((int)0x1A1FE) , + /// + /// Original was GL_NATIVE_GRAPHICS_HANDLE_PGI = 0x1A202 + /// + NativeGraphicsHandlePgi = ((int)0x1A202) , + /// + /// Original was GL_NATIVE_GRAPHICS_BEGIN_HINT_PGI = 0x1A203 + /// + NativeGraphicsBeginHintPgi = ((int)0x1A203) , + /// + /// Original was GL_NATIVE_GRAPHICS_END_HINT_PGI = 0x1A204 + /// + NativeGraphicsEndHintPgi = ((int)0x1A204) , + /// + /// Original was GL_ALWAYS_FAST_HINT_PGI = 0x1A20C + /// + AlwaysFastHintPgi = ((int)0x1A20C) , + /// + /// Original was GL_ALWAYS_SOFT_HINT_PGI = 0x1A20D + /// + AlwaysSoftHintPgi = ((int)0x1A20D) , + /// + /// Original was GL_ALLOW_DRAW_OBJ_HINT_PGI = 0x1A20E + /// + AllowDrawObjHintPgi = ((int)0x1A20E) , + /// + /// Original was GL_ALLOW_DRAW_WIN_HINT_PGI = 0x1A20F + /// + AllowDrawWinHintPgi = ((int)0x1A20F) , + /// + /// Original was GL_ALLOW_DRAW_FRG_HINT_PGI = 0x1A210 + /// + AllowDrawFrgHintPgi = ((int)0x1A210) , + /// + /// Original was GL_ALLOW_DRAW_MEM_HINT_PGI = 0x1A211 + /// + AllowDrawMemHintPgi = ((int)0x1A211) , + /// + /// Original was GL_STRICT_DEPTHFUNC_HINT_PGI = 0x1A216 + /// + StrictDepthfuncHintPgi = ((int)0x1A216) , + /// + /// Original was GL_STRICT_LIGHTING_HINT_PGI = 0x1A217 + /// + StrictLightingHintPgi = ((int)0x1A217) , + /// + /// Original was GL_STRICT_SCISSOR_HINT_PGI = 0x1A218 + /// + StrictScissorHintPgi = ((int)0x1A218) , + /// + /// Original was GL_FULL_STIPPLE_HINT_PGI = 0x1A219 + /// + FullStippleHintPgi = ((int)0x1A219) , + /// + /// Original was GL_CLIP_NEAR_HINT_PGI = 0x1A220 + /// + ClipNearHintPgi = ((int)0x1A220) , + /// + /// Original was GL_CLIP_FAR_HINT_PGI = 0x1A221 + /// + ClipFarHintPgi = ((int)0x1A221) , + /// + /// Original was GL_WIDE_LINE_HINT_PGI = 0x1A222 + /// + WideLineHintPgi = ((int)0x1A222) , + /// + /// Original was GL_BACK_NORMALS_HINT_PGI = 0x1A223 + /// + BackNormalsHintPgi = ((int)0x1A223) , + } + + /// + /// Not used directly. + /// + public enum PgiVertexHints : int + { + /// + /// Original was GL_VERTEX23_BIT_PGI = 0x00000004 + /// + Vertex23BitPgi = ((int)0x00000004) , + /// + /// Original was GL_VERTEX4_BIT_PGI = 0x00000008 + /// + Vertex4BitPgi = ((int)0x00000008) , + /// + /// Original was GL_COLOR3_BIT_PGI = 0x00010000 + /// + Color3BitPgi = ((int)0x00010000) , + /// + /// Original was GL_COLOR4_BIT_PGI = 0x00020000 + /// + Color4BitPgi = ((int)0x00020000) , + /// + /// Original was GL_EDGEFLAG_BIT_PGI = 0x00040000 + /// + EdgeflagBitPgi = ((int)0x00040000) , + /// + /// Original was GL_INDEX_BIT_PGI = 0x00080000 + /// + IndexBitPgi = ((int)0x00080000) , + /// + /// Original was GL_MAT_AMBIENT_BIT_PGI = 0x00100000 + /// + MatAmbientBitPgi = ((int)0x00100000) , + /// + /// Original was GL_MAT_AMBIENT_AND_DIFFUSE_BIT_PGI = 0x00200000 + /// + MatAmbientAndDiffuseBitPgi = ((int)0x00200000) , + /// + /// Original was GL_MAT_DIFFUSE_BIT_PGI = 0x00400000 + /// + MatDiffuseBitPgi = ((int)0x00400000) , + /// + /// Original was GL_MAT_EMISSION_BIT_PGI = 0x00800000 + /// + MatEmissionBitPgi = ((int)0x00800000) , + /// + /// Original was GL_MAT_COLOR_INDEXES_BIT_PGI = 0x01000000 + /// + MatColorIndexesBitPgi = ((int)0x01000000) , + /// + /// Original was GL_MAT_SHININESS_BIT_PGI = 0x02000000 + /// + MatShininessBitPgi = ((int)0x02000000) , + /// + /// Original was GL_MAT_SPECULAR_BIT_PGI = 0x04000000 + /// + MatSpecularBitPgi = ((int)0x04000000) , + /// + /// Original was GL_NORMAL_BIT_PGI = 0x08000000 + /// + NormalBitPgi = ((int)0x08000000) , + /// + /// Original was GL_TEXCOORD1_BIT_PGI = 0x10000000 + /// + Texcoord1BitPgi = ((int)0x10000000) , + /// + /// Original was GL_VERTEX_DATA_HINT_PGI = 0x1A22A + /// + VertexDataHintPgi = ((int)0x1A22A) , + /// + /// Original was GL_VERTEX_CONSISTENT_HINT_PGI = 0x1A22B + /// + VertexConsistentHintPgi = ((int)0x1A22B) , + /// + /// Original was GL_MATERIAL_SIDE_HINT_PGI = 0x1A22C + /// + MaterialSideHintPgi = ((int)0x1A22C) , + /// + /// Original was GL_MAX_VERTEX_HINT_PGI = 0x1A22D + /// + MaxVertexHintPgi = ((int)0x1A22D) , + /// + /// Original was GL_TEXCOORD2_BIT_PGI = 0x20000000 + /// + Texcoord2BitPgi = ((int)0x20000000) , + /// + /// Original was GL_TEXCOORD3_BIT_PGI = 0x40000000 + /// + Texcoord3BitPgi = ((int)0x40000000) , + /// + /// Original was GL_TEXCOORD4_BIT_PGI = 0x80000000 + /// + Texcoord4BitPgi = unchecked((int)0x80000000) , + } + + /// + /// Used in GL.CopyPixels + /// + public enum PixelCopyType : int + { + /// + /// Original was GL_COLOR = 0x1800 + /// + Color = ((int)0x1800) , + /// + /// Original was GL_DEPTH = 0x1801 + /// + Depth = ((int)0x1801) , + /// + /// Original was GL_STENCIL = 0x1802 + /// + Stencil = ((int)0x1802) , + } + + /// + /// Used in GL.Arb.CompressedTexSubImage1D, GL.Arb.CompressedTexSubImage2D, GL.Arb.CompressedTexSubImage3D, GL.ColorSubTable, GL.ColorTable, GL.CompressedTexSubImage1D, GL.CompressedTexSubImage2D, GL.CompressedTexSubImage3D, GL.ConvolutionFilter1D, GL.ConvolutionFilter2D, GL.DrawPixels, GL.GetColorTable, GL.GetConvolutionFilter, GL.GetHistogram, GL.GetMinmax, GL.GetSeparableFilter, GL.GetTexImage, GL.ReadPixels, GL.SeparableFilter2D, GL.TexImage1D, GL.TexImage2D, GL.TexImage3D, GL.TexSubImage1D, GL.TexSubImage2D, GL.TexSubImage3D, GL.Ext.ColorSubTable, GL.Ext.ColorTable, GL.Ext.CompressedMultiTexSubImage1D, GL.Ext.CompressedMultiTexSubImage2D, GL.Ext.CompressedMultiTexSubImage3D, GL.Ext.CompressedTextureSubImage1D, GL.Ext.CompressedTextureSubImage2D, GL.Ext.CompressedTextureSubImage3D, GL.Ext.ConvolutionFilter1D, GL.Ext.ConvolutionFilter2D, GL.Ext.GetColorTable, GL.Ext.GetConvolutionFilter, GL.Ext.GetHistogram, GL.Ext.GetMinmax, GL.Ext.GetMultiTexImage, GL.Ext.GetSeparableFilter, GL.Ext.GetTextureImage, GL.Ext.MultiTexImage1D, GL.Ext.MultiTexImage2D, GL.Ext.MultiTexImage3D, GL.Ext.MultiTexSubImage1D, GL.Ext.MultiTexSubImage2D, GL.Ext.MultiTexSubImage3D, GL.Ext.SeparableFilter2D, GL.Ext.TexImage3D, GL.Ext.TexSubImage1D, GL.Ext.TexSubImage2D, GL.Ext.TexSubImage3D, GL.Ext.TextureImage1D, GL.Ext.TextureImage2D, GL.Ext.TextureImage3D, GL.Ext.TextureSubImage1D, GL.Ext.TextureSubImage2D, GL.Ext.TextureSubImage3D, GL.Sgi.ColorTable, GL.Sgi.GetColorTable, GL.Sgis.TexImage4D, GL.Sgis.TexSubImage4D + /// + public enum PixelFormat : int + { + /// + /// Original was GL_COLOR_INDEX = 0x1900 + /// + ColorIndex = ((int)0x1900) , + /// + /// Original was GL_STENCIL_INDEX = 0x1901 + /// + StencilIndex = ((int)0x1901) , + /// + /// Original was GL_DEPTH_COMPONENT = 0x1902 + /// + DepthComponent = ((int)0x1902) , + /// + /// Original was GL_RED = 0x1903 + /// + Red = ((int)0x1903) , + /// + /// Original was GL_GREEN = 0x1904 + /// + Green = ((int)0x1904) , + /// + /// Original was GL_BLUE = 0x1905 + /// + Blue = ((int)0x1905) , + /// + /// Original was GL_ALPHA = 0x1906 + /// + Alpha = ((int)0x1906) , + /// + /// Original was GL_RGB = 0x1907 + /// + Rgb = ((int)0x1907) , + /// + /// Original was GL_RGBA = 0x1908 + /// + Rgba = ((int)0x1908) , + /// + /// Original was GL_LUMINANCE = 0x1909 + /// + Luminance = ((int)0x1909) , + /// + /// Original was GL_LUMINANCE_ALPHA = 0x190A + /// + LuminanceAlpha = ((int)0x190A) , + /// + /// Original was GL_ABGR_EXT = 0x8000 + /// + AbgrExt = ((int)0x8000) , + /// + /// Original was GL_CMYK_EXT = 0x800C + /// + CmykExt = ((int)0x800C) , + /// + /// Original was GL_CMYKA_EXT = 0x800D + /// + CmykaExt = ((int)0x800D) , + /// + /// Original was GL_BGR = 0x80E0 + /// + Bgr = ((int)0x80E0) , + /// + /// Original was GL_BGRA = 0x80E1 + /// + Bgra = ((int)0x80E1) , + /// + /// Original was GL_YCRCB_422_SGIX = 0x81BB + /// + Ycrcb422Sgix = ((int)0x81BB) , + /// + /// Original was GL_YCRCB_444_SGIX = 0x81BC + /// + Ycrcb444Sgix = ((int)0x81BC) , + /// + /// Original was GL_RG = 0x8227 + /// + Rg = ((int)0x8227) , + /// + /// Original was GL_RG_INTEGER = 0x8228 + /// + RgInteger = ((int)0x8228) , + /// + /// Original was GL_DEPTH_STENCIL = 0x84F9 + /// + DepthStencil = ((int)0x84F9) , + /// + /// Original was GL_RED_INTEGER = 0x8D94 + /// + RedInteger = ((int)0x8D94) , + /// + /// Original was GL_GREEN_INTEGER = 0x8D95 + /// + GreenInteger = ((int)0x8D95) , + /// + /// Original was GL_BLUE_INTEGER = 0x8D96 + /// + BlueInteger = ((int)0x8D96) , + /// + /// Original was GL_ALPHA_INTEGER = 0x8D97 + /// + AlphaInteger = ((int)0x8D97) , + /// + /// Original was GL_RGB_INTEGER = 0x8D98 + /// + RgbInteger = ((int)0x8D98) , + /// + /// Original was GL_RGBA_INTEGER = 0x8D99 + /// + RgbaInteger = ((int)0x8D99) , + /// + /// Original was GL_BGR_INTEGER = 0x8D9A + /// + BgrInteger = ((int)0x8D9A) , + /// + /// Original was GL_BGRA_INTEGER = 0x8D9B + /// + BgraInteger = ((int)0x8D9B) , + } + + /// + /// Used in GL.Arb.CompressedTexImage1D, GL.Arb.CompressedTexImage2D, GL.Arb.CompressedTexImage3D, GL.ColorTable, GL.CompressedTexImage1D, GL.CompressedTexImage2D, GL.CompressedTexImage3D, GL.ConvolutionFilter1D, GL.ConvolutionFilter2D, GL.CopyColorTable, GL.CopyConvolutionFilter1D, GL.CopyConvolutionFilter2D, GL.CopyTexImage1D, GL.CopyTexImage2D, GL.Histogram, GL.Minmax, GL.SeparableFilter2D, GL.TexImage1D, GL.TexImage2D, GL.TexImage2DMultisample, GL.TexImage3D, GL.TexImage3DMultisample, GL.Ext.ColorTable, GL.Ext.ConvolutionFilter1D, GL.Ext.ConvolutionFilter2D, GL.Ext.CopyConvolutionFilter1D, GL.Ext.CopyConvolutionFilter2D, GL.Ext.CopyTexImage1D, GL.Ext.CopyTexImage2D, GL.Ext.Histogram, GL.Ext.Minmax, GL.Ext.NamedRenderbufferStorage, GL.Ext.NamedRenderbufferStorageMultisampleCoverage, GL.Ext.NamedRenderbufferStorageMultisample, GL.Ext.SeparableFilter2D, GL.Ext.TexImage3D, GL.NV.RenderbufferStorageMultisampleCoverage, GL.Sgi.ColorTable, GL.Sgi.CopyColorTable, GL.Sgis.TexImage4D + /// + public enum PixelInternalFormat : int + { + /// + /// Original was GL_DEPTH_COMPONENT = 0x1902 + /// + DepthComponent = ((int)0x1902) , + /// + /// Original was GL_ALPHA = 0x1906 + /// + Alpha = ((int)0x1906) , + /// + /// Original was GL_RGB = 0x1907 + /// + Rgb = ((int)0x1907) , + /// + /// Original was GL_RGBA = 0x1908 + /// + Rgba = ((int)0x1908) , + /// + /// Original was GL_LUMINANCE = 0x1909 + /// + Luminance = ((int)0x1909) , + /// + /// Original was GL_LUMINANCE_ALPHA = 0x190A + /// + LuminanceAlpha = ((int)0x190A) , + /// + /// Original was GL_R3_G3_B2 = 0x2A10 + /// + R3G3B2 = ((int)0x2A10) , + /// + /// Original was GL_ALPHA4 = 0x803B + /// + Alpha4 = ((int)0x803B) , + /// + /// Original was GL_ALPHA8 = 0x803C + /// + Alpha8 = ((int)0x803C) , + /// + /// Original was GL_ALPHA12 = 0x803D + /// + Alpha12 = ((int)0x803D) , + /// + /// Original was GL_ALPHA16 = 0x803E + /// + Alpha16 = ((int)0x803E) , + /// + /// Original was GL_LUMINANCE4 = 0x803F + /// + Luminance4 = ((int)0x803F) , + /// + /// Original was GL_LUMINANCE8 = 0x8040 + /// + Luminance8 = ((int)0x8040) , + /// + /// Original was GL_LUMINANCE12 = 0x8041 + /// + Luminance12 = ((int)0x8041) , + /// + /// Original was GL_LUMINANCE16 = 0x8042 + /// + Luminance16 = ((int)0x8042) , + /// + /// Original was GL_LUMINANCE4_ALPHA4 = 0x8043 + /// + Luminance4Alpha4 = ((int)0x8043) , + /// + /// Original was GL_LUMINANCE6_ALPHA2 = 0x8044 + /// + Luminance6Alpha2 = ((int)0x8044) , + /// + /// Original was GL_LUMINANCE8_ALPHA8 = 0x8045 + /// + Luminance8Alpha8 = ((int)0x8045) , + /// + /// Original was GL_LUMINANCE12_ALPHA4 = 0x8046 + /// + Luminance12Alpha4 = ((int)0x8046) , + /// + /// Original was GL_LUMINANCE12_ALPHA12 = 0x8047 + /// + Luminance12Alpha12 = ((int)0x8047) , + /// + /// Original was GL_LUMINANCE16_ALPHA16 = 0x8048 + /// + Luminance16Alpha16 = ((int)0x8048) , + /// + /// Original was GL_INTENSITY = 0x8049 + /// + Intensity = ((int)0x8049) , + /// + /// Original was GL_INTENSITY4 = 0x804A + /// + Intensity4 = ((int)0x804A) , + /// + /// Original was GL_INTENSITY8 = 0x804B + /// + Intensity8 = ((int)0x804B) , + /// + /// Original was GL_INTENSITY12 = 0x804C + /// + Intensity12 = ((int)0x804C) , + /// + /// Original was GL_INTENSITY16 = 0x804D + /// + Intensity16 = ((int)0x804D) , + /// + /// Original was GL_RGB2_EXT = 0x804E + /// + Rgb2Ext = ((int)0x804E) , + /// + /// Original was GL_RGB4 = 0x804F + /// + Rgb4 = ((int)0x804F) , + /// + /// Original was GL_RGB5 = 0x8050 + /// + Rgb5 = ((int)0x8050) , + /// + /// Original was GL_RGB8 = 0x8051 + /// + Rgb8 = ((int)0x8051) , + /// + /// Original was GL_RGB10 = 0x8052 + /// + Rgb10 = ((int)0x8052) , + /// + /// Original was GL_RGB12 = 0x8053 + /// + Rgb12 = ((int)0x8053) , + /// + /// Original was GL_RGB16 = 0x8054 + /// + Rgb16 = ((int)0x8054) , + /// + /// Original was GL_RGBA2 = 0x8055 + /// + Rgba2 = ((int)0x8055) , + /// + /// Original was GL_RGBA4 = 0x8056 + /// + Rgba4 = ((int)0x8056) , + /// + /// Original was GL_RGB5_A1 = 0x8057 + /// + Rgb5A1 = ((int)0x8057) , + /// + /// Original was GL_RGBA8 = 0x8058 + /// + Rgba8 = ((int)0x8058) , + /// + /// Original was GL_RGB10_A2 = 0x8059 + /// + Rgb10A2 = ((int)0x8059) , + /// + /// Original was GL_RGBA12 = 0x805A + /// + Rgba12 = ((int)0x805A) , + /// + /// Original was GL_RGBA16 = 0x805B + /// + Rgba16 = ((int)0x805B) , + /// + /// Original was GL_DUAL_ALPHA4_SGIS = 0x8110 + /// + DualAlpha4Sgis = ((int)0x8110) , + /// + /// Original was GL_DUAL_ALPHA8_SGIS = 0x8111 + /// + DualAlpha8Sgis = ((int)0x8111) , + /// + /// Original was GL_DUAL_ALPHA12_SGIS = 0x8112 + /// + DualAlpha12Sgis = ((int)0x8112) , + /// + /// Original was GL_DUAL_ALPHA16_SGIS = 0x8113 + /// + DualAlpha16Sgis = ((int)0x8113) , + /// + /// Original was GL_DUAL_LUMINANCE4_SGIS = 0x8114 + /// + DualLuminance4Sgis = ((int)0x8114) , + /// + /// Original was GL_DUAL_LUMINANCE8_SGIS = 0x8115 + /// + DualLuminance8Sgis = ((int)0x8115) , + /// + /// Original was GL_DUAL_LUMINANCE12_SGIS = 0x8116 + /// + DualLuminance12Sgis = ((int)0x8116) , + /// + /// Original was GL_DUAL_LUMINANCE16_SGIS = 0x8117 + /// + DualLuminance16Sgis = ((int)0x8117) , + /// + /// Original was GL_DUAL_INTENSITY4_SGIS = 0x8118 + /// + DualIntensity4Sgis = ((int)0x8118) , + /// + /// Original was GL_DUAL_INTENSITY8_SGIS = 0x8119 + /// + DualIntensity8Sgis = ((int)0x8119) , + /// + /// Original was GL_DUAL_INTENSITY12_SGIS = 0x811A + /// + DualIntensity12Sgis = ((int)0x811A) , + /// + /// Original was GL_DUAL_INTENSITY16_SGIS = 0x811B + /// + DualIntensity16Sgis = ((int)0x811B) , + /// + /// Original was GL_DUAL_LUMINANCE_ALPHA4_SGIS = 0x811C + /// + DualLuminanceAlpha4Sgis = ((int)0x811C) , + /// + /// Original was GL_DUAL_LUMINANCE_ALPHA8_SGIS = 0x811D + /// + DualLuminanceAlpha8Sgis = ((int)0x811D) , + /// + /// Original was GL_QUAD_ALPHA4_SGIS = 0x811E + /// + QuadAlpha4Sgis = ((int)0x811E) , + /// + /// Original was GL_QUAD_ALPHA8_SGIS = 0x811F + /// + QuadAlpha8Sgis = ((int)0x811F) , + /// + /// Original was GL_QUAD_LUMINANCE4_SGIS = 0x8120 + /// + QuadLuminance4Sgis = ((int)0x8120) , + /// + /// Original was GL_QUAD_LUMINANCE8_SGIS = 0x8121 + /// + QuadLuminance8Sgis = ((int)0x8121) , + /// + /// Original was GL_QUAD_INTENSITY4_SGIS = 0x8122 + /// + QuadIntensity4Sgis = ((int)0x8122) , + /// + /// Original was GL_QUAD_INTENSITY8_SGIS = 0x8123 + /// + QuadIntensity8Sgis = ((int)0x8123) , + /// + /// Original was GL_DEPTH_COMPONENT16 = 0x81a5 + /// + DepthComponent16 = ((int)0x81a5) , + /// + /// Original was GL_DEPTH_COMPONENT16_SGIX = 0x81A5 + /// + DepthComponent16Sgix = ((int)0x81A5) , + /// + /// Original was GL_DEPTH_COMPONENT24 = 0x81a6 + /// + DepthComponent24 = ((int)0x81a6) , + /// + /// Original was GL_DEPTH_COMPONENT24_SGIX = 0x81A6 + /// + DepthComponent24Sgix = ((int)0x81A6) , + /// + /// Original was GL_DEPTH_COMPONENT32 = 0x81a7 + /// + DepthComponent32 = ((int)0x81a7) , + /// + /// Original was GL_DEPTH_COMPONENT32_SGIX = 0x81A7 + /// + DepthComponent32Sgix = ((int)0x81A7) , + /// + /// Original was GL_COMPRESSED_RED = 0x8225 + /// + CompressedRed = ((int)0x8225) , + /// + /// Original was GL_COMPRESSED_RG = 0x8226 + /// + CompressedRg = ((int)0x8226) , + /// + /// Original was GL_R8 = 0x8229 + /// + R8 = ((int)0x8229) , + /// + /// Original was GL_R16 = 0x822A + /// + R16 = ((int)0x822A) , + /// + /// Original was GL_RG8 = 0x822B + /// + Rg8 = ((int)0x822B) , + /// + /// Original was GL_RG16 = 0x822C + /// + Rg16 = ((int)0x822C) , + /// + /// Original was GL_R16F = 0x822D + /// + R16f = ((int)0x822D) , + /// + /// Original was GL_R32F = 0x822E + /// + R32f = ((int)0x822E) , + /// + /// Original was GL_RG16F = 0x822F + /// + Rg16f = ((int)0x822F) , + /// + /// Original was GL_RG32F = 0x8230 + /// + Rg32f = ((int)0x8230) , + /// + /// Original was GL_R8I = 0x8231 + /// + R8i = ((int)0x8231) , + /// + /// Original was GL_R8UI = 0x8232 + /// + R8ui = ((int)0x8232) , + /// + /// Original was GL_R16I = 0x8233 + /// + R16i = ((int)0x8233) , + /// + /// Original was GL_R16UI = 0x8234 + /// + R16ui = ((int)0x8234) , + /// + /// Original was GL_R32I = 0x8235 + /// + R32i = ((int)0x8235) , + /// + /// Original was GL_R32UI = 0x8236 + /// + R32ui = ((int)0x8236) , + /// + /// Original was GL_RG8I = 0x8237 + /// + Rg8i = ((int)0x8237) , + /// + /// Original was GL_RG8UI = 0x8238 + /// + Rg8ui = ((int)0x8238) , + /// + /// Original was GL_RG16I = 0x8239 + /// + Rg16i = ((int)0x8239) , + /// + /// Original was GL_RG16UI = 0x823A + /// + Rg16ui = ((int)0x823A) , + /// + /// Original was GL_RG32I = 0x823B + /// + Rg32i = ((int)0x823B) , + /// + /// Original was GL_RG32UI = 0x823C + /// + Rg32ui = ((int)0x823C) , + /// + /// Original was GL_COMPRESSED_RGB_S3TC_DXT1_EXT = 0x83F0 + /// + CompressedRgbS3tcDxt1Ext = ((int)0x83F0) , + /// + /// Original was GL_COMPRESSED_RGBA_S3TC_DXT1_EXT = 0x83F1 + /// + CompressedRgbaS3tcDxt1Ext = ((int)0x83F1) , + /// + /// Original was GL_COMPRESSED_RGBA_S3TC_DXT3_EXT = 0x83F2 + /// + CompressedRgbaS3tcDxt3Ext = ((int)0x83F2) , + /// + /// Original was GL_COMPRESSED_RGBA_S3TC_DXT5_EXT = 0x83F3 + /// + CompressedRgbaS3tcDxt5Ext = ((int)0x83F3) , + /// + /// Original was GL_COMPRESSED_ALPHA = 0x84E9 + /// + CompressedAlpha = ((int)0x84E9) , + /// + /// Original was GL_COMPRESSED_LUMINANCE = 0x84EA + /// + CompressedLuminance = ((int)0x84EA) , + /// + /// Original was GL_COMPRESSED_LUMINANCE_ALPHA = 0x84EB + /// + CompressedLuminanceAlpha = ((int)0x84EB) , + /// + /// Original was GL_COMPRESSED_INTENSITY = 0x84EC + /// + CompressedIntensity = ((int)0x84EC) , + /// + /// Original was GL_COMPRESSED_RGB = 0x84ED + /// + CompressedRgb = ((int)0x84ED) , + /// + /// Original was GL_COMPRESSED_RGBA = 0x84EE + /// + CompressedRgba = ((int)0x84EE) , + /// + /// Original was GL_DEPTH_STENCIL = 0x84F9 + /// + DepthStencil = ((int)0x84F9) , + /// + /// Original was GL_RGBA32F = 0x8814 + /// + Rgba32f = ((int)0x8814) , + /// + /// Original was GL_RGB32F = 0x8815 + /// + Rgb32f = ((int)0x8815) , + /// + /// Original was GL_RGBA16F = 0x881A + /// + Rgba16f = ((int)0x881A) , + /// + /// Original was GL_RGB16F = 0x881B + /// + Rgb16f = ((int)0x881B) , + /// + /// Original was GL_DEPTH24_STENCIL8 = 0x88F0 + /// + Depth24Stencil8 = ((int)0x88F0) , + /// + /// Original was GL_R11F_G11F_B10F = 0x8C3A + /// + R11fG11fB10f = ((int)0x8C3A) , + /// + /// Original was GL_RGB9_E5 = 0x8C3D + /// + Rgb9E5 = ((int)0x8C3D) , + /// + /// Original was GL_SRGB = 0x8C40 + /// + Srgb = ((int)0x8C40) , + /// + /// Original was GL_SRGB8 = 0x8C41 + /// + Srgb8 = ((int)0x8C41) , + /// + /// Original was GL_SRGB_ALPHA = 0x8C42 + /// + SrgbAlpha = ((int)0x8C42) , + /// + /// Original was GL_SRGB8_ALPHA8 = 0x8C43 + /// + Srgb8Alpha8 = ((int)0x8C43) , + /// + /// Original was GL_SLUMINANCE_ALPHA = 0x8C44 + /// + SluminanceAlpha = ((int)0x8C44) , + /// + /// Original was GL_SLUMINANCE8_ALPHA8 = 0x8C45 + /// + Sluminance8Alpha8 = ((int)0x8C45) , + /// + /// Original was GL_SLUMINANCE = 0x8C46 + /// + Sluminance = ((int)0x8C46) , + /// + /// Original was GL_SLUMINANCE8 = 0x8C47 + /// + Sluminance8 = ((int)0x8C47) , + /// + /// Original was GL_COMPRESSED_SRGB = 0x8C48 + /// + CompressedSrgb = ((int)0x8C48) , + /// + /// Original was GL_COMPRESSED_SRGB_ALPHA = 0x8C49 + /// + CompressedSrgbAlpha = ((int)0x8C49) , + /// + /// Original was GL_COMPRESSED_SLUMINANCE = 0x8C4A + /// + CompressedSluminance = ((int)0x8C4A) , + /// + /// Original was GL_COMPRESSED_SLUMINANCE_ALPHA = 0x8C4B + /// + CompressedSluminanceAlpha = ((int)0x8C4B) , + /// + /// Original was GL_COMPRESSED_SRGB_S3TC_DXT1_EXT = 0x8C4C + /// + CompressedSrgbS3tcDxt1Ext = ((int)0x8C4C) , + /// + /// Original was GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT = 0x8C4D + /// + CompressedSrgbAlphaS3tcDxt1Ext = ((int)0x8C4D) , + /// + /// Original was GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT = 0x8C4E + /// + CompressedSrgbAlphaS3tcDxt3Ext = ((int)0x8C4E) , + /// + /// Original was GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT = 0x8C4F + /// + CompressedSrgbAlphaS3tcDxt5Ext = ((int)0x8C4F) , + /// + /// Original was GL_DEPTH_COMPONENT32F = 0x8CAC + /// + DepthComponent32f = ((int)0x8CAC) , + /// + /// Original was GL_DEPTH32F_STENCIL8 = 0x8CAD + /// + Depth32fStencil8 = ((int)0x8CAD) , + /// + /// Original was GL_RGBA32UI = 0x8D70 + /// + Rgba32ui = ((int)0x8D70) , + /// + /// Original was GL_RGB32UI = 0x8D71 + /// + Rgb32ui = ((int)0x8D71) , + /// + /// Original was GL_RGBA16UI = 0x8D76 + /// + Rgba16ui = ((int)0x8D76) , + /// + /// Original was GL_RGB16UI = 0x8D77 + /// + Rgb16ui = ((int)0x8D77) , + /// + /// Original was GL_RGBA8UI = 0x8D7C + /// + Rgba8ui = ((int)0x8D7C) , + /// + /// Original was GL_RGB8UI = 0x8D7D + /// + Rgb8ui = ((int)0x8D7D) , + /// + /// Original was GL_RGBA32I = 0x8D82 + /// + Rgba32i = ((int)0x8D82) , + /// + /// Original was GL_RGB32I = 0x8D83 + /// + Rgb32i = ((int)0x8D83) , + /// + /// Original was GL_RGBA16I = 0x8D88 + /// + Rgba16i = ((int)0x8D88) , + /// + /// Original was GL_RGB16I = 0x8D89 + /// + Rgb16i = ((int)0x8D89) , + /// + /// Original was GL_RGBA8I = 0x8D8E + /// + Rgba8i = ((int)0x8D8E) , + /// + /// Original was GL_RGB8I = 0x8D8F + /// + Rgb8i = ((int)0x8D8F) , + /// + /// Original was GL_FLOAT_32_UNSIGNED_INT_24_8_REV = 0x8DAD + /// + Float32UnsignedInt248Rev = ((int)0x8DAD) , + /// + /// Original was GL_COMPRESSED_RED_RGTC1 = 0x8DBB + /// + CompressedRedRgtc1 = ((int)0x8DBB) , + /// + /// Original was GL_COMPRESSED_SIGNED_RED_RGTC1 = 0x8DBC + /// + CompressedSignedRedRgtc1 = ((int)0x8DBC) , + /// + /// Original was GL_COMPRESSED_RG_RGTC2 = 0x8DBD + /// + CompressedRgRgtc2 = ((int)0x8DBD) , + /// + /// Original was GL_COMPRESSED_SIGNED_RG_RGTC2 = 0x8DBE + /// + CompressedSignedRgRgtc2 = ((int)0x8DBE) , + /// + /// Original was GL_RGB10_A2UI = 0x906F + /// + Rgb10A2ui = ((int)0x906F) , + /// + /// Original was GL_ONE = 1 + /// + One = ((int)1) , + /// + /// Original was GL_TWO = 2 + /// + Two = ((int)2) , + /// + /// Original was GL_THREE = 3 + /// + Three = ((int)3) , + /// + /// Original was GL_FOUR = 4 + /// + Four = ((int)4) , + } + + /// + /// Used in GL.GetPixelMap, GL.PixelMap + /// + public enum PixelMap : int + { + /// + /// Original was GL_PIXEL_MAP_I_TO_I = 0x0C70 + /// + PixelMapIToI = ((int)0x0C70) , + /// + /// Original was GL_PIXEL_MAP_S_TO_S = 0x0C71 + /// + PixelMapSToS = ((int)0x0C71) , + /// + /// Original was GL_PIXEL_MAP_I_TO_R = 0x0C72 + /// + PixelMapIToR = ((int)0x0C72) , + /// + /// Original was GL_PIXEL_MAP_I_TO_G = 0x0C73 + /// + PixelMapIToG = ((int)0x0C73) , + /// + /// Original was GL_PIXEL_MAP_I_TO_B = 0x0C74 + /// + PixelMapIToB = ((int)0x0C74) , + /// + /// Original was GL_PIXEL_MAP_I_TO_A = 0x0C75 + /// + PixelMapIToA = ((int)0x0C75) , + /// + /// Original was GL_PIXEL_MAP_R_TO_R = 0x0C76 + /// + PixelMapRToR = ((int)0x0C76) , + /// + /// Original was GL_PIXEL_MAP_G_TO_G = 0x0C77 + /// + PixelMapGToG = ((int)0x0C77) , + /// + /// Original was GL_PIXEL_MAP_B_TO_B = 0x0C78 + /// + PixelMapBToB = ((int)0x0C78) , + /// + /// Original was GL_PIXEL_MAP_A_TO_A = 0x0C79 + /// + PixelMapAToA = ((int)0x0C79) , + } + + /// + /// Used in GL.PixelStore + /// + public enum PixelStoreParameter : int + { + /// + /// Original was GL_UNPACK_SWAP_BYTES = 0x0CF0 + /// + UnpackSwapBytes = ((int)0x0CF0) , + /// + /// Original was GL_UNPACK_LSB_FIRST = 0x0CF1 + /// + UnpackLsbFirst = ((int)0x0CF1) , + /// + /// Original was GL_UNPACK_ROW_LENGTH = 0x0CF2 + /// + UnpackRowLength = ((int)0x0CF2) , + /// + /// Original was GL_UNPACK_SKIP_ROWS = 0x0CF3 + /// + UnpackSkipRows = ((int)0x0CF3) , + /// + /// Original was GL_UNPACK_SKIP_PIXELS = 0x0CF4 + /// + UnpackSkipPixels = ((int)0x0CF4) , + /// + /// Original was GL_UNPACK_ALIGNMENT = 0x0CF5 + /// + UnpackAlignment = ((int)0x0CF5) , + /// + /// Original was GL_PACK_SWAP_BYTES = 0x0D00 + /// + PackSwapBytes = ((int)0x0D00) , + /// + /// Original was GL_PACK_LSB_FIRST = 0x0D01 + /// + PackLsbFirst = ((int)0x0D01) , + /// + /// Original was GL_PACK_ROW_LENGTH = 0x0D02 + /// + PackRowLength = ((int)0x0D02) , + /// + /// Original was GL_PACK_SKIP_ROWS = 0x0D03 + /// + PackSkipRows = ((int)0x0D03) , + /// + /// Original was GL_PACK_SKIP_PIXELS = 0x0D04 + /// + PackSkipPixels = ((int)0x0D04) , + /// + /// Original was GL_PACK_ALIGNMENT = 0x0D05 + /// + PackAlignment = ((int)0x0D05) , + /// + /// Original was GL_PACK_SKIP_IMAGES = 0x806B + /// + PackSkipImages = ((int)0x806B) , + /// + /// Original was GL_PACK_SKIP_IMAGES_EXT = 0x806B + /// + PackSkipImagesExt = ((int)0x806B) , + /// + /// Original was GL_PACK_IMAGE_HEIGHT = 0x806C + /// + PackImageHeight = ((int)0x806C) , + /// + /// Original was GL_PACK_IMAGE_HEIGHT_EXT = 0x806C + /// + PackImageHeightExt = ((int)0x806C) , + /// + /// Original was GL_UNPACK_SKIP_IMAGES = 0x806D + /// + UnpackSkipImages = ((int)0x806D) , + /// + /// Original was GL_UNPACK_SKIP_IMAGES_EXT = 0x806D + /// + UnpackSkipImagesExt = ((int)0x806D) , + /// + /// Original was GL_UNPACK_IMAGE_HEIGHT = 0x806E + /// + UnpackImageHeight = ((int)0x806E) , + /// + /// Original was GL_UNPACK_IMAGE_HEIGHT_EXT = 0x806E + /// + UnpackImageHeightExt = ((int)0x806E) , + /// + /// Original was GL_PACK_SKIP_VOLUMES_SGIS = 0x8130 + /// + PackSkipVolumesSgis = ((int)0x8130) , + /// + /// Original was GL_PACK_IMAGE_DEPTH_SGIS = 0x8131 + /// + PackImageDepthSgis = ((int)0x8131) , + /// + /// Original was GL_UNPACK_SKIP_VOLUMES_SGIS = 0x8132 + /// + UnpackSkipVolumesSgis = ((int)0x8132) , + /// + /// Original was GL_UNPACK_IMAGE_DEPTH_SGIS = 0x8133 + /// + UnpackImageDepthSgis = ((int)0x8133) , + /// + /// Original was GL_PIXEL_TILE_WIDTH_SGIX = 0x8140 + /// + PixelTileWidthSgix = ((int)0x8140) , + /// + /// Original was GL_PIXEL_TILE_HEIGHT_SGIX = 0x8141 + /// + PixelTileHeightSgix = ((int)0x8141) , + /// + /// Original was GL_PIXEL_TILE_GRID_WIDTH_SGIX = 0x8142 + /// + PixelTileGridWidthSgix = ((int)0x8142) , + /// + /// Original was GL_PIXEL_TILE_GRID_HEIGHT_SGIX = 0x8143 + /// + PixelTileGridHeightSgix = ((int)0x8143) , + /// + /// Original was GL_PIXEL_TILE_GRID_DEPTH_SGIX = 0x8144 + /// + PixelTileGridDepthSgix = ((int)0x8144) , + /// + /// Original was GL_PIXEL_TILE_CACHE_SIZE_SGIX = 0x8145 + /// + PixelTileCacheSizeSgix = ((int)0x8145) , + /// + /// Original was GL_PACK_RESAMPLE_SGIX = 0x842C + /// + PackResampleSgix = ((int)0x842C) , + /// + /// Original was GL_UNPACK_RESAMPLE_SGIX = 0x842D + /// + UnpackResampleSgix = ((int)0x842D) , + /// + /// Original was GL_PACK_SUBSAMPLE_RATE_SGIX = 0x85A0 + /// + PackSubsampleRateSgix = ((int)0x85A0) , + /// + /// Original was GL_UNPACK_SUBSAMPLE_RATE_SGIX = 0x85A1 + /// + UnpackSubsampleRateSgix = ((int)0x85A1) , + } + + /// + /// Not used directly. + /// + public enum PixelStoreResampleMode : int + { + /// + /// Original was GL_RESAMPLE_REPLICATE_SGIX = 0x842E + /// + ResampleReplicateSgix = ((int)0x842E) , + /// + /// Original was GL_RESAMPLE_ZERO_FILL_SGIX = 0x842F + /// + ResampleZeroFillSgix = ((int)0x842F) , + /// + /// Original was GL_RESAMPLE_DECIMATE_SGIX = 0x8430 + /// + ResampleDecimateSgix = ((int)0x8430) , + } + + /// + /// Not used directly. + /// + public enum PixelStoreSubsampleRate : int + { + /// + /// Original was GL_PIXEL_SUBSAMPLE_4444_SGIX = 0x85A2 + /// + PixelSubsample4444Sgix = ((int)0x85A2) , + /// + /// Original was GL_PIXEL_SUBSAMPLE_2424_SGIX = 0x85A3 + /// + PixelSubsample2424Sgix = ((int)0x85A3) , + /// + /// Original was GL_PIXEL_SUBSAMPLE_4242_SGIX = 0x85A4 + /// + PixelSubsample4242Sgix = ((int)0x85A4) , + } + + /// + /// Not used directly. + /// + public enum PixelTexGenMode : int + { + /// + /// Original was GL_NONE = 0 + /// + None = ((int)0) , + /// + /// Original was GL_RGB = 0x1907 + /// + Rgb = ((int)0x1907) , + /// + /// Original was GL_RGBA = 0x1908 + /// + Rgba = ((int)0x1908) , + /// + /// Original was GL_LUMINANCE = 0x1909 + /// + Luminance = ((int)0x1909) , + /// + /// Original was GL_LUMINANCE_ALPHA = 0x190A + /// + LuminanceAlpha = ((int)0x190A) , + /// + /// Original was GL_PIXEL_TEX_GEN_ALPHA_REPLACE_SGIX = 0x8187 + /// + PixelTexGenAlphaReplaceSgix = ((int)0x8187) , + /// + /// Original was GL_PIXEL_TEX_GEN_ALPHA_NO_REPLACE_SGIX = 0x8188 + /// + PixelTexGenAlphaNoReplaceSgix = ((int)0x8188) , + /// + /// Original was GL_PIXEL_TEX_GEN_ALPHA_LS_SGIX = 0x8189 + /// + PixelTexGenAlphaLsSgix = ((int)0x8189) , + /// + /// Original was GL_PIXEL_TEX_GEN_ALPHA_MS_SGIX = 0x818A + /// + PixelTexGenAlphaMsSgix = ((int)0x818A) , + } + + /// + /// Not used directly. + /// + public enum PixelTexGenParameterNameSgis : int + { + /// + /// Original was GL_PIXEL_FRAGMENT_RGB_SOURCE_SGIS = 0x8354 + /// + PixelFragmentRgbSourceSgis = ((int)0x8354) , + /// + /// Original was GL_PIXEL_FRAGMENT_ALPHA_SOURCE_SGIS = 0x8355 + /// + PixelFragmentAlphaSourceSgis = ((int)0x8355) , + } + + /// + /// Used in GL.PixelTransfer + /// + public enum PixelTransferParameter : int + { + /// + /// Original was GL_MAP_COLOR = 0x0D10 + /// + MapColor = ((int)0x0D10) , + /// + /// Original was GL_MAP_STENCIL = 0x0D11 + /// + MapStencil = ((int)0x0D11) , + /// + /// Original was GL_INDEX_SHIFT = 0x0D12 + /// + IndexShift = ((int)0x0D12) , + /// + /// Original was GL_INDEX_OFFSET = 0x0D13 + /// + IndexOffset = ((int)0x0D13) , + /// + /// Original was GL_RED_SCALE = 0x0D14 + /// + RedScale = ((int)0x0D14) , + /// + /// Original was GL_RED_BIAS = 0x0D15 + /// + RedBias = ((int)0x0D15) , + /// + /// Original was GL_GREEN_SCALE = 0x0D18 + /// + GreenScale = ((int)0x0D18) , + /// + /// Original was GL_GREEN_BIAS = 0x0D19 + /// + GreenBias = ((int)0x0D19) , + /// + /// Original was GL_BLUE_SCALE = 0x0D1A + /// + BlueScale = ((int)0x0D1A) , + /// + /// Original was GL_BLUE_BIAS = 0x0D1B + /// + BlueBias = ((int)0x0D1B) , + /// + /// Original was GL_ALPHA_SCALE = 0x0D1C + /// + AlphaScale = ((int)0x0D1C) , + /// + /// Original was GL_ALPHA_BIAS = 0x0D1D + /// + AlphaBias = ((int)0x0D1D) , + /// + /// Original was GL_DEPTH_SCALE = 0x0D1E + /// + DepthScale = ((int)0x0D1E) , + /// + /// Original was GL_DEPTH_BIAS = 0x0D1F + /// + DepthBias = ((int)0x0D1F) , + /// + /// Original was GL_POST_CONVOLUTION_RED_SCALE_EXT = 0x801C + /// + PostConvolutionRedScaleExt = ((int)0x801C) , + /// + /// Original was GL_POST_CONVOLUTION_GREEN_SCALE_EXT = 0x801D + /// + PostConvolutionGreenScaleExt = ((int)0x801D) , + /// + /// Original was GL_POST_CONVOLUTION_BLUE_SCALE_EXT = 0x801E + /// + PostConvolutionBlueScaleExt = ((int)0x801E) , + /// + /// Original was GL_POST_CONVOLUTION_ALPHA_SCALE_EXT = 0x801F + /// + PostConvolutionAlphaScaleExt = ((int)0x801F) , + /// + /// Original was GL_POST_CONVOLUTION_RED_BIAS_EXT = 0x8020 + /// + PostConvolutionRedBiasExt = ((int)0x8020) , + /// + /// Original was GL_POST_CONVOLUTION_GREEN_BIAS_EXT = 0x8021 + /// + PostConvolutionGreenBiasExt = ((int)0x8021) , + /// + /// Original was GL_POST_CONVOLUTION_BLUE_BIAS_EXT = 0x8022 + /// + PostConvolutionBlueBiasExt = ((int)0x8022) , + /// + /// Original was GL_POST_CONVOLUTION_ALPHA_BIAS_EXT = 0x8023 + /// + PostConvolutionAlphaBiasExt = ((int)0x8023) , + /// + /// Original was GL_POST_COLOR_MATRIX_RED_SCALE_SGI = 0x80B4 + /// + PostColorMatrixRedScaleSgi = ((int)0x80B4) , + /// + /// Original was GL_POST_COLOR_MATRIX_GREEN_SCALE_SGI = 0x80B5 + /// + PostColorMatrixGreenScaleSgi = ((int)0x80B5) , + /// + /// Original was GL_POST_COLOR_MATRIX_BLUE_SCALE_SGI = 0x80B6 + /// + PostColorMatrixBlueScaleSgi = ((int)0x80B6) , + /// + /// Original was GL_POST_COLOR_MATRIX_ALPHA_SCALE_SGI = 0x80B7 + /// + PostColorMatrixAlphaScaleSgi = ((int)0x80B7) , + /// + /// Original was GL_POST_COLOR_MATRIX_RED_BIAS_SGI = 0x80B8 + /// + PostColorMatrixRedBiasSgi = ((int)0x80B8) , + /// + /// Original was GL_POST_COLOR_MATRIX_GREEN_BIAS_SGI = 0x80B9 + /// + PostColorMatrixGreenBiasSgi = ((int)0x80B9) , + /// + /// Original was GL_POST_COLOR_MATRIX_BLUE_BIAS_SGI = 0x80BA + /// + PostColorMatrixBlueBiasSgi = ((int)0x80BA) , + /// + /// Original was GL_POST_COLOR_MATRIX_ALPHA_BIAS_SGI = 0x80BB + /// + PostColorMatrixAlphaBiasSgi = ((int)0x80BB) , + } + + /// + /// Used in GL.ColorSubTable, GL.ColorTable, GL.ConvolutionFilter1D, GL.ConvolutionFilter2D, GL.DrawPixels, GL.GetColorTable, GL.GetConvolutionFilter, GL.GetHistogram, GL.GetMinmax, GL.GetSeparableFilter, GL.GetTexImage, GL.ReadPixels, GL.SeparableFilter2D, GL.TexImage1D, GL.TexImage2D, GL.TexImage3D, GL.TexSubImage1D, GL.TexSubImage2D, GL.TexSubImage3D, GL.Ext.ColorSubTable, GL.Ext.ColorTable, GL.Ext.ConvolutionFilter1D, GL.Ext.ConvolutionFilter2D, GL.Ext.GetColorTable, GL.Ext.GetConvolutionFilter, GL.Ext.GetHistogram, GL.Ext.GetMinmax, GL.Ext.GetMultiTexImage, GL.Ext.GetSeparableFilter, GL.Ext.GetTextureImage, GL.Ext.MultiTexImage1D, GL.Ext.MultiTexImage2D, GL.Ext.MultiTexImage3D, GL.Ext.MultiTexSubImage1D, GL.Ext.MultiTexSubImage2D, GL.Ext.MultiTexSubImage3D, GL.Ext.SeparableFilter2D, GL.Ext.TexImage3D, GL.Ext.TexSubImage1D, GL.Ext.TexSubImage2D, GL.Ext.TexSubImage3D, GL.Ext.TextureImage1D, GL.Ext.TextureImage2D, GL.Ext.TextureImage3D, GL.Ext.TextureSubImage1D, GL.Ext.TextureSubImage2D, GL.Ext.TextureSubImage3D, GL.Sgi.ColorTable, GL.Sgi.GetColorTable, GL.Sgis.TexImage4D, GL.Sgis.TexSubImage4D + /// + public enum PixelType : int + { + /// + /// Original was GL_BYTE = 0x1400 + /// + Byte = ((int)0x1400) , + /// + /// Original was GL_UNSIGNED_BYTE = 0x1401 + /// + UnsignedByte = ((int)0x1401) , + /// + /// Original was GL_SHORT = 0x1402 + /// + Short = ((int)0x1402) , + /// + /// Original was GL_UNSIGNED_SHORT = 0x1403 + /// + UnsignedShort = ((int)0x1403) , + /// + /// Original was GL_INT = 0x1404 + /// + Int = ((int)0x1404) , + /// + /// Original was GL_UNSIGNED_INT = 0x1405 + /// + UnsignedInt = ((int)0x1405) , + /// + /// Original was GL_FLOAT = 0x1406 + /// + Float = ((int)0x1406) , + /// + /// Original was GL_HALF_FLOAT = 0x140B + /// + HalfFloat = ((int)0x140B) , + /// + /// Original was GL_BITMAP = 0x1A00 + /// + Bitmap = ((int)0x1A00) , + /// + /// Original was GL_UNSIGNED_BYTE_3_3_2 = 0x8032 + /// + UnsignedByte332 = ((int)0x8032) , + /// + /// Original was GL_UNSIGNED_BYTE_3_3_2_EXT = 0x8032 + /// + UnsignedByte332Ext = ((int)0x8032) , + /// + /// Original was GL_UNSIGNED_SHORT_4_4_4_4 = 0x8033 + /// + UnsignedShort4444 = ((int)0x8033) , + /// + /// Original was GL_UNSIGNED_SHORT_4_4_4_4_EXT = 0x8033 + /// + UnsignedShort4444Ext = ((int)0x8033) , + /// + /// Original was GL_UNSIGNED_SHORT_5_5_5_1 = 0x8034 + /// + UnsignedShort5551 = ((int)0x8034) , + /// + /// Original was GL_UNSIGNED_SHORT_5_5_5_1_EXT = 0x8034 + /// + UnsignedShort5551Ext = ((int)0x8034) , + /// + /// Original was GL_UNSIGNED_INT_8_8_8_8 = 0x8035 + /// + UnsignedInt8888 = ((int)0x8035) , + /// + /// Original was GL_UNSIGNED_INT_8_8_8_8_EXT = 0x8035 + /// + UnsignedInt8888Ext = ((int)0x8035) , + /// + /// Original was GL_UNSIGNED_INT_10_10_10_2 = 0x8036 + /// + UnsignedInt1010102 = ((int)0x8036) , + /// + /// Original was GL_UNSIGNED_INT_10_10_10_2_EXT = 0x8036 + /// + UnsignedInt1010102Ext = ((int)0x8036) , + /// + /// Original was GL_UNSIGNED_BYTE_2_3_3_REVERSED = 0x8362 + /// + UnsignedByte233Reversed = ((int)0x8362) , + /// + /// Original was GL_UNSIGNED_SHORT_5_6_5 = 0x8363 + /// + UnsignedShort565 = ((int)0x8363) , + /// + /// Original was GL_UNSIGNED_SHORT_5_6_5_REVERSED = 0x8364 + /// + UnsignedShort565Reversed = ((int)0x8364) , + /// + /// Original was GL_UNSIGNED_SHORT_4_4_4_4_REVERSED = 0x8365 + /// + UnsignedShort4444Reversed = ((int)0x8365) , + /// + /// Original was GL_UNSIGNED_SHORT_1_5_5_5_REVERSED = 0x8366 + /// + UnsignedShort1555Reversed = ((int)0x8366) , + /// + /// Original was GL_UNSIGNED_INT_8_8_8_8_REVERSED = 0x8367 + /// + UnsignedInt8888Reversed = ((int)0x8367) , + /// + /// Original was GL_UNSIGNED_INT_2_10_10_10_REVERSED = 0x8368 + /// + UnsignedInt2101010Reversed = ((int)0x8368) , + /// + /// Original was GL_UNSIGNED_INT_24_8 = 0x84FA + /// + UnsignedInt248 = ((int)0x84FA) , + /// + /// Original was GL_UNSIGNED_INT_10F_11F_11F_REV = 0x8C3B + /// + UnsignedInt10F11F11FRev = ((int)0x8C3B) , + /// + /// Original was GL_UNSIGNED_INT_5_9_9_9_REV = 0x8C3E + /// + UnsignedInt5999Rev = ((int)0x8C3E) , + /// + /// Original was GL_FLOAT_32_UNSIGNED_INT_24_8_REV = 0x8DAD + /// + Float32UnsignedInt248Rev = ((int)0x8DAD) , + } + + /// + /// Used in GL.PointParameter + /// + public enum PointParameterName : int + { + /// + /// Original was GL_POINT_SIZE_MIN = 0x8126 + /// + PointSizeMin = ((int)0x8126) , + /// + /// Original was GL_POINT_SIZE_MAX = 0x8127 + /// + PointSizeMax = ((int)0x8127) , + /// + /// Original was GL_POINT_FADE_THRESHOLD_SIZE = 0x8128 + /// + PointFadeThresholdSize = ((int)0x8128) , + /// + /// Original was GL_POINT_DISTANCE_ATTENUATION = 0x8129 + /// + PointDistanceAttenuation = ((int)0x8129) , + /// + /// Original was GL_POINT_SPRITE_COORD_ORIGIN = 0x8CA0 + /// + PointSpriteCoordOrigin = ((int)0x8CA0) , + } + + /// + /// Not used directly. + /// + public enum PointParameterNameSgis : int + { + /// + /// Original was GL_POINT_SIZE_MIN_SGIS = 0x8126 + /// + PointSizeMinSgis = ((int)0x8126) , + /// + /// Original was GL_POINT_SIZE_MAX_SGIS = 0x8127 + /// + PointSizeMaxSgis = ((int)0x8127) , + /// + /// Original was GL_POINT_FADE_THRESHOLD_SIZE_SGIS = 0x8128 + /// + PointFadeThresholdSizeSgis = ((int)0x8128) , + /// + /// Original was GL_DISTANCE_ATTENUATION_SGIS = 0x8129 + /// + DistanceAttenuationSgis = ((int)0x8129) , + } + + /// + /// Not used directly. + /// + public enum PointSpriteCoordOriginParameter : int + { + /// + /// Original was GL_LOWER_LEFT = 0x8CA1 + /// + LowerLeft = ((int)0x8CA1) , + /// + /// Original was GL_UPPER_LEFT = 0x8CA2 + /// + UpperLeft = ((int)0x8CA2) , + } + + /// + /// Used in GL.PolygonMode + /// + public enum PolygonMode : int + { + /// + /// Original was GL_POINT = 0x1B00 + /// + Point = ((int)0x1B00) , + /// + /// Original was GL_LINE = 0x1B01 + /// + Line = ((int)0x1B01) , + /// + /// Original was GL_FILL = 0x1B02 + /// + Fill = ((int)0x1B02) , + } + + /// + /// Used in GL.GetProgram + /// + public enum ProgramParameter : int + { + /// + /// Original was GL_PROGRAM_BINARY_RETRIEVABLE_HINT = 0x8257 + /// + ProgramBinaryRetrievableHint = ((int)0x8257) , + /// + /// Original was GL_PROGRAM_SEPARABLE = 0x8258 + /// + ProgramSeparable = ((int)0x8258) , + /// + /// Original was GL_PROGRAM_BINARY_LENGTH = 0x8741 + /// + ProgramBinaryLength = ((int)0x8741) , + /// + /// Original was GL_GEOMETRY_SHADER_INVOCATIONS = 0x887F + /// + GeometryShaderInvocations = ((int)0x887F) , + /// + /// Original was GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH = 0x8A35 + /// + ActiveUniformBlockMaxNameLength = ((int)0x8A35) , + /// + /// Original was GL_ACTIVE_UNIFORM_BLOCKS = 0x8A36 + /// + ActiveUniformBlocks = ((int)0x8A36) , + /// + /// Original was GL_DELETE_STATUS = 0x8B80 + /// + DeleteStatus = ((int)0x8B80) , + /// + /// Original was GL_LINK_STATUS = 0x8B82 + /// + LinkStatus = ((int)0x8B82) , + /// + /// Original was GL_VALIDATE_STATUS = 0x8B83 + /// + ValidateStatus = ((int)0x8B83) , + /// + /// Original was GL_INFO_LOG_LENGTH = 0x8B84 + /// + InfoLogLength = ((int)0x8B84) , + /// + /// Original was GL_ATTACHED_SHADERS = 0x8B85 + /// + AttachedShaders = ((int)0x8B85) , + /// + /// Original was GL_ACTIVE_UNIFORMS = 0x8B86 + /// + ActiveUniforms = ((int)0x8B86) , + /// + /// Original was GL_ACTIVE_UNIFORM_MAX_LENGTH = 0x8B87 + /// + ActiveUniformMaxLength = ((int)0x8B87) , + /// + /// Original was GL_ACTIVE_ATTRIBUTES = 0x8B89 + /// + ActiveAttributes = ((int)0x8B89) , + /// + /// Original was GL_ACTIVE_ATTRIBUTE_MAX_LENGTH = 0x8B8A + /// + ActiveAttributeMaxLength = ((int)0x8B8A) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH = 0x8C76 + /// + TransformFeedbackVaryingMaxLength = ((int)0x8C76) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_BUFFER_MODE = 0x8C7F + /// + TransformFeedbackBufferMode = ((int)0x8C7F) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_VARYINGS = 0x8C83 + /// + TransformFeedbackVaryings = ((int)0x8C83) , + /// + /// Original was GL_GEOMETRY_VERTICES_OUT = 0x8DDA + /// + GeometryVerticesOut = ((int)0x8DDA) , + /// + /// Original was GL_GEOMETRY_INPUT_TYPE = 0x8DDB + /// + GeometryInputType = ((int)0x8DDB) , + /// + /// Original was GL_GEOMETRY_OUTPUT_TYPE = 0x8DDC + /// + GeometryOutputType = ((int)0x8DDC) , + /// + /// Original was GL_TESS_CONTROL_OUTPUT_VERTICES = 0x8E75 + /// + TessControlOutputVertices = ((int)0x8E75) , + /// + /// Original was GL_TESS_GEN_MODE = 0x8E76 + /// + TessGenMode = ((int)0x8E76) , + /// + /// Original was GL_TESS_GEN_SPACING = 0x8E77 + /// + TessGenSpacing = ((int)0x8E77) , + /// + /// Original was GL_TESS_GEN_VERTEX_ORDER = 0x8E78 + /// + TessGenVertexOrder = ((int)0x8E78) , + /// + /// Original was GL_TESS_GEN_POINT_MODE = 0x8E79 + /// + TessGenPointMode = ((int)0x8E79) , + } + + /// + /// Used in GL.GetProgramPipeline + /// + public enum ProgramPipelineParameter : int + { + /// + /// Original was GL_ACTIVE_PROGRAM = 0x8259 + /// + ActiveProgram = ((int)0x8259) , + } + + /// + /// Used in GL.UseProgramStages + /// + [Flags] + public enum ProgramStageMask : int + { + /// + /// Original was GL_VERTEX_SHADER_BIT = 0x00000001 + /// + VertexShaderBit = ((int)0x00000001) , + /// + /// Original was GL_FRAGMENT_SHADER_BIT = 0x00000002 + /// + FragmentShaderBit = ((int)0x00000002) , + /// + /// Original was GL_GEOMETRY_SHADER_BIT = 0x00000004 + /// + GeometryShaderBit = ((int)0x00000004) , + /// + /// Original was GL_TESS_CONTROL_SHADER_BIT = 0x00000008 + /// + TessControlShaderBit = ((int)0x00000008) , + /// + /// Original was GL_TESS_EVALUATION_SHADER_BIT = 0x00000010 + /// + TessEvaluationShaderBit = ((int)0x00000010) , + /// + /// Original was GL_ALL_SHADER_BITS = 0xFFFFFFFF + /// + AllShaderBits = unchecked((int)0xFFFFFFFF) , + } + + /// + /// Used in GL.GetProgramStage + /// + public enum ProgramStageParameter : int + { + /// + /// Original was GL_ACTIVE_SUBROUTINES = 0x8DE5 + /// + ActiveSubroutines = ((int)0x8DE5) , + /// + /// Original was GL_ACTIVE_SUBROUTINE_UNIFORMS = 0x8DE6 + /// + ActiveSubroutineUniforms = ((int)0x8DE6) , + /// + /// Original was GL_ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS = 0x8E47 + /// + ActiveSubroutineUniformLocations = ((int)0x8E47) , + /// + /// Original was GL_ACTIVE_SUBROUTINE_MAX_LENGTH = 0x8E48 + /// + ActiveSubroutineMaxLength = ((int)0x8E48) , + /// + /// Original was GL_ACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH = 0x8E49 + /// + ActiveSubroutineUniformMaxLength = ((int)0x8E49) , + } + + /// + /// Used in GL.ProvokingVertex + /// + public enum ProvokingVertexMode : int + { + /// + /// Original was GL_FIRST_VERTEX_CONVENTION = 0x8E4D + /// + FirstVertexConvention = ((int)0x8E4D) , + /// + /// Original was GL_LAST_VERTEX_CONVENTION = 0x8E4E + /// + LastVertexConvention = ((int)0x8E4E) , + } + + /// + /// Not used directly. + /// + public enum QcomAlphaTest : int + { + /// + /// Original was GL_ALPHA_TEST_QCOM = 0x0BC0 + /// + AlphaTestQcom = ((int)0x0BC0) , + /// + /// Original was GL_ALPHA_TEST_FUNC_QCOM = 0x0BC1 + /// + AlphaTestFuncQcom = ((int)0x0BC1) , + /// + /// Original was GL_ALPHA_TEST_REF_QCOM = 0x0BC2 + /// + AlphaTestRefQcom = ((int)0x0BC2) , + } + + /// + /// Not used directly. + /// + public enum QcomDriverControl : int + { + /// + /// Original was GL_PERFMON_GLOBAL_MODE_QCOM = 0x8FA0 + /// + PerfmonGlobalModeQcom = ((int)0x8FA0) , + } + + /// + /// Not used directly. + /// + public enum QcomExtendedGet : int + { + /// + /// Original was GL_TEXTURE_WIDTH_QCOM = 0x8BD2 + /// + TextureWidthQcom = ((int)0x8BD2) , + /// + /// Original was GL_TEXTURE_HEIGHT_QCOM = 0x8BD3 + /// + TextureHeightQcom = ((int)0x8BD3) , + /// + /// Original was GL_TEXTURE_DEPTH_QCOM = 0x8BD4 + /// + TextureDepthQcom = ((int)0x8BD4) , + /// + /// Original was GL_TEXTURE_INTERNAL_FORMAT_QCOM = 0x8BD5 + /// + TextureInternalFormatQcom = ((int)0x8BD5) , + /// + /// Original was GL_TEXTURE_FORMAT_QCOM = 0x8BD6 + /// + TextureFormatQcom = ((int)0x8BD6) , + /// + /// Original was GL_TEXTURE_TYPE_QCOM = 0x8BD7 + /// + TextureTypeQcom = ((int)0x8BD7) , + /// + /// Original was GL_TEXTURE_IMAGE_VALID_QCOM = 0x8BD8 + /// + TextureImageValidQcom = ((int)0x8BD8) , + /// + /// Original was GL_TEXTURE_NUM_LEVELS_QCOM = 0x8BD9 + /// + TextureNumLevelsQcom = ((int)0x8BD9) , + /// + /// Original was GL_TEXTURE_TARGET_QCOM = 0x8BDA + /// + TextureTargetQcom = ((int)0x8BDA) , + /// + /// Original was GL_TEXTURE_OBJECT_VALID_QCOM = 0x8BDB + /// + TextureObjectValidQcom = ((int)0x8BDB) , + /// + /// Original was GL_STATE_RESTORE = 0x8BDC + /// + StateRestore = ((int)0x8BDC) , + } + + /// + /// Not used directly. + /// + public enum QcomWriteonlyRendering : int + { + /// + /// Original was GL_WRITEONLY_RENDERING_QCOM = 0x8823 + /// + WriteonlyRenderingQcom = ((int)0x8823) , + } + + /// + /// Used in GL.QueryCounter + /// + public enum QueryCounterTarget : int + { + /// + /// Original was GL_TIMESTAMP = 0x8E28 + /// + Timestamp = ((int)0x8E28) , + } + + /// + /// Used in GL.BeginQuery, GL.BeginQueryIndexed, GL.EndQuery, GL.EndQueryIndexed, GL.GetQueryIndexed, GL.GetQuery + /// + public enum QueryTarget : int + { + /// + /// Original was GL_TIME_ELAPSED = 0x88BF + /// + TimeElapsed = ((int)0x88BF) , + /// + /// Original was GL_SAMPLES_PASSED = 0x8914 + /// + SamplesPassed = ((int)0x8914) , + /// + /// Original was GL_ANY_SAMPLES_PASSED = 0x8C2F + /// + AnySamplesPassed = ((int)0x8C2F) , + /// + /// Original was GL_PRIMITIVES_GENERATED = 0x8C87 + /// + PrimitivesGenerated = ((int)0x8C87) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN = 0x8C88 + /// + TransformFeedbackPrimitivesWritten = ((int)0x8C88) , + /// + /// Original was GL_TIMESTAMP = 0x8E28 + /// + Timestamp = ((int)0x8E28) , + } + + /// + /// Used in GL.ReadBuffer, GL.Ext.FramebufferReadBuffer + /// + public enum ReadBufferMode : int + { + /// + /// Original was GL_NONE = 0 + /// + None = ((int)0) , + /// + /// Original was GL_FRONT_LEFT = 0x0400 + /// + FrontLeft = ((int)0x0400) , + /// + /// Original was GL_FRONT_RIGHT = 0x0401 + /// + FrontRight = ((int)0x0401) , + /// + /// Original was GL_BACK_LEFT = 0x0402 + /// + BackLeft = ((int)0x0402) , + /// + /// Original was GL_BACK_RIGHT = 0x0403 + /// + BackRight = ((int)0x0403) , + /// + /// Original was GL_FRONT = 0x0404 + /// + Front = ((int)0x0404) , + /// + /// Original was GL_BACK = 0x0405 + /// + Back = ((int)0x0405) , + /// + /// Original was GL_LEFT = 0x0406 + /// + Left = ((int)0x0406) , + /// + /// Original was GL_RIGHT = 0x0407 + /// + Right = ((int)0x0407) , + /// + /// Original was GL_AUX0 = 0x0409 + /// + Aux0 = ((int)0x0409) , + /// + /// Original was GL_AUX1 = 0x040A + /// + Aux1 = ((int)0x040A) , + /// + /// Original was GL_AUX2 = 0x040B + /// + Aux2 = ((int)0x040B) , + /// + /// Original was GL_AUX3 = 0x040C + /// + Aux3 = ((int)0x040C) , + /// + /// Original was GL_COLOR_ATTACHMENT0 = 0x8CE0 + /// + ColorAttachment0 = ((int)0x8CE0) , + /// + /// Original was GL_COLOR_ATTACHMENT1 = 0x8CE1 + /// + ColorAttachment1 = ((int)0x8CE1) , + /// + /// Original was GL_COLOR_ATTACHMENT2 = 0x8CE2 + /// + ColorAttachment2 = ((int)0x8CE2) , + /// + /// Original was GL_COLOR_ATTACHMENT3 = 0x8CE3 + /// + ColorAttachment3 = ((int)0x8CE3) , + /// + /// Original was GL_COLOR_ATTACHMENT4 = 0x8CE4 + /// + ColorAttachment4 = ((int)0x8CE4) , + /// + /// Original was GL_COLOR_ATTACHMENT5 = 0x8CE5 + /// + ColorAttachment5 = ((int)0x8CE5) , + /// + /// Original was GL_COLOR_ATTACHMENT6 = 0x8CE6 + /// + ColorAttachment6 = ((int)0x8CE6) , + /// + /// Original was GL_COLOR_ATTACHMENT7 = 0x8CE7 + /// + ColorAttachment7 = ((int)0x8CE7) , + /// + /// Original was GL_COLOR_ATTACHMENT8 = 0x8CE8 + /// + ColorAttachment8 = ((int)0x8CE8) , + /// + /// Original was GL_COLOR_ATTACHMENT9 = 0x8CE9 + /// + ColorAttachment9 = ((int)0x8CE9) , + /// + /// Original was GL_COLOR_ATTACHMENT10 = 0x8CEA + /// + ColorAttachment10 = ((int)0x8CEA) , + /// + /// Original was GL_COLOR_ATTACHMENT11 = 0x8CEB + /// + ColorAttachment11 = ((int)0x8CEB) , + /// + /// Original was GL_COLOR_ATTACHMENT12 = 0x8CEC + /// + ColorAttachment12 = ((int)0x8CEC) , + /// + /// Original was GL_COLOR_ATTACHMENT13 = 0x8CED + /// + ColorAttachment13 = ((int)0x8CED) , + /// + /// Original was GL_COLOR_ATTACHMENT14 = 0x8CEE + /// + ColorAttachment14 = ((int)0x8CEE) , + /// + /// Original was GL_COLOR_ATTACHMENT15 = 0x8CEF + /// + ColorAttachment15 = ((int)0x8CEF) , + } + + /// + /// Used in GL.GetRenderbufferParameter, GL.Ext.GetNamedRenderbufferParameter, GL.Ext.GetRenderbufferParameter + /// + public enum RenderbufferParameterName : int + { + /// + /// Original was GL_RENDERBUFFER_SAMPLES = 0x8CAB + /// + RenderbufferSamples = ((int)0x8CAB) , + /// + /// Original was GL_RENDERBUFFER_WIDTH = 0x8D42 + /// + RenderbufferWidth = ((int)0x8D42) , + /// + /// Original was GL_RENDERBUFFER_WIDTH_EXT = 0x8D42 + /// + RenderbufferWidthExt = ((int)0x8D42) , + /// + /// Original was GL_RENDERBUFFER_HEIGHT = 0x8D43 + /// + RenderbufferHeight = ((int)0x8D43) , + /// + /// Original was GL_RENDERBUFFER_HEIGHT_EXT = 0x8D43 + /// + RenderbufferHeightExt = ((int)0x8D43) , + /// + /// Original was GL_RENDERBUFFER_INTERNAL_FORMAT = 0x8D44 + /// + RenderbufferInternalFormat = ((int)0x8D44) , + /// + /// Original was GL_RENDERBUFFER_INTERNAL_FORMAT_EXT = 0x8D44 + /// + RenderbufferInternalFormatExt = ((int)0x8D44) , + /// + /// Original was GL_RENDERBUFFER_RED_SIZE = 0x8D50 + /// + RenderbufferRedSize = ((int)0x8D50) , + /// + /// Original was GL_RENDERBUFFER_RED_SIZE_EXT = 0x8D50 + /// + RenderbufferRedSizeExt = ((int)0x8D50) , + /// + /// Original was GL_RENDERBUFFER_GREEN_SIZE = 0x8D51 + /// + RenderbufferGreenSize = ((int)0x8D51) , + /// + /// Original was GL_RENDERBUFFER_GREEN_SIZE_EXT = 0x8D51 + /// + RenderbufferGreenSizeExt = ((int)0x8D51) , + /// + /// Original was GL_RENDERBUFFER_BLUE_SIZE = 0x8D52 + /// + RenderbufferBlueSize = ((int)0x8D52) , + /// + /// Original was GL_RENDERBUFFER_BLUE_SIZE_EXT = 0x8D52 + /// + RenderbufferBlueSizeExt = ((int)0x8D52) , + /// + /// Original was GL_RENDERBUFFER_ALPHA_SIZE = 0x8D53 + /// + RenderbufferAlphaSize = ((int)0x8D53) , + /// + /// Original was GL_RENDERBUFFER_ALPHA_SIZE_EXT = 0x8D53 + /// + RenderbufferAlphaSizeExt = ((int)0x8D53) , + /// + /// Original was GL_RENDERBUFFER_DEPTH_SIZE = 0x8D54 + /// + RenderbufferDepthSize = ((int)0x8D54) , + /// + /// Original was GL_RENDERBUFFER_DEPTH_SIZE_EXT = 0x8D54 + /// + RenderbufferDepthSizeExt = ((int)0x8D54) , + /// + /// Original was GL_RENDERBUFFER_STENCIL_SIZE = 0x8D55 + /// + RenderbufferStencilSize = ((int)0x8D55) , + /// + /// Original was GL_RENDERBUFFER_STENCIL_SIZE_EXT = 0x8D55 + /// + RenderbufferStencilSizeExt = ((int)0x8D55) , + } + + /// + /// Used in GL.RenderbufferStorage, GL.RenderbufferStorageMultisample, GL.Ext.RenderbufferStorage + /// + public enum RenderbufferStorage : int + { + /// + /// Original was GL_R3_G3_B2 = 0x2A10 + /// + R3G3B2 = ((int)0x2A10) , + /// + /// Original was GL_ALPHA4 = 0x803B + /// + Alpha4 = ((int)0x803B) , + /// + /// Original was GL_ALPHA8 = 0x803C + /// + Alpha8 = ((int)0x803C) , + /// + /// Original was GL_ALPHA12 = 0x803D + /// + Alpha12 = ((int)0x803D) , + /// + /// Original was GL_ALPHA16 = 0x803E + /// + Alpha16 = ((int)0x803E) , + /// + /// Original was GL_RGB4 = 0x804F + /// + Rgb4 = ((int)0x804F) , + /// + /// Original was GL_RGB5 = 0x8050 + /// + Rgb5 = ((int)0x8050) , + /// + /// Original was GL_RGB8 = 0x8051 + /// + Rgb8 = ((int)0x8051) , + /// + /// Original was GL_RGB10 = 0x8052 + /// + Rgb10 = ((int)0x8052) , + /// + /// Original was GL_RGB12 = 0x8053 + /// + Rgb12 = ((int)0x8053) , + /// + /// Original was GL_RGB16 = 0x8054 + /// + Rgb16 = ((int)0x8054) , + /// + /// Original was GL_RGBA2 = 0x8055 + /// + Rgba2 = ((int)0x8055) , + /// + /// Original was GL_RGBA4 = 0x8056 + /// + Rgba4 = ((int)0x8056) , + /// + /// Original was GL_RGBA8 = 0x8058 + /// + Rgba8 = ((int)0x8058) , + /// + /// Original was GL_RGB10_A2 = 0x8059 + /// + Rgb10A2 = ((int)0x8059) , + /// + /// Original was GL_RGBA12 = 0x805A + /// + Rgba12 = ((int)0x805A) , + /// + /// Original was GL_RGBA16 = 0x805B + /// + Rgba16 = ((int)0x805B) , + /// + /// Original was GL_DEPTH_COMPONENT16 = 0x81a5 + /// + DepthComponent16 = ((int)0x81a5) , + /// + /// Original was GL_DEPTH_COMPONENT24 = 0x81a6 + /// + DepthComponent24 = ((int)0x81a6) , + /// + /// Original was GL_DEPTH_COMPONENT32 = 0x81a7 + /// + DepthComponent32 = ((int)0x81a7) , + /// + /// Original was GL_R8 = 0x8229 + /// + R8 = ((int)0x8229) , + /// + /// Original was GL_R16 = 0x822A + /// + R16 = ((int)0x822A) , + /// + /// Original was GL_RG8 = 0x822B + /// + Rg8 = ((int)0x822B) , + /// + /// Original was GL_RG16 = 0x822C + /// + Rg16 = ((int)0x822C) , + /// + /// Original was GL_R16F = 0x822D + /// + R16f = ((int)0x822D) , + /// + /// Original was GL_R32F = 0x822E + /// + R32f = ((int)0x822E) , + /// + /// Original was GL_RG16F = 0x822F + /// + Rg16f = ((int)0x822F) , + /// + /// Original was GL_RG32F = 0x8230 + /// + Rg32f = ((int)0x8230) , + /// + /// Original was GL_R8I = 0x8231 + /// + R8i = ((int)0x8231) , + /// + /// Original was GL_R8UI = 0x8232 + /// + R8ui = ((int)0x8232) , + /// + /// Original was GL_R16I = 0x8233 + /// + R16i = ((int)0x8233) , + /// + /// Original was GL_R16UI = 0x8234 + /// + R16ui = ((int)0x8234) , + /// + /// Original was GL_R32I = 0x8235 + /// + R32i = ((int)0x8235) , + /// + /// Original was GL_R32UI = 0x8236 + /// + R32ui = ((int)0x8236) , + /// + /// Original was GL_RG8I = 0x8237 + /// + Rg8i = ((int)0x8237) , + /// + /// Original was GL_RG8UI = 0x8238 + /// + Rg8ui = ((int)0x8238) , + /// + /// Original was GL_RG16I = 0x8239 + /// + Rg16i = ((int)0x8239) , + /// + /// Original was GL_RG16UI = 0x823A + /// + Rg16ui = ((int)0x823A) , + /// + /// Original was GL_RG32I = 0x823B + /// + Rg32i = ((int)0x823B) , + /// + /// Original was GL_RG32UI = 0x823C + /// + Rg32ui = ((int)0x823C) , + /// + /// Original was GL_RGBA32F = 0x8814 + /// + Rgba32f = ((int)0x8814) , + /// + /// Original was GL_RGB32F = 0x8815 + /// + Rgb32f = ((int)0x8815) , + /// + /// Original was GL_RGBA16F = 0x881A + /// + Rgba16f = ((int)0x881A) , + /// + /// Original was GL_RGB16F = 0x881B + /// + Rgb16f = ((int)0x881B) , + /// + /// Original was GL_DEPTH24_STENCIL8 = 0x88F0 + /// + Depth24Stencil8 = ((int)0x88F0) , + /// + /// Original was GL_R11F_G11F_B10F = 0x8C3A + /// + R11fG11fB10f = ((int)0x8C3A) , + /// + /// Original was GL_RGB9_E5 = 0x8C3D + /// + Rgb9E5 = ((int)0x8C3D) , + /// + /// Original was GL_SRGB8 = 0x8C41 + /// + Srgb8 = ((int)0x8C41) , + /// + /// Original was GL_SRGB8_ALPHA8 = 0x8C43 + /// + Srgb8Alpha8 = ((int)0x8C43) , + /// + /// Original was GL_DEPTH_COMPONENT32F = 0x8CAC + /// + DepthComponent32f = ((int)0x8CAC) , + /// + /// Original was GL_DEPTH32F_STENCIL8 = 0x8CAD + /// + Depth32fStencil8 = ((int)0x8CAD) , + /// + /// Original was GL_STENCIL_INDEX1 = 0x8D46 + /// + StencilIndex1 = ((int)0x8D46) , + /// + /// Original was GL_STENCIL_INDEX1_EXT = 0x8D46 + /// + StencilIndex1Ext = ((int)0x8D46) , + /// + /// Original was GL_STENCIL_INDEX4 = 0x8D47 + /// + StencilIndex4 = ((int)0x8D47) , + /// + /// Original was GL_STENCIL_INDEX4_EXT = 0x8D47 + /// + StencilIndex4Ext = ((int)0x8D47) , + /// + /// Original was GL_STENCIL_INDEX8 = 0x8D48 + /// + StencilIndex8 = ((int)0x8D48) , + /// + /// Original was GL_STENCIL_INDEX8_EXT = 0x8D48 + /// + StencilIndex8Ext = ((int)0x8D48) , + /// + /// Original was GL_STENCIL_INDEX16 = 0x8D49 + /// + StencilIndex16 = ((int)0x8D49) , + /// + /// Original was GL_STENCIL_INDEX16_EXT = 0x8D49 + /// + StencilIndex16Ext = ((int)0x8D49) , + /// + /// Original was GL_RGBA32UI = 0x8D70 + /// + Rgba32ui = ((int)0x8D70) , + /// + /// Original was GL_RGB32UI = 0x8D71 + /// + Rgb32ui = ((int)0x8D71) , + /// + /// Original was GL_RGBA16UI = 0x8D76 + /// + Rgba16ui = ((int)0x8D76) , + /// + /// Original was GL_RGB16UI = 0x8D77 + /// + Rgb16ui = ((int)0x8D77) , + /// + /// Original was GL_RGBA8UI = 0x8D7C + /// + Rgba8ui = ((int)0x8D7C) , + /// + /// Original was GL_RGB8UI = 0x8D7D + /// + Rgb8ui = ((int)0x8D7D) , + /// + /// Original was GL_RGBA32I = 0x8D82 + /// + Rgba32i = ((int)0x8D82) , + /// + /// Original was GL_RGB32I = 0x8D83 + /// + Rgb32i = ((int)0x8D83) , + /// + /// Original was GL_RGBA16I = 0x8D88 + /// + Rgba16i = ((int)0x8D88) , + /// + /// Original was GL_RGB16I = 0x8D89 + /// + Rgb16i = ((int)0x8D89) , + /// + /// Original was GL_RGBA8I = 0x8D8E + /// + Rgba8i = ((int)0x8D8E) , + /// + /// Original was GL_RGB8I = 0x8D8F + /// + Rgb8i = ((int)0x8D8F) , + /// + /// Original was GL_RGB10_A2UI = 0x906F + /// + Rgb10A2ui = ((int)0x906F) , + } + + /// + /// Used in GL.BindRenderbuffer, GL.FramebufferRenderbuffer, GL.GetRenderbufferParameter, GL.RenderbufferStorage, GL.RenderbufferStorageMultisample, GL.Ext.BindRenderbuffer, GL.Ext.FramebufferRenderbuffer, GL.Ext.GetRenderbufferParameter, GL.Ext.NamedFramebufferRenderbuffer, GL.Ext.RenderbufferStorage, GL.NV.RenderbufferStorageMultisampleCoverage + /// + public enum RenderbufferTarget : int + { + /// + /// Original was GL_RENDERBUFFER = 0x8D41 + /// + Renderbuffer = ((int)0x8D41) , + /// + /// Original was GL_RENDERBUFFER_EXT = 0x8D41 + /// + RenderbufferExt = ((int)0x8D41) , + } + + /// + /// Used in GL.RenderMode + /// + public enum RenderingMode : int + { + /// + /// Original was GL_RENDER = 0x1C00 + /// + Render = ((int)0x1C00) , + /// + /// Original was GL_FEEDBACK = 0x1C01 + /// + Feedback = ((int)0x1C01) , + /// + /// Original was GL_SELECT = 0x1C02 + /// + Select = ((int)0x1C02) , + } + + /// + /// Not used directly. + /// + public enum RendScreenCoordinates : int + { + /// + /// Original was GL_SCREEN_COORDINATES_REND = 0x8490 + /// + ScreenCoordinatesRend = ((int)0x8490) , + /// + /// Original was GL_INVERTED_SCREEN_W_REND = 0x8491 + /// + InvertedScreenWRend = ((int)0x8491) , + } + + /// + /// Not used directly. + /// + public enum S3S3tc : int + { + /// + /// Original was GL_RGB_S3TC = 0x83A0 + /// + RgbS3tc = ((int)0x83A0) , + /// + /// Original was GL_RGB4_S3TC = 0x83A1 + /// + Rgb4S3tc = ((int)0x83A1) , + /// + /// Original was GL_RGBA_S3TC = 0x83A2 + /// + RgbaS3tc = ((int)0x83A2) , + /// + /// Original was GL_RGBA4_S3TC = 0x83A3 + /// + Rgba4S3tc = ((int)0x83A3) , + } + + /// + /// Not used directly. + /// + public enum SamplePatternSgis : int + { + /// + /// Original was GL_1PASS_SGIS = 0x80A1 + /// + Gl1PassSgis = ((int)0x80A1) , + /// + /// Original was GL_2PASS_0_SGIS = 0x80A2 + /// + Gl2Pass0Sgis = ((int)0x80A2) , + /// + /// Original was GL_2PASS_1_SGIS = 0x80A3 + /// + Gl2Pass1Sgis = ((int)0x80A3) , + /// + /// Original was GL_4PASS_0_SGIS = 0x80A4 + /// + Gl4Pass0Sgis = ((int)0x80A4) , + /// + /// Original was GL_4PASS_1_SGIS = 0x80A5 + /// + Gl4Pass1Sgis = ((int)0x80A5) , + /// + /// Original was GL_4PASS_2_SGIS = 0x80A6 + /// + Gl4Pass2Sgis = ((int)0x80A6) , + /// + /// Original was GL_4PASS_3_SGIS = 0x80A7 + /// + Gl4Pass3Sgis = ((int)0x80A7) , + } + + /// + /// Used in GL.GetSamplerParameter, GL.SamplerParameter + /// + public enum SamplerParameter : int + { + /// + /// Original was GL_TextureBorderColor = 0x1004 + /// + TextureBorderColor = ((int)0x1004) , + /// + /// Original was GL_TextureMagFilter = 0x2800 + /// + TextureMagFilter = ((int)0x2800) , + /// + /// Original was GL_TextureMinFilter = 0x2801 + /// + TextureMinFilter = ((int)0x2801) , + /// + /// Original was GL_TextureWrapS = 0x2802 + /// + TextureWrapS = ((int)0x2802) , + /// + /// Original was GL_TextureWrapT = 0x2803 + /// + TextureWrapT = ((int)0x2803) , + /// + /// Original was GL_TextureWrapR = 0x8072 + /// + TextureWrapR = ((int)0x8072) , + /// + /// Original was GL_TextureMinLod = 0x813A + /// + TextureMinLod = ((int)0x813A) , + /// + /// Original was GL_TextureMaxLod = 0x813B + /// + TextureMaxLod = ((int)0x813B) , + /// + /// Original was GL_TextureMaxAnisotropyExt = 0x84FE + /// + TextureMaxAnisotropyExt = ((int)0x84FE) , + /// + /// Original was GL_TextureLodBias = 0x8501 + /// + TextureLodBias = ((int)0x8501) , + /// + /// Original was GL_TextureCompareMode = 0x884C + /// + TextureCompareMode = ((int)0x884C) , + /// + /// Original was GL_TextureCompareFunc = 0x884D + /// + TextureCompareFunc = ((int)0x884D) , + } + + /// + /// Used in GL.GetSeparableFilter, GL.SeparableFilter2D + /// + public enum SeparableTarget : int + { + /// + /// Original was GL_SEPARABLE_2D = 0x8012 + /// + Separable2D = ((int)0x8012) , + } + + /// + /// Not used directly. + /// + public enum SeparableTargetExt : int + { + /// + /// Original was GL_SEPARABLE_2D_EXT = 0x8012 + /// + Separable2DExt = ((int)0x8012) , + } + + /// + /// Not used directly. + /// + public enum SgiColorMatrix : int + { + /// + /// Original was GL_COLOR_MATRIX_SGI = 0x80B1 + /// + ColorMatrixSgi = ((int)0x80B1) , + /// + /// Original was GL_COLOR_MATRIX_STACK_DEPTH_SGI = 0x80B2 + /// + ColorMatrixStackDepthSgi = ((int)0x80B2) , + /// + /// Original was GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI = 0x80B3 + /// + MaxColorMatrixStackDepthSgi = ((int)0x80B3) , + /// + /// Original was GL_POST_COLOR_MATRIX_RED_SCALE_SGI = 0x80B4 + /// + PostColorMatrixRedScaleSgi = ((int)0x80B4) , + /// + /// Original was GL_POST_COLOR_MATRIX_GREEN_SCALE_SGI = 0x80B5 + /// + PostColorMatrixGreenScaleSgi = ((int)0x80B5) , + /// + /// Original was GL_POST_COLOR_MATRIX_BLUE_SCALE_SGI = 0x80B6 + /// + PostColorMatrixBlueScaleSgi = ((int)0x80B6) , + /// + /// Original was GL_POST_COLOR_MATRIX_ALPHA_SCALE_SGI = 0x80B7 + /// + PostColorMatrixAlphaScaleSgi = ((int)0x80B7) , + /// + /// Original was GL_POST_COLOR_MATRIX_RED_BIAS_SGI = 0x80B8 + /// + PostColorMatrixRedBiasSgi = ((int)0x80B8) , + /// + /// Original was GL_POST_COLOR_MATRIX_GREEN_BIAS_SGI = 0x80B9 + /// + PostColorMatrixGreenBiasSgi = ((int)0x80B9) , + /// + /// Original was GL_POST_COLOR_MATRIX_BLUE_BIAS_SGI = 0x80BA + /// + PostColorMatrixBlueBiasSgi = ((int)0x80BA) , + /// + /// Original was GL_POST_COLOR_MATRIX_ALPHA_BIAS_SGI = 0x80BB + /// + PostColorMatrixAlphaBiasSgi = ((int)0x80BB) , + } + + /// + /// Used in GL.Sgi.ColorTableParameter, GL.Sgi.ColorTable, GL.Sgi.CopyColorTable, GL.Sgi.GetColorTableParameter, GL.Sgi.GetColorTable + /// + public enum SgiColorTable : int + { + /// + /// Original was GL_COLOR_TABLE_SGI = 0x80D0 + /// + ColorTableSgi = ((int)0x80D0) , + /// + /// Original was GL_POST_CONVOLUTION_COLOR_TABLE_SGI = 0x80D1 + /// + PostConvolutionColorTableSgi = ((int)0x80D1) , + /// + /// Original was GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI = 0x80D2 + /// + PostColorMatrixColorTableSgi = ((int)0x80D2) , + /// + /// Original was GL_PROXY_COLOR_TABLE_SGI = 0x80D3 + /// + ProxyColorTableSgi = ((int)0x80D3) , + /// + /// Original was GL_PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI = 0x80D4 + /// + ProxyPostConvolutionColorTableSgi = ((int)0x80D4) , + /// + /// Original was GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI = 0x80D5 + /// + ProxyPostColorMatrixColorTableSgi = ((int)0x80D5) , + /// + /// Original was GL_COLOR_TABLE_SCALE_SGI = 0x80D6 + /// + ColorTableScaleSgi = ((int)0x80D6) , + /// + /// Original was GL_COLOR_TABLE_BIAS_SGI = 0x80D7 + /// + ColorTableBiasSgi = ((int)0x80D7) , + /// + /// Original was GL_COLOR_TABLE_FORMAT_SGI = 0x80D8 + /// + ColorTableFormatSgi = ((int)0x80D8) , + /// + /// Original was GL_COLOR_TABLE_WIDTH_SGI = 0x80D9 + /// + ColorTableWidthSgi = ((int)0x80D9) , + /// + /// Original was GL_COLOR_TABLE_RED_SIZE_SGI = 0x80DA + /// + ColorTableRedSizeSgi = ((int)0x80DA) , + /// + /// Original was GL_COLOR_TABLE_GREEN_SIZE_SGI = 0x80DB + /// + ColorTableGreenSizeSgi = ((int)0x80DB) , + /// + /// Original was GL_COLOR_TABLE_BLUE_SIZE_SGI = 0x80DC + /// + ColorTableBlueSizeSgi = ((int)0x80DC) , + /// + /// Original was GL_COLOR_TABLE_ALPHA_SIZE_SGI = 0x80DD + /// + ColorTableAlphaSizeSgi = ((int)0x80DD) , + /// + /// Original was GL_COLOR_TABLE_LUMINANCE_SIZE_SGI = 0x80DE + /// + ColorTableLuminanceSizeSgi = ((int)0x80DE) , + /// + /// Original was GL_COLOR_TABLE_INTENSITY_SIZE_SGI = 0x80DF + /// + ColorTableIntensitySizeSgi = ((int)0x80DF) , + } + + /// + /// Not used directly. + /// + public enum SgiDepthPassInstrument : int + { + /// + /// Original was GL_DEPTH_PASS_INSTRUMENT_SGIX = 0x8310 + /// + DepthPassInstrumentSgix = ((int)0x8310) , + /// + /// Original was GL_DEPTH_PASS_INSTRUMENT_COUNTERS_SGIX = 0x8311 + /// + DepthPassInstrumentCountersSgix = ((int)0x8311) , + /// + /// Original was GL_DEPTH_PASS_INSTRUMENT_MAX_SGIX = 0x8312 + /// + DepthPassInstrumentMaxSgix = ((int)0x8312) , + } + + /// + /// Not used directly. + /// + public enum SgisDetailTexture : int + { + /// + /// Original was GL_DETAIL_TEXTURE_2D_SGIS = 0x8095 + /// + DetailTexture2DSgis = ((int)0x8095) , + /// + /// Original was GL_DETAIL_TEXTURE_2D_BINDING_SGIS = 0x8096 + /// + DetailTexture2DBindingSgis = ((int)0x8096) , + /// + /// Original was GL_LINEAR_DETAIL_SGIS = 0x8097 + /// + LinearDetailSgis = ((int)0x8097) , + /// + /// Original was GL_LINEAR_DETAIL_ALPHA_SGIS = 0x8098 + /// + LinearDetailAlphaSgis = ((int)0x8098) , + /// + /// Original was GL_LINEAR_DETAIL_COLOR_SGIS = 0x8099 + /// + LinearDetailColorSgis = ((int)0x8099) , + /// + /// Original was GL_DETAIL_TEXTURE_LEVEL_SGIS = 0x809A + /// + DetailTextureLevelSgis = ((int)0x809A) , + /// + /// Original was GL_DETAIL_TEXTURE_MODE_SGIS = 0x809B + /// + DetailTextureModeSgis = ((int)0x809B) , + /// + /// Original was GL_DETAIL_TEXTURE_FUNC_POINTS_SGIS = 0x809C + /// + DetailTextureFuncPointsSgis = ((int)0x809C) , + } + + /// + /// Not used directly. + /// + public enum SgisFogFunction : int + { + /// + /// Original was GL_FOG_FUNC_SGIS = 0x812A + /// + FogFuncSgis = ((int)0x812A) , + /// + /// Original was GL_FOG_FUNC_POINTS_SGIS = 0x812B + /// + FogFuncPointsSgis = ((int)0x812B) , + /// + /// Original was GL_MAX_FOG_FUNC_POINTS_SGIS = 0x812C + /// + MaxFogFuncPointsSgis = ((int)0x812C) , + } + + /// + /// Not used directly. + /// + public enum SgisGenerateMipmap : int + { + /// + /// Original was GL_GENERATE_MIPMAP_SGIS = 0x8191 + /// + GenerateMipmapSgis = ((int)0x8191) , + /// + /// Original was GL_GENERATE_MIPMAP_HINT_SGIS = 0x8192 + /// + GenerateMipmapHintSgis = ((int)0x8192) , + } + + /// + /// Used in GL.Sgis.SamplePattern + /// + public enum SgisMultisample : int + { + /// + /// Original was GL_MULTISAMPLE_SGIS = 0x809D + /// + MultisampleSgis = ((int)0x809D) , + /// + /// Original was GL_SAMPLE_ALPHA_TO_MASK_SGIS = 0x809E + /// + SampleAlphaToMaskSgis = ((int)0x809E) , + /// + /// Original was GL_SAMPLE_ALPHA_TO_ONE_SGIS = 0x809F + /// + SampleAlphaToOneSgis = ((int)0x809F) , + /// + /// Original was GL_SAMPLE_MASK_SGIS = 0x80A0 + /// + SampleMaskSgis = ((int)0x80A0) , + /// + /// Original was GL_1PASS_SGIS = 0x80A1 + /// + Gl1PassSgis = ((int)0x80A1) , + /// + /// Original was GL_2PASS_0_SGIS = 0x80A2 + /// + Gl2Pass0Sgis = ((int)0x80A2) , + /// + /// Original was GL_2PASS_1_SGIS = 0x80A3 + /// + Gl2Pass1Sgis = ((int)0x80A3) , + /// + /// Original was GL_4PASS_0_SGIS = 0x80A4 + /// + Gl4Pass0Sgis = ((int)0x80A4) , + /// + /// Original was GL_4PASS_1_SGIS = 0x80A5 + /// + Gl4Pass1Sgis = ((int)0x80A5) , + /// + /// Original was GL_4PASS_2_SGIS = 0x80A6 + /// + Gl4Pass2Sgis = ((int)0x80A6) , + /// + /// Original was GL_4PASS_3_SGIS = 0x80A7 + /// + Gl4Pass3Sgis = ((int)0x80A7) , + /// + /// Original was GL_SAMPLE_BUFFERS_SGIS = 0x80A8 + /// + SampleBuffersSgis = ((int)0x80A8) , + /// + /// Original was GL_SAMPLES_SGIS = 0x80A9 + /// + SamplesSgis = ((int)0x80A9) , + /// + /// Original was GL_SAMPLE_MASK_VALUE_SGIS = 0x80AA + /// + SampleMaskValueSgis = ((int)0x80AA) , + /// + /// Original was GL_SAMPLE_MASK_INVERT_SGIS = 0x80AB + /// + SampleMaskInvertSgis = ((int)0x80AB) , + /// + /// Original was GL_SAMPLE_PATTERN_SGIS = 0x80AC + /// + SamplePatternSgis = ((int)0x80AC) , + } + + /// + /// Used in GL.Sgis.GetPixelTexGenParameter, GL.Sgis.PixelTexGenParameter + /// + public enum SgisPixelTexture : int + { + /// + /// Original was GL_PIXEL_TEXTURE_SGIS = 0x8353 + /// + PixelTextureSgis = ((int)0x8353) , + /// + /// Original was GL_PIXEL_FRAGMENT_RGB_SOURCE_SGIS = 0x8354 + /// + PixelFragmentRgbSourceSgis = ((int)0x8354) , + /// + /// Original was GL_PIXEL_FRAGMENT_ALPHA_SOURCE_SGIS = 0x8355 + /// + PixelFragmentAlphaSourceSgis = ((int)0x8355) , + /// + /// Original was GL_PIXEL_GROUP_COLOR_SGIS = 0x8356 + /// + PixelGroupColorSgis = ((int)0x8356) , + } + + /// + /// Not used directly. + /// + public enum SgisPointLineTexgen : int + { + /// + /// Original was GL_EYE_DISTANCE_TO_POINT_SGIS = 0x81F0 + /// + EyeDistanceToPointSgis = ((int)0x81F0) , + /// + /// Original was GL_OBJECT_DISTANCE_TO_POINT_SGIS = 0x81F1 + /// + ObjectDistanceToPointSgis = ((int)0x81F1) , + /// + /// Original was GL_EYE_DISTANCE_TO_LINE_SGIS = 0x81F2 + /// + EyeDistanceToLineSgis = ((int)0x81F2) , + /// + /// Original was GL_OBJECT_DISTANCE_TO_LINE_SGIS = 0x81F3 + /// + ObjectDistanceToLineSgis = ((int)0x81F3) , + /// + /// Original was GL_EYE_POINT_SGIS = 0x81F4 + /// + EyePointSgis = ((int)0x81F4) , + /// + /// Original was GL_OBJECT_POINT_SGIS = 0x81F5 + /// + ObjectPointSgis = ((int)0x81F5) , + /// + /// Original was GL_EYE_LINE_SGIS = 0x81F6 + /// + EyeLineSgis = ((int)0x81F6) , + /// + /// Original was GL_OBJECT_LINE_SGIS = 0x81F7 + /// + ObjectLineSgis = ((int)0x81F7) , + } + + /// + /// Used in GL.Sgis.PointParameter + /// + public enum SgisPointParameters : int + { + /// + /// Original was GL_POINT_SIZE_MIN_SGIS = 0x8126 + /// + PointSizeMinSgis = ((int)0x8126) , + /// + /// Original was GL_POINT_SIZE_MAX_SGIS = 0x8127 + /// + PointSizeMaxSgis = ((int)0x8127) , + /// + /// Original was GL_POINT_FADE_THRESHOLD_SIZE_SGIS = 0x8128 + /// + PointFadeThresholdSizeSgis = ((int)0x8128) , + /// + /// Original was GL_DISTANCE_ATTENUATION_SGIS = 0x8129 + /// + DistanceAttenuationSgis = ((int)0x8129) , + } + + /// + /// Not used directly. + /// + public enum SgisSharpenTexture : int + { + /// + /// Original was GL_LINEAR_SHARPEN_SGIS = 0x80AD + /// + LinearSharpenSgis = ((int)0x80AD) , + /// + /// Original was GL_LINEAR_SHARPEN_ALPHA_SGIS = 0x80AE + /// + LinearSharpenAlphaSgis = ((int)0x80AE) , + /// + /// Original was GL_LINEAR_SHARPEN_COLOR_SGIS = 0x80AF + /// + LinearSharpenColorSgis = ((int)0x80AF) , + /// + /// Original was GL_SHARPEN_TEXTURE_FUNC_POINTS_SGIS = 0x80B0 + /// + SharpenTextureFuncPointsSgis = ((int)0x80B0) , + } + + /// + /// Not used directly. + /// + public enum SgisTexture4D : int + { + /// + /// Original was GL_PACK_SKIP_VOLUMES_SGIS = 0x8130 + /// + PackSkipVolumesSgis = ((int)0x8130) , + /// + /// Original was GL_PACK_IMAGE_DEPTH_SGIS = 0x8131 + /// + PackImageDepthSgis = ((int)0x8131) , + /// + /// Original was GL_UNPACK_SKIP_VOLUMES_SGIS = 0x8132 + /// + UnpackSkipVolumesSgis = ((int)0x8132) , + /// + /// Original was GL_UNPACK_IMAGE_DEPTH_SGIS = 0x8133 + /// + UnpackImageDepthSgis = ((int)0x8133) , + /// + /// Original was GL_TEXTURE_4D_SGIS = 0x8134 + /// + Texture4DSgis = ((int)0x8134) , + /// + /// Original was GL_PROXY_TEXTURE_4D_SGIS = 0x8135 + /// + ProxyTexture4DSgis = ((int)0x8135) , + /// + /// Original was GL_TEXTURE_4DSIZE_SGIS = 0x8136 + /// + Texture4DsizeSgis = ((int)0x8136) , + /// + /// Original was GL_TEXTURE_WRAP_Q_SGIS = 0x8137 + /// + TextureWrapQSgis = ((int)0x8137) , + /// + /// Original was GL_MAX_4D_TEXTURE_SIZE_SGIS = 0x8138 + /// + Max4DTextureSizeSgis = ((int)0x8138) , + /// + /// Original was GL_TEXTURE_4D_BINDING_SGIS = 0x814F + /// + Texture4DBindingSgis = ((int)0x814F) , + } + + /// + /// Not used directly. + /// + public enum SgisTextureBorderClamp : int + { + /// + /// Original was GL_CLAMP_TO_BORDER_SGIS = 0x812D + /// + ClampToBorderSgis = ((int)0x812D) , + } + + /// + /// Not used directly. + /// + [Flags] + public enum SgisTextureColorMask : int + { + /// + /// Original was GL_TEXTURE_COLOR_WRITEMASK_SGIS = 0x81EF + /// + TextureColorWritemaskSgis = ((int)0x81EF) , + } + + /// + /// Not used directly. + /// + public enum SgisTextureEdgeClamp : int + { + /// + /// Original was GL_CLAMP_TO_EDGE_SGIS = 0x812F + /// + ClampToEdgeSgis = ((int)0x812F) , + } + + /// + /// Used in GL.Sgis.GetTexFilterFunc, GL.Sgis.TexFilterFunc + /// + public enum SgisTextureFilter4 : int + { + /// + /// Original was GL_FILTER4_SGIS = 0x8146 + /// + Filter4Sgis = ((int)0x8146) , + /// + /// Original was GL_TEXTURE_FILTER4_SIZE_SGIS = 0x8147 + /// + TextureFilter4SizeSgis = ((int)0x8147) , + } + + /// + /// Not used directly. + /// + public enum SgisTextureLod : int + { + /// + /// Original was GL_TEXTURE_MIN_LOD_SGIS = 0x813A + /// + TextureMinLodSgis = ((int)0x813A) , + /// + /// Original was GL_TEXTURE_MAX_LOD_SGIS = 0x813B + /// + TextureMaxLodSgis = ((int)0x813B) , + /// + /// Original was GL_TEXTURE_BASE_LEVEL_SGIS = 0x813C + /// + TextureBaseLevelSgis = ((int)0x813C) , + /// + /// Original was GL_TEXTURE_MAX_LEVEL_SGIS = 0x813D + /// + TextureMaxLevelSgis = ((int)0x813D) , + } + + /// + /// Not used directly. + /// + public enum SgisTextureSelect : int + { + /// + /// Original was GL_DUAL_ALPHA4_SGIS = 0x8110 + /// + DualAlpha4Sgis = ((int)0x8110) , + /// + /// Original was GL_DUAL_ALPHA8_SGIS = 0x8111 + /// + DualAlpha8Sgis = ((int)0x8111) , + /// + /// Original was GL_DUAL_ALPHA12_SGIS = 0x8112 + /// + DualAlpha12Sgis = ((int)0x8112) , + /// + /// Original was GL_DUAL_ALPHA16_SGIS = 0x8113 + /// + DualAlpha16Sgis = ((int)0x8113) , + /// + /// Original was GL_DUAL_LUMINANCE4_SGIS = 0x8114 + /// + DualLuminance4Sgis = ((int)0x8114) , + /// + /// Original was GL_DUAL_LUMINANCE8_SGIS = 0x8115 + /// + DualLuminance8Sgis = ((int)0x8115) , + /// + /// Original was GL_DUAL_LUMINANCE12_SGIS = 0x8116 + /// + DualLuminance12Sgis = ((int)0x8116) , + /// + /// Original was GL_DUAL_LUMINANCE16_SGIS = 0x8117 + /// + DualLuminance16Sgis = ((int)0x8117) , + /// + /// Original was GL_DUAL_INTENSITY4_SGIS = 0x8118 + /// + DualIntensity4Sgis = ((int)0x8118) , + /// + /// Original was GL_DUAL_INTENSITY8_SGIS = 0x8119 + /// + DualIntensity8Sgis = ((int)0x8119) , + /// + /// Original was GL_DUAL_INTENSITY12_SGIS = 0x811A + /// + DualIntensity12Sgis = ((int)0x811A) , + /// + /// Original was GL_DUAL_INTENSITY16_SGIS = 0x811B + /// + DualIntensity16Sgis = ((int)0x811B) , + /// + /// Original was GL_DUAL_LUMINANCE_ALPHA4_SGIS = 0x811C + /// + DualLuminanceAlpha4Sgis = ((int)0x811C) , + /// + /// Original was GL_DUAL_LUMINANCE_ALPHA8_SGIS = 0x811D + /// + DualLuminanceAlpha8Sgis = ((int)0x811D) , + /// + /// Original was GL_QUAD_ALPHA4_SGIS = 0x811E + /// + QuadAlpha4Sgis = ((int)0x811E) , + /// + /// Original was GL_QUAD_ALPHA8_SGIS = 0x811F + /// + QuadAlpha8Sgis = ((int)0x811F) , + /// + /// Original was GL_QUAD_LUMINANCE4_SGIS = 0x8120 + /// + QuadLuminance4Sgis = ((int)0x8120) , + /// + /// Original was GL_QUAD_LUMINANCE8_SGIS = 0x8121 + /// + QuadLuminance8Sgis = ((int)0x8121) , + /// + /// Original was GL_QUAD_INTENSITY4_SGIS = 0x8122 + /// + QuadIntensity4Sgis = ((int)0x8122) , + /// + /// Original was GL_QUAD_INTENSITY8_SGIS = 0x8123 + /// + QuadIntensity8Sgis = ((int)0x8123) , + /// + /// Original was GL_DUAL_TEXTURE_SELECT_SGIS = 0x8124 + /// + DualTextureSelectSgis = ((int)0x8124) , + /// + /// Original was GL_QUAD_TEXTURE_SELECT_SGIS = 0x8125 + /// + QuadTextureSelectSgis = ((int)0x8125) , + } + + /// + /// Not used directly. + /// + public enum SgiTextureColorTable : int + { + /// + /// Original was GL_TEXTURE_COLOR_TABLE_SGI = 0x80BC + /// + TextureColorTableSgi = ((int)0x80BC) , + /// + /// Original was GL_PROXY_TEXTURE_COLOR_TABLE_SGI = 0x80BD + /// + ProxyTextureColorTableSgi = ((int)0x80BD) , + } + + /// + /// Not used directly. + /// + public enum SgixAsync : int + { + /// + /// Original was GL_ASYNC_MARKER_SGIX = 0x8329 + /// + AsyncMarkerSgix = ((int)0x8329) , + } + + /// + /// Not used directly. + /// + public enum SgixAsyncHistogram : int + { + /// + /// Original was GL_ASYNC_HISTOGRAM_SGIX = 0x832C + /// + AsyncHistogramSgix = ((int)0x832C) , + /// + /// Original was GL_MAX_ASYNC_HISTOGRAM_SGIX = 0x832D + /// + MaxAsyncHistogramSgix = ((int)0x832D) , + } + + /// + /// Not used directly. + /// + public enum SgixAsyncPixel : int + { + /// + /// Original was GL_ASYNC_TEX_IMAGE_SGIX = 0x835C + /// + AsyncTexImageSgix = ((int)0x835C) , + /// + /// Original was GL_ASYNC_DRAW_PIXELS_SGIX = 0x835D + /// + AsyncDrawPixelsSgix = ((int)0x835D) , + /// + /// Original was GL_ASYNC_READ_PIXELS_SGIX = 0x835E + /// + AsyncReadPixelsSgix = ((int)0x835E) , + /// + /// Original was GL_MAX_ASYNC_TEX_IMAGE_SGIX = 0x835F + /// + MaxAsyncTexImageSgix = ((int)0x835F) , + /// + /// Original was GL_MAX_ASYNC_DRAW_PIXELS_SGIX = 0x8360 + /// + MaxAsyncDrawPixelsSgix = ((int)0x8360) , + /// + /// Original was GL_MAX_ASYNC_READ_PIXELS_SGIX = 0x8361 + /// + MaxAsyncReadPixelsSgix = ((int)0x8361) , + } + + /// + /// Not used directly. + /// + public enum SgixBlendAlphaMinmax : int + { + /// + /// Original was GL_ALPHA_MIN_SGIX = 0x8320 + /// + AlphaMinSgix = ((int)0x8320) , + /// + /// Original was GL_ALPHA_MAX_SGIX = 0x8321 + /// + AlphaMaxSgix = ((int)0x8321) , + } + + /// + /// Not used directly. + /// + public enum SgixCalligraphicFragment : int + { + /// + /// Original was GL_CALLIGRAPHIC_FRAGMENT_SGIX = 0x8183 + /// + CalligraphicFragmentSgix = ((int)0x8183) , + } + + /// + /// Not used directly. + /// + public enum SgixClipmap : int + { + /// + /// Original was GL_LINEAR_CLIPMAP_LINEAR_SGIX = 0x8170 + /// + LinearClipmapLinearSgix = ((int)0x8170) , + /// + /// Original was GL_TEXTURE_CLIPMAP_CENTER_SGIX = 0x8171 + /// + TextureClipmapCenterSgix = ((int)0x8171) , + /// + /// Original was GL_TEXTURE_CLIPMAP_FRAME_SGIX = 0x8172 + /// + TextureClipmapFrameSgix = ((int)0x8172) , + /// + /// Original was GL_TEXTURE_CLIPMAP_OFFSET_SGIX = 0x8173 + /// + TextureClipmapOffsetSgix = ((int)0x8173) , + /// + /// Original was GL_TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX = 0x8174 + /// + TextureClipmapVirtualDepthSgix = ((int)0x8174) , + /// + /// Original was GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX = 0x8175 + /// + TextureClipmapLodOffsetSgix = ((int)0x8175) , + /// + /// Original was GL_TEXTURE_CLIPMAP_DEPTH_SGIX = 0x8176 + /// + TextureClipmapDepthSgix = ((int)0x8176) , + /// + /// Original was GL_MAX_CLIPMAP_DEPTH_SGIX = 0x8177 + /// + MaxClipmapDepthSgix = ((int)0x8177) , + /// + /// Original was GL_MAX_CLIPMAP_VIRTUAL_DEPTH_SGIX = 0x8178 + /// + MaxClipmapVirtualDepthSgix = ((int)0x8178) , + /// + /// Original was GL_NEAREST_CLIPMAP_NEAREST_SGIX = 0x844D + /// + NearestClipmapNearestSgix = ((int)0x844D) , + /// + /// Original was GL_NEAREST_CLIPMAP_LINEAR_SGIX = 0x844E + /// + NearestClipmapLinearSgix = ((int)0x844E) , + /// + /// Original was GL_LINEAR_CLIPMAP_NEAREST_SGIX = 0x844F + /// + LinearClipmapNearestSgix = ((int)0x844F) , + } + + /// + /// Not used directly. + /// + public enum SgixConvolutionAccuracy : int + { + /// + /// Original was GL_CONVOLUTION_HINT_SGIX = 0x8316 + /// + ConvolutionHintSgix = ((int)0x8316) , + } + + /// + /// Not used directly. + /// + public enum SgixDepthPassInstrument : int + { + /// + /// Original was GL_DEPTH_PASS_INSTRUMENT_SGIX = 0x8310 + /// + DepthPassInstrumentSgix = ((int)0x8310) , + /// + /// Original was GL_DEPTH_PASS_INSTRUMENT_COUNTERS_SGIX = 0x8311 + /// + DepthPassInstrumentCountersSgix = ((int)0x8311) , + /// + /// Original was GL_DEPTH_PASS_INSTRUMENT_MAX_SGIX = 0x8312 + /// + DepthPassInstrumentMaxSgix = ((int)0x8312) , + } + + /// + /// Not used directly. + /// + public enum SgixDepthTexture : int + { + /// + /// Original was GL_DEPTH_COMPONENT16_SGIX = 0x81A5 + /// + DepthComponent16Sgix = ((int)0x81A5) , + /// + /// Original was GL_DEPTH_COMPONENT24_SGIX = 0x81A6 + /// + DepthComponent24Sgix = ((int)0x81A6) , + /// + /// Original was GL_DEPTH_COMPONENT32_SGIX = 0x81A7 + /// + DepthComponent32Sgix = ((int)0x81A7) , + } + + /// + /// Not used directly. + /// + public enum SgixFlushRaster : int + { + } + + /// + /// Not used directly. + /// + public enum SgixFogOffset : int + { + /// + /// Original was GL_FOG_OFFSET_SGIX = 0x8198 + /// + FogOffsetSgix = ((int)0x8198) , + /// + /// Original was GL_FOG_OFFSET_VALUE_SGIX = 0x8199 + /// + FogOffsetValueSgix = ((int)0x8199) , + } + + /// + /// Not used directly. + /// + public enum SgixFogScale : int + { + /// + /// Original was GL_FOG_SCALE_SGIX = 0x81FC + /// + FogScaleSgix = ((int)0x81FC) , + /// + /// Original was GL_FOG_SCALE_VALUE_SGIX = 0x81FD + /// + FogScaleValueSgix = ((int)0x81FD) , + } + + /// + /// Used in GL.Sgix.FragmentLight, GL.Sgix.FragmentLightModel, GL.Sgix.GetFragmentLight, GL.Sgix.LightEnv + /// + public enum SgixFragmentLighting : int + { + /// + /// Original was GL_FRAGMENT_LIGHTING_SGIX = 0x8400 + /// + FragmentLightingSgix = ((int)0x8400) , + /// + /// Original was GL_FRAGMENT_COLOR_MATERIAL_SGIX = 0x8401 + /// + FragmentColorMaterialSgix = ((int)0x8401) , + /// + /// Original was GL_FRAGMENT_COLOR_MATERIAL_FACE_SGIX = 0x8402 + /// + FragmentColorMaterialFaceSgix = ((int)0x8402) , + /// + /// Original was GL_FRAGMENT_COLOR_MATERIAL_PARAMETER_SGIX = 0x8403 + /// + FragmentColorMaterialParameterSgix = ((int)0x8403) , + /// + /// Original was GL_MAX_FRAGMENT_LIGHTS_SGIX = 0x8404 + /// + MaxFragmentLightsSgix = ((int)0x8404) , + /// + /// Original was GL_MAX_ACTIVE_LIGHTS_SGIX = 0x8405 + /// + MaxActiveLightsSgix = ((int)0x8405) , + /// + /// Original was GL_CURRENT_RASTER_NORMAL_SGIX = 0x8406 + /// + CurrentRasterNormalSgix = ((int)0x8406) , + /// + /// Original was GL_LIGHT_ENV_MODE_SGIX = 0x8407 + /// + LightEnvModeSgix = ((int)0x8407) , + /// + /// Original was GL_FRAGMENT_LIGHT_MODEL_LOCAL_VIEWER_SGIX = 0x8408 + /// + FragmentLightModelLocalViewerSgix = ((int)0x8408) , + /// + /// Original was GL_FRAGMENT_LIGHT_MODEL_TWO_SIDE_SGIX = 0x8409 + /// + FragmentLightModelTwoSideSgix = ((int)0x8409) , + /// + /// Original was GL_FRAGMENT_LIGHT_MODEL_AMBIENT_SGIX = 0x840A + /// + FragmentLightModelAmbientSgix = ((int)0x840A) , + /// + /// Original was GL_FRAGMENT_LIGHT_MODEL_NORMAL_INTERPOLATION_SGIX = 0x840B + /// + FragmentLightModelNormalInterpolationSgix = ((int)0x840B) , + /// + /// Original was GL_FRAGMENT_LIGHT0_SGIX = 0x840C + /// + FragmentLight0Sgix = ((int)0x840C) , + /// + /// Original was GL_FRAGMENT_LIGHT1_SGIX = 0x840D + /// + FragmentLight1Sgix = ((int)0x840D) , + /// + /// Original was GL_FRAGMENT_LIGHT2_SGIX = 0x840E + /// + FragmentLight2Sgix = ((int)0x840E) , + /// + /// Original was GL_FRAGMENT_LIGHT3_SGIX = 0x840F + /// + FragmentLight3Sgix = ((int)0x840F) , + /// + /// Original was GL_FRAGMENT_LIGHT4_SGIX = 0x8410 + /// + FragmentLight4Sgix = ((int)0x8410) , + /// + /// Original was GL_FRAGMENT_LIGHT5_SGIX = 0x8411 + /// + FragmentLight5Sgix = ((int)0x8411) , + /// + /// Original was GL_FRAGMENT_LIGHT6_SGIX = 0x8412 + /// + FragmentLight6Sgix = ((int)0x8412) , + /// + /// Original was GL_FRAGMENT_LIGHT7_SGIX = 0x8413 + /// + FragmentLight7Sgix = ((int)0x8413) , + } + + /// + /// Not used directly. + /// + public enum SgixFragmentsInstrument : int + { + /// + /// Original was GL_FRAGMENTS_INSTRUMENT_SGIX = 0x8313 + /// + FragmentsInstrumentSgix = ((int)0x8313) , + /// + /// Original was GL_FRAGMENTS_INSTRUMENT_COUNTERS_SGIX = 0x8314 + /// + FragmentsInstrumentCountersSgix = ((int)0x8314) , + /// + /// Original was GL_FRAGMENTS_INSTRUMENT_MAX_SGIX = 0x8315 + /// + FragmentsInstrumentMaxSgix = ((int)0x8315) , + } + + /// + /// Not used directly. + /// + public enum SgixFramezoom : int + { + /// + /// Original was GL_FRAMEZOOM_SGIX = 0x818B + /// + FramezoomSgix = ((int)0x818B) , + /// + /// Original was GL_FRAMEZOOM_FACTOR_SGIX = 0x818C + /// + FramezoomFactorSgix = ((int)0x818C) , + /// + /// Original was GL_MAX_FRAMEZOOM_FACTOR_SGIX = 0x818D + /// + MaxFramezoomFactorSgix = ((int)0x818D) , + } + + /// + /// Not used directly. + /// + public enum SgixIccTexture : int + { + } + + /// + /// Not used directly. + /// + public enum SgixImpactPixelTexture : int + { + /// + /// Original was GL_PIXEL_TEX_GEN_Q_CEILING_SGIX = 0x8184 + /// + PixelTexGenQCeilingSgix = ((int)0x8184) , + /// + /// Original was GL_PIXEL_TEX_GEN_Q_ROUND_SGIX = 0x8185 + /// + PixelTexGenQRoundSgix = ((int)0x8185) , + /// + /// Original was GL_PIXEL_TEX_GEN_Q_FLOOR_SGIX = 0x8186 + /// + PixelTexGenQFloorSgix = ((int)0x8186) , + /// + /// Original was GL_PIXEL_TEX_GEN_ALPHA_REPLACE_SGIX = 0x8187 + /// + PixelTexGenAlphaReplaceSgix = ((int)0x8187) , + /// + /// Original was GL_PIXEL_TEX_GEN_ALPHA_NO_REPLACE_SGIX = 0x8188 + /// + PixelTexGenAlphaNoReplaceSgix = ((int)0x8188) , + /// + /// Original was GL_PIXEL_TEX_GEN_ALPHA_LS_SGIX = 0x8189 + /// + PixelTexGenAlphaLsSgix = ((int)0x8189) , + /// + /// Original was GL_PIXEL_TEX_GEN_ALPHA_MS_SGIX = 0x818A + /// + PixelTexGenAlphaMsSgix = ((int)0x818A) , + } + + /// + /// Not used directly. + /// + public enum SgixInstruments : int + { + /// + /// Original was GL_INSTRUMENT_BUFFER_POINTER_SGIX = 0x8180 + /// + InstrumentBufferPointerSgix = ((int)0x8180) , + /// + /// Original was GL_INSTRUMENT_MEASUREMENTS_SGIX = 0x8181 + /// + InstrumentMeasurementsSgix = ((int)0x8181) , + } + + /// + /// Not used directly. + /// + public enum SgixInterlace : int + { + /// + /// Original was GL_INTERLACE_SGIX = 0x8094 + /// + InterlaceSgix = ((int)0x8094) , + } + + /// + /// Not used directly. + /// + public enum SgixIrInstrument1 : int + { + /// + /// Original was GL_IR_INSTRUMENT1_SGIX = 0x817F + /// + IrInstrument1Sgix = ((int)0x817F) , + } + + /// + /// Not used directly. + /// + public enum SgixLineQualityHint : int + { + /// + /// Original was GL_LINE_QUALITY_HINT_SGIX = 0x835B + /// + LineQualityHintSgix = ((int)0x835B) , + } + + /// + /// Not used directly. + /// + public enum SgixListPriority : int + { + /// + /// Original was GL_LIST_PRIORITY_SGIX = 0x8182 + /// + ListPrioritySgix = ((int)0x8182) , + } + + /// + /// Used in GL.Sgix.PixelTexGen + /// + public enum SgixPixelTexture : int + { + /// + /// Original was GL_PIXEL_TEX_GEN_SGIX = 0x8139 + /// + PixelTexGenSgix = ((int)0x8139) , + /// + /// Original was GL_PIXEL_TEX_GEN_MODE_SGIX = 0x832B + /// + PixelTexGenModeSgix = ((int)0x832B) , + } + + /// + /// Not used directly. + /// + public enum SgixPixelTiles : int + { + /// + /// Original was GL_PIXEL_TILE_BEST_ALIGNMENT_SGIX = 0x813E + /// + PixelTileBestAlignmentSgix = ((int)0x813E) , + /// + /// Original was GL_PIXEL_TILE_CACHE_INCREMENT_SGIX = 0x813F + /// + PixelTileCacheIncrementSgix = ((int)0x813F) , + /// + /// Original was GL_PIXEL_TILE_WIDTH_SGIX = 0x8140 + /// + PixelTileWidthSgix = ((int)0x8140) , + /// + /// Original was GL_PIXEL_TILE_HEIGHT_SGIX = 0x8141 + /// + PixelTileHeightSgix = ((int)0x8141) , + /// + /// Original was GL_PIXEL_TILE_GRID_WIDTH_SGIX = 0x8142 + /// + PixelTileGridWidthSgix = ((int)0x8142) , + /// + /// Original was GL_PIXEL_TILE_GRID_HEIGHT_SGIX = 0x8143 + /// + PixelTileGridHeightSgix = ((int)0x8143) , + /// + /// Original was GL_PIXEL_TILE_GRID_DEPTH_SGIX = 0x8144 + /// + PixelTileGridDepthSgix = ((int)0x8144) , + /// + /// Original was GL_PIXEL_TILE_CACHE_SIZE_SGIX = 0x8145 + /// + PixelTileCacheSizeSgix = ((int)0x8145) , + } + + /// + /// Used in GL.Sgix.DeformationMap3 + /// + public enum SgixPolynomialFfd : int + { + /// + /// Original was GL_GEOMETRY_DEFORMATION_SGIX = 0x8194 + /// + GeometryDeformationSgix = ((int)0x8194) , + /// + /// Original was GL_TEXTURE_DEFORMATION_SGIX = 0x8195 + /// + TextureDeformationSgix = ((int)0x8195) , + /// + /// Original was GL_DEFORMATIONS_MASK_SGIX = 0x8196 + /// + DeformationsMaskSgix = ((int)0x8196) , + /// + /// Original was GL_MAX_DEFORMATION_ORDER_SGIX = 0x8197 + /// + MaxDeformationOrderSgix = ((int)0x8197) , + } + + /// + /// Not used directly. + /// + public enum SgixReferencePlane : int + { + /// + /// Original was GL_REFERENCE_PLANE_SGIX = 0x817D + /// + ReferencePlaneSgix = ((int)0x817D) , + /// + /// Original was GL_REFERENCE_PLANE_EQUATION_SGIX = 0x817E + /// + ReferencePlaneEquationSgix = ((int)0x817E) , + } + + /// + /// Not used directly. + /// + public enum SgixResample : int + { + /// + /// Original was GL_PACK_RESAMPLE_SGIX = 0x842C + /// + PackResampleSgix = ((int)0x842C) , + /// + /// Original was GL_UNPACK_RESAMPLE_SGIX = 0x842D + /// + UnpackResampleSgix = ((int)0x842D) , + /// + /// Original was GL_RESAMPLE_REPLICATE_SGIX = 0x842E + /// + ResampleReplicateSgix = ((int)0x842E) , + /// + /// Original was GL_RESAMPLE_ZERO_FILL_SGIX = 0x842F + /// + ResampleZeroFillSgix = ((int)0x842F) , + /// + /// Original was GL_RESAMPLE_DECIMATE_SGIX = 0x8430 + /// + ResampleDecimateSgix = ((int)0x8430) , + } + + /// + /// Not used directly. + /// + public enum SgixScalebiasHint : int + { + /// + /// Original was GL_SCALEBIAS_HINT_SGIX = 0x8322 + /// + ScalebiasHintSgix = ((int)0x8322) , + } + + /// + /// Not used directly. + /// + public enum SgixShadow : int + { + /// + /// Original was GL_TEXTURE_COMPARE_SGIX = 0x819A + /// + TextureCompareSgix = ((int)0x819A) , + /// + /// Original was GL_TEXTURE_COMPARE_OPERATOR_SGIX = 0x819B + /// + TextureCompareOperatorSgix = ((int)0x819B) , + /// + /// Original was GL_TEXTURE_LEQUAL_R_SGIX = 0x819C + /// + TextureLequalRSgix = ((int)0x819C) , + /// + /// Original was GL_TEXTURE_GEQUAL_R_SGIX = 0x819D + /// + TextureGequalRSgix = ((int)0x819D) , + } + + /// + /// Not used directly. + /// + public enum SgixShadowAmbient : int + { + /// + /// Original was GL_SHADOW_AMBIENT_SGIX = 0x80BF + /// + ShadowAmbientSgix = ((int)0x80BF) , + } + + /// + /// Not used directly. + /// + public enum SgixSlim : int + { + /// + /// Original was GL_UNPACK_COMPRESSED_SIZE_SGIX = 0x831A + /// + UnpackCompressedSizeSgix = ((int)0x831A) , + /// + /// Original was GL_PACK_MAX_COMPRESSED_SIZE_SGIX = 0x831B + /// + PackMaxCompressedSizeSgix = ((int)0x831B) , + /// + /// Original was GL_PACK_COMPRESSED_SIZE_SGIX = 0x831C + /// + PackCompressedSizeSgix = ((int)0x831C) , + /// + /// Original was GL_SLIM8U_SGIX = 0x831D + /// + Slim8uSgix = ((int)0x831D) , + /// + /// Original was GL_SLIM10U_SGIX = 0x831E + /// + Slim10uSgix = ((int)0x831E) , + /// + /// Original was GL_SLIM12S_SGIX = 0x831F + /// + Slim12sSgix = ((int)0x831F) , + } + + /// + /// Used in GL.Sgix.SpriteParameter + /// + public enum SgixSprite : int + { + /// + /// Original was GL_SPRITE_SGIX = 0x8148 + /// + SpriteSgix = ((int)0x8148) , + /// + /// Original was GL_SPRITE_MODE_SGIX = 0x8149 + /// + SpriteModeSgix = ((int)0x8149) , + /// + /// Original was GL_SPRITE_AXIS_SGIX = 0x814A + /// + SpriteAxisSgix = ((int)0x814A) , + /// + /// Original was GL_SPRITE_TRANSLATION_SGIX = 0x814B + /// + SpriteTranslationSgix = ((int)0x814B) , + /// + /// Original was GL_SPRITE_AXIAL_SGIX = 0x814C + /// + SpriteAxialSgix = ((int)0x814C) , + /// + /// Original was GL_SPRITE_OBJECT_ALIGNED_SGIX = 0x814D + /// + SpriteObjectAlignedSgix = ((int)0x814D) , + /// + /// Original was GL_SPRITE_EYE_ALIGNED_SGIX = 0x814E + /// + SpriteEyeAlignedSgix = ((int)0x814E) , + } + + /// + /// Not used directly. + /// + public enum SgixSubsample : int + { + /// + /// Original was GL_PACK_SUBSAMPLE_RATE_SGIX = 0x85A0 + /// + PackSubsampleRateSgix = ((int)0x85A0) , + /// + /// Original was GL_UNPACK_SUBSAMPLE_RATE_SGIX = 0x85A1 + /// + UnpackSubsampleRateSgix = ((int)0x85A1) , + /// + /// Original was GL_PIXEL_SUBSAMPLE_4444_SGIX = 0x85A2 + /// + PixelSubsample4444Sgix = ((int)0x85A2) , + /// + /// Original was GL_PIXEL_SUBSAMPLE_2424_SGIX = 0x85A3 + /// + PixelSubsample2424Sgix = ((int)0x85A3) , + /// + /// Original was GL_PIXEL_SUBSAMPLE_4242_SGIX = 0x85A4 + /// + PixelSubsample4242Sgix = ((int)0x85A4) , + } + + /// + /// Not used directly. + /// + public enum SgixTagSampleBuffer : int + { + } + + /// + /// Not used directly. + /// + public enum SgixTextureAddEnv : int + { + /// + /// Original was GL_TEXTURE_ENV_BIAS_SGIX = 0x80BE + /// + TextureEnvBiasSgix = ((int)0x80BE) , + } + + /// + /// Not used directly. + /// + public enum SgixTextureCoordinateClamp : int + { + /// + /// Original was GL_TEXTURE_MAX_CLAMP_S_SGIX = 0x8369 + /// + TextureMaxClampSSgix = ((int)0x8369) , + /// + /// Original was GL_TEXTURE_MAX_CLAMP_T_SGIX = 0x836A + /// + TextureMaxClampTSgix = ((int)0x836A) , + /// + /// Original was GL_TEXTURE_MAX_CLAMP_R_SGIX = 0x836B + /// + TextureMaxClampRSgix = ((int)0x836B) , + /// + /// Original was GL_FOG_FACTOR_TO_ALPHA_SGIX = 0x836F + /// + FogFactorToAlphaSgix = ((int)0x836F) , + } + + /// + /// Not used directly. + /// + public enum SgixTextureLodBias : int + { + /// + /// Original was GL_TEXTURE_LOD_BIAS_S_SGIX = 0x818E + /// + TextureLodBiasSSgix = ((int)0x818E) , + /// + /// Original was GL_TEXTURE_LOD_BIAS_T_SGIX = 0x818F + /// + TextureLodBiasTSgix = ((int)0x818F) , + /// + /// Original was GL_TEXTURE_LOD_BIAS_R_SGIX = 0x8190 + /// + TextureLodBiasRSgix = ((int)0x8190) , + } + + /// + /// Not used directly. + /// + public enum SgixTextureMultiBuffer : int + { + /// + /// Original was GL_TEXTURE_MULTI_BUFFER_HINT_SGIX = 0x812E + /// + TextureMultiBufferHintSgix = ((int)0x812E) , + } + + /// + /// Not used directly. + /// + public enum SgixTextureScaleBias : int + { + /// + /// Original was GL_POST_TEXTURE_FILTER_BIAS_SGIX = 0x8179 + /// + PostTextureFilterBiasSgix = ((int)0x8179) , + /// + /// Original was GL_POST_TEXTURE_FILTER_SCALE_SGIX = 0x817A + /// + PostTextureFilterScaleSgix = ((int)0x817A) , + /// + /// Original was GL_POST_TEXTURE_FILTER_BIAS_RANGE_SGIX = 0x817B + /// + PostTextureFilterBiasRangeSgix = ((int)0x817B) , + /// + /// Original was GL_POST_TEXTURE_FILTER_SCALE_RANGE_SGIX = 0x817C + /// + PostTextureFilterScaleRangeSgix = ((int)0x817C) , + } + + /// + /// Not used directly. + /// + public enum SgixVertexPreclip : int + { + /// + /// Original was GL_VERTEX_PRECLIP_SGIX = 0x83EE + /// + VertexPreclipSgix = ((int)0x83EE) , + /// + /// Original was GL_VERTEX_PRECLIP_HINT_SGIX = 0x83EF + /// + VertexPreclipHintSgix = ((int)0x83EF) , + } + + /// + /// Not used directly. + /// + public enum SgixYcrcb : int + { + /// + /// Original was GL_YCRCB_422_SGIX = 0x81BB + /// + Ycrcb422Sgix = ((int)0x81BB) , + /// + /// Original was GL_YCRCB_444_SGIX = 0x81BC + /// + Ycrcb444Sgix = ((int)0x81BC) , + } + + /// + /// Not used directly. + /// + public enum SgixYcrcba : int + { + /// + /// Original was GL_YCRCB_SGIX = 0x8318 + /// + YcrcbSgix = ((int)0x8318) , + /// + /// Original was GL_YCRCBA_SGIX = 0x8319 + /// + YcrcbaSgix = ((int)0x8319) , + } + + /// + /// Not used directly. + /// + public enum SgixYcrcbSubsample : int + { + /// + /// Original was GL_PACK_SUBSAMPLE_RATE_SGIX = 0x85A0 + /// + PackSubsampleRateSgix = ((int)0x85A0) , + /// + /// Original was GL_UNPACK_SUBSAMPLE_RATE_SGIX = 0x85A1 + /// + UnpackSubsampleRateSgix = ((int)0x85A1) , + /// + /// Original was GL_PIXEL_SUBSAMPLE_4444_SGIX = 0x85A2 + /// + PixelSubsample4444Sgix = ((int)0x85A2) , + /// + /// Original was GL_PIXEL_SUBSAMPLE_2424_SGIX = 0x85A3 + /// + PixelSubsample2424Sgix = ((int)0x85A3) , + /// + /// Original was GL_PIXEL_SUBSAMPLE_4242_SGIX = 0x85A4 + /// + PixelSubsample4242Sgix = ((int)0x85A4) , + } + + /// + /// Used in GL.GetShader + /// + public enum ShaderParameter : int + { + /// + /// Original was GL_SHADER_TYPE = 0x8B4F + /// + ShaderType = ((int)0x8B4F) , + /// + /// Original was GL_DELETE_STATUS = 0x8B80 + /// + DeleteStatus = ((int)0x8B80) , + /// + /// Original was GL_COMPILE_STATUS = 0x8B81 + /// + CompileStatus = ((int)0x8B81) , + /// + /// Original was GL_INFO_LOG_LENGTH = 0x8B84 + /// + InfoLogLength = ((int)0x8B84) , + /// + /// Original was GL_SHADER_SOURCE_LENGTH = 0x8B88 + /// + ShaderSourceLength = ((int)0x8B88) , + } + + /// + /// Used in GL.GetShaderPrecisionFormat + /// + public enum ShaderPrecisionType : int + { + /// + /// Original was GL_LOW_FLOAT = 0x8DF0 + /// + LowFloat = ((int)0x8DF0) , + /// + /// Original was GL_MEDIUM_FLOAT = 0x8DF1 + /// + MediumFloat = ((int)0x8DF1) , + /// + /// Original was GL_HIGH_FLOAT = 0x8DF2 + /// + HighFloat = ((int)0x8DF2) , + /// + /// Original was GL_LOW_INT = 0x8DF3 + /// + LowInt = ((int)0x8DF3) , + /// + /// Original was GL_MEDIUM_INT = 0x8DF4 + /// + MediumInt = ((int)0x8DF4) , + /// + /// Original was GL_HIGH_INT = 0x8DF5 + /// + HighInt = ((int)0x8DF5) , + } + + /// + /// Used in GL.CreateShader, GL.CreateShaderProgram, GL.GetActiveSubroutineName, GL.GetActiveSubroutineUniform, GL.GetActiveSubroutineUniformName, GL.GetProgramStage, GL.GetShaderPrecisionFormat, GL.GetSubroutineIndex, GL.GetSubroutineUniformLocation, GL.GetUniformSubroutine, GL.UniformSubroutines + /// + public enum ShaderType : int + { + /// + /// Original was GL_FRAGMENT_SHADER = 0x8B30 + /// + FragmentShader = ((int)0x8B30) , + /// + /// Original was GL_VERTEX_SHADER = 0x8B31 + /// + VertexShader = ((int)0x8B31) , + /// + /// Original was GL_GEOMETRY_SHADER = 0x8DD9 + /// + GeometryShader = ((int)0x8DD9) , + /// + /// Original was GL_GEOMETRY_SHADER_EXT = 0x8DD9 + /// + GeometryShaderExt = ((int)0x8DD9) , + /// + /// Original was GL_TESS_EVALUATION_SHADER = 0x8E87 + /// + TessEvaluationShader = ((int)0x8E87) , + /// + /// Original was GL_TESS_CONTROL_SHADER = 0x8E88 + /// + TessControlShader = ((int)0x8E88) , + } + + /// + /// Used in GL.ShadeModel + /// + public enum ShadingModel : int + { + /// + /// Original was GL_FLAT = 0x1D00 + /// + Flat = ((int)0x1D00) , + /// + /// Original was GL_SMOOTH = 0x1D01 + /// + Smooth = ((int)0x1D01) , + } + + /// + /// Used in GL.TexBuffer + /// + public enum SizedInternalFormat : int + { + /// + /// Original was GL_RGBA8 = 0x8058 + /// + Rgba8 = ((int)0x8058) , + /// + /// Original was GL_RGBA16 = 0x805B + /// + Rgba16 = ((int)0x805B) , + /// + /// Original was GL_R8 = 0x8229 + /// + R8 = ((int)0x8229) , + /// + /// Original was GL_R16 = 0x822A + /// + R16 = ((int)0x822A) , + /// + /// Original was GL_RG8 = 0x822B + /// + Rg8 = ((int)0x822B) , + /// + /// Original was GL_RG16 = 0x822C + /// + Rg16 = ((int)0x822C) , + /// + /// Original was GL_R16F = 0x822D + /// + R16f = ((int)0x822D) , + /// + /// Original was GL_R32F = 0x822E + /// + R32f = ((int)0x822E) , + /// + /// Original was GL_RG16F = 0x822F + /// + Rg16f = ((int)0x822F) , + /// + /// Original was GL_RG32F = 0x8230 + /// + Rg32f = ((int)0x8230) , + /// + /// Original was GL_R8I = 0x8231 + /// + R8i = ((int)0x8231) , + /// + /// Original was GL_R8UI = 0x8232 + /// + R8ui = ((int)0x8232) , + /// + /// Original was GL_R16I = 0x8233 + /// + R16i = ((int)0x8233) , + /// + /// Original was GL_R16UI = 0x8234 + /// + R16ui = ((int)0x8234) , + /// + /// Original was GL_R32I = 0x8235 + /// + R32i = ((int)0x8235) , + /// + /// Original was GL_R32UI = 0x8236 + /// + R32ui = ((int)0x8236) , + /// + /// Original was GL_RG8I = 0x8237 + /// + Rg8i = ((int)0x8237) , + /// + /// Original was GL_RG8UI = 0x8238 + /// + Rg8ui = ((int)0x8238) , + /// + /// Original was GL_RG16I = 0x8239 + /// + Rg16i = ((int)0x8239) , + /// + /// Original was GL_RG16UI = 0x823A + /// + Rg16ui = ((int)0x823A) , + /// + /// Original was GL_RG32I = 0x823B + /// + Rg32i = ((int)0x823B) , + /// + /// Original was GL_RG32UI = 0x823C + /// + Rg32ui = ((int)0x823C) , + /// + /// Original was GL_RGBA32F = 0x8814 + /// + Rgba32f = ((int)0x8814) , + /// + /// Original was GL_RGBA16F = 0x881A + /// + Rgba16f = ((int)0x881A) , + /// + /// Original was GL_RGBA32UI = 0x8D70 + /// + Rgba32ui = ((int)0x8D70) , + /// + /// Original was GL_RGBA16UI = 0x8D76 + /// + Rgba16ui = ((int)0x8D76) , + /// + /// Original was GL_RGBA8UI = 0x8D7C + /// + Rgba8ui = ((int)0x8D7C) , + /// + /// Original was GL_RGBA32I = 0x8D82 + /// + Rgba32i = ((int)0x8D82) , + /// + /// Original was GL_RGBA16I = 0x8D88 + /// + Rgba16i = ((int)0x8D88) , + /// + /// Original was GL_RGBA8I = 0x8D8E + /// + Rgba8i = ((int)0x8D8E) , + } + + /// + /// Used in GL.StencilMaskSeparate, GL.StencilOpSeparate + /// + public enum StencilFace : int + { + /// + /// Original was GL_FRONT = 0x0404 + /// + Front = ((int)0x0404) , + /// + /// Original was GL_BACK = 0x0405 + /// + Back = ((int)0x0405) , + /// + /// Original was GL_FRONT_AND_BACK = 0x0408 + /// + FrontAndBack = ((int)0x0408) , + } + + /// + /// Used in GL.Ati.StencilFuncSeparate, GL.StencilFunc, GL.StencilFuncSeparate + /// + public enum StencilFunction : int + { + /// + /// Original was GL_NEVER = 0x0200 + /// + Never = ((int)0x0200) , + /// + /// Original was GL_LESS = 0x0201 + /// + Less = ((int)0x0201) , + /// + /// Original was GL_EQUAL = 0x0202 + /// + Equal = ((int)0x0202) , + /// + /// Original was GL_LEQUAL = 0x0203 + /// + Lequal = ((int)0x0203) , + /// + /// Original was GL_GREATER = 0x0204 + /// + Greater = ((int)0x0204) , + /// + /// Original was GL_NOTEQUAL = 0x0205 + /// + Notequal = ((int)0x0205) , + /// + /// Original was GL_GEQUAL = 0x0206 + /// + Gequal = ((int)0x0206) , + /// + /// Original was GL_ALWAYS = 0x0207 + /// + Always = ((int)0x0207) , + } + + /// + /// Used in GL.Ati.StencilOpSeparate, GL.StencilOp, GL.StencilOpSeparate + /// + public enum StencilOp : int + { + /// + /// Original was GL_ZERO = 0 + /// + Zero = ((int)0) , + /// + /// Original was GL_INVERT = 0x150A + /// + Invert = ((int)0x150A) , + /// + /// Original was GL_KEEP = 0x1E00 + /// + Keep = ((int)0x1E00) , + /// + /// Original was GL_REPLACE = 0x1E01 + /// + Replace = ((int)0x1E01) , + /// + /// Original was GL_INCR = 0x1E02 + /// + Incr = ((int)0x1E02) , + /// + /// Original was GL_DECR = 0x1E03 + /// + Decr = ((int)0x1E03) , + /// + /// Original was GL_INCR_WRAP = 0x8507 + /// + IncrWrap = ((int)0x8507) , + /// + /// Original was GL_DECR_WRAP = 0x8508 + /// + DecrWrap = ((int)0x8508) , + } + + /// + /// Used in GL.GetString + /// + public enum StringName : int + { + /// + /// Original was GL_VENDOR = 0x1F00 + /// + Vendor = ((int)0x1F00) , + /// + /// Original was GL_RENDERER = 0x1F01 + /// + Renderer = ((int)0x1F01) , + /// + /// Original was GL_VERSION = 0x1F02 + /// + Version = ((int)0x1F02) , + /// + /// Original was GL_EXTENSIONS = 0x1F03 + /// + Extensions = ((int)0x1F03) , + /// + /// Original was GL_SHADING_LANGUAGE_VERSION = 0x8B8C + /// + ShadingLanguageVersion = ((int)0x8B8C) , + } + + /// + /// Not used directly. + /// + public enum SunConvolutionBorderModes : int + { + /// + /// Original was GL_WRAP_BORDER_SUN = 0x81D4 + /// + WrapBorderSun = ((int)0x81D4) , + } + + /// + /// Not used directly. + /// + public enum SunGlobalAlpha : int + { + /// + /// Original was GL_GLOBAL_ALPHA_SUN = 0x81D9 + /// + GlobalAlphaSun = ((int)0x81D9) , + /// + /// Original was GL_GLOBAL_ALPHA_FACTOR_SUN = 0x81DA + /// + GlobalAlphaFactorSun = ((int)0x81DA) , + } + + /// + /// Not used directly. + /// + public enum SunMeshArray : int + { + /// + /// Original was GL_QUAD_MESH_SUN = 0x8614 + /// + QuadMeshSun = ((int)0x8614) , + /// + /// Original was GL_TRIANGLE_MESH_SUN = 0x8615 + /// + TriangleMeshSun = ((int)0x8615) , + } + + /// + /// Not used directly. + /// + public enum SunSliceAccum : int + { + /// + /// Original was GL_SLICE_ACCUM_SUN = 0x85CC + /// + SliceAccumSun = ((int)0x85CC) , + } + + /// + /// Used in GL.Sun.ReplacementCodePointer + /// + public enum SunTriangleList : int + { + /// + /// Original was GL_RESTART_SUN = 0x0001 + /// + RestartSun = ((int)0x0001) , + /// + /// Original was GL_REPLACE_MIDDLE_SUN = 0x0002 + /// + ReplaceMiddleSun = ((int)0x0002) , + /// + /// Original was GL_REPLACE_OLDEST_SUN = 0x0003 + /// + ReplaceOldestSun = ((int)0x0003) , + /// + /// Original was GL_TRIANGLE_LIST_SUN = 0x81D7 + /// + TriangleListSun = ((int)0x81D7) , + /// + /// Original was GL_REPLACEMENT_CODE_SUN = 0x81D8 + /// + ReplacementCodeSun = ((int)0x81D8) , + /// + /// Original was GL_REPLACEMENT_CODE_ARRAY_SUN = 0x85C0 + /// + ReplacementCodeArraySun = ((int)0x85C0) , + /// + /// Original was GL_REPLACEMENT_CODE_ARRAY_TYPE_SUN = 0x85C1 + /// + ReplacementCodeArrayTypeSun = ((int)0x85C1) , + /// + /// Original was GL_REPLACEMENT_CODE_ARRAY_STRIDE_SUN = 0x85C2 + /// + ReplacementCodeArrayStrideSun = ((int)0x85C2) , + /// + /// Original was GL_REPLACEMENT_CODE_ARRAY_POINTER_SUN = 0x85C3 + /// + ReplacementCodeArrayPointerSun = ((int)0x85C3) , + /// + /// Original was GL_R1UI_V3F_SUN = 0x85C4 + /// + R1uiV3fSun = ((int)0x85C4) , + /// + /// Original was GL_R1UI_C4UB_V3F_SUN = 0x85C5 + /// + R1uiC4ubV3fSun = ((int)0x85C5) , + /// + /// Original was GL_R1UI_C3F_V3F_SUN = 0x85C6 + /// + R1uiC3fV3fSun = ((int)0x85C6) , + /// + /// Original was GL_R1UI_N3F_V3F_SUN = 0x85C7 + /// + R1uiN3fV3fSun = ((int)0x85C7) , + /// + /// Original was GL_R1UI_C4F_N3F_V3F_SUN = 0x85C8 + /// + R1uiC4fN3fV3fSun = ((int)0x85C8) , + /// + /// Original was GL_R1UI_T2F_V3F_SUN = 0x85C9 + /// + R1uiT2fV3fSun = ((int)0x85C9) , + /// + /// Original was GL_R1UI_T2F_N3F_V3F_SUN = 0x85CA + /// + R1uiT2fN3fV3fSun = ((int)0x85CA) , + /// + /// Original was GL_R1UI_T2F_C4F_N3F_V3F_SUN = 0x85CB + /// + R1uiT2fC4fN3fV3fSun = ((int)0x85CB) , + } + + /// + /// Not used directly. + /// + public enum SunVertex : int + { + } + + /// + /// Not used directly. + /// + public enum SunxConstantData : int + { + /// + /// Original was GL_UNPACK_CONSTANT_DATA_SUNX = 0x81D5 + /// + UnpackConstantDataSunx = ((int)0x81D5) , + /// + /// Original was GL_TEXTURE_CONSTANT_DATA_SUNX = 0x81D6 + /// + TextureConstantDataSunx = ((int)0x81D6) , + } + + /// + /// Not used directly. + /// + public enum SunxGeneralTriangleList : int + { + /// + /// Original was GL_RESTART_SUN = 0x0001 + /// + RestartSun = ((int)0x0001) , + /// + /// Original was GL_REPLACE_MIDDLE_SUN = 0x0002 + /// + ReplaceMiddleSun = ((int)0x0002) , + /// + /// Original was GL_REPLACE_OLDEST_SUN = 0x0003 + /// + ReplaceOldestSun = ((int)0x0003) , + /// + /// Original was GL_WRAP_BORDER_SUN = 0x81D4 + /// + WrapBorderSun = ((int)0x81D4) , + /// + /// Original was GL_TRIANGLE_LIST_SUN = 0x81D7 + /// + TriangleListSun = ((int)0x81D7) , + /// + /// Original was GL_REPLACEMENT_CODE_SUN = 0x81D8 + /// + ReplacementCodeSun = ((int)0x81D8) , + /// + /// Original was GL_REPLACEMENT_CODE_ARRAY_SUN = 0x85C0 + /// + ReplacementCodeArraySun = ((int)0x85C0) , + /// + /// Original was GL_REPLACEMENT_CODE_ARRAY_TYPE_SUN = 0x85C1 + /// + ReplacementCodeArrayTypeSun = ((int)0x85C1) , + /// + /// Original was GL_REPLACEMENT_CODE_ARRAY_STRIDE_SUN = 0x85C2 + /// + ReplacementCodeArrayStrideSun = ((int)0x85C2) , + /// + /// Original was GL_REPLACEMENT_CODE_ARRAY_POINTER_SUN = 0x85C3 + /// + ReplacementCodeArrayPointerSun = ((int)0x85C3) , + /// + /// Original was GL_R1UI_V3F_SUN = 0x85C4 + /// + R1uiV3fSun = ((int)0x85C4) , + /// + /// Original was GL_R1UI_C4UB_V3F_SUN = 0x85C5 + /// + R1uiC4ubV3fSun = ((int)0x85C5) , + /// + /// Original was GL_R1UI_C3F_V3F_SUN = 0x85C6 + /// + R1uiC3fV3fSun = ((int)0x85C6) , + /// + /// Original was GL_R1UI_N3F_V3F_SUN = 0x85C7 + /// + R1uiN3fV3fSun = ((int)0x85C7) , + /// + /// Original was GL_R1UI_C4F_N3F_V3F_SUN = 0x85C8 + /// + R1uiC4fN3fV3fSun = ((int)0x85C8) , + /// + /// Original was GL_R1UI_T2F_V3F_SUN = 0x85C9 + /// + R1uiT2fV3fSun = ((int)0x85C9) , + /// + /// Original was GL_R1UI_T2F_N3F_V3F_SUN = 0x85CA + /// + R1uiT2fN3fV3fSun = ((int)0x85CA) , + /// + /// Original was GL_R1UI_T2F_C4F_N3F_V3F_SUN = 0x85CB + /// + R1uiT2fC4fN3fV3fSun = ((int)0x85CB) , + } + + /// + /// Used in GL.TexCoordPointer, GL.Ext.MultiTexCoordPointer, GL.Ext.TexCoordPointer, GL.Ibm.TexCoordPointerList + /// + public enum TexCoordPointerType : int + { + /// + /// Original was GL_SHORT = 0x1402 + /// + Short = ((int)0x1402) , + /// + /// Original was GL_INT = 0x1404 + /// + Int = ((int)0x1404) , + /// + /// Original was GL_FLOAT = 0x1406 + /// + Float = ((int)0x1406) , + /// + /// Original was GL_DOUBLE = 0x140A + /// + Double = ((int)0x140A) , + /// + /// Original was GL_HALF_FLOAT = 0x140B + /// + HalfFloat = ((int)0x140B) , + /// + /// Original was GL_UNSIGNED_INT_2_10_10_10_REV = 0x8368 + /// + UnsignedInt2101010Rev = ((int)0x8368) , + /// + /// Original was GL_INT_2_10_10_10_REV = 0x8D9F + /// + Int2101010Rev = ((int)0x8D9F) , + } + + /// + /// Used in GL.TexBuffer + /// + public enum TextureBufferTarget : int + { + /// + /// Original was GL_TEXTURE_BUFFER = 0x8C2A + /// + TextureBuffer = ((int)0x8C2A) , + } + + /// + /// Not used directly. + /// + public enum TextureCompareMode : int + { + /// + /// Original was GL_NONE = 0 + /// + None = ((int)0) , + /// + /// Original was GL_COMPARE_REF_TO_TEXTURE = 0x884E + /// + CompareRefToTexture = ((int)0x884E) , + /// + /// Original was GL_COMPARE_R_TO_TEXTURE = 0x884E + /// + CompareRToTexture = ((int)0x884E) , + } + + /// + /// Used in GL.GetTexGen, GL.TexGend, GL.TexGen, GL.Ext.BindTexGenParameter, GL.Ext.GetMultiTexGen, GL.Ext.MultiTexGend, GL.Ext.MultiTexGen + /// + public enum TextureCoordName : int + { + /// + /// Original was GL_S = 0x2000 + /// + S = ((int)0x2000) , + /// + /// Original was GL_T = 0x2001 + /// + T = ((int)0x2001) , + /// + /// Original was GL_R = 0x2002 + /// + R = ((int)0x2002) , + /// + /// Original was GL_Q = 0x2003 + /// + Q = ((int)0x2003) , + } + + /// + /// Not used directly. + /// + public enum TextureEnvMode : int + { + /// + /// Original was GL_ADD = 0x0104 + /// + Add = ((int)0x0104) , + /// + /// Original was GL_BLEND = 0x0BE2 + /// + Blend = ((int)0x0BE2) , + /// + /// Original was GL_REPLACE = 0x1E01 + /// + Replace = ((int)0x1E01) , + /// + /// Original was GL_MODULATE = 0x2100 + /// + Modulate = ((int)0x2100) , + /// + /// Original was GL_DECAL = 0x2101 + /// + Decal = ((int)0x2101) , + /// + /// Original was GL_REPLACE_EXT = 0x8062 + /// + ReplaceExt = ((int)0x8062) , + /// + /// Original was GL_TEXTURE_ENV_BIAS_SGIX = 0x80BE + /// + TextureEnvBiasSgix = ((int)0x80BE) , + /// + /// Original was GL_COMBINE = 0x8570 + /// + Combine = ((int)0x8570) , + } + + /// + /// Not used directly. + /// + public enum TextureEnvModeCombine : int + { + /// + /// Original was GL_ADD = 0x0104 + /// + Add = ((int)0x0104) , + /// + /// Original was GL_REPLACE = 0x1E01 + /// + Replace = ((int)0x1E01) , + /// + /// Original was GL_MODULATE = 0x2100 + /// + Modulate = ((int)0x2100) , + /// + /// Original was GL_SUBTRACT = 0x84E7 + /// + Subtract = ((int)0x84E7) , + /// + /// Original was GL_ADD_SIGNED = 0x8574 + /// + AddSigned = ((int)0x8574) , + /// + /// Original was GL_INTERPOLATE = 0x8575 + /// + Interpolate = ((int)0x8575) , + /// + /// Original was GL_DOT3_RGB = 0x86AE + /// + Dot3Rgb = ((int)0x86AE) , + /// + /// Original was GL_DOT3_RGBA = 0x86AF + /// + Dot3Rgba = ((int)0x86AF) , + } + + /// + /// Not used directly. + /// + public enum TextureEnvModeOperandAlpha : int + { + /// + /// Original was GL_SRC_ALPHA = 0x0302 + /// + SrcAlpha = ((int)0x0302) , + /// + /// Original was GL_ONE_MINUS_SRC_ALPHA = 0x0303 + /// + OneMinusSrcAlpha = ((int)0x0303) , + } + + /// + /// Not used directly. + /// + public enum TextureEnvModeOperandRgb : int + { + /// + /// Original was GL_SRC_COLOR = 0x0300 + /// + SrcColor = ((int)0x0300) , + /// + /// Original was GL_ONE_MINUS_SRC_COLOR = 0x0301 + /// + OneMinusSrcColor = ((int)0x0301) , + /// + /// Original was GL_SRC_ALPHA = 0x0302 + /// + SrcAlpha = ((int)0x0302) , + /// + /// Original was GL_ONE_MINUS_SRC_ALPHA = 0x0303 + /// + OneMinusSrcAlpha = ((int)0x0303) , + } + + /// + /// Not used directly. + /// + public enum TextureEnvModePointSprite : int + { + /// + /// Original was GL_FALSE = 0 + /// + False = ((int)0) , + /// + /// Original was GL_TRUE = 1 + /// + True = ((int)1) , + } + + /// + /// Not used directly. + /// + public enum TextureEnvModeScale : int + { + /// + /// Original was GL_ONE = 1 + /// + One = ((int)1) , + /// + /// Original was GL_TWO = 2 + /// + Two = ((int)2) , + /// + /// Original was GL_FOUR = 4 + /// + Four = ((int)4) , + } + + /// + /// Not used directly. + /// + public enum TextureEnvModeSource : int + { + /// + /// Original was GL_TEXTURE = 0x1702 + /// + Texture = ((int)0x1702) , + /// + /// Original was GL_TEXTURE0 = 0x84C0 + /// + Texture0 = ((int)0x84C0) , + /// + /// Original was GL_TEXTURE1 = 0x84C1 + /// + Texture1 = ((int)0x84C1) , + /// + /// Original was GL_TEXTURE2 = 0x84C2 + /// + Texture2 = ((int)0x84C2) , + /// + /// Original was GL_TEXTURE3 = 0x84C3 + /// + Texture3 = ((int)0x84C3) , + /// + /// Original was GL_TEXTURE4 = 0x84C4 + /// + Texture4 = ((int)0x84C4) , + /// + /// Original was GL_TEXTURE5 = 0x84C5 + /// + Texture5 = ((int)0x84C5) , + /// + /// Original was GL_TEXTURE6 = 0x84C6 + /// + Texture6 = ((int)0x84C6) , + /// + /// Original was GL_TEXTURE7 = 0x84C7 + /// + Texture7 = ((int)0x84C7) , + /// + /// Original was GL_TEXTURE8 = 0x84C8 + /// + Texture8 = ((int)0x84C8) , + /// + /// Original was GL_TEXTURE9 = 0x84C9 + /// + Texture9 = ((int)0x84C9) , + /// + /// Original was GL_TEXTURE10 = 0x84CA + /// + Texture10 = ((int)0x84CA) , + /// + /// Original was GL_TEXTURE11 = 0x84CB + /// + Texture11 = ((int)0x84CB) , + /// + /// Original was GL_TEXTURE12 = 0x84CC + /// + Texture12 = ((int)0x84CC) , + /// + /// Original was GL_TEXTURE13 = 0x84CD + /// + Texture13 = ((int)0x84CD) , + /// + /// Original was GL_TEXTURE14 = 0x84CE + /// + Texture14 = ((int)0x84CE) , + /// + /// Original was GL_TEXTURE15 = 0x84CF + /// + Texture15 = ((int)0x84CF) , + /// + /// Original was GL_TEXTURE16 = 0x84D0 + /// + Texture16 = ((int)0x84D0) , + /// + /// Original was GL_TEXTURE17 = 0x84D1 + /// + Texture17 = ((int)0x84D1) , + /// + /// Original was GL_TEXTURE18 = 0x84D2 + /// + Texture18 = ((int)0x84D2) , + /// + /// Original was GL_TEXTURE19 = 0x84D3 + /// + Texture19 = ((int)0x84D3) , + /// + /// Original was GL_TEXTURE20 = 0x84D4 + /// + Texture20 = ((int)0x84D4) , + /// + /// Original was GL_TEXTURE21 = 0x84D5 + /// + Texture21 = ((int)0x84D5) , + /// + /// Original was GL_TEXTURE22 = 0x84D6 + /// + Texture22 = ((int)0x84D6) , + /// + /// Original was GL_TEXTURE23 = 0x84D7 + /// + Texture23 = ((int)0x84D7) , + /// + /// Original was GL_TEXTURE24 = 0x84D8 + /// + Texture24 = ((int)0x84D8) , + /// + /// Original was GL_TEXTURE25 = 0x84D9 + /// + Texture25 = ((int)0x84D9) , + /// + /// Original was GL_TEXTURE26 = 0x84DA + /// + Texture26 = ((int)0x84DA) , + /// + /// Original was GL_TEXTURE27 = 0x84DB + /// + Texture27 = ((int)0x84DB) , + /// + /// Original was GL_TEXTURE28 = 0x84DC + /// + Texture28 = ((int)0x84DC) , + /// + /// Original was GL_TEXTURE29 = 0x84DD + /// + Texture29 = ((int)0x84DD) , + /// + /// Original was GL_TEXTURE30 = 0x84DE + /// + Texture30 = ((int)0x84DE) , + /// + /// Original was GL_TEXTURE31 = 0x84DF + /// + Texture31 = ((int)0x84DF) , + /// + /// Original was GL_CONSTANT = 0x8576 + /// + Constant = ((int)0x8576) , + /// + /// Original was GL_PRIMARY_COLOR = 0x8577 + /// + PrimaryColor = ((int)0x8577) , + /// + /// Original was GL_PREVIOUS = 0x8578 + /// + Previous = ((int)0x8578) , + } + + /// + /// Used in GL.GetTexEnv, GL.TexEnv, GL.Ext.GetMultiTexEnv, GL.Ext.MultiTexEnv + /// + public enum TextureEnvParameter : int + { + /// + /// Original was GL_ALPHA_SCALE = 0x0D1C + /// + AlphaScale = ((int)0x0D1C) , + /// + /// Original was GL_TEXTURE_ENV_MODE = 0x2200 + /// + TextureEnvMode = ((int)0x2200) , + /// + /// Original was GL_TEXTURE_ENV_COLOR = 0x2201 + /// + TextureEnvColor = ((int)0x2201) , + /// + /// Original was GL_TEXTURE_LOD_BIAS = 0x8501 + /// + TextureLodBias = ((int)0x8501) , + /// + /// Original was GL_COMBINE_RGB = 0x8571 + /// + CombineRgb = ((int)0x8571) , + /// + /// Original was GL_COMBINE_ALPHA = 0x8572 + /// + CombineAlpha = ((int)0x8572) , + /// + /// Original was GL_RGB_SCALE = 0x8573 + /// + RgbScale = ((int)0x8573) , + /// + /// Original was GL_SOURCE0_RGB = 0x8580 + /// + Source0Rgb = ((int)0x8580) , + /// + /// Original was GL_SRC1_RGB = 0x8581 + /// + Src1Rgb = ((int)0x8581) , + /// + /// Original was GL_SRC2_RGB = 0x8582 + /// + Src2Rgb = ((int)0x8582) , + /// + /// Original was GL_SRC0_ALPHA = 0x8588 + /// + Src0Alpha = ((int)0x8588) , + /// + /// Original was GL_SRC1_ALPHA = 0x8589 + /// + Src1Alpha = ((int)0x8589) , + /// + /// Original was GL_SRC2_ALPHA = 0x858A + /// + Src2Alpha = ((int)0x858A) , + /// + /// Original was GL_OPERAND0_RGB = 0x8590 + /// + Operand0Rgb = ((int)0x8590) , + /// + /// Original was GL_OPERAND1_RGB = 0x8591 + /// + Operand1Rgb = ((int)0x8591) , + /// + /// Original was GL_OPERAND2_RGB = 0x8592 + /// + Operand2Rgb = ((int)0x8592) , + /// + /// Original was GL_OPERAND0_ALPHA = 0x8598 + /// + Operand0Alpha = ((int)0x8598) , + /// + /// Original was GL_OPERAND1_ALPHA = 0x8599 + /// + Operand1Alpha = ((int)0x8599) , + /// + /// Original was GL_OPERAND2_ALPHA = 0x859A + /// + Operand2Alpha = ((int)0x859A) , + /// + /// Original was GL_COORD_REPLACE = 0x8862 + /// + CoordReplace = ((int)0x8862) , + } + + /// + /// Used in GL.GetTexEnv, GL.TexEnv, GL.Ext.GetMultiTexEnv, GL.Ext.MultiTexEnv + /// + public enum TextureEnvTarget : int + { + /// + /// Original was GL_TEXTURE_ENV = 0x2300 + /// + TextureEnv = ((int)0x2300) , + /// + /// Original was GL_TEXTURE_FILTER_CONTROL = 0x8500 + /// + TextureFilterControl = ((int)0x8500) , + /// + /// Original was GL_POINT_SPRITE = 0x8861 + /// + PointSprite = ((int)0x8861) , + } + + /// + /// Not used directly. + /// + public enum TextureFilterFuncSgis : int + { + /// + /// Original was GL_FILTER4_SGIS = 0x8146 + /// + Filter4Sgis = ((int)0x8146) , + } + + /// + /// Not used directly. + /// + public enum TextureGenMode : int + { + /// + /// Original was GL_EYE_LINEAR = 0x2400 + /// + EyeLinear = ((int)0x2400) , + /// + /// Original was GL_OBJECT_LINEAR = 0x2401 + /// + ObjectLinear = ((int)0x2401) , + /// + /// Original was GL_SPHERE_MAP = 0x2402 + /// + SphereMap = ((int)0x2402) , + /// + /// Original was GL_EYE_DISTANCE_TO_POINT_SGIS = 0x81F0 + /// + EyeDistanceToPointSgis = ((int)0x81F0) , + /// + /// Original was GL_OBJECT_DISTANCE_TO_POINT_SGIS = 0x81F1 + /// + ObjectDistanceToPointSgis = ((int)0x81F1) , + /// + /// Original was GL_EYE_DISTANCE_TO_LINE_SGIS = 0x81F2 + /// + EyeDistanceToLineSgis = ((int)0x81F2) , + /// + /// Original was GL_OBJECT_DISTANCE_TO_LINE_SGIS = 0x81F3 + /// + ObjectDistanceToLineSgis = ((int)0x81F3) , + /// + /// Original was GL_NORMAL_MAP = 0x8511 + /// + NormalMap = ((int)0x8511) , + /// + /// Original was GL_REFLECTION_MAP = 0x8512 + /// + ReflectionMap = ((int)0x8512) , + } + + /// + /// Used in GL.GetTexGen, GL.TexGend, GL.TexGen, GL.Ext.BindTexGenParameter, GL.Ext.GetMultiTexGen, GL.Ext.MultiTexGend, GL.Ext.MultiTexGen + /// + public enum TextureGenParameter : int + { + /// + /// Original was GL_TEXTURE_GEN_MODE = 0x2500 + /// + TextureGenMode = ((int)0x2500) , + /// + /// Original was GL_OBJECT_PLANE = 0x2501 + /// + ObjectPlane = ((int)0x2501) , + /// + /// Original was GL_EYE_PLANE = 0x2502 + /// + EyePlane = ((int)0x2502) , + /// + /// Original was GL_EYE_POINT_SGIS = 0x81F4 + /// + EyePointSgis = ((int)0x81F4) , + /// + /// Original was GL_OBJECT_POINT_SGIS = 0x81F5 + /// + ObjectPointSgis = ((int)0x81F5) , + /// + /// Original was GL_EYE_LINE_SGIS = 0x81F6 + /// + EyeLineSgis = ((int)0x81F6) , + /// + /// Original was GL_OBJECT_LINE_SGIS = 0x81F7 + /// + ObjectLineSgis = ((int)0x81F7) , + } + + /// + /// Not used directly. + /// + public enum TextureMagFilter : int + { + /// + /// Original was GL_NEAREST = 0x2600 + /// + Nearest = ((int)0x2600) , + /// + /// Original was GL_LINEAR = 0x2601 + /// + Linear = ((int)0x2601) , + /// + /// Original was GL_LINEAR_DETAIL_SGIS = 0x8097 + /// + LinearDetailSgis = ((int)0x8097) , + /// + /// Original was GL_LINEAR_DETAIL_ALPHA_SGIS = 0x8098 + /// + LinearDetailAlphaSgis = ((int)0x8098) , + /// + /// Original was GL_LINEAR_DETAIL_COLOR_SGIS = 0x8099 + /// + LinearDetailColorSgis = ((int)0x8099) , + /// + /// Original was GL_LINEAR_SHARPEN_SGIS = 0x80AD + /// + LinearSharpenSgis = ((int)0x80AD) , + /// + /// Original was GL_LINEAR_SHARPEN_ALPHA_SGIS = 0x80AE + /// + LinearSharpenAlphaSgis = ((int)0x80AE) , + /// + /// Original was GL_LINEAR_SHARPEN_COLOR_SGIS = 0x80AF + /// + LinearSharpenColorSgis = ((int)0x80AF) , + /// + /// Original was GL_FILTER4_SGIS = 0x8146 + /// + Filter4Sgis = ((int)0x8146) , + /// + /// Original was GL_PIXEL_TEX_GEN_Q_CEILING_SGIX = 0x8184 + /// + PixelTexGenQCeilingSgix = ((int)0x8184) , + /// + /// Original was GL_PIXEL_TEX_GEN_Q_ROUND_SGIX = 0x8185 + /// + PixelTexGenQRoundSgix = ((int)0x8185) , + /// + /// Original was GL_PIXEL_TEX_GEN_Q_FLOOR_SGIX = 0x8186 + /// + PixelTexGenQFloorSgix = ((int)0x8186) , + } + + /// + /// Not used directly. + /// + public enum TextureMinFilter : int + { + /// + /// Original was GL_NEAREST = 0x2600 + /// + Nearest = ((int)0x2600) , + /// + /// Original was GL_LINEAR = 0x2601 + /// + Linear = ((int)0x2601) , + /// + /// Original was GL_NEAREST_MIPMAP_NEAREST = 0x2700 + /// + NearestMipmapNearest = ((int)0x2700) , + /// + /// Original was GL_LINEAR_MIPMAP_NEAREST = 0x2701 + /// + LinearMipmapNearest = ((int)0x2701) , + /// + /// Original was GL_NEAREST_MIPMAP_LINEAR = 0x2702 + /// + NearestMipmapLinear = ((int)0x2702) , + /// + /// Original was GL_LINEAR_MIPMAP_LINEAR = 0x2703 + /// + LinearMipmapLinear = ((int)0x2703) , + /// + /// Original was GL_FILTER4_SGIS = 0x8146 + /// + Filter4Sgis = ((int)0x8146) , + /// + /// Original was GL_LINEAR_CLIPMAP_LINEAR_SGIX = 0x8170 + /// + LinearClipmapLinearSgix = ((int)0x8170) , + /// + /// Original was GL_PIXEL_TEX_GEN_Q_CEILING_SGIX = 0x8184 + /// + PixelTexGenQCeilingSgix = ((int)0x8184) , + /// + /// Original was GL_PIXEL_TEX_GEN_Q_ROUND_SGIX = 0x8185 + /// + PixelTexGenQRoundSgix = ((int)0x8185) , + /// + /// Original was GL_PIXEL_TEX_GEN_Q_FLOOR_SGIX = 0x8186 + /// + PixelTexGenQFloorSgix = ((int)0x8186) , + /// + /// Original was GL_NEAREST_CLIPMAP_NEAREST_SGIX = 0x844D + /// + NearestClipmapNearestSgix = ((int)0x844D) , + /// + /// Original was GL_NEAREST_CLIPMAP_LINEAR_SGIX = 0x844E + /// + NearestClipmapLinearSgix = ((int)0x844E) , + /// + /// Original was GL_LINEAR_CLIPMAP_NEAREST_SGIX = 0x844F + /// + LinearClipmapNearestSgix = ((int)0x844F) , + } + + /// + /// Used in GL.TexParameter, GL.TexParameterI, GL.Ext.MultiTexParameter, GL.Ext.MultiTexParameterI, GL.Ext.TexParameterI, GL.Ext.TextureParameter, GL.Ext.TextureParameterI + /// + public enum TextureParameterName : int + { + /// + /// Original was GL_TEXTURE_BORDER_COLOR = 0x1004 + /// + TextureBorderColor = ((int)0x1004) , + /// + /// Original was GL_TEXTURE_MAG_FILTER = 0x2800 + /// + TextureMagFilter = ((int)0x2800) , + /// + /// Original was GL_TEXTURE_MIN_FILTER = 0x2801 + /// + TextureMinFilter = ((int)0x2801) , + /// + /// Original was GL_TEXTURE_WRAP_S = 0x2802 + /// + TextureWrapS = ((int)0x2802) , + /// + /// Original was GL_TEXTURE_WRAP_T = 0x2803 + /// + TextureWrapT = ((int)0x2803) , + /// + /// Original was GL_TEXTURE_PRIORITY = 0x8066 + /// + TexturePriority = ((int)0x8066) , + /// + /// Original was GL_TEXTURE_DEPTH = 0x8071 + /// + TextureDepth = ((int)0x8071) , + /// + /// Original was GL_TEXTURE_WRAP_R = 0x8072 + /// + TextureWrapR = ((int)0x8072) , + /// + /// Original was GL_TEXTURE_WRAP_R_EXT = 0x8072 + /// + TextureWrapRExt = ((int)0x8072) , + /// + /// Original was GL_DETAIL_TEXTURE_LEVEL_SGIS = 0x809A + /// + DetailTextureLevelSgis = ((int)0x809A) , + /// + /// Original was GL_DETAIL_TEXTURE_MODE_SGIS = 0x809B + /// + DetailTextureModeSgis = ((int)0x809B) , + /// + /// Original was GL_SHADOW_AMBIENT_SGIX = 0x80BF + /// + ShadowAmbientSgix = ((int)0x80BF) , + /// + /// Original was GL_TEXTURE_COMPARE_FAIL_VALUE = 0x80BF + /// + TextureCompareFailValue = ((int)0x80BF) , + /// + /// Original was GL_DUAL_TEXTURE_SELECT_SGIS = 0x8124 + /// + DualTextureSelectSgis = ((int)0x8124) , + /// + /// Original was GL_QUAD_TEXTURE_SELECT_SGIS = 0x8125 + /// + QuadTextureSelectSgis = ((int)0x8125) , + /// + /// Original was GL_CLAMP_TO_BORDER = 0x812D + /// + ClampToBorder = ((int)0x812D) , + /// + /// Original was GL_CLAMP_TO_EDGE = 0x812F + /// + ClampToEdge = ((int)0x812F) , + /// + /// Original was GL_TEXTURE_WRAP_Q_SGIS = 0x8137 + /// + TextureWrapQSgis = ((int)0x8137) , + /// + /// Original was GL_TEXTURE_MIN_LOD = 0x813A + /// + TextureMinLod = ((int)0x813A) , + /// + /// Original was GL_TEXTURE_MAX_LOD = 0x813B + /// + TextureMaxLod = ((int)0x813B) , + /// + /// Original was GL_TEXTURE_BASE_LEVEL = 0x813C + /// + TextureBaseLevel = ((int)0x813C) , + /// + /// Original was GL_TEXTURE_MAX_LEVEL = 0x813D + /// + TextureMaxLevel = ((int)0x813D) , + /// + /// Original was GL_TEXTURE_CLIPMAP_CENTER_SGIX = 0x8171 + /// + TextureClipmapCenterSgix = ((int)0x8171) , + /// + /// Original was GL_TEXTURE_CLIPMAP_FRAME_SGIX = 0x8172 + /// + TextureClipmapFrameSgix = ((int)0x8172) , + /// + /// Original was GL_TEXTURE_CLIPMAP_OFFSET_SGIX = 0x8173 + /// + TextureClipmapOffsetSgix = ((int)0x8173) , + /// + /// Original was GL_TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX = 0x8174 + /// + TextureClipmapVirtualDepthSgix = ((int)0x8174) , + /// + /// Original was GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX = 0x8175 + /// + TextureClipmapLodOffsetSgix = ((int)0x8175) , + /// + /// Original was GL_TEXTURE_CLIPMAP_DEPTH_SGIX = 0x8176 + /// + TextureClipmapDepthSgix = ((int)0x8176) , + /// + /// Original was GL_POST_TEXTURE_FILTER_BIAS_SGIX = 0x8179 + /// + PostTextureFilterBiasSgix = ((int)0x8179) , + /// + /// Original was GL_POST_TEXTURE_FILTER_SCALE_SGIX = 0x817A + /// + PostTextureFilterScaleSgix = ((int)0x817A) , + /// + /// Original was GL_TEXTURE_LOD_BIAS_S_SGIX = 0x818E + /// + TextureLodBiasSSgix = ((int)0x818E) , + /// + /// Original was GL_TEXTURE_LOD_BIAS_T_SGIX = 0x818F + /// + TextureLodBiasTSgix = ((int)0x818F) , + /// + /// Original was GL_TEXTURE_LOD_BIAS_R_SGIX = 0x8190 + /// + TextureLodBiasRSgix = ((int)0x8190) , + /// + /// Original was GL_GENERATE_MIPMAP = 0x8191 + /// + GenerateMipmap = ((int)0x8191) , + /// + /// Original was GL_GENERATE_MIPMAP_SGIS = 0x8191 + /// + GenerateMipmapSgis = ((int)0x8191) , + /// + /// Original was GL_TEXTURE_COMPARE_SGIX = 0x819A + /// + TextureCompareSgix = ((int)0x819A) , + /// + /// Original was GL_TEXTURE_COMPARE_OPERATOR_SGIX = 0x819B + /// + TextureCompareOperatorSgix = ((int)0x819B) , + /// + /// Original was GL_TEXTURE_MAX_CLAMP_S_SGIX = 0x8369 + /// + TextureMaxClampSSgix = ((int)0x8369) , + /// + /// Original was GL_TEXTURE_MAX_CLAMP_T_SGIX = 0x836A + /// + TextureMaxClampTSgix = ((int)0x836A) , + /// + /// Original was GL_TEXTURE_MAX_CLAMP_R_SGIX = 0x836B + /// + TextureMaxClampRSgix = ((int)0x836B) , + /// + /// Original was GL_TEXTURE_LOD_BIAS = 0x8501 + /// + TextureLodBias = ((int)0x8501) , + /// + /// Original was GL_DEPTH_TEXTURE_MODE = 0x884B + /// + DepthTextureMode = ((int)0x884B) , + /// + /// Original was GL_TEXTURE_COMPARE_MODE = 0x884C + /// + TextureCompareMode = ((int)0x884C) , + /// + /// Original was GL_TEXTURE_COMPARE_FUNC = 0x884D + /// + TextureCompareFunc = ((int)0x884D) , + /// + /// Original was GL_TEXTURE_SWIZZLE_R = 0x8E42 + /// + TextureSwizzleR = ((int)0x8E42) , + /// + /// Original was GL_TEXTURE_SWIZZLE_G = 0x8E43 + /// + TextureSwizzleG = ((int)0x8E43) , + /// + /// Original was GL_TEXTURE_SWIZZLE_B = 0x8E44 + /// + TextureSwizzleB = ((int)0x8E44) , + /// + /// Original was GL_TEXTURE_SWIZZLE_A = 0x8E45 + /// + TextureSwizzleA = ((int)0x8E45) , + /// + /// Original was GL_TEXTURE_SWIZZLE_RGBA = 0x8E46 + /// + TextureSwizzleRgba = ((int)0x8E46) , + } + + /// + /// Used in GL.Arb.CompressedTexImage1D, GL.Arb.CompressedTexImage2D, GL.Arb.CompressedTexImage3D, GL.Arb.CompressedTexSubImage1D, GL.Arb.CompressedTexSubImage2D, GL.Arb.CompressedTexSubImage3D, GL.Arb.FramebufferTextureFace, GL.Arb.GetCompressedTexImage, GL.Arb.TexBuffer, GL.BindTexture, GL.CompressedTexImage1D, GL.CompressedTexImage2D, GL.CompressedTexImage3D, GL.CompressedTexSubImage1D, GL.CompressedTexSubImage2D, GL.CompressedTexSubImage3D, GL.CopyTexImage1D, GL.CopyTexImage2D, GL.CopyTexSubImage1D, GL.CopyTexSubImage2D, GL.CopyTexSubImage3D, GL.FramebufferTexture1D, GL.FramebufferTexture2D, GL.FramebufferTexture3D, GL.GetCompressedTexImage, GL.GetTexImage, GL.GetTexLevelParameter, GL.GetTexParameter, GL.GetTexParameterI, GL.TexImage1D, GL.TexImage2D, GL.TexImage3D, GL.TexParameter, GL.TexParameterI, GL.TexSubImage1D, GL.TexSubImage2D, GL.TexSubImage3D, GL.Ext.BindMultiTexture, GL.Ext.BindTexture, GL.Ext.CompressedMultiTexImage1D, GL.Ext.CompressedMultiTexImage2D, GL.Ext.CompressedMultiTexImage3D, GL.Ext.CompressedMultiTexSubImage1D, GL.Ext.CompressedMultiTexSubImage2D, GL.Ext.CompressedMultiTexSubImage3D, GL.Ext.CompressedTextureImage1D, GL.Ext.CompressedTextureImage2D, GL.Ext.CompressedTextureImage3D, GL.Ext.CompressedTextureSubImage1D, GL.Ext.CompressedTextureSubImage2D, GL.Ext.CompressedTextureSubImage3D, GL.Ext.CopyMultiTexImage1D, GL.Ext.CopyMultiTexImage2D, GL.Ext.CopyMultiTexSubImage1D, GL.Ext.CopyMultiTexSubImage2D, GL.Ext.CopyMultiTexSubImage3D, GL.Ext.CopyTexImage1D, GL.Ext.CopyTexImage2D, GL.Ext.CopyTexSubImage1D, GL.Ext.CopyTexSubImage2D, GL.Ext.CopyTexSubImage3D, GL.Ext.CopyTextureImage1D, GL.Ext.CopyTextureImage2D, GL.Ext.CopyTextureSubImage1D, GL.Ext.CopyTextureSubImage2D, GL.Ext.CopyTextureSubImage3D, GL.Ext.FramebufferTexture1D, GL.Ext.FramebufferTexture2D, GL.Ext.FramebufferTexture3D, GL.Ext.FramebufferTextureFace, GL.Ext.GenerateMultiTexMipmap, GL.Ext.GenerateTextureMipmap, GL.Ext.GetCompressedMultiTexImage, GL.Ext.GetCompressedTextureImage, GL.Ext.GetMultiTexImage, GL.Ext.GetMultiTexLevelParameter, GL.Ext.GetMultiTexParameter, GL.Ext.GetMultiTexParameterI, GL.Ext.GetTexParameterI, GL.Ext.GetTextureImage, GL.Ext.GetTextureLevelParameter, GL.Ext.GetTextureParameter, GL.Ext.GetTextureParameterI, GL.Ext.MultiTexBuffer, GL.Ext.MultiTexImage1D, GL.Ext.MultiTexImage2D, GL.Ext.MultiTexImage3D, GL.Ext.MultiTexParameter, GL.Ext.MultiTexParameterI, GL.Ext.MultiTexRenderbuffer, GL.Ext.MultiTexSubImage1D, GL.Ext.MultiTexSubImage2D, GL.Ext.MultiTexSubImage3D, GL.Ext.NamedFramebufferTexture1D, GL.Ext.NamedFramebufferTexture2D, GL.Ext.NamedFramebufferTexture3D, GL.Ext.NamedFramebufferTextureFace, GL.Ext.TexBuffer, GL.Ext.TexImage3D, GL.Ext.TexParameterI, GL.Ext.TexSubImage1D, GL.Ext.TexSubImage2D, GL.Ext.TexSubImage3D, GL.Ext.TextureBuffer, GL.Ext.TextureImage1D, GL.Ext.TextureImage2D, GL.Ext.TextureImage3D, GL.Ext.TextureParameter, GL.Ext.TextureParameterI, GL.Ext.TextureRenderbuffer, GL.Ext.TextureSubImage1D, GL.Ext.TextureSubImage2D, GL.Ext.TextureSubImage3D, GL.NV.TexRenderbuffer, GL.Sgis.DetailTexFunc, GL.Sgis.GetDetailTexFunc, GL.Sgis.GetSharpenTexFunc, GL.Sgis.GetTexFilterFunc, GL.Sgis.SharpenTexFunc, GL.Sgis.TexFilterFunc, GL.Sgis.TexImage4D, GL.Sgis.TexSubImage4D + /// + public enum TextureTarget : int + { + /// + /// Original was GL_TEXTURE_1D = 0x0DE0 + /// + Texture1D = ((int)0x0DE0) , + /// + /// Original was GL_TEXTURE_2D = 0x0DE1 + /// + Texture2D = ((int)0x0DE1) , + /// + /// Original was GL_PROXY_TEXTURE_1D = 0x8063 + /// + ProxyTexture1D = ((int)0x8063) , + /// + /// Original was GL_PROXY_TEXTURE_2D = 0x8064 + /// + ProxyTexture2D = ((int)0x8064) , + /// + /// Original was GL_TEXTURE_3D = 0x806F + /// + Texture3D = ((int)0x806F) , + /// + /// Original was GL_TEXTURE_3D_EXT = 0x806F + /// + Texture3DExt = ((int)0x806F) , + /// + /// Original was GL_PROXY_TEXTURE_3D = 0x8070 + /// + ProxyTexture3D = ((int)0x8070) , + /// + /// Original was GL_PROXY_TEXTURE_3D_EXT = 0x8070 + /// + ProxyTexture3DExt = ((int)0x8070) , + /// + /// Original was GL_DETAIL_TEXTURE_2D_SGIS = 0x8095 + /// + DetailTexture2DSgis = ((int)0x8095) , + /// + /// Original was GL_TEXTURE_4D_SGIS = 0x8134 + /// + Texture4DSgis = ((int)0x8134) , + /// + /// Original was GL_PROXY_TEXTURE_4D_SGIS = 0x8135 + /// + ProxyTexture4DSgis = ((int)0x8135) , + /// + /// Original was GL_TEXTURE_MIN_LOD_SGIS = 0x813A + /// + TextureMinLodSgis = ((int)0x813A) , + /// + /// Original was GL_TEXTURE_MAX_LOD_SGIS = 0x813B + /// + TextureMaxLodSgis = ((int)0x813B) , + /// + /// Original was GL_TEXTURE_BASE_LEVEL_SGIS = 0x813C + /// + TextureBaseLevelSgis = ((int)0x813C) , + /// + /// Original was GL_TEXTURE_MAX_LEVEL_SGIS = 0x813D + /// + TextureMaxLevelSgis = ((int)0x813D) , + /// + /// Original was GL_TEXTURE_RECTANGLE = 0x84F5 + /// + TextureRectangle = ((int)0x84F5) , + /// + /// Original was GL_TEXTURE_RECTANGLE_ARB = 0x84F5 + /// + TextureRectangleArb = ((int)0x84F5) , + /// + /// Original was GL_TEXTURE_RECTANGLE_NV = 0x84F5 + /// + TextureRectangleNv = ((int)0x84F5) , + /// + /// Original was GL_PROXY_TEXTURE_RECTANGLE = 0x84F7 + /// + ProxyTextureRectangle = ((int)0x84F7) , + /// + /// Original was GL_TEXTURE_CUBE_MAP = 0x8513 + /// + TextureCubeMap = ((int)0x8513) , + /// + /// Original was GL_TEXTURE_BINDING_CUBE_MAP = 0x8514 + /// + TextureBindingCubeMap = ((int)0x8514) , + /// + /// Original was GL_TEXTURE_CUBE_MAP_POSITIVE_X = 0x8515 + /// + TextureCubeMapPositiveX = ((int)0x8515) , + /// + /// Original was GL_TEXTURE_CUBE_MAP_NEGATIVE_X = 0x8516 + /// + TextureCubeMapNegativeX = ((int)0x8516) , + /// + /// Original was GL_TEXTURE_CUBE_MAP_POSITIVE_Y = 0x8517 + /// + TextureCubeMapPositiveY = ((int)0x8517) , + /// + /// Original was GL_TEXTURE_CUBE_MAP_NEGATIVE_Y = 0x8518 + /// + TextureCubeMapNegativeY = ((int)0x8518) , + /// + /// Original was GL_TEXTURE_CUBE_MAP_POSITIVE_Z = 0x8519 + /// + TextureCubeMapPositiveZ = ((int)0x8519) , + /// + /// Original was GL_TEXTURE_CUBE_MAP_NEGATIVE_Z = 0x851A + /// + TextureCubeMapNegativeZ = ((int)0x851A) , + /// + /// Original was GL_PROXY_TEXTURE_CUBE_MAP = 0x851B + /// + ProxyTextureCubeMap = ((int)0x851B) , + /// + /// Original was GL_TEXTURE_1D_ARRAY = 0x8C18 + /// + Texture1DArray = ((int)0x8C18) , + /// + /// Original was GL_PROXY_TEXTURE_1D_ARRAY = 0x8C19 + /// + ProxyTexture1DArray = ((int)0x8C19) , + /// + /// Original was GL_TEXTURE_2D_ARRAY = 0x8C1A + /// + Texture2DArray = ((int)0x8C1A) , + /// + /// Original was GL_PROXY_TEXTURE_2D_ARRAY = 0x8C1B + /// + ProxyTexture2DArray = ((int)0x8C1B) , + /// + /// Original was GL_TEXTURE_BUFFER = 0x8C2A + /// + TextureBuffer = ((int)0x8C2A) , + /// + /// Original was GL_TEXTURE_CUBE_MAP_ARRAY = 0x9009 + /// + TextureCubeMapArray = ((int)0x9009) , + /// + /// Original was GL_PROXY_TEXTURE_CUBE_MAP_ARRAY = 0x900B + /// + ProxyTextureCubeMapArray = ((int)0x900B) , + /// + /// Original was GL_TEXTURE_2D_MULTISAMPLE = 0x9100 + /// + Texture2DMultisample = ((int)0x9100) , + /// + /// Original was GL_PROXY_TEXTURE_2D_MULTISAMPLE = 0x9101 + /// + ProxyTexture2DMultisample = ((int)0x9101) , + /// + /// Original was GL_TEXTURE_2D_MULTISAMPLE_ARRAY = 0x9102 + /// + Texture2DMultisampleArray = ((int)0x9102) , + /// + /// Original was GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY = 0x9103 + /// + ProxyTexture2DMultisampleArray = ((int)0x9103) , + } + + /// + /// Used in GL.TexImage2DMultisample, GL.TexImage3DMultisample + /// + public enum TextureTargetMultisample : int + { + /// + /// Original was GL_TEXTURE_2D_MULTISAMPLE = 0x9100 + /// + Texture2DMultisample = ((int)0x9100) , + /// + /// Original was GL_PROXY_TEXTURE_2D_MULTISAMPLE = 0x9101 + /// + ProxyTexture2DMultisample = ((int)0x9101) , + /// + /// Original was GL_TEXTURE_2D_MULTISAMPLE_ARRAY = 0x9102 + /// + Texture2DMultisampleArray = ((int)0x9102) , + /// + /// Original was GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY = 0x9103 + /// + ProxyTexture2DMultisampleArray = ((int)0x9103) , + } + + /// + /// Used in GL.Arb.ActiveTexture, GL.Arb.ClientActiveTexture, GL.Arb.MultiTexCoord1, GL.Arb.MultiTexCoord2, GL.Arb.MultiTexCoord3, GL.Arb.MultiTexCoord4, GL.ActiveTexture, GL.ClientActiveTexture, GL.MultiTexCoord1, GL.MultiTexCoord2, GL.MultiTexCoord3, GL.MultiTexCoord4, GL.MultiTexCoordP1, GL.MultiTexCoordP2, GL.MultiTexCoordP3, GL.MultiTexCoordP4, GL.Ext.BindMultiTexture, GL.Ext.BindTexGenParameter, GL.Ext.BindTextureUnitParameter, GL.Ext.CompressedMultiTexImage1D, GL.Ext.CompressedMultiTexImage2D, GL.Ext.CompressedMultiTexImage3D, GL.Ext.CompressedMultiTexSubImage1D, GL.Ext.CompressedMultiTexSubImage2D, GL.Ext.CompressedMultiTexSubImage3D, GL.Ext.CopyMultiTexImage1D, GL.Ext.CopyMultiTexImage2D, GL.Ext.CopyMultiTexSubImage1D, GL.Ext.CopyMultiTexSubImage2D, GL.Ext.CopyMultiTexSubImage3D, GL.Ext.GenerateMultiTexMipmap, GL.Ext.GetCompressedMultiTexImage, GL.Ext.GetMultiTexEnv, GL.Ext.GetMultiTexGen, GL.Ext.GetMultiTexImage, GL.Ext.GetMultiTexLevelParameter, GL.Ext.GetMultiTexParameter, GL.Ext.GetMultiTexParameterI, GL.Ext.MultiTexBuffer, GL.Ext.MultiTexCoordPointer, GL.Ext.MultiTexEnv, GL.Ext.MultiTexGend, GL.Ext.MultiTexGen, GL.Ext.MultiTexImage1D, GL.Ext.MultiTexImage2D, GL.Ext.MultiTexImage3D, GL.Ext.MultiTexParameter, GL.Ext.MultiTexParameterI, GL.Ext.MultiTexRenderbuffer, GL.Ext.MultiTexSubImage1D, GL.Ext.MultiTexSubImage2D, GL.Ext.MultiTexSubImage3D, GL.NV.MultiTexCoord1h, GL.NV.MultiTexCoord2h, GL.NV.MultiTexCoord3h, GL.NV.MultiTexCoord4h + /// + public enum TextureUnit : int + { + /// + /// Original was GL_TEXTURE0 = 0x84C0 + /// + Texture0 = ((int)0x84C0) , + /// + /// Original was GL_TEXTURE1 = 0x84C1 + /// + Texture1 = ((int)0x84C1) , + /// + /// Original was GL_TEXTURE2 = 0x84C2 + /// + Texture2 = ((int)0x84C2) , + /// + /// Original was GL_TEXTURE3 = 0x84C3 + /// + Texture3 = ((int)0x84C3) , + /// + /// Original was GL_TEXTURE4 = 0x84C4 + /// + Texture4 = ((int)0x84C4) , + /// + /// Original was GL_TEXTURE5 = 0x84C5 + /// + Texture5 = ((int)0x84C5) , + /// + /// Original was GL_TEXTURE6 = 0x84C6 + /// + Texture6 = ((int)0x84C6) , + /// + /// Original was GL_TEXTURE7 = 0x84C7 + /// + Texture7 = ((int)0x84C7) , + /// + /// Original was GL_TEXTURE8 = 0x84C8 + /// + Texture8 = ((int)0x84C8) , + /// + /// Original was GL_TEXTURE9 = 0x84C9 + /// + Texture9 = ((int)0x84C9) , + /// + /// Original was GL_TEXTURE10 = 0x84CA + /// + Texture10 = ((int)0x84CA) , + /// + /// Original was GL_TEXTURE11 = 0x84CB + /// + Texture11 = ((int)0x84CB) , + /// + /// Original was GL_TEXTURE12 = 0x84CC + /// + Texture12 = ((int)0x84CC) , + /// + /// Original was GL_TEXTURE13 = 0x84CD + /// + Texture13 = ((int)0x84CD) , + /// + /// Original was GL_TEXTURE14 = 0x84CE + /// + Texture14 = ((int)0x84CE) , + /// + /// Original was GL_TEXTURE15 = 0x84CF + /// + Texture15 = ((int)0x84CF) , + /// + /// Original was GL_TEXTURE16 = 0x84D0 + /// + Texture16 = ((int)0x84D0) , + /// + /// Original was GL_TEXTURE17 = 0x84D1 + /// + Texture17 = ((int)0x84D1) , + /// + /// Original was GL_TEXTURE18 = 0x84D2 + /// + Texture18 = ((int)0x84D2) , + /// + /// Original was GL_TEXTURE19 = 0x84D3 + /// + Texture19 = ((int)0x84D3) , + /// + /// Original was GL_TEXTURE20 = 0x84D4 + /// + Texture20 = ((int)0x84D4) , + /// + /// Original was GL_TEXTURE21 = 0x84D5 + /// + Texture21 = ((int)0x84D5) , + /// + /// Original was GL_TEXTURE22 = 0x84D6 + /// + Texture22 = ((int)0x84D6) , + /// + /// Original was GL_TEXTURE23 = 0x84D7 + /// + Texture23 = ((int)0x84D7) , + /// + /// Original was GL_TEXTURE24 = 0x84D8 + /// + Texture24 = ((int)0x84D8) , + /// + /// Original was GL_TEXTURE25 = 0x84D9 + /// + Texture25 = ((int)0x84D9) , + /// + /// Original was GL_TEXTURE26 = 0x84DA + /// + Texture26 = ((int)0x84DA) , + /// + /// Original was GL_TEXTURE27 = 0x84DB + /// + Texture27 = ((int)0x84DB) , + /// + /// Original was GL_TEXTURE28 = 0x84DC + /// + Texture28 = ((int)0x84DC) , + /// + /// Original was GL_TEXTURE29 = 0x84DD + /// + Texture29 = ((int)0x84DD) , + /// + /// Original was GL_TEXTURE30 = 0x84DE + /// + Texture30 = ((int)0x84DE) , + /// + /// Original was GL_TEXTURE31 = 0x84DF + /// + Texture31 = ((int)0x84DF) , + } + + /// + /// Not used directly. + /// + public enum TextureWrapMode : int + { + /// + /// Original was GL_CLAMP = 0x2900 + /// + Clamp = ((int)0x2900) , + /// + /// Original was GL_REPEAT = 0x2901 + /// + Repeat = ((int)0x2901) , + /// + /// Original was GL_CLAMP_TO_BORDER = 0x812D + /// + ClampToBorder = ((int)0x812D) , + /// + /// Original was GL_CLAMP_TO_BORDER_SGIS = 0x812D + /// + ClampToBorderSgis = ((int)0x812D) , + /// + /// Original was GL_CLAMP_TO_EDGE = 0x812F + /// + ClampToEdge = ((int)0x812F) , + /// + /// Original was GL_CLAMP_TO_EDGE_SGIS = 0x812F + /// + ClampToEdgeSgis = ((int)0x812F) , + /// + /// Original was GL_MIRRORED_REPEAT = 0x8370 + /// + MirroredRepeat = ((int)0x8370) , + } + + /// + /// Used in GL.TransformFeedbackVaryings + /// + public enum TransformFeedbackMode : int + { + /// + /// Original was GL_INTERLEAVED_ATTRIBS = 0x8C8C + /// + InterleavedAttribs = ((int)0x8C8C) , + /// + /// Original was GL_SEPARATE_ATTRIBS = 0x8C8D + /// + SeparateAttribs = ((int)0x8C8D) , + } + + /// + /// Used in GL.BindTransformFeedback + /// + public enum TransformFeedbackTarget : int + { + /// + /// Original was GL_TRANSFORM_FEEDBACK = 0x8E22 + /// + TransformFeedback = ((int)0x8E22) , + } + + /// + /// Not used directly. + /// + public enum Version11 : int + { + /// + /// Original was GL_FALSE = 0 + /// + False = ((int)0) , + /// + /// Original was GL_NO_ERROR = 0 + /// + NoError = ((int)0) , + /// + /// Original was GL_NONE = 0 + /// + None = ((int)0) , + /// + /// Original was GL_ZERO = 0 + /// + Zero = ((int)0) , + /// + /// Original was GL_POINTS = 0x0000 + /// + Points = ((int)0x0000) , + /// + /// Original was GL_DEPTH_BUFFER_BIT = 0x00000100 + /// + DepthBufferBit = ((int)0x00000100) , + /// + /// Original was GL_STENCIL_BUFFER_BIT = 0x00000400 + /// + StencilBufferBit = ((int)0x00000400) , + /// + /// Original was GL_COLOR_BUFFER_BIT = 0x00004000 + /// + ColorBufferBit = ((int)0x00004000) , + /// + /// Original was GL_LINES = 0x0001 + /// + Lines = ((int)0x0001) , + /// + /// Original was GL_LINE_LOOP = 0x0002 + /// + LineLoop = ((int)0x0002) , + /// + /// Original was GL_LINE_STRIP = 0x0003 + /// + LineStrip = ((int)0x0003) , + /// + /// Original was GL_TRIANGLES = 0x0004 + /// + Triangles = ((int)0x0004) , + /// + /// Original was GL_TRIANGLE_STRIP = 0x0005 + /// + TriangleStrip = ((int)0x0005) , + /// + /// Original was GL_TRIANGLE_FAN = 0x0006 + /// + TriangleFan = ((int)0x0006) , + /// + /// Original was GL_NEVER = 0x0200 + /// + Never = ((int)0x0200) , + /// + /// Original was GL_LESS = 0x0201 + /// + Less = ((int)0x0201) , + /// + /// Original was GL_EQUAL = 0x0202 + /// + Equal = ((int)0x0202) , + /// + /// Original was GL_LEQUAL = 0x0203 + /// + Lequal = ((int)0x0203) , + /// + /// Original was GL_GREATER = 0x0204 + /// + Greater = ((int)0x0204) , + /// + /// Original was GL_NOTEQUAL = 0x0205 + /// + Notequal = ((int)0x0205) , + /// + /// Original was GL_GEQUAL = 0x0206 + /// + Gequal = ((int)0x0206) , + /// + /// Original was GL_ALWAYS = 0x0207 + /// + Always = ((int)0x0207) , + /// + /// Original was GL_SRC_COLOR = 0x0300 + /// + SrcColor = ((int)0x0300) , + /// + /// Original was GL_ONE_MINUS_SRC_COLOR = 0x0301 + /// + OneMinusSrcColor = ((int)0x0301) , + /// + /// Original was GL_SRC_ALPHA = 0x0302 + /// + SrcAlpha = ((int)0x0302) , + /// + /// Original was GL_ONE_MINUS_SRC_ALPHA = 0x0303 + /// + OneMinusSrcAlpha = ((int)0x0303) , + /// + /// Original was GL_DST_ALPHA = 0x0304 + /// + DstAlpha = ((int)0x0304) , + /// + /// Original was GL_ONE_MINUS_DST_ALPHA = 0x0305 + /// + OneMinusDstAlpha = ((int)0x0305) , + /// + /// Original was GL_DST_COLOR = 0x0306 + /// + DstColor = ((int)0x0306) , + /// + /// Original was GL_ONE_MINUS_DST_COLOR = 0x0307 + /// + OneMinusDstColor = ((int)0x0307) , + /// + /// Original was GL_SRC_ALPHA_SATURATE = 0x0308 + /// + SrcAlphaSaturate = ((int)0x0308) , + /// + /// Original was GL_FRONT_LEFT = 0x0400 + /// + FrontLeft = ((int)0x0400) , + /// + /// Original was GL_FRONT_RIGHT = 0x0401 + /// + FrontRight = ((int)0x0401) , + /// + /// Original was GL_BACK_LEFT = 0x0402 + /// + BackLeft = ((int)0x0402) , + /// + /// Original was GL_BACK_RIGHT = 0x0403 + /// + BackRight = ((int)0x0403) , + /// + /// Original was GL_FRONT = 0x0404 + /// + Front = ((int)0x0404) , + /// + /// Original was GL_BACK = 0x0405 + /// + Back = ((int)0x0405) , + /// + /// Original was GL_LEFT = 0x0406 + /// + Left = ((int)0x0406) , + /// + /// Original was GL_RIGHT = 0x0407 + /// + Right = ((int)0x0407) , + /// + /// Original was GL_FRONT_AND_BACK = 0x0408 + /// + FrontAndBack = ((int)0x0408) , + /// + /// Original was GL_INVALID_ENUM = 0x0500 + /// + InvalidEnum = ((int)0x0500) , + /// + /// Original was GL_INVALID_VALUE = 0x0501 + /// + InvalidValue = ((int)0x0501) , + /// + /// Original was GL_INVALID_OPERATION = 0x0502 + /// + InvalidOperation = ((int)0x0502) , + /// + /// Original was GL_OUT_OF_MEMORY = 0x0505 + /// + OutOfMemory = ((int)0x0505) , + /// + /// Original was GL_CW = 0x0900 + /// + Cw = ((int)0x0900) , + /// + /// Original was GL_CCW = 0x0901 + /// + Ccw = ((int)0x0901) , + /// + /// Original was GL_POINT_SIZE = 0x0B11 + /// + PointSize = ((int)0x0B11) , + /// + /// Original was GL_POINT_SIZE_RANGE = 0x0B12 + /// + PointSizeRange = ((int)0x0B12) , + /// + /// Original was GL_POINT_SIZE_GRANULARITY = 0x0B13 + /// + PointSizeGranularity = ((int)0x0B13) , + /// + /// Original was GL_LINE_SMOOTH = 0x0B20 + /// + LineSmooth = ((int)0x0B20) , + /// + /// Original was GL_LINE_WIDTH = 0x0B21 + /// + LineWidth = ((int)0x0B21) , + /// + /// Original was GL_LINE_WIDTH_RANGE = 0x0B22 + /// + LineWidthRange = ((int)0x0B22) , + /// + /// Original was GL_LINE_WIDTH_GRANULARITY = 0x0B23 + /// + LineWidthGranularity = ((int)0x0B23) , + /// + /// Original was GL_POLYGON_SMOOTH = 0x0B41 + /// + PolygonSmooth = ((int)0x0B41) , + /// + /// Original was GL_CULL_FACE = 0x0B44 + /// + CullFace = ((int)0x0B44) , + /// + /// Original was GL_CULL_FACE_MODE = 0x0B45 + /// + CullFaceMode = ((int)0x0B45) , + /// + /// Original was GL_FRONT_FACE = 0x0B46 + /// + FrontFace = ((int)0x0B46) , + /// + /// Original was GL_DEPTH_RANGE = 0x0B70 + /// + DepthRange = ((int)0x0B70) , + /// + /// Original was GL_DEPTH_TEST = 0x0B71 + /// + DepthTest = ((int)0x0B71) , + /// + /// Original was GL_DEPTH_WRITEMASK = 0x0B72 + /// + DepthWritemask = ((int)0x0B72) , + /// + /// Original was GL_DEPTH_CLEAR_VALUE = 0x0B73 + /// + DepthClearValue = ((int)0x0B73) , + /// + /// Original was GL_DEPTH_FUNC = 0x0B74 + /// + DepthFunc = ((int)0x0B74) , + /// + /// Original was GL_STENCIL_TEST = 0x0B90 + /// + StencilTest = ((int)0x0B90) , + /// + /// Original was GL_STENCIL_CLEAR_VALUE = 0x0B91 + /// + StencilClearValue = ((int)0x0B91) , + /// + /// Original was GL_STENCIL_FUNC = 0x0B92 + /// + StencilFunc = ((int)0x0B92) , + /// + /// Original was GL_STENCIL_VALUE_MASK = 0x0B93 + /// + StencilValueMask = ((int)0x0B93) , + /// + /// Original was GL_STENCIL_FAIL = 0x0B94 + /// + StencilFail = ((int)0x0B94) , + /// + /// Original was GL_STENCIL_PASS_DEPTH_FAIL = 0x0B95 + /// + StencilPassDepthFail = ((int)0x0B95) , + /// + /// Original was GL_STENCIL_PASS_DEPTH_PASS = 0x0B96 + /// + StencilPassDepthPass = ((int)0x0B96) , + /// + /// Original was GL_STENCIL_REF = 0x0B97 + /// + StencilRef = ((int)0x0B97) , + /// + /// Original was GL_STENCIL_WRITEMASK = 0x0B98 + /// + StencilWritemask = ((int)0x0B98) , + /// + /// Original was GL_VIEWPORT = 0x0BA2 + /// + Viewport = ((int)0x0BA2) , + /// + /// Original was GL_DITHER = 0x0BD0 + /// + Dither = ((int)0x0BD0) , + /// + /// Original was GL_BLEND_DST = 0x0BE0 + /// + BlendDst = ((int)0x0BE0) , + /// + /// Original was GL_BLEND_SRC = 0x0BE1 + /// + BlendSrc = ((int)0x0BE1) , + /// + /// Original was GL_BLEND = 0x0BE2 + /// + Blend = ((int)0x0BE2) , + /// + /// Original was GL_LOGIC_OP_MODE = 0x0BF0 + /// + LogicOpMode = ((int)0x0BF0) , + /// + /// Original was GL_COLOR_LOGIC_OP = 0x0BF2 + /// + ColorLogicOp = ((int)0x0BF2) , + /// + /// Original was GL_DRAW_BUFFER = 0x0C01 + /// + DrawBuffer = ((int)0x0C01) , + /// + /// Original was GL_READ_BUFFER = 0x0C02 + /// + ReadBuffer = ((int)0x0C02) , + /// + /// Original was GL_SCISSOR_BOX = 0x0C10 + /// + ScissorBox = ((int)0x0C10) , + /// + /// Original was GL_SCISSOR_TEST = 0x0C11 + /// + ScissorTest = ((int)0x0C11) , + /// + /// Original was GL_COLOR_CLEAR_VALUE = 0x0C22 + /// + ColorClearValue = ((int)0x0C22) , + /// + /// Original was GL_COLOR_WRITEMASK = 0x0C23 + /// + ColorWritemask = ((int)0x0C23) , + /// + /// Original was GL_DOUBLEBUFFER = 0x0C32 + /// + Doublebuffer = ((int)0x0C32) , + /// + /// Original was GL_STEREO = 0x0C33 + /// + Stereo = ((int)0x0C33) , + /// + /// Original was GL_LINE_SMOOTH_HINT = 0x0C52 + /// + LineSmoothHint = ((int)0x0C52) , + /// + /// Original was GL_POLYGON_SMOOTH_HINT = 0x0C53 + /// + PolygonSmoothHint = ((int)0x0C53) , + /// + /// Original was GL_UNPACK_SWAP_BYTES = 0x0CF0 + /// + UnpackSwapBytes = ((int)0x0CF0) , + /// + /// Original was GL_UNPACK_LSB_FIRST = 0x0CF1 + /// + UnpackLsbFirst = ((int)0x0CF1) , + /// + /// Original was GL_UNPACK_ROW_LENGTH = 0x0CF2 + /// + UnpackRowLength = ((int)0x0CF2) , + /// + /// Original was GL_UNPACK_SKIP_ROWS = 0x0CF3 + /// + UnpackSkipRows = ((int)0x0CF3) , + /// + /// Original was GL_UNPACK_SKIP_PIXELS = 0x0CF4 + /// + UnpackSkipPixels = ((int)0x0CF4) , + /// + /// Original was GL_UNPACK_ALIGNMENT = 0x0CF5 + /// + UnpackAlignment = ((int)0x0CF5) , + /// + /// Original was GL_PACK_SWAP_BYTES = 0x0D00 + /// + PackSwapBytes = ((int)0x0D00) , + /// + /// Original was GL_PACK_LSB_FIRST = 0x0D01 + /// + PackLsbFirst = ((int)0x0D01) , + /// + /// Original was GL_PACK_ROW_LENGTH = 0x0D02 + /// + PackRowLength = ((int)0x0D02) , + /// + /// Original was GL_PACK_SKIP_ROWS = 0x0D03 + /// + PackSkipRows = ((int)0x0D03) , + /// + /// Original was GL_PACK_SKIP_PIXELS = 0x0D04 + /// + PackSkipPixels = ((int)0x0D04) , + /// + /// Original was GL_PACK_ALIGNMENT = 0x0D05 + /// + PackAlignment = ((int)0x0D05) , + /// + /// Original was GL_MAX_TEXTURE_SIZE = 0x0D33 + /// + MaxTextureSize = ((int)0x0D33) , + /// + /// Original was GL_MAX_VIEWPORT_DIMS = 0x0D3A + /// + MaxViewportDims = ((int)0x0D3A) , + /// + /// Original was GL_SUBPIXEL_BITS = 0x0D50 + /// + SubpixelBits = ((int)0x0D50) , + /// + /// Original was GL_TEXTURE_1D = 0x0DE0 + /// + Texture1D = ((int)0x0DE0) , + /// + /// Original was GL_TEXTURE_2D = 0x0DE1 + /// + Texture2D = ((int)0x0DE1) , + /// + /// Original was GL_TEXTURE_WIDTH = 0x1000 + /// + TextureWidth = ((int)0x1000) , + /// + /// Original was GL_TEXTURE_HEIGHT = 0x1001 + /// + TextureHeight = ((int)0x1001) , + /// + /// Original was GL_TEXTURE_INTERNAL_FORMAT = 0x1003 + /// + TextureInternalFormat = ((int)0x1003) , + /// + /// Original was GL_TEXTURE_BORDER_COLOR = 0x1004 + /// + TextureBorderColor = ((int)0x1004) , + /// + /// Original was GL_DONT_CARE = 0x1100 + /// + DontCare = ((int)0x1100) , + /// + /// Original was GL_FASTEST = 0x1101 + /// + Fastest = ((int)0x1101) , + /// + /// Original was GL_NICEST = 0x1102 + /// + Nicest = ((int)0x1102) , + /// + /// Original was GL_BYTE = 0x1400 + /// + Byte = ((int)0x1400) , + /// + /// Original was GL_UNSIGNED_BYTE = 0x1401 + /// + UnsignedByte = ((int)0x1401) , + /// + /// Original was GL_SHORT = 0x1402 + /// + Short = ((int)0x1402) , + /// + /// Original was GL_UNSIGNED_SHORT = 0x1403 + /// + UnsignedShort = ((int)0x1403) , + /// + /// Original was GL_INT = 0x1404 + /// + Int = ((int)0x1404) , + /// + /// Original was GL_UNSIGNED_INT = 0x1405 + /// + UnsignedInt = ((int)0x1405) , + /// + /// Original was GL_FLOAT = 0x1406 + /// + Float = ((int)0x1406) , + /// + /// Original was GL_DOUBLE = 0x140A + /// + Double = ((int)0x140A) , + /// + /// Original was GL_CLEAR = 0x1500 + /// + Clear = ((int)0x1500) , + /// + /// Original was GL_AND = 0x1501 + /// + And = ((int)0x1501) , + /// + /// Original was GL_AND_REVERSE = 0x1502 + /// + AndReverse = ((int)0x1502) , + /// + /// Original was GL_COPY = 0x1503 + /// + Copy = ((int)0x1503) , + /// + /// Original was GL_AND_INVERTED = 0x1504 + /// + AndInverted = ((int)0x1504) , + /// + /// Original was GL_NOOP = 0x1505 + /// + Noop = ((int)0x1505) , + /// + /// Original was GL_XOR = 0x1506 + /// + Xor = ((int)0x1506) , + /// + /// Original was GL_OR = 0x1507 + /// + Or = ((int)0x1507) , + /// + /// Original was GL_NOR = 0x1508 + /// + Nor = ((int)0x1508) , + /// + /// Original was GL_EQUIV = 0x1509 + /// + Equiv = ((int)0x1509) , + /// + /// Original was GL_INVERT = 0x150A + /// + Invert = ((int)0x150A) , + /// + /// Original was GL_OR_REVERSE = 0x150B + /// + OrReverse = ((int)0x150B) , + /// + /// Original was GL_COPY_INVERTED = 0x150C + /// + CopyInverted = ((int)0x150C) , + /// + /// Original was GL_OR_INVERTED = 0x150D + /// + OrInverted = ((int)0x150D) , + /// + /// Original was GL_NAND = 0x150E + /// + Nand = ((int)0x150E) , + /// + /// Original was GL_SET = 0x150F + /// + Set = ((int)0x150F) , + /// + /// Original was GL_TEXTURE = 0x1702 + /// + Texture = ((int)0x1702) , + /// + /// Original was GL_COLOR = 0x1800 + /// + Color = ((int)0x1800) , + /// + /// Original was GL_DEPTH = 0x1801 + /// + Depth = ((int)0x1801) , + /// + /// Original was GL_STENCIL = 0x1802 + /// + Stencil = ((int)0x1802) , + /// + /// Original was GL_STENCIL_INDEX = 0x1901 + /// + StencilIndex = ((int)0x1901) , + /// + /// Original was GL_DEPTH_COMPONENT = 0x1902 + /// + DepthComponent = ((int)0x1902) , + /// + /// Original was GL_RED = 0x1903 + /// + Red = ((int)0x1903) , + /// + /// Original was GL_GREEN = 0x1904 + /// + Green = ((int)0x1904) , + /// + /// Original was GL_BLUE = 0x1905 + /// + Blue = ((int)0x1905) , + /// + /// Original was GL_ALPHA = 0x1906 + /// + Alpha = ((int)0x1906) , + /// + /// Original was GL_RGB = 0x1907 + /// + Rgb = ((int)0x1907) , + /// + /// Original was GL_RGBA = 0x1908 + /// + Rgba = ((int)0x1908) , + /// + /// Original was GL_POINT = 0x1B00 + /// + Point = ((int)0x1B00) , + /// + /// Original was GL_LINE = 0x1B01 + /// + Line = ((int)0x1B01) , + /// + /// Original was GL_FILL = 0x1B02 + /// + Fill = ((int)0x1B02) , + /// + /// Original was GL_KEEP = 0x1E00 + /// + Keep = ((int)0x1E00) , + /// + /// Original was GL_REPLACE = 0x1E01 + /// + Replace = ((int)0x1E01) , + /// + /// Original was GL_INCR = 0x1E02 + /// + Incr = ((int)0x1E02) , + /// + /// Original was GL_DECR = 0x1E03 + /// + Decr = ((int)0x1E03) , + /// + /// Original was GL_VENDOR = 0x1F00 + /// + Vendor = ((int)0x1F00) , + /// + /// Original was GL_RENDERER = 0x1F01 + /// + Renderer = ((int)0x1F01) , + /// + /// Original was GL_VERSION = 0x1F02 + /// + Version = ((int)0x1F02) , + /// + /// Original was GL_EXTENSIONS = 0x1F03 + /// + Extensions = ((int)0x1F03) , + /// + /// Original was GL_NEAREST = 0x2600 + /// + Nearest = ((int)0x2600) , + /// + /// Original was GL_LINEAR = 0x2601 + /// + Linear = ((int)0x2601) , + /// + /// Original was GL_NEAREST_MIPMAP_NEAREST = 0x2700 + /// + NearestMipmapNearest = ((int)0x2700) , + /// + /// Original was GL_LINEAR_MIPMAP_NEAREST = 0x2701 + /// + LinearMipmapNearest = ((int)0x2701) , + /// + /// Original was GL_NEAREST_MIPMAP_LINEAR = 0x2702 + /// + NearestMipmapLinear = ((int)0x2702) , + /// + /// Original was GL_LINEAR_MIPMAP_LINEAR = 0x2703 + /// + LinearMipmapLinear = ((int)0x2703) , + /// + /// Original was GL_TEXTURE_MAG_FILTER = 0x2800 + /// + TextureMagFilter = ((int)0x2800) , + /// + /// Original was GL_TEXTURE_MIN_FILTER = 0x2801 + /// + TextureMinFilter = ((int)0x2801) , + /// + /// Original was GL_TEXTURE_WRAP_S = 0x2802 + /// + TextureWrapS = ((int)0x2802) , + /// + /// Original was GL_TEXTURE_WRAP_T = 0x2803 + /// + TextureWrapT = ((int)0x2803) , + /// + /// Original was GL_REPEAT = 0x2901 + /// + Repeat = ((int)0x2901) , + /// + /// Original was GL_POLYGON_OFFSET_UNITS = 0x2A00 + /// + PolygonOffsetUnits = ((int)0x2A00) , + /// + /// Original was GL_POLYGON_OFFSET_POINT = 0x2A01 + /// + PolygonOffsetPoint = ((int)0x2A01) , + /// + /// Original was GL_POLYGON_OFFSET_LINE = 0x2A02 + /// + PolygonOffsetLine = ((int)0x2A02) , + /// + /// Original was GL_R3_G3_B2 = 0x2A10 + /// + R3G3B2 = ((int)0x2A10) , + /// + /// Original was GL_POLYGON_OFFSET_FILL = 0x8037 + /// + PolygonOffsetFill = ((int)0x8037) , + /// + /// Original was GL_POLYGON_OFFSET_FACTOR = 0x8038 + /// + PolygonOffsetFactor = ((int)0x8038) , + /// + /// Original was GL_RGB4 = 0x804F + /// + Rgb4 = ((int)0x804F) , + /// + /// Original was GL_RGB5 = 0x8050 + /// + Rgb5 = ((int)0x8050) , + /// + /// Original was GL_RGB8 = 0x8051 + /// + Rgb8 = ((int)0x8051) , + /// + /// Original was GL_RGB10 = 0x8052 + /// + Rgb10 = ((int)0x8052) , + /// + /// Original was GL_RGB12 = 0x8053 + /// + Rgb12 = ((int)0x8053) , + /// + /// Original was GL_RGB16 = 0x8054 + /// + Rgb16 = ((int)0x8054) , + /// + /// Original was GL_RGBA2 = 0x8055 + /// + Rgba2 = ((int)0x8055) , + /// + /// Original was GL_RGBA4 = 0x8056 + /// + Rgba4 = ((int)0x8056) , + /// + /// Original was GL_RGB5_A1 = 0x8057 + /// + Rgb5A1 = ((int)0x8057) , + /// + /// Original was GL_RGBA8 = 0x8058 + /// + Rgba8 = ((int)0x8058) , + /// + /// Original was GL_RGB10_A2 = 0x8059 + /// + Rgb10A2 = ((int)0x8059) , + /// + /// Original was GL_RGBA12 = 0x805A + /// + Rgba12 = ((int)0x805A) , + /// + /// Original was GL_RGBA16 = 0x805B + /// + Rgba16 = ((int)0x805B) , + /// + /// Original was GL_TEXTURE_RED_SIZE = 0x805C + /// + TextureRedSize = ((int)0x805C) , + /// + /// Original was GL_TEXTURE_GREEN_SIZE = 0x805D + /// + TextureGreenSize = ((int)0x805D) , + /// + /// Original was GL_TEXTURE_BLUE_SIZE = 0x805E + /// + TextureBlueSize = ((int)0x805E) , + /// + /// Original was GL_TEXTURE_ALPHA_SIZE = 0x805F + /// + TextureAlphaSize = ((int)0x805F) , + /// + /// Original was GL_PROXY_TEXTURE_1D = 0x8063 + /// + ProxyTexture1D = ((int)0x8063) , + /// + /// Original was GL_PROXY_TEXTURE_2D = 0x8064 + /// + ProxyTexture2D = ((int)0x8064) , + /// + /// Original was GL_TEXTURE_BINDING_1D = 0x8068 + /// + TextureBinding1D = ((int)0x8068) , + /// + /// Original was GL_TEXTURE_BINDING_2D = 0x8069 + /// + TextureBinding2D = ((int)0x8069) , + /// + /// Original was GL_ONE = 1 + /// + One = ((int)1) , + /// + /// Original was GL_TRUE = 1 + /// + True = ((int)1) , + } + + /// + /// Not used directly. + /// + public enum Version11Deprecated : int + { + /// + /// Original was GL_CLIENT_PIXEL_STORE_BIT = 0x00000001 + /// + ClientPixelStoreBit = ((int)0x00000001) , + /// + /// Original was GL_CURRENT_BIT = 0x00000001 + /// + CurrentBit = ((int)0x00000001) , + /// + /// Original was GL_CLIENT_VERTEX_ARRAY_BIT = 0x00000002 + /// + ClientVertexArrayBit = ((int)0x00000002) , + /// + /// Original was GL_POINT_BIT = 0x00000002 + /// + PointBit = ((int)0x00000002) , + /// + /// Original was GL_LINE_BIT = 0x00000004 + /// + LineBit = ((int)0x00000004) , + /// + /// Original was GL_POLYGON_BIT = 0x00000008 + /// + PolygonBit = ((int)0x00000008) , + /// + /// Original was GL_POLYGON_STIPPLE_BIT = 0x00000010 + /// + PolygonStippleBit = ((int)0x00000010) , + /// + /// Original was GL_PIXEL_MODE_BIT = 0x00000020 + /// + PixelModeBit = ((int)0x00000020) , + /// + /// Original was GL_LIGHTING_BIT = 0x00000040 + /// + LightingBit = ((int)0x00000040) , + /// + /// Original was GL_FOG_BIT = 0x00000080 + /// + FogBit = ((int)0x00000080) , + /// + /// Original was GL_ACCUM_BUFFER_BIT = 0x00000200 + /// + AccumBufferBit = ((int)0x00000200) , + /// + /// Original was GL_VIEWPORT_BIT = 0x00000800 + /// + ViewportBit = ((int)0x00000800) , + /// + /// Original was GL_TRANSFORM_BIT = 0x00001000 + /// + TransformBit = ((int)0x00001000) , + /// + /// Original was GL_ENABLE_BIT = 0x00002000 + /// + EnableBit = ((int)0x00002000) , + /// + /// Original was GL_HINT_BIT = 0x00008000 + /// + HintBit = ((int)0x00008000) , + /// + /// Original was GL_EVAL_BIT = 0x00010000 + /// + EvalBit = ((int)0x00010000) , + /// + /// Original was GL_LIST_BIT = 0x00020000 + /// + ListBit = ((int)0x00020000) , + /// + /// Original was GL_TEXTURE_BIT = 0x00040000 + /// + TextureBit = ((int)0x00040000) , + /// + /// Original was GL_QUADS = 0x0007 + /// + Quads = ((int)0x0007) , + /// + /// Original was GL_QUAD_STRIP = 0x0008 + /// + QuadStrip = ((int)0x0008) , + /// + /// Original was GL_SCISSOR_BIT = 0x00080000 + /// + ScissorBit = ((int)0x00080000) , + /// + /// Original was GL_POLYGON = 0x0009 + /// + Polygon = ((int)0x0009) , + /// + /// Original was GL_ACCUM = 0x0100 + /// + Accum = ((int)0x0100) , + /// + /// Original was GL_LOAD = 0x0101 + /// + Load = ((int)0x0101) , + /// + /// Original was GL_RETURN = 0x0102 + /// + Return = ((int)0x0102) , + /// + /// Original was GL_MULT = 0x0103 + /// + Mult = ((int)0x0103) , + /// + /// Original was GL_ADD = 0x0104 + /// + Add = ((int)0x0104) , + /// + /// Original was GL_AUX0 = 0x0409 + /// + Aux0 = ((int)0x0409) , + /// + /// Original was GL_AUX1 = 0x040A + /// + Aux1 = ((int)0x040A) , + /// + /// Original was GL_AUX2 = 0x040B + /// + Aux2 = ((int)0x040B) , + /// + /// Original was GL_AUX3 = 0x040C + /// + Aux3 = ((int)0x040C) , + /// + /// Original was GL_STACK_OVERFLOW = 0x0503 + /// + StackOverflow = ((int)0x0503) , + /// + /// Original was GL_STACK_UNDERFLOW = 0x0504 + /// + StackUnderflow = ((int)0x0504) , + /// + /// Original was GL_2D = 0x0600 + /// + Gl2D = ((int)0x0600) , + /// + /// Original was GL_3D = 0x0601 + /// + Gl3D = ((int)0x0601) , + /// + /// Original was GL_3D_COLOR = 0x0602 + /// + Gl3DColor = ((int)0x0602) , + /// + /// Original was GL_3D_COLOR_TEXTURE = 0x0603 + /// + Gl3DColorTexture = ((int)0x0603) , + /// + /// Original was GL_4D_COLOR_TEXTURE = 0x0604 + /// + Gl4DColorTexture = ((int)0x0604) , + /// + /// Original was GL_PASS_THROUGH_TOKEN = 0x0700 + /// + PassThroughToken = ((int)0x0700) , + /// + /// Original was GL_POINT_TOKEN = 0x0701 + /// + PointToken = ((int)0x0701) , + /// + /// Original was GL_LINE_TOKEN = 0x0702 + /// + LineToken = ((int)0x0702) , + /// + /// Original was GL_POLYGON_TOKEN = 0x0703 + /// + PolygonToken = ((int)0x0703) , + /// + /// Original was GL_BITMAP_TOKEN = 0x0704 + /// + BitmapToken = ((int)0x0704) , + /// + /// Original was GL_DRAW_PIXEL_TOKEN = 0x0705 + /// + DrawPixelToken = ((int)0x0705) , + /// + /// Original was GL_COPY_PIXEL_TOKEN = 0x0706 + /// + CopyPixelToken = ((int)0x0706) , + /// + /// Original was GL_LINE_RESET_TOKEN = 0x0707 + /// + LineResetToken = ((int)0x0707) , + /// + /// Original was GL_EXP = 0x0800 + /// + Exp = ((int)0x0800) , + /// + /// Original was GL_EXP2 = 0x0801 + /// + Exp2 = ((int)0x0801) , + /// + /// Original was GL_COEFF = 0x0A00 + /// + Coeff = ((int)0x0A00) , + /// + /// Original was GL_ORDER = 0x0A01 + /// + Order = ((int)0x0A01) , + /// + /// Original was GL_DOMAIN = 0x0A02 + /// + Domain = ((int)0x0A02) , + /// + /// Original was GL_CURRENT_COLOR = 0x0B00 + /// + CurrentColor = ((int)0x0B00) , + /// + /// Original was GL_CURRENT_INDEX = 0x0B01 + /// + CurrentIndex = ((int)0x0B01) , + /// + /// Original was GL_CURRENT_NORMAL = 0x0B02 + /// + CurrentNormal = ((int)0x0B02) , + /// + /// Original was GL_CURRENT_TEXTURE_COORDS = 0x0B03 + /// + CurrentTextureCoords = ((int)0x0B03) , + /// + /// Original was GL_CURRENT_RASTER_COLOR = 0x0B04 + /// + CurrentRasterColor = ((int)0x0B04) , + /// + /// Original was GL_CURRENT_RASTER_INDEX = 0x0B05 + /// + CurrentRasterIndex = ((int)0x0B05) , + /// + /// Original was GL_CURRENT_RASTER_TEXTURE_COORDS = 0x0B06 + /// + CurrentRasterTextureCoords = ((int)0x0B06) , + /// + /// Original was GL_CURRENT_RASTER_POSITION = 0x0B07 + /// + CurrentRasterPosition = ((int)0x0B07) , + /// + /// Original was GL_CURRENT_RASTER_POSITION_VALID = 0x0B08 + /// + CurrentRasterPositionValid = ((int)0x0B08) , + /// + /// Original was GL_CURRENT_RASTER_DISTANCE = 0x0B09 + /// + CurrentRasterDistance = ((int)0x0B09) , + /// + /// Original was GL_POINT_SMOOTH = 0x0B10 + /// + PointSmooth = ((int)0x0B10) , + /// + /// Original was GL_LINE_STIPPLE = 0x0B24 + /// + LineStipple = ((int)0x0B24) , + /// + /// Original was GL_LINE_STIPPLE_PATTERN = 0x0B25 + /// + LineStipplePattern = ((int)0x0B25) , + /// + /// Original was GL_LINE_STIPPLE_REPEAT = 0x0B26 + /// + LineStippleRepeat = ((int)0x0B26) , + /// + /// Original was GL_LIST_MODE = 0x0B30 + /// + ListMode = ((int)0x0B30) , + /// + /// Original was GL_MAX_LIST_NESTING = 0x0B31 + /// + MaxListNesting = ((int)0x0B31) , + /// + /// Original was GL_LIST_BASE = 0x0B32 + /// + ListBase = ((int)0x0B32) , + /// + /// Original was GL_LIST_INDEX = 0x0B33 + /// + ListIndex = ((int)0x0B33) , + /// + /// Original was GL_POLYGON_MODE = 0x0B40 + /// + PolygonMode = ((int)0x0B40) , + /// + /// Original was GL_POLYGON_STIPPLE = 0x0B42 + /// + PolygonStipple = ((int)0x0B42) , + /// + /// Original was GL_EDGE_FLAG = 0x0B43 + /// + EdgeFlag = ((int)0x0B43) , + /// + /// Original was GL_LIGHTING = 0x0B50 + /// + Lighting = ((int)0x0B50) , + /// + /// Original was GL_LIGHT_MODEL_LOCAL_VIEWER = 0x0B51 + /// + LightModelLocalViewer = ((int)0x0B51) , + /// + /// Original was GL_LIGHT_MODEL_TWO_SIDE = 0x0B52 + /// + LightModelTwoSide = ((int)0x0B52) , + /// + /// Original was GL_LIGHT_MODEL_AMBIENT = 0x0B53 + /// + LightModelAmbient = ((int)0x0B53) , + /// + /// Original was GL_SHADE_MODEL = 0x0B54 + /// + ShadeModel = ((int)0x0B54) , + /// + /// Original was GL_COLOR_MATERIAL_FACE = 0x0B55 + /// + ColorMaterialFace = ((int)0x0B55) , + /// + /// Original was GL_COLOR_MATERIAL_PARAMETER = 0x0B56 + /// + ColorMaterialParameter = ((int)0x0B56) , + /// + /// Original was GL_COLOR_MATERIAL = 0x0B57 + /// + ColorMaterial = ((int)0x0B57) , + /// + /// Original was GL_FOG = 0x0B60 + /// + Fog = ((int)0x0B60) , + /// + /// Original was GL_FOG_INDEX = 0x0B61 + /// + FogIndex = ((int)0x0B61) , + /// + /// Original was GL_FOG_DENSITY = 0x0B62 + /// + FogDensity = ((int)0x0B62) , + /// + /// Original was GL_FOG_START = 0x0B63 + /// + FogStart = ((int)0x0B63) , + /// + /// Original was GL_FOG_END = 0x0B64 + /// + FogEnd = ((int)0x0B64) , + /// + /// Original was GL_FOG_MODE = 0x0B65 + /// + FogMode = ((int)0x0B65) , + /// + /// Original was GL_FOG_COLOR = 0x0B66 + /// + FogColor = ((int)0x0B66) , + /// + /// Original was GL_ACCUM_CLEAR_VALUE = 0x0B80 + /// + AccumClearValue = ((int)0x0B80) , + /// + /// Original was GL_MATRIX_MODE = 0x0BA0 + /// + MatrixMode = ((int)0x0BA0) , + /// + /// Original was GL_NORMALIZE = 0x0BA1 + /// + Normalize = ((int)0x0BA1) , + /// + /// Original was GL_MODELVIEW_STACK_DEPTH = 0x0BA3 + /// + ModelviewStackDepth = ((int)0x0BA3) , + /// + /// Original was GL_PROJECTION_STACK_DEPTH = 0x0BA4 + /// + ProjectionStackDepth = ((int)0x0BA4) , + /// + /// Original was GL_TEXTURE_STACK_DEPTH = 0x0BA5 + /// + TextureStackDepth = ((int)0x0BA5) , + /// + /// Original was GL_MODELVIEW_MATRIX = 0x0BA6 + /// + ModelviewMatrix = ((int)0x0BA6) , + /// + /// Original was GL_PROJECTION_MATRIX = 0x0BA7 + /// + ProjectionMatrix = ((int)0x0BA7) , + /// + /// Original was GL_TEXTURE_MATRIX = 0x0BA8 + /// + TextureMatrix = ((int)0x0BA8) , + /// + /// Original was GL_ATTRIB_STACK_DEPTH = 0x0BB0 + /// + AttribStackDepth = ((int)0x0BB0) , + /// + /// Original was GL_CLIENT_ATTRIB_STACK_DEPTH = 0x0BB1 + /// + ClientAttribStackDepth = ((int)0x0BB1) , + /// + /// Original was GL_ALPHA_TEST = 0x0BC0 + /// + AlphaTest = ((int)0x0BC0) , + /// + /// Original was GL_ALPHA_TEST_FUNC = 0x0BC1 + /// + AlphaTestFunc = ((int)0x0BC1) , + /// + /// Original was GL_ALPHA_TEST_REF = 0x0BC2 + /// + AlphaTestRef = ((int)0x0BC2) , + /// + /// Original was GL_INDEX_LOGIC_OP = 0x0BF1 + /// + IndexLogicOp = ((int)0x0BF1) , + /// + /// Original was GL_LOGIC_OP = 0x0BF1 + /// + LogicOp = ((int)0x0BF1) , + /// + /// Original was GL_AUX_BUFFERS = 0x0C00 + /// + AuxBuffers = ((int)0x0C00) , + /// + /// Original was GL_INDEX_CLEAR_VALUE = 0x0C20 + /// + IndexClearValue = ((int)0x0C20) , + /// + /// Original was GL_INDEX_WRITEMASK = 0x0C21 + /// + IndexWritemask = ((int)0x0C21) , + /// + /// Original was GL_INDEX_MODE = 0x0C30 + /// + IndexMode = ((int)0x0C30) , + /// + /// Original was GL_RGBA_MODE = 0x0C31 + /// + RgbaMode = ((int)0x0C31) , + /// + /// Original was GL_RENDER_MODE = 0x0C40 + /// + RenderMode = ((int)0x0C40) , + /// + /// Original was GL_PERSPECTIVE_CORRECTION_HINT = 0x0C50 + /// + PerspectiveCorrectionHint = ((int)0x0C50) , + /// + /// Original was GL_POINT_SMOOTH_HINT = 0x0C51 + /// + PointSmoothHint = ((int)0x0C51) , + /// + /// Original was GL_FOG_HINT = 0x0C54 + /// + FogHint = ((int)0x0C54) , + /// + /// Original was GL_TEXTURE_GEN_S = 0x0C60 + /// + TextureGenS = ((int)0x0C60) , + /// + /// Original was GL_TEXTURE_GEN_T = 0x0C61 + /// + TextureGenT = ((int)0x0C61) , + /// + /// Original was GL_TEXTURE_GEN_R = 0x0C62 + /// + TextureGenR = ((int)0x0C62) , + /// + /// Original was GL_TEXTURE_GEN_Q = 0x0C63 + /// + TextureGenQ = ((int)0x0C63) , + /// + /// Original was GL_PIXEL_MAP_I_TO_I = 0x0C70 + /// + PixelMapIToI = ((int)0x0C70) , + /// + /// Original was GL_PIXEL_MAP_S_TO_S = 0x0C71 + /// + PixelMapSToS = ((int)0x0C71) , + /// + /// Original was GL_PIXEL_MAP_I_TO_R = 0x0C72 + /// + PixelMapIToR = ((int)0x0C72) , + /// + /// Original was GL_PIXEL_MAP_I_TO_G = 0x0C73 + /// + PixelMapIToG = ((int)0x0C73) , + /// + /// Original was GL_PIXEL_MAP_I_TO_B = 0x0C74 + /// + PixelMapIToB = ((int)0x0C74) , + /// + /// Original was GL_PIXEL_MAP_I_TO_A = 0x0C75 + /// + PixelMapIToA = ((int)0x0C75) , + /// + /// Original was GL_PIXEL_MAP_R_TO_R = 0x0C76 + /// + PixelMapRToR = ((int)0x0C76) , + /// + /// Original was GL_PIXEL_MAP_G_TO_G = 0x0C77 + /// + PixelMapGToG = ((int)0x0C77) , + /// + /// Original was GL_PIXEL_MAP_B_TO_B = 0x0C78 + /// + PixelMapBToB = ((int)0x0C78) , + /// + /// Original was GL_PIXEL_MAP_A_TO_A = 0x0C79 + /// + PixelMapAToA = ((int)0x0C79) , + /// + /// Original was GL_PIXEL_MAP_I_TO_I_SIZE = 0x0CB0 + /// + PixelMapIToISize = ((int)0x0CB0) , + /// + /// Original was GL_PIXEL_MAP_S_TO_S_SIZE = 0x0CB1 + /// + PixelMapSToSSize = ((int)0x0CB1) , + /// + /// Original was GL_PIXEL_MAP_I_TO_R_SIZE = 0x0CB2 + /// + PixelMapIToRSize = ((int)0x0CB2) , + /// + /// Original was GL_PIXEL_MAP_I_TO_G_SIZE = 0x0CB3 + /// + PixelMapIToGSize = ((int)0x0CB3) , + /// + /// Original was GL_PIXEL_MAP_I_TO_B_SIZE = 0x0CB4 + /// + PixelMapIToBSize = ((int)0x0CB4) , + /// + /// Original was GL_PIXEL_MAP_I_TO_A_SIZE = 0x0CB5 + /// + PixelMapIToASize = ((int)0x0CB5) , + /// + /// Original was GL_PIXEL_MAP_R_TO_R_SIZE = 0x0CB6 + /// + PixelMapRToRSize = ((int)0x0CB6) , + /// + /// Original was GL_PIXEL_MAP_G_TO_G_SIZE = 0x0CB7 + /// + PixelMapGToGSize = ((int)0x0CB7) , + /// + /// Original was GL_PIXEL_MAP_B_TO_B_SIZE = 0x0CB8 + /// + PixelMapBToBSize = ((int)0x0CB8) , + /// + /// Original was GL_PIXEL_MAP_A_TO_A_SIZE = 0x0CB9 + /// + PixelMapAToASize = ((int)0x0CB9) , + /// + /// Original was GL_MAP_COLOR = 0x0D10 + /// + MapColor = ((int)0x0D10) , + /// + /// Original was GL_MAP_STENCIL = 0x0D11 + /// + MapStencil = ((int)0x0D11) , + /// + /// Original was GL_INDEX_SHIFT = 0x0D12 + /// + IndexShift = ((int)0x0D12) , + /// + /// Original was GL_INDEX_OFFSET = 0x0D13 + /// + IndexOffset = ((int)0x0D13) , + /// + /// Original was GL_RED_SCALE = 0x0D14 + /// + RedScale = ((int)0x0D14) , + /// + /// Original was GL_RED_BIAS = 0x0D15 + /// + RedBias = ((int)0x0D15) , + /// + /// Original was GL_ZOOM_X = 0x0D16 + /// + ZoomX = ((int)0x0D16) , + /// + /// Original was GL_ZOOM_Y = 0x0D17 + /// + ZoomY = ((int)0x0D17) , + /// + /// Original was GL_GREEN_SCALE = 0x0D18 + /// + GreenScale = ((int)0x0D18) , + /// + /// Original was GL_GREEN_BIAS = 0x0D19 + /// + GreenBias = ((int)0x0D19) , + /// + /// Original was GL_BLUE_SCALE = 0x0D1A + /// + BlueScale = ((int)0x0D1A) , + /// + /// Original was GL_BLUE_BIAS = 0x0D1B + /// + BlueBias = ((int)0x0D1B) , + /// + /// Original was GL_ALPHA_SCALE = 0x0D1C + /// + AlphaScale = ((int)0x0D1C) , + /// + /// Original was GL_ALPHA_BIAS = 0x0D1D + /// + AlphaBias = ((int)0x0D1D) , + /// + /// Original was GL_DEPTH_SCALE = 0x0D1E + /// + DepthScale = ((int)0x0D1E) , + /// + /// Original was GL_DEPTH_BIAS = 0x0D1F + /// + DepthBias = ((int)0x0D1F) , + /// + /// Original was GL_MAX_EVAL_ORDER = 0x0D30 + /// + MaxEvalOrder = ((int)0x0D30) , + /// + /// Original was GL_MAX_LIGHTS = 0x0D31 + /// + MaxLights = ((int)0x0D31) , + /// + /// Original was GL_MAX_CLIP_PLANES = 0x0D32 + /// + MaxClipPlanes = ((int)0x0D32) , + /// + /// Original was GL_MAX_PIXEL_MAP_TABLE = 0x0D34 + /// + MaxPixelMapTable = ((int)0x0D34) , + /// + /// Original was GL_MAX_ATTRIB_STACK_DEPTH = 0x0D35 + /// + MaxAttribStackDepth = ((int)0x0D35) , + /// + /// Original was GL_MAX_MODELVIEW_STACK_DEPTH = 0x0D36 + /// + MaxModelviewStackDepth = ((int)0x0D36) , + /// + /// Original was GL_MAX_NAME_STACK_DEPTH = 0x0D37 + /// + MaxNameStackDepth = ((int)0x0D37) , + /// + /// Original was GL_MAX_PROJECTION_STACK_DEPTH = 0x0D38 + /// + MaxProjectionStackDepth = ((int)0x0D38) , + /// + /// Original was GL_MAX_TEXTURE_STACK_DEPTH = 0x0D39 + /// + MaxTextureStackDepth = ((int)0x0D39) , + /// + /// Original was GL_MAX_CLIENT_ATTRIB_STACK_DEPTH = 0x0D3B + /// + MaxClientAttribStackDepth = ((int)0x0D3B) , + /// + /// Original was GL_INDEX_BITS = 0x0D51 + /// + IndexBits = ((int)0x0D51) , + /// + /// Original was GL_RED_BITS = 0x0D52 + /// + RedBits = ((int)0x0D52) , + /// + /// Original was GL_GREEN_BITS = 0x0D53 + /// + GreenBits = ((int)0x0D53) , + /// + /// Original was GL_BLUE_BITS = 0x0D54 + /// + BlueBits = ((int)0x0D54) , + /// + /// Original was GL_ALPHA_BITS = 0x0D55 + /// + AlphaBits = ((int)0x0D55) , + /// + /// Original was GL_DEPTH_BITS = 0x0D56 + /// + DepthBits = ((int)0x0D56) , + /// + /// Original was GL_STENCIL_BITS = 0x0D57 + /// + StencilBits = ((int)0x0D57) , + /// + /// Original was GL_ACCUM_RED_BITS = 0x0D58 + /// + AccumRedBits = ((int)0x0D58) , + /// + /// Original was GL_ACCUM_GREEN_BITS = 0x0D59 + /// + AccumGreenBits = ((int)0x0D59) , + /// + /// Original was GL_ACCUM_BLUE_BITS = 0x0D5A + /// + AccumBlueBits = ((int)0x0D5A) , + /// + /// Original was GL_ACCUM_ALPHA_BITS = 0x0D5B + /// + AccumAlphaBits = ((int)0x0D5B) , + /// + /// Original was GL_NAME_STACK_DEPTH = 0x0D70 + /// + NameStackDepth = ((int)0x0D70) , + /// + /// Original was GL_AUTO_NORMAL = 0x0D80 + /// + AutoNormal = ((int)0x0D80) , + /// + /// Original was GL_MAP1_COLOR_4 = 0x0D90 + /// + Map1Color4 = ((int)0x0D90) , + /// + /// Original was GL_MAP1_INDEX = 0x0D91 + /// + Map1Index = ((int)0x0D91) , + /// + /// Original was GL_MAP1_NORMAL = 0x0D92 + /// + Map1Normal = ((int)0x0D92) , + /// + /// Original was GL_MAP1_TEXTURE_COORD_1 = 0x0D93 + /// + Map1TextureCoord1 = ((int)0x0D93) , + /// + /// Original was GL_MAP1_TEXTURE_COORD_2 = 0x0D94 + /// + Map1TextureCoord2 = ((int)0x0D94) , + /// + /// Original was GL_MAP1_TEXTURE_COORD_3 = 0x0D95 + /// + Map1TextureCoord3 = ((int)0x0D95) , + /// + /// Original was GL_MAP1_TEXTURE_COORD_4 = 0x0D96 + /// + Map1TextureCoord4 = ((int)0x0D96) , + /// + /// Original was GL_MAP1_VERTEX_3 = 0x0D97 + /// + Map1Vertex3 = ((int)0x0D97) , + /// + /// Original was GL_MAP1_VERTEX_4 = 0x0D98 + /// + Map1Vertex4 = ((int)0x0D98) , + /// + /// Original was GL_MAP2_COLOR_4 = 0x0DB0 + /// + Map2Color4 = ((int)0x0DB0) , + /// + /// Original was GL_MAP2_INDEX = 0x0DB1 + /// + Map2Index = ((int)0x0DB1) , + /// + /// Original was GL_MAP2_NORMAL = 0x0DB2 + /// + Map2Normal = ((int)0x0DB2) , + /// + /// Original was GL_MAP2_TEXTURE_COORD_1 = 0x0DB3 + /// + Map2TextureCoord1 = ((int)0x0DB3) , + /// + /// Original was GL_MAP2_TEXTURE_COORD_2 = 0x0DB4 + /// + Map2TextureCoord2 = ((int)0x0DB4) , + /// + /// Original was GL_MAP2_TEXTURE_COORD_3 = 0x0DB5 + /// + Map2TextureCoord3 = ((int)0x0DB5) , + /// + /// Original was GL_MAP2_TEXTURE_COORD_4 = 0x0DB6 + /// + Map2TextureCoord4 = ((int)0x0DB6) , + /// + /// Original was GL_MAP2_VERTEX_3 = 0x0DB7 + /// + Map2Vertex3 = ((int)0x0DB7) , + /// + /// Original was GL_MAP2_VERTEX_4 = 0x0DB8 + /// + Map2Vertex4 = ((int)0x0DB8) , + /// + /// Original was GL_MAP1_GRID_DOMAIN = 0x0DD0 + /// + Map1GridDomain = ((int)0x0DD0) , + /// + /// Original was GL_MAP1_GRID_SEGMENTS = 0x0DD1 + /// + Map1GridSegments = ((int)0x0DD1) , + /// + /// Original was GL_MAP2_GRID_DOMAIN = 0x0DD2 + /// + Map2GridDomain = ((int)0x0DD2) , + /// + /// Original was GL_MAP2_GRID_SEGMENTS = 0x0DD3 + /// + Map2GridSegments = ((int)0x0DD3) , + /// + /// Original was GL_FEEDBACK_BUFFER_POINTER = 0x0DF0 + /// + FeedbackBufferPointer = ((int)0x0DF0) , + /// + /// Original was GL_FEEDBACK_BUFFER_SIZE = 0x0DF1 + /// + FeedbackBufferSize = ((int)0x0DF1) , + /// + /// Original was GL_FEEDBACK_BUFFER_TYPE = 0x0DF2 + /// + FeedbackBufferType = ((int)0x0DF2) , + /// + /// Original was GL_SELECTION_BUFFER_POINTER = 0x0DF3 + /// + SelectionBufferPointer = ((int)0x0DF3) , + /// + /// Original was GL_SELECTION_BUFFER_SIZE = 0x0DF4 + /// + SelectionBufferSize = ((int)0x0DF4) , + /// + /// Original was GL_TEXTURE_COMPONENTS = 0x1003 + /// + TextureComponents = ((int)0x1003) , + /// + /// Original was GL_TEXTURE_BORDER = 0x1005 + /// + TextureBorder = ((int)0x1005) , + /// + /// Original was GL_AMBIENT = 0x1200 + /// + Ambient = ((int)0x1200) , + /// + /// Original was GL_DIFFUSE = 0x1201 + /// + Diffuse = ((int)0x1201) , + /// + /// Original was GL_SPECULAR = 0x1202 + /// + Specular = ((int)0x1202) , + /// + /// Original was GL_POSITION = 0x1203 + /// + Position = ((int)0x1203) , + /// + /// Original was GL_SPOT_DIRECTION = 0x1204 + /// + SpotDirection = ((int)0x1204) , + /// + /// Original was GL_SPOT_EXPONENT = 0x1205 + /// + SpotExponent = ((int)0x1205) , + /// + /// Original was GL_SPOT_CUTOFF = 0x1206 + /// + SpotCutoff = ((int)0x1206) , + /// + /// Original was GL_CONSTANT_ATTENUATION = 0x1207 + /// + ConstantAttenuation = ((int)0x1207) , + /// + /// Original was GL_LINEAR_ATTENUATION = 0x1208 + /// + LinearAttenuation = ((int)0x1208) , + /// + /// Original was GL_QUADRATIC_ATTENUATION = 0x1209 + /// + QuadraticAttenuation = ((int)0x1209) , + /// + /// Original was GL_COMPILE = 0x1300 + /// + Compile = ((int)0x1300) , + /// + /// Original was GL_COMPILE_AND_EXECUTE = 0x1301 + /// + CompileAndExecute = ((int)0x1301) , + /// + /// Original was GL_2_BYTES = 0x1407 + /// + Gl2Bytes = ((int)0x1407) , + /// + /// Original was GL_3_BYTES = 0x1408 + /// + Gl3Bytes = ((int)0x1408) , + /// + /// Original was GL_4_BYTES = 0x1409 + /// + Gl4Bytes = ((int)0x1409) , + /// + /// Original was GL_EMISSION = 0x1600 + /// + Emission = ((int)0x1600) , + /// + /// Original was GL_SHININESS = 0x1601 + /// + Shininess = ((int)0x1601) , + /// + /// Original was GL_AMBIENT_AND_DIFFUSE = 0x1602 + /// + AmbientAndDiffuse = ((int)0x1602) , + /// + /// Original was GL_COLOR_INDEXES = 0x1603 + /// + ColorIndexes = ((int)0x1603) , + /// + /// Original was GL_MODELVIEW = 0x1700 + /// + Modelview = ((int)0x1700) , + /// + /// Original was GL_PROJECTION = 0x1701 + /// + Projection = ((int)0x1701) , + /// + /// Original was GL_COLOR_INDEX = 0x1900 + /// + ColorIndex = ((int)0x1900) , + /// + /// Original was GL_LUMINANCE = 0x1909 + /// + Luminance = ((int)0x1909) , + /// + /// Original was GL_LUMINANCE_ALPHA = 0x190A + /// + LuminanceAlpha = ((int)0x190A) , + /// + /// Original was GL_BITMAP = 0x1A00 + /// + Bitmap = ((int)0x1A00) , + /// + /// Original was GL_RENDER = 0x1C00 + /// + Render = ((int)0x1C00) , + /// + /// Original was GL_FEEDBACK = 0x1C01 + /// + Feedback = ((int)0x1C01) , + /// + /// Original was GL_SELECT = 0x1C02 + /// + Select = ((int)0x1C02) , + /// + /// Original was GL_FLAT = 0x1D00 + /// + Flat = ((int)0x1D00) , + /// + /// Original was GL_SMOOTH = 0x1D01 + /// + Smooth = ((int)0x1D01) , + /// + /// Original was GL_S = 0x2000 + /// + S = ((int)0x2000) , + /// + /// Original was GL_T = 0x2001 + /// + T = ((int)0x2001) , + /// + /// Original was GL_R = 0x2002 + /// + R = ((int)0x2002) , + /// + /// Original was GL_Q = 0x2003 + /// + Q = ((int)0x2003) , + /// + /// Original was GL_MODULATE = 0x2100 + /// + Modulate = ((int)0x2100) , + /// + /// Original was GL_DECAL = 0x2101 + /// + Decal = ((int)0x2101) , + /// + /// Original was GL_TEXTURE_ENV_MODE = 0x2200 + /// + TextureEnvMode = ((int)0x2200) , + /// + /// Original was GL_TEXTURE_ENV_COLOR = 0x2201 + /// + TextureEnvColor = ((int)0x2201) , + /// + /// Original was GL_TEXTURE_ENV = 0x2300 + /// + TextureEnv = ((int)0x2300) , + /// + /// Original was GL_EYE_LINEAR = 0x2400 + /// + EyeLinear = ((int)0x2400) , + /// + /// Original was GL_OBJECT_LINEAR = 0x2401 + /// + ObjectLinear = ((int)0x2401) , + /// + /// Original was GL_SPHERE_MAP = 0x2402 + /// + SphereMap = ((int)0x2402) , + /// + /// Original was GL_TEXTURE_GEN_MODE = 0x2500 + /// + TextureGenMode = ((int)0x2500) , + /// + /// Original was GL_OBJECT_PLANE = 0x2501 + /// + ObjectPlane = ((int)0x2501) , + /// + /// Original was GL_EYE_PLANE = 0x2502 + /// + EyePlane = ((int)0x2502) , + /// + /// Original was GL_CLAMP = 0x2900 + /// + Clamp = ((int)0x2900) , + /// + /// Original was GL_V2F = 0x2A20 + /// + V2f = ((int)0x2A20) , + /// + /// Original was GL_V3F = 0x2A21 + /// + V3f = ((int)0x2A21) , + /// + /// Original was GL_C4UB_V2F = 0x2A22 + /// + C4ubV2f = ((int)0x2A22) , + /// + /// Original was GL_C4UB_V3F = 0x2A23 + /// + C4ubV3f = ((int)0x2A23) , + /// + /// Original was GL_C3F_V3F = 0x2A24 + /// + C3fV3f = ((int)0x2A24) , + /// + /// Original was GL_N3F_V3F = 0x2A25 + /// + N3fV3f = ((int)0x2A25) , + /// + /// Original was GL_C4F_N3F_V3F = 0x2A26 + /// + C4fN3fV3f = ((int)0x2A26) , + /// + /// Original was GL_T2F_V3F = 0x2A27 + /// + T2fV3f = ((int)0x2A27) , + /// + /// Original was GL_T4F_V4F = 0x2A28 + /// + T4fV4f = ((int)0x2A28) , + /// + /// Original was GL_T2F_C4UB_V3F = 0x2A29 + /// + T2fC4ubV3f = ((int)0x2A29) , + /// + /// Original was GL_T2F_C3F_V3F = 0x2A2A + /// + T2fC3fV3f = ((int)0x2A2A) , + /// + /// Original was GL_T2F_N3F_V3F = 0x2A2B + /// + T2fN3fV3f = ((int)0x2A2B) , + /// + /// Original was GL_T2F_C4F_N3F_V3F = 0x2A2C + /// + T2fC4fN3fV3f = ((int)0x2A2C) , + /// + /// Original was GL_T4F_C4F_N3F_V4F = 0x2A2D + /// + T4fC4fN3fV4f = ((int)0x2A2D) , + /// + /// Original was GL_CLIP_PLANE0 = 0x3000 + /// + ClipPlane0 = ((int)0x3000) , + /// + /// Original was GL_CLIP_PLANE1 = 0x3001 + /// + ClipPlane1 = ((int)0x3001) , + /// + /// Original was GL_CLIP_PLANE2 = 0x3002 + /// + ClipPlane2 = ((int)0x3002) , + /// + /// Original was GL_CLIP_PLANE3 = 0x3003 + /// + ClipPlane3 = ((int)0x3003) , + /// + /// Original was GL_CLIP_PLANE4 = 0x3004 + /// + ClipPlane4 = ((int)0x3004) , + /// + /// Original was GL_CLIP_PLANE5 = 0x3005 + /// + ClipPlane5 = ((int)0x3005) , + /// + /// Original was GL_LIGHT0 = 0x4000 + /// + Light0 = ((int)0x4000) , + /// + /// Original was GL_LIGHT1 = 0x4001 + /// + Light1 = ((int)0x4001) , + /// + /// Original was GL_LIGHT2 = 0x4002 + /// + Light2 = ((int)0x4002) , + /// + /// Original was GL_LIGHT3 = 0x4003 + /// + Light3 = ((int)0x4003) , + /// + /// Original was GL_LIGHT4 = 0x4004 + /// + Light4 = ((int)0x4004) , + /// + /// Original was GL_LIGHT5 = 0x4005 + /// + Light5 = ((int)0x4005) , + /// + /// Original was GL_LIGHT6 = 0x4006 + /// + Light6 = ((int)0x4006) , + /// + /// Original was GL_LIGHT7 = 0x4007 + /// + Light7 = ((int)0x4007) , + /// + /// Original was GL_ALPHA4 = 0x803B + /// + Alpha4 = ((int)0x803B) , + /// + /// Original was GL_ALPHA8 = 0x803C + /// + Alpha8 = ((int)0x803C) , + /// + /// Original was GL_ALPHA12 = 0x803D + /// + Alpha12 = ((int)0x803D) , + /// + /// Original was GL_ALPHA16 = 0x803E + /// + Alpha16 = ((int)0x803E) , + /// + /// Original was GL_LUMINANCE4 = 0x803F + /// + Luminance4 = ((int)0x803F) , + /// + /// Original was GL_LUMINANCE8 = 0x8040 + /// + Luminance8 = ((int)0x8040) , + /// + /// Original was GL_LUMINANCE12 = 0x8041 + /// + Luminance12 = ((int)0x8041) , + /// + /// Original was GL_LUMINANCE16 = 0x8042 + /// + Luminance16 = ((int)0x8042) , + /// + /// Original was GL_LUMINANCE4_ALPHA4 = 0x8043 + /// + Luminance4Alpha4 = ((int)0x8043) , + /// + /// Original was GL_LUMINANCE6_ALPHA2 = 0x8044 + /// + Luminance6Alpha2 = ((int)0x8044) , + /// + /// Original was GL_LUMINANCE8_ALPHA8 = 0x8045 + /// + Luminance8Alpha8 = ((int)0x8045) , + /// + /// Original was GL_LUMINANCE12_ALPHA4 = 0x8046 + /// + Luminance12Alpha4 = ((int)0x8046) , + /// + /// Original was GL_LUMINANCE12_ALPHA12 = 0x8047 + /// + Luminance12Alpha12 = ((int)0x8047) , + /// + /// Original was GL_LUMINANCE16_ALPHA16 = 0x8048 + /// + Luminance16Alpha16 = ((int)0x8048) , + /// + /// Original was GL_INTENSITY = 0x8049 + /// + Intensity = ((int)0x8049) , + /// + /// Original was GL_INTENSITY4 = 0x804A + /// + Intensity4 = ((int)0x804A) , + /// + /// Original was GL_INTENSITY8 = 0x804B + /// + Intensity8 = ((int)0x804B) , + /// + /// Original was GL_INTENSITY12 = 0x804C + /// + Intensity12 = ((int)0x804C) , + /// + /// Original was GL_INTENSITY16 = 0x804D + /// + Intensity16 = ((int)0x804D) , + /// + /// Original was GL_TEXTURE_LUMINANCE_SIZE = 0x8060 + /// + TextureLuminanceSize = ((int)0x8060) , + /// + /// Original was GL_TEXTURE_INTENSITY_SIZE = 0x8061 + /// + TextureIntensitySize = ((int)0x8061) , + /// + /// Original was GL_TEXTURE_PRIORITY = 0x8066 + /// + TexturePriority = ((int)0x8066) , + /// + /// Original was GL_TEXTURE_RESIDENT = 0x8067 + /// + TextureResident = ((int)0x8067) , + /// + /// Original was GL_VERTEX_ARRAY = 0x8074 + /// + VertexArray = ((int)0x8074) , + /// + /// Original was GL_NORMAL_ARRAY = 0x8075 + /// + NormalArray = ((int)0x8075) , + /// + /// Original was GL_COLOR_ARRAY = 0x8076 + /// + ColorArray = ((int)0x8076) , + /// + /// Original was GL_INDEX_ARRAY = 0x8077 + /// + IndexArray = ((int)0x8077) , + /// + /// Original was GL_TEXTURE_COORD_ARRAY = 0x8078 + /// + TextureCoordArray = ((int)0x8078) , + /// + /// Original was GL_EDGE_FLAG_ARRAY = 0x8079 + /// + EdgeFlagArray = ((int)0x8079) , + /// + /// Original was GL_VERTEX_ARRAY_SIZE = 0x807A + /// + VertexArraySize = ((int)0x807A) , + /// + /// Original was GL_VERTEX_ARRAY_TYPE = 0x807B + /// + VertexArrayType = ((int)0x807B) , + /// + /// Original was GL_VERTEX_ARRAY_STRIDE = 0x807C + /// + VertexArrayStride = ((int)0x807C) , + /// + /// Original was GL_NORMAL_ARRAY_TYPE = 0x807E + /// + NormalArrayType = ((int)0x807E) , + /// + /// Original was GL_NORMAL_ARRAY_STRIDE = 0x807F + /// + NormalArrayStride = ((int)0x807F) , + /// + /// Original was GL_COLOR_ARRAY_SIZE = 0x8081 + /// + ColorArraySize = ((int)0x8081) , + /// + /// Original was GL_COLOR_ARRAY_TYPE = 0x8082 + /// + ColorArrayType = ((int)0x8082) , + /// + /// Original was GL_COLOR_ARRAY_STRIDE = 0x8083 + /// + ColorArrayStride = ((int)0x8083) , + /// + /// Original was GL_INDEX_ARRAY_TYPE = 0x8085 + /// + IndexArrayType = ((int)0x8085) , + /// + /// Original was GL_INDEX_ARRAY_STRIDE = 0x8086 + /// + IndexArrayStride = ((int)0x8086) , + /// + /// Original was GL_TEXTURE_COORD_ARRAY_SIZE = 0x8088 + /// + TextureCoordArraySize = ((int)0x8088) , + /// + /// Original was GL_TEXTURE_COORD_ARRAY_TYPE = 0x8089 + /// + TextureCoordArrayType = ((int)0x8089) , + /// + /// Original was GL_TEXTURE_COORD_ARRAY_STRIDE = 0x808A + /// + TextureCoordArrayStride = ((int)0x808A) , + /// + /// Original was GL_EDGE_FLAG_ARRAY_STRIDE = 0x808C + /// + EdgeFlagArrayStride = ((int)0x808C) , + /// + /// Original was GL_VERTEX_ARRAY_POINTER = 0x808E + /// + VertexArrayPointer = ((int)0x808E) , + /// + /// Original was GL_NORMAL_ARRAY_POINTER = 0x808F + /// + NormalArrayPointer = ((int)0x808F) , + /// + /// Original was GL_COLOR_ARRAY_POINTER = 0x8090 + /// + ColorArrayPointer = ((int)0x8090) , + /// + /// Original was GL_INDEX_ARRAY_POINTER = 0x8091 + /// + IndexArrayPointer = ((int)0x8091) , + /// + /// Original was GL_TEXTURE_COORD_ARRAY_POINTER = 0x8092 + /// + TextureCoordArrayPointer = ((int)0x8092) , + /// + /// Original was GL_EDGE_FLAG_ARRAY_POINTER = 0x8093 + /// + EdgeFlagArrayPointer = ((int)0x8093) , + /// + /// Original was GL_ALL_ATTRIB_BITS = 0xFFFFFFFF + /// + AllAttribBits = unchecked((int)0xFFFFFFFF) , + /// + /// Original was GL_CLIENT_ALL_ATTRIB_BITS = 0xFFFFFFFF + /// + ClientAllAttribBits = unchecked((int)0xFFFFFFFF) , + } + + /// + /// Not used directly. + /// + public enum Version12 : int + { + /// + /// Original was GL_SMOOTH_POINT_SIZE_RANGE = 0x0B12 + /// + SmoothPointSizeRange = ((int)0x0B12) , + /// + /// Original was GL_SMOOTH_POINT_SIZE_GRANULARITY = 0x0B13 + /// + SmoothPointSizeGranularity = ((int)0x0B13) , + /// + /// Original was GL_SMOOTH_LINE_WIDTH_RANGE = 0x0B22 + /// + SmoothLineWidthRange = ((int)0x0B22) , + /// + /// Original was GL_SMOOTH_LINE_WIDTH_GRANULARITY = 0x0B23 + /// + SmoothLineWidthGranularity = ((int)0x0B23) , + /// + /// Original was GL_CONSTANT_COLOR = 0x8001 + /// + ConstantColor = ((int)0x8001) , + /// + /// Original was GL_ONE_MINUS_CONSTANT_COLOR = 0x8002 + /// + OneMinusConstantColor = ((int)0x8002) , + /// + /// Original was GL_CONSTANT_ALPHA = 0x8003 + /// + ConstantAlpha = ((int)0x8003) , + /// + /// Original was GL_ONE_MINUS_CONSTANT_ALPHA = 0x8004 + /// + OneMinusConstantAlpha = ((int)0x8004) , + /// + /// Original was GL_BLEND_COLOR = 0x8005 + /// + BlendColor = ((int)0x8005) , + /// + /// Original was GL_CONVOLUTION_1D = 0x8010 + /// + Convolution1D = ((int)0x8010) , + /// + /// Original was GL_CONVOLUTION_2D = 0x8011 + /// + Convolution2D = ((int)0x8011) , + /// + /// Original was GL_SEPARABLE_2D = 0x8012 + /// + Separable2D = ((int)0x8012) , + /// + /// Original was GL_CONVOLUTION_BORDER_MODE = 0x8013 + /// + ConvolutionBorderMode = ((int)0x8013) , + /// + /// Original was GL_CONVOLUTION_FILTER_SCALE = 0x8014 + /// + ConvolutionFilterScale = ((int)0x8014) , + /// + /// Original was GL_CONVOLUTION_FILTER_BIAS = 0x8015 + /// + ConvolutionFilterBias = ((int)0x8015) , + /// + /// Original was GL_REDUCE = 0x8016 + /// + Reduce = ((int)0x8016) , + /// + /// Original was GL_CONVOLUTION_FORMAT = 0x8017 + /// + ConvolutionFormat = ((int)0x8017) , + /// + /// Original was GL_CONVOLUTION_WIDTH = 0x8018 + /// + ConvolutionWidth = ((int)0x8018) , + /// + /// Original was GL_CONVOLUTION_HEIGHT = 0x8019 + /// + ConvolutionHeight = ((int)0x8019) , + /// + /// Original was GL_MAX_CONVOLUTION_WIDTH = 0x801A + /// + MaxConvolutionWidth = ((int)0x801A) , + /// + /// Original was GL_MAX_CONVOLUTION_HEIGHT = 0x801B + /// + MaxConvolutionHeight = ((int)0x801B) , + /// + /// Original was GL_POST_CONVOLUTION_RED_SCALE = 0x801C + /// + PostConvolutionRedScale = ((int)0x801C) , + /// + /// Original was GL_POST_CONVOLUTION_GREEN_SCALE = 0x801D + /// + PostConvolutionGreenScale = ((int)0x801D) , + /// + /// Original was GL_POST_CONVOLUTION_BLUE_SCALE = 0x801E + /// + PostConvolutionBlueScale = ((int)0x801E) , + /// + /// Original was GL_POST_CONVOLUTION_ALPHA_SCALE = 0x801F + /// + PostConvolutionAlphaScale = ((int)0x801F) , + /// + /// Original was GL_POST_CONVOLUTION_RED_BIAS = 0x8020 + /// + PostConvolutionRedBias = ((int)0x8020) , + /// + /// Original was GL_POST_CONVOLUTION_GREEN_BIAS = 0x8021 + /// + PostConvolutionGreenBias = ((int)0x8021) , + /// + /// Original was GL_POST_CONVOLUTION_BLUE_BIAS = 0x8022 + /// + PostConvolutionBlueBias = ((int)0x8022) , + /// + /// Original was GL_POST_CONVOLUTION_ALPHA_BIAS = 0x8023 + /// + PostConvolutionAlphaBias = ((int)0x8023) , + /// + /// Original was GL_HISTOGRAM = 0x8024 + /// + Histogram = ((int)0x8024) , + /// + /// Original was GL_PROXY_HISTOGRAM = 0x8025 + /// + ProxyHistogram = ((int)0x8025) , + /// + /// Original was GL_HISTOGRAM_WIDTH = 0x8026 + /// + HistogramWidth = ((int)0x8026) , + /// + /// Original was GL_HISTOGRAM_FORMAT = 0x8027 + /// + HistogramFormat = ((int)0x8027) , + /// + /// Original was GL_HISTOGRAM_RED_SIZE = 0x8028 + /// + HistogramRedSize = ((int)0x8028) , + /// + /// Original was GL_HISTOGRAM_GREEN_SIZE = 0x8029 + /// + HistogramGreenSize = ((int)0x8029) , + /// + /// Original was GL_HISTOGRAM_BLUE_SIZE = 0x802A + /// + HistogramBlueSize = ((int)0x802A) , + /// + /// Original was GL_HISTOGRAM_ALPHA_SIZE = 0x802B + /// + HistogramAlphaSize = ((int)0x802B) , + /// + /// Original was GL_HISTOGRAM_SINK = 0x802D + /// + HistogramSink = ((int)0x802D) , + /// + /// Original was GL_MINMAX = 0x802E + /// + Minmax = ((int)0x802E) , + /// + /// Original was GL_MINMAX_FORMAT = 0x802F + /// + MinmaxFormat = ((int)0x802F) , + /// + /// Original was GL_MINMAX_SINK = 0x8030 + /// + MinmaxSink = ((int)0x8030) , + /// + /// Original was GL_TABLE_TOO_LARGE = 0x8031 + /// + TableTooLarge = ((int)0x8031) , + /// + /// Original was GL_UNSIGNED_BYTE_3_3_2 = 0x8032 + /// + UnsignedByte332 = ((int)0x8032) , + /// + /// Original was GL_UNSIGNED_SHORT_4_4_4_4 = 0x8033 + /// + UnsignedShort4444 = ((int)0x8033) , + /// + /// Original was GL_UNSIGNED_SHORT_5_5_5_1 = 0x8034 + /// + UnsignedShort5551 = ((int)0x8034) , + /// + /// Original was GL_UNSIGNED_INT_8_8_8_8 = 0x8035 + /// + UnsignedInt8888 = ((int)0x8035) , + /// + /// Original was GL_UNSIGNED_INT_10_10_10_2 = 0x8036 + /// + UnsignedInt1010102 = ((int)0x8036) , + /// + /// Original was GL_RESCALE_NORMAL = 0x803A + /// + RescaleNormal = ((int)0x803A) , + /// + /// Original was GL_TEXTURE_BINDING_3D = 0x806A + /// + TextureBinding3D = ((int)0x806A) , + /// + /// Original was GL_PACK_SKIP_IMAGES = 0x806B + /// + PackSkipImages = ((int)0x806B) , + /// + /// Original was GL_PACK_IMAGE_HEIGHT = 0x806C + /// + PackImageHeight = ((int)0x806C) , + /// + /// Original was GL_UNPACK_SKIP_IMAGES = 0x806D + /// + UnpackSkipImages = ((int)0x806D) , + /// + /// Original was GL_UNPACK_IMAGE_HEIGHT = 0x806E + /// + UnpackImageHeight = ((int)0x806E) , + /// + /// Original was GL_TEXTURE_3D = 0x806F + /// + Texture3D = ((int)0x806F) , + /// + /// Original was GL_PROXY_TEXTURE_3D = 0x8070 + /// + ProxyTexture3D = ((int)0x8070) , + /// + /// Original was GL_TEXTURE_DEPTH = 0x8071 + /// + TextureDepth = ((int)0x8071) , + /// + /// Original was GL_TEXTURE_WRAP_R = 0x8072 + /// + TextureWrapR = ((int)0x8072) , + /// + /// Original was GL_MAX_3D_TEXTURE_SIZE = 0x8073 + /// + Max3DTextureSize = ((int)0x8073) , + /// + /// Original was GL_COLOR_MATRIX = 0x80B1 + /// + ColorMatrix = ((int)0x80B1) , + /// + /// Original was GL_COLOR_MATRIX_STACK_DEPTH = 0x80B2 + /// + ColorMatrixStackDepth = ((int)0x80B2) , + /// + /// Original was GL_MAX_COLOR_MATRIX_STACK_DEPTH = 0x80B3 + /// + MaxColorMatrixStackDepth = ((int)0x80B3) , + /// + /// Original was GL_POST_COLOR_MATRIX_RED_SCALE = 0x80B4 + /// + PostColorMatrixRedScale = ((int)0x80B4) , + /// + /// Original was GL_POST_COLOR_MATRIX_GREEN_SCALE = 0x80B5 + /// + PostColorMatrixGreenScale = ((int)0x80B5) , + /// + /// Original was GL_POST_COLOR_MATRIX_BLUE_SCALE = 0x80B6 + /// + PostColorMatrixBlueScale = ((int)0x80B6) , + /// + /// Original was GL_POST_COLOR_MATRIX_ALPHA_SCALE = 0x80B7 + /// + PostColorMatrixAlphaScale = ((int)0x80B7) , + /// + /// Original was GL_POST_COLOR_MATRIX_RED_BIAS = 0x80B8 + /// + PostColorMatrixRedBias = ((int)0x80B8) , + /// + /// Original was GL_POST_COLOR_MATRIX_GREEN_BIAS = 0x80B9 + /// + PostColorMatrixGreenBias = ((int)0x80B9) , + /// + /// Original was GL_POST_COLOR_MATRIX_BLUE_BIAS = 0x80BA + /// + PostColorMatrixBlueBias = ((int)0x80BA) , + /// + /// Original was GL_POST_COLOR_MATRIX_ALPHA_BIAS = 0x80BB + /// + PostColorMatrixAlphaBias = ((int)0x80BB) , + /// + /// Original was GL_COLOR_TABLE = 0x80D0 + /// + ColorTable = ((int)0x80D0) , + /// + /// Original was GL_POST_CONVOLUTION_COLOR_TABLE = 0x80D1 + /// + PostConvolutionColorTable = ((int)0x80D1) , + /// + /// Original was GL_POST_COLOR_MATRIX_COLOR_TABLE = 0x80D2 + /// + PostColorMatrixColorTable = ((int)0x80D2) , + /// + /// Original was GL_PROXY_COLOR_TABLE = 0x80D3 + /// + ProxyColorTable = ((int)0x80D3) , + /// + /// Original was GL_PROXY_POST_CONVOLUTION_COLOR_TABLE = 0x80D4 + /// + ProxyPostConvolutionColorTable = ((int)0x80D4) , + /// + /// Original was GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE = 0x80D5 + /// + ProxyPostColorMatrixColorTable = ((int)0x80D5) , + /// + /// Original was GL_COLOR_TABLE_SCALE = 0x80D6 + /// + ColorTableScale = ((int)0x80D6) , + /// + /// Original was GL_COLOR_TABLE_BIAS = 0x80D7 + /// + ColorTableBias = ((int)0x80D7) , + /// + /// Original was GL_COLOR_TABLE_FORMAT = 0x80D8 + /// + ColorTableFormat = ((int)0x80D8) , + /// + /// Original was GL_COLOR_TABLE_WIDTH = 0x80D9 + /// + ColorTableWidth = ((int)0x80D9) , + /// + /// Original was GL_COLOR_TABLE_RED_SIZE = 0x80DA + /// + ColorTableRedSize = ((int)0x80DA) , + /// + /// Original was GL_COLOR_TABLE_GREEN_SIZE = 0x80DB + /// + ColorTableGreenSize = ((int)0x80DB) , + /// + /// Original was GL_COLOR_TABLE_BLUE_SIZE = 0x80DC + /// + ColorTableBlueSize = ((int)0x80DC) , + /// + /// Original was GL_COLOR_TABLE_ALPHA_SIZE = 0x80DD + /// + ColorTableAlphaSize = ((int)0x80DD) , + /// + /// Original was GL_COLOR_TABLE_LUMINANCE_SIZE = 0x80DE + /// + ColorTableLuminanceSize = ((int)0x80DE) , + /// + /// Original was GL_COLOR_TABLE_INTENSITY_SIZE = 0x80DF + /// + ColorTableIntensitySize = ((int)0x80DF) , + /// + /// Original was GL_BGR = 0x80E0 + /// + Bgr = ((int)0x80E0) , + /// + /// Original was GL_BGRA = 0x80E1 + /// + Bgra = ((int)0x80E1) , + /// + /// Original was GL_MAX_ELEMENTS_VERTICES = 0x80E8 + /// + MaxElementsVertices = ((int)0x80E8) , + /// + /// Original was GL_MAX_ELEMENTS_INDICES = 0x80E9 + /// + MaxElementsIndices = ((int)0x80E9) , + /// + /// Original was GL_CLAMP_TO_EDGE = 0x812F + /// + ClampToEdge = ((int)0x812F) , + /// + /// Original was GL_TEXTURE_MIN_LOD = 0x813A + /// + TextureMinLod = ((int)0x813A) , + /// + /// Original was GL_TEXTURE_MAX_LOD = 0x813B + /// + TextureMaxLod = ((int)0x813B) , + /// + /// Original was GL_TEXTURE_BASE_LEVEL = 0x813C + /// + TextureBaseLevel = ((int)0x813C) , + /// + /// Original was GL_TEXTURE_MAX_LEVEL = 0x813D + /// + TextureMaxLevel = ((int)0x813D) , + /// + /// Original was GL_CONSTANT_BORDER = 0x8151 + /// + ConstantBorder = ((int)0x8151) , + /// + /// Original was GL_REPLICATE_BORDER = 0x8153 + /// + ReplicateBorder = ((int)0x8153) , + /// + /// Original was GL_CONVOLUTION_BORDER_COLOR = 0x8154 + /// + ConvolutionBorderColor = ((int)0x8154) , + /// + /// Original was GL_LIGHT_MODEL_COLOR_CONTROL = 0x81F8 + /// + LightModelColorControl = ((int)0x81F8) , + /// + /// Original was GL_SINGLE_COLOR = 0x81F9 + /// + SingleColor = ((int)0x81F9) , + /// + /// Original was GL_SEPARATE_SPECULAR_COLOR = 0x81FA + /// + SeparateSpecularColor = ((int)0x81FA) , + /// + /// Original was GL_UNSIGNED_BYTE_2_3_3_REV = 0x8362 + /// + UnsignedByte233Rev = ((int)0x8362) , + /// + /// Original was GL_UNSIGNED_SHORT_5_6_5 = 0x8363 + /// + UnsignedShort565 = ((int)0x8363) , + /// + /// Original was GL_UNSIGNED_SHORT_5_6_5_REV = 0x8364 + /// + UnsignedShort565Rev = ((int)0x8364) , + /// + /// Original was GL_UNSIGNED_SHORT_4_4_4_4_REV = 0x8365 + /// + UnsignedShort4444Rev = ((int)0x8365) , + /// + /// Original was GL_UNSIGNED_SHORT_1_5_5_5_REV = 0x8366 + /// + UnsignedShort1555Rev = ((int)0x8366) , + /// + /// Original was GL_UNSIGNED_INT_8_8_8_8_REV = 0x8367 + /// + UnsignedInt8888Rev = ((int)0x8367) , + /// + /// Original was GL_UNSIGNED_INT_2_10_10_10_REV = 0x8368 + /// + UnsignedInt2101010Rev = ((int)0x8368) , + /// + /// Original was GL_ALIASED_POINT_SIZE_RANGE = 0x846D + /// + AliasedPointSizeRange = ((int)0x846D) , + /// + /// Original was GL_ALIASED_LINE_WIDTH_RANGE = 0x846E + /// + AliasedLineWidthRange = ((int)0x846E) , + } + + /// + /// Not used directly. + /// + public enum Version12Deprecated : int + { + /// + /// Original was GL_RESCALE_NORMAL = 0x803A + /// + RescaleNormal = ((int)0x803A) , + /// + /// Original was GL_LIGHT_MODEL_COLOR_CONTROL = 0x81F8 + /// + LightModelColorControl = ((int)0x81F8) , + /// + /// Original was GL_SINGLE_COLOR = 0x81F9 + /// + SingleColor = ((int)0x81F9) , + /// + /// Original was GL_SEPARATE_SPECULAR_COLOR = 0x81FA + /// + SeparateSpecularColor = ((int)0x81FA) , + /// + /// Original was GL_ALIASED_POINT_SIZE_RANGE = 0x846D + /// + AliasedPointSizeRange = ((int)0x846D) , + } + + /// + /// Not used directly. + /// + public enum Version13 : int + { + /// + /// Original was GL_MULTISAMPLE_BIT = 0x20000000 + /// + MultisampleBit = ((int)0x20000000) , + /// + /// Original was GL_MULTISAMPLE = 0x809D + /// + Multisample = ((int)0x809D) , + /// + /// Original was GL_SAMPLE_ALPHA_TO_COVERAGE = 0x809E + /// + SampleAlphaToCoverage = ((int)0x809E) , + /// + /// Original was GL_SAMPLE_ALPHA_TO_ONE = 0x809F + /// + SampleAlphaToOne = ((int)0x809F) , + /// + /// Original was GL_SAMPLE_COVERAGE = 0x80A0 + /// + SampleCoverage = ((int)0x80A0) , + /// + /// Original was GL_SAMPLE_BUFFERS = 0x80A8 + /// + SampleBuffers = ((int)0x80A8) , + /// + /// Original was GL_SAMPLES = 0x80A9 + /// + Samples = ((int)0x80A9) , + /// + /// Original was GL_SAMPLE_COVERAGE_VALUE = 0x80AA + /// + SampleCoverageValue = ((int)0x80AA) , + /// + /// Original was GL_SAMPLE_COVERAGE_INVERT = 0x80AB + /// + SampleCoverageInvert = ((int)0x80AB) , + /// + /// Original was GL_CLAMP_TO_BORDER = 0x812D + /// + ClampToBorder = ((int)0x812D) , + /// + /// Original was GL_TEXTURE0 = 0x84C0 + /// + Texture0 = ((int)0x84C0) , + /// + /// Original was GL_TEXTURE1 = 0x84C1 + /// + Texture1 = ((int)0x84C1) , + /// + /// Original was GL_TEXTURE2 = 0x84C2 + /// + Texture2 = ((int)0x84C2) , + /// + /// Original was GL_TEXTURE3 = 0x84C3 + /// + Texture3 = ((int)0x84C3) , + /// + /// Original was GL_TEXTURE4 = 0x84C4 + /// + Texture4 = ((int)0x84C4) , + /// + /// Original was GL_TEXTURE5 = 0x84C5 + /// + Texture5 = ((int)0x84C5) , + /// + /// Original was GL_TEXTURE6 = 0x84C6 + /// + Texture6 = ((int)0x84C6) , + /// + /// Original was GL_TEXTURE7 = 0x84C7 + /// + Texture7 = ((int)0x84C7) , + /// + /// Original was GL_TEXTURE8 = 0x84C8 + /// + Texture8 = ((int)0x84C8) , + /// + /// Original was GL_TEXTURE9 = 0x84C9 + /// + Texture9 = ((int)0x84C9) , + /// + /// Original was GL_TEXTURE10 = 0x84CA + /// + Texture10 = ((int)0x84CA) , + /// + /// Original was GL_TEXTURE11 = 0x84CB + /// + Texture11 = ((int)0x84CB) , + /// + /// Original was GL_TEXTURE12 = 0x84CC + /// + Texture12 = ((int)0x84CC) , + /// + /// Original was GL_TEXTURE13 = 0x84CD + /// + Texture13 = ((int)0x84CD) , + /// + /// Original was GL_TEXTURE14 = 0x84CE + /// + Texture14 = ((int)0x84CE) , + /// + /// Original was GL_TEXTURE15 = 0x84CF + /// + Texture15 = ((int)0x84CF) , + /// + /// Original was GL_TEXTURE16 = 0x84D0 + /// + Texture16 = ((int)0x84D0) , + /// + /// Original was GL_TEXTURE17 = 0x84D1 + /// + Texture17 = ((int)0x84D1) , + /// + /// Original was GL_TEXTURE18 = 0x84D2 + /// + Texture18 = ((int)0x84D2) , + /// + /// Original was GL_TEXTURE19 = 0x84D3 + /// + Texture19 = ((int)0x84D3) , + /// + /// Original was GL_TEXTURE20 = 0x84D4 + /// + Texture20 = ((int)0x84D4) , + /// + /// Original was GL_TEXTURE21 = 0x84D5 + /// + Texture21 = ((int)0x84D5) , + /// + /// Original was GL_TEXTURE22 = 0x84D6 + /// + Texture22 = ((int)0x84D6) , + /// + /// Original was GL_TEXTURE23 = 0x84D7 + /// + Texture23 = ((int)0x84D7) , + /// + /// Original was GL_TEXTURE24 = 0x84D8 + /// + Texture24 = ((int)0x84D8) , + /// + /// Original was GL_TEXTURE25 = 0x84D9 + /// + Texture25 = ((int)0x84D9) , + /// + /// Original was GL_TEXTURE26 = 0x84DA + /// + Texture26 = ((int)0x84DA) , + /// + /// Original was GL_TEXTURE27 = 0x84DB + /// + Texture27 = ((int)0x84DB) , + /// + /// Original was GL_TEXTURE28 = 0x84DC + /// + Texture28 = ((int)0x84DC) , + /// + /// Original was GL_TEXTURE29 = 0x84DD + /// + Texture29 = ((int)0x84DD) , + /// + /// Original was GL_TEXTURE30 = 0x84DE + /// + Texture30 = ((int)0x84DE) , + /// + /// Original was GL_TEXTURE31 = 0x84DF + /// + Texture31 = ((int)0x84DF) , + /// + /// Original was GL_ACTIVE_TEXTURE = 0x84E0 + /// + ActiveTexture = ((int)0x84E0) , + /// + /// Original was GL_CLIENT_ACTIVE_TEXTURE = 0x84E1 + /// + ClientActiveTexture = ((int)0x84E1) , + /// + /// Original was GL_MAX_TEXTURE_UNITS = 0x84E2 + /// + MaxTextureUnits = ((int)0x84E2) , + /// + /// Original was GL_TRANSPOSE_MODELVIEW_MATRIX = 0x84E3 + /// + TransposeModelviewMatrix = ((int)0x84E3) , + /// + /// Original was GL_TRANSPOSE_PROJECTION_MATRIX = 0x84E4 + /// + TransposeProjectionMatrix = ((int)0x84E4) , + /// + /// Original was GL_TRANSPOSE_TEXTURE_MATRIX = 0x84E5 + /// + TransposeTextureMatrix = ((int)0x84E5) , + /// + /// Original was GL_TRANSPOSE_COLOR_MATRIX = 0x84E6 + /// + TransposeColorMatrix = ((int)0x84E6) , + /// + /// Original was GL_SUBTRACT = 0x84E7 + /// + Subtract = ((int)0x84E7) , + /// + /// Original was GL_COMPRESSED_ALPHA = 0x84E9 + /// + CompressedAlpha = ((int)0x84E9) , + /// + /// Original was GL_COMPRESSED_LUMINANCE = 0x84EA + /// + CompressedLuminance = ((int)0x84EA) , + /// + /// Original was GL_COMPRESSED_LUMINANCE_ALPHA = 0x84EB + /// + CompressedLuminanceAlpha = ((int)0x84EB) , + /// + /// Original was GL_COMPRESSED_INTENSITY = 0x84EC + /// + CompressedIntensity = ((int)0x84EC) , + /// + /// Original was GL_COMPRESSED_RGB = 0x84ED + /// + CompressedRgb = ((int)0x84ED) , + /// + /// Original was GL_COMPRESSED_RGBA = 0x84EE + /// + CompressedRgba = ((int)0x84EE) , + /// + /// Original was GL_TEXTURE_COMPRESSION_HINT = 0x84EF + /// + TextureCompressionHint = ((int)0x84EF) , + /// + /// Original was GL_NORMAL_MAP = 0x8511 + /// + NormalMap = ((int)0x8511) , + /// + /// Original was GL_REFLECTION_MAP = 0x8512 + /// + ReflectionMap = ((int)0x8512) , + /// + /// Original was GL_TEXTURE_CUBE_MAP = 0x8513 + /// + TextureCubeMap = ((int)0x8513) , + /// + /// Original was GL_TEXTURE_BINDING_CUBE_MAP = 0x8514 + /// + TextureBindingCubeMap = ((int)0x8514) , + /// + /// Original was GL_TEXTURE_CUBE_MAP_POSITIVE_X = 0x8515 + /// + TextureCubeMapPositiveX = ((int)0x8515) , + /// + /// Original was GL_TEXTURE_CUBE_MAP_NEGATIVE_X = 0x8516 + /// + TextureCubeMapNegativeX = ((int)0x8516) , + /// + /// Original was GL_TEXTURE_CUBE_MAP_POSITIVE_Y = 0x8517 + /// + TextureCubeMapPositiveY = ((int)0x8517) , + /// + /// Original was GL_TEXTURE_CUBE_MAP_NEGATIVE_Y = 0x8518 + /// + TextureCubeMapNegativeY = ((int)0x8518) , + /// + /// Original was GL_TEXTURE_CUBE_MAP_POSITIVE_Z = 0x8519 + /// + TextureCubeMapPositiveZ = ((int)0x8519) , + /// + /// Original was GL_TEXTURE_CUBE_MAP_NEGATIVE_Z = 0x851A + /// + TextureCubeMapNegativeZ = ((int)0x851A) , + /// + /// Original was GL_PROXY_TEXTURE_CUBE_MAP = 0x851B + /// + ProxyTextureCubeMap = ((int)0x851B) , + /// + /// Original was GL_MAX_CUBE_MAP_TEXTURE_SIZE = 0x851C + /// + MaxCubeMapTextureSize = ((int)0x851C) , + /// + /// Original was GL_COMBINE = 0x8570 + /// + Combine = ((int)0x8570) , + /// + /// Original was GL_COMBINE_RGB = 0x8571 + /// + CombineRgb = ((int)0x8571) , + /// + /// Original was GL_COMBINE_ALPHA = 0x8572 + /// + CombineAlpha = ((int)0x8572) , + /// + /// Original was GL_RGB_SCALE = 0x8573 + /// + RgbScale = ((int)0x8573) , + /// + /// Original was GL_ADD_SIGNED = 0x8574 + /// + AddSigned = ((int)0x8574) , + /// + /// Original was GL_INTERPOLATE = 0x8575 + /// + Interpolate = ((int)0x8575) , + /// + /// Original was GL_CONSTANT = 0x8576 + /// + Constant = ((int)0x8576) , + /// + /// Original was GL_PRIMARY_COLOR = 0x8577 + /// + PrimaryColor = ((int)0x8577) , + /// + /// Original was GL_PREVIOUS = 0x8578 + /// + Previous = ((int)0x8578) , + /// + /// Original was GL_SOURCE0_RGB = 0x8580 + /// + Source0Rgb = ((int)0x8580) , + /// + /// Original was GL_SOURCE1_RGB = 0x8581 + /// + Source1Rgb = ((int)0x8581) , + /// + /// Original was GL_SOURCE2_RGB = 0x8582 + /// + Source2Rgb = ((int)0x8582) , + /// + /// Original was GL_SOURCE0_ALPHA = 0x8588 + /// + Source0Alpha = ((int)0x8588) , + /// + /// Original was GL_SOURCE1_ALPHA = 0x8589 + /// + Source1Alpha = ((int)0x8589) , + /// + /// Original was GL_SOURCE2_ALPHA = 0x858A + /// + Source2Alpha = ((int)0x858A) , + /// + /// Original was GL_OPERAND0_RGB = 0x8590 + /// + Operand0Rgb = ((int)0x8590) , + /// + /// Original was GL_OPERAND1_RGB = 0x8591 + /// + Operand1Rgb = ((int)0x8591) , + /// + /// Original was GL_OPERAND2_RGB = 0x8592 + /// + Operand2Rgb = ((int)0x8592) , + /// + /// Original was GL_OPERAND0_ALPHA = 0x8598 + /// + Operand0Alpha = ((int)0x8598) , + /// + /// Original was GL_OPERAND1_ALPHA = 0x8599 + /// + Operand1Alpha = ((int)0x8599) , + /// + /// Original was GL_OPERAND2_ALPHA = 0x859A + /// + Operand2Alpha = ((int)0x859A) , + /// + /// Original was GL_TEXTURE_COMPRESSED_IMAGE_SIZE = 0x86A0 + /// + TextureCompressedImageSize = ((int)0x86A0) , + /// + /// Original was GL_TEXTURE_COMPRESSED = 0x86A1 + /// + TextureCompressed = ((int)0x86A1) , + /// + /// Original was GL_NUM_COMPRESSED_TEXTURE_FORMATS = 0x86A2 + /// + NumCompressedTextureFormats = ((int)0x86A2) , + /// + /// Original was GL_COMPRESSED_TEXTURE_FORMATS = 0x86A3 + /// + CompressedTextureFormats = ((int)0x86A3) , + /// + /// Original was GL_DOT3_RGB = 0x86AE + /// + Dot3Rgb = ((int)0x86AE) , + /// + /// Original was GL_DOT3_RGBA = 0x86AF + /// + Dot3Rgba = ((int)0x86AF) , + } + + /// + /// Not used directly. + /// + public enum Version13Deprecated : int + { + /// + /// Original was GL_MULTISAMPLE_BIT = 0x20000000 + /// + MultisampleBit = ((int)0x20000000) , + /// + /// Original was GL_CLIENT_ACTIVE_TEXTURE = 0x84E1 + /// + ClientActiveTexture = ((int)0x84E1) , + /// + /// Original was GL_MAX_TEXTURE_UNITS = 0x84E2 + /// + MaxTextureUnits = ((int)0x84E2) , + /// + /// Original was GL_TRANSPOSE_MODELVIEW_MATRIX = 0x84E3 + /// + TransposeModelviewMatrix = ((int)0x84E3) , + /// + /// Original was GL_TRANSPOSE_PROJECTION_MATRIX = 0x84E4 + /// + TransposeProjectionMatrix = ((int)0x84E4) , + /// + /// Original was GL_TRANSPOSE_TEXTURE_MATRIX = 0x84E5 + /// + TransposeTextureMatrix = ((int)0x84E5) , + /// + /// Original was GL_TRANSPOSE_COLOR_MATRIX = 0x84E6 + /// + TransposeColorMatrix = ((int)0x84E6) , + /// + /// Original was GL_SUBTRACT = 0x84E7 + /// + Subtract = ((int)0x84E7) , + /// + /// Original was GL_COMPRESSED_ALPHA = 0x84E9 + /// + CompressedAlpha = ((int)0x84E9) , + /// + /// Original was GL_COMPRESSED_LUMINANCE = 0x84EA + /// + CompressedLuminance = ((int)0x84EA) , + /// + /// Original was GL_COMPRESSED_LUMINANCE_ALPHA = 0x84EB + /// + CompressedLuminanceAlpha = ((int)0x84EB) , + /// + /// Original was GL_COMPRESSED_INTENSITY = 0x84EC + /// + CompressedIntensity = ((int)0x84EC) , + /// + /// Original was GL_NORMAL_MAP = 0x8511 + /// + NormalMap = ((int)0x8511) , + /// + /// Original was GL_REFLECTION_MAP = 0x8512 + /// + ReflectionMap = ((int)0x8512) , + /// + /// Original was GL_COMBINE = 0x8570 + /// + Combine = ((int)0x8570) , + /// + /// Original was GL_COMBINE_RGB = 0x8571 + /// + CombineRgb = ((int)0x8571) , + /// + /// Original was GL_COMBINE_ALPHA = 0x8572 + /// + CombineAlpha = ((int)0x8572) , + /// + /// Original was GL_RGB_SCALE = 0x8573 + /// + RgbScale = ((int)0x8573) , + /// + /// Original was GL_ADD_SIGNED = 0x8574 + /// + AddSigned = ((int)0x8574) , + /// + /// Original was GL_INTERPOLATE = 0x8575 + /// + Interpolate = ((int)0x8575) , + /// + /// Original was GL_CONSTANT = 0x8576 + /// + Constant = ((int)0x8576) , + /// + /// Original was GL_PRIMARY_COLOR = 0x8577 + /// + PrimaryColor = ((int)0x8577) , + /// + /// Original was GL_PREVIOUS = 0x8578 + /// + Previous = ((int)0x8578) , + /// + /// Original was GL_SOURCE0_RGB = 0x8580 + /// + Source0Rgb = ((int)0x8580) , + /// + /// Original was GL_SOURCE1_RGB = 0x8581 + /// + Source1Rgb = ((int)0x8581) , + /// + /// Original was GL_SOURCE2_RGB = 0x8582 + /// + Source2Rgb = ((int)0x8582) , + /// + /// Original was GL_SOURCE0_ALPHA = 0x8588 + /// + Source0Alpha = ((int)0x8588) , + /// + /// Original was GL_SOURCE1_ALPHA = 0x8589 + /// + Source1Alpha = ((int)0x8589) , + /// + /// Original was GL_SOURCE2_ALPHA = 0x858A + /// + Source2Alpha = ((int)0x858A) , + /// + /// Original was GL_OPERAND0_RGB = 0x8590 + /// + Operand0Rgb = ((int)0x8590) , + /// + /// Original was GL_OPERAND1_RGB = 0x8591 + /// + Operand1Rgb = ((int)0x8591) , + /// + /// Original was GL_OPERAND2_RGB = 0x8592 + /// + Operand2Rgb = ((int)0x8592) , + /// + /// Original was GL_OPERAND0_ALPHA = 0x8598 + /// + Operand0Alpha = ((int)0x8598) , + /// + /// Original was GL_OPERAND1_ALPHA = 0x8599 + /// + Operand1Alpha = ((int)0x8599) , + /// + /// Original was GL_OPERAND2_ALPHA = 0x859A + /// + Operand2Alpha = ((int)0x859A) , + /// + /// Original was GL_DOT3_RGB = 0x86AE + /// + Dot3Rgb = ((int)0x86AE) , + /// + /// Original was GL_DOT3_RGBA = 0x86AF + /// + Dot3Rgba = ((int)0x86AF) , + } + + /// + /// Not used directly. + /// + public enum Version14 : int + { + /// + /// Original was GL_BLEND_DST_RGB = 0x80C8 + /// + BlendDstRgb = ((int)0x80C8) , + /// + /// Original was GL_BLEND_SRC_RGB = 0x80C9 + /// + BlendSrcRgb = ((int)0x80C9) , + /// + /// Original was GL_BLEND_DST_ALPHA = 0x80CA + /// + BlendDstAlpha = ((int)0x80CA) , + /// + /// Original was GL_BLEND_SRC_ALPHA = 0x80CB + /// + BlendSrcAlpha = ((int)0x80CB) , + /// + /// Original was GL_POINT_SIZE_MIN = 0x8126 + /// + PointSizeMin = ((int)0x8126) , + /// + /// Original was GL_POINT_SIZE_MAX = 0x8127 + /// + PointSizeMax = ((int)0x8127) , + /// + /// Original was GL_POINT_FADE_THRESHOLD_SIZE = 0x8128 + /// + PointFadeThresholdSize = ((int)0x8128) , + /// + /// Original was GL_POINT_DISTANCE_ATTENUATION = 0x8129 + /// + PointDistanceAttenuation = ((int)0x8129) , + /// + /// Original was GL_GENERATE_MIPMAP = 0x8191 + /// + GenerateMipmap = ((int)0x8191) , + /// + /// Original was GL_GENERATE_MIPMAP_HINT = 0x8192 + /// + GenerateMipmapHint = ((int)0x8192) , + /// + /// Original was GL_DEPTH_COMPONENT16 = 0x81A5 + /// + DepthComponent16 = ((int)0x81A5) , + /// + /// Original was GL_DEPTH_COMPONENT24 = 0x81A6 + /// + DepthComponent24 = ((int)0x81A6) , + /// + /// Original was GL_DEPTH_COMPONENT32 = 0x81A7 + /// + DepthComponent32 = ((int)0x81A7) , + /// + /// Original was GL_MIRRORED_REPEAT = 0x8370 + /// + MirroredRepeat = ((int)0x8370) , + /// + /// Original was GL_FOG_COORDINATE_SOURCE = 0x8450 + /// + FogCoordinateSource = ((int)0x8450) , + /// + /// Original was GL_FOG_COORDINATE = 0x8451 + /// + FogCoordinate = ((int)0x8451) , + /// + /// Original was GL_FRAGMENT_DEPTH = 0x8452 + /// + FragmentDepth = ((int)0x8452) , + /// + /// Original was GL_CURRENT_FOG_COORDINATE = 0x8453 + /// + CurrentFogCoordinate = ((int)0x8453) , + /// + /// Original was GL_FOG_COORDINATE_ARRAY_TYPE = 0x8454 + /// + FogCoordinateArrayType = ((int)0x8454) , + /// + /// Original was GL_FOG_COORDINATE_ARRAY_STRIDE = 0x8455 + /// + FogCoordinateArrayStride = ((int)0x8455) , + /// + /// Original was GL_FOG_COORDINATE_ARRAY_POINTER = 0x8456 + /// + FogCoordinateArrayPointer = ((int)0x8456) , + /// + /// Original was GL_FOG_COORDINATE_ARRAY = 0x8457 + /// + FogCoordinateArray = ((int)0x8457) , + /// + /// Original was GL_COLOR_SUM = 0x8458 + /// + ColorSum = ((int)0x8458) , + /// + /// Original was GL_CURRENT_SECONDARY_COLOR = 0x8459 + /// + CurrentSecondaryColor = ((int)0x8459) , + /// + /// Original was GL_SECONDARY_COLOR_ARRAY_SIZE = 0x845A + /// + SecondaryColorArraySize = ((int)0x845A) , + /// + /// Original was GL_SECONDARY_COLOR_ARRAY_TYPE = 0x845B + /// + SecondaryColorArrayType = ((int)0x845B) , + /// + /// Original was GL_SECONDARY_COLOR_ARRAY_STRIDE = 0x845C + /// + SecondaryColorArrayStride = ((int)0x845C) , + /// + /// Original was GL_SECONDARY_COLOR_ARRAY_POINTER = 0x845D + /// + SecondaryColorArrayPointer = ((int)0x845D) , + /// + /// Original was GL_SECONDARY_COLOR_ARRAY = 0x845E + /// + SecondaryColorArray = ((int)0x845E) , + /// + /// Original was GL_MAX_TEXTURE_LOD_BIAS = 0x84FD + /// + MaxTextureLodBias = ((int)0x84FD) , + /// + /// Original was GL_TEXTURE_FILTER_CONTROL = 0x8500 + /// + TextureFilterControl = ((int)0x8500) , + /// + /// Original was GL_TEXTURE_LOD_BIAS = 0x8501 + /// + TextureLodBias = ((int)0x8501) , + /// + /// Original was GL_INCR_WRAP = 0x8507 + /// + IncrWrap = ((int)0x8507) , + /// + /// Original was GL_DECR_WRAP = 0x8508 + /// + DecrWrap = ((int)0x8508) , + /// + /// Original was GL_TEXTURE_DEPTH_SIZE = 0x884A + /// + TextureDepthSize = ((int)0x884A) , + /// + /// Original was GL_DEPTH_TEXTURE_MODE = 0x884B + /// + DepthTextureMode = ((int)0x884B) , + /// + /// Original was GL_TEXTURE_COMPARE_MODE = 0x884C + /// + TextureCompareMode = ((int)0x884C) , + /// + /// Original was GL_TEXTURE_COMPARE_FUNC = 0x884D + /// + TextureCompareFunc = ((int)0x884D) , + /// + /// Original was GL_COMPARE_R_TO_TEXTURE = 0x884E + /// + CompareRToTexture = ((int)0x884E) , + } + + /// + /// Not used directly. + /// + public enum Version14Deprecated : int + { + /// + /// Original was GL_POINT_SIZE_MIN = 0x8126 + /// + PointSizeMin = ((int)0x8126) , + /// + /// Original was GL_POINT_SIZE_MAX = 0x8127 + /// + PointSizeMax = ((int)0x8127) , + /// + /// Original was GL_POINT_DISTANCE_ATTENUATION = 0x8129 + /// + PointDistanceAttenuation = ((int)0x8129) , + /// + /// Original was GL_GENERATE_MIPMAP = 0x8191 + /// + GenerateMipmap = ((int)0x8191) , + /// + /// Original was GL_GENERATE_MIPMAP_HINT = 0x8192 + /// + GenerateMipmapHint = ((int)0x8192) , + /// + /// Original was GL_FOG_COORDINATE_SOURCE = 0x8450 + /// + FogCoordinateSource = ((int)0x8450) , + /// + /// Original was GL_FOG_COORDINATE = 0x8451 + /// + FogCoordinate = ((int)0x8451) , + /// + /// Original was GL_FRAGMENT_DEPTH = 0x8452 + /// + FragmentDepth = ((int)0x8452) , + /// + /// Original was GL_CURRENT_FOG_COORDINATE = 0x8453 + /// + CurrentFogCoordinate = ((int)0x8453) , + /// + /// Original was GL_FOG_COORDINATE_ARRAY_TYPE = 0x8454 + /// + FogCoordinateArrayType = ((int)0x8454) , + /// + /// Original was GL_FOG_COORDINATE_ARRAY_STRIDE = 0x8455 + /// + FogCoordinateArrayStride = ((int)0x8455) , + /// + /// Original was GL_FOG_COORDINATE_ARRAY_POINTER = 0x8456 + /// + FogCoordinateArrayPointer = ((int)0x8456) , + /// + /// Original was GL_FOG_COORDINATE_ARRAY = 0x8457 + /// + FogCoordinateArray = ((int)0x8457) , + /// + /// Original was GL_COLOR_SUM = 0x8458 + /// + ColorSum = ((int)0x8458) , + /// + /// Original was GL_CURRENT_SECONDARY_COLOR = 0x8459 + /// + CurrentSecondaryColor = ((int)0x8459) , + /// + /// Original was GL_SECONDARY_COLOR_ARRAY_SIZE = 0x845A + /// + SecondaryColorArraySize = ((int)0x845A) , + /// + /// Original was GL_SECONDARY_COLOR_ARRAY_TYPE = 0x845B + /// + SecondaryColorArrayType = ((int)0x845B) , + /// + /// Original was GL_SECONDARY_COLOR_ARRAY_STRIDE = 0x845C + /// + SecondaryColorArrayStride = ((int)0x845C) , + /// + /// Original was GL_SECONDARY_COLOR_ARRAY_POINTER = 0x845D + /// + SecondaryColorArrayPointer = ((int)0x845D) , + /// + /// Original was GL_SECONDARY_COLOR_ARRAY = 0x845E + /// + SecondaryColorArray = ((int)0x845E) , + /// + /// Original was GL_TEXTURE_FILTER_CONTROL = 0x8500 + /// + TextureFilterControl = ((int)0x8500) , + /// + /// Original was GL_DEPTH_TEXTURE_MODE = 0x884B + /// + DepthTextureMode = ((int)0x884B) , + /// + /// Original was GL_COMPARE_R_TO_TEXTURE = 0x884E + /// + CompareRToTexture = ((int)0x884E) , + } + + /// + /// Not used directly. + /// + public enum Version15 : int + { + /// + /// Original was GL_FOG_COORD_SRC = 0x8450 + /// + FogCoordSrc = ((int)0x8450) , + /// + /// Original was GL_FOG_COORD = 0x8451 + /// + FogCoord = ((int)0x8451) , + /// + /// Original was GL_CURRENT_FOG_COORD = 0x8453 + /// + CurrentFogCoord = ((int)0x8453) , + /// + /// Original was GL_FOG_COORD_ARRAY_TYPE = 0x8454 + /// + FogCoordArrayType = ((int)0x8454) , + /// + /// Original was GL_FOG_COORD_ARRAY_STRIDE = 0x8455 + /// + FogCoordArrayStride = ((int)0x8455) , + /// + /// Original was GL_FOG_COORD_ARRAY_POINTER = 0x8456 + /// + FogCoordArrayPointer = ((int)0x8456) , + /// + /// Original was GL_FOG_COORD_ARRAY = 0x8457 + /// + FogCoordArray = ((int)0x8457) , + /// + /// Original was GL_SRC0_RGB = 0x8580 + /// + Src0Rgb = ((int)0x8580) , + /// + /// Original was GL_SRC1_RGB = 0x8581 + /// + Src1Rgb = ((int)0x8581) , + /// + /// Original was GL_SRC2_RGB = 0x8582 + /// + Src2Rgb = ((int)0x8582) , + /// + /// Original was GL_SRC0_ALPHA = 0x8588 + /// + Src0Alpha = ((int)0x8588) , + /// + /// Original was GL_SRC1_ALPHA = 0x8589 + /// + Src1Alpha = ((int)0x8589) , + /// + /// Original was GL_SRC2_ALPHA = 0x858A + /// + Src2Alpha = ((int)0x858A) , + /// + /// Original was GL_BUFFER_SIZE = 0x8764 + /// + BufferSize = ((int)0x8764) , + /// + /// Original was GL_BUFFER_USAGE = 0x8765 + /// + BufferUsage = ((int)0x8765) , + /// + /// Original was GL_QUERY_COUNTER_BITS = 0x8864 + /// + QueryCounterBits = ((int)0x8864) , + /// + /// Original was GL_CURRENT_QUERY = 0x8865 + /// + CurrentQuery = ((int)0x8865) , + /// + /// Original was GL_QUERY_RESULT = 0x8866 + /// + QueryResult = ((int)0x8866) , + /// + /// Original was GL_QUERY_RESULT_AVAILABLE = 0x8867 + /// + QueryResultAvailable = ((int)0x8867) , + /// + /// Original was GL_ARRAY_BUFFER = 0x8892 + /// + ArrayBuffer = ((int)0x8892) , + /// + /// Original was GL_ELEMENT_ARRAY_BUFFER = 0x8893 + /// + ElementArrayBuffer = ((int)0x8893) , + /// + /// Original was GL_ARRAY_BUFFER_BINDING = 0x8894 + /// + ArrayBufferBinding = ((int)0x8894) , + /// + /// Original was GL_ELEMENT_ARRAY_BUFFER_BINDING = 0x8895 + /// + ElementArrayBufferBinding = ((int)0x8895) , + /// + /// Original was GL_VERTEX_ARRAY_BUFFER_BINDING = 0x8896 + /// + VertexArrayBufferBinding = ((int)0x8896) , + /// + /// Original was GL_NORMAL_ARRAY_BUFFER_BINDING = 0x8897 + /// + NormalArrayBufferBinding = ((int)0x8897) , + /// + /// Original was GL_COLOR_ARRAY_BUFFER_BINDING = 0x8898 + /// + ColorArrayBufferBinding = ((int)0x8898) , + /// + /// Original was GL_INDEX_ARRAY_BUFFER_BINDING = 0x8899 + /// + IndexArrayBufferBinding = ((int)0x8899) , + /// + /// Original was GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING = 0x889A + /// + TextureCoordArrayBufferBinding = ((int)0x889A) , + /// + /// Original was GL_EDGE_FLAG_ARRAY_BUFFER_BINDING = 0x889B + /// + EdgeFlagArrayBufferBinding = ((int)0x889B) , + /// + /// Original was GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING = 0x889C + /// + SecondaryColorArrayBufferBinding = ((int)0x889C) , + /// + /// Original was GL_FOG_COORD_ARRAY_BUFFER_BINDING = 0x889D + /// + FogCoordArrayBufferBinding = ((int)0x889D) , + /// + /// Original was GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING = 0x889D + /// + FogCoordinateArrayBufferBinding = ((int)0x889D) , + /// + /// Original was GL_WEIGHT_ARRAY_BUFFER_BINDING = 0x889E + /// + WeightArrayBufferBinding = ((int)0x889E) , + /// + /// Original was GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING = 0x889F + /// + VertexAttribArrayBufferBinding = ((int)0x889F) , + /// + /// Original was GL_READ_ONLY = 0x88B8 + /// + ReadOnly = ((int)0x88B8) , + /// + /// Original was GL_WRITE_ONLY = 0x88B9 + /// + WriteOnly = ((int)0x88B9) , + /// + /// Original was GL_READ_WRITE = 0x88BA + /// + ReadWrite = ((int)0x88BA) , + /// + /// Original was GL_BUFFER_ACCESS = 0x88BB + /// + BufferAccess = ((int)0x88BB) , + /// + /// Original was GL_BUFFER_MAPPED = 0x88BC + /// + BufferMapped = ((int)0x88BC) , + /// + /// Original was GL_BUFFER_MAP_POINTER = 0x88BD + /// + BufferMapPointer = ((int)0x88BD) , + /// + /// Original was GL_STREAM_DRAW = 0x88E0 + /// + StreamDraw = ((int)0x88E0) , + /// + /// Original was GL_STREAM_READ = 0x88E1 + /// + StreamRead = ((int)0x88E1) , + /// + /// Original was GL_STREAM_COPY = 0x88E2 + /// + StreamCopy = ((int)0x88E2) , + /// + /// Original was GL_STATIC_DRAW = 0x88E4 + /// + StaticDraw = ((int)0x88E4) , + /// + /// Original was GL_STATIC_READ = 0x88E5 + /// + StaticRead = ((int)0x88E5) , + /// + /// Original was GL_STATIC_COPY = 0x88E6 + /// + StaticCopy = ((int)0x88E6) , + /// + /// Original was GL_DYNAMIC_DRAW = 0x88E8 + /// + DynamicDraw = ((int)0x88E8) , + /// + /// Original was GL_DYNAMIC_READ = 0x88E9 + /// + DynamicRead = ((int)0x88E9) , + /// + /// Original was GL_DYNAMIC_COPY = 0x88EA + /// + DynamicCopy = ((int)0x88EA) , + /// + /// Original was GL_SAMPLES_PASSED = 0x8914 + /// + SamplesPassed = ((int)0x8914) , + } + + /// + /// Not used directly. + /// + public enum Version15Deprecated : int + { + /// + /// Original was GL_FOG_COORD_SRC = 0x8450 + /// + FogCoordSrc = ((int)0x8450) , + /// + /// Original was GL_FOG_COORD = 0x8451 + /// + FogCoord = ((int)0x8451) , + /// + /// Original was GL_CURRENT_FOG_COORD = 0x8453 + /// + CurrentFogCoord = ((int)0x8453) , + /// + /// Original was GL_FOG_COORD_ARRAY_TYPE = 0x8454 + /// + FogCoordArrayType = ((int)0x8454) , + /// + /// Original was GL_FOG_COORD_ARRAY_STRIDE = 0x8455 + /// + FogCoordArrayStride = ((int)0x8455) , + /// + /// Original was GL_FOG_COORD_ARRAY_POINTER = 0x8456 + /// + FogCoordArrayPointer = ((int)0x8456) , + /// + /// Original was GL_FOG_COORD_ARRAY = 0x8457 + /// + FogCoordArray = ((int)0x8457) , + /// + /// Original was GL_SRC0_RGB = 0x8580 + /// + Src0Rgb = ((int)0x8580) , + /// + /// Original was GL_SRC1_RGB = 0x8581 + /// + Src1Rgb = ((int)0x8581) , + /// + /// Original was GL_SRC2_RGB = 0x8582 + /// + Src2Rgb = ((int)0x8582) , + /// + /// Original was GL_SRC0_ALPHA = 0x8588 + /// + Src0Alpha = ((int)0x8588) , + /// + /// Original was GL_SRC1_ALPHA = 0x8589 + /// + Src1Alpha = ((int)0x8589) , + /// + /// Original was GL_SRC2_ALPHA = 0x858A + /// + Src2Alpha = ((int)0x858A) , + /// + /// Original was GL_VERTEX_ARRAY_BUFFER_BINDING = 0x8896 + /// + VertexArrayBufferBinding = ((int)0x8896) , + /// + /// Original was GL_NORMAL_ARRAY_BUFFER_BINDING = 0x8897 + /// + NormalArrayBufferBinding = ((int)0x8897) , + /// + /// Original was GL_COLOR_ARRAY_BUFFER_BINDING = 0x8898 + /// + ColorArrayBufferBinding = ((int)0x8898) , + /// + /// Original was GL_INDEX_ARRAY_BUFFER_BINDING = 0x8899 + /// + IndexArrayBufferBinding = ((int)0x8899) , + /// + /// Original was GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING = 0x889A + /// + TextureCoordArrayBufferBinding = ((int)0x889A) , + /// + /// Original was GL_EDGE_FLAG_ARRAY_BUFFER_BINDING = 0x889B + /// + EdgeFlagArrayBufferBinding = ((int)0x889B) , + /// + /// Original was GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING = 0x889C + /// + SecondaryColorArrayBufferBinding = ((int)0x889C) , + /// + /// Original was GL_FOG_COORD_ARRAY_BUFFER_BINDING = 0x889D + /// + FogCoordArrayBufferBinding = ((int)0x889D) , + /// + /// Original was GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING = 0x889D + /// + FogCoordinateArrayBufferBinding = ((int)0x889D) , + /// + /// Original was GL_WEIGHT_ARRAY_BUFFER_BINDING = 0x889E + /// + WeightArrayBufferBinding = ((int)0x889E) , + } + + /// + /// Used in GL.StencilFuncSeparate + /// + public enum Version20 : int + { + /// + /// Original was GL_BLEND_EQUATION_RGB = 0x8009 + /// + BlendEquationRgb = ((int)0x8009) , + /// + /// Original was GL_VERTEX_ATTRIB_ARRAY_ENABLED = 0x8622 + /// + VertexAttribArrayEnabled = ((int)0x8622) , + /// + /// Original was GL_VERTEX_ATTRIB_ARRAY_SIZE = 0x8623 + /// + VertexAttribArraySize = ((int)0x8623) , + /// + /// Original was GL_VERTEX_ATTRIB_ARRAY_STRIDE = 0x8624 + /// + VertexAttribArrayStride = ((int)0x8624) , + /// + /// Original was GL_VERTEX_ATTRIB_ARRAY_TYPE = 0x8625 + /// + VertexAttribArrayType = ((int)0x8625) , + /// + /// Original was GL_CURRENT_VERTEX_ATTRIB = 0x8626 + /// + CurrentVertexAttrib = ((int)0x8626) , + /// + /// Original was GL_VERTEX_PROGRAM_POINT_SIZE = 0x8642 + /// + VertexProgramPointSize = ((int)0x8642) , + /// + /// Original was GL_VERTEX_PROGRAM_TWO_SIDE = 0x8643 + /// + VertexProgramTwoSide = ((int)0x8643) , + /// + /// Original was GL_VERTEX_ATTRIB_ARRAY_POINTER = 0x8645 + /// + VertexAttribArrayPointer = ((int)0x8645) , + /// + /// Original was GL_STENCIL_BACK_FUNC = 0x8800 + /// + StencilBackFunc = ((int)0x8800) , + /// + /// Original was GL_STENCIL_BACK_FAIL = 0x8801 + /// + StencilBackFail = ((int)0x8801) , + /// + /// Original was GL_STENCIL_BACK_FAIL_ATI = 0x8801 + /// + StencilBackFailAti = ((int)0x8801) , + /// + /// Original was GL_STENCIL_BACK_PASS_DEPTH_FAIL = 0x8802 + /// + StencilBackPassDepthFail = ((int)0x8802) , + /// + /// Original was GL_STENCIL_BACK_PASS_DEPTH_PASS = 0x8803 + /// + StencilBackPassDepthPass = ((int)0x8803) , + /// + /// Original was GL_MAX_DRAW_BUFFERS = 0x8824 + /// + MaxDrawBuffers = ((int)0x8824) , + /// + /// Original was GL_DRAW_BUFFER0 = 0x8825 + /// + DrawBuffer0 = ((int)0x8825) , + /// + /// Original was GL_DRAW_BUFFER1 = 0x8826 + /// + DrawBuffer1 = ((int)0x8826) , + /// + /// Original was GL_DRAW_BUFFER2 = 0x8827 + /// + DrawBuffer2 = ((int)0x8827) , + /// + /// Original was GL_DRAW_BUFFER3 = 0x8828 + /// + DrawBuffer3 = ((int)0x8828) , + /// + /// Original was GL_DRAW_BUFFER4 = 0x8829 + /// + DrawBuffer4 = ((int)0x8829) , + /// + /// Original was GL_DRAW_BUFFER5 = 0x882A + /// + DrawBuffer5 = ((int)0x882A) , + /// + /// Original was GL_DRAW_BUFFER6 = 0x882B + /// + DrawBuffer6 = ((int)0x882B) , + /// + /// Original was GL_DRAW_BUFFER7 = 0x882C + /// + DrawBuffer7 = ((int)0x882C) , + /// + /// Original was GL_DRAW_BUFFER8 = 0x882D + /// + DrawBuffer8 = ((int)0x882D) , + /// + /// Original was GL_DRAW_BUFFER9 = 0x882E + /// + DrawBuffer9 = ((int)0x882E) , + /// + /// Original was GL_DRAW_BUFFER10 = 0x882F + /// + DrawBuffer10 = ((int)0x882F) , + /// + /// Original was GL_DRAW_BUFFER11 = 0x8830 + /// + DrawBuffer11 = ((int)0x8830) , + /// + /// Original was GL_DRAW_BUFFER12 = 0x8831 + /// + DrawBuffer12 = ((int)0x8831) , + /// + /// Original was GL_DRAW_BUFFER13 = 0x8832 + /// + DrawBuffer13 = ((int)0x8832) , + /// + /// Original was GL_DRAW_BUFFER14 = 0x8833 + /// + DrawBuffer14 = ((int)0x8833) , + /// + /// Original was GL_DRAW_BUFFER15 = 0x8834 + /// + DrawBuffer15 = ((int)0x8834) , + /// + /// Original was GL_BLEND_EQUATION_ALPHA = 0x883D + /// + BlendEquationAlpha = ((int)0x883D) , + /// + /// Original was GL_POINT_SPRITE = 0x8861 + /// + PointSprite = ((int)0x8861) , + /// + /// Original was GL_COORD_REPLACE = 0x8862 + /// + CoordReplace = ((int)0x8862) , + /// + /// Original was GL_MAX_VERTEX_ATTRIBS = 0x8869 + /// + MaxVertexAttribs = ((int)0x8869) , + /// + /// Original was GL_VERTEX_ATTRIB_ARRAY_NORMALIZED = 0x886A + /// + VertexAttribArrayNormalized = ((int)0x886A) , + /// + /// Original was GL_MAX_TEXTURE_COORDS = 0x8871 + /// + MaxTextureCoords = ((int)0x8871) , + /// + /// Original was GL_MAX_TEXTURE_IMAGE_UNITS = 0x8872 + /// + MaxTextureImageUnits = ((int)0x8872) , + /// + /// Original was GL_FRAGMENT_SHADER = 0x8B30 + /// + FragmentShader = ((int)0x8B30) , + /// + /// Original was GL_VERTEX_SHADER = 0x8B31 + /// + VertexShader = ((int)0x8B31) , + /// + /// Original was GL_MAX_FRAGMENT_UNIFORM_COMPONENTS = 0x8B49 + /// + MaxFragmentUniformComponents = ((int)0x8B49) , + /// + /// Original was GL_MAX_VERTEX_UNIFORM_COMPONENTS = 0x8B4A + /// + MaxVertexUniformComponents = ((int)0x8B4A) , + /// + /// Original was GL_MAX_VARYING_FLOATS = 0x8B4B + /// + MaxVaryingFloats = ((int)0x8B4B) , + /// + /// Original was GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS = 0x8B4C + /// + MaxVertexTextureImageUnits = ((int)0x8B4C) , + /// + /// Original was GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS = 0x8B4D + /// + MaxCombinedTextureImageUnits = ((int)0x8B4D) , + /// + /// Original was GL_SHADER_TYPE = 0x8B4F + /// + ShaderType = ((int)0x8B4F) , + /// + /// Original was GL_FLOAT_VEC2 = 0x8B50 + /// + FloatVec2 = ((int)0x8B50) , + /// + /// Original was GL_FLOAT_VEC3 = 0x8B51 + /// + FloatVec3 = ((int)0x8B51) , + /// + /// Original was GL_FLOAT_VEC4 = 0x8B52 + /// + FloatVec4 = ((int)0x8B52) , + /// + /// Original was GL_INT_VEC2 = 0x8B53 + /// + IntVec2 = ((int)0x8B53) , + /// + /// Original was GL_INT_VEC3 = 0x8B54 + /// + IntVec3 = ((int)0x8B54) , + /// + /// Original was GL_INT_VEC4 = 0x8B55 + /// + IntVec4 = ((int)0x8B55) , + /// + /// Original was GL_BOOL = 0x8B56 + /// + Bool = ((int)0x8B56) , + /// + /// Original was GL_BOOL_VEC2 = 0x8B57 + /// + BoolVec2 = ((int)0x8B57) , + /// + /// Original was GL_BOOL_VEC3 = 0x8B58 + /// + BoolVec3 = ((int)0x8B58) , + /// + /// Original was GL_BOOL_VEC4 = 0x8B59 + /// + BoolVec4 = ((int)0x8B59) , + /// + /// Original was GL_FLOAT_MAT2 = 0x8B5A + /// + FloatMat2 = ((int)0x8B5A) , + /// + /// Original was GL_FLOAT_MAT3 = 0x8B5B + /// + FloatMat3 = ((int)0x8B5B) , + /// + /// Original was GL_FLOAT_MAT4 = 0x8B5C + /// + FloatMat4 = ((int)0x8B5C) , + /// + /// Original was GL_SAMPLER_1D = 0x8B5D + /// + Sampler1D = ((int)0x8B5D) , + /// + /// Original was GL_SAMPLER_2D = 0x8B5E + /// + Sampler2D = ((int)0x8B5E) , + /// + /// Original was GL_SAMPLER_3D = 0x8B5F + /// + Sampler3D = ((int)0x8B5F) , + /// + /// Original was GL_SAMPLER_CUBE = 0x8B60 + /// + SamplerCube = ((int)0x8B60) , + /// + /// Original was GL_SAMPLER_1D_SHADOW = 0x8B61 + /// + Sampler1DShadow = ((int)0x8B61) , + /// + /// Original was GL_SAMPLER_2D_SHADOW = 0x8B62 + /// + Sampler2DShadow = ((int)0x8B62) , + /// + /// Original was GL_DELETE_STATUS = 0x8B80 + /// + DeleteStatus = ((int)0x8B80) , + /// + /// Original was GL_COMPILE_STATUS = 0x8B81 + /// + CompileStatus = ((int)0x8B81) , + /// + /// Original was GL_LINK_STATUS = 0x8B82 + /// + LinkStatus = ((int)0x8B82) , + /// + /// Original was GL_VALIDATE_STATUS = 0x8B83 + /// + ValidateStatus = ((int)0x8B83) , + /// + /// Original was GL_INFO_LOG_LENGTH = 0x8B84 + /// + InfoLogLength = ((int)0x8B84) , + /// + /// Original was GL_ATTACHED_SHADERS = 0x8B85 + /// + AttachedShaders = ((int)0x8B85) , + /// + /// Original was GL_ACTIVE_UNIFORMS = 0x8B86 + /// + ActiveUniforms = ((int)0x8B86) , + /// + /// Original was GL_ACTIVE_UNIFORM_MAX_LENGTH = 0x8B87 + /// + ActiveUniformMaxLength = ((int)0x8B87) , + /// + /// Original was GL_SHADER_SOURCE_LENGTH = 0x8B88 + /// + ShaderSourceLength = ((int)0x8B88) , + /// + /// Original was GL_ACTIVE_ATTRIBUTES = 0x8B89 + /// + ActiveAttributes = ((int)0x8B89) , + /// + /// Original was GL_ACTIVE_ATTRIBUTE_MAX_LENGTH = 0x8B8A + /// + ActiveAttributeMaxLength = ((int)0x8B8A) , + /// + /// Original was GL_FRAGMENT_SHADER_DERIVATIVE_HINT = 0x8B8B + /// + FragmentShaderDerivativeHint = ((int)0x8B8B) , + /// + /// Original was GL_SHADING_LANGUAGE_VERSION = 0x8B8C + /// + ShadingLanguageVersion = ((int)0x8B8C) , + /// + /// Original was GL_CURRENT_PROGRAM = 0x8B8D + /// + CurrentProgram = ((int)0x8B8D) , + /// + /// Original was GL_POINT_SPRITE_COORD_ORIGIN = 0x8CA0 + /// + PointSpriteCoordOrigin = ((int)0x8CA0) , + /// + /// Original was GL_LOWER_LEFT = 0x8CA1 + /// + LowerLeft = ((int)0x8CA1) , + /// + /// Original was GL_UPPER_LEFT = 0x8CA2 + /// + UpperLeft = ((int)0x8CA2) , + /// + /// Original was GL_STENCIL_BACK_REF = 0x8CA3 + /// + StencilBackRef = ((int)0x8CA3) , + /// + /// Original was GL_STENCIL_BACK_VALUE_MASK = 0x8CA4 + /// + StencilBackValueMask = ((int)0x8CA4) , + /// + /// Original was GL_STENCIL_BACK_WRITEMASK = 0x8CA5 + /// + StencilBackWritemask = ((int)0x8CA5) , + } + + /// + /// Not used directly. + /// + public enum Version20Deprecated : int + { + /// + /// Original was GL_VERTEX_PROGRAM_TWO_SIDE = 0x8643 + /// + VertexProgramTwoSide = ((int)0x8643) , + /// + /// Original was GL_POINT_SPRITE = 0x8861 + /// + PointSprite = ((int)0x8861) , + /// + /// Original was GL_COORD_REPLACE = 0x8862 + /// + CoordReplace = ((int)0x8862) , + /// + /// Original was GL_MAX_TEXTURE_COORDS = 0x8871 + /// + MaxTextureCoords = ((int)0x8871) , + } + + /// + /// Not used directly. + /// + public enum Version21 : int + { + /// + /// Original was GL_CURRENT_RASTER_SECONDARY_COLOR = 0x845F + /// + CurrentRasterSecondaryColor = ((int)0x845F) , + /// + /// Original was GL_PIXEL_PACK_BUFFER = 0x88EB + /// + PixelPackBuffer = ((int)0x88EB) , + /// + /// Original was GL_PIXEL_UNPACK_BUFFER = 0x88EC + /// + PixelUnpackBuffer = ((int)0x88EC) , + /// + /// Original was GL_PIXEL_PACK_BUFFER_BINDING = 0x88ED + /// + PixelPackBufferBinding = ((int)0x88ED) , + /// + /// Original was GL_PIXEL_UNPACK_BUFFER_BINDING = 0x88EF + /// + PixelUnpackBufferBinding = ((int)0x88EF) , + /// + /// Original was GL_FLOAT_MAT2x3 = 0x8B65 + /// + FloatMat2x3 = ((int)0x8B65) , + /// + /// Original was GL_FLOAT_MAT2x4 = 0x8B66 + /// + FloatMat2x4 = ((int)0x8B66) , + /// + /// Original was GL_FLOAT_MAT3x2 = 0x8B67 + /// + FloatMat3x2 = ((int)0x8B67) , + /// + /// Original was GL_FLOAT_MAT3x4 = 0x8B68 + /// + FloatMat3x4 = ((int)0x8B68) , + /// + /// Original was GL_FLOAT_MAT4x2 = 0x8B69 + /// + FloatMat4x2 = ((int)0x8B69) , + /// + /// Original was GL_FLOAT_MAT4x3 = 0x8B6A + /// + FloatMat4x3 = ((int)0x8B6A) , + /// + /// Original was GL_SRGB = 0x8C40 + /// + Srgb = ((int)0x8C40) , + /// + /// Original was GL_SRGB8 = 0x8C41 + /// + Srgb8 = ((int)0x8C41) , + /// + /// Original was GL_SRGB_ALPHA = 0x8C42 + /// + SrgbAlpha = ((int)0x8C42) , + /// + /// Original was GL_SRGB8_ALPHA8 = 0x8C43 + /// + Srgb8Alpha8 = ((int)0x8C43) , + /// + /// Original was GL_SLUMINANCE_ALPHA = 0x8C44 + /// + SluminanceAlpha = ((int)0x8C44) , + /// + /// Original was GL_SLUMINANCE8_ALPHA8 = 0x8C45 + /// + Sluminance8Alpha8 = ((int)0x8C45) , + /// + /// Original was GL_SLUMINANCE = 0x8C46 + /// + Sluminance = ((int)0x8C46) , + /// + /// Original was GL_SLUMINANCE8 = 0x8C47 + /// + Sluminance8 = ((int)0x8C47) , + /// + /// Original was GL_COMPRESSED_SRGB = 0x8C48 + /// + CompressedSrgb = ((int)0x8C48) , + /// + /// Original was GL_COMPRESSED_SRGB_ALPHA = 0x8C49 + /// + CompressedSrgbAlpha = ((int)0x8C49) , + /// + /// Original was GL_COMPRESSED_SLUMINANCE = 0x8C4A + /// + CompressedSluminance = ((int)0x8C4A) , + /// + /// Original was GL_COMPRESSED_SLUMINANCE_ALPHA = 0x8C4B + /// + CompressedSluminanceAlpha = ((int)0x8C4B) , + } + + /// + /// Not used directly. + /// + public enum Version21Deprecated : int + { + /// + /// Original was GL_CURRENT_RASTER_SECONDARY_COLOR = 0x845F + /// + CurrentRasterSecondaryColor = ((int)0x845F) , + /// + /// Original was GL_SLUMINANCE_ALPHA = 0x8C44 + /// + SluminanceAlpha = ((int)0x8C44) , + /// + /// Original was GL_SLUMINANCE8_ALPHA8 = 0x8C45 + /// + Sluminance8Alpha8 = ((int)0x8C45) , + /// + /// Original was GL_SLUMINANCE = 0x8C46 + /// + Sluminance = ((int)0x8C46) , + /// + /// Original was GL_SLUMINANCE8 = 0x8C47 + /// + Sluminance8 = ((int)0x8C47) , + /// + /// Original was GL_COMPRESSED_SLUMINANCE = 0x8C4A + /// + CompressedSluminance = ((int)0x8C4A) , + /// + /// Original was GL_COMPRESSED_SLUMINANCE_ALPHA = 0x8C4B + /// + CompressedSluminanceAlpha = ((int)0x8C4B) , + } + + /// + /// Not used directly. + /// + public enum Version30 : int + { + /// + /// Original was GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT = 0x00000001 + /// + ContextFlagForwardCompatibleBit = ((int)0x00000001) , + /// + /// Original was GL_MAP_READ_BIT = 0x0001 + /// + MapReadBit = ((int)0x0001) , + /// + /// Original was GL_MAP_WRITE_BIT = 0x0002 + /// + MapWriteBit = ((int)0x0002) , + /// + /// Original was GL_MAP_INVALIDATE_RANGE_BIT = 0x0004 + /// + MapInvalidateRangeBit = ((int)0x0004) , + /// + /// Original was GL_MAP_INVALIDATE_BUFFER_BIT = 0x0008 + /// + MapInvalidateBufferBit = ((int)0x0008) , + /// + /// Original was GL_MAP_FLUSH_EXPLICIT_BIT = 0x0010 + /// + MapFlushExplicitBit = ((int)0x0010) , + /// + /// Original was GL_MAP_UNSYNCHRONIZED_BIT = 0x0020 + /// + MapUnsynchronizedBit = ((int)0x0020) , + /// + /// Original was GL_INVALID_FRAMEBUFFER_OPERATION = 0x0506 + /// + InvalidFramebufferOperation = ((int)0x0506) , + /// + /// Original was GL_MAX_CLIP_DISTANCES = 0x0D32 + /// + MaxClipDistances = ((int)0x0D32) , + /// + /// Original was GL_HALF_FLOAT = 0x140B + /// + HalfFloat = ((int)0x140B) , + /// + /// Original was GL_CLIP_DISTANCE0 = 0x3000 + /// + ClipDistance0 = ((int)0x3000) , + /// + /// Original was GL_CLIP_DISTANCE1 = 0x3001 + /// + ClipDistance1 = ((int)0x3001) , + /// + /// Original was GL_CLIP_DISTANCE2 = 0x3002 + /// + ClipDistance2 = ((int)0x3002) , + /// + /// Original was GL_CLIP_DISTANCE3 = 0x3003 + /// + ClipDistance3 = ((int)0x3003) , + /// + /// Original was GL_CLIP_DISTANCE4 = 0x3004 + /// + ClipDistance4 = ((int)0x3004) , + /// + /// Original was GL_CLIP_DISTANCE5 = 0x3005 + /// + ClipDistance5 = ((int)0x3005) , + /// + /// Original was GL_CLIP_DISTANCE6 = 0x3006 + /// + ClipDistance6 = ((int)0x3006) , + /// + /// Original was GL_CLIP_DISTANCE7 = 0x3007 + /// + ClipDistance7 = ((int)0x3007) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING = 0x8210 + /// + FramebufferAttachmentColorEncoding = ((int)0x8210) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE = 0x8211 + /// + FramebufferAttachmentComponentType = ((int)0x8211) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE = 0x8212 + /// + FramebufferAttachmentRedSize = ((int)0x8212) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE = 0x8213 + /// + FramebufferAttachmentGreenSize = ((int)0x8213) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE = 0x8214 + /// + FramebufferAttachmentBlueSize = ((int)0x8214) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE = 0x8215 + /// + FramebufferAttachmentAlphaSize = ((int)0x8215) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE = 0x8216 + /// + FramebufferAttachmentDepthSize = ((int)0x8216) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE = 0x8217 + /// + FramebufferAttachmentStencilSize = ((int)0x8217) , + /// + /// Original was GL_FRAMEBUFFER_DEFAULT = 0x8218 + /// + FramebufferDefault = ((int)0x8218) , + /// + /// Original was GL_FRAMEBUFFER_UNDEFINED = 0x8219 + /// + FramebufferUndefined = ((int)0x8219) , + /// + /// Original was GL_DEPTH_STENCIL_ATTACHMENT = 0x821A + /// + DepthStencilAttachment = ((int)0x821A) , + /// + /// Original was GL_MAJOR_VERSION = 0x821B + /// + MajorVersion = ((int)0x821B) , + /// + /// Original was GL_MINOR_VERSION = 0x821C + /// + MinorVersion = ((int)0x821C) , + /// + /// Original was GL_NUM_EXTENSIONS = 0x821D + /// + NumExtensions = ((int)0x821D) , + /// + /// Original was GL_CONTEXT_FLAGS = 0x821E + /// + ContextFlags = ((int)0x821E) , + /// + /// Original was GL_INDEX = 0x8222 + /// + Index = ((int)0x8222) , + /// + /// Original was GL_DEPTH_BUFFER = 0x8223 + /// + DepthBuffer = ((int)0x8223) , + /// + /// Original was GL_STENCIL_BUFFER = 0x8224 + /// + StencilBuffer = ((int)0x8224) , + /// + /// Original was GL_COMPRESSED_RED = 0x8225 + /// + CompressedRed = ((int)0x8225) , + /// + /// Original was GL_COMPRESSED_RG = 0x8226 + /// + CompressedRg = ((int)0x8226) , + /// + /// Original was GL_RG = 0x8227 + /// + Rg = ((int)0x8227) , + /// + /// Original was GL_RG_INTEGER = 0x8228 + /// + RgInteger = ((int)0x8228) , + /// + /// Original was GL_R8 = 0x8229 + /// + R8 = ((int)0x8229) , + /// + /// Original was GL_R16 = 0x822A + /// + R16 = ((int)0x822A) , + /// + /// Original was GL_RG8 = 0x822B + /// + Rg8 = ((int)0x822B) , + /// + /// Original was GL_RG16 = 0x822C + /// + Rg16 = ((int)0x822C) , + /// + /// Original was GL_R16F = 0x822D + /// + R16f = ((int)0x822D) , + /// + /// Original was GL_R32F = 0x822E + /// + R32f = ((int)0x822E) , + /// + /// Original was GL_RG16F = 0x822F + /// + Rg16f = ((int)0x822F) , + /// + /// Original was GL_RG32F = 0x8230 + /// + Rg32f = ((int)0x8230) , + /// + /// Original was GL_R8I = 0x8231 + /// + R8i = ((int)0x8231) , + /// + /// Original was GL_R8UI = 0x8232 + /// + R8ui = ((int)0x8232) , + /// + /// Original was GL_R16I = 0x8233 + /// + R16i = ((int)0x8233) , + /// + /// Original was GL_R16UI = 0x8234 + /// + R16ui = ((int)0x8234) , + /// + /// Original was GL_R32I = 0x8235 + /// + R32i = ((int)0x8235) , + /// + /// Original was GL_R32UI = 0x8236 + /// + R32ui = ((int)0x8236) , + /// + /// Original was GL_RG8I = 0x8237 + /// + Rg8i = ((int)0x8237) , + /// + /// Original was GL_RG8UI = 0x8238 + /// + Rg8ui = ((int)0x8238) , + /// + /// Original was GL_RG16I = 0x8239 + /// + Rg16i = ((int)0x8239) , + /// + /// Original was GL_RG16UI = 0x823A + /// + Rg16ui = ((int)0x823A) , + /// + /// Original was GL_RG32I = 0x823B + /// + Rg32i = ((int)0x823B) , + /// + /// Original was GL_RG32UI = 0x823C + /// + Rg32ui = ((int)0x823C) , + /// + /// Original was GL_MAX_RENDERBUFFER_SIZE = 0x84E8 + /// + MaxRenderbufferSize = ((int)0x84E8) , + /// + /// Original was GL_DEPTH_STENCIL = 0x84F9 + /// + DepthStencil = ((int)0x84F9) , + /// + /// Original was GL_UNSIGNED_INT_24_8 = 0x84FA + /// + UnsignedInt248 = ((int)0x84FA) , + /// + /// Original was GL_VERTEX_ARRAY_BINDING = 0x85B5 + /// + VertexArrayBinding = ((int)0x85B5) , + /// + /// Original was GL_RGBA32F = 0x8814 + /// + Rgba32f = ((int)0x8814) , + /// + /// Original was GL_RGB32F = 0x8815 + /// + Rgb32f = ((int)0x8815) , + /// + /// Original was GL_RGBA16F = 0x881A + /// + Rgba16f = ((int)0x881A) , + /// + /// Original was GL_RGB16F = 0x881B + /// + Rgb16f = ((int)0x881B) , + /// + /// Original was GL_COMPARE_REF_TO_TEXTURE = 0x884E + /// + CompareRefToTexture = ((int)0x884E) , + /// + /// Original was GL_DEPTH24_STENCIL8 = 0x88F0 + /// + Depth24Stencil8 = ((int)0x88F0) , + /// + /// Original was GL_TEXTURE_STENCIL_SIZE = 0x88F1 + /// + TextureStencilSize = ((int)0x88F1) , + /// + /// Original was GL_VERTEX_ATTRIB_ARRAY_INTEGER = 0x88FD + /// + VertexAttribArrayInteger = ((int)0x88FD) , + /// + /// Original was GL_MAX_ARRAY_TEXTURE_LAYERS = 0x88FF + /// + MaxArrayTextureLayers = ((int)0x88FF) , + /// + /// Original was GL_MIN_PROGRAM_TEXEL_OFFSET = 0x8904 + /// + MinProgramTexelOffset = ((int)0x8904) , + /// + /// Original was GL_MAX_PROGRAM_TEXEL_OFFSET = 0x8905 + /// + MaxProgramTexelOffset = ((int)0x8905) , + /// + /// Original was GL_CLAMP_VERTEX_COLOR = 0x891A + /// + ClampVertexColor = ((int)0x891A) , + /// + /// Original was GL_CLAMP_FRAGMENT_COLOR = 0x891B + /// + ClampFragmentColor = ((int)0x891B) , + /// + /// Original was GL_CLAMP_READ_COLOR = 0x891C + /// + ClampReadColor = ((int)0x891C) , + /// + /// Original was GL_FIXED_ONLY = 0x891D + /// + FixedOnly = ((int)0x891D) , + /// + /// Original was GL_MAX_VARYING_COMPONENTS = 0x8B4B + /// + MaxVaryingComponents = ((int)0x8B4B) , + /// + /// Original was GL_TEXTURE_RED_TYPE = 0x8C10 + /// + TextureRedType = ((int)0x8C10) , + /// + /// Original was GL_TEXTURE_GREEN_TYPE = 0x8C11 + /// + TextureGreenType = ((int)0x8C11) , + /// + /// Original was GL_TEXTURE_BLUE_TYPE = 0x8C12 + /// + TextureBlueType = ((int)0x8C12) , + /// + /// Original was GL_TEXTURE_ALPHA_TYPE = 0x8C13 + /// + TextureAlphaType = ((int)0x8C13) , + /// + /// Original was GL_TEXTURE_LUMINANCE_TYPE = 0x8C14 + /// + TextureLuminanceType = ((int)0x8C14) , + /// + /// Original was GL_TEXTURE_INTENSITY_TYPE = 0x8C15 + /// + TextureIntensityType = ((int)0x8C15) , + /// + /// Original was GL_TEXTURE_DEPTH_TYPE = 0x8C16 + /// + TextureDepthType = ((int)0x8C16) , + /// + /// Original was GL_UNSIGNED_NORMALIZED = 0x8C17 + /// + UnsignedNormalized = ((int)0x8C17) , + /// + /// Original was GL_TEXTURE_1D_ARRAY = 0x8C18 + /// + Texture1DArray = ((int)0x8C18) , + /// + /// Original was GL_PROXY_TEXTURE_1D_ARRAY = 0x8C19 + /// + ProxyTexture1DArray = ((int)0x8C19) , + /// + /// Original was GL_TEXTURE_2D_ARRAY = 0x8C1A + /// + Texture2DArray = ((int)0x8C1A) , + /// + /// Original was GL_PROXY_TEXTURE_2D_ARRAY = 0x8C1B + /// + ProxyTexture2DArray = ((int)0x8C1B) , + /// + /// Original was GL_TEXTURE_BINDING_1D_ARRAY = 0x8C1C + /// + TextureBinding1DArray = ((int)0x8C1C) , + /// + /// Original was GL_TEXTURE_BINDING_2D_ARRAY = 0x8C1D + /// + TextureBinding2DArray = ((int)0x8C1D) , + /// + /// Original was GL_R11F_G11F_B10F = 0x8C3A + /// + R11fG11fB10f = ((int)0x8C3A) , + /// + /// Original was GL_UNSIGNED_INT_10F_11F_11F_REV = 0x8C3B + /// + UnsignedInt10F11F11FRev = ((int)0x8C3B) , + /// + /// Original was GL_RGB9_E5 = 0x8C3D + /// + Rgb9E5 = ((int)0x8C3D) , + /// + /// Original was GL_UNSIGNED_INT_5_9_9_9_REV = 0x8C3E + /// + UnsignedInt5999Rev = ((int)0x8C3E) , + /// + /// Original was GL_TEXTURE_SHARED_SIZE = 0x8C3F + /// + TextureSharedSize = ((int)0x8C3F) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH = 0x8C76 + /// + TransformFeedbackVaryingMaxLength = ((int)0x8C76) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_BUFFER_MODE = 0x8C7F + /// + TransformFeedbackBufferMode = ((int)0x8C7F) , + /// + /// Original was GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS = 0x8C80 + /// + MaxTransformFeedbackSeparateComponents = ((int)0x8C80) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_VARYINGS = 0x8C83 + /// + TransformFeedbackVaryings = ((int)0x8C83) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_BUFFER_START = 0x8C84 + /// + TransformFeedbackBufferStart = ((int)0x8C84) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_BUFFER_SIZE = 0x8C85 + /// + TransformFeedbackBufferSize = ((int)0x8C85) , + /// + /// Original was GL_PRIMITIVES_GENERATED = 0x8C87 + /// + PrimitivesGenerated = ((int)0x8C87) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN = 0x8C88 + /// + TransformFeedbackPrimitivesWritten = ((int)0x8C88) , + /// + /// Original was GL_RASTERIZER_DISCARD = 0x8C89 + /// + RasterizerDiscard = ((int)0x8C89) , + /// + /// Original was GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS = 0x8C8A + /// + MaxTransformFeedbackInterleavedComponents = ((int)0x8C8A) , + /// + /// Original was GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS = 0x8C8B + /// + MaxTransformFeedbackSeparateAttribs = ((int)0x8C8B) , + /// + /// Original was GL_INTERLEAVED_ATTRIBS = 0x8C8C + /// + InterleavedAttribs = ((int)0x8C8C) , + /// + /// Original was GL_SEPARATE_ATTRIBS = 0x8C8D + /// + SeparateAttribs = ((int)0x8C8D) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_BUFFER = 0x8C8E + /// + TransformFeedbackBuffer = ((int)0x8C8E) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_BUFFER_BINDING = 0x8C8F + /// + TransformFeedbackBufferBinding = ((int)0x8C8F) , + /// + /// Original was GL_DRAW_FRAMEBUFFER_BINDING = 0x8CA6 + /// + DrawFramebufferBinding = ((int)0x8CA6) , + /// + /// Original was GL_FRAMEBUFFER_BINDING = 0x8CA6 + /// + FramebufferBinding = ((int)0x8CA6) , + /// + /// Original was GL_RENDERBUFFER_BINDING = 0x8CA7 + /// + RenderbufferBinding = ((int)0x8CA7) , + /// + /// Original was GL_READ_FRAMEBUFFER = 0x8CA8 + /// + ReadFramebuffer = ((int)0x8CA8) , + /// + /// Original was GL_DRAW_FRAMEBUFFER = 0x8CA9 + /// + DrawFramebuffer = ((int)0x8CA9) , + /// + /// Original was GL_READ_FRAMEBUFFER_BINDING = 0x8CAA + /// + ReadFramebufferBinding = ((int)0x8CAA) , + /// + /// Original was GL_RENDERBUFFER_SAMPLES = 0x8CAB + /// + RenderbufferSamples = ((int)0x8CAB) , + /// + /// Original was GL_DEPTH_COMPONENT32F = 0x8CAC + /// + DepthComponent32f = ((int)0x8CAC) , + /// + /// Original was GL_DEPTH32F_STENCIL8 = 0x8CAD + /// + Depth32fStencil8 = ((int)0x8CAD) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE = 0x8CD0 + /// + FramebufferAttachmentObjectType = ((int)0x8CD0) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME = 0x8CD1 + /// + FramebufferAttachmentObjectName = ((int)0x8CD1) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL = 0x8CD2 + /// + FramebufferAttachmentTextureLevel = ((int)0x8CD2) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE = 0x8CD3 + /// + FramebufferAttachmentTextureCubeMapFace = ((int)0x8CD3) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER = 0x8CD4 + /// + FramebufferAttachmentTextureLayer = ((int)0x8CD4) , + /// + /// Original was GL_FRAMEBUFFER_COMPLETE = 0x8CD5 + /// + FramebufferComplete = ((int)0x8CD5) , + /// + /// Original was GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT = 0x8CD6 + /// + FramebufferIncompleteAttachment = ((int)0x8CD6) , + /// + /// Original was GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT = 0x8CD7 + /// + FramebufferIncompleteMissingAttachment = ((int)0x8CD7) , + /// + /// Original was GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER = 0x8CDB + /// + FramebufferIncompleteDrawBuffer = ((int)0x8CDB) , + /// + /// Original was GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER = 0x8CDC + /// + FramebufferIncompleteReadBuffer = ((int)0x8CDC) , + /// + /// Original was GL_FRAMEBUFFER_UNSUPPORTED = 0x8CDD + /// + FramebufferUnsupported = ((int)0x8CDD) , + /// + /// Original was GL_MAX_COLOR_ATTACHMENTS = 0x8CDF + /// + MaxColorAttachments = ((int)0x8CDF) , + /// + /// Original was GL_COLOR_ATTACHMENT0 = 0x8CE0 + /// + ColorAttachment0 = ((int)0x8CE0) , + /// + /// Original was GL_COLOR_ATTACHMENT1 = 0x8CE1 + /// + ColorAttachment1 = ((int)0x8CE1) , + /// + /// Original was GL_COLOR_ATTACHMENT2 = 0x8CE2 + /// + ColorAttachment2 = ((int)0x8CE2) , + /// + /// Original was GL_COLOR_ATTACHMENT3 = 0x8CE3 + /// + ColorAttachment3 = ((int)0x8CE3) , + /// + /// Original was GL_COLOR_ATTACHMENT4 = 0x8CE4 + /// + ColorAttachment4 = ((int)0x8CE4) , + /// + /// Original was GL_COLOR_ATTACHMENT5 = 0x8CE5 + /// + ColorAttachment5 = ((int)0x8CE5) , + /// + /// Original was GL_COLOR_ATTACHMENT6 = 0x8CE6 + /// + ColorAttachment6 = ((int)0x8CE6) , + /// + /// Original was GL_COLOR_ATTACHMENT7 = 0x8CE7 + /// + ColorAttachment7 = ((int)0x8CE7) , + /// + /// Original was GL_COLOR_ATTACHMENT8 = 0x8CE8 + /// + ColorAttachment8 = ((int)0x8CE8) , + /// + /// Original was GL_COLOR_ATTACHMENT9 = 0x8CE9 + /// + ColorAttachment9 = ((int)0x8CE9) , + /// + /// Original was GL_COLOR_ATTACHMENT10 = 0x8CEA + /// + ColorAttachment10 = ((int)0x8CEA) , + /// + /// Original was GL_COLOR_ATTACHMENT11 = 0x8CEB + /// + ColorAttachment11 = ((int)0x8CEB) , + /// + /// Original was GL_COLOR_ATTACHMENT12 = 0x8CEC + /// + ColorAttachment12 = ((int)0x8CEC) , + /// + /// Original was GL_COLOR_ATTACHMENT13 = 0x8CED + /// + ColorAttachment13 = ((int)0x8CED) , + /// + /// Original was GL_COLOR_ATTACHMENT14 = 0x8CEE + /// + ColorAttachment14 = ((int)0x8CEE) , + /// + /// Original was GL_COLOR_ATTACHMENT15 = 0x8CEF + /// + ColorAttachment15 = ((int)0x8CEF) , + /// + /// Original was GL_DEPTH_ATTACHMENT = 0x8D00 + /// + DepthAttachment = ((int)0x8D00) , + /// + /// Original was GL_STENCIL_ATTACHMENT = 0x8D20 + /// + StencilAttachment = ((int)0x8D20) , + /// + /// Original was GL_FRAMEBUFFER = 0x8D40 + /// + Framebuffer = ((int)0x8D40) , + /// + /// Original was GL_RENDERBUFFER = 0x8D41 + /// + Renderbuffer = ((int)0x8D41) , + /// + /// Original was GL_RENDERBUFFER_WIDTH = 0x8D42 + /// + RenderbufferWidth = ((int)0x8D42) , + /// + /// Original was GL_RENDERBUFFER_HEIGHT = 0x8D43 + /// + RenderbufferHeight = ((int)0x8D43) , + /// + /// Original was GL_RENDERBUFFER_INTERNAL_FORMAT = 0x8D44 + /// + RenderbufferInternalFormat = ((int)0x8D44) , + /// + /// Original was GL_STENCIL_INDEX1 = 0x8D46 + /// + StencilIndex1 = ((int)0x8D46) , + /// + /// Original was GL_STENCIL_INDEX4 = 0x8D47 + /// + StencilIndex4 = ((int)0x8D47) , + /// + /// Original was GL_STENCIL_INDEX8 = 0x8D48 + /// + StencilIndex8 = ((int)0x8D48) , + /// + /// Original was GL_STENCIL_INDEX16 = 0x8D49 + /// + StencilIndex16 = ((int)0x8D49) , + /// + /// Original was GL_RENDERBUFFER_RED_SIZE = 0x8D50 + /// + RenderbufferRedSize = ((int)0x8D50) , + /// + /// Original was GL_RENDERBUFFER_GREEN_SIZE = 0x8D51 + /// + RenderbufferGreenSize = ((int)0x8D51) , + /// + /// Original was GL_RENDERBUFFER_BLUE_SIZE = 0x8D52 + /// + RenderbufferBlueSize = ((int)0x8D52) , + /// + /// Original was GL_RENDERBUFFER_ALPHA_SIZE = 0x8D53 + /// + RenderbufferAlphaSize = ((int)0x8D53) , + /// + /// Original was GL_RENDERBUFFER_DEPTH_SIZE = 0x8D54 + /// + RenderbufferDepthSize = ((int)0x8D54) , + /// + /// Original was GL_RENDERBUFFER_STENCIL_SIZE = 0x8D55 + /// + RenderbufferStencilSize = ((int)0x8D55) , + /// + /// Original was GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE = 0x8D56 + /// + FramebufferIncompleteMultisample = ((int)0x8D56) , + /// + /// Original was GL_MAX_SAMPLES = 0x8D57 + /// + MaxSamples = ((int)0x8D57) , + /// + /// Original was GL_RGBA32UI = 0x8D70 + /// + Rgba32ui = ((int)0x8D70) , + /// + /// Original was GL_RGB32UI = 0x8D71 + /// + Rgb32ui = ((int)0x8D71) , + /// + /// Original was GL_RGBA16UI = 0x8D76 + /// + Rgba16ui = ((int)0x8D76) , + /// + /// Original was GL_RGB16UI = 0x8D77 + /// + Rgb16ui = ((int)0x8D77) , + /// + /// Original was GL_RGBA8UI = 0x8D7C + /// + Rgba8ui = ((int)0x8D7C) , + /// + /// Original was GL_RGB8UI = 0x8D7D + /// + Rgb8ui = ((int)0x8D7D) , + /// + /// Original was GL_RGBA32I = 0x8D82 + /// + Rgba32i = ((int)0x8D82) , + /// + /// Original was GL_RGB32I = 0x8D83 + /// + Rgb32i = ((int)0x8D83) , + /// + /// Original was GL_RGBA16I = 0x8D88 + /// + Rgba16i = ((int)0x8D88) , + /// + /// Original was GL_RGB16I = 0x8D89 + /// + Rgb16i = ((int)0x8D89) , + /// + /// Original was GL_RGBA8I = 0x8D8E + /// + Rgba8i = ((int)0x8D8E) , + /// + /// Original was GL_RGB8I = 0x8D8F + /// + Rgb8i = ((int)0x8D8F) , + /// + /// Original was GL_RED_INTEGER = 0x8D94 + /// + RedInteger = ((int)0x8D94) , + /// + /// Original was GL_GREEN_INTEGER = 0x8D95 + /// + GreenInteger = ((int)0x8D95) , + /// + /// Original was GL_BLUE_INTEGER = 0x8D96 + /// + BlueInteger = ((int)0x8D96) , + /// + /// Original was GL_RGB_INTEGER = 0x8D98 + /// + RgbInteger = ((int)0x8D98) , + /// + /// Original was GL_RGBA_INTEGER = 0x8D99 + /// + RgbaInteger = ((int)0x8D99) , + /// + /// Original was GL_BGR_INTEGER = 0x8D9A + /// + BgrInteger = ((int)0x8D9A) , + /// + /// Original was GL_BGRA_INTEGER = 0x8D9B + /// + BgraInteger = ((int)0x8D9B) , + /// + /// Original was GL_FLOAT_32_UNSIGNED_INT_24_8_REV = 0x8DAD + /// + Float32UnsignedInt248Rev = ((int)0x8DAD) , + /// + /// Original was GL_FRAMEBUFFER_SRGB = 0x8DB9 + /// + FramebufferSrgb = ((int)0x8DB9) , + /// + /// Original was GL_COMPRESSED_RED_RGTC1 = 0x8DBB + /// + CompressedRedRgtc1 = ((int)0x8DBB) , + /// + /// Original was GL_COMPRESSED_SIGNED_RED_RGTC1 = 0x8DBC + /// + CompressedSignedRedRgtc1 = ((int)0x8DBC) , + /// + /// Original was GL_COMPRESSED_RG_RGTC2 = 0x8DBD + /// + CompressedRgRgtc2 = ((int)0x8DBD) , + /// + /// Original was GL_COMPRESSED_SIGNED_RG_RGTC2 = 0x8DBE + /// + CompressedSignedRgRgtc2 = ((int)0x8DBE) , + /// + /// Original was GL_SAMPLER_1D_ARRAY = 0x8DC0 + /// + Sampler1DArray = ((int)0x8DC0) , + /// + /// Original was GL_SAMPLER_2D_ARRAY = 0x8DC1 + /// + Sampler2DArray = ((int)0x8DC1) , + /// + /// Original was GL_SAMPLER_1D_ARRAY_SHADOW = 0x8DC3 + /// + Sampler1DArrayShadow = ((int)0x8DC3) , + /// + /// Original was GL_SAMPLER_2D_ARRAY_SHADOW = 0x8DC4 + /// + Sampler2DArrayShadow = ((int)0x8DC4) , + /// + /// Original was GL_SAMPLER_CUBE_SHADOW = 0x8DC5 + /// + SamplerCubeShadow = ((int)0x8DC5) , + /// + /// Original was GL_UNSIGNED_INT_VEC2 = 0x8DC6 + /// + UnsignedIntVec2 = ((int)0x8DC6) , + /// + /// Original was GL_UNSIGNED_INT_VEC3 = 0x8DC7 + /// + UnsignedIntVec3 = ((int)0x8DC7) , + /// + /// Original was GL_UNSIGNED_INT_VEC4 = 0x8DC8 + /// + UnsignedIntVec4 = ((int)0x8DC8) , + /// + /// Original was GL_INT_SAMPLER_1D = 0x8DC9 + /// + IntSampler1D = ((int)0x8DC9) , + /// + /// Original was GL_INT_SAMPLER_2D = 0x8DCA + /// + IntSampler2D = ((int)0x8DCA) , + /// + /// Original was GL_INT_SAMPLER_3D = 0x8DCB + /// + IntSampler3D = ((int)0x8DCB) , + /// + /// Original was GL_INT_SAMPLER_CUBE = 0x8DCC + /// + IntSamplerCube = ((int)0x8DCC) , + /// + /// Original was GL_INT_SAMPLER_1D_ARRAY = 0x8DCE + /// + IntSampler1DArray = ((int)0x8DCE) , + /// + /// Original was GL_INT_SAMPLER_2D_ARRAY = 0x8DCF + /// + IntSampler2DArray = ((int)0x8DCF) , + /// + /// Original was GL_UNSIGNED_INT_SAMPLER_1D = 0x8DD1 + /// + UnsignedIntSampler1D = ((int)0x8DD1) , + /// + /// Original was GL_UNSIGNED_INT_SAMPLER_2D = 0x8DD2 + /// + UnsignedIntSampler2D = ((int)0x8DD2) , + /// + /// Original was GL_UNSIGNED_INT_SAMPLER_3D = 0x8DD3 + /// + UnsignedIntSampler3D = ((int)0x8DD3) , + /// + /// Original was GL_UNSIGNED_INT_SAMPLER_CUBE = 0x8DD4 + /// + UnsignedIntSamplerCube = ((int)0x8DD4) , + /// + /// Original was GL_UNSIGNED_INT_SAMPLER_1D_ARRAY = 0x8DD6 + /// + UnsignedIntSampler1DArray = ((int)0x8DD6) , + /// + /// Original was GL_UNSIGNED_INT_SAMPLER_2D_ARRAY = 0x8DD7 + /// + UnsignedIntSampler2DArray = ((int)0x8DD7) , + /// + /// Original was GL_QUERY_WAIT = 0x8E13 + /// + QueryWait = ((int)0x8E13) , + /// + /// Original was GL_QUERY_NO_WAIT = 0x8E14 + /// + QueryNoWait = ((int)0x8E14) , + /// + /// Original was GL_QUERY_BY_REGION_WAIT = 0x8E15 + /// + QueryByRegionWait = ((int)0x8E15) , + /// + /// Original was GL_QUERY_BY_REGION_NO_WAIT = 0x8E16 + /// + QueryByRegionNoWait = ((int)0x8E16) , + /// + /// Original was GL_BUFFER_ACCESS_FLAGS = 0x911F + /// + BufferAccessFlags = ((int)0x911F) , + /// + /// Original was GL_BUFFER_MAP_LENGTH = 0x9120 + /// + BufferMapLength = ((int)0x9120) , + /// + /// Original was GL_BUFFER_MAP_OFFSET = 0x9121 + /// + BufferMapOffset = ((int)0x9121) , + } + + /// + /// Not used directly. + /// + public enum Version30Deprecated : int + { + /// + /// Original was GL_CLAMP_VERTEX_COLOR = 0x891A + /// + ClampVertexColor = ((int)0x891A) , + /// + /// Original was GL_CLAMP_FRAGMENT_COLOR = 0x891B + /// + ClampFragmentColor = ((int)0x891B) , + /// + /// Original was GL_TEXTURE_LUMINANCE_TYPE = 0x8C14 + /// + TextureLuminanceType = ((int)0x8C14) , + /// + /// Original was GL_TEXTURE_INTENSITY_TYPE = 0x8C15 + /// + TextureIntensityType = ((int)0x8C15) , + /// + /// Original was GL_ALPHA_INTEGER = 0x8D97 + /// + AlphaInteger = ((int)0x8D97) , + } + + /// + /// Not used directly. + /// + public enum Version31 : int + { + /// + /// Original was GL_TEXTURE_RECTANGLE = 0x84F5 + /// + TextureRectangle = ((int)0x84F5) , + /// + /// Original was GL_TEXTURE_BINDING_RECTANGLE = 0x84F6 + /// + TextureBindingRectangle = ((int)0x84F6) , + /// + /// Original was GL_PROXY_TEXTURE_RECTANGLE = 0x84F7 + /// + ProxyTextureRectangle = ((int)0x84F7) , + /// + /// Original was GL_MAX_RECTANGLE_TEXTURE_SIZE = 0x84F8 + /// + MaxRectangleTextureSize = ((int)0x84F8) , + /// + /// Original was GL_UNIFORM_BUFFER = 0x8A11 + /// + UniformBuffer = ((int)0x8A11) , + /// + /// Original was GL_UNIFORM_BUFFER_BINDING = 0x8A28 + /// + UniformBufferBinding = ((int)0x8A28) , + /// + /// Original was GL_UNIFORM_BUFFER_START = 0x8A29 + /// + UniformBufferStart = ((int)0x8A29) , + /// + /// Original was GL_UNIFORM_BUFFER_SIZE = 0x8A2A + /// + UniformBufferSize = ((int)0x8A2A) , + /// + /// Original was GL_MAX_VERTEX_UNIFORM_BLOCKS = 0x8A2B + /// + MaxVertexUniformBlocks = ((int)0x8A2B) , + /// + /// Original was GL_MAX_GEOMETRY_UNIFORM_BLOCKS = 0x8A2C + /// + MaxGeometryUniformBlocks = ((int)0x8A2C) , + /// + /// Original was GL_MAX_FRAGMENT_UNIFORM_BLOCKS = 0x8A2D + /// + MaxFragmentUniformBlocks = ((int)0x8A2D) , + /// + /// Original was GL_MAX_COMBINED_UNIFORM_BLOCKS = 0x8A2E + /// + MaxCombinedUniformBlocks = ((int)0x8A2E) , + /// + /// Original was GL_MAX_UNIFORM_BUFFER_BINDINGS = 0x8A2F + /// + MaxUniformBufferBindings = ((int)0x8A2F) , + /// + /// Original was GL_MAX_UNIFORM_BLOCK_SIZE = 0x8A30 + /// + MaxUniformBlockSize = ((int)0x8A30) , + /// + /// Original was GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS = 0x8A31 + /// + MaxCombinedVertexUniformComponents = ((int)0x8A31) , + /// + /// Original was GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS = 0x8A32 + /// + MaxCombinedGeometryUniformComponents = ((int)0x8A32) , + /// + /// Original was GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS = 0x8A33 + /// + MaxCombinedFragmentUniformComponents = ((int)0x8A33) , + /// + /// Original was GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT = 0x8A34 + /// + UniformBufferOffsetAlignment = ((int)0x8A34) , + /// + /// Original was GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH = 0x8A35 + /// + ActiveUniformBlockMaxNameLength = ((int)0x8A35) , + /// + /// Original was GL_ACTIVE_UNIFORM_BLOCKS = 0x8A36 + /// + ActiveUniformBlocks = ((int)0x8A36) , + /// + /// Original was GL_UNIFORM_TYPE = 0x8A37 + /// + UniformType = ((int)0x8A37) , + /// + /// Original was GL_UNIFORM_SIZE = 0x8A38 + /// + UniformSize = ((int)0x8A38) , + /// + /// Original was GL_UNIFORM_NAME_LENGTH = 0x8A39 + /// + UniformNameLength = ((int)0x8A39) , + /// + /// Original was GL_UNIFORM_BLOCK_INDEX = 0x8A3A + /// + UniformBlockIndex = ((int)0x8A3A) , + /// + /// Original was GL_UNIFORM_OFFSET = 0x8A3B + /// + UniformOffset = ((int)0x8A3B) , + /// + /// Original was GL_UNIFORM_ARRAY_STRIDE = 0x8A3C + /// + UniformArrayStride = ((int)0x8A3C) , + /// + /// Original was GL_UNIFORM_MATRIX_STRIDE = 0x8A3D + /// + UniformMatrixStride = ((int)0x8A3D) , + /// + /// Original was GL_UNIFORM_IS_ROW_MAJOR = 0x8A3E + /// + UniformIsRowMajor = ((int)0x8A3E) , + /// + /// Original was GL_UNIFORM_BLOCK_BINDING = 0x8A3F + /// + UniformBlockBinding = ((int)0x8A3F) , + /// + /// Original was GL_UNIFORM_BLOCK_DATA_SIZE = 0x8A40 + /// + UniformBlockDataSize = ((int)0x8A40) , + /// + /// Original was GL_UNIFORM_BLOCK_NAME_LENGTH = 0x8A41 + /// + UniformBlockNameLength = ((int)0x8A41) , + /// + /// Original was GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS = 0x8A42 + /// + UniformBlockActiveUniforms = ((int)0x8A42) , + /// + /// Original was GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES = 0x8A43 + /// + UniformBlockActiveUniformIndices = ((int)0x8A43) , + /// + /// Original was GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER = 0x8A44 + /// + UniformBlockReferencedByVertexShader = ((int)0x8A44) , + /// + /// Original was GL_UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER = 0x8A45 + /// + UniformBlockReferencedByGeometryShader = ((int)0x8A45) , + /// + /// Original was GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER = 0x8A46 + /// + UniformBlockReferencedByFragmentShader = ((int)0x8A46) , + /// + /// Original was GL_SAMPLER_2D_RECT = 0x8B63 + /// + Sampler2DRect = ((int)0x8B63) , + /// + /// Original was GL_SAMPLER_2D_RECT_SHADOW = 0x8B64 + /// + Sampler2DRectShadow = ((int)0x8B64) , + /// + /// Original was GL_TEXTURE_BUFFER = 0x8C2A + /// + TextureBuffer = ((int)0x8C2A) , + /// + /// Original was GL_MAX_TEXTURE_BUFFER_SIZE = 0x8C2B + /// + MaxTextureBufferSize = ((int)0x8C2B) , + /// + /// Original was GL_TEXTURE_BINDING_BUFFER = 0x8C2C + /// + TextureBindingBuffer = ((int)0x8C2C) , + /// + /// Original was GL_TEXTURE_BUFFER_DATA_STORE_BINDING = 0x8C2D + /// + TextureBufferDataStoreBinding = ((int)0x8C2D) , + /// + /// Original was GL_TEXTURE_BUFFER_FORMAT = 0x8C2E + /// + TextureBufferFormat = ((int)0x8C2E) , + /// + /// Original was GL_SAMPLER_BUFFER = 0x8DC2 + /// + SamplerBuffer = ((int)0x8DC2) , + /// + /// Original was GL_INT_SAMPLER_2D_RECT = 0x8DCD + /// + IntSampler2DRect = ((int)0x8DCD) , + /// + /// Original was GL_INT_SAMPLER_BUFFER = 0x8DD0 + /// + IntSamplerBuffer = ((int)0x8DD0) , + /// + /// Original was GL_UNSIGNED_INT_SAMPLER_2D_RECT = 0x8DD5 + /// + UnsignedIntSampler2DRect = ((int)0x8DD5) , + /// + /// Original was GL_UNSIGNED_INT_SAMPLER_BUFFER = 0x8DD8 + /// + UnsignedIntSamplerBuffer = ((int)0x8DD8) , + /// + /// Original was GL_COPY_READ_BUFFER = 0x8F36 + /// + CopyReadBuffer = ((int)0x8F36) , + /// + /// Original was GL_COPY_WRITE_BUFFER = 0x8F37 + /// + CopyWriteBuffer = ((int)0x8F37) , + /// + /// Original was GL_RED_SNORM = 0x8F90 + /// + RedSnorm = ((int)0x8F90) , + /// + /// Original was GL_RG_SNORM = 0x8F91 + /// + RgSnorm = ((int)0x8F91) , + /// + /// Original was GL_RGB_SNORM = 0x8F92 + /// + RgbSnorm = ((int)0x8F92) , + /// + /// Original was GL_RGBA_SNORM = 0x8F93 + /// + RgbaSnorm = ((int)0x8F93) , + /// + /// Original was GL_R8_SNORM = 0x8F94 + /// + R8Snorm = ((int)0x8F94) , + /// + /// Original was GL_RG8_SNORM = 0x8F95 + /// + Rg8Snorm = ((int)0x8F95) , + /// + /// Original was GL_RGB8_SNORM = 0x8F96 + /// + Rgb8Snorm = ((int)0x8F96) , + /// + /// Original was GL_RGBA8_SNORM = 0x8F97 + /// + Rgba8Snorm = ((int)0x8F97) , + /// + /// Original was GL_R16_SNORM = 0x8F98 + /// + R16Snorm = ((int)0x8F98) , + /// + /// Original was GL_RG16_SNORM = 0x8F99 + /// + Rg16Snorm = ((int)0x8F99) , + /// + /// Original was GL_RGB16_SNORM = 0x8F9A + /// + Rgb16Snorm = ((int)0x8F9A) , + /// + /// Original was GL_RGBA16_SNORM = 0x8F9B + /// + Rgba16Snorm = ((int)0x8F9B) , + /// + /// Original was GL_SIGNED_NORMALIZED = 0x8F9C + /// + SignedNormalized = ((int)0x8F9C) , + /// + /// Original was GL_PRIMITIVE_RESTART = 0x8F9D + /// + PrimitiveRestart = ((int)0x8F9D) , + /// + /// Original was GL_PRIMITIVE_RESTART_INDEX = 0x8F9E + /// + PrimitiveRestartIndex = ((int)0x8F9E) , + /// + /// Original was GL_INVALID_INDEX = 0xFFFFFFFF + /// + InvalidIndex = unchecked((int)0xFFFFFFFF) , + } + + /// + /// Not used directly. + /// + public enum Version32 : int + { + /// + /// Original was GL_CONTEXT_CORE_PROFILE_BIT = 0x00000001 + /// + ContextCoreProfileBit = ((int)0x00000001) , + /// + /// Original was GL_SYNC_FLUSH_COMMANDS_BIT = 0x00000001 + /// + SyncFlushCommandsBit = ((int)0x00000001) , + /// + /// Original was GL_CONTEXT_COMPATIBILITY_PROFILE_BIT = 0x00000002 + /// + ContextCompatibilityProfileBit = ((int)0x00000002) , + /// + /// Original was GL_LINES_ADJACENCY = 0x000A + /// + LinesAdjacency = ((int)0x000A) , + /// + /// Original was GL_LINE_STRIP_ADJACENCY = 0x000B + /// + LineStripAdjacency = ((int)0x000B) , + /// + /// Original was GL_TRIANGLES_ADJACENCY = 0x000C + /// + TrianglesAdjacency = ((int)0x000C) , + /// + /// Original was GL_TRIANGLE_STRIP_ADJACENCY = 0x000D + /// + TriangleStripAdjacency = ((int)0x000D) , + /// + /// Original was GL_PROGRAM_POINT_SIZE = 0x8642 + /// + ProgramPointSize = ((int)0x8642) , + /// + /// Original was GL_DEPTH_CLAMP = 0x864F + /// + DepthClamp = ((int)0x864F) , + /// + /// Original was GL_TEXTURE_CUBE_MAP_SEAMLESS = 0x884F + /// + TextureCubeMapSeamless = ((int)0x884F) , + /// + /// Original was GL_GEOMETRY_VERTICES_OUT = 0x8916 + /// + GeometryVerticesOut = ((int)0x8916) , + /// + /// Original was GL_GEOMETRY_INPUT_TYPE = 0x8917 + /// + GeometryInputType = ((int)0x8917) , + /// + /// Original was GL_GEOMETRY_OUTPUT_TYPE = 0x8918 + /// + GeometryOutputType = ((int)0x8918) , + /// + /// Original was GL_MAX_VARYING_COMPONENTS = 0x8B4B + /// + MaxVaryingComponents = ((int)0x8B4B) , + /// + /// Original was GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS = 0x8C29 + /// + MaxGeometryTextureImageUnits = ((int)0x8C29) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER = 0x8CD4 + /// + FramebufferAttachmentTextureLayer = ((int)0x8CD4) , + /// + /// Original was GL_FRAMEBUFFER_ATTACHMENT_LAYERED = 0x8DA7 + /// + FramebufferAttachmentLayered = ((int)0x8DA7) , + /// + /// Original was GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS = 0x8DA8 + /// + FramebufferIncompleteLayerTargets = ((int)0x8DA8) , + /// + /// Original was GL_GEOMETRY_SHADER = 0x8DD9 + /// + GeometryShader = ((int)0x8DD9) , + /// + /// Original was GL_MAX_GEOMETRY_UNIFORM_COMPONENTS = 0x8DDF + /// + MaxGeometryUniformComponents = ((int)0x8DDF) , + /// + /// Original was GL_MAX_GEOMETRY_OUTPUT_VERTICES = 0x8DE0 + /// + MaxGeometryOutputVertices = ((int)0x8DE0) , + /// + /// Original was GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS = 0x8DE1 + /// + MaxGeometryTotalOutputComponents = ((int)0x8DE1) , + /// + /// Original was GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION = 0x8E4C + /// + QuadsFollowProvokingVertexConvention = ((int)0x8E4C) , + /// + /// Original was GL_FIRST_VERTEX_CONVENTION = 0x8E4D + /// + FirstVertexConvention = ((int)0x8E4D) , + /// + /// Original was GL_LAST_VERTEX_CONVENTION = 0x8E4E + /// + LastVertexConvention = ((int)0x8E4E) , + /// + /// Original was GL_PROVOKING_VERTEX = 0x8E4F + /// + ProvokingVertex = ((int)0x8E4F) , + /// + /// Original was GL_SAMPLE_POSITION = 0x8E50 + /// + SamplePosition = ((int)0x8E50) , + /// + /// Original was GL_SAMPLE_MASK = 0x8E51 + /// + SampleMask = ((int)0x8E51) , + /// + /// Original was GL_SAMPLE_MASK_VALUE = 0x8E52 + /// + SampleMaskValue = ((int)0x8E52) , + /// + /// Original was GL_MAX_SAMPLE_MASK_WORDS = 0x8E59 + /// + MaxSampleMaskWords = ((int)0x8E59) , + /// + /// Original was GL_TEXTURE_2D_MULTISAMPLE = 0x9100 + /// + Texture2DMultisample = ((int)0x9100) , + /// + /// Original was GL_PROXY_TEXTURE_2D_MULTISAMPLE = 0x9101 + /// + ProxyTexture2DMultisample = ((int)0x9101) , + /// + /// Original was GL_TEXTURE_2D_MULTISAMPLE_ARRAY = 0x9102 + /// + Texture2DMultisampleArray = ((int)0x9102) , + /// + /// Original was GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY = 0x9103 + /// + ProxyTexture2DMultisampleArray = ((int)0x9103) , + /// + /// Original was GL_TEXTURE_BINDING_2D_MULTISAMPLE = 0x9104 + /// + TextureBinding2DMultisample = ((int)0x9104) , + /// + /// Original was GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY = 0x9105 + /// + TextureBinding2DMultisampleArray = ((int)0x9105) , + /// + /// Original was GL_TEXTURE_SAMPLES = 0x9106 + /// + TextureSamples = ((int)0x9106) , + /// + /// Original was GL_TEXTURE_FIXED_SAMPLE_LOCATIONS = 0x9107 + /// + TextureFixedSampleLocations = ((int)0x9107) , + /// + /// Original was GL_SAMPLER_2D_MULTISAMPLE = 0x9108 + /// + Sampler2DMultisample = ((int)0x9108) , + /// + /// Original was GL_INT_SAMPLER_2D_MULTISAMPLE = 0x9109 + /// + IntSampler2DMultisample = ((int)0x9109) , + /// + /// Original was GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE = 0x910A + /// + UnsignedIntSampler2DMultisample = ((int)0x910A) , + /// + /// Original was GL_SAMPLER_2D_MULTISAMPLE_ARRAY = 0x910B + /// + Sampler2DMultisampleArray = ((int)0x910B) , + /// + /// Original was GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY = 0x910C + /// + IntSampler2DMultisampleArray = ((int)0x910C) , + /// + /// Original was GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY = 0x910D + /// + UnsignedIntSampler2DMultisampleArray = ((int)0x910D) , + /// + /// Original was GL_MAX_COLOR_TEXTURE_SAMPLES = 0x910E + /// + MaxColorTextureSamples = ((int)0x910E) , + /// + /// Original was GL_MAX_DEPTH_TEXTURE_SAMPLES = 0x910F + /// + MaxDepthTextureSamples = ((int)0x910F) , + /// + /// Original was GL_MAX_INTEGER_SAMPLES = 0x9110 + /// + MaxIntegerSamples = ((int)0x9110) , + /// + /// Original was GL_MAX_SERVER_WAIT_TIMEOUT = 0x9111 + /// + MaxServerWaitTimeout = ((int)0x9111) , + /// + /// Original was GL_OBJECT_TYPE = 0x9112 + /// + ObjectType = ((int)0x9112) , + /// + /// Original was GL_SYNC_CONDITION = 0x9113 + /// + SyncCondition = ((int)0x9113) , + /// + /// Original was GL_SYNC_STATUS = 0x9114 + /// + SyncStatus = ((int)0x9114) , + /// + /// Original was GL_SYNC_FLAGS = 0x9115 + /// + SyncFlags = ((int)0x9115) , + /// + /// Original was GL_SYNC_FENCE = 0x9116 + /// + SyncFence = ((int)0x9116) , + /// + /// Original was GL_SYNC_GPU_COMMANDS_COMPLETE = 0x9117 + /// + SyncGpuCommandsComplete = ((int)0x9117) , + /// + /// Original was GL_UNSIGNALED = 0x9118 + /// + Unsignaled = ((int)0x9118) , + /// + /// Original was GL_SIGNALED = 0x9119 + /// + Signaled = ((int)0x9119) , + /// + /// Original was GL_ALREADY_SIGNALED = 0x911A + /// + AlreadySignaled = ((int)0x911A) , + /// + /// Original was GL_TIMEOUT_EXPIRED = 0x911B + /// + TimeoutExpired = ((int)0x911B) , + /// + /// Original was GL_CONDITION_SATISFIED = 0x911C + /// + ConditionSatisfied = ((int)0x911C) , + /// + /// Original was GL_WAIT_FAILED = 0x911D + /// + WaitFailed = ((int)0x911D) , + /// + /// Original was GL_MAX_VERTEX_OUTPUT_COMPONENTS = 0x9122 + /// + MaxVertexOutputComponents = ((int)0x9122) , + /// + /// Original was GL_MAX_GEOMETRY_INPUT_COMPONENTS = 0x9123 + /// + MaxGeometryInputComponents = ((int)0x9123) , + /// + /// Original was GL_MAX_GEOMETRY_OUTPUT_COMPONENTS = 0x9124 + /// + MaxGeometryOutputComponents = ((int)0x9124) , + /// + /// Original was GL_MAX_FRAGMENT_INPUT_COMPONENTS = 0x9125 + /// + MaxFragmentInputComponents = ((int)0x9125) , + /// + /// Original was GL_CONTEXT_PROFILE_MASK = 0x9126 + /// + ContextProfileMask = ((int)0x9126) , + /// + /// Original was GL_TIMEOUT_IGNORED = 0xFFFFFFFFFFFFFFFF + /// + TimeoutIgnored = unchecked((int)0xFFFFFFFFFFFFFFFF) , + } + + /// + /// Not used directly. + /// + public enum Version33 : int + { + /// + /// Original was GL_TIME_ELAPSED = 0x88BF + /// + TimeElapsed = ((int)0x88BF) , + /// + /// Original was GL_SRC1_COLOR = 0x88F9 + /// + Src1Color = ((int)0x88F9) , + /// + /// Original was GL_ONE_MINUS_SRC1_COLOR = 0x88FA + /// + OneMinusSrc1Color = ((int)0x88FA) , + /// + /// Original was GL_ONE_MINUS_SRC1_ALPHA = 0x88FB + /// + OneMinusSrc1Alpha = ((int)0x88FB) , + /// + /// Original was GL_MAX_DUAL_SOURCE_DRAW_BUFFERS = 0x88FC + /// + MaxDualSourceDrawBuffers = ((int)0x88FC) , + /// + /// Original was GL_VERTEX_ATTRIB_ARRAY_DIVISOR = 0x88FE + /// + VertexAttribArrayDivisor = ((int)0x88FE) , + /// + /// Original was GL_SAMPLER_BINDING = 0x8919 + /// + SamplerBinding = ((int)0x8919) , + /// + /// Original was GL_ANY_SAMPLES_PASSED = 0x8C2F + /// + AnySamplesPassed = ((int)0x8C2F) , + /// + /// Original was GL_INT_2_10_10_10_REV = 0x8D9F + /// + Int2101010Rev = ((int)0x8D9F) , + /// + /// Original was GL_TIMESTAMP = 0x8E28 + /// + Timestamp = ((int)0x8E28) , + /// + /// Original was GL_TEXTURE_SWIZZLE_R = 0x8E42 + /// + TextureSwizzleR = ((int)0x8E42) , + /// + /// Original was GL_TEXTURE_SWIZZLE_G = 0x8E43 + /// + TextureSwizzleG = ((int)0x8E43) , + /// + /// Original was GL_TEXTURE_SWIZZLE_B = 0x8E44 + /// + TextureSwizzleB = ((int)0x8E44) , + /// + /// Original was GL_TEXTURE_SWIZZLE_A = 0x8E45 + /// + TextureSwizzleA = ((int)0x8E45) , + /// + /// Original was GL_TEXTURE_SWIZZLE_RGBA = 0x8E46 + /// + TextureSwizzleRgba = ((int)0x8E46) , + /// + /// Original was GL_RGB10_A2UI = 0x906F + /// + Rgb10A2ui = ((int)0x906F) , + } + + /// + /// Used in GL.BlendEquation, GL.BlendFunc, GL.BlendFuncSeparate + /// + public enum Version40 : int + { + /// + /// Original was GL_PATCHES = 0x000E + /// + Patches = ((int)0x000E) , + /// + /// Original was GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_CONTROL_SHADER = 0x84F0 + /// + UniformBlockReferencedByTessControlShader = ((int)0x84F0) , + /// + /// Original was GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_EVALUATION_SHADER = 0x84F1 + /// + UniformBlockReferencedByTessEvaluationShader = ((int)0x84F1) , + /// + /// Original was GL_MAX_TESS_CONTROL_INPUT_COMPONENTS = 0x886C + /// + MaxTessControlInputComponents = ((int)0x886C) , + /// + /// Original was GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS = 0x886D + /// + MaxTessEvaluationInputComponents = ((int)0x886D) , + /// + /// Original was GL_GEOMETRY_SHADER_INVOCATIONS = 0x887F + /// + GeometryShaderInvocations = ((int)0x887F) , + /// + /// Original was GL_SAMPLE_SHADING = 0x8C36 + /// + SampleShading = ((int)0x8C36) , + /// + /// Original was GL_MIN_SAMPLE_SHADING_VALUE = 0x8C37 + /// + MinSampleShadingValue = ((int)0x8C37) , + /// + /// Original was GL_ACTIVE_SUBROUTINES = 0x8DE5 + /// + ActiveSubroutines = ((int)0x8DE5) , + /// + /// Original was GL_ACTIVE_SUBROUTINE_UNIFORMS = 0x8DE6 + /// + ActiveSubroutineUniforms = ((int)0x8DE6) , + /// + /// Original was GL_MAX_SUBROUTINES = 0x8DE7 + /// + MaxSubroutines = ((int)0x8DE7) , + /// + /// Original was GL_MAX_SUBROUTINE_UNIFORM_LOCATIONS = 0x8DE8 + /// + MaxSubroutineUniformLocations = ((int)0x8DE8) , + /// + /// Original was GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS = 0x8E1E + /// + MaxCombinedTessControlUniformComponents = ((int)0x8E1E) , + /// + /// Original was GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS = 0x8E1F + /// + MaxCombinedTessEvaluationUniformComponents = ((int)0x8E1F) , + /// + /// Original was GL_TRANSFORM_FEEDBACK = 0x8E22 + /// + TransformFeedback = ((int)0x8E22) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED = 0x8E23 + /// + TransformFeedbackBufferPaused = ((int)0x8E23) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE = 0x8E24 + /// + TransformFeedbackBufferActive = ((int)0x8E24) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_BINDING = 0x8E25 + /// + TransformFeedbackBinding = ((int)0x8E25) , + /// + /// Original was GL_ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS = 0x8E47 + /// + ActiveSubroutineUniformLocations = ((int)0x8E47) , + /// + /// Original was GL_ACTIVE_SUBROUTINE_MAX_LENGTH = 0x8E48 + /// + ActiveSubroutineMaxLength = ((int)0x8E48) , + /// + /// Original was GL_ACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH = 0x8E49 + /// + ActiveSubroutineUniformMaxLength = ((int)0x8E49) , + /// + /// Original was GL_NUM_COMPATIBLE_SUBROUTINES = 0x8E4A + /// + NumCompatibleSubroutines = ((int)0x8E4A) , + /// + /// Original was GL_COMPATIBLE_SUBROUTINES = 0x8E4B + /// + CompatibleSubroutines = ((int)0x8E4B) , + /// + /// Original was GL_MAX_GEOMETRY_SHADER_INVOCATIONS = 0x8E5A + /// + MaxGeometryShaderInvocations = ((int)0x8E5A) , + /// + /// Original was GL_MIN_FRAGMENT_INTERPOLATION_OFFSET = 0x8E5B + /// + MinFragmentInterpolationOffset = ((int)0x8E5B) , + /// + /// Original was GL_MAX_FRAGMENT_INTERPOLATION_OFFSET = 0x8E5C + /// + MaxFragmentInterpolationOffset = ((int)0x8E5C) , + /// + /// Original was GL_FRAGMENT_INTERPOLATION_OFFSET_BITS = 0x8E5D + /// + FragmentInterpolationOffsetBits = ((int)0x8E5D) , + /// + /// Original was GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET = 0x8E5E + /// + MinProgramTextureGatherOffset = ((int)0x8E5E) , + /// + /// Original was GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET = 0x8E5F + /// + MaxProgramTextureGatherOffset = ((int)0x8E5F) , + /// + /// Original was GL_MAX_TRANSFORM_FEEDBACK_BUFFERS = 0x8E70 + /// + MaxTransformFeedbackBuffers = ((int)0x8E70) , + /// + /// Original was GL_MAX_VERTEX_STREAMS = 0x8E71 + /// + MaxVertexStreams = ((int)0x8E71) , + /// + /// Original was GL_PATCH_VERTICES = 0x8E72 + /// + PatchVertices = ((int)0x8E72) , + /// + /// Original was GL_PATCH_DEFAULT_INNER_LEVEL = 0x8E73 + /// + PatchDefaultInnerLevel = ((int)0x8E73) , + /// + /// Original was GL_PATCH_DEFAULT_OUTER_LEVEL = 0x8E74 + /// + PatchDefaultOuterLevel = ((int)0x8E74) , + /// + /// Original was GL_TESS_CONTROL_OUTPUT_VERTICES = 0x8E75 + /// + TessControlOutputVertices = ((int)0x8E75) , + /// + /// Original was GL_TESS_GEN_MODE = 0x8E76 + /// + TessGenMode = ((int)0x8E76) , + /// + /// Original was GL_TESS_GEN_SPACING = 0x8E77 + /// + TessGenSpacing = ((int)0x8E77) , + /// + /// Original was GL_TESS_GEN_VERTEX_ORDER = 0x8E78 + /// + TessGenVertexOrder = ((int)0x8E78) , + /// + /// Original was GL_TESS_GEN_POINT_MODE = 0x8E79 + /// + TessGenPointMode = ((int)0x8E79) , + /// + /// Original was GL_ISOLINES = 0x8E7A + /// + Isolines = ((int)0x8E7A) , + /// + /// Original was GL_FRACTIONAL_ODD = 0x8E7B + /// + FractionalOdd = ((int)0x8E7B) , + /// + /// Original was GL_FRACTIONAL_EVEN = 0x8E7C + /// + FractionalEven = ((int)0x8E7C) , + /// + /// Original was GL_MAX_PATCH_VERTICES = 0x8E7D + /// + MaxPatchVertices = ((int)0x8E7D) , + /// + /// Original was GL_MAX_TESS_GEN_LEVEL = 0x8E7E + /// + MaxTessGenLevel = ((int)0x8E7E) , + /// + /// Original was GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS = 0x8E7F + /// + MaxTessControlUniformComponents = ((int)0x8E7F) , + /// + /// Original was GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS = 0x8E80 + /// + MaxTessEvaluationUniformComponents = ((int)0x8E80) , + /// + /// Original was GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS = 0x8E81 + /// + MaxTessControlTextureImageUnits = ((int)0x8E81) , + /// + /// Original was GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS = 0x8E82 + /// + MaxTessEvaluationTextureImageUnits = ((int)0x8E82) , + /// + /// Original was GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS = 0x8E83 + /// + MaxTessControlOutputComponents = ((int)0x8E83) , + /// + /// Original was GL_MAX_TESS_PATCH_COMPONENTS = 0x8E84 + /// + MaxTessPatchComponents = ((int)0x8E84) , + /// + /// Original was GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS = 0x8E85 + /// + MaxTessControlTotalOutputComponents = ((int)0x8E85) , + /// + /// Original was GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS = 0x8E86 + /// + MaxTessEvaluationOutputComponents = ((int)0x8E86) , + /// + /// Original was GL_TESS_EVALUATION_SHADER = 0x8E87 + /// + TessEvaluationShader = ((int)0x8E87) , + /// + /// Original was GL_TESS_CONTROL_SHADER = 0x8E88 + /// + TessControlShader = ((int)0x8E88) , + /// + /// Original was GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS = 0x8E89 + /// + MaxTessControlUniformBlocks = ((int)0x8E89) , + /// + /// Original was GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS = 0x8E8A + /// + MaxTessEvaluationUniformBlocks = ((int)0x8E8A) , + /// + /// Original was GL_DRAW_INDIRECT_BUFFER = 0x8F3F + /// + DrawIndirectBuffer = ((int)0x8F3F) , + /// + /// Original was GL_DRAW_INDIRECT_BUFFER_BINDING = 0x8F43 + /// + DrawIndirectBufferBinding = ((int)0x8F43) , + /// + /// Original was GL_DOUBLE_MAT2 = 0x8F46 + /// + DoubleMat2 = ((int)0x8F46) , + /// + /// Original was GL_DOUBLE_MAT3 = 0x8F47 + /// + DoubleMat3 = ((int)0x8F47) , + /// + /// Original was GL_DOUBLE_MAT4 = 0x8F48 + /// + DoubleMat4 = ((int)0x8F48) , + /// + /// Original was GL_DOUBLE_MAT2x3 = 0x8F49 + /// + DoubleMat2x3 = ((int)0x8F49) , + /// + /// Original was GL_DOUBLE_MAT2x4 = 0x8F4A + /// + DoubleMat2x4 = ((int)0x8F4A) , + /// + /// Original was GL_DOUBLE_MAT3x2 = 0x8F4B + /// + DoubleMat3x2 = ((int)0x8F4B) , + /// + /// Original was GL_DOUBLE_MAT3x4 = 0x8F4C + /// + DoubleMat3x4 = ((int)0x8F4C) , + /// + /// Original was GL_DOUBLE_MAT4x2 = 0x8F4D + /// + DoubleMat4x2 = ((int)0x8F4D) , + /// + /// Original was GL_DOUBLE_MAT4x3 = 0x8F4E + /// + DoubleMat4x3 = ((int)0x8F4E) , + /// + /// Original was GL_DOUBLE_VEC2 = 0x8FFC + /// + DoubleVec2 = ((int)0x8FFC) , + /// + /// Original was GL_DOUBLE_VEC3 = 0x8FFD + /// + DoubleVec3 = ((int)0x8FFD) , + /// + /// Original was GL_DOUBLE_VEC4 = 0x8FFE + /// + DoubleVec4 = ((int)0x8FFE) , + /// + /// Original was GL_TEXTURE_CUBE_MAP_ARRAY = 0x9009 + /// + TextureCubeMapArray = ((int)0x9009) , + /// + /// Original was GL_TEXTURE_BINDING_CUBE_MAP_ARRAY = 0x900A + /// + TextureBindingCubeMapArray = ((int)0x900A) , + /// + /// Original was GL_PROXY_TEXTURE_CUBE_MAP_ARRAY = 0x900B + /// + ProxyTextureCubeMapArray = ((int)0x900B) , + /// + /// Original was GL_SAMPLER_CUBE_MAP_ARRAY = 0x900C + /// + SamplerCubeMapArray = ((int)0x900C) , + /// + /// Original was GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW = 0x900D + /// + SamplerCubeMapArrayShadow = ((int)0x900D) , + /// + /// Original was GL_INT_SAMPLER_CUBE_MAP_ARRAY = 0x900E + /// + IntSamplerCubeMapArray = ((int)0x900E) , + /// + /// Original was GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY = 0x900F + /// + UnsignedIntSamplerCubeMapArray = ((int)0x900F) , + } + + /// + /// Not used directly. + /// + public enum Version41 : int + { + /// + /// Original was GL_VERTEX_SHADER_BIT = 0x00000001 + /// + VertexShaderBit = ((int)0x00000001) , + /// + /// Original was GL_FRAGMENT_SHADER_BIT = 0x00000002 + /// + FragmentShaderBit = ((int)0x00000002) , + /// + /// Original was GL_GEOMETRY_SHADER_BIT = 0x00000004 + /// + GeometryShaderBit = ((int)0x00000004) , + /// + /// Original was GL_TESS_CONTROL_SHADER_BIT = 0x00000008 + /// + TessControlShaderBit = ((int)0x00000008) , + /// + /// Original was GL_TESS_EVALUATION_SHADER_BIT = 0x00000010 + /// + TessEvaluationShaderBit = ((int)0x00000010) , + /// + /// Original was GL_FIXED = 0x140C + /// + Fixed = ((int)0x140C) , + /// + /// Original was GL_PROGRAM_BINARY_RETRIEVABLE_HINT = 0x8257 + /// + ProgramBinaryRetrievableHint = ((int)0x8257) , + /// + /// Original was GL_PROGRAM_SEPARABLE = 0x8258 + /// + ProgramSeparable = ((int)0x8258) , + /// + /// Original was GL_ACTIVE_PROGRAM = 0x8259 + /// + ActiveProgram = ((int)0x8259) , + /// + /// Original was GL_PROGRAM_PIPELINE_BINDING = 0x825A + /// + ProgramPipelineBinding = ((int)0x825A) , + /// + /// Original was GL_MAX_VIEWPORTS = 0x825B + /// + MaxViewports = ((int)0x825B) , + /// + /// Original was GL_VIEWPORT_SUBPIXEL_BITS = 0x825C + /// + ViewportSubpixelBits = ((int)0x825C) , + /// + /// Original was GL_VIEWPORT_BOUNDS_RANGE = 0x825D + /// + ViewportBoundsRange = ((int)0x825D) , + /// + /// Original was GL_LAYER_PROVOKING_VERTEX = 0x825E + /// + LayerProvokingVertex = ((int)0x825E) , + /// + /// Original was GL_VIEWPORT_INDEX_PROVOKING_VERTEX = 0x825F + /// + ViewportIndexProvokingVertex = ((int)0x825F) , + /// + /// Original was GL_UNDEFINED_VERTEX = 0x8260 + /// + UndefinedVertex = ((int)0x8260) , + /// + /// Original was GL_PROGRAM_BINARY_LENGTH = 0x8741 + /// + ProgramBinaryLength = ((int)0x8741) , + /// + /// Original was GL_NUM_PROGRAM_BINARY_FORMATS = 0x87FE + /// + NumProgramBinaryFormats = ((int)0x87FE) , + /// + /// Original was GL_PROGRAM_BINARY_FORMATS = 0x87FF + /// + ProgramBinaryFormats = ((int)0x87FF) , + /// + /// Original was GL_IMPLEMENTATION_COLOR_READ_TYPE = 0x8B9A + /// + ImplementationColorReadType = ((int)0x8B9A) , + /// + /// Original was GL_IMPLEMENTATION_COLOR_READ_FORMAT = 0x8B9B + /// + ImplementationColorReadFormat = ((int)0x8B9B) , + /// + /// Original was GL_LOW_FLOAT = 0x8DF0 + /// + LowFloat = ((int)0x8DF0) , + /// + /// Original was GL_MEDIUM_FLOAT = 0x8DF1 + /// + MediumFloat = ((int)0x8DF1) , + /// + /// Original was GL_HIGH_FLOAT = 0x8DF2 + /// + HighFloat = ((int)0x8DF2) , + /// + /// Original was GL_LOW_INT = 0x8DF3 + /// + LowInt = ((int)0x8DF3) , + /// + /// Original was GL_MEDIUM_INT = 0x8DF4 + /// + MediumInt = ((int)0x8DF4) , + /// + /// Original was GL_HIGH_INT = 0x8DF5 + /// + HighInt = ((int)0x8DF5) , + /// + /// Original was GL_NUM_SHADER_BINARY_FORMATS = 0x8DF9 + /// + NumShaderBinaryFormats = ((int)0x8DF9) , + /// + /// Original was GL_SHADER_COMPILER = 0x8DFA + /// + ShaderCompiler = ((int)0x8DFA) , + /// + /// Original was GL_MAX_VERTEX_UNIFORM_VECTORS = 0x8DFB + /// + MaxVertexUniformVectors = ((int)0x8DFB) , + /// + /// Original was GL_MAX_VARYING_VECTORS = 0x8DFC + /// + MaxVaryingVectors = ((int)0x8DFC) , + /// + /// Original was GL_MAX_FRAGMENT_UNIFORM_VECTORS = 0x8DFD + /// + MaxFragmentUniformVectors = ((int)0x8DFD) , + /// + /// Original was GL_ALL_SHADER_BITS = 0xFFFFFFFF + /// + AllShaderBits = unchecked((int)0xFFFFFFFF) , + } + + /// + /// Used in GL.VertexAttribLPointer + /// + public enum VertexAttribDPointerType : int + { + /// + /// Original was GL_DOUBLE = 0x140A + /// + Double = ((int)0x140A) , + } + + /// + /// Used in GL.VertexAttribIPointer + /// + public enum VertexAttribIPointerType : int + { + /// + /// Original was GL_BYTE = 0x1400 + /// + Byte = ((int)0x1400) , + /// + /// Original was GL_UNSIGNED_BYTE = 0x1401 + /// + UnsignedByte = ((int)0x1401) , + /// + /// Original was GL_SHORT = 0x1402 + /// + Short = ((int)0x1402) , + /// + /// Original was GL_UNSIGNED_SHORT = 0x1403 + /// + UnsignedShort = ((int)0x1403) , + /// + /// Original was GL_INT = 0x1404 + /// + Int = ((int)0x1404) , + /// + /// Original was GL_UNSIGNED_INT = 0x1405 + /// + UnsignedInt = ((int)0x1405) , + } + + /// + /// Used in GL.GetVertexAttrib, GL.GetVertexAttribI, GL.GetVertexAttribL + /// + public enum VertexAttribParameter : int + { + /// + /// Original was GL_ARRAY_ENABLED = 0x8622 + /// + ArrayEnabled = ((int)0x8622) , + /// + /// Original was GL_ARRAY_SIZE = 0x8623 + /// + ArraySize = ((int)0x8623) , + /// + /// Original was GL_ARRAY_STRIDE = 0x8624 + /// + ArrayStride = ((int)0x8624) , + /// + /// Original was GL_ARRAY_TYPE = 0x8625 + /// + ArrayType = ((int)0x8625) , + /// + /// Original was GL_CURRENT_VERTEX_ATTRIB = 0x8626 + /// + CurrentVertexAttrib = ((int)0x8626) , + /// + /// Original was GL_ARRAY_NORMALIZED = 0x886A + /// + ArrayNormalized = ((int)0x886A) , + /// + /// Original was GL_VERTEX_ATTRIB_ARRAY_INTEGER = 0x88FD + /// + VertexAttribArrayInteger = ((int)0x88FD) , + /// + /// Original was GL_VERTEX_ATTRIB_ARRAY_DIVISOR = 0x88FE + /// + VertexAttribArrayDivisor = ((int)0x88FE) , + } + + /// + /// Used in GL.Arb.GetVertexAttrib, GL.NV.VertexAttribPointer + /// + public enum VertexAttribParameterArb : int + { + /// + /// Original was GL_ARRAY_ENABLED = 0x8622 + /// + ArrayEnabled = ((int)0x8622) , + /// + /// Original was GL_ARRAY_SIZE = 0x8623 + /// + ArraySize = ((int)0x8623) , + /// + /// Original was GL_ARRAY_STRIDE = 0x8624 + /// + ArrayStride = ((int)0x8624) , + /// + /// Original was GL_ARRAY_TYPE = 0x8625 + /// + ArrayType = ((int)0x8625) , + /// + /// Original was GL_CURRENT_VERTEX_ATTRIB = 0x8626 + /// + CurrentVertexAttrib = ((int)0x8626) , + /// + /// Original was GL_ARRAY_NORMALIZED = 0x886A + /// + ArrayNormalized = ((int)0x886A) , + /// + /// Original was GL_ARRAY_DIVISOR = 0x88FE + /// + ArrayDivisor = ((int)0x88FE) , + } + + /// + /// Used in GL.GetVertexAttribPointer + /// + public enum VertexAttribPointerParameter : int + { + /// + /// Original was GL_ARRAY_POINTER = 0x8645 + /// + ArrayPointer = ((int)0x8645) , + } + + /// + /// Used in GL.Arb.GetVertexAttribPointer + /// + public enum VertexAttribPointerParameterArb : int + { + /// + /// Original was GL_ARRAY_POINTER = 0x8645 + /// + ArrayPointer = ((int)0x8645) , + } + + /// + /// Used in GL.VertexAttribPointer + /// + public enum VertexAttribPointerType : int + { + /// + /// Original was GL_BYTE = 0x1400 + /// + Byte = ((int)0x1400) , + /// + /// Original was GL_UNSIGNED_BYTE = 0x1401 + /// + UnsignedByte = ((int)0x1401) , + /// + /// Original was GL_SHORT = 0x1402 + /// + Short = ((int)0x1402) , + /// + /// Original was GL_UNSIGNED_SHORT = 0x1403 + /// + UnsignedShort = ((int)0x1403) , + /// + /// Original was GL_INT = 0x1404 + /// + Int = ((int)0x1404) , + /// + /// Original was GL_UNSIGNED_INT = 0x1405 + /// + UnsignedInt = ((int)0x1405) , + /// + /// Original was GL_FLOAT = 0x1406 + /// + Float = ((int)0x1406) , + /// + /// Original was GL_DOUBLE = 0x140A + /// + Double = ((int)0x140A) , + /// + /// Original was GL_HALF_FLOAT = 0x140B + /// + HalfFloat = ((int)0x140B) , + /// + /// Original was GL_FIXED = 0x140C + /// + Fixed = ((int)0x140C) , + /// + /// Original was GL_UNSIGNED_INT_2_10_10_10_REV = 0x8368 + /// + UnsignedInt2101010Rev = ((int)0x8368) , + /// + /// Original was GL_INT_2_10_10_10_REV = 0x8D9F + /// + Int2101010Rev = ((int)0x8D9F) , + } + + /// + /// Used in GL.Arb.VertexAttribPointer + /// + public enum VertexAttribPointerTypeArb : int + { + /// + /// Original was GL_BYTE = 0x1400 + /// + Byte = ((int)0x1400) , + /// + /// Original was GL_UNSIGNED_BYTE = 0x1401 + /// + UnsignedByte = ((int)0x1401) , + /// + /// Original was GL_SHORT = 0x1402 + /// + Short = ((int)0x1402) , + /// + /// Original was GL_UNSIGNED_SHORT = 0x1403 + /// + UnsignedShort = ((int)0x1403) , + /// + /// Original was GL_INT = 0x1404 + /// + Int = ((int)0x1404) , + /// + /// Original was GL_UNSIGNED_INT = 0x1405 + /// + UnsignedInt = ((int)0x1405) , + /// + /// Original was GL_FLOAT = 0x1406 + /// + Float = ((int)0x1406) , + /// + /// Original was GL_DOUBLE = 0x140A + /// + Double = ((int)0x140A) , + } + + /// + /// Used in GL.VertexPointer, GL.Ext.VertexPointer, GL.Ibm.VertexPointerList, GL.Intel.ColorPointer, GL.Intel.TexCoordPointer, GL.Intel.VertexPointer + /// + public enum VertexPointerType : int + { + /// + /// Original was GL_SHORT = 0x1402 + /// + Short = ((int)0x1402) , + /// + /// Original was GL_INT = 0x1404 + /// + Int = ((int)0x1404) , + /// + /// Original was GL_FLOAT = 0x1406 + /// + Float = ((int)0x1406) , + /// + /// Original was GL_DOUBLE = 0x140A + /// + Double = ((int)0x140A) , + /// + /// Original was GL_HALF_FLOAT = 0x140B + /// + HalfFloat = ((int)0x140B) , + /// + /// Original was GL_UNSIGNED_INT_2_10_10_10_REV = 0x8368 + /// + UnsignedInt2101010Rev = ((int)0x8368) , + /// + /// Original was GL_INT_2_10_10_10_REV = 0x8D9F + /// + Int2101010Rev = ((int)0x8D9F) , + } + + /// + /// Not used directly. + /// + public enum VivShaderBinary : int + { + /// + /// Original was GL_SHADER_BINARY_VIV = 0x8FC4 + /// + ShaderBinaryViv = ((int)0x8FC4) , + } + + /// + /// Not used directly. + /// + public enum WinPhongShading : int + { + /// + /// Original was GL_PHONG_WIN = 0x80EA + /// + PhongWin = ((int)0x80EA) , + /// + /// Original was GL_PHONG_HINT_WIN = 0x80EB + /// + PhongHintWin = ((int)0x80EB) , + } + + /// + /// Not used directly. + /// + public enum WinSpecularFog : int + { + /// + /// Original was GL_FOG_SPECULAR_TEXTURE_WIN = 0x80EC + /// + FogSpecularTextureWin = ((int)0x80EC) , + } + +} diff --git a/src/MiniTK/Graphics/OpenGL/GLHelper.cs b/src/MiniTK/Graphics/OpenGL/GLHelper.cs new file mode 100644 index 0000000..b14baef --- /dev/null +++ b/src/MiniTK/Graphics/OpenGL/GLHelper.cs @@ -0,0 +1,1394 @@ +#region --- License --- +/* Copyright (c) 2006-2008 the OpenTK team. + * See license.txt for license info + * + * Contributions by Andy Gill. + */ +#endregion + +// flibit added this! +#pragma warning disable 3021 + +#region --- Using Directives --- + +using System; +using System.Collections.Generic; +#if !MINIMAL +using System.Drawing; +#endif +using System.Text; +using System.Runtime.InteropServices; +using System.Reflection; +using System.Diagnostics; +using System.Reflection.Emit; + + +#endregion + +namespace OpenTK.Graphics.OpenGL +{ + /// + /// OpenGL bindings for .NET, implementing the full OpenGL API, including extensions. + /// + /// + /// + /// This class contains all OpenGL enums and functions defined in the latest OpenGL specification. + /// The official .spec files can be found at: http://opengl.org/registry/. + /// + /// A valid OpenGL context must be created before calling any OpenGL function. + /// + /// Use the GL.Load and GL.LoadAll methods to prepare function entry points prior to use. To maintain + /// cross-platform compatibility, this must be done for both core and extension functions. The GameWindow + /// and the GLControl class will take care of this automatically. + /// + /// + /// You can use the GL.SupportsExtension method to check whether any given category of extension functions + /// exists in the current OpenGL context. Keep in mind that different OpenGL contexts may support different + /// extensions, and under different entry points. Always check if all required extensions are still supported + /// when changing visuals or pixel formats. + /// + /// + /// You may retrieve the entry point for an OpenGL function using the GL.GetDelegate method. + /// + /// + /// + public sealed partial class GL : GraphicsBindingsBase + { + #region --- Fields --- + + internal const string Library = "opengl32.dll"; + + // flibit commented this out. + // static SortedList AvailableExtensions = new SortedList(); + static readonly object sync_root = new object(); + + #endregion + + #region --- Constructor --- + + static GL() + { + } + + #endregion + + #region --- Public Members --- + + // flibit un-Obsoleted this. + /// + /// Loads all OpenGL entry points (core and extension). + /// This method is provided for compatibility purposes with older OpenTK versions. + /// + //[Obsolete("If you are using a context constructed outside of OpenTK, create a new GraphicsContext and pass your context handle to it. Otherwise, there is no need to call this method.")] + public static void LoadAll() + { + new GL().LoadEntryPoints(); + } + + #endregion + + #region --- Protected Members --- + + /// + /// Returns a synchronization token unique for the GL class. + /// + protected override object SyncRoot + { + get { return sync_root; } + } + + #endregion + + #region --- GL Overloads --- + +#pragma warning disable 3019 +#pragma warning disable 1591 +#pragma warning disable 1572 +#pragma warning disable 1573 + + // Note: Mono 1.9.1 truncates StringBuilder results (for 'out string' parameters). + // We work around this issue by doubling the StringBuilder capacity. + + #region public static void Color[34]() overloads + + public static void Color3(Color color) + { + GL.Color3(color.R, color.G, color.B); + } + + public static void Color4(Color color) + { + GL.Color4(color.R, color.G, color.B, color.A); + } + + public static void Color3(Vector3 color) + { + GL.Color3(color.X, color.Y, color.Z); + } + + public static void Color4(Vector4 color) + { + GL.Color4(color.X, color.Y, color.Z, color.W); + } + + public static void Color4(Color4 color) + { + GL.Color4(color.R, color.G, color.B, color.A); + } + + #endregion + + #region public static void ClearColor() overloads + + public static void ClearColor(Color color) + { + GL.ClearColor(color.R / 255.0f, color.G / 255.0f, color.B / 255.0f, color.A / 255.0f); + } + + public static void ClearColor(Color4 color) + { + GL.ClearColor(color.R, color.G, color.B, color.A); + } + + #endregion + + #region public static void BlendColor() overloads + + public static void BlendColor(Color color) + { + GL.BlendColor(color.R / 255.0f, color.G / 255.0f, color.B / 255.0f, color.A / 255.0f); + } + + public static void BlendColor(Color4 color) + { + GL.BlendColor(color.R, color.G, color.B, color.A); + } + + #endregion + + #region public static void Material() overloads + + public static void Material(MaterialFace face, MaterialParameter pname, Vector4 @params) + { + unsafe { Material(face, pname, (float*)&@params.X); } + } + + public static void Material(MaterialFace face, MaterialParameter pname, Color4 @params) + { + unsafe { GL.Material(face, pname, (float*)&@params); } + } + + #endregion + + #region public static void Light() overloads + + public static void Light(LightName name, LightParameter pname, Vector4 @params) + { + unsafe { GL.Light(name, pname, (float*)&@params.X); } + } + + public static void Light(LightName name, LightParameter pname, Color4 @params) + { + unsafe { GL.Light(name, pname, (float*)&@params); } + } + + #endregion + + #region Normal|RasterPos|Vertex|TexCoord|Rotate|Scale|Translate|*Matrix + + public static void Normal3(Vector3 normal) + { + GL.Normal3(normal.X, normal.Y, normal.Z); + } + + public static void RasterPos2(Vector2 pos) + { + GL.RasterPos2(pos.X, pos.Y); + } + + public static void RasterPos3(Vector3 pos) + { + GL.RasterPos3(pos.X, pos.Y, pos.Z); + } + + public static void RasterPos4(Vector4 pos) + { + GL.RasterPos4(pos.X, pos.Y, pos.Z, pos.W); + } + + public static void Vertex2(Vector2 v) + { + GL.Vertex2(v.X, v.Y); + } + + public static void Vertex3(Vector3 v) + { + GL.Vertex3(v.X, v.Y, v.Z); + } + + public static void Vertex4(Vector4 v) + { + GL.Vertex4(v.X, v.Y, v.Z, v.W); + } + + public static void TexCoord2(Vector2 v) + { + GL.TexCoord2(v.X, v.Y); + } + + public static void TexCoord3(Vector3 v) + { + GL.TexCoord3(v.X, v.Y, v.Z); + } + + public static void TexCoord4(Vector4 v) + { + GL.TexCoord4(v.X, v.Y, v.Z, v.W); + } + + public static void Rotate(Single angle, Vector3 axis) + { + GL.Rotate((Single)angle, axis.X, axis.Y, axis.Z); + } + + public static void Scale(Vector3 scale) + { + GL.Scale(scale.X, scale.Y, scale.Z); + } + + public static void Translate(Vector3 trans) + { + GL.Translate(trans.X, trans.Y, trans.Z); + } + + public static void MultMatrix(ref Matrix4 mat) + { + unsafe + { + fixed (Single* m_ptr = &mat.Row0.X) + { + GL.MultMatrix((Single*)m_ptr); + } + } + } + + public static void LoadMatrix(ref Matrix4 mat) + { + unsafe + { + fixed (Single* m_ptr = &mat.Row0.X) + { + GL.LoadMatrix((Single*)m_ptr); + } + } + } + + public static void LoadTransposeMatrix(ref Matrix4 mat) + { + unsafe + { + fixed (Single* m_ptr = &mat.Row0.X) + { + GL.LoadTransposeMatrix((Single*)m_ptr); + } + } + } + + public static void MultTransposeMatrix(ref Matrix4 mat) + { + unsafe + { + fixed (Single* m_ptr = &mat.Row0.X) + { + GL.MultTransposeMatrix((Single*)m_ptr); + } + } + } + + public static void UniformMatrix4(int location, bool transpose, ref Matrix4 matrix) + { + unsafe + { + fixed (float* matrix_ptr = &matrix.Row0.X) + { + GL.UniformMatrix4(location, 1, transpose, matrix_ptr); + } + } + } + + public static void Normal3(Vector3d normal) + { + GL.Normal3(normal.X, normal.Y, normal.Z); + } + + public static void RasterPos2(Vector2d pos) + { + GL.RasterPos2(pos.X, pos.Y); + } + + public static void RasterPos3(Vector3d pos) + { + GL.RasterPos3(pos.X, pos.Y, pos.Z); + } + + public static void RasterPos4(Vector4d pos) + { + GL.RasterPos4(pos.X, pos.Y, pos.Z, pos.W); + } + + public static void Vertex2(Vector2d v) + { + GL.Vertex2(v.X, v.Y); + } + + public static void Vertex3(Vector3d v) + { + GL.Vertex3(v.X, v.Y, v.Z); + } + + public static void Vertex4(Vector4d v) + { + GL.Vertex4(v.X, v.Y, v.Z, v.W); + } + + public static void TexCoord2(Vector2d v) + { + GL.TexCoord2(v.X, v.Y); + } + + public static void TexCoord3(Vector3d v) + { + GL.TexCoord3(v.X, v.Y, v.Z); + } + + public static void TexCoord4(Vector4d v) + { + GL.TexCoord4(v.X, v.Y, v.Z, v.W); + } + + public static void Rotate(double angle, Vector3d axis) + { + GL.Rotate((double)angle, axis.X, axis.Y, axis.Z); + } + + public static void Scale(Vector3d scale) + { + GL.Scale(scale.X, scale.Y, scale.Z); + } + + public static void Translate(Vector3d trans) + { + GL.Translate(trans.X, trans.Y, trans.Z); + } + + public static void MultMatrix(ref Matrix4d mat) + { + unsafe + { + fixed (Double* m_ptr = &mat.Row0.X) + { + GL.MultMatrix((Double*)m_ptr); + } + } + } + + public static void LoadMatrix(ref Matrix4d mat) + { + unsafe + { + fixed (Double* m_ptr = &mat.Row0.X) + { + GL.LoadMatrix((Double*)m_ptr); + } + } + } + + public static void LoadTransposeMatrix(ref Matrix4d mat) + { + unsafe + { + fixed (Double* m_ptr = &mat.Row0.X) + { + GL.LoadTransposeMatrix((Double*)m_ptr); + } + } + } + + public static void MultTransposeMatrix(ref Matrix4d mat) + { + unsafe + { + fixed (Double* m_ptr = &mat.Row0.X) + { + GL.MultTransposeMatrix((Double*)m_ptr); + } + } + } + + #region Uniform + + [CLSCompliant(false)] + public static void Uniform2(int location, ref Vector2 vector) + { + GL.Uniform2(location, vector.X, vector.Y); + } + + [CLSCompliant(false)] + public static void Uniform3(int location, ref Vector3 vector) + { + GL.Uniform3(location, vector.X, vector.Y, vector.Z); + } + + [CLSCompliant(false)] + public static void Uniform4(int location, ref Vector4 vector) + { + GL.Uniform4(location, vector.X, vector.Y, vector.Z, vector.W); + } + + public static void Uniform2(int location, Vector2 vector) + { + GL.Uniform2(location, vector.X, vector.Y); + } + + public static void Uniform3(int location, Vector3 vector) + { + GL.Uniform3(location, vector.X, vector.Y, vector.Z); + } + + public static void Uniform4(int location, Vector4 vector) + { + GL.Uniform4(location, vector.X, vector.Y, vector.Z, vector.W); + } + + public static void Uniform4(int location, Color4 color) + { + GL.Uniform4(location, color.R, color.G, color.B, color.A); + } + + public static void Uniform4(int location, Quaternion quaternion) + { + GL.Uniform4(location, quaternion.X, quaternion.Y, quaternion.Z, quaternion.W); + } + + #endregion + + #endregion + + #region Shaders + + #region GetActiveAttrib + + public static string GetActiveAttrib(int program, int index, out int size, out ActiveAttribType type) + { + int length; + GetProgram(program, OpenTK.Graphics.OpenGL.ProgramParameter.ActiveAttributeMaxLength, out length); + StringBuilder sb = new StringBuilder(length == 0 ? 1 : length * 2); + + GetActiveAttrib(program, index, sb.Capacity, out length, out size, out type, sb); + return sb.ToString(); + } + + #endregion + + #region GetActiveUniform + + public static string GetActiveUniform(int program, int uniformIndex, out int size, out ActiveUniformType type) + { + int length; + GetProgram(program, OpenTK.Graphics.OpenGL.ProgramParameter.ActiveUniformMaxLength, out length); + + StringBuilder sb = new StringBuilder(length == 0 ? 1 : length); + GetActiveUniform(program, uniformIndex, sb.Capacity, out length, out size, out type, sb); + return sb.ToString(); + } + + #endregion + + #region GetActiveUniformName + + public static string GetActiveUniformName(int program, int uniformIndex) + { + int length; + GetProgram(program, OpenTK.Graphics.OpenGL.ProgramParameter.ActiveUniformMaxLength, out length); + StringBuilder sb = new StringBuilder(length == 0 ? 1 : length * 2); + + GetActiveUniformName(program, uniformIndex, sb.Capacity, out length, sb); + return sb.ToString(); + } + + #endregion + + #region GetActiveUniformBlockName + + public static string GetActiveUniformBlockName(int program, int uniformIndex) + { + int length; + GetProgram(program, OpenTK.Graphics.OpenGL.ProgramParameter.ActiveUniformBlockMaxNameLength, out length); + StringBuilder sb = new StringBuilder(length == 0 ? 1 : length * 2); + + GetActiveUniformBlockName(program, uniformIndex, sb.Capacity, out length, sb); + return sb.ToString(); + } + + #endregion + + #region public static void ShaderSource(Int32 shader, System.String @string) + + public static void ShaderSource(Int32 shader, System.String @string) + { + unsafe + { + int length = @string.Length; + GL.ShaderSource((UInt32)shader, 1, new string[] { @string }, &length); + } + } + + #endregion + + #region public static string GetShaderInfoLog(Int32 shader) + + public static string GetShaderInfoLog(Int32 shader) + { + string info; + GetShaderInfoLog(shader, out info); + return info; + } + + #endregion + + #region public static void GetShaderInfoLog(Int32 shader, out string info) + + public static void GetShaderInfoLog(Int32 shader, out string info) + { + unsafe + { + int length; + GL.GetShader(shader, ShaderParameter.InfoLogLength, out length); + if (length == 0) + { + info = String.Empty; + return; + } + StringBuilder sb = new StringBuilder(length * 2); + GL.GetShaderInfoLog((UInt32)shader, sb.Capacity, &length, sb); + info = sb.ToString(); + } + } + + #endregion + + #region public static string GetProgramInfoLog(Int32 program) + + public static string GetProgramInfoLog(Int32 program) + { + string info; + GetProgramInfoLog(program, out info); + return info; + } + + #endregion + + #region public static void GetProgramInfoLog(Int32 program, out string info) + + public static void GetProgramInfoLog(Int32 program, out string info) + { + unsafe + { + int length; + GL.GetProgram(program, OpenTK.Graphics.OpenGL.ProgramParameter.InfoLogLength, out length); if (length == 0) + { + info = String.Empty; + return; + } + StringBuilder sb = new StringBuilder(length * 2); + GL.GetProgramInfoLog((UInt32)program, sb.Capacity, &length, sb); + info = sb.ToString(); + } + } + + #endregion + + #endregion + + #region public static void PointParameter(PointSpriteCoordOriginParameter param) + + /// + /// Helper function that defines the coordinate origin of the Point Sprite. + /// + /// + /// A OpenTK.Graphics.OpenGL.GL.PointSpriteCoordOriginParameter token, + /// denoting the origin of the Point Sprite. + /// + public static void PointParameter(PointSpriteCoordOriginParameter param) + { + GL.PointParameter(PointParameterName.PointSpriteCoordOrigin, (int)param); + } + + #endregion + + #region VertexAttrib|MultiTexCoord + + [CLSCompliant(false)] + public static void VertexAttrib2(Int32 index, ref Vector2 v) + { + GL.VertexAttrib2(index, v.X, v.Y); + } + + [CLSCompliant(false)] + public static void VertexAttrib3(Int32 index, ref Vector3 v) + { + GL.VertexAttrib3(index, v.X, v.Y, v.Z); + } + + [CLSCompliant(false)] + public static void VertexAttrib4(Int32 index, ref Vector4 v) + { + GL.VertexAttrib4(index, v.X, v.Y, v.Z, v.W); + } + + public static void VertexAttrib2(Int32 index, Vector2 v) + { + GL.VertexAttrib2(index, v.X, v.Y); + } + + public static void VertexAttrib3(Int32 index, Vector3 v) + { + GL.VertexAttrib3(index, v.X, v.Y, v.Z); + } + + public static void VertexAttrib4(Int32 index, Vector4 v) + { + GL.VertexAttrib4(index, v.X, v.Y, v.Z, v.W); + } + + public static void MultiTexCoord2(TextureUnit target, ref Vector2 v) + { + GL.MultiTexCoord2(target, v.X, v.Y); + } + + public static void MultiTexCoord3(TextureUnit target, ref Vector3 v) + { + GL.MultiTexCoord3(target, v.X, v.Y, v.Z); + } + + public static void MultiTexCoord4(TextureUnit target, ref Vector4 v) + { + GL.MultiTexCoord4(target, v.X, v.Y, v.Z, v.W); + } + + [CLSCompliant(false)] + public static void VertexAttrib2(Int32 index, ref Vector2d v) + { + GL.VertexAttrib2(index, v.X, v.Y); + } + + [CLSCompliant(false)] + public static void VertexAttrib3(Int32 index, ref Vector3d v) + { + GL.VertexAttrib3(index, v.X, v.Y, v.Z); + } + + [CLSCompliant(false)] + public static void VertexAttrib4(Int32 index, ref Vector4d v) + { + GL.VertexAttrib4(index, v.X, v.Y, v.Z, v.W); + } + + public static void VertexAttrib2(Int32 index, Vector2d v) + { + GL.VertexAttrib2(index, v.X, v.Y); + } + + public static void VertexAttrib3(Int32 index, Vector3d v) + { + GL.VertexAttrib3(index, v.X, v.Y, v.Z); + } + + public static void VertexAttrib4(Int32 index, Vector4d v) + { + GL.VertexAttrib4(index, v.X, v.Y, v.Z, v.W); + } + + public static void MultiTexCoord2(TextureUnit target, ref Vector2d v) + { + GL.MultiTexCoord2(target, v.X, v.Y); + } + + public static void MultiTexCoord3(TextureUnit target, ref Vector3d v) + { + GL.MultiTexCoord3(target, v.X, v.Y, v.Z); + } + + public static void MultiTexCoord4(TextureUnit target, ref Vector4d v) + { + GL.MultiTexCoord4(target, v.X, v.Y, v.Z, v.W); + } + + #endregion + + #region Rect + + public static void Rect(RectangleF rect) + { + GL.Rect(rect.Left, rect.Top, rect.Right, rect.Bottom); + } + + public static void Rect(Rectangle rect) + { + GL.Rect(rect.Left, rect.Top, rect.Right, rect.Bottom); + } + + [CLSCompliant(false)] + public static void Rect(ref RectangleF rect) + { + GL.Rect(rect.Left, rect.Top, rect.Right, rect.Bottom); + } + + [CLSCompliant(false)] + public static void Rect(ref Rectangle rect) + { + GL.Rect(rect.Left, rect.Top, rect.Right, rect.Bottom); + } + + #endregion + + #region GenBuffer + + /// [requires: v1.5] + /// Generates a single buffer object name + /// + /// The generated buffer object name + public static int GenBuffer() + { + int id; + GenBuffers(1, out id); + return id; + } + + #endregion + + #region DeleteBuffer + + /// [requires: v1.5] + /// Deletes a single buffer object + /// + /// The buffer object to be deleted + public static void DeleteBuffer(int id) + { + DeleteBuffers(1, ref id); + } + + /// [requires: v1.5] + /// Deletes a single buffer object + /// + /// The buffer object to be deleted + [CLSCompliant(false)] + public static void DeleteBuffer(uint id) + { + DeleteBuffers(1, ref id); + } + + #endregion + + #region GenFramebuffer + + /// [requires: v3.0 and ARB_framebuffer_object] + /// Generates a single framebuffer object name + /// + /// The generated framebuffer object name + public static int GenFramebuffer() + { + int id; + GenFramebuffers(1, out id); + return id; + } + + #endregion + + #region DeleteFramebuffer + + /// [requires: v3.0 and ARB_framebuffer_object] + /// Deletes a single framebuffer object + /// + /// The framebuffer object to be deleted + public static void DeleteFramebuffer(int id) + { + DeleteFramebuffers(1, ref id); + } + + /// [requires: v3.0 and ARB_framebuffer_object] + /// Deletes a single framebuffer object + /// + /// The framebuffer object to be deleted + [CLSCompliant(false)] + public static void DeleteFramebuffer(uint id) + { + DeleteFramebuffers(1, ref id); + } + + #endregion + + #region GenProgramPipeline + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Generates a single single pipeline object name + /// + /// The generated single pipeline object name + public static int GenProgramPipeline() + { + int id; + GenProgramPipelines(1, out id); + return id; + } + + #endregion + + #region DeleteProgramPipeline + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Deletes a single program pipeline object + /// + /// The program pipeline object to be deleted + public static void DeleteProgramPipeline(int id) + { + DeleteProgramPipelines(1, ref id); + } + + /// [requires: v4.1 and ARB_separate_shader_objects] + /// Deletes a single program pipeline object + /// + /// The program pipeline object to be deleted + [CLSCompliant(false)] + public static void DeleteProgramPipeline(uint id) + { + DeleteProgramPipelines(1, ref id); + } + + #endregion + + #region GenQuery + + /// [requires: v1.5] + /// Generates a single query object name + /// + /// The generated query object name + public static int GenQuery() + { + int id; + GenQueries(1, out id); + return id; + } + + #endregion + + #region DeleteQuery + + /// [requires: v1.5] + /// Deletes a single query object + /// + /// The query object to be deleted + public static void DeleteQuery(int id) + { + DeleteQueries(1, ref id); + } + + /// + /// Deletes a single query object + /// + /// The query object to be deleted + [CLSCompliant(false)] + public static void DeleteQuery(uint id) + { + DeleteQueries(1, ref id); + } + + #endregion + + #region GenRenderbuffer + + /// [requires: v3.0 and ARB_framebuffer_object] + /// Generates a single renderbuffer object name + /// + /// The generated renderbuffer object name + public static int GenRenderbuffer() + { + int id; + GenRenderbuffers(1, out id); + return id; + } + + #endregion + + #region DeleteRenderbuffer + + /// [requires: v3.0 and ARB_framebuffer_object] + /// Deletes a single renderbuffer object + /// + /// The renderbuffer object to be deleted + public static void DeleteRenderbuffer(int id) + { + DeleteRenderbuffers(1, ref id); + } + + /// [requires: v3.0 and ARB_framebuffer_object] + /// Deletes a single renderbuffer object + /// + /// The renderbuffer object to be deleted + [CLSCompliant(false)] + public static void DeleteRenderbuffer(uint id) + { + DeleteRenderbuffers(1, ref id); + } + + #endregion + + #region GenSampler + + /// + /// Generates a single sampler object name + /// + /// The generated sampler object name + public static int GenSampler() + { + int id; + GenSamplers(1, out id); + return id; + } + + #endregion + + #region DeleteSampler + + /// + /// Deletes a single sampler object + /// + /// The sampler object to be deleted + public static void DeleteSampler(int id) + { + DeleteSamplers(1, ref id); + } + + /// + /// Deletes a single sampler object + /// + /// The sampler object to be deleted + [CLSCompliant(false)] + public static void DeleteSampler(uint id) + { + DeleteSamplers(1, ref id); + } + + #endregion + + #region GenTexture + + /// [requires: v1.1] + /// Generate a single texture name + /// + /// The generated texture name + public static int GenTexture() + { + int id; + GenTextures(1, out id); + return id; + } + + #endregion + + #region DeleteTexture + + /// [requires: v1.1] + /// Delete a single texture name + /// + /// The texture to be deleted + public static void DeleteTexture(int id) + { + DeleteTextures(1, ref id); + } + + /// [requires: v1.1] + /// Delete a single texture name + /// + /// The texture to be deleted + [CLSCompliant(false)] + public static void DeleteTexture(uint id) + { + DeleteTextures(1, ref id); + } + + #endregion + + #region GenTransformFeedback + + /// [requires: v1.2 and ARB_transform_feedback2] + /// Generates a single transform feedback object name + /// + /// The generated transform feedback object name + public static int GenTransformFeedback() + { + int id; + GenTransformFeedback(1, out id); + return id; + } + + #endregion + + #region DeleteTransformFeedback + + /// [requires: v1.2 and ARB_transform_feedback2] + /// Deletes a single transform feedback object + /// + /// The transform feedback object to be deleted + public static void DeleteTransformFeedback(int id) + { + DeleteTransformFeedback(1, ref id); + } + + /// [requires: v1.2 and ARB_transform_feedback2] + /// Deletes a single transform feedback object + /// + /// The transform feedback object to be deleted + [CLSCompliant(false)] + public static void DeleteTransformFeedback(uint id) + { + DeleteTransformFeedback(1, ref id); + } + + #endregion + + #region GenVertexArray + + /// [requires: v3.0 and ARB_vertex_array_object] + /// Generates a single vertex array object name + /// + /// The generated vertex array object name + public static int GenVertexArray() + { + int id; + GenVertexArrays(1, out id); + return id; + } + + #endregion + + #region DeleteVertexArray + + /// [requires: v3.0 and ARB_vertex_array_object] + /// Deletes a single vertex array object + /// + /// The vertex array object to be deleted + public static void DeleteVertexArray(int id) + { + DeleteVertexArrays(1, ref id); + } + + /// [requires: v3.0 and ARB_vertex_array_object] + /// Deletes a single vertex array object + /// + /// The vertex array object to be deleted + [CLSCompliant(false)] + public static void DeleteVertexArray(uint id) + { + DeleteVertexArrays(1, ref id); + } + + #endregion + + #region [Vertex|Normal|Index|Color|FogCoord|VertexAttrib]Pointer + + public static void VertexPointer(int size, VertexPointerType type, int stride, int offset) + { + VertexPointer(size, type, stride, (IntPtr)offset); + } + + public static void NormalPointer(NormalPointerType type, int stride, int offset) + { + NormalPointer(type, stride, (IntPtr)offset); + } + + public static void IndexPointer(IndexPointerType type, int stride, int offset) + { + IndexPointer(type, stride, (IntPtr)offset); + } + + public static void ColorPointer(int size, ColorPointerType type, int stride, int offset) + { + ColorPointer(size, type, stride, (IntPtr)offset); + } + + public static void FogCoordPointer(FogPointerType type, int stride, int offset) + { + FogCoordPointer(type, stride, (IntPtr)offset); + } + + public static void EdgeFlagPointer(int stride, int offset) + { + EdgeFlagPointer(stride, (IntPtr)offset); + } + + public static void TexCoordPointer(int size, TexCoordPointerType type, int stride, int offset) + { + TexCoordPointer(size, type, stride, (IntPtr)offset); + } + + public static void VertexAttribPointer(int index, int size, VertexAttribPointerType type, bool normalized, int stride, int offset) + { + VertexAttribPointer(index, size, type, normalized, stride, (IntPtr)offset); + } + + #endregion + + #region DrawElements + + public static void DrawElements(BeginMode mode, int count, DrawElementsType type, int offset) + { + DrawElements(mode, count, type, new IntPtr(offset)); + } + + #endregion + + #region Get[Float|Double] + + public static void GetFloat(GetPName pname, out Vector2 vector) + { + unsafe + { + fixed (Vector2* ptr = &vector) + GetFloat(pname, (float*)ptr); + } + } + + public static void GetFloat(GetPName pname, out Vector3 vector) + { + unsafe + { + fixed (Vector3* ptr = &vector) + GetFloat(pname, (float*)ptr); + } + } + + public static void GetFloat(GetPName pname, out Vector4 vector) + { + unsafe + { + fixed (Vector4* ptr = &vector) + GetFloat(pname, (float*)ptr); + } + } + + public static void GetFloat(GetPName pname, out Matrix4 matrix) + { + unsafe + { + fixed (Matrix4* ptr = &matrix) + GetFloat(pname, (float*)ptr); + } + } + + public static void GetDouble(GetPName pname, out Vector2d vector) + { + unsafe + { + fixed (Vector2d* ptr = &vector) + GetDouble(pname, (double*)ptr); + } + } + + public static void GetDouble(GetPName pname, out Vector3d vector) + { + unsafe + { + fixed (Vector3d* ptr = &vector) + GetDouble(pname, (double*)ptr); + } + } + + public static void GetDouble(GetPName pname, out Vector4d vector) + { + unsafe + { + fixed (Vector4d* ptr = &vector) + GetDouble(pname, (double*)ptr); + } + } + + public static void GetDouble(GetPName pname, out Matrix4d matrix) + { + unsafe + { + fixed (Matrix4d* ptr = &matrix) + GetDouble(pname, (double*)ptr); + } + } + + #endregion + + #region Viewport + + public static void Viewport(Size size) + { + GL.Viewport(0, 0, size.Width, size.Height); + } + + public static void Viewport(Point location, Size size) + { + GL.Viewport(location.X, location.Y, size.Width, size.Height); + } + + public static void Viewport(Rectangle rectangle) + { + GL.Viewport(rectangle.X, rectangle.Y, rectangle.Width, rectangle.Height); + } +#if NO_SYSDRAWING + public static void Viewport(OpenTK.Point location, OpenTK.Size size) + { + GL.Viewport(location.X, location.Y, size.Width, size.Height); + } + + public static void Viewport(OpenTK.Rectangle rectangle) + { + GL.Viewport(rectangle.X, rectangle.Y, rectangle.Width, rectangle.Height); + } +#endif + #endregion + + #region TexEnv + + public static void TexEnv(TextureEnvTarget target, TextureEnvParameter pname, Color color) + { + Color4 c = new Color4(color.R, color.G, color.B, color.A); + unsafe + { + TexEnv(target, pname, &c.R); + } + } + + public static void TexEnv(TextureEnvTarget target, TextureEnvParameter pname, Color4 color) + { + unsafe + { + TexEnv(target, pname, &color.R); + } + } + + #endregion + + #region Obsolete + + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glDisableClientState")] + [Obsolete("Use DisableClientState(ArrayCap) instead.")] + public static void DisableClientState(OpenTK.Graphics.OpenGL.EnableCap array) + { + DisableClientState((ArrayCap)array); + } + + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glEnableClientState")] + [Obsolete("Use EnableClientState(ArrayCap) instead.")] + public static void EnableClientState(OpenTK.Graphics.OpenGL.EnableCap array) + { + EnableClientState((ArrayCap)array); + } + + [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformsiv")] + [Obsolete("Use GetActiveUniforms(..., ActiveUniformParameter, ...) instead.")] + public static void GetActiveUniforms(Int32 program, Int32 uniformCount, Int32[] uniformIndices, ArbUniformBufferObject pname, [OutAttribute] Int32[] @params) + { + GetActiveUniforms(program, uniformCount, uniformIndices, (ActiveUniformParameter)pname, @params); + } + + [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformsiv")] + [Obsolete("Use GetActiveUniforms(..., ActiveUniformParameter, ...) instead.")] + public static void GetActiveUniforms(Int32 program, Int32 uniformCount, ref Int32 uniformIndices, ArbUniformBufferObject pname, [OutAttribute] out Int32 @params) + { + GetActiveUniforms(program, uniformCount, ref uniformIndices, (ActiveUniformParameter)pname, out @params); + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformsiv")] + [Obsolete("Use GetActiveUniforms(..., ActiveUniformParameter, ...) instead.")] + public static unsafe void GetActiveUniforms(Int32 program, Int32 uniformCount, Int32* uniformIndices, ArbUniformBufferObject pname, [OutAttribute] Int32* @params) + { + GetActiveUniforms(program, uniformCount, uniformIndices, (ActiveUniformParameter)pname, @params); + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformsiv")] + [Obsolete("Use GetActiveUniforms(..., ActiveUniformParameter, ...) instead.")] + public static void GetActiveUniforms(UInt32 program, Int32 uniformCount, UInt32[] uniformIndices, ArbUniformBufferObject pname, [OutAttribute] Int32[] @params) + { + GetActiveUniforms(program, uniformCount, uniformIndices, (ActiveUniformParameter)pname, @params); + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformsiv")] + [Obsolete("Use GetActiveUniforms(..., ActiveUniformParameter, ...) instead.")] + public static void GetActiveUniforms(UInt32 program, Int32 uniformCount, ref UInt32 uniformIndices, ArbUniformBufferObject pname, [OutAttribute] out Int32 @params) + { + GetActiveUniforms(program, uniformCount, ref uniformIndices, (ActiveUniformParameter)pname, out @params); + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformsiv")] + [Obsolete("Use GetActiveUniforms(..., ActiveUniformParameter, ...) instead.")] + public static unsafe void GetActiveUniforms(UInt32 program, Int32 uniformCount, UInt32* uniformIndices, ArbUniformBufferObject pname, [OutAttribute] Int32* @params) + { + GetActiveUniforms(program, uniformCount, uniformIndices, (ActiveUniformParameter)pname, @params); + } + + public static partial class Arb + { + [AutoGenerated(Category = "ArbGeometryShader4", Version = "3.0", EntryPoint = "glProgramParameteriARB")] + [Obsolete("Use ProgramParameter(..., AssemblyProgramParameterArb, ...) instead.")] + public static void ProgramParameter(Int32 program, ArbGeometryShader4 pname, Int32 value) + { + ProgramParameter(program, (AssemblyProgramParameterArb)pname, value); + } + + [AutoGenerated(Category = "ArbGeometryShader4", Version = "3.0", EntryPoint = "glProgramParameteriARB")] + [Obsolete("Use ProgramParameter(..., AssemblyProgramParameterArb, ...) instead.")] + [CLSCompliant(false)] + public static void ProgramParameter(UInt32 program, ArbGeometryShader4 pname, Int32 value) + { + ProgramParameter(program, (AssemblyProgramParameterArb)pname, value); + } + } + + public static partial class Ext + { + [AutoGenerated(Category = "EXT_geometry_shader4", Version = "2.0", EntryPoint = "glProgramParameteriEXT")] + [Obsolete("Use ProgramParameter(..., AssemblyProgramParameterArb, ...) instead.")] + public static void ProgramParameter(Int32 program, ExtGeometryShader4 pname, Int32 value) + { + ProgramParameter(program, (AssemblyProgramParameterArb)pname, value); + } + + [AutoGenerated(Category = "ArbGeometryShader4", Version = "3.0", EntryPoint = "glProgramParameteriARB")] + [Obsolete("Use ProgramParameter(..., AssemblyProgramParameterArb, ...) instead.")] + [CLSCompliant(false)] + public static void ProgramParameter(UInt32 program, ExtGeometryShader4 pname, Int32 value) + { + ProgramParameter(program, (AssemblyProgramParameterArb)pname, value); + } + } + + #endregion + +#pragma warning restore 3019 +#pragma warning restore 1591 +#pragma warning restore 1572 +#pragma warning restore 1573 + + #endregion + } + + public delegate void DebugProcAmd(int id, + AmdDebugOutput category, AmdDebugOutput severity, + IntPtr length, string message, IntPtr userParam); + + public delegate void DebugProcArb(int id, + ArbDebugOutput category, ArbDebugOutput severity, + IntPtr length, string message, IntPtr userParam); +} + +// flibit added this! +#pragma warning restore 3021 \ No newline at end of file diff --git a/src/MiniTK/Graphics/SDL2_GraphicsContext.cs b/src/MiniTK/Graphics/SDL2_GraphicsContext.cs new file mode 100644 index 0000000..59968ca --- /dev/null +++ b/src/MiniTK/Graphics/SDL2_GraphicsContext.cs @@ -0,0 +1,23 @@ +/* This file is a big workaround to avoid having to use OpenTK.GraphicsContext. + * -flibit + */ + +using System; + +namespace OpenTK.Graphics +{ + public class GraphicsContext + { + public static IntPtr CurrentContext + { + get; + set; + } + + public static bool ErrorChecking + { + get; + set; + } + } +} \ No newline at end of file